/* ==========================================================
   Shop / Merch - Full E-Commerce 2025
   Primary:  #6b0f2b   Accent: #e94560
   Text:     #1a1a2e   Muted:  #666
   BG:       #f5f6fa   Card:   #ffffff
   Border:   #e8e8ec
   ========================================================== */

/* ---- CSS Variables ---- */
:root {
  --mp:      #6b0f2b;
  --ma:      #e94560;
  --mt:      #1a1a2e;
  --muted:   #666;
  --mbg:     #f5f6fa;
  --mcard:   #ffffff;
  --mborder: #e8e8ec;
  --mgreen:  #22c55e;
  --morange: #f59e0b;
  --mrad:    12px;
}

/* ---- Full-width page wrapper ---- */
.merch-page {
  background: #f5f6fa;
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

/* ---- 2-column layout: filter sidebar + main content ---- */
.merch-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-height, 56px));
  align-items: start;
  width: 100%;
  margin: 0;
  padding-top: 0;
  align-content: start;
}

/* ---- Filter sidebar — sticky on desktop, flush to top of content area ---- */
.merch-cat-sidebar {
  background: #fff;
  border-right: 1px solid #e8e8ec;
  position: sticky;
  top: 0;  /* content-wrap already starts below header — 0 is flush */
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e8e8ec transparent;
  margin-top: 0;
  align-self: start;
}

/* ---- Sidebar overlay backdrop (mobile only) ---- */
.merch-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 499;
  background: rgba(0,0,0,.45);
}
.merch-sidebar-overlay.is-visible {
  display: block;
}

/* ---- Filter button — hidden on desktop, shown on mobile ---- */
.merch-filter-mob-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid #e8e8ec;
  background: #fff;
  font-size: .875rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
}
.merch-filter-mob-btn:hover { background: #f0f0f4; }

/* ---- Main area ---- */
.merch-main { padding: 0 24px 80px; min-width: 0; }

.merch-cat-sidebar__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #6b0f2b;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1;
}

