/* =============================================================
   PURPLESHROOMS — SHARED DESIGN SYSTEM
   This file is loaded by EVERY page. Edit colors/fonts/spacing
   ONCE here and it updates the whole site.
   ============================================================= */

/* -------------------------------------------------------------
   1. FONT — Etna (your uploaded file)
   ------------------------------------------------------------- */
@font-face {
  font-family: 'Etna';
  src: url('../assets/fonts/etna-free-font.otf') format('opentype');
  font-weight: 400 800; /* covers regular through bold in one file */
  font-display: swap;
}

/* -------------------------------------------------------------
   2. DESIGN TOKENS — every color/size used across the site lives
   here. Change a value once, it updates everywhere it's used.
   ------------------------------------------------------------- */
:root {
  /* base */
  --color-bg: #000000;
  --color-text: #f5f5f5;
  --color-text-dim: #b3b3b3;

  /* per-page accent colors (active nav pill + page highlight) */
  --accent-products:   #6B21A8; /* purple — Products / PDP */
  --accent-products-fill: #A569BD; /* card fill purple from your mockups */
  --accent-sizeguide:  #4B2FED; /* blue — Size Guide */
  --accent-policy:     #C9A227; /* gold/mustard — Policy */
  --accent-aboutus:    #7A7A7A; /* grey — About Us */
  --accent-bag:        #000000; /* black — Bag (bordered, see .nav-item--bag) */

  /* layout */
  --nav-height: 96px;
  --page-margin: 24px;
  --divider-blur: 16px;

  /* type scale */
  --font-display: 'Etna', 'Arial Black', sans-serif;
  --fs-nav: 26px;
  --fs-h1: 48px;
  --fs-h2: 32px;
  --fs-body: 16px;

  /* z-index map — keep every layer's stacking order in one place */
  --z-bg: 0;
  --z-content: 10;
  --z-chrome: 20;   /* logo + nav */
  --z-overlay: 30;  /* popup, modals */
}

/* -------------------------------------------------------------
   3. RESET
   ------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Load-bearing: any element with [hidden] must truly disappear, even if a
   class rule sets display:flex/block on it (e.g. .popup-overlay). */
[hidden] { display: none !important; }

html {
  overflow-x: hidden; /* on html only — body overflow-x hidden can break position:fixed on iOS Safari */
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-display);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* visible keyboard focus everywhere — accessibility floor */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* -------------------------------------------------------------
   4. PAGE SHELL
   Every inner page (non-home) wraps its content in <main class="page">
   so it sits correctly between the top logo and bottom nav.
   ------------------------------------------------------------- */
.page {
  position: relative;
  z-index: var(--z-content);
  min-height: 100vh;
  padding-top: 140px;          /* clears the centered top logo on inner pages */
  padding-bottom: calc(var(--nav-height) + 24px); /* clears bottom nav */
  padding-left: var(--page-margin);
  padding-right: var(--page-margin);
}

/* -------------------------------------------------------------
   5. LOGO
   Home: top-right, large, sits over the art.
   Inner pages: top-center, smaller, acts as the page header.
   Always a link back to Home (nav.js sets href="index.html").
   ------------------------------------------------------------- */
.site-logo {
  position: fixed;
  z-index: var(--z-chrome);
  display: block;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.site-logo:hover { opacity: 0.85; }
.site-logo img { display: block; height: auto; }

.site-logo--home {
  top: 16px;
  right: 24px;
}
.site-logo--home img { width: 200px; }

.site-logo--inner {
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
}
.site-logo--inner img { width: 160px; }

/* Scroll-hide states — conventional: hide on scroll down, show on scroll up */
.site-logo--home.nav-scroll-hidden  { transform: translateY(-120px); }
.site-logo--inner.nav-scroll-hidden { transform: translateX(-50%) translateY(-120px); }
.site-nav.nav-scroll-hidden         { transform: translateY(100%); transition: transform 0.25s ease; }

@media (max-width: 600px) {
  .site-logo--home img { width: 140px; }
  .site-logo--inner img { width: 120px; }
}

/* -------------------------------------------------------------
   5b. SITE ANNOUNCEMENT BANNER (all pages, optional)
   ------------------------------------------------------------- */
.site-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-chrome) + 1);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.site-banner__text { color: inherit; text-decoration: none; }
.site-banner__text:hover { text-decoration: underline; }

