/* ═══════════════════════════════════════════
   RAP HOODIEZ — luxury streetwear storefront
   Off-White-inspired structure · RH brand soul
   ═══════════════════════════════════════════ */

:root,
html[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --surface: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #8a8a8a;
  --text-dim: #5a5a5a;
  --gold: #c9a84c;
  --gold-soft: #e8d5a3;
  --gold-deep: #9a7b2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --danger: #e85d5d;
  --header-bg: rgba(10, 10, 10, 0.92);
  --media-bg: #0d0d0d;
  --hero-bg: #000000;
  --overlay-bg: rgba(0, 0, 0, 0.55);
  --btn-primary-bg: #ffffff;
  --btn-primary-text: #0a0a0a;
  --btn-primary-hover-bg: var(--gold);
  --btn-primary-hover-text: #0a0a0a;
  --chip-active-bg: #ffffff;
  --chip-active-text: #0a0a0a;
  --quick-bg: rgba(255, 255, 255, 0.95);
  --quick-text: #0a0a0a;
  --toast-bg: #ffffff;
  --toast-text: #0a0a0a;
  --input-border: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 1px 0 var(--border);

  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --nav-h: 64px;
  --announce-h: 36px;
  --max: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

/* Light mode — clean fashion day look */
html[data-theme="light"] {
  --bg: #f4f2ee;
  --bg-elevated: #ffffff;
  --bg-card: #ebe8e2;
  --surface: #e4e0d8;
  --text: #0a0a0a;
  --text-muted: #5a5a5a;
  --text-dim: #8a8a8a;
  --gold: #b8942f;
  --gold-soft: #9a7b2e;
  --gold-deep: #7a6220;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --white: #ffffff;
  --danger: #c94444;
  --header-bg: rgba(244, 242, 238, 0.92);
  --media-bg: #e4e0d8;
  --hero-bg: #111111;
  --overlay-bg: rgba(0, 0, 0, 0.4);
  --btn-primary-bg: #0a0a0a;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: var(--gold);
  --btn-primary-hover-text: #0a0a0a;
  --chip-active-bg: #0a0a0a;
  --chip-active-text: #ffffff;
  --quick-bg: rgba(10, 10, 10, 0.92);
  --quick-text: #ffffff;
  --toast-bg: #0a0a0a;
  --toast-text: #ffffff;
  --input-border: rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 1px 0 var(--border);
  color-scheme: light;
}

html {
  transition: color 0.25s ease, background-color 0.25s ease;
}

/* ── Splash intro (gold → slide up to reveal site) ── */
html.intro-pending,
html.intro-pending body {
  overflow: hidden;
  height: 100%;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gold, #c9a84c);
  color: #0a0a0a;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.site-intro.is-leaving {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-intro.is-gone {
  display: none;
}

.site-intro-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: intro-logo-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-intro-logo {
  width: min(168px, 42vw);
  height: auto;
  display: block;
}

.site-intro-foot {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  animation: intro-fade-in 0.45s 0.15s ease both;
}

.site-intro-hint {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
  background: none;
  border: none;
  cursor: pointer;
  animation: intro-hint-pulse 1.6s 0.35s ease-in-out infinite;
}

@keyframes intro-logo-in {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes intro-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-hint-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro {
    display: none !important;
  }

  html.intro-pending,
  html.intro-pending body {
    overflow: auto;
    height: auto;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 13px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body.menu-open,
body.drawer-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ── Utilities ───────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.gold {
  color: var(--gold);
}

/* ── Announcement ────────────────────────── */

.announce {
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
}

.announce span {
  animation: announce-fade 8s ease-in-out infinite;
}

@keyframes announce-fade {
  0%,
  100% {
    opacity: 1;
  }
  45%,
  55% {
    opacity: 0.85;
  }
}

/* ── Header ──────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

/* Theme toggle — small floating FAB, bottom-left */
.theme-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  min-width: 40px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s,
    box-shadow 0.2s;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-toggle-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-width: 2.6em;
}

@media (max-width: 480px) {
  .theme-toggle {
    left: 12px;
    bottom: 12px;
    height: 36px;
    min-width: 36px;
    padding: 0;
  }

  .theme-toggle-label {
    display: none;
  }
}

.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-right {
  justify-content: flex-end;
  gap: 2px;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 12px;
  color: var(--text);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo img,
.nav-logo svg {
  width: 52px;
  height: auto;
}

.nav-logo-word {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.nav-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text);
  transition: color 0.2s;
}

.nav-icon:hover {
  color: var(--gold);
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-count:empty,
.cart-count[data-count="0"] {
  display: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile menu ─────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: calc(var(--announce-h) + var(--nav-h)) 0 0 0;
  background: var(--bg);
  z-index: 85;
  padding: 32px var(--gutter);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}

body.menu-open .mobile-menu {
  transform: translateX(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu-meta {
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 2;
}

/* ── Hero ────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(100vh - var(--announce-h) - var(--nav-h));
  min-height: calc(100dvh - var(--announce-h) - var(--nav-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Stack all slides in the same frame so the rotator can crossfade */
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
  z-index: 0;
}

.hero-media img.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

/* Hero is always dark photography — keep copy light in both themes */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 80px) var(--gutter);
  color: #ffffff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  text-shadow: none;
}

.hero-title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 14ch;
  margin-bottom: 12px;
  color: #ffffff;
}

.hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.06em;
  max-width: 36ch;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-bg);
}

