@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   Base tokens.
   The light values here are what the ADMIN PANEL uses — leave
   them alone. The storefront overrides them inside `.shop`.
   ============================================================ */
:root {
  --brand-yellow: #ffe000;
  --brand-yellow-dark: #e6c900;
  --ink: #0a0a0a;
}

* { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', system-ui, sans-serif;
}

:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-yellow); color: var(--ink); }

.scrollbar-none { scrollbar-width: none; -ms-overflow-style: none; }
.scrollbar-none::-webkit-scrollbar { display: none; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   STOREFRONT THEME  (body class="shop")
   Dark marketplace look: deep navy-black canvas, raised cards,
   yellow as the single action colour.
   ============================================================ */
body.shop {
  --bg: #0a0d14;
  --surface: #141823;
  --surface-2: #1c212e;
  --surface-3: #262c3b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eef1f6;
  --muted: #98a1b2;
  --muted-dim: #6d778a;
  --accent: var(--brand-yellow);
  --accent-dark: var(--brand-yellow-dark);
  --on-accent: #0a0a0a;
  --good: #34d399;
  --sale: #ff5a5f;

  background: var(--bg);
  color: var(--text);
}

.shop ::selection { background: var(--accent); color: var(--on-accent); }

.shop .muted { color: var(--muted); }
.shop .shell { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .shop .shell { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .shop .shell { padding-left: 32px; padding-right: 32px; } }

/* ---------- Section headings ---------- */
.shop .section-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.shop .section-sub {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px;
}

/* ---------- Buttons ---------- */
.shop .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  min-height: 44px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.shop .btn-accent { background: var(--accent); color: var(--on-accent); }
.shop .btn-accent:hover { background: var(--accent-dark); }
.shop .btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}
.shop .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.shop .btn-quiet { color: var(--muted); }
.shop .btn-quiet:hover { color: var(--text); background: var(--surface-2); }
.shop .btn-block { width: 100%; }

/* ---------- Header ---------- */
.shop .site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.shop .site-header.is-scrolled { background: rgba(10, 13, 20, 0.96); }

.shop .header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.shop .logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* The wordmark artwork is black-on-white, so it's inverted to sit on the
   dark header without needing a new asset. */
.shop .logo-lockup img {
  height: 26px;
  width: auto;
  filter: invert(1) brightness(1.9) contrast(1.15);
}

/* ---------- Primary nav + dropdown panels ---------- */
.shop .main-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .shop .main-nav { display: flex; } }

.shop .nav-item { position: relative; }
.shop .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}
.shop .nav-trigger:hover,
.shop .nav-item.is-open .nav-trigger { color: var(--accent); background: var(--surface-2); }
.shop .nav-trigger .caret { transition: transform 180ms ease; }
.shop .nav-item.is-open .caret { transform: rotate(180deg); }

.shop .nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 560px;
  max-width: min(880px, 90vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.shop .nav-item.is-open .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.shop .nav-panel.panel-sm { min-width: 240px; }

.shop .nav-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 26px;
}
.shop .nav-col-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.shop .nav-link {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 8px;
  margin-left: -8px;
  border-radius: 8px;
  transition: color 130ms ease, background 130ms ease;
}
.shop .nav-link:hover { color: var(--text); background: var(--surface-2); }
.shop .nav-empty { font-size: 13px; color: var(--muted-dim); padding: 6px 0; }

/* ---------- Header search ---------- */
.shop .header-search { position: relative; flex: 1; max-width: 320px; display: none; }
@media (min-width: 900px) { .shop .header-search { display: block; } }
.shop .header-search input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  padding: 10px 16px 10px 40px;
  min-height: 42px;
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}
.shop .header-search input::placeholder { color: var(--muted-dim); }
.shop .header-search input:focus { border-color: var(--accent); background: var(--surface); }
.shop .header-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-dim);
  pointer-events: none;
}

/* ---------- Currency toggle (dark) ---------- */
.currency-toggle {
  display: inline-flex;
  background: #f2f2f0;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.currency-toggle button {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
  min-height: 32px;
  cursor: pointer;
}
.currency-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.shop .currency-toggle { background: var(--surface-2); }
.shop .currency-toggle button { color: var(--muted); }
.shop .currency-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* ---------- Icon button (mobile menu trigger) ---------- */
.shop .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--text);
  cursor: pointer;
  transition: background 150ms ease;
}
.shop .icon-btn:hover { background: var(--surface-2); }
@media (min-width: 1024px) { .shop .icon-btn.lg-hide { display: none; } }

/* ---------- Mobile drawer ---------- */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  transform: translateX(100%);
  transition: transform 260ms ease;
  overflow-y: auto;
}
.shop #mobile-menu { background: var(--bg); }
#mobile-menu.is-open { transform: translateX(0); }