/* Offset fixed chrome elements when banner is active */
body.has-banner .site-logo--home   { top: 52px; }   /* 16 + 36 */
body.has-banner .site-logo--inner  { top: 60px; }   /* 24 + 36 */
body.has-banner .home-announce     { top: 56px; }   /* 20 + 36 */

/* -------------------------------------------------------------
   6. TOP-LEFT ANNOUNCEMENT / COUNTDOWN (Home only)
   ------------------------------------------------------------- */
.home-announce {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: var(--z-chrome);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-announce__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.home-announce__countdown {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  gap: 8px;
}
.home-announce__countdown span {
  color: var(--accent-products-fill);
}

@media (max-width: 600px) {
  .home-announce { top: 14px; left: 14px; }
  .home-announce__countdown { font-size: 16px; gap: 5px; }
  .home-announce__label { font-size: 10px; }
}

/* -------------------------------------------------------------
   7. BACKGROUND (Home only — motion webp/mp4 layer)
   ------------------------------------------------------------- */
.home-bg,
.home-bg-fallback {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Temporary stand-in until the real animated background file is added.
   See index.html for the swap instructions. */
.home-bg-fallback {
  background:
    radial-gradient(circle at 50% 38%, rgba(255,120,60,0.35), transparent 32%),
    radial-gradient(circle at 50% 38%, rgba(80,90,255,0.25), transparent 55%),
    #000000;
}

/* -------------------------------------------------------------
   8. NAV — bottom bar, shared across all pages, injected by nav.js
   ------------------------------------------------------------- */
.site-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-chrome);
  height: var(--nav-height);
  transition: transform 0.25s ease;
}

/* .nav-divider removed — was covering content with no functional purpose */

.nav-list {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
  background: #000000;
}

/* <li> are the actual flex items — they must each claim equal space */
.nav-list > li {
  flex: 1;
  display: flex;
}

.nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-nav);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
}

.nav-item.active {
  border-radius: 18px 18px 0 0;
  margin-top: -14px;     /* the active tab "sticks up" above the row, matching your mockups */
  height: calc(100% + 14px);
}

/* Bag's active state is black-on-black per your call — give it a border so it's still legible */
.nav-item--bag.active {
  border: 1px solid rgba(255,255,255,0.4);
  border-bottom: none;
}

