/* ============================================================
   OLAGO — Maison de Mode
   Design system: warm black, bone, brass. Editorial serif.
   ============================================================ */

:root {
  --bg: #0c0b09;
  --bg-2: #131109;
  --panel: #14120f;
  --ink: #ece7dd;
  --ink-dim: #9b937f;
  --line: rgba(236, 231, 221, 0.14);
  --brass: #c9a35f;
  --brass-dim: rgba(201, 163, 95, 0.35);
  --serif: 'Cormorant Garamond', 'Didot', 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: #0c0b09; }

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

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

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

/* ------------------------------ typography ------------------------------ */

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all 0.45s var(--ease);
  white-space: nowrap;
}

.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--brass); border-color: var(--brass); color: #0c0b09; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 10px 22px; }
.btn-block { width: 100%; }

/* ------------------------------ preloader ------------------------------ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.preloader.done { opacity: 0; visibility: hidden; }

.preloader-mark {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: 0.35em;
  padding-left: 0.35em;
  animation: preloaderIn 1.6s var(--ease) both;
}

.preloader-line { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.preloader-line span { display: block; height: 100%; width: 100%; background: var(--brass); transform: translateX(-100%); animation: preloaderLine 1.6s var(--ease) 0.3s both; }

@keyframes preloaderIn { from { opacity: 0; transform: translateY(24px); letter-spacing: 0.6em; } to { opacity: 1; transform: none; } }
@keyframes preloaderLine { to { transform: none; } }

/* ------------------------------ navigation ------------------------------ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4vw;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(12, 11, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 15px 4vw;
  border-bottom-color: var(--line);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.32em;
  font-weight: 400;
}

.nav-links { display: flex; gap: 38px; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
.nav-cart:hover { border-color: var(--ink); }

.nav-menu-btn {
  display: none;
  width: 44px; height: 40px;
  border: 1px solid var(--line);
  place-items: center;
  gap: 6px;
  flex-direction: column;
}
.nav-menu-btn span {
  display: block;
  width: 18px; height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-menu-btn:hover { border-color: var(--ink); }
body.menu-open .nav-menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav-menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-cart-count {
  min-width: 20px; height: 20px;
  display: grid;
  place-items: center;
  background: var(--brass);
  color: #0c0b09;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  padding: 0 5px;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-cart-label { display: none; }
}

/* ------------------------------ hero ------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg) url('../assets/video/hero-poster.jpg') center / cover no-repeat;
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
  pointer-events: none;
}

.hero-film.is-ready { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, transparent 0%, rgba(12, 11, 9, 0.55) 75%, rgba(12, 11, 9, 0.92) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4.5rem, 17vw, 15rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  padding-left: 0.12em;
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

.hero-title-line { display: inline-block; overflow: hidden; }
.hero-letter { display: inline-block; will-change: transform, opacity; }

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--ink-dim);
  margin-top: 18px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 46px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll-text {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--brass), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ------------------------------ marquee ------------------------------ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-2);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}

.marquee-dot { width: 5px; height: 5px; background: var(--brass); border-radius: 50%; flex: none; }

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

/* ------------------------------ manifesto ------------------------------ */

.manifesto { padding: 16vh 6vw; }

.manifesto-inner { max-width: 1100px; margin: 0 auto; }

.manifesto-lines {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.6vw, 3.9rem);
  line-height: 1.28;
}

.manifesto-line { display: block; }
.manifesto-line em { font-style: italic; color: var(--brass); }

/* ------------------------------ reveal system ------------------------------ */

[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ------------------------------ collection ------------------------------ */

.collection { padding: 8vh 5vw 12vh; }

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

.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.catalog-tools { display: flex; justify-content: flex-end; gap: 10px; margin: -28px 0 22px; }
.catalog-tools input, .catalog-tools select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}
.catalog-tools input { width: min(100%, 280px); }
.catalog-tools select { min-width: 170px; }
.collection-retry { display: block; margin: 20px auto 0; font-style: normal; }
.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;
}