.shop .drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.shop .drawer-section { border-bottom: 1px solid var(--line); padding: 18px 16px; }
.shop .drawer-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-dim);
  margin-bottom: 12px;
}
.shop .drawer-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  padding: 11px 0;
  color: var(--text);
}

/* ============================================================
   HERO
   ============================================================ */
.shop .hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(255, 224, 0, 0.16), transparent 70%),
    radial-gradient(600px 300px at 12% 0%, rgba(255, 224, 0, 0.07), transparent 65%),
    var(--bg);
}
.shop .hero-inner { padding: 56px 0 40px; text-align: center; }
@media (min-width: 768px) { .shop .hero-inner { padding: 76px 0 48px; } }

.shop .hero h1 {
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin: 0 auto;
}
.shop .hero-sub {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 60ch;
}

.shop .hero-search { margin: 30px auto 0; max-width: 620px; position: relative; }
.shop .hero-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 16px;
  padding: 16px 20px 16px 50px;
  min-height: 56px;
  outline: none;
  transition: border-color 150ms ease;
}
.shop .hero-search input::placeholder { color: var(--muted-dim); }
.shop .hero-search input:focus { border-color: var(--accent); }
.shop .hero-search .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-dim);
}

.shop .trust-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.shop .trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.shop .trust-row svg { color: var(--accent); }

/* ---------- Category rail (icon chips) ---------- */
.shop .cat-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 26px 0 4px;
  width: max-content;
  min-width: 100%;
  justify-content: flex-start;
}
@media (min-width: 1024px) { .shop .cat-rail { justify-content: center; } }

.shop .cat-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 84px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.shop .cat-chip .cat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--surface-3);
  color: var(--text);
  transition: background 160ms ease, color 160ms ease;
}
.shop .cat-chip:hover { border-color: var(--line-strong); color: var(--text); }
.shop .cat-chip[aria-selected="true"] {
  border-color: var(--accent);
  background: rgba(255, 224, 0, 0.09);
  color: var(--accent);
}
.shop .cat-chip[aria-selected="true"] .cat-ico { background: var(--accent); color: var(--on-accent); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.shop .product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 18px;
}
@media (min-width: 640px) { .shop .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.shop .p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  transition: border-color 200ms ease, background 200ms ease;
}
.shop .p-card:hover,
.shop .p-card:focus-within { border-color: var(--line-strong); background: var(--surface-2); }

.shop .p-card-link { position: absolute; inset: 0; z-index: 0; border-radius: 20px; }

.shop .p-head { display: flex; align-items: center; gap: 14px; pointer-events: none; }
.shop .p-logo {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #fff6cc 0%, var(--brand-yellow) 100%);
  color: var(--on-accent);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
}
.shop .p-logo img { width: 100%; height: 100%; object-fit: cover; }

.shop .p-name {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
}
.shop .p-price-line { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; flex-wrap: wrap; }
.shop .p-price {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
}
.shop .p-per { font-size: 12.5px; color: var(--muted); }
.shop .p-was { font-size: 12.5px; color: var(--muted-dim); text-decoration: line-through; }

.shop .p-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  letter-spacing: 0.01em;
}
.shop .tag-popular { background: var(--accent); color: var(--on-accent); }
.shop .tag-new { background: var(--surface-3); color: var(--text); }
.shop .tag-sale { background: var(--sale); color: #fff; }

.shop .p-feats {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
  pointer-events: none;
}
.shop .p-feats li {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 4px 0;
}
.shop .p-feats svg { color: var(--good); flex-shrink: 0; margin-top: 3px; }

.shop .p-actions {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop .p-details {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 6px;
  transition: color 150ms ease;
  white-space: nowrap;
}
.shop .p-details:hover { color: var(--accent); }

/* Empty / error state */
.empty-state { display: none; }
.empty-state.is-visible { display: flex; }
.shop .empty-state {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px 16px;
  color: var(--muted);
}

/* ============================================================
   WHY US
   ============================================================ */
.shop .why-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 640px) { .shop .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.shop .why-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.shop .why-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 224, 0, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.shop .why-item h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 7px;
}
.shop .why-item p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Steps ---------- */
.shop .steps {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 640px) { .shop .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop .step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.shop .step-n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.shop .step h3 { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.shop .step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item .chevron { transition: transform 200ms ease; }
.faq-item[open] .chevron { transform: rotate(180deg); }

.shop .faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 160ms ease;
}
.shop .faq-item[open] { border-color: var(--line-strong); }
.shop .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15.5px;
}
.shop .faq-item p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.shop .site-footer { border-top: 1px solid var(--line); background: #070a10; margin-top: 8px; }
.shop .footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 34px;
  padding: 52px 0 36px;
}
@media (min-width: 640px) { .shop .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.shop .footer-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.shop .footer-link {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 140ms ease;
}
.shop .footer-link:hover { color: var(--accent); }
.shop .footer-blurb { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 42ch; }

.shop .social-row { display: flex; gap: 10px; margin-top: 18px; }
.shop .social-row a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease;
}
.shop .social-row a:hover { background: var(--accent); color: var(--on-accent); }

.shop .footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-dim);
}