.bag-count {
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* hamburger — hidden on desktop, shown on mobile */
.nav-hamburger {
  display: none;
  position: absolute;
  bottom: calc(100% + 14px);
  right: 16px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: var(--z-chrome);
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-hamburger { display: flex; }

  .nav-list {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-list.open {
    max-height: 70vh;
  }
  /* Stack vertically: each li should not stretch, just flow */
  .nav-list > li {
    flex: none;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-item {
    height: 64px;
    width: 100%;
    font-size: 20px;
    border-top: none;
  }
  .nav-item.active {
    margin-top: 0;
    height: 64px;
    border-radius: 0;
  }
  .site-nav { height: auto; }
  /* reserve space at the bottom of page content so the collapsed bar doesn't overlap */
  .site-nav::after {
    content: '';
    display: block;
    height: 64px;
  }
}

/* -------------------------------------------------------------
   9. EMAIL SIGNUP POPUP (Home only)
   ------------------------------------------------------------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.popup {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 26px;
  color: var(--color-text-dim);
  line-height: 1;
}
.popup__close:hover { color: var(--color-text); }

.popup h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.popup__copy {
  font-size: 14px;
  color: var(--color-text-dim);
  margin-bottom: 22px;
  line-height: 1.5;
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup__form input {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--color-text);
  font-size: 15px;
}

.popup__form button {
  background: var(--accent-products);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 13px;
  font-size: 14px;
}
.popup__form button:hover { opacity: 0.9; }

.popup__success {
  font-size: 15px;
  padding: 10px 0;
}

/* =============================================================
   10. PRODUCTS PAGE (products.html)
   Two-column layout: left rail (editions) + right panel (grid).
   Both columns scroll independently.
   ============================================================= */

.page--products {
  /* Override .page defaults for the split-scroll layout */
  min-height: unset;
  height: 100vh;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: var(--nav-height);
  display: flex;
  overflow: hidden;
}

/* ---- LEFT RAIL — edition cards ---- */
.editions-rail {
  width: 96px;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 8px 12px 24px;
  border-right: 2px solid rgba(255,255,255,0.05);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}

/* Image-based edition cards — label overlay on cover photo */
.edition-card {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 2px solid rgba(255,255,255,0.08);
  background: #111;
  aspect-ratio: 0.91;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  user-select: none;
}

.edition-card:not(.edition-card--locked) {
  cursor: pointer;
}

.edition-card:not(.edition-card--locked):hover {
  border-color: rgba(107,33,168,0.55);
  box-shadow: 0 0 20px rgba(107,33,168,0.2);
  transform: translateY(-2px);
}

.edition-card--active {
  border-color: var(--accent-products) !important;
  box-shadow: 0 0 0 3px rgba(107,33,168,0.4), 0 0 24px rgba(107,33,168,0.35) !important;
}

.edition-card--locked {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

/* Cover image fills the entire card */
.edition-card__img-wrap {
  position: absolute;
  inset: 0;
}
.edition-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.edition-card__img-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c1c2e 0%, #0d0d0d 100%);
}

/* Label strip at the bottom of the card */
.edition-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 7px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

.edition-card__drop {
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
}

.edition-card__name {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edition-card__soon {
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.edition-card__soon--drop {
  color: #f39c12;
}

/* ---- RIGHT PANEL — product grid ---- */
.products-panel {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
  padding: 8px 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
  position: relative; /* anchor for hover panel overlay */
}

.products-panel.panel--preview {
  overflow: hidden; /* freeze scroll while hover panel is visible */
}

/* Edition hover preview panel — overlays the grid on rail card hover (desktop) */
.edition-hover-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #0a0a0a;
  z-index: 5;
}

.ehp-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 48px 44px;
}

.ehp-right {
  width: 260px;
  flex-shrink: 0;
  overflow: hidden;
}

.ehp-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ehp-right-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c1c2e 0%, #0d0d0d 100%);
}

.ehp-drop {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.ehp-name {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text);
}

.ehp-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  width: fit-content;
}

.ehp-status--live {
  background: rgba(107,33,168,0.18);
  border: 1px solid var(--accent-products);
  color: var(--accent-products-fill);
}

.ehp-status--coming,
.ehp-status--sold {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-text-dim);
}

.ehp-status--dropping {
  background: rgba(243,156,18,0.12);
  border: 1px solid rgba(243,156,18,0.4);
  color: #f39c12;
}

.ehp-blurb {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-dim);
  max-width: 420px;
}

.ehp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ehp-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.ehp-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

.products-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 16px;       /* room for the scrollbar */
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}

.products-grid::-webkit-scrollbar        { height: 4px; }
.products-grid::-webkit-scrollbar-track  { background: transparent; }
.products-grid::-webkit-scrollbar-thumb  { background: rgba(255,255,255,0.15); border-radius: 2px; }

.product-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--color-text);
  transition: border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: start;
}

.product-card:hover {
  border-color: rgba(107,33,168,0.5);
  transform: translateY(-2px);
}

.product-card__img-wrap {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card__img--a,
.product-card__img--b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.product-card__img--b { opacity: 0; }

.product-card__sold-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.72);
  padding: 14px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  pointer-events: none;
}

.product-card__drop-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

.product-card.dropping-soon .product-card__img--a,
.product-card.dropping-soon .product-card__img--b {
  opacity: 0.15;
}

.product-card.dropping-soon {
  cursor: default;
}

.product-card.dropping-soon:hover {
  border-color: rgba(255,255,255,0.06);
  transform: none;
}

.product-card--sold {
  cursor: default;
  pointer-events: none;
}

.product-card--sold:hover {
  border-color: rgba(255,255,255,0.06);
  transform: none;
}

.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
}

.product-card__info {
  padding: 10px 12px 14px;
}

.product-card__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.product-card__price--current {
  font-size: 14px;
  font-weight: 700;
}

.product-card__price--compare {
  font-size: 11px;
  color: var(--color-text-dim);
  text-decoration: line-through;
}