.filter {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 9px 18px;
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

@media (max-width: 680px) {
  .catalog-tools { justify-content: stretch; margin: -30px 0 20px; }
  .catalog-tools input { flex: 1; width: 1px; }
  .catalog-tools select { min-width: 140px; max-width: 46%; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  position: relative;
  background: var(--panel);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.product-card img {
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  filter: saturate(0.92);
}

.product-card:hover img { transform: scale(1.06); filter: saturate(1.05); }

.product-view {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(8, 7, 6, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.product-card:hover .product-view,
.product-card:focus-visible .product-view { opacity: 1; transform: none; }
.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }

.product-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(transparent, rgba(8, 7, 6, 0.92) 62%);
  transform: translateY(12px);
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-info { transform: none; }

.product-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.product-cat {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 5px;
}

.product-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.product-price { font-size: 15px; letter-spacing: 0.06em; }

.product-add {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all 0.35s var(--ease);
}
.product-add:hover { background: var(--brass); border-color: var(--brass); color: #0c0b09; }
.product-add.added { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.product-skeleton {
  background: linear-gradient(110deg, var(--panel) 30%, #1c1913 50%, var(--panel) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
  aspect-ratio: 3 / 4;
}

@keyframes shimmer { to { background-position: -200% 0; } }

.collection-empty { padding: 60px 0; text-align: center; color: var(--ink-dim); font-style: italic; font-family: var(--serif); font-size: 20px; }

/* ------------------------------ lookbook ------------------------------ */

.lookbook { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.lookbook-pin { padding: 10vh 0; overflow: hidden; }

.lookbook-head { padding: 0 5vw 6vh; }

.lookbook-track {
  display: flex;
  gap: 4vw;
  padding: 0 5vw;
  width: max-content;
  align-items: center;
}

.lookbook-panel { width: min(38vw, 460px); flex: none; }

.lookbook-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
}

.lookbook-frame img { transform: scale(1.12); }

.lookbook-panel figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-dim);
}

.lookbook-end {
  width: 42vw;
  flex: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.lookbook-end p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-style: italic;
  color: var(--ink-dim);
}

/* ------------------------------ atelier ------------------------------ */

.atelier { padding: 16vh 5vw; }

.atelier-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8vw;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.atelier-copy { color: var(--ink-dim); font-size: 17px; max-width: 480px; margin: 30px 0 42px; }

.atelier-visual {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--panel, #171613);
}
.atelier-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.atelier-stats { display: grid; gap: 0; border-top: 1px solid var(--line); }

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 34px 6px;
  border-bottom: 1px solid var(--line);
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--brass);
}

.stat-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-dim); }

@media (max-width: 900px) {
  .atelier-grid { grid-template-columns: 1fr; }
}

/* ------------------------------ journal ------------------------------ */

.journal { padding: 18vh 8vw; text-align: center; }

.journal-quote { max-width: 900px; margin: 0 auto; }

.journal-quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.3;
}

.journal-quote cite {
  display: block;
  margin-top: 30px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ------------------------------ footer ------------------------------ */

.footer { border-top: 1px solid var(--line); padding: 9vh 5vw 34px; background: var(--bg-2); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 5vw;
  margin-bottom: 8vh;
}

.footer-logo { font-family: var(--serif); font-size: 30px; letter-spacing: 0.3em; }
.footer-brand p { margin-top: 18px; color: var(--ink-dim); font-size: 14px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 17px; }
.footer-social a { color: var(--ink-dim); font-size: 11px; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .25s, border-color .25s; }
.footer-social a:hover { color: var(--brass); border-color: var(--brass); }

.footer-col h4, .footer-news h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--ink-dim);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--brass); }

.footer-news p { color: var(--ink-dim); font-size: 14px; margin-bottom: 18px; }

.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) auto; }

.newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-right: none;
  color: var(--ink);
  padding: 11px 16px;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter input[type="email"]:focus { border-color: var(--brass); }
.newsletter-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}
.newsletter-consent input { accent-color: var(--brass); margin: 2px 0 0; }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-dim);
}
.footer-base a { letter-spacing: 0.2em; text-transform: uppercase; font-size: 10px; transition: color 0.3s; }
.footer-base a:hover { color: var(--brass); }

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

/* ------------------------------ cart drawer ------------------------------ */

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(5, 4, 3, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.drawer-scrim.open { opacity: 1; }

.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 150;
  width: min(480px, 100vw);
  background: var(--panel);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}
.cart.open { transform: none; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }

.cart-close { font-size: 30px; line-height: 1; color: var(--ink-dim); transition: color 0.3s; }
.cart-close:hover { color: var(--ink); }

.cart-body { flex: 1; overflow-y: auto; padding: 10px 30px; }

.cart-empty { padding: 50px 0; text-align: center; color: var(--ink-dim); font-family: var(--serif); font-style: italic; font-size: 18px; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-item-img { width: 72px; height: 92px; overflow: hidden; border: 1px solid var(--line); }

.cart-item-name { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.cart-item-price { font-size: 13px; color: var(--ink-dim); margin-top: 4px; }

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  border: 1px solid var(--line);
}
.cart-qty button { width: 26px; height: 26px; font-size: 15px; color: var(--ink-dim); transition: color 0.2s; }
.cart-qty button:hover { color: var(--brass); }
.cart-qty span { font-size: 13px; min-width: 16px; text-align: center; }

.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item-total { font-size: 14px; }
.cart-item-remove { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); transition: color 0.3s; }
.cart-item-remove:hover { color: #c0564f; }

.cart-foot { border-top: 1px solid var(--line); padding: 24px 30px 30px; }

.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.cart-subtotal span { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim); }
.cart-subtotal strong { font-family: var(--serif); font-size: 30px; font-weight: 400; }

.cart-note { font-size: 12px; color: var(--brass); margin: 8px 0 22px; }

.checkout h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.field-row { margin-bottom: 12px; }
.field-row-3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }

.checkout input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}
.checkout input:focus { border-color: var(--brass); }

.cart-success {
  position: absolute;
  inset: 0;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 14px;
}

.success-mark { font-family: var(--serif); font-size: 40px; letter-spacing: 0.3em; padding-left: 0.3em; color: var(--brass); }
.cart-success h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.cart-success p { color: var(--ink-dim); font-size: 14px; }
.success-ref { font-family: var(--serif); font-size: 18px; }
.success-ref strong { color: var(--brass); letter-spacing: 0.1em; }
.success-items { width: 100%; max-height: 180px; overflow-y: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.success-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; color: var(--ink-dim); text-align: left; }
.success-item em { font-style: normal; opacity: 0.7; }
.success-item strong { color: var(--ink); font-weight: 500; white-space: nowrap; }
.success-total { display: flex; justify-content: space-between; width: 100%; font-size: 14px; }
.success-total strong { color: var(--brass); font-family: var(--serif); font-size: 18px; }
.cart-success .btn { margin-top: 18px; }

/* ------------------------------ toast ------------------------------ */

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 300;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 14px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------ Lenis smooth scroll ------------------------------ */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ------------------------------ mobile menu ------------------------------ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu[hidden] { display: none; }

.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu-links a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 9vw, 3.4rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 10px 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.mobile-menu.open .mobile-menu-links a { opacity: 1; transform: none; }
.mobile-menu.open .mobile-menu-links a:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.open .mobile-menu-links a:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.open .mobile-menu-links a:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.open .mobile-menu-links a:nth-child(4) { transition-delay: 0.28s; }
.mobile-menu-links a:hover { color: var(--brass); }

