/* ========================================================================
   ARAÇ TAKİP — SİPARİŞ / FATURA EKRANI RESPONSIVE KATMANI
   aractakip-shop.css dosyasından sonra yüklenir. POS ve form isimleri,
   doğrulama kuralları, fiyat hesabı ve 3D Secure akışı değiştirilmez.
   ======================================================================== */

.atk-shop-body {
  min-width: 0;
  background: #f4f8fc;
  color: #10213d;
  overflow-x: hidden;
  overflow-x: clip;
}

.atk-shop-body *,
.atk-shop-body *::before,
.atk-shop-body *::after {
  box-sizing: border-box;
}

.atk-shop-body img {
  max-width: 100%;
  height: auto;
}

.atk-topbar,
.atk-checkout-top,
.atk-shop-wrap,
.atk-shop-footer {
  min-width: 0;
}

.atk-topbar {
  padding-right: max(18px, env(safe-area-inset-right));
  padding-left: max(18px, env(safe-area-inset-left));
}

.atk-checkout-top-inner,
.atk-shop-wrap {
  width: min(1160px, 100%);
  margin-inline: auto;
}

.atk-shop-wrap {
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: 42px;
  padding-left: max(24px, env(safe-area-inset-left));
}

.atk-co,
.atk-co-main,
.atk-co-side,
.atk-card-sec,
.atk-pay,
.atk-pay-fields,
.atk-grid2,
.atk-grid3,
.atk-field,
.atk-input-icon {
  min-width: 0;
}

.atk-co {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(20px, 3vw, 34px);
}

.atk-card-sec {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;
}

.atk-sec-head {
  align-items: flex-start;
}

.atk-sec-head h2 {
  color: #10213d;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.25;
}

.atk-sec-head p,
.atk-field label,
.atk-inline-check,
.atk-legal-intro {
  color: #455a75;
}

.atk-field :is(input, select, textarea) {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.45;
}

.atk-field input,
.atk-field select {
  min-height: 52px;
}

.atk-field textarea {
  min-height: 104px;
}

.atk-field input::placeholder,
.atk-field textarea::placeholder {
  color: #8fa2bd;
  opacity: 1;
}

.atk-grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.atk-grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atk-seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 420px);
}

.atk-seg-btn {
  min-width: 0;
}

.atk-seg-btn span {
  min-height: 48px;
  padding: 11px 14px;
  text-align: center;
  white-space: normal;
}

.atk-inline-check {
  width: 100%;
}

.atk-input-icon input {
  min-width: 0;
}

.atk-side-card {
  max-width: 100%;
}

.atk-stickybar {
  padding-right: max(14px, env(safe-area-inset-right));
  padding-bottom: max(11px, env(safe-area-inset-bottom));
  padding-left: max(14px, env(safe-area-inset-left));
}