.products-loading,
.products-empty {
  width: 100%;        /* spans the full flex container width */
  flex-shrink: 0;
  text-align: center;
  color: var(--color-text-dim);
  padding: 48px 0;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ---- Mobile: horizontal card strip + stacked grid ---- */
@media (max-width: 768px) {
  .page--products {
    height: unset;
    min-height: unset;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .editions-rail {
    width: 100%;
    height: auto;
    overflow-y: visible;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 8px 16px 14px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    scrollbar-width: none;
  }
  .editions-rail::-webkit-scrollbar { display: none; }

  .edition-card {
    flex-shrink: 0;
    width: 90px;
    aspect-ratio: 0.91;
    margin-bottom: 0;
  }

  .edition-card__soon { display: none; }
  .edition-hover-panel { display: none !important; } /* touch devices skip hover */

  .products-panel {
    overflow: visible;
    height: unset;
    padding: 12px 14px calc(var(--nav-height) + 16px);
  }
}

@media (max-width: 400px) {
  /* Narrower cards so ~1.5 are visible on small phones, hinting at scroll */
  .product-card { width: 160px; }
}

/* =============================================================
   11. PRODUCT DETAIL PAGE (product.html)
   ============================================================= */


.pdp-back {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 28px;
  transition: color 0.15s;
}
.pdp-back:hover { color: var(--color-text); }

.pdp-loading, .pdp-error {
  color: var(--color-text-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 48px 0;
  text-align: center;
}
.pdp-error { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.pdp-error a { color: var(--accent-products-fill); text-decoration: underline; }

/* ---- Two-column grid: media | info ---- */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

/* ---- Media area: thumb rail + main image ---- */
.pdp-media {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* Vertical thumbnail rail */
.pdp-thumb-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 68px;
  flex-shrink: 0;
}

.pdp-thumb-arrow {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.pdp-thumb-arrow:hover { background: rgba(255,255,255,0.07); }

.pdp-thumb-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  /* clips at 4 visible thumbs; JS arrow buttons scroll */
  max-height: calc(4 * 68px + 3 * 6px);
  scroll-behavior: smooth;
}

.pdp-thumb {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #111;
  padding: 0;
  transition: border-color 0.18s;
}
.pdp-thumb--active { border-color: var(--accent-products); }
.pdp-thumb:not(.pdp-thumb--active):hover { border-color: rgba(255,255,255,0.2); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Main image */
.pdp-main-wrap {
  flex: 1;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  aspect-ratio: 3 / 4;
  max-height: calc(100vh - 200px);
}
.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pdp-img-placeholder { background: #1a1a1a; }

/* ---- Info panel ---- */
.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 24px;
}

.pdp-edition {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.pdp-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pdp-price-current {
  font-size: 22px;
  font-weight: 700;
}
.pdp-price-compare {
  font-size: 14px;
  color: var(--color-text-dim);
  text-decoration: line-through;
}

.pdp-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

/* Color selector */
.pdp-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-color-btn {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: border-color 0.18s;
}
.pdp-color-btn:hover { border-color: rgba(255,255,255,0.25); }
.pdp-color-btn--active { border-color: var(--accent-products); }
.tee-svg { width: 30px; height: 26px; display: block; }

/* Size selector */
.pdp-size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* shake animation when user clicks ATB without selecting a size */
@keyframes nudge {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  60%      { transform: translateX(5px); }
}
.pdp-size-row--nudge { animation: nudge 0.4s ease; }

.pdp-size-btn {
  position: relative;
  min-width: 50px;
  height: 50px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #111;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  transition: border-color 0.18s, background 0.18s;
  overflow: hidden;
}
.pdp-size-btn:not(.pdp-size-btn--soldout):not(.pdp-size-btn--active):hover {
  border-color: rgba(255,255,255,0.35);
}
.pdp-size-btn--active {
  border-color: var(--accent-products) !important;
  background: rgba(107,33,168,0.2) !important;
}

/* Sold-out: dimmed + diagonal strikethrough line */
.pdp-size-btn--soldout {
  opacity: 0.35;
  cursor: not-allowed;
  color: var(--color-text-dim);
}
.pdp-size-btn--soldout::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 0.6px),
    rgba(255,255,255,0.4) calc(50% - 0.6px),
    rgba(255,255,255,0.4) calc(50% + 0.6px),
    transparent calc(50% + 0.6px)
  );
  pointer-events: none;
}

.pdp-size-hint {
  font-size: 11px;
  color: var(--accent-products-fill);
  letter-spacing: 0.06em;
}

.pdp-atb {
  width: 100%;
  padding: 17px;
  background: var(--accent-products);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: opacity 0.18s, transform 0.1s;
}
.pdp-atb:hover  { opacity: 0.88; }
.pdp-atb:active { transform: scale(0.985); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pdp-layout { grid-template-columns: 1fr 340px; gap: 32px; }
}

@media (max-width: 900px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 28px; }
  .pdp-info   { position: static; }
}

@media (max-width: 600px) {
  /* Stack media vertically: main image on top, thumb strip below */
  .pdp-media { flex-direction: column; gap: 10px; }

  .pdp-thumb-col {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .pdp-thumb-col::-webkit-scrollbar { display: none; }

  .pdp-thumb-track {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .pdp-thumb-track::-webkit-scrollbar { display: none; }

  /* Hide arrow buttons on mobile (natural horizontal scroll) */
  .pdp-thumb-arrow { display: none !important; }

  .pdp-thumb { width: 56px; height: 56px; }
  .pdp-main-wrap { aspect-ratio: 1; }
  .pdp-name { font-size: 22px; }
}

/* =============================================================
   12. BAG PAGE (bag.html)
   Two states: empty and has-items. Form only rendered when
   has-items — enforced by [hidden] on #bagLayout.
   ============================================================= */

.page--bag {
  /* standard .page padding — normal document scroll */
}

/* ---- Empty state ---- */
.bag-empty {
  min-height: calc(100vh - 140px - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.bag-empty__msg {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--color-text-dim);
}

.bag-empty__cta {
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.18s, background 0.18s;
}
.bag-empty__cta:hover {
  border-color: var(--accent-products);
  background: rgba(107,33,168,0.1);
}

/* ---- Has-items layout: items | sidebar ---- */
.bag-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.bag-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bag-count-tag {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-dim);
  letter-spacing: 0.08em;
}

/* ---- Item cards ---- */
.bag-item-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bag-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.bag-item__img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}
.bag-item__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bag-item__img-ph  { width: 100%; height: 100%; background: #1a1a1a; }

.bag-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bag-item__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bag-item__meta {
  font-size: 11px;
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
}

.bag-item__line-price {
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

.bag-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  width: fit-content;
  overflow: hidden;
}

.bag-qty__btn {
  width: 34px;
  height: 34px;
  font-size: 16px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.bag-qty__btn:hover { background: rgba(255,255,255,0.08); }

.bag-qty__val {
  width: 34px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  line-height: 34px;
}

.bag-item__remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  margin-top: 2px;
}
.bag-item__remove:hover {
  background: rgba(255,255,255,0.08);
  color: var(--color-text);
}

/* ---- Order summary ---- */
.bag-summary {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.bag-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bag-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.bag-summary-row span:first-child {
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.bag-summary-tbd {
  font-size: 11px;
  color: var(--color-text-dim);
  font-style: italic;
}

.bag-summary-row--total {
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 4px;
  font-weight: 700;
  font-size: 15px;
}
.bag-summary-row--total span:first-child {
  font-size: 13px;
  color: var(--color-text);
  font-weight: 700;
}

/* ---- Checkout form ---- */
.bag-form {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bag-form__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bag-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bag-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bag-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.bag-label--opt {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 8px;
}

.bag-input {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 13px;
  transition: border-color 0.15s;
  width: 100%;
}
.bag-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.35);
}
.bag-input::placeholder { color: rgba(255,255,255,0.2); }

.bag-submit {
  width: 100%;
  padding: 15px;
  background: var(--accent-products);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9px;
  margin-top: 4px;
  transition: opacity 0.18s;
}
.bag-submit:hover    { opacity: 0.88; }
.bag-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.bag-form__note {
  font-size: 10px;
  color: var(--color-text-dim);
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .bag-layout { grid-template-columns: 1fr 320px; gap: 28px; }
}

@media (max-width: 768px) {
  .bag-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bag-empty__msg { font-size: 20px; }
}

@media (max-width: 480px) {
  .bag-item__img  { width: 64px; height: 64px; }
  .bag-field-row  { grid-template-columns: 1fr; }
}

.bag-checkout-error {
  font-size: 11px;
  color: #ff6b6b;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-top: 4px;
}

.bag-location-btn {
  width: 100%;
  padding: 10px 16px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 7px;
  color: var(--color-text-dim);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.bag-location-btn:hover { border-color: rgba(255,255,255,0.4); color: var(--color-text); }
.bag-location-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.bag-location-status {
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-top: 4px;
}

/* =============================================================
   13. SUCCESS / FAIL CONFIRMATION PAGES
   ============================================================= */

.page--confirm {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px var(--page-margin);
}

.order-confirm {
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.order-confirm__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.order-confirm__icon--success {
  background: rgba(107, 33, 168, 0.15);
  border: 2px solid var(--accent-products);
  color: var(--accent-products);
}

.order-confirm__icon--fail {
  background: rgba(255, 80, 80, 0.1);
  border: 2px solid #ff5050;
  color: #ff5050;
}

.order-confirm__heading {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-confirm__sub {
  font-size: 13px;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}

.order-confirm__steps {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-dim);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-confirm__steps p { color: var(--color-text); }

.order-confirm__steps ol,
.order-confirm__steps ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-confirm__btn {
  padding: 14px 36px;
  background: var(--accent-products);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 9px;
  transition: opacity 0.18s;
  margin-top: 4px;
}
.order-confirm__btn:hover { opacity: 0.88; }

/* =============================================================
   14. SIZE GUIDE PAGE (size-guide.html)
   ============================================================= */

.page--sizeguide {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Header row ---- */
.sg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.sg-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- IN / CM toggle ---- */
.sg-unit-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  overflow: hidden;
}

.sg-unit-btn {
  padding: 7px 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.sg-unit-btn--active {
  background: var(--accent-sizeguide);
  color: #fff;
}

.sg-unit-btn:not(.sg-unit-btn--active):hover {
  background: rgba(75, 47, 237, 0.15);
  color: var(--color-text);
}

/* ---- Garment carousel ---- */
.sg-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 32px;
}
.sg-carousel::-webkit-scrollbar { display: none; }

.sg-carousel-item {
  flex-shrink: 0;
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.sg-carousel-item:not([disabled]):hover {
  border-color: var(--accent-sizeguide);
  color: var(--color-text);
}

.sg-carousel-item--active {
  background: var(--accent-sizeguide);
  border-color: var(--accent-sizeguide);
  color: #fff;
}

.sg-carousel-item--locked {
  opacity: 0.4;
  cursor: default;
}

.sg-soon-tag {
  font-size: 8px;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 2px 5px;
}

/* ---- Table ---- */
.sg-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}

.sg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 440px;
}

.sg-th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--color-text-dim);
}

.sg-th--label {
  text-align: left;
  color: var(--color-text);
  min-width: 160px;
}

.sg-td {
  padding: 14px 18px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--color-text);
  transition: background 0.1s;
}

.sg-table tbody tr:last-child .sg-td { border-bottom: none; }
.sg-table tbody tr:hover .sg-td { background: rgba(255,255,255,0.025); }

.sg-td--label {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.sg-unit-hint {
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.25);
  margin-left: 4px;
}

/* ---- Coming soon panel ---- */
.sg-coming-soon {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 64px 24px;
  text-align: center;
}

.sg-coming-soon__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text-dim);
  margin-bottom: 10px;
}

.sg-coming-soon__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.03em;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .sg-th, .sg-td { padding: 11px 12px; }
  .sg-th--label, .sg-td--label { min-width: 110px; }
  .sg-header { margin-bottom: 24px; }
}

/* =============================================================
   15. POLICY PAGE (policy.html)
   Left pill nav + right swappable content panel. No page reload.
   ============================================================= */

.page--policy {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

/* ---- Left pill navigation ---- */
.policy-nav {
  position: sticky;
  top: 160px;
}

.policy-nav__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.policy-pill-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.policy-pill {
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.policy-pill:hover:not(.policy-pill--active) {
  background: rgba(201, 162, 39, 0.07);
  color: var(--color-text);
  border-color: rgba(201, 162, 39, 0.2);
}

.policy-pill--active {
  background: var(--accent-policy);
  color: #000;
  border-color: var(--accent-policy);
}

/* ---- Right panel ---- */
.policy-panel { min-height: 300px; }

.policy-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--accent-policy);
}

/* ---- Policy body (rendered HTML) ---- */
.policy-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-dim);
}