.btn-primary:hover {
  background: var(--btn-primary-hover-bg);
  border-color: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-text);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Primary CTA on dark hero stays high-contrast in light mode too */
.hero .btn-primary {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

.hero .btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-block {
  width: 100%;
}

.hero-dots {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 8vh, 80px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ── Section chrome ──────────────────────── */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) var(--gutter);
}

.section-tight {
  padding-top: clamp(32px, 5vw, 48px);
  padding-bottom: clamp(32px, 5vw, 48px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.section-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Toolbar (Filter & Sort — Off-White style) */

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-count {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill {
  height: 32px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}

.filter-pill:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter-pill.active {
  background: var(--chip-active-bg);
  border-color: var(--chip-active-bg);
  color: var(--chip-active-text);
}

.sort-select {
  appearance: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a8a8a' stroke-width='1.2'/%3E%3C/svg%3E")
    no-repeat right 0 center;
  border: none;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px 8px 0;
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  color: var(--gold);
}

.sort-select option {
  background: var(--bg-elevated);
  color: var(--text);
}

/* ── Product grid ────────────────────────── */
/* Every card = same 3:4 frame; photos fill it the same way */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  flex-shrink: 0;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease-out);
}

.product-media .img-primary {
  opacity: 1;
  z-index: 1;
}

.product-media .img-secondary {
  opacity: 0;
  z-index: 2;
}

.product-card:hover .img-primary {
  opacity: 0;
}

.product-card:hover .img-secondary {
  opacity: 1;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 8px;
  background: var(--gold);
  color: #0a0a0a;
}

.product-quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  height: 40px;
  background: var(--quick-bg);
  color: var(--quick-text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-out);
}

.product-card:hover .product-quick {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 14px 12px 20px;
}

.product-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin-bottom: 6px;
}

.product-price {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.product-price .was {
  text-decoration: line-through;
  margin-right: 8px;
  opacity: 0.5;
}

/* ── Editorial band ──────────────────────── */

.editorial {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 70vh;
  background: var(--hero-bg);
}

.editorial-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}

.editorial:hover .editorial-media img {
  transform: scale(1.04);
}

.editorial-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  background: var(--bg);
  border-left: 1px solid var(--border);
}

.editorial-body .section-label {
  margin-bottom: 16px;
}

.editorial-body h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
}

.editorial-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 28px;
}

.editorial-quote {
  font-size: 13px;
  font-style: italic;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 32px;
}

/* ── Design code (gold color-pop) ─────────── */

.design-code {
  background: var(--gold);
  color: #0a0a0a;
  width: 100%;
}

.design-code-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.design-code-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(10, 10, 10, 0.65);
}

.design-code-headline h2 {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #0a0a0a;
}

.design-code-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.22);
}

.design-code-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.22);
  align-items: start;
}

.design-code-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-top: 3px;
  color: rgba(10, 10, 10, 0.55);
  font-variant-numeric: tabular-nums;
}

.design-code-list h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #0a0a0a;
}

.design-code-list p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.72);
  max-width: 42ch;
  margin: 0;
}

@media (max-width: 800px) {
  .design-code-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .design-code-headline h2 {
    font-size: clamp(44px, 14vw, 64px);
  }
}

/* ── Lookbook grid ───────────────────────── */

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.lookbook-shot {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--media-bg);
  margin: 0;
}

.lookbook-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-out);
}

.lookbook-shot:hover img {
  transform: scale(1.04);
}

/* ── Collections strip ───────────────────── */

.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.collection-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--media-bg);
  cursor: pointer;
}

.collection-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.4s;
}

.collection-tile:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.collection-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  pointer-events: none;
}

