:root {
  --ink: #100e1f;
  --ink-2: #17132a;
  --ink-3: #211a37;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.075);
  --text: #fffaff;
  --muted: #b8b0ca;
  --muted-2: #827a99;
  --pink: #ef4f87;
  --pink-2: #ff76a8;
  --pink-dark: #cb356d;
  --lavender: #b998ff;
  --gold: #ffd65a;
  --green: #80d84a;
  --paper: #fbfafc;
  --paper-line: #e6e2eb;
  --paper-text: #1c1824;
  --paper-muted: #6d6676;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(2, 1, 10, .35);
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 76% -15%, rgba(117,68,185,.23), transparent 30rem),
    linear-gradient(180deg, #0c0a18 0%, #110e21 60%, #0d0b19 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.checkout-page { background: var(--paper); color: var(--paper-text); }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

/* Age gate */
#age-gate-overlay {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(7,5,17,.88), rgba(7,5,17,.94)),
    url('/images/hero-sunset.jpg') center/cover;
  backdrop-filter: blur(14px);
}
#age-gate-overlay.hidden { display: none; }
.age-gate-modal {
  width: min(460px, 100%);
  padding: 34px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(16,14,31,.92);
  box-shadow: var(--shadow);
}
.age-gate-modal .logo { margin: 0 auto 18px; width: 236px; }
.age-gate-modal h2 { margin: 0 0 10px; font-size: 24px; }
.age-gate-modal p { margin: 0 auto 24px; max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.age-gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.age-gate-actions button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  font-weight: 750;
}
.age-gate-actions button.primary { border-color: var(--pink); background: linear-gradient(135deg, var(--pink-2), var(--pink)); }
.age-gate-modal .fine-print { margin-top: 18px; color: var(--muted-2); font-size: 11px; line-height: 1.5; }
body.age-locked { overflow: hidden; }
body.age-locked #site-content { filter: blur(7px); pointer-events: none; user-select: none; }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(11,9,25,.89);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(var(--max-width), calc(100% - 48px));
  min-height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  gap: 20px;
}
.brand-logo { display: block; width: 195px; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 34px; color: #f3edf8; font-size: 14px; font-weight: 650; }
.main-nav a { position: relative; padding: 28px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; border-radius: 2px; background: var(--pink); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-icons { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { background: rgba(255,255,255,.075); }
.menu-button { display: none; }

/* Mobile nav */
#mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 149;
  display: none;
  background: rgba(6,4,14,.6);
}
#mobile-nav-overlay.open { display: block; }
#mobile-nav {
  position: fixed;
  z-index: 150;
  top: 0;
  right: -320px;
  width: min(320px, 86vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 90px 26px 26px;
  background: #14101f;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0,0,0,.35);
  transition: right .25s ease;
}
#mobile-nav.open { right: 0; }
#mobile-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line-soft); color: white; font-size: 16px; font-weight: 700; }
.mobile-nav-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  font-size: 22px;
}
.icon-button svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #0d0b1d;
  border-radius: 999px;
  color: white;
  background: var(--pink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

/* Hero slider */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #17102a;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  display: block;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(10,8,18,.45);
  color: white;
  font-size: 15px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(10,8,18,.7); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }

.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.25);
  padding: 0;
  cursor: pointer;
}
.hero-dot.active { background: var(--pink); border-color: var(--pink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: linear-gradient(135deg, #f36396, #dc3e78); box-shadow: 0 12px 32px rgba(226,62,121,.25); }
.btn-primary:hover { background: linear-gradient(135deg, #ff79a9, #e94b86); box-shadow: 0 16px 36px rgba(226,62,121,.33); }
.btn-outline { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.btn svg { width: 16px; height: 16px; }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--line-soft); background: #0d0b1b; }
.trust-grid { width: min(var(--max-width), calc(100% - 48px)); min-height: 86px; margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; border-right: 1px solid var(--line-soft); }
.trust-item:first-child { border-left: 1px solid var(--line-soft); }
.trust-item svg { width: 23px; height: 23px; color: var(--pink-2); flex: 0 0 auto; }
.trust-item strong { display: block; margin-bottom: 3px; font-size: 13px; }
.trust-item span { color: var(--muted-2); font-size: 11px; }

/* Sections */
.store-section { padding: 74px 0; }
.store-section.compact { padding-top: 52px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.section-kicker { display: block; margin-bottom: 9px; color: var(--pink-2); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-title h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.section-title p { max-width: 530px; margin: 10px 0 0; color: var(--muted); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #f2edf9; font-size: 13px; font-weight: 750; white-space: nowrap; }
.text-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.collection-card {
  position: relative;
  height: clamp(280px, 22vw, 340px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: 0 18px 45px rgba(3,2,10,.15);
}
.collection-card:first-child { min-height: 0; grid-row: auto; }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,4,15,.93), rgba(5,4,15,.12) 68%); }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.collection-card:nth-child(4) img { object-position: center 22%; }
.collection-card:hover img { transform: scale(1.045); }
.collection-copy { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.collection-copy span { color: #ffc0d7; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.collection-copy h3 { margin: 5px 0 4px; font-size: 22px; }
.collection-copy p { margin: 0; color: #c4bbd2; font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { position: relative; min-width: 0; }
.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1f1932;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-media img[src$="/neon-rider.png"] { object-position: center top; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badge { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 7px 9px; border-radius: 999px; color: white; background: rgba(13,10,30,.78); backdrop-filter: blur(10px); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-badge.new { background: rgba(237,70,129,.86); }
.product-badge.sale { background: linear-gradient(135deg, #ff5f7a, #d6265f); }
.quick-add {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: rgba(235,72,129,.96);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: translateY(64px);
  transition: transform .2s ease;
}
.product-card:hover .quick-add { transform: translateY(0); }
.product-info { padding: 14px 2px 0; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted-2); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.product-name { margin: 7px 0 5px; font-size: 15px; font-weight: 750; }
.product-rating { display: flex; align-items: center; gap: 5px; color: var(--gold); font-size: 11px; }
.product-rating span { color: var(--muted-2); }
.product-price { margin-top: 8px; font-size: 14px; font-weight: 800; display: flex; align-items: baseline; gap: 8px; }
.price-was { font-size: 12px; font-weight: 600; color: var(--muted-2); text-decoration: line-through; }
.price-now { color: var(--pink-2); }

.promo-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #21123d, #151027 55%, #251338);
}
.promo-copy { align-self: center; padding: 52px; position: relative; z-index: 2; }
.promo-copy h2 { max-width: 560px; margin: 0; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.045em; line-height: 1.05; }
.promo-copy p { max-width: 560px; margin: 18px 0 26px; color: #c7bed4; line-height: 1.7; }
.promo-art { min-height: 310px; background: linear-gradient(90deg, #17102a 0%, transparent 28%), url('/images/products/cyber-city.jpg') center 27%/cover; }

.site-footer { border-top: 1px solid var(--line-soft); background: #0a0816; }
.footer-grid { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; padding: 54px 0 36px; display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 40px; }
.footer-brand img { width: 190px; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; margin: 0; color: var(--muted-2); font-size: 13px; line-height: 1.65; }
.footer-column h4 { margin: 5px 0 14px; font-size: 13px; }
.footer-column a { display: block; padding: 5px 0; color: var(--muted-2); font-size: 12px; }
.footer-column a:hover { color: white; }
.footer-bottom { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; padding: 20px 0 30px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; color: #676078; font-size: 11px; }

/* Shop / search page */
.shop-searchbar { display: flex; align-items: center; gap: 12px; padding: 28px 0 20px; }
.shop-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
}
.shop-search svg { flex-shrink: 0; width: 16px; height: 16px; }
.shop-search input { flex: 1; border: 0; background: none; color: var(--text); font-size: 14px; outline: none; }
.shop-searchbar .btn { white-space: nowrap; }
.shop-searchbar .text-link { white-space: nowrap; font-size: 13px; }

.trust-strip.compact { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 28px; }
.trust-strip.compact .trust-grid { width: 100%; min-height: auto; padding: 4px 0; }
.trust-strip.compact .trust-item { border-color: var(--line-soft); padding: 16px; }
.trust-strip.compact .trust-item:first-child { border-left: 0; }
.trust-strip.compact .trust-item:last-child { border-right: 0; }

.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding-bottom: 90px; }

.shop-filters { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 20px; height: fit-content; position: sticky; top: 92px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.filter-checkbox { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: var(--muted); cursor: pointer; }
.filter-checkbox span:nth-child(2) { flex: 1; color: var(--text); }
.filter-count { color: var(--muted-2); font-size: 12px; }
.price-range-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted-2); }
#price-range { width: 100%; accent-color: var(--pink); }
.filters-note { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted-2); }

.results-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.results-head h1 { margin: 0 0 4px; font-size: clamp(24px, 3.4vw, 32px); }
.results-head p { margin: 0; color: var(--muted); font-size: 13px; }
.results-controls { display: flex; align-items: center; gap: 10px; }
.results-controls select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 13px;
}
.view-toggle-group { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: var(--panel-strong); color: var(--muted); cursor: pointer; }
.view-toggle-icon svg { width: 16px; height: 16px; }
.view-toggle-icon.active { background: var(--pink); color: white; }

.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  font-size: 12px;
  color: var(--text);
}
.filter-chip button { background: none; border: 0; color: var(--muted-2); cursor: pointer; font-size: 13px; line-height: 1; }

.wishlist-btn {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(13,10,30,.6);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.wishlist-btn svg { width: 16px; height: 16px; }
.wishlist-btn.active { color: var(--pink); }

.product-grid.list-view { grid-template-columns: 1fr; }
.product-grid.list-view .product-card a { display: grid; grid-template-columns: 160px 1fr; gap: 18px; }
.product-grid.list-view .product-media { aspect-ratio: auto; height: 100%; }
.product-grid.list-view .quick-add { transform: none; position: static; margin-top: 10px; display: inline-block; width: fit-content; }

.no-results { padding: 60px 0; text-align: center; color: var(--muted); }

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
  .trust-strip.compact .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Simple content / policy pages */
.legal-page { max-width: 720px; padding: 46px 0 90px; }
.legal-page h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 38px); }
.legal-page .legal-updated { margin: 0 0 30px; color: var(--muted-2); font-size: 12px; }
.legal-page h2 { margin: 34px 0 12px; font-size: 18px; }
.legal-page p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-page ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 2px; }
.legal-page strong { color: var(--text); }
.legal-disclaimer { margin: 0 0 30px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--panel); color: var(--muted-2); font-size: 12px; line-height: 1.6; }

/* Account page */
.account-page { max-width: 720px; padding: 40px 0 90px; }

.account-signin-panel { max-width: 380px; margin: 60px auto; text-align: center; }
.account-signin-panel .logo { width: 200px; margin: 0 auto 24px; }
.account-signin-panel h1 { margin: 0 0 10px; font-size: 26px; }
.account-signin-panel p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.google-signin-btn { width: 100%; gap: 10px; background: linear-gradient(135deg, #4285f4, #3367d6); }
.google-signin-btn:hover { background: linear-gradient(135deg, #5a95f5, #4472dd); }
.account-guest-note { margin-top: 22px; font-size: 12px; color: var(--muted-2); }
.account-guest-note a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 2px; }

.profile-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(239,79,135,.14), rgba(185,152,255,.08));
}
.profile-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pink); }
.profile-avatar.is-default { box-sizing: border-box; object-fit: contain; padding: 19px; background: linear-gradient(145deg, rgba(239,79,135,.22), rgba(185,152,255,.12)); }
.profile-info h1 { margin: 0; font-size: 22px; }
.profile-info p { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
.collector-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(239,79,135,.18); color: var(--pink-2); font-size: 11px; font-weight: 800; }

.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.account-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.account-tile:hover { border-color: rgba(255,255,255,.3); }
.account-tile-icon { font-size: 18px; }
.account-tile span:nth-child(2) { flex: 1; }
.account-tile-arrow { color: var(--muted-2); }
.account-tile.is-coming-soon { cursor: default; opacity: .72; }
.account-tile.is-coming-soon:hover { border-color: var(--line-soft); }
.account-tile-coming-soon { flex: 0 0 auto !important; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.account-liability-note { margin: 0 0 26px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--panel); color: var(--muted-2); font-size: 12px; line-height: 1.6; }

.account-panel-box { padding: 22px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.account-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.account-panel-head h2 { margin: 0; font-size: 16px; }

.order-history-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; color: inherit; text-align: left; cursor: pointer; }
.order-history-item:hover { background: rgba(255,255,255,.025); }
.order-history-item:last-child { border-bottom: 0; }
.order-history-item img { width: 50px; height: 64px; object-fit: cover; border-radius: 6px; }
.order-history-item .meta { flex: 1; }
.order-history-item .meta .name { font-weight: 700; font-size: 13px; }
.order-history-item .meta .variant { color: var(--muted-2); font-size: 11px; margin-top: 2px; }
.order-status { padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.order-status.pending_payment { background: rgba(255,214,90,.16); color: var(--gold); }
.order-status.paid, .order-status.processing { background: rgba(185,152,255,.16); color: var(--lavender); }
.order-status.shipped { background: rgba(128,216,74,.16); color: var(--green); }
.order-status.test, .order-status.test_draft { background: rgba(255,255,255,.1); color: var(--muted-2); }
.order-history-empty { padding: 20px 0; text-align: center; color: var(--muted); font-size: 13px; }

.order-detail-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.order-detail-dialog::backdrop { background: rgba(4,3,12,.78); backdrop-filter: blur(4px); }
.order-detail-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.order-detail-heading { margin: 0 36px 6px 0; font-size: 22px; }
.order-detail-meta { margin-bottom: 20px; color: var(--muted-2); font-size: 12px; }
.order-detail-product { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.order-detail-product img { width: 72px; height: 92px; object-fit: cover; border-radius: 9px; }
.order-detail-product strong { display: block; margin-bottom: 5px; font-size: 14px; }
.order-detail-product small { color: var(--muted-2); }
.order-detail-total { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 800; }
.order-detail-tracking { margin-top: 18px; padding: 14px; border-radius: 10px; background: rgba(185,152,255,.09); color: var(--muted); font-size: 12px; line-height: 1.5; }

.pref-toggle { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 13px; }
.pref-toggle input { width: 40px; height: 22px; accent-color: var(--pink); }

.account-signout-btn { width: 100%; }

@media (max-width: 600px) {
  .account-grid { grid-template-columns: 1fr; }
  .profile-card { flex-direction: column; text-align: center; }
}

/* Product detail */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding-top: 24px; color: var(--muted-2); font-size: 12px; }
.breadcrumb a:hover { color: white; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: clamp(40px, 6vw, 88px); padding: 34px 0 90px; }

/* Room mockup — the single product image view, poster composited onto a real room photo */
.room-mockup {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 9/16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: url('/images/rooms/bedroom-neon.png') center/cover no-repeat;
}
.room-frame {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  border: 3px solid #141318;
  outline: 1px solid rgba(255,255,255,.06);
  outline-offset: -4px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.3);
  transition: width .45s cubic-bezier(.22, 1, .36, 1), height .45s cubic-bezier(.22, 1, .36, 1), top .45s cubic-bezier(.22, 1, .36, 1);
}
.room-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.poster-finish { position: relative; width: 100%; height: 100%; overflow: hidden; }
.poster-finish.matte img { filter: saturate(.96) contrast(.98); transition: filter .3s ease; }
.poster-finish.satin img { filter: saturate(1.08) contrast(1.05); transition: filter .3s ease; }
.poster-finish.satin::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 15%,
    rgba(255,255,255,.05) 38%,
    rgba(255,255,255,.16) 46%,
    rgba(255,255,255,.04) 54%,
    transparent 72%);
  mix-blend-mode: screen;
}
.product-detail .product-info { padding: 18px 0 0; }
.product-collection { color: var(--pink-2); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-detail h1 { margin: 11px 0 9px; font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -.045em; line-height: 1.04; }
.product-detail .price { margin-bottom: 13px; font-size: 24px; font-weight: 800; }
.product-detail .rating { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; color: var(--gold); font-size: 14px; }
.product-detail .rating span { color: var(--muted); font-size: 12px; }
.product-detail .desc { padding-bottom: 23px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 14px; line-height: 1.7; }
.option-group { margin-top: 23px; }
.option-group label.title { display: flex; justify-content: space-between; margin-bottom: 10px; color: #f7f2fb; font-size: 12px; font-weight: 800; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; color: #eee8f4; background: rgba(255,255,255,.025); cursor: pointer; font-size: 12px; transition: border-color .18s ease, background .18s ease; }
.pill:hover { border-color: rgba(255,255,255,.36); }
.pill.selected { border-color: var(--pink); background: rgba(239,79,135,.11); box-shadow: inset 0 0 0 1px rgba(239,79,135,.15); }
.qty-control { display: inline-grid; grid-template-columns: 38px 42px 38px; min-height: 39px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.qty-control button { border: 0; color: white; background: rgba(255,255,255,.035); cursor: pointer; font-size: 17px; }
.qty-control button:hover { background: rgba(255,255,255,.09); }
.qty-control span { display: grid; place-items: center; border-inline: 1px solid var(--line); font-size: 12px; }
.product-actions { display: grid; gap: 10px; margin: 28px 0 22px; }
.product-actions .btn { width: 100%; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line-soft); list-style: none; color: var(--muted); font-size: 12px; }
.feature-list li { display: flex; align-items: center; gap: 9px; }
.feature-list li::before { content: "✓"; display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 10px; }

/* Cart drawer */
#cart-overlay { position: fixed; inset: 0; z-index: 499; display: none; background: rgba(7,5,15,.66); backdrop-filter: blur(3px); }
#cart-overlay.open { display: block; }
#cart-drawer { position: fixed; z-index: 500; top: 0; right: -470px; width: min(440px, 94vw); height: 100dvh; display: flex; flex-direction: column; color: var(--paper-text); background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.32); transition: right .25s ease; }
#cart-drawer.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 24px; border-bottom: 1px solid var(--paper-line); }
.cart-header h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.cart-header button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--paper-text); background: transparent; cursor: pointer; font-size: 25px; }
.cart-header button:hover { background: #f0edf3; }
.cart-items { flex: 0 1 auto; overflow-y: auto; padding: 0 24px; }
.cart-item { position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--paper-line); }
.cart-item img { width: 76px; height: 96px; object-fit: cover; border-radius: 8px; }
.cart-item .meta .name { padding-right: 24px; font-size: 14px; font-weight: 750; }
.cart-item .meta .variant { margin: 4px 0 11px; color: var(--paper-muted); font-size: 11px; }
.cart-item .qty-control { grid-template-columns: 28px 34px 28px; min-height: 30px; border-color: #ded9e4; }
.cart-item .qty-control button { color: var(--paper-text); background: #f2eff5; }
.cart-item .qty-control span { border-color: #ded9e4; }
.cart-item .price { padding-top: 27px; font-size: 13px; font-weight: 800; }
.cart-item .remove { position: absolute; right: -4px; top: 17px; border: 0; color: #8e8797; background: none; cursor: pointer; font-size: 20px; }
.cart-summary { padding: 19px 24px 24px; border-top: 1px solid var(--paper-line); background: white; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 9px; color: var(--paper-muted); font-size: 13px; }
.summary-row.total { margin: 15px 0 18px; padding-top: 15px; border-top: 1px solid var(--paper-line); color: var(--paper-text); font-size: 18px; font-weight: 850; }
.cart-summary .btn { width: 100%; min-height: 48px; }
.cart-checkout-btn { display: flex; align-items: center; justify-content: center; text-align: center; }
.continue-shopping { display: block; padding: 14px 0 4px; text-align: center; color: #514b59; font-size: 12px; }
.empty-cart { padding: 72px 20px; text-align: center; color: var(--paper-muted); font-size: 14px; }

/* Checkout */
.checkout-page .site-header { position: static; }
.checkout-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; padding: 28px 0 76px; }
.checkout-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; color: #8f8798; font-size: 12px; }
.checkout-steps .active { color: var(--pink-dark); font-weight: 800; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(320px, .74fr); gap: 34px; }
.checkout-panel { padding: 0 0 30px; border-bottom: 1px solid var(--paper-line); background: transparent; }
.checkout-panel + .checkout-panel { padding-top: 28px; }
.checkout-panel h3, .order-summary-box h3 { margin: 0 0 18px; font-size: 16px; letter-spacing: -.015em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.form-row.single { grid-template-columns: 1fr; }
.field label { display: block; margin-bottom: 6px; color: var(--paper-muted); font-size: 10px; }
.field input, .field select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #dcd6e1; border-radius: 6px; color: var(--paper-text); background: white; outline: none; font-size: 13px; }
.field input:focus, .field select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(239,79,135,.09); }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin: 2px 0 26px; color: var(--paper-muted); font-size: 11px; }
.checkbox-row input { accent-color: var(--pink); }
.final-sale-box { margin: 18px 0 14px; padding: 16px; border: 1px solid #d9c9d4; border-radius: 12px; background: #fff8fb; color: var(--paper-text); }
.final-sale-box > strong { display: block; margin-bottom: 6px; font-size: 14px; }
.final-sale-box p { margin: 0 0 12px; color: var(--paper-muted); font-size: 12px; line-height: 1.55; }
.final-sale-box a { color: var(--pink-dark); font-weight: 700; text-decoration: underline; }
.final-sale-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.45; cursor: pointer; }
.final-sale-check input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--pink-dark); }
.cart-final-sale { margin: 10px 0 14px; color: var(--muted-2); font-size: 11px; line-height: 1.4; text-align: center; }
.cart-final-sale a { color: var(--pink-2); text-decoration: underline; }
.payment-methods { display: grid; gap: 10px; margin-bottom: 16px; }
.payment-method { position: relative; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: 1px solid #dcd6e1; border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 700; }
.payment-method::before { content: ""; width: 14px; height: 14px; margin-right: 10px; border: 1px solid #a9a1b0; border-radius: 50%; }
.payment-method.selected { border-color: var(--pink); background: #fff8fb; }
.payment-method.selected::before { border: 4px solid var(--pink); }
.payment-method .pm-label { margin-right: auto; }
.pm-badges { display: flex; gap: 5px; }
.pm-badges span { padding: 4px 6px; border: 1px solid #ddd7e2; border-radius: 3px; background: white; font-size: 8px; }
.checkout-panel .btn { width: 100%; min-height: 48px; margin-top: 8px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; color: #88808f; font-size: 10px; }
.order-summary-box { position: sticky; top: 24px; height: fit-content; padding: 24px; border: 1px solid var(--paper-line); border-radius: 10px; background: white; box-shadow: 0 18px 46px rgba(33,24,43,.06); }
.order-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--paper-line); }
.order-line img { width: 56px; height: 72px; object-fit: cover; border-radius: 6px; }
.order-line .meta { align-self: center; font-size: 12px; }
.order-line .meta .name { font-weight: 750; }
.order-line .meta .variant { margin-top: 4px; color: var(--paper-muted); font-size: 10px; }
.order-line .price { align-self: center; font-size: 11px; font-weight: 750; }
.order-summary-box .summary-row:first-of-type { margin-top: 18px; }

/* Confirmation */
.confirmation-page { min-height: 100dvh; background: #0e0b20; }
.confirmation-shell { min-height: calc(100dvh - 76px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(350px, .55fr); }
.confirmation-content { display: grid; place-items: center; padding: 60px 48px; background: radial-gradient(circle at 65% 5%, rgba(87,52,145,.24), transparent 25rem), #0e0b20; }
.confirmation-wrap { width: min(540px, 100%); text-align: center; }
.check-circle { width: 56px; height: 56px; margin: 0 auto 20px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 26px; }
.confirmation-wrap h2 { margin: 0 0 10px; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.04em; }
.confirmation-wrap > p { margin: 0 auto 28px; max-width: 470px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.confirmation-wrap .order-summary-box { position: static; width: 100%; padding: 22px; border-color: var(--line); color: white; background: rgba(255,255,255,.055); box-shadow: none; text-align: left; }
.confirmation-wrap .order-line { border-color: var(--line-soft); }
.confirmation-wrap .order-line .meta .variant, .confirmation-wrap .summary-row { color: var(--muted); }
.confirmation-wrap .summary-row.total { border-color: var(--line-soft); color: white; }
.confirmation-wrap > .btn { width: 100%; margin-top: 20px; }
.confirmation-help { margin-top: 14px; color: var(--muted-2); font-size: 11px; }
.confirmation-help a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.confirmation-art { position: relative; min-height: 600px; background: linear-gradient(90deg, #0e0b20 0%, transparent 22%), url('/images/confirmation-art.jpg') center 32%/cover no-repeat; }
.confirmation-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,11,32,.75), transparent 40%); }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 200px 1fr auto; }
  .main-nav { gap: 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3) { border-left: 1px solid var(--line-soft); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .collection-card:first-child { grid-column: auto; grid-row: auto; }
  .product-detail { grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: 34px; }
  .confirmation-shell { grid-template-columns: 1fr .55fr; }
}

@media (max-width: 820px) {
  .header-inner { width: min(100% - 30px, var(--max-width)); min-height: 68px; grid-template-columns: 1fr auto; }
  .brand-logo { width: 174px; }
  .main-nav { display: none; }
  .header-icons .search-button, .header-icons .account-button { display: none; }
  .menu-button { display: grid; }
  .shop-searchbar { flex-wrap: wrap; }
  .shop-search { flex-basis: 100%; order: 1; }
  .shop-searchbar .btn { order: 2; }
  .shop-searchbar .text-link { order: 3; }
  .results-head { flex-direction: column; align-items: stretch; }
  .results-controls { justify-content: space-between; }
  .results-controls select { flex: 1; }
  .promo-banner { grid-template-columns: 1fr; }
  .promo-art { min-height: 270px; }
  .promo-copy { padding: 38px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { max-width: 660px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary-box { position: static; order: -1; }
  .confirmation-shell { grid-template-columns: 1fr; }
  .confirmation-art { min-height: 520px; order: -1; background-position: center 22%; }
  .confirmation-content { padding: 52px 24px 72px; }
}

@media (max-width: 600px) {
  .container, .trust-grid, .footer-grid, .footer-bottom, .checkout-wrap { width: min(100% - 30px, var(--max-width)); }
  .age-gate-modal { padding: 28px 22px; }
  .age-gate-actions { grid-template-columns: 1fr; }
  .hero-arrow { width: 34px; height: 34px; font-size: 12px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:first-child, .trust-item:nth-child(3) { justify-content: flex-start; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .trust-item:last-child { border-bottom: 0; }
  .store-section { padding: 58px 0; }
  .section-title { align-items: start; flex-direction: column; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card:first-child { grid-column: auto; min-height: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-media { border-radius: 9px; }
  .quick-add { display: none; }
  .product-name { font-size: 13px; }
  .product-meta { display: none; }
  .promo-copy { padding: 34px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .room-mockup { max-width: 100%; }
  .product-detail { padding-bottom: 62px; }
  .feature-list { grid-template-columns: 1fr; }
  .form-row, .form-row[style] { grid-template-columns: 1fr !important; }
  .checkout-wrap { padding-top: 20px; }
  .checkout-steps { overflow-x: auto; white-space: nowrap; }
  .order-summary-box { padding: 18px; }
  .confirmation-art { min-height: 430px; }
  .trust-strip.compact .trust-grid { grid-template-columns: 1fr; }
  .trust-strip.compact .trust-item { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .trust-strip.compact .trust-item:last-child { border-bottom: 0; }
  .product-grid.list-view .product-card a { grid-template-columns: 1fr; }
  .product-grid.list-view .product-media { aspect-ratio: 3/4; height: auto; }
  .active-chips { gap: 6px; }
  .filter-chip { font-size: 11px; }
}