.policy-body .policy-intro {
  font-size: 19px;
  color: var(--color-text);
  line-height: 1.65;
}

.policy-body h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: 12px;
}

.policy-body h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: 8px;
}

.policy-body h4 { font-size: 13px; font-weight: 700; color: var(--color-text); }

.policy-body ul,
.policy-body ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-body a {
  color: var(--accent-policy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-body strong { color: var(--color-text); }

/* FAQ items */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item--last { border-bottom: none; }
.faq-q { font-size: 13px; font-weight: 700; color: var(--color-text); letter-spacing: 0.02em; }
.faq-a { font-size: 13px; color: var(--color-text-dim); line-height: 1.65; }

/* ---- Contact section ---- */
.contact-block { display: flex; flex-direction: column; gap: 28px; }

.contact-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }

.contact-info__row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 13px;
  flex-wrap: wrap;
}

.contact-info__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  min-width: 120px;
  flex-shrink: 0;
}

.contact-info__val { color: var(--color-text); letter-spacing: 0.02em; }

a.contact-info__val {
  color: var(--accent-policy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form__field { display: flex; flex-direction: column; }

.contact-input {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 13px;
  transition: border-color 0.15s;
  width: 100%;
  resize: none;
}

.contact-input:focus { outline: none; border-color: rgba(201,162,39,0.5); }
.contact-input::placeholder { color: rgba(255,255,255,0.2); }
.contact-textarea { resize: vertical; min-height: 140px; }

.contact-submit {
  width: 100%;
  padding: 15px;
  background: var(--color-text);
  color: #000;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 9px;
  transition: opacity 0.18s;
  margin-top: 4px;
}

.contact-submit:hover    { opacity: 0.88; }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.contact-form__success {
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.5;
  padding: 20px;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .page--policy { grid-template-columns: 1fr; gap: 0; }

  .policy-nav { position: static; margin-bottom: 28px; }

  .policy-pill-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }

  .policy-pill { width: auto; padding: 8px 14px; font-size: 10px; }

  .contact-info__label { min-width: 90px; }
}

@media (max-width: 480px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-info__row { flex-direction: column; gap: 2px; }
}

/* =============================================================
   16. ABOUT US PAGE (about.html)
   Fixed hero art at low opacity; single-column text content.
   ============================================================= */

/* ---- Background art (fixed behind all content) ---- */
.about-art {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72vmin;
  height: 72vmin;
  object-fit: contain;
  opacity: 0.11;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ---- Page layout ---- */
.page--about {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 120px;
  padding-bottom: 160px;
}

.about-content {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ---- Hero ---- */
.about-hero { display: flex; flex-direction: column; gap: 8px; }

.about-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-aboutus);
  text-transform: uppercase;
}

.about-brand {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

/* ---- Sections (static markup) ---- */
.about-section { display: flex; flex-direction: column; gap: 16px; }

.about-section__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-aboutus);
}

.about-section__body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-dim);
}

.about-section__body em {
  color: var(--color-text);
  font-style: normal;
}

/* ---- Dynamic content (from policy_content, rendered via marked.js) ---- */
.about-dynamic-content { display: flex; flex-direction: column; gap: 16px; }

.about-dynamic-content h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-aboutus);
  margin-top: 16px;
}
.about-dynamic-content h2:first-child { margin-top: 0; }

.about-dynamic-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-dim);
}

.about-dynamic-content em {
  color: var(--color-text);
  font-style: normal;
}

/* ---- Footer / Instagram CTA ---- */
.about-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-footer__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

.about-footer__ig {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-aboutus);
  text-decoration: none;
  transition: color 0.15s;
}

.about-footer__ig:hover { color: var(--color-text); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .page--about { padding-top: 48px; padding-bottom: 120px; }
  .about-content { gap: 48px; }
  .about-art { width: 90vmin; height: 90vmin; opacity: 0.08; }
}