.collection-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 24px;
  z-index: 2;
}

.collection-label span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8d5a3;
  margin-bottom: 6px;
}

.collection-label strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* ── Marquee ─────────────────────────────── */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  gap: 0;
}

.marquee-track span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 28px;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "★";
  margin-left: 28px;
  opacity: 0.5;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── About / brand strip ─────────────────── */

.brand-strip {
  text-align: center;
  padding: clamp(64px, 10vw, 120px) var(--gutter);
  max-width: 720px;
  margin: 0 auto;
}

.brand-strip .logo-mark {
  width: 72px;
  margin: 0 auto 28px;
}

.brand-strip h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.brand-strip p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── Newsletter ──────────────────────────── */

.newsletter {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 7vw, 72px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.newsletter h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.newsletter p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-strong);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--text-dim);
}

.newsletter-form button {
  height: 48px;
  padding: 0 24px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.newsletter-form button:hover {
  background: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-text);
}

/* ── Footer ──────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px var(--gutter) 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 28ch;
  margin-top: 16px;
}

.footer-brand img,
.footer-brand svg {
  width: 48px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Cart drawer ─────────────────────────── */

.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--bg-elevated);
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  border-left: 1px solid var(--border);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.drawer-head h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.drawer-close:hover {
  color: var(--text);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: var(--media-bg);
}

.cart-item-info h4 {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-strong);
  width: fit-content;
}

.qty-row button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

.qty-row button:hover {
  color: var(--text);
}

.qty-row span {
  width: 28px;
  text-align: center;
  font-size: 12px;
}

.cart-item-price {
  font-size: 12px;
  text-align: right;
}

.cart-item-remove {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.drawer-foot {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* ── Product modal ───────────────────────── */

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
}

/* Fixed outer shell — never resizes when photos change */
.product-modal-panel {
  position: relative;
  width: min(960px, calc(100vw - 48px));
  height: min(640px, calc(100vh - 48px));
  max-width: 960px;
  max-height: calc(100vh - 48px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.4s var(--ease-out);
}

.product-modal.open .product-modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 22px;
  backdrop-filter: blur(4px);
}

/* Gallery fills left column at a locked size */
.modal-gallery {
  position: relative;
  background: var(--media-bg);
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.modal-gallery-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Every photo shares the same box; only opacity changes */
.modal-gallery-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  pointer-events: none;
  z-index: 0;
  background: #0a0a0a;
}

.modal-gallery-stage img.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.modal-thumbs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.modal-thumbs::-webkit-scrollbar {
  display: none;
}

.modal-thumbs button {
  flex: 0 0 auto;
  width: 48px;
  height: 64px;
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
  background: var(--media-bg);
}

.modal-thumbs button.active,
.modal-thumbs button:hover {
  opacity: 1;
  border-color: var(--gold);
}

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

.modal-details {
  padding: clamp(28px, 4vw, 40px);
  overflow-y: auto;
  min-height: 0;
  height: 100%;
  max-height: none;
}

.modal-details .section-label {
  margin-bottom: 10px;
}

.modal-details h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 12px;
}

.modal-price {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.modal-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.option-group {
  margin-bottom: 22px;
}

.option-group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-options button {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}

.size-options button:hover {
  border-color: var(--text);
}

.size-options button.active {
  background: var(--chip-active-bg);
  border-color: var(--chip-active-bg);
  color: var(--chip-active-text);
}

.size-options button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.modal-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ── Toast ───────────────────────────────── */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--toast-bg);
  color: var(--toast-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-left .nav-link {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .editorial {
    grid-template-columns: 1fr;
  }

  .editorial-media {
    min-height: 50vh;
  }

  .editorial-body {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .newsletter {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-modal {
    padding: 12px;
  }

  .product-modal-panel {
    width: min(960px, calc(100vw - 24px));
    height: min(720px, calc(100vh - 24px));
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 52%) minmax(0, 48%);
    overflow: hidden;
  }

  .modal-gallery {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .modal-details {
    height: 100%;
    max-height: none;
    overflow-y: auto;
  }
}

@media (max-width: 900px) {
  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collections {
    grid-template-columns: 1fr;
  }

  .collection-tile {
    aspect-ratio: 16 / 10;
  }

  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-logo-word {
    display: none;
  }

  .product-quick {
    opacity: 1;
    transform: none;
    position: static;
    width: 100%;
    margin-top: 0;
    height: 36px;
    background: transparent;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
  }

  .product-info {
    padding-bottom: 0;
  }

  .hero-dots {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .filter-pills {
    width: 100%;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
