/* ============================================
   CART PAGE — Altitude Motion
   Clean, professional cart with hl-card inspired items,
   compact shipping tracker, floating summary bar
   ============================================ */

/* ── Page ── */
.ct-body {
  margin: 0;
  background: #f7f7f7;
  color: #111;
  font-family: var(--font-body, sans-serif);
  -webkit-font-smoothing: antialiased;
  /* Offset for fixed site-header (nav 76px + progress strip ~54px) */
  padding-top: 130px;
}

/* ══════════════════════════════════════════════
   HEADER — site-header--solid override
   Forces the shared header to stay white (no transparent-to-white transition)
   ══════════════════════════════════════════════ */
.ct-body .site-header.site-header--solid {
  --header-progress: 1 !important;
  --header-bg: 1 !important;
  --header-border: 0.08 !important;
  --header-blur: 16px !important;
}

.ct-body .site-header.site-header--solid .main-nav {
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ct-body .site-header.site-header--solid .brand-logo::before {
  background-color: #000 !important;
}

/* ── Mobile-only elements — hidden on desktop ── */
.ct-mobile-meta { display: none; }
.ct-hdr-clear { display: none; }

/* ── Checkout Progress Steps (sub-bar inside header) ── */
.ct-progress {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 40px;
  background: #fff;
}

/* rearrangeHeaderDom() şeridi header'a taşıdıktan sonra: akıştan çıkar, main-nav'ın
   hemen altına absolute otur. Böylece header yüksekliği = main-nav olur ve
   .dropdown-layer (top:100%, z-index:4) nav'ın hemen altından açılıp adım şeridinin
   üzerini kapatır. */
.site-header > .ct-progress {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 3;
}

.ct-progress-inner {
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.ct-step-num {
  width: 22px;
  height: 22px;
  border: 1.5px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #aaa;
  border-radius: 50%;
  transition: all 0.2s;
}

.ct-step.active .ct-step-num {
  background: #111;
  border-color: #111;
  color: #fff;
}

.ct-step.completed .ct-step-num {
  background: #111;
  border-color: #111;
  color: #fff;
}

.ct-step-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
}

.ct-step.active .ct-step-label { color: #111; }

.ct-step.completed .ct-step-label { color: #111; }

.ct-step-line {
  width: 40px;
  height: 1px;
  background: #e0e0e0;
  flex-shrink: 0;
}

.ct-step-line.done {
  background: #111;
}

/* ══════════════════════════════════════════════
   MAIN
   ══════════════════════════════════════════════ */
.ct-main { min-height: 70vh; }

.ct-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 40px 80px;
}

/* ── Items Head ── */
.ct-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.ct-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0;
}

.ct-title-count {
  font-weight: 400;
  color: #aaa;
  font-size: 18px;
}

.ct-clear-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.ct-clear-btn:hover { color: #c0392b; }

/* ══════════════════════════════════════════════
   CART ITEMS — 3-col grid, simplified cards
   ══════════════════════════════════════════════ */
.ct-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 28px; /* room for qty control peeking below bottom row */
}

/* ══════════════════════════════════════════════
   CART ITEM CARDS — Visual-only overlay design
   ══════════════════════════════════════════════ */
.ct-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: visible; /* allows qty control to peek below the card */
  background: #1a1a1a;
  cursor: pointer;
  transition: opacity 0.35s, transform 0.35s;
}

.ct-item.removing {
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
}

/* Ghost link covers full card */
.ct-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Full-fill image */
.ct-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ct-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.ct-item:hover .ct-card-img img {
  transform: scale(1.05);
}

/* Sale badge */
.ct-item-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: #c0392b;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  text-transform: uppercase;
}

/* ── Remove button (oval pill, top-right, hover reveal) ── */
.ct-item-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #111;
  opacity: 0;
  transform: scale(0.78) translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms;
}

.ct-item:hover .ct-item-remove {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.ct-item-remove:hover {
  background: #111;
  color: #fff;
}

/* ── Quantity control (hover reveal, bottom-center half-outside) ── */
.ct-card-qty-wrap {
  position: absolute;
  bottom: -18px; /* half of 36px height = exactly straddles the bottom edge */
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  z-index: 20;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.ct-item:hover .ct-card-qty-wrap {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ct-qty {
  display: inline-flex;
  align-items: center;
  height: 36px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.ct-qty-btn {
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 300;
  color: #111;
  cursor: pointer;
  transition: background 160ms;
  user-select: none;
  flex-shrink: 0;
}

.ct-qty-btn:hover { background: rgba(0, 0, 0, 0.07); }

.ct-qty-val {
  min-width: 34px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* ── Bottom gradient overlay ── */
.ct-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 56px 16px 16px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.42) 30%,
    rgba(0, 0, 0, 0.84) 100%
  );
}

.ct-overlay-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
}

.ct-overlay-left {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.ct-overlay-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ct-overlay-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.ct-overlay-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.ct-overlay-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
}

.ct-overlay-price-old {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: line-through;
  white-space: nowrap;
}

.ct-overlay-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  margin-left: -8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color 250ms ease, background 250ms ease;
}