/* ============================================================
   FLOATING CONTROLS
   ============================================================ */
.shop .wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform 180ms ease;
}
.shop .wa-float:hover { transform: scale(1.06); }

#back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, background 150ms ease;
  cursor: pointer;
}
.shop #back-to-top { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.shop #back-to-top:hover { background: var(--surface-3); }
#back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.shop .crumbs { font-size: 13px; color: var(--muted-dim); padding: 22px 0 0; }
.shop .crumbs a { color: var(--muted); }
.shop .crumbs a:hover { color: var(--accent); }

.shop .detail-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 28px;
  padding: 26px 0 60px;
}
@media (min-width: 1024px) { .shop .detail-grid { grid-template-columns: 420px minmax(0, 1fr); gap: 44px; } }

.shop .detail-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  position: relative;
}
.shop .detail-art {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #fff6cc 0%, var(--brand-yellow) 100%);
}
.shop .detail-art img { width: 100%; height: 100%; object-fit: cover; }
.shop .detail-art .initials {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 9vw, 76px);
  color: var(--on-accent);
}
.shop .detail-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
}

.shop .detail-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.shop .detail-desc { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-top: 12px; max-width: 65ch; }

.shop .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.shop .chip {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}

.shop .detail-feats { list-style: none; padding: 0; margin: 22px 0 0; }
.shop .detail-feats li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  padding: 7px 0;
}
.shop .detail-feats svg { color: var(--good); flex-shrink: 0; margin-top: 4px; }

.shop .block-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

/* Plan picker — GamsGo-style selectable duration boxes */
.shop .plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.plan-pill {
  position: relative;
  text-align: left;
  border-radius: 14px;
  padding: 14px;
  min-height: 44px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.shop .plan-pill {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
}
.shop .plan-pill:hover { border-color: var(--line-strong); }
.shop .plan-pill[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(255, 224, 0, 0.08);
}
.shop .plan-pill-label { display: block; font-weight: 700; font-size: 14px; }
.shop .plan-pill-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.shop .plan-pill[aria-pressed="true"] .plan-pill-sub { color: var(--accent); }
.shop .plan-save {
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--sale);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

.shop .buy-box {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.shop .buy-price {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--accent);
  line-height: 1;
}
.shop .buy-was { font-size: 14px; color: var(--muted-dim); text-decoration: line-through; }
.shop .buy-meta { font-size: 13px; color: var(--muted); margin-top: 7px; }
.shop .save-badge {
  display: inline-block;
  background: rgba(255, 90, 95, 0.15);
  color: #ff8a8d;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.shop .buy-note { font-size: 12.5px; color: var(--muted-dim); margin-top: 14px; line-height: 1.6; }

.shop .state-msg { text-align: center; padding: 90px 16px; color: var(--muted); }

/* ============================================================
   MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shop .p-card, .shop .nav-panel, #mobile-menu { transition: none; }
}

/* ============================================================
   ADMIN PANEL (unchanged light theme)
   ============================================================ */
.admin-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #f2f2f0;
}

/* ============================================================
   LAYOUT UTILITIES (storefront)
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--brand-yellow);
  color: #0a0a0a;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.shop .header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.shop .header-cta { display: none; padding: 10px 16px; min-height: 42px; }
@media (min-width: 640px) { .shop .header-cta { display: inline-flex; } }

.shop .rail-wrap { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 20px; }
.shop .rail-wrap::-webkit-scrollbar { display: none; }

.shop .section { padding: 54px 0; }
@media (min-width: 768px) { .shop .section { padding: 68px 0; } }

.shop .section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }

.shop .row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.shop .results-count { font-size: 13px; color: var(--muted-dim); }

.shop .empty-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.shop .empty-body { font-size: 14px; margin-top: 6px; }

.shop .faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 780px; margin: 0 auto; }

.shop .cta-band {
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.shop .cta-band .section-sub { margin-top: 6px; max-width: 52ch; }
.shop .cta-band-btn { padding: 14px 22px; font-size: 15px; flex-shrink: 0; }

/* `hidden` must win over the component display rules above. */
[hidden] { display: none !important; }

.shop .buy-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-height: 1px; }
.shop .buy-btn { padding: 15px 26px; font-size: 15px; flex-shrink: 0; }