.atk-stickybar-btn {
  min-height: 50px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .atk-shop-wrap {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .atk-co {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .atk-topbar {
    gap: 10px;
    padding-top: max(11px, env(safe-area-inset-top));
    padding-right: max(14px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .atk-topbar-back {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .atk-topbar-phone {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .atk-checkout-top {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .atk-checkout-top-inner {
    gap: 12px;
  }

  .atk-shop-wrap {
    width: min(100%, 620px);
    padding: 18px max(14px, env(safe-area-inset-right)) calc(106px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }

  .atk-card-sec {
    width: 100%;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .atk-sec-head {
    gap: 11px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .atk-sec-head h2 {
    font-size: 18px;
  }

  .atk-sec-head p {
    font-size: 14px;
    line-height: 1.6;
  }

  .atk-grid2,
  .atk-grid3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .atk-field {
    margin-bottom: 16px;
  }

  .atk-field label {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .atk-field :is(input, select, textarea) {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .atk-field input,
  .atk-field select {
    min-height: 50px;
    padding: 12px 14px;
  }

  .atk-field textarea {
    min-height: 96px;
    padding: 13px 14px;
  }

  .atk-seg {
    width: 100%;
    margin-bottom: 18px;
  }

  .atk-seg-btn span {
    min-height: 48px;
    padding: 11px 8px;
    font-size: 14px;
  }

  .atk-inline-check {
    padding: 13px 14px;
    font-size: 13.5px;
  }

  .atk-plan-grid,
  .atk-acc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .atk-plan,
  .atk-acc {
    min-width: 0;
  }

  .atk-pay {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .atk-cardwrap {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .atk-cardview {
    padding: 18px;
  }

  .atk-cards-accepted {
    align-items: flex-start;
    padding: 12px;
  }

  .atk-ca-list {
    gap: 6px;
  }

  .atk-ca-list b {
    padding: 5px 8px;
    font-size: 10.5px;
  }

  .atk-legal-doc {
    padding: 15px 14px;
    font-size: 13px;
  }

  .atk-legal-toggle {
    min-height: 50px;
    padding: 12px 14px;
  }

  .atk-side-card,
  .atk-formbox,
  .atk-summary {
    padding: 18px 16px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .atk-topbar-back {
    font-size: 12.5px;
  }

  .atk-topbar-phone {
    padding: 10px 11px;
    font-size: 12px;
  }

  .atk-shop-wrap {
    padding-right: max(11px, env(safe-area-inset-right));
    padding-left: max(11px, env(safe-area-inset-left));
  }

  .atk-card-sec {
    padding: 19px 14px;
  }

  .atk-sec-num {
    width: 30px;
    height: 30px;
  }

  .atk-stickybar {
    gap: 9px;
  }

  .atk-stickybar-info small {
    display: none;
  }

  .atk-stickybar-info strong {
    font-size: 16px;
  }

  .atk-stickybar-btn {
    padding: 13px 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atk-shop-body *,
  .atk-shop-body *::before,
  .atk-shop-body *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================================================
   LOGOLAR — GÜVENLİ SİPARİŞ ÜST BÖLÜMÜ
   Metropol koyu zeminde, Trio Mobil açık zeminde; görsellerin doğal ölçüsü
   hiçbir breakpoint'te üst alanı büyütemez veya görünmez hale gelemez.
   ======================================================================== */

.atk-checkout-top {
  border-bottom-color: rgba(125, 211, 252, .24) !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 182, 212, .2), transparent 18rem),
    linear-gradient(135deg, #071f3c, #0b315d) !important;
}

.atk-checkout-top-inner {
  min-height: 102px;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.atk-brandline {
  display: grid !important;
  grid-template-columns: minmax(180px, 220px) minmax(160px, 200px) minmax(145px, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0;
}

.atk-brandline > img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 58px !important;
  min-width: 0;
  padding: 9px 13px !important;
  border: 1px solid transparent;
  border-radius: 12px;
  object-fit: contain !important;
}

.atk-brandline > img:first-child {
  background: linear-gradient(135deg, #04162b, #0c3f70) !important;
  border-color: rgba(125, 211, 252, .35);
}

.atk-brandline > img:nth-of-type(2) {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, .88);
}

.atk-brandline-sep {
  display: none !important;
}

.atk-brandline-text {
  min-width: 0;
  padding: 4px 0 4px 6px;
  color: #e8f5ff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.atk-progress li {
  color: rgba(226, 242, 255, .76) !important;
}

.atk-progress li.is-active {
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .atk-checkout-top-inner {
    align-items: stretch !important;
  }

  .atk-brandline {
    width: min(100%, 620px);
  }
}

@media (max-width: 620px) {
  .atk-checkout-top-inner {
    min-height: 0;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .atk-brandline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    gap: 8px !important;
  }

  .atk-brandline > img {
    height: 52px !important;
    padding: 8px 10px !important;
    border-radius: 10px;
  }

  .atk-brandline-text {
    grid-column: 1 / -1;
    padding: 2px 0 0;
    font-size: 11.5px !important;
    text-align: center;
  }

  .atk-progress {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 380px) {
  .atk-brandline > img {
    height: 45px !important;
    padding: 7px 8px !important;
  }

  .atk-brandline-text {
    font-size: 10.5px !important;
  }
}