.merch-cat-list { list-style: none; padding: 0; margin: 0; }
.merch-cat-list__item { border-bottom: 1px solid #e8e8ec; }

.merch-cat-list__link {
  display: flex;
  align-items: center;
  padding: 11px 18px;
  font-size: 0.875rem;
  color: #444;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.merch-cat-list__link:hover { background: #f8f8fb; color: #1a1a2e; }

.merch-cat-list__item.is-active .merch-cat-list__link {
  background: #fdf0f3;
  color: #6b0f2b;
  font-weight: 700;
  border-left: 3px solid #6b0f2b;
}

.merch-cat-list__name { flex: 1; }

.merch-cat-list__count {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #999;
  background: #f0f0f4;
  border-radius: 10px;
  padding: 2px 7px;
  margin-right: 6px;
}
.merch-cat-list__item.is-active .merch-cat-list__count { background: #6b0f2b; color: #fff; }

.merch-cat-list__arrow { color: #ccc; transition: transform .15s, color .15s; }
.merch-cat-list__link:hover .merch-cat-list__arrow { transform: translateX(3px); color: #e94560; }

/* Sidebar sections */
.merch-cat-sidebar__section { padding: 14px 18px; border-bottom: 1px solid #e8e8ec; }

.merch-cat-sidebar__section-title {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #aaa;
  margin-bottom: 10px;
  display: block;
}

.merch-price-range { display: flex; align-items: center; gap: 8px; }

.merch-price-input {
  flex: 1; min-width: 0; width: 0;
  padding: 7px 10px;
  border: 1.5px solid #e8e8ec;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #1a1a2e;
  background: #fff;
  outline: none;
}
.merch-price-input:focus { border-color: #6b0f2b; }
.merch-price-sep { color: #666; flex-shrink: 0; }

.merch-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #1a1a2e;
  cursor: pointer;
  padding: 4px 0;
}
.merch-toggle input[type="checkbox"] { width: 15px; height: 15px; accent-color: #6b0f2b; cursor: pointer; }

.merch-cat-sidebar__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 18px;
  background: none;
  border: none;
  border-top: 1px solid #e8e8ec;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e94560;
  cursor: pointer;
}
.merch-cat-sidebar__clear:hover { background: #fff5f7; }

/* Trust badges */
.merch-cat-sidebar__trust { padding: 14px 18px; display: flex; flex-direction: column; gap: 14px; }
.merch-trust-item { display: flex; align-items: flex-start; gap: 10px; }
.merch-trust-item svg { color: #6b0f2b; flex-shrink: 0; margin-top: 2px; }
.merch-trust-item div { display: flex; flex-direction: column; gap: 2px; }
.merch-trust-item strong { font-size: 0.8125rem; font-weight: 700; color: #1a1a2e; display: block; }
.merch-trust-item span   { font-size: 0.75rem; color: #666; display: block; }


/* ---- Right main area ---- */
/* NOTE: .merch-main is also defined above (padding: 0 24px 80px) — no override here to avoid top gap */

/* ---- Hero Banner ---- */
.merch-hero-banner {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #3d0818 0%, #6b0f2b 50%, #9b1a45 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 48px;
  margin-bottom: 18px;
  min-height: 200px;
  position: relative;
}
.merch-hero-banner__content { position: relative; z-index: 1; max-width: 420px; }
.merch-hero-banner__eyebrow {
  font-size: 0.6875rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .18em; color: rgba(255,255,255,.55); margin-bottom: 10px;
}
.merch-hero-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 10px;
}
.merch-hero-banner__accent { color: #e94560; }
.merch-hero-banner__sub { font-size: .9375rem; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.merch-hero-banner__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #6b0f2b; font-size: .875rem; font-weight: 700;
  padding: 12px 26px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: background .2s, color .2s, transform .2s;
}
.merch-hero-banner__cta:hover { background: #e94560; color: #fff; transform: translateY(-2px); }
.merch-hero-banner__visual {
  position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.merch-hero-banner__circle { position: absolute; border-radius: 50%; }
.merch-hero-banner__circle--1 { width: 260px; height: 260px; background: rgba(233,69,96,.18); right: -40px; top: -40px; }
.merch-hero-banner__circle--2 { width: 180px; height: 180px; background: rgba(255,255,255,.07); right: 60px; bottom: -30px; }
.merch-hero-banner__icon { position: relative; z-index: 1; opacity: .35; }

/* ---- Deal Cards ---- */
.merch-deals-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px;
}
.merch-deal-card {
  border-radius: 12px; padding: 22px 24px; text-decoration: none; display: block;
  transition: transform .2s, box-shadow .2s;
}
.merch-deal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.merch-deal-card--purple { background: linear-gradient(135deg, #4a0e70, #7c3aed); }
.merch-deal-card--cream  { background: #fef9ed; }
.merch-deal-card--blush  { background: #fff0f3; }
.merch-deal-card__type {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px;
}
.merch-deal-card--purple .merch-deal-card__type { color: rgba(255,255,255,.8); }
.merch-deal-card--cream .merch-deal-card__type,
.merch-deal-card--blush .merch-deal-card__type { color: #666; }
.merch-deal-card__headline { font-size: 1.3rem; line-height: 1.2; margin-bottom: 14px; }
.merch-deal-card--purple .merch-deal-card__headline { color: #fff; }
.merch-deal-card--cream .merch-deal-card__headline,
.merch-deal-card--blush .merch-deal-card__headline { color: #1a1a2e; }
.merch-deal-card__link { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 700; }
.merch-deal-card--purple .merch-deal-card__link { color: rgba(255,255,255,.85); }
.merch-deal-card--cream .merch-deal-card__link,
.merch-deal-card--blush .merch-deal-card__link { color: #e94560; }

/* ---- Section header ---- */
.merch-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.merch-section-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: #1a1a2e; margin: 0; }
.merch-section-title__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px; background: #6b0f2b; color: #fff; font-size: .8125rem;
}
.merch-section-header__nav { display: flex; gap: 6px; }
.merch-scroll-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1.5px solid #e8e8ec; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #1a1a2e; cursor: pointer; transition: background .15s, color .15s;
}
.merch-scroll-btn:hover { background: #6b0f2b; color: #fff; border-color: #6b0f2b; }

/* ---- Featured row ---- */
.merch-featured-section { margin-bottom: 32px; }
.merch-featured-row {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: #e8e8ec transparent; padding-bottom: 6px;
}
.merch-featured-row::-webkit-scrollbar { height: 3px; }
.merch-featured-row::-webkit-scrollbar-thumb { background: #e8e8ec; border-radius: 3px; }

.merch-feat-card {
  flex: 0 0 175px; scroll-snap-align: start;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s;
}
.merch-feat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.merch-feat-card__img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: #f5f5f8; }
.merch-feat-card__img-wrap a { display: block; height: 100%; }
.merch-feat-card__img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f5f5f8; display: block; }
.merch-feat-card__body { padding: 10px 12px 12px; }
.merch-feat-card__name {
  font-size: .8125rem; font-weight: 700; color: #1a1a2e; line-height: 1.3; margin-bottom: 5px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.merch-feat-card__name a { color: inherit; text-decoration: none; }
.merch-feat-card__name a:hover { color: #e94560; }
.merch-feat-card__prices { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.merch-feat-card__price { font-size: .875rem; font-weight: 800; color: #6b0f2b; }
.merch-feat-card__orig  { font-size: .75rem; color: #bbb; text-decoration: line-through; }

/* ---- Badges ---- */
.merch-badge {
  position: absolute; z-index: 2;
  font-size: .625rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 5px; line-height: 1.4;
}
.merch-badge--sale { top: 8px; left: 8px; background: #e94560; color: #fff; }
.merch-badge--new  { top: 8px; right: 8px; background: #16a34a; color: #fff; }
.merch-card .merch-badge--new { right: 36px; }

/* ---- Stars ---- */
.merch-stars { display: flex; align-items: center; gap: 1px; margin-bottom: 6px; }
.merch-star { font-size: .8125rem; line-height: 1; }
.merch-star--full  { color: #f59e0b; }
.merch-star--half  { color: #f59e0b; opacity: .6; }
.merch-star--empty { color: #d1d5db; }
.merch-stars__count { font-size: .6875rem; color: #666; margin-left: 3px; }

/* ---- Stock ---- */
.merch-stock { display: flex; align-items: center; gap: 4px; font-size: .6875rem; font-weight: 600; }
.merch-stock svg { flex-shrink: 0; }
.merch-stock--in  { color: #22c55e; }
.merch-stock--low { color: #f59e0b; }
.merch-stock--oos { color: #e94560; }


/* ---- Toolbar ---- */
.merch-grid-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.merch-grid-toolbar__count { font-size: .875rem; color: #666; font-weight: 500; }
.merch-grid-toolbar__count span { font-weight: 700; color: #1a1a2e; }
.merch-grid-toolbar__filtered { font-style: italic; }
.merch-grid-toolbar__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.merch-filter-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: #6b0f2b; color: #fff;
  font-size: .6875rem; font-weight: 600; padding: 3px 9px; border-radius: 20px;
}
.merch-filter-tag__x { color: rgba(255,255,255,.7); text-decoration: none; font-size: .875rem; }
.merch-filter-tag__x:hover { color: #fff; }

.merch-toolbar-sort {
  padding: 7px 12px; border: 1.5px solid #e8e8ec; border-radius: 8px;
  font-size: .8125rem; color: #1a1a2e; background: #fff; cursor: pointer; outline: none;
}
.merch-toolbar-sort:focus { border-color: #6b0f2b; }

.merch-filter-mob-btn {
  display: none; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px; border: 1.5px solid #e8e8ec;
  background: #fff; font-size: .875rem; font-weight: 600; color: #1a1a2e; cursor: pointer;
}
.merch-filter-mob-btn:hover { background: #f0f0f4; }

/* ---- Product grid ---- */
.merch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---- Product card ---- */
.merch-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.merch-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,.13); }
.merch-card--oos { opacity: .8; }

.merch-card__img-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #f5f5f8; border-radius: 16px 16px 0 0; }
.merch-card__img-link { display: block; height: 100%; }
.merch-card__img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f5f5f8; display: block; }

.merch-card__wishlist {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; box-shadow: 0 2px 8px rgba(0,0,0,.14);
  transition: color .15s, background .15s, transform .15s;
  backdrop-filter: blur(4px);
}
.merch-card__wishlist:hover { color: #e94560; transform: scale(1.15); }
.merch-card__wishlist.is-wishlisted { color: #e94560; background: #fff; }
.merch-card__wishlist.is-wishlisted svg { fill: #e94560; stroke: #e94560; }

.merch-card__body { padding: 12px 14px 8px; flex: 1; }
.merch-card__cat  { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #aaa; margin-bottom: 3px; }
.merch-card__name { font-size: .9375rem; font-weight: 700; color: #1a1a2e; line-height: 1.35; margin-bottom: 7px; }
.merch-card__name a { color: inherit; text-decoration: none; }
.merch-card__name a:hover { color: #e94560; }
.merch-card__prices { display: flex; align-items: baseline; gap: 7px; margin-bottom: 5px; }
.merch-card__price { font-size: 1.0625rem; font-weight: 800; color: #6b0f2b; }
.merch-card__orig  { font-size: .8125rem; color: #bbb; text-decoration: line-through; }

.merch-card__atc {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 12px 14px; margin: 8px 0 0;
  background: #6b0f2b; color: #fff; border: none;
  border-radius: 0 0 16px 16px; cursor: pointer;
  font-size: .875rem; font-weight: 700; letter-spacing: .02em;
  min-height: 46px;
  transition: background .2s;
}
.merch-card__atc:hover { background: #e94560; }
.merch-card__atc--disabled { background: #d0d0d8; color: #999; cursor: not-allowed; }

/* ---- Empty state ---- */
.merch-empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; }
.merch-empty svg { display: block; margin: 0 auto 16px; color: #d0d0d8; }
.merch-empty p { font-size: 1.1rem; margin-bottom: 20px; color: #666; }

/* ---- Pagination ---- */
.merch-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.merch-page-btn {
  width: 38px; height: 38px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid #e8e8ec; color: #1a1a2e; background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}
.merch-page-btn:hover,
.merch-page-btn.is-active { background: #6b0f2b; color: #fff; border-color: #6b0f2b; }

/* ---- Responsive ---- */
@media (max-width: 1280px) {
  .merch-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .merch-body { grid-template-columns: 200px 1fr; }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* Collapse to single column, sidebar becomes overlay */
  .merch-body { grid-template-columns: 1fr; }
  .merch-cat-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    height: 100vh;
    width: 280px;
    z-index: 500;
    transform: translateX(-100%);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
    border-right: none;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
  }
  .merch-cat-sidebar.is-open { transform: translateX(0); }
  .merch-filter-mob-btn { display: flex; }
  .merch-main { padding: 16px 14px 60px; }
  .merch-deals-row { grid-template-columns: repeat(2, 1fr); }
  .merch-hero-banner__visual { display: none; }
  .merch-hero-banner { padding: 30px 28px; }
}
@media (max-width: 640px) {
  .merch-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .merch-deals-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: unset;
  }
  .merch-deals-row::-webkit-scrollbar { display: none; }
  .merch-deal-card { flex: 0 0 70vw; scroll-snap-align: start; }
  .merch-hero-banner { padding: 22px 16px; }
  .merch-hero-banner__title { font-size: 1.5rem; }
  .merch-main { padding: 12px 10px 60px; }
  /* Wishlist always visible on touch */
  .merch-card__wishlist { opacity: 1; }
  .merch-card__atc { font-size: .8125rem; padding: 11px 10px; min-height: 48px; }
  .merch-page-btn { width: 44px; height: 44px; }
}
@media (max-width: 400px) {
  .merch-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   LEGACY selectors for product.php, cart.php, checkout.php
   ================================================================ */

.shop-breadcrumb {
  background: #f5f6fa; padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
}
.shop-breadcrumb .container { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: #999; }
.shop-breadcrumb a { color: #666; text-decoration: none; }
.shop-breadcrumb a:hover { color: #e94560; }

.shop-body, .shop-product { background: #f5f6fa; padding: 40px 0 80px; }
.shop-product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.shop-product__main-img-wrap { position: relative; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.shop-product__main-img { width: 100%; display: block; object-fit: cover; }
.shop-product__oos-ribbon { position: absolute; top: 20px; left: -8px; background: #1a1a2e; color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; padding: 6px 20px; letter-spacing: .06em; }
.shop-product__cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #e94560; margin-bottom: 8px; }
.shop-product__name { font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 800; color: #1a1a2e; line-height: 1.1; margin-bottom: 16px; letter-spacing: -.02em; }
.shop-product__price { font-size: 2rem; font-weight: 800; color: #1a1a2e; margin-bottom: 20px; }
.shop-product__desc  { font-size: 1rem; color: #555; line-height: 1.8; margin-bottom: 28px; }
.shop-product__option-group { margin-bottom: 20px; }
.shop-product__option-label { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #999; margin-bottom: 10px; }
.shop-product__options { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-option-btn { padding: 8px 18px; border-radius: 8px; border: 1.5px solid #d0d0d8; font-size: .875rem; font-weight: 600; cursor: pointer; background: #fff; color: #1a1a2e; transition: border-color .15s, background .15s; }
.shop-option-btn:hover, .shop-option-btn.is-selected { border-color: #1a1a2e; background: #1a1a2e; color: #fff; }

/* ── Color swatches ── */
.shop-product__color-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.color-swatch {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  outline: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, border-color .15s, outline-color .15s, box-shadow .15s;
  padding: 0;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.color-swatch:hover { transform: scale(1.18); box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.color-swatch.is-selected {
  border-color: #1a1a2e;
  outline: 2.5px solid #1a1a2e;
  outline-offset: 2px;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
/* Checkmark on selected swatch */
.color-swatch.is-selected::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  pointer-events: none;
}
/* Image-based swatch (base product colour) */
.color-swatch--img {
  overflow: hidden;
  border: 3px solid #ccc;
}
.color-swatch--img.is-selected {
  border-color: #1a1a2e;
}
/* White/light swatches need a visible border always */
.color-swatch[style*="#f5f5f5"], .color-swatch[style*="#FFFDD0"], .color-swatch[style*="#F5F5DC"],
.color-swatch[style*="#ffffff"], .color-swatch[style*="#FFFFFF"] { border-color: #ccc; }
.shop-product__qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.shop-qty { display: flex; align-items: center; border: 1.5px solid #d0d0d8; border-radius: 10px; overflow: hidden; }
.shop-qty__btn { width: 40px; height: 44px; background: #f4f5f7; border: none; font-size: 1.25rem; cursor: pointer; transition: background .15s; }
.shop-qty__btn:hover { background: #e8e8e8; }
.shop-qty__input { width: 56px; height: 44px; text-align: center; border: none; font-size: 1rem; font-weight: 700; color: #1a1a2e; background: #fff; }
.shop-product__stock { font-size: .8125rem; color: #28a745; font-weight: 600; }
.shop-product__atc   { width: 100%; justify-content: center; margin-bottom: 12px; }
.shop-product__buy-now { width: 100%; justify-content: center; }
.shop-product__trust { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid #eee; }
.shop-trust-badge { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: #666; font-weight: 500; }
.shop-trust-badge i { color: #28a745; }

.shop-cart { background: #f5f6fa; padding: 40px 0 80px; }
.shop-cart__layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.shop-cart__table-wrap { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.shop-cart__title { font-size: 1.25rem; font-weight: 800; color: #1a1a2e; margin-bottom: 24px; }
.shop-cart-table { width: 100%; border-collapse: collapse; }
.shop-cart-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #aaa; font-weight: 700; padding: 8px 12px 12px; text-align: left; border-bottom: 1px solid #f0f0f4; }
.shop-cart-table td { padding: 16px 12px; vertical-align: middle; border-bottom: 1px solid #f0f0f4; }
.shop-cart-table tr:last-child td { border-bottom: none; }
.shop-cart-item__img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.shop-cart-item__name { font-size: .9375rem; font-weight: 700; color: #1a1a2e; }
.shop-cart-item__variant { font-size: .8125rem; color: #aaa; margin-top: 2px; }
.shop-cart-item__price { font-size: 1rem; font-weight: 700; color: #1a1a2e; }
.shop-cart-item__remove { color: #ccc; background: none; border: none; cursor: pointer; font-size: 1.1rem; }
.shop-cart-item__remove:hover { color: #e94560; }
.shop-cart__summary { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: calc(var(--header-height,72px) + 16px); }
.shop-cart__summary-title { font-size: 1.0625rem; font-weight: 800; color: #1a1a2e; margin-bottom: 20px; }
.shop-cart__summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .9rem; color: #666; border-bottom: 1px solid #f4f5f7; }
.shop-cart__summary-row--total { font-size: 1.125rem; font-weight: 800; color: #1a1a2e; border-bottom: none; margin-top: 8px; padding-top: 12px; }
.shop-cart__checkout { width: 100%; margin-top: 20px; justify-content: center; }

.checkout-page { background: #f5f6fa; padding: 40px 0 80px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-steps { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.checkout-step { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: #999; transition: color .3s; }
.checkout-step.is-active { color: #1a1a2e; }
.checkout-step.is-done   { color: #16a34a; }
.checkout-step span {
  width: 28px; height: 28px; border-radius: 50%;
  background: #d0d0d8; color: #fff;
  font-size: .8125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.checkout-step.is-active span { background: #e94560; }
.checkout-step.is-done span   { background: #16a34a; }
.checkout-step.is-done span::after { content: '✓'; }
.checkout-step-sep { flex: 1; height: 2px; background: #d0d0d8; margin: 0 12px; transition: background .3s; }
.checkout-step-sep.is-done { background: #16a34a; }
.checkout-section { background: #fff; border-radius: 16px; padding: 28px 32px; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 20px; }
.checkout-section__title { font-size: 1.0625rem; font-weight: 700; color: #1a1a2e; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.checkout-stripe-mount { border: 1.5px solid #d0d0d8; border-radius: 10px; padding: 16px; background: #fff; min-height: 56px; }
.checkout-submit { width: 100%; justify-content: center; font-size: 1.0625rem; padding: 16px; border-radius: 12px; margin-top: 8px; }
.checkout-secure-note { text-align: center; font-size: .8125rem; color: #999; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.checkout-summary { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: calc(var(--header-height,72px) + 16px); }
.checkout-summary__title { font-size: 1.0625rem; font-weight: 700; color: #1a1a2e; margin-bottom: 20px; }
.checkout-summary__items { margin-bottom: 20px; }
.checkout-summary__item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.checkout-summary__item:last-child { border-bottom: none; }
.checkout-summary__img-wrap { position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.checkout-summary__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.checkout-summary__qty { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #1a1a2e; color: #fff; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.checkout-summary__item-info { flex: 1; min-width: 0; }
.checkout-summary__item-name    { font-size: .875rem; font-weight: 600; color: #1a1a2e; }
.checkout-summary__item-variant { font-size: .8125rem; color: #999; }
.checkout-summary__item-price   { font-size: .9375rem; font-weight: 700; color: #1a1a2e; flex-shrink: 0; }
.checkout-summary__totals { border-top: 1px solid #eee; padding-top: 16px; }
.checkout-summary__row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: #666; padding: 6px 0; }
.checkout-summary__row--total { font-size: 1.0625rem; font-weight: 800; color: #1a1a2e; border-top: 1px solid #eee; margin-top: 8px; padding-top: 12px; }


/* ================================================================
   Cart page — responsive layout
   ================================================================ */

/* Two-column: items left, summary right */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-8, 2rem);
  align-items: start;
}

.cart-items-panel {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  overflow-x: auto; /* allow horizontal scroll on very small screens */
  -webkit-overflow-scrolling: touch;
}

/* Cart table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 360px; /* prevents columns from getting too narrow */
}
.cart-table th {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #aaa;
  font-weight: 700;
  padding: 8px 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f0f0f4;
  white-space: nowrap;
}
.cart-table td {
  padding: 14px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f4;
}
.cart-table tr:last-child td { border-bottom: none; }

/* Product cell */
.cart-item__product {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-item__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.cart-item__name {
  font-size: .9rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}
.cart-item__variant {
  font-size: .8rem;
  color: #aaa;
  margin-top: 2px;
}

/* Price / qty / total cells */
.cart-item__price-cell,
.cart-item__total-cell {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}
.cart-item__qty-cell { white-space: nowrap; }

.cart-qty {
  width: 60px;
  padding: 6px 8px;
  border: 1.5px solid #d0d0d8;
  border-radius: 8px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  color: #1a1a2e;
}
.cart-qty:focus { outline: none; border-color: #6b0f2b; }

.cart-remove {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.cart-remove:hover { color: #e94560; background: #fff0f2; }

/* Order summary panel */
.cart-summary {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: sticky;
  top: calc(var(--header-height, 72px) + 16px);
}
.cart-summary__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 20px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: .9rem;
  color: #555;
  border-bottom: 1px solid #f4f5f7;
}
.cart-summary__total {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a2e;
  border-bottom: none;
  padding-top: 14px;
  margin-top: 4px;
}
.cart-summary__shipping-note { color: #999; font-size: .85rem; }
.cart-summary__btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: var(--space-4, 1rem);
}

/* ── Mobile: stack summary below items ───────────────────────────── */
@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: var(--space-5, 1.25rem);
  }

  .cart-summary {
    position: static; /* no sticky on mobile — show inline */
    order: -1;        /* move summary ABOVE items on mobile */
  }

  .cart-items-panel {
    padding: 14px;
  }

  /* Hide Price and Total columns on very small screens — show in compact mode */
  @media (max-width: 480px) {
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) { display: none; } /* hide Price — shown in Total */
  }
}

@media (max-width: 480px) {
  .cart-item__img {
    width: 44px;
    height: 44px;
  }
  .cart-item__name { font-size: .85rem; }
  .cart-qty { width: 52px; padding: 5px 6px; }
}


/* ================================================================
   Checkout — Mobile overrides
   (shop.css loads after responsive.css so these rules win)
   ================================================================ */
@media (max-width: 768px) {

  /* Remove the top margin — page-content-wrap already clears the header */
  .checkout-page {
    margin-top: 0;
    padding: 16px 0 80px;
  }

  /* Stack form + order summary vertically */
  .checkout-layout {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding-inline: 12px;
  }

  /* Order summary moves below the form */
  .checkout-summary {
    position: static !important;
    top: auto;
    order: 2;
  }

  /* Form column comes first */
  .checkout-form-col {
    order: 1;
  }

  /* Full-width form rows — no side-by-side on mobile */
  .checkout-row,
  .checkout-row--3 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* Tighten section padding on mobile */
  .checkout-section {
    padding: 16px 14px;
    border-radius: 12px;
  }

  /* Progress steps — smaller text & circles */
  .checkout-steps {
    gap: 0;
    margin-bottom: 20px;
    flex-wrap: nowrap;
  }
  .checkout-step {
    font-size: .75rem;
    gap: 5px;
    flex-shrink: 1;
    min-width: 0;
  }
  .checkout-step span {
    width: 22px;
    height: 22px;
    font-size: .65rem;
    flex-shrink: 0;
  }
  .checkout-step-sep {
    margin: 0 4px;
    flex: 1;
    min-width: 12px;
  }

  /* Submit button — full width with good tap target */
  .checkout-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 10px;
  }
}


/* ================================================================
   Cart page — Mobile overrides
   ================================================================ */
@media (max-width: 768px) {
  /* Remove double header gap — page-content-wrap already clears the header */
  .shop-cart {
    margin-top: 0;
    padding: 16px 0 80px;
  }
  .shop-breadcrumb {
    margin-top: 0;
  }

  /* Stack items + summary vertically */
  .shop-cart__layout {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Summary: un-stick and move above items */
  .shop-cart__summary {
    position: static !important;
    top: auto;
    order: -1;
  }
}


/* ================================================================
   Checkout Payment Tabs & MoMo Badges — global styles
   (used in checkout.php and tickets/index.php)
   ================================================================ */

/* Payment method tabs row */
.checkout-payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.checkout-payment-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid #d0d0d8;
  background: #fff;
  color: #666;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.checkout-payment-tab:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
}
.checkout-payment-tab.is-active {
  border-color: #e94560;
  background: #fff0f3;
  color: #e94560;
}

/* MoMo provider badges */
.checkout-momo-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.checkout-momo-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.checkout-momo-badge--mtn    { background: #ffce00; color: #1a1a2e; }
.checkout-momo-badge--airtel { background: #e40000; color: #fff; }
.checkout-momo-badge--zamtel { background: #0057a8; color: #fff; }

.checkout-momo-hint {
  font-size: .8125rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Pending / no-gateway state */
.checkout-payment-pending {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8f9fb;
  border: 1.5px solid #e8e8ec;
  border-radius: 10px;
  padding: 18px 20px;
}
.checkout-payment-pending > i {
  font-size: 1.5rem;
  color: #999;
  flex-shrink: 0;
  margin-top: 2px;
}
.checkout-payment-pending strong {
  display: block;
  font-size: .9375rem;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.checkout-payment-pending p {
  font-size: .8125rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ── Mobile overrides for payment UI ── */
@media (max-width: 768px) {
  .checkout-payment-tab {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: .85rem;
  }
  .checkout-momo-providers {
    gap: 6px;
  }
  .checkout-momo-badge {
    font-size: .7rem;
    padding: 3px 9px;
  }
}


/* ================================================================
   Checkout summary — edit cart link
   ================================================================ */
.checkout-summary__edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .8125rem;
  font-weight: 600;
  color: #e94560;
  text-decoration: none;
  transition: color .15s;
}
.checkout-summary__edit:hover { color: #c73550; }

/* ================================================================
   MOBILE-FIRST IMPROVEMENTS — merch grid + product page
   ================================================================ */

/* ---- Merch card: bigger tap targets on mobile ---- */
@media (max-width: 640px) {
  .merch-card__atc {
    padding: 13px 14px;
    font-size: .875rem;
    min-height: 48px;
  }
  .merch-card__name a { font-size: .9375rem; }
  .merch-card__price  { font-size: 1.0625rem; }

  /* Wishlist always visible on touch (no hover) */
  .merch-card__wishlist { opacity: 1; }

  /* Hero banner tighter on mobile */
  .merch-hero-banner {
    min-height: unset;
    padding: 22px 18px;
    border-radius: 10px;
  }
  .merch-hero-banner__title { font-size: 1.5rem; line-height: 1.1; }
  .merch-hero-banner__sub   { font-size: .875rem; margin-bottom: 16px; }
  .merch-hero-banner__cta   { padding: 10px 20px; font-size: .8125rem; }

  /* Deal cards: horizontal scroll on mobile instead of 1-col stack */
  .merch-deals-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: unset;
  }
  .merch-deals-row::-webkit-scrollbar { display: none; }
  .merch-deal-card {
    flex: 0 0 72vw;
    scroll-snap-align: start;
    border-radius: 10px;
    padding: 18px 18px;
  }

  /* Toolbar: count on left, sort+filter on right — no wrap */
  .merch-grid-toolbar {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .merch-grid-toolbar__left { flex-shrink: 1; min-width: 0; overflow: hidden; }
  .merch-grid-toolbar__count { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8125rem; }
  .merch-grid-toolbar__right { flex-shrink: 0; gap: 6px; }
  .merch-toolbar-sort { font-size: .75rem; padding: 6px 8px; max-width: 130px; }
  .merch-filter-mob-btn { font-size: .75rem; padding: 6px 10px; }

  /* Pagination: bigger tap targets */
  .merch-page-btn { width: 44px; height: 44px; font-size: .9375rem; }

  /* Featured row cards wider on mobile */
  .merch-feat-card { flex: 0 0 150px; }
}

/* ---- Product page: mobile stack ---- */
@media (max-width: 768px) {
  /* Stack image above info on mobile */
  .shop-product__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Image: full-width, square aspect, rounded top corners */
  .shop-product__main-img-wrap {
    border-radius: 0;
    max-height: 65vw;
    overflow: hidden;
  }
  .shop-product__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 65vw;
  }

  /* Info panel: card style with padding */
  .shop-product__info {
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 1;
    padding: 24px 18px 32px;
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  }

  .shop-product__cat  { font-size: .6875rem; margin-bottom: 6px; }
  .shop-product__name { font-size: 1.375rem; margin-bottom: 10px; }
  .shop-product__price { font-size: 1.5rem; margin-bottom: 14px; }
  .shop-product__desc  { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }

  /* Size/color option buttons: larger tap targets */
  .shop-option-btn {
    padding: 10px 16px;
    font-size: .875rem;
    min-height: 44px;
  }

  /* Qty row: full width */
  .shop-product__qty-row {
    margin-bottom: 16px;
    gap: 12px;
  }
  .shop-qty__btn   { width: 44px; height: 48px; font-size: 1.375rem; }
  .shop-qty__input { width: 52px; height: 48px; font-size: 1rem; }

  /* ATC + Buy Now: full width stacked */
  .shop-product__atc {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    min-height: 52px;
    margin-bottom: 10px;
    border-radius: 12px;
    gap: 8px;
  }
  .shop-product__buy-now {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: .9375rem;
    min-height: 50px;
    border-radius: 12px;
  }

  /* Trust badges: horizontal wrap */
  .shop-product__trust {
    margin-top: 20px;
    padding-top: 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .shop-trust-badge {
    font-size: .75rem;
    gap: 5px;
    background: #f4f5f7;
    padding: 7px 10px;
    border-radius: 8px;
    flex: 1;
    min-width: 100px;
    justify-content: center;
  }

  /* Breadcrumb: smaller on mobile */
  .shop-breadcrumb .container { font-size: .75rem; gap: 5px; padding: 0 16px; }
}

/* ---- Cart page: mobile card layout ---- */
@media (max-width: 640px) {
  .cart-layout,
  .shop-cart__layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Hide table headers on mobile, use data-label approach */
  .shop-cart__summary,
  .checkout-summary {
    position: static; /* un-sticky on mobile */
  }

  /* Cart items panel: no overflow-x, switch to card list */
  .cart-items-panel {
    padding: 14px;
    overflow-x: visible;
  }

  /* On mobile, hide the table and show stacked cards */
  .cart-table thead { display: none; }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td { display: block; width: 100%; box-sizing: border-box; }
  .cart-table tr { border: 1px solid #f0f0f4; border-radius: 12px; margin-bottom: 12px; padding: 12px; }
  .cart-table td { padding: 6px 0; border-bottom: none; }
  .cart-table td::before {
    content: attr(data-label);
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #aaa; display: block; margin-bottom: 3px;
  }

  /* Checkout layout: single column */
  .checkout-layout { grid-template-columns: 1fr; gap: 16px; }
  .checkout-section { padding: 20px 16px; }
  .checkout-row      { grid-template-columns: 1fr; gap: 12px; }
  .checkout-row--3   { grid-template-columns: 1fr; }
  .checkout-submit   { padding: 14px; font-size: .9375rem; }
}

/* end of shop.css */