.mobile-menu-foot {
  position: absolute;
  bottom: 40px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ------------------------------ product spotlight ------------------------------ */

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.spotlight[hidden] { display: none; }
.spotlight.open { opacity: 1; }

.spotlight-inner {
  position: relative;
  width: min(1180px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  transform: translateY(28px) scale(0.98);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.spotlight.open .spotlight-inner { transform: none; opacity: 1; }

.spotlight-close {
  position: absolute;
  top: 14px; right: 18px;
  z-index: 4;
  font-size: 30px;
  line-height: 1;
  color: var(--ink-dim);
  transition: color 0.3s, transform 0.3s;
}
.spotlight-close:hover { color: var(--ink); transform: rotate(90deg); }

.spot-media { padding: clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }

.spot-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.spot-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.spot-zoom { position: absolute; inset: 0; cursor: zoom-in; overflow: hidden; }
.spot-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); transform-origin: center; }
.spot-zoom.zoom-in { cursor: zoom-out; }
.spot-zoom.zoom-in img { transform: scale(2.3); }

.spot-3d-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--brass);
  padding: 6px 10px;
  pointer-events: none;
}
.spot-view-toggle { position: absolute; bottom: 14px; left: 14px; display: flex; gap: 0; border: 1px solid var(--line); }
.spot-view-toggle button {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  color: var(--ink-dim);
  background: rgba(8,7,6,0.5);
  transition: color 0.3s, background 0.3s;
}
.spot-view-toggle button.is-active { color: var(--bg); background: var(--ink); }

.spot-thumbs { display: flex; gap: 10px; }
.spot-thumb { width: 64px; height: 80px; border: 1px solid var(--line); overflow: hidden; opacity: 0.6; transition: opacity 0.3s, border-color 0.3s; }
.spot-thumb.is-active { opacity: 1; border-color: var(--brass); }

.spot-info { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.spot-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 4px 0 10px; }
.spot-price { font-size: 18px; letter-spacing: 0.06em; color: var(--brass); margin-bottom: 22px; }
.spot-desc { color: var(--ink-dim); font-size: 15px; line-height: 1.7; max-width: 46ch; }
.spot-stock { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 22px 0 16px; }
.spot-stock.in { color: #8a9a5b; }
.spot-stock.low { color: var(--brass); }
.spot-stock.out { color: #c0564f; }

.spot-buy { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.spot-options { display: flex; gap: 12px; width: 100%; }
.spot-option { display: grid; gap: 6px; min-width: 120px; color: var(--ink-dim); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.spot-option select { min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; letter-spacing: normal; text-transform: none; }
.spot-buy .btn-block { flex: 1; }
.spot-buy .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.spot-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.spot-qty button { width: 44px; font-size: 18px; color: var(--ink-dim); transition: color 0.2s; }
.spot-qty button:hover { color: var(--brass); }
.spot-qty span { min-width: 34px; text-align: center; font-size: 14px; }

.spot-shipping { font-size: 12px; color: var(--ink-dim); margin-top: 16px; }
.spot-product-videos { display: grid; gap: 12px; margin-top: 22px; }
.spot-product-videos video { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #100e0b; border: 1px solid var(--line); }

.spot-related-wrap { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.spot-related-title { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 16px; }
.spot-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.spot-related-card { background: var(--panel); aspect-ratio: 3 / 4; position: relative; overflow: hidden; }
.spot-related-card img { transition: transform 1s var(--ease); }
.spot-related-card:hover img { transform: scale(1.07); }
.spot-related-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; font-size: 11px; letter-spacing: 0.05em; background: linear-gradient(transparent, rgba(8,7,6,0.9)); font-family: var(--serif); }

@media (max-width: 820px) {
  .spotlight-inner { grid-template-columns: 1fr; max-height: 94vh; }
  .spot-media { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ------------------------------ reduced motion ------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero-scroll-line { animation: none; }
  .preloader-mark, .preloader-line span { animation: none; }
  [data-reveal] { transition-duration: 0.001ms; }
  .product-card img, .spot-related-card img { transition: none; }
}
