/* ============================================================================
   MIO ARCHIVE — storefront theme (shop.css)
   Loaded AFTER style.css; overrides the wholesale look with a clean,
   product-forward consumer storefront (fandom.tokyo-style).
   ========================================================================== */

:root {
  /* Clean editorial — warm paper neutrals, stark monochrome ink, square corners */
  --bg:        #ffffff;
  --bg-soft:   #eef2fa;          /* soft sky tint, not beige */
  --bg-ink:    #17161a;          /* near-black, warm */
  /* Brand gradient — sky-blue → periwinkle → ice blue */
  --brand-grad: linear-gradient(120deg, #5681d2 0%, #7f86d4 46%, #A7CDDD 100%);
  --ink:       #1a1916;
  --muted:     #6b665d;
  --dim:       #9c968b;
  --line:      #e7e3da;
  --line-2:    #d9d3c7;
  /* Monochrome accents — "brand" maps to ink so cool blues disappear */
  --brand:      #1a1916;
  --brand-deep: #1a1916;
  --brand-soft: #f4f2ec;
  --peach:      #A7CDDD;
  --gold:       #A7CDDD;         /* ice blue, used sparingly */
  --grad:       #1a1916;
  /* Red reserved strictly for SALE / urgent signals */
  --sale:      #b8362f;
  --sale-soft: #f7eae8;
  --ok:        #4a7a52;
  --shadow:    0 1px 2px rgba(26,25,22,.04), 0 8px 24px rgba(26,25,22,.06);
  --shadow-lg: 0 18px 50px rgba(26,25,22,.14);
  --maxw:      1320px;
  --font-body: 'IBM Plex Sans', 'IBM Plex Sans JP', system-ui, sans-serif;
  --font-disp: 'IBM Plex Sans', 'IBM Plex Sans JP', system-ui, sans-serif;
}

/* Re-map the inherited style.css palette to the editorial theme (square + warm + mono) */
:root {
  --text: #1a1916; --text-muted: #6b665d; --text-dim: #9c968b; --body: #1a1916;
  --navy: #1a1916; --navy-light: #1a1916; --navy-2: #1a1916; --navy-3: #3a362f;
  --blue: #1a1916; --blue-light: #3a362f; --blue-hover: #000000;
  --gold: #1a1916; --gold-dk: #000000; --accent: #1a1916; --accent-dk: #000000; --accent-lt: #3a362f;
  --surface: #ffffff; --surface-2: #faf9f6; --surface-3: #f4f2ec;
  --border: #e7e3da; --border-2: #d9d3c7;
  --error: #b8362f; --success: #4a7a52;
  --radius: 0; --radius-lg: 0; --radius-sm: 0; --radius-xl: 0;
}

/* Unify the entire storefront on IBM Plex Sans (overrides inherited style.css) */
body, body *:not([data-lucide]):not(svg):not(svg *) {
  font-family: 'IBM Plex Sans', 'IBM Plex Sans JP', system-ui, sans-serif !important;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
a { color: inherit; }
::selection { background: var(--ink); color: #fff; }

/* ── Top announcement bar ─────────────────────────────────────────────── */
.topbar {
  background: var(--bg-ink);
  color: #f3efe6;
  font-size: 12px;
  letter-spacing: .02em;
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-msg { font-weight: 500; color: #e9e3d6; }
.topbar-msg strong { color: #fff; font-weight: 700; }
.topbar-tools { display: flex; align-items: center; gap: 14px; }
.topbar-tools .currency-select {
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  color: #f3efe6; font-size: 12px; padding: 3px 8px; border-radius: 0;
  font-family: inherit; cursor: pointer;
}
.topbar-tools .currency-select option { color: #15130f; }

/* ── Header / brand ───────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(20,18,12,.05); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: auto;                 /* override style.css fixed 48px */
  padding: 17px 24px;
  display: flex; align-items: center; gap: 30px;
}
.header-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.header-logo span {
  font-family: var(--font-disp); font-weight: 800; font-size: 24px;
  letter-spacing: -0.03em; color: var(--ink);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-icon-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em;
}
.header-icon-link:hover { color: var(--brand-deep); }
.header-icon-link svg, .header-icon-link i { width: 21px; height: 21px; }

/* Search pill */
.header-search {
  flex: 1; max-width: 500px;
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 13px 16px; border-radius: 0;
}
.header-search input {
  border: 0; background: transparent; outline: none; width: 100%;
  font-family: inherit; font-size: 14px; color: var(--ink);
}
.header-search input::placeholder { color: var(--dim); }
.header-search svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }

/* Cart button */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 12px 20px; border-radius: 0; letter-spacing: -0.01em;
}
.cart-btn:hover { background: #2a261d; }
.cart-btn .cart-badge {
  background: #fff; color: var(--ink); font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ── Category nav row ─────────────────────────────────────────────────── */
.cat-nav { border-bottom: 1px solid var(--line); background: #fff; }
.cat-nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: stretch; gap: 4px; overflow-x: auto;
}
.cat-nav-inner::-webkit-scrollbar { height: 0; }
.cat-link {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 15px 16px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.cat-link:hover { color: var(--ink); }
.cat-link.active { color: var(--ink); border-bottom-color: var(--brand); }
.cat-link.accent { color: var(--brand-deep); font-weight: 700; }

/* ── Buttons (storefront) ─────────────────────────────────────────────── */
.btn { border-radius: 0; font-family: inherit; letter-spacing: -0.01em; transition: transform .08s, background .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-shop {
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-weight: 700; font-size: 14px; padding: 12px 22px; display: inline-block; text-align: center;
}
.btn-shop:hover { background: #2a261d; }
.btn-outline2 {
  background: transparent; color: var(--ink); border: 1px solid var(--line-2);
  font-weight: 700; font-size: 14px; padding: 12px 22px; display: inline-block; text-align: center;
}
.btn-outline2:hover { border-color: var(--ink); }
.btn-sale { background: var(--sale); color: #fff; border: 1px solid var(--sale); font-weight: 700; }
.btn-sale:hover { background: #b91f1f; }
.btn-brand { background: var(--ink); color: #fff; border: 1px solid var(--ink); font-weight: 700; font-size: 14px; padding: 12px 24px; display: inline-block; text-align: center; }
.btn-brand:hover { background: #000; }

/* ── Hero (default fallback — light editorial gallery) ────────────────────── */
.shop-hero {
  position: relative; background: var(--bg-soft); color: var(--ink); overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.shop-hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 88px 24px 92px; display: grid; gap: 22px; max-width: 820px;
}
.shop-hero .eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.shop-hero h1 {
  font-family: var(--font-disp); font-weight: 700; line-height: 1.0;
  font-size: clamp(40px, 7vw, 80px); letter-spacing: -0.04em; color: var(--ink); margin: 0;
}
.shop-hero h1 em { font-style: normal; color: var(--ink); border-bottom: 4px solid var(--ink); padding-bottom: 2px; }
.shop-hero p { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 560px; margin: 0; }
.shop-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-anim { opacity: 0; transform: translateY(14px); animation: heroIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-anim.d1 { animation-delay: .05s; }
.hero-anim.d2 { animation-delay: .15s; }
.hero-anim.d3 { animation-delay: .25s; }
.hero-anim.d4 { animation-delay: .35s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ── Hero carousel (admin-managed slides) ─────────────────────────────────── */
/* Each slide shows the uploaded image at its OWN aspect ratio (no cropping);
   the carousel height follows the active slide (set by JS). */
/* Center-mode coverflow: active slide centred, prev/next peek smaller + blurred */
.hero-carousel { position: relative; overflow: hidden; background: var(--bg-ink); padding: 30px 0; }
.hero-track { display: flex; align-items: center; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.hero-slide {
  position: relative; flex: 0 0 66%; margin: 0 0.7%;
  aspect-ratio: 2 / 1;          /* matches the 2400×1200 (2:1) upload — perfect fit, no crop */
  background-size: cover; background-position: center; background-color: var(--bg-ink);
  transform: scale(.86); filter: blur(3px) brightness(.66);
  transition: transform .55s cubic-bezier(.4,0,.2,1), filter .55s ease;
  overflow: hidden;
}
.hero-slide.is-active { transform: scale(1); filter: none; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.hero-slide.grad { background-image: var(--brand-grad); }
.hero-slide-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-slide-inner {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3;
  max-width: var(--maxw); margin: 0 auto; padding: 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-slide-content { display: flex; flex-direction: column; gap: 18px; }
.hc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.hc-heading { font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; margin: 0; }
.hc-sub { font-size: 16px; line-height: 1.7; margin: 0; opacity: .92; }
.hc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 0; border: 1px solid rgba(255,255,255,.3);
  background: rgba(21,25,36,.35); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .15s;
}
.hero-arrow:hover { background: rgba(21,25,36,.6); }
.hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dot { width: 26px; height: 2px; border-radius: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .15s; }
.hero-dot.active { background: #fff; }
@media (max-width: 820px) {
  /* phones/small tablets: subtle coverflow — big centre, small side peeks */
  .hero-carousel { padding: 16px 0; }
  .hero-slide { flex-basis: 86%; margin: 0 0.8%; aspect-ratio: 4 / 3;
    transform: scale(.92); filter: blur(2px) brightness(.72); }
  .hero-slide.is-active { box-shadow: 0 12px 32px rgba(0,0,0,.32); }
  .hero-slide-inner { padding: 34px 22px; }
  .hero-arrow { display: none; }
}

/* trust strip */
.trust-strip {
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.trust-strip-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; gap: 34px; justify-content: center; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.trust-item svg, .trust-item i { width: 16px; height: 16px; color: var(--ink); }

/* ── Section heading ──────────────────────────────────────────────────── */
.shop-section { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px; }
.shop-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.shop-section-head h2 {
  font-family: var(--font-disp); font-weight: 800; font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: -0.04em; margin: 0; line-height: 1;
}
.shop-section-head .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-deep); display: block; margin-bottom: 8px; }
.see-all { font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.see-all:hover { color: var(--brand-deep); border-color: var(--brand-deep); }

/* ── Product grid + card ──────────────────────────────────────────────── */
.product-grid2 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 20px;
}
.pcard {
  position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; background: #fff;
}
.pcard-imglink, .pcard-namelink { text-decoration: none; color: inherit; display: block; }
.pcard-namelink:hover .pcard-name { color: var(--brand-deep); }
.pcard-imgwrap {
  position: relative; aspect-ratio: 1/1; background: transparent;
  border: 0; overflow: hidden; border-radius: 0;
}
.pcard-imgwrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 2px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.pcard:hover .pcard-imgwrap img { transform: scale(1.05); }
/* Second image revealed on hover */
.pcard-img-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-img-alt { opacity: 1; }
.pcard { transition: transform .22s ease; }
.pcard:hover { transform: translateY(-4px); }

/* ── Motion: reveal-on-scroll ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pcard, .pcard:hover { transition: none; }
}
.pcard-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 12px; }
.pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pbadge { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 0; }
.pbadge.sale { background: var(--sale); color: #fff; }
.pbadge.new  { background: var(--ink); color: #fff; }
.pbadge.pre  { background: var(--gold); color: #fff; }
.pbadge.made { position: absolute; top: 10px; right: 10px; left: auto; background: rgba(21,19,15,.78); color: #fff; }
.pbadge.oos  { background: var(--sale); color: #fff; }
.pcard-body { padding: 13px 2px 4px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.pcard-name {
  font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5em;
}
.pcard-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.pcard-price .now { font-family: var(--font-disp); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.pcard-price .now.is-sale { color: var(--sale); }
.pcard-price .was { font-size: 13px; color: var(--dim); text-decoration: line-through; }
.pcard-price .conv { font-size: 11px; color: var(--dim); width: 100%; }
.pcard-add { margin-top: 12px; }
.pcard-add .cart-form { display: flex; gap: 8px; width: 100%; align-items: stretch; }
.qty-stepper {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line-2); border-radius: 0; height: 44px; background: #fff;
}
.qbtn {
  width: 40px; height: 100%; border: 0; background: transparent; cursor: pointer;
  font-size: 17px; line-height: 1; color: var(--muted); font-family: inherit; padding: 0;
  display: flex; align-items: center; justify-content: center; border-radius: 0;
}
.qbtn:hover { color: var(--ink); background: var(--bg-soft); }
.qval {
  flex: 1 1 auto; min-width: 26px; width: auto; height: 100%; text-align: center; border: 0;
  font-size: 14px; font-weight: 700; font-family: inherit; background: transparent;
  color: var(--ink); padding: 0; -moz-appearance: textfield; pointer-events: none;
}
.qval::-webkit-outer-spin-button, .qval::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add {
  flex: 0 0 78px; height: 44px; background: #fff; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 0; font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: inherit; transition: background .12s, color .12s, border-color .12s;
}
.btn-add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 620px) {
  /* narrow 2-col cards: stack stepper (row 1) + Add (row 2) so the qty stays readable */
  .pcard-add .cart-form { flex-wrap: wrap; }
  .qty-stepper { height: 42px; flex: 1 1 100%; }
  .qbtn { width: 42px; }
  .btn-add { flex: 1 1 100%; height: 40px; font-size: 13px; }
}

/* ── Collection (catalog) layout ──────────────────────────────────────── */
.collection { max-width: var(--maxw); margin: 0 auto; padding: 24px 24px 72px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin: 6px 0 14px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--ink); font-weight: 600; }
.collection-title { font-family: var(--font-disp); font-weight: 800; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.04em; margin: 0 0 4px; }
.collection-count { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.collection-layout { display: grid; grid-template-columns: 232px 1fr; gap: 34px; align-items: start; }

.filter-panel { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 22px; }
.filter-block { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.filter-block:last-child { border-bottom: 0; }
.filter-title { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.filter-opt { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); padding: 4px 0; cursor: pointer; }
.filter-opt input { accent-color: var(--brand); width: 15px; height: 15px; }
.filter-opt:hover { color: var(--ink); }
.filter-opt .cnt { color: var(--dim); font-size: 12px; margin-left: auto; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; border: 1px solid var(--line-2); padding: 8px 10px; font-family: inherit; font-size: 13px; border-radius: 0; background: #fff; }
.filter-actions { display: flex; gap: 8px; margin-top: 12px; }
.filter-sort-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.sort-select, .filter-sort-row select {
  border: 1px solid var(--line-2); padding: 9px 14px; border-radius: 0;
  font-family: inherit; font-size: 13px; background: #fff; color: var(--ink); cursor: pointer;
}
.mobile-filter-toggle { display: none; }

.collection-group { margin-bottom: 44px; }
.collection-group-title { font-family: var(--font-disp); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 0; font-size: 13px; font-weight: 600;
  text-decoration: none; color: var(--ink);
}
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ── Category rail (home) ─────────────────────────────────────────────── */
.cat-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile {
  position: relative; border: 1px solid var(--line); border-radius: 0; overflow: hidden;
  aspect-ratio: 4/3; display: flex; align-items: flex-end; text-decoration: none;
  background: var(--bg-soft); transition: box-shadow .2s, transform .2s;
}
.cat-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,19,15,.82), transparent 62%); }
.cat-tile-label { position: relative; z-index: 1; padding: 16px; color: #fff; font-family: var(--font-disp); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }

/* ── Footer (storefront) ──────────────────────────────────────────────── */
.shop-footer { background: var(--bg-ink); color: #cfc9bd; margin-top: 40px; }
.shop-footer-top { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.shop-footer h4 { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.shop-footer a { color: #cfc9bd; text-decoration: none; font-size: 13px; display: block; padding: 4px 0; }
.shop-footer a:hover { color: #fff; }
.shop-footer-brand .bname { font-family: var(--font-disp); font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.03em; margin-bottom: 10px; }
.shop-footer-brand p { font-size: 13px; line-height: 1.7; color: #a8a298; max-width: 280px; }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; padding: 10px 12px; font-family: inherit; font-size: 13px; border-radius: 0; }
.newsletter button { background: #fff; color: #15130f; border: 0; font-weight: 700; padding: 0 16px; border-radius: 0; cursor: pointer; font-family: inherit; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; align-items: center; }
.pay-icons img { height: 26px; width: auto; display: block; border-radius: 0; }
.shop-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: #8b867c;
}
.license-note { font-size: 11.5px; color: #8b867c; line-height: 1.6; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .product-grid2 { grid-template-columns: repeat(3, 1fr); }
  .cat-rail { grid-template-columns: repeat(2, 1fr); }
  .shop-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-search { display: none; }
  .collection-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: none; }
  .filter-panel.open { display: flex; }
  .mobile-filter-toggle { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: #fff; border-radius: 0; padding: 9px 16px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
}
@media (max-width: 620px) {
  .product-grid2 { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .cat-rail { grid-template-columns: repeat(2, 1fr); }
  .shop-footer-top { grid-template-columns: 1fr; gap: 26px; }
  .shop-hero-inner { padding: 64px 22px 68px; }
  .header-actions { gap: 12px; }
}

@media (max-width: 760px) {
  .b2b-callout { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ── Layout classes (so media queries can override; templates use these) ──── */
.vprops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pdp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; max-width: 1100px; }

/* ── Responsive polish ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .vprops { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 820px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .topbar-inner { padding: 7px 16px; gap: 10px; }
  .topbar-msg { font-size: 11px; line-height: 1.45; }
  #rate-display { display: none; }
  .topbar-tools .currency-select { padding: 4px 8px; min-width: 58px; }
  .trust-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
    justify-items: start; padding: 14px 18px; }
  .trust-item { font-size: 12px; gap: 7px; }
  .header-inner { gap: 14px; padding: 13px 18px; }
  .header-logo span { font-size: 19px; }
  .cart-btn { padding: 9px 13px; font-size: 13px; gap: 6px; }
  .header-icon-link { font-size: 13px; }
  .cat-nav-inner { padding: 0 18px; }
  .hide-sm { display: none; }
  .shop-section { padding: 44px 18px; }
  .collection { padding-left: 18px; padding-right: 18px; }
}

/* ── Mobile nav (hamburger drawer) ────────────────────────────────────────── */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 2px; color: var(--ink); margin-right: 2px; }
.nav-toggle i, .nav-toggle svg { width: 26px; height: 26px; }
.mnav-overlay { position: fixed; inset: 0; background: rgba(20,18,12,.45); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 99; }
.mnav-overlay.open { opacity: 1; visibility: visible; }
.mnav {
  position: fixed; top: 0; left: 0; bottom: 0; width: 86%; max-width: 340px; background: #fff;
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1); z-index: 100;
  display: flex; flex-direction: column; overflow-y: auto; box-shadow: 0 0 40px rgba(0,0,0,.18);
}
.mnav.open { transform: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.mnav-head button { background: none; border: 0; cursor: pointer; color: var(--ink); padding: 4px; }
.mnav-head button i { width: 22px; height: 22px; }
.mnav-search { display: flex; align-items: center; gap: 9px; margin: 16px 20px 8px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.mnav-search input { border: 0; background: transparent; outline: none; width: 100%; font-family: inherit; font-size: 14px; color: var(--ink); }
.mnav-search i { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.mnav-links { display: flex; flex-direction: column; padding: 6px 8px; }
.mnav-links a { padding: 14px 12px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav-links a.accent { color: var(--brand-deep); }
.mnav-foot { margin-top: auto; padding: 12px 12px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.mnav-foot a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.mnav-foot a i { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .cat-nav { display: none; }
  .header-actions .header-icon-link { display: none; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
}

/* ── Logo (image only; "CardShop" text removed) ───────────────────────────── */
.header-logo img { height: 72px; width: auto; display: block; }
@media (max-width: 860px) {
  .site-header .header-logo img { height: 50px !important; }  /* beats style.css 32px!important */
}

/* ── Policy / legal pages ─────────────────────────────────────────────────── */
.policy { max-width: 800px; }
.policy .updated { font-size: 12px; color: var(--dim); margin: 0 0 26px; }
.policy h2 { font-family: var(--font-disp); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 30px 0 10px; }
.policy p { font-size: 14.5px; line-height: 1.85; color: var(--muted); margin: 0 0 12px; }
.policy ul { margin: 0 0 14px; padding-left: 20px; }
.policy li { font-size: 14.5px; line-height: 1.8; color: var(--muted); margin-bottom: 5px; }
.policy strong { color: var(--ink); font-weight: 600; }
.policy a { color: var(--brand-deep); font-weight: 600; }
.policy .note { background: var(--bg-soft); border: 1px solid var(--line); padding: 14px 16px; font-size: 13.5px; color: var(--muted); line-height: 1.75; margin: 0 0 16px; }

/* ── FAQ accordion ────────────────────────────────────────────────────────── */
.faq-wrap { max-width: 760px; }
.faq-group { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 30px 0 6px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 2px; font-size: 15px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 13px; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq[open] summary::after { content: '\2212'; }
.faq summary:hover { color: var(--brand-deep); }
.faq > div { padding: 0 2px 18px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.faq > div a { color: var(--brand-deep); font-weight: 600; }

/* ── Cart free-shipping progress bar ──────────────────────────────────────── */
.cart-ship { padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.cart-ship-msg { font-size: 12.5px; color: var(--ink); margin-bottom: 9px; text-align: center; line-height: 1.45; }
.cart-ship-msg strong { font-weight: 700; }
.cart-ship-track { height: 6px; background: var(--line-2); overflow: hidden; }
.cart-ship-fill { height: 100%; width: 0; background: var(--ink); transition: width .45s ease; }
.cart-ship.done .cart-ship-fill { background: var(--ok); }
.cart-ship.done .cart-ship-msg { color: var(--ok); }
.cart-ship.done .cart-ship-msg strong { color: var(--ok); }

/* ── B2B Partner header button ────────────────────────────────────────────── */
.b2b-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); color: var(--ink); background: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em;
  padding: 9px 15px; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.b2b-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Footer social icons (Instagram / TikTok) ─────────────────────────────── */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social-icon {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0 !important;
  border: 1px solid rgba(255,255,255,.18); color: #cfc9bd;
  transition: background .15s, color .15s, border-color .15s;
}
.footer-social-icon:hover { background: #fff; color: #17161a; border-color: #fff; }