.ct-item:hover .ct-overlay-meta {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.ct-overlay-var {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ct-overlay-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.6rem;
}

/* ── Swipe delete (mobile only — hidden on desktop) ── */
.ct-swipe-delete {
  display: none; /* hidden by default; enabled only on mobile */
  position: absolute;
  top: 0;
  right: -72px;
  bottom: 0;
  width: 72px;
  background: rgba(192, 57, 43, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  align-items: center;
  justify-content: center;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.ct-item.swiped .ct-swipe-delete { right: 0; }

/* ══════════════════════════════════════════════
   PROMO + TRUST STRIP
   ══════════════════════════════════════════════ */
.ct-cart-meta {
  margin: 20px 0 8px;
  background: #fff;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ct-meta-title {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 10px;
}

.ct-meta-promo-row { display: flex; }

.ct-meta-promo-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-right: none;
  font-size: 12px;
  padding: 11px 12px;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}

.ct-meta-promo-input:focus { border-color: #111; }

.ct-meta-promo-btn {
  padding: 0 18px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ct-meta-promo-btn:hover { opacity: 0.85; }

.ct-promo-msg {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  min-height: 16px;
}

.ct-promo-msg.success { color: #2e7d32; }
.ct-promo-msg.error { color: #c0392b; }

.ct-meta-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ct-meta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px;
  font-size: 11px;
  color: #777;
  background: #fafaf8;
  border-radius: 2px;
}

.ct-meta-trust-item svg { color: #aaa; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   RECOMMENDATIONS — Index Highlights clone
   ══════════════════════════════════════════════ */
.ct-reco-full.highlights {
  --hl-pad: clamp(16px, 4vw, 56px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 32px;
  border-top: 1px solid rgba(11, 16, 21, 0.06);
  padding-top: 8px;
}

.ct-reco-full.highlights .hl-header {
  padding-top: 1.45rem;
}

.ct-reco-full.highlights .hl-title {
  text-transform: uppercase;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  letter-spacing: 0.06em;
}

.ct-reco-full.highlights .hl-counter {
  font-weight: 700;
}

.ct-reco-full.highlights .hl-track-wrap::before,
.ct-reco-full.highlights .hl-track-wrap::after {
  background: linear-gradient(to right, transparent 0%, #fff 100%);
}

.ct-reco-full.highlights .hl-track-wrap::before {
  background: linear-gradient(to left, transparent 0%, #fff 100%);
}

.ct-reco-full.highlights .hl-card-bag.is-added {
  background: #111;
  color: #fff;
}

/* ══════════════════════════════════════════════
   DESKTOP FLOATING SUMMARY BAR
   ══════════════════════════════════════════════ */
.ct-float-summary {
  display: none;
}

@media (min-width: 1025px) {
  .ct-float-summary {
    display: block;
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(58vw, 960px);
    z-index: 920;
  }

  .ct-float-inner {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .ct-float-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-shrink: 0;
  }

  .ct-float-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
  }

  .ct-float-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: #111;
  }

  .ct-float-totals {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
  }

  .ct-float-col {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .ct-float-col-label {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
  }

  .ct-float-col-val {
    font-size: 0.78rem;
    font-weight: 600;
    color: #111;
  }

  .ct-float-ship { color: #2e7d32 !important; }

  .ct-float-divider {
    width: 1px;
    height: 26px;
    background: #e0e0e0;
    margin: 0 2px;
  }

  .ct-float-grand .ct-float-col-val {
    font-size: 1rem;
    font-weight: 700;
  }

  .ct-float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 6px;
  }

  .ct-float-btn:hover { opacity: 0.9; letter-spacing: 0.2em; }
  .ct-float-btn:active { transform: scale(0.98); }

  .ct-main { padding-bottom: 120px; }
}

/* ══════════════════════════════════════════════
   MOBILE BOTTOM BAR — Cart-specific states
   (inherits base .mob-bar styles from style.css)
   ══════════════════════════════════════════════ */

/* Scrolled state: show checkout bar, hide default */
.ct-body .mob-bar.is-scrolled .ct-mobbar-checkout { display: flex; }
.ct-body .mob-bar.is-scrolled .ct-mobbar-default  { display: none; }

/* Not scrolled: show default, hide checkout */
.ct-mobbar-checkout { display: none; }
.ct-mobbar-default  { display: flex; width: 100%; }

.ct-mobbar-checkout,
.ct-mobbar-default {
  min-height: var(--mob-bar-content-height, 58px);
}

/* ── Checkout bar layout ── */
.ct-mobbar-checkout {
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.ct-mobbar-dots {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ct-mobbar-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.ct-mobbar-label {
  font-size: 9px;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ct-mobbar-total {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.ct-mobbar-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s, background 0.2s;
  position: relative;
  z-index: 1;
}

.ct-mobbar-cta:active { transform: scale(0.97); }

/* ── Mob bar: zemin/ikon rengi style.css'teki tek tip çubuktan gelir ── */
.ct-body .mob-bar .ct-mobbar-default {
  position: relative;
  z-index: 1;
  padding: 0 0.7rem;
}

.ct-body .mob-bar .mob-bar-btn {
  min-height: var(--mob-bar-content-height, 64px);
  position: relative;
  z-index: 1;
}
.ct-body .mob-bar .mob-bar-btn .mob-bar-label { color: #666; }

/* Dots icon color */
.ct-body .mob-bar .ct-mobbar-dots { color: #666; }

/* ══════════════════════════════════════════════
   EMPTY CART
   ══════════════════════════════════════════════ */
.ct-empty {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 800;
  animation: ctFadeIn 0.4s ease;
}

.ct-empty-inner {
  text-align: center;
  padding: 40px;
  max-width: 400px;
}

.ct-empty-icon {
  color: #ccc;
  margin-bottom: 24px;
  animation: ctFloat 3s ease-in-out infinite;
}

@keyframes ctFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ct-empty-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.ct-empty-desc {
  font-size: 13px;
  color: #999;
  line-height: 1.7;
  margin: 0 0 28px;
}

.ct-empty-cta {
  display: inline-block;
  padding: 14px 40px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ct-empty-cta:hover { opacity: 0.85; }

/* ══════════════════════════════════════════════
   TOAST & UNDO
   ══════════════════════════════════════════════ */
.ct-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 14px 28px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ct-undo {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ct-undo.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.ct-undo-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@keyframes ctFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Qty bump animation */
.ct-qty-val.bump {
  animation: ctBump 250ms ease;
}

@keyframes ctBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* ══════════════════════════════════════════════
   TABLET (769px–1024px)
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ct-progress { padding: 12px 20px; }
  .ct-container { padding: 24px 24px 100px; }
  .ct-body { padding-top: 120px; }

  .ct-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ct-cart-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ct-meta-trust { grid-template-columns: 1fr; }

  .ct-reco-full.highlights .hl-card {
    flex: 0 0 calc((100vw - var(--hl-pad) - 16px) / 2.35);
  }

  .ct-reco-full.highlights .hl-track--full .hl-card {
    flex: 0 0 calc((100vw - 16px) / 2.35);
  }
}

/* ══════════════════════════════════════════════
   MOBILE (≤768px)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .ct-body {
    background: #fff;
    padding-top: 110px; /* nav ~62px + progress ~48px */
    padding-bottom: calc(var(--mob-bar-content-height, 58px) + env(safe-area-inset-bottom, 0px)); /* mob-bar */
  }

  /* ── Header mobile overrides ── */
  .ct-body .site-header.site-header--solid .main-nav {
    min-height: 60px;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.55rem;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    border: none !important;
    backdrop-filter: none !important;
    padding: 0 0 0 var(--page-gutter, 16px);
  }

  .ct-body .site-header.site-header--solid .nav-links,
  .ct-body .site-header.site-header--solid .nav-actions,
  .ct-body .site-header.site-header--solid .menu-toggle {
    display: none !important;
  }

  /* Black logo container with angled bottom */
  .ct-body .site-header.site-header--solid .brand {
    margin: 0;
    position: relative !important;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 10px var(--brand-plate-pad-x, 0px) 14px;
    background: var(--brand-900, #0a1f19) !important;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    opacity: 1 !important;
    pointer-events: auto !important;
    clip-path: polygon(
      0% 0%,
      100% 0%,
      100% 86%,
      0% 100%
    );
  }

  .ct-body .site-header.site-header--solid .brand-logo::before {
    background-color: #fff !important;
  }

  .ct-progress { padding: 10px 16px; }
  .ct-step-label { font-size: 9px; }
  .ct-step-line { width: 24px; }

  /* ── Mobile cart meta (next to logo, like list.html) ── */
  .ct-mobile-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 0.58rem;
    padding-top: 0.82rem;
    min-width: 0;
    line-height: 1.1;
  }

  .ct-mobile-meta-title {
    margin: 0;
    font-size: 0.81rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #111;
    white-space: nowrap;
  }

  .ct-mobile-meta-count {
    margin: 0.2rem 0 0;
    font-size: 0.69rem;
    color: #999;
    letter-spacing: 0.02em;
  }

  .ct-mobile-meta-count strong {
    color: #111;
    font-weight: 700;
  }

  /* Hide "Sepetim (3)" title row on mobile — info is in header now */
  .ct-items-head { display: none; }

  /* "Sepeti Temizle" button in header right */
  .ct-hdr-clear {
    display: block;
    margin-left: auto;
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #999;
    text-transform: uppercase;
    cursor: pointer;
    padding: 14px 16px 8px 8px;
    white-space: nowrap;
    transition: color 0.2s;
  }
  .ct-hdr-clear:active { color: #c0392b; }

  .ct-container {
    padding: 16px 16px 24px;
  }

  /* ── MOBILE: Horizontal row cards ── */
  .ct-items {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 0;
  }

  /* Horizontal card: image left, info right */
  .ct-item {
    display: flex;
    flex-direction: row;
    aspect-ratio: unset;
    height: 148px;
    overflow: hidden; /* enforce fixed height */
    background: #f5f4f1;
    align-items: stretch;
  }

  /* Suppress desktop hover transform on mobile — qty must stay fixed */
  .ct-item:hover .ct-card-qty-wrap {
    transform: none;
    opacity: 1;
  }

  /* Ghost link still covers full card */
  .ct-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* Left thumbnail */
  .ct-card-img {
    position: relative;
    inset: unset;
    width: 112px;
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
  }

  .ct-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: none;
  }

  .ct-item-badge {
    top: 8px;
    left: 8px;
    font-size: 0.5rem;
    padding: 3px 7px;
  }

  /* Right info panel — repurpose overlay as info panel */
  .ct-card-overlay {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 12px 40px 12px 14px; /* right pad for X button */
    background: #f5f4f1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    overflow: hidden;
  }

  .ct-overlay-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 0;
  }

  .ct-overlay-left {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .ct-overlay-name {
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111;
  }

  .ct-overlay-count {
    font-size: 0.58rem;
    padding: 1px 6px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.14);
    color: #333;
  }

  .ct-overlay-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
  }

  .ct-overlay-price-wrap {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .ct-overlay-price-old {
    font-size: 0.6rem;
    color: #aaa;
  }

  /* Variants — always framed on mobile */
  .ct-overlay-meta {
    margin-left: 0;
    padding: 3px 7px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
    align-self: flex-start;
  }

  .ct-overlay-var {
    font-size: 0.55rem;
    color: #555;
  }

  .ct-overlay-dot {
    font-size: 0.55rem;
    color: #bbb;
  }

  /* Remove button — always visible, light panel style */
  .ct-item-remove {
    top: 10px;
    right: 10px;
    opacity: 1;
    transform: none;
    width: 26px;
    height: 26px;
    background: rgba(0, 0, 0, 0.07);
    color: #555;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ct-item-remove:hover {
    background: #111;
    color: #fff;
  }

  /* Qty — absolute, bottom of info panel */
  .ct-card-qty-wrap {
    position: absolute;
    left: 126px; /* 112px image + 14px panel padding */
    bottom: 12px;
    transform: none;
    opacity: 1;
    z-index: 15; /* above overlay z-index:5 */
  }

  .ct-qty {
    height: 26px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border-radius: 999px;
  }

  .ct-qty-btn {
    width: 26px;
    font-size: 13px;
    color: #444;
  }

  .ct-qty-btn:hover { background: #f0f0f0; }

  .ct-qty-val {
    min-width: 24px;
    font-size: 11px;
    font-weight: 700;
    color: #111;
    border-color: rgba(0, 0, 0, 0.1);
  }

  /* Swipe delete not needed in horizontal layout */
  .ct-swipe-delete { display: none; }

  /* Meta */
  .ct-cart-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
  }

  .ct-meta-trust { grid-template-columns: 1fr; }
  .ct-meta-trust-item { padding: 9px 10px; }

  /* Reco */
  .ct-reco-full.highlights {
    margin-top: 24px;
    --hl-pad: 16px;
  }

  .ct-reco-full.highlights .hl-title {
    font-size: 0.98rem;
    letter-spacing: 0.05em;
  }

  .ct-reco-full.highlights .hl-card {
    flex: 0 0 calc((100vw - var(--hl-pad) - 16px) / 1.45);
  }

  .ct-reco-full.highlights .hl-track--full .hl-card {
    flex: 0 0 calc((100vw - 16px) / 1.45);
  }

  /* Undo above mobile bar */
  .ct-undo.show { bottom: 84px; }
}

/* ══════════════════════════════════════════════
   SMALL PHONES (≤380px)
   ══════════════════════════════════════════════ */
@media (max-width: 380px) {
  .ct-item { height: 130px; }
  .ct-card-img { width: 98px; }
  .ct-card-qty-wrap { left: 112px; } /* 98px image + 14px padding */
  .ct-overlay-name { font-size: 0.7rem; }
  .ct-overlay-price { font-size: 0.84rem; }
  .ct-mobbar-cta { padding: 11px 18px; font-size: 9px; }
}
