/* =====================================================
   ÆLORUM — REVERIE DESIGN SYSTEM v2
   Perennial Unisex Luxury
   ===================================================== */

/* 1. RESET + ROOT */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

:root {
  --c-void:       #16121E;
  --c-cream:      #FAF8F4;
  --c-parchment:  #F0EBE0;
  --c-blush:      #D4A9A9;
  --c-mauve:      #B090B0;
  --c-sand:       #C2A078;
  --c-stone:      #8A8490;
  --c-mist:       #E0DCE8;
  --c-border:     rgba(22, 18, 30, 0.09);
  --c-border-md:  rgba(22, 18, 30, 0.18);

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-sans:    'Jost', system-ui, sans-serif;

  --header-h:  68px;
  --max-w:     1440px;
  --pad-x:     clamp(24px, 5vw, 80px);
  --ease-lux:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--c-void);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loading { overflow: hidden; }


/* 2. LAYOUT */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.page-shell {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 120px;
  min-height: 100vh;
}


/* 3. PRELOADER */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.ornament {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(212, 169, 169, 0.18);
  border-radius: 50%;
}

.ornament-inner {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(176, 144, 176, 0.18);
  border-radius: 50%;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.loader-logo {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  color: var(--c-cream);
}

.loader-progress-wrapper {
  width: 120px;
  height: 1px;
  background: rgba(250, 248, 244, 0.10);
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--c-blush);
}


/* 4. HEADER */

.glass-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-lux);
}

.glass-header.scrolled {
  border-bottom-color: var(--c-border);
  background: rgba(250, 248, 244, 0.97);
}

.glass-header.is-hidden {
  transform: translateY(-100%);
}

.header-topline {
  background: var(--c-void);
  color: rgba(250, 248, 244, 0.55);
  padding: 7px 0;
}

.header-topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-topline-left,
.header-topline-right {
  font-family: var(--f-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 40px;
}

.logo a {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.20em;
  color: var(--c-void);
}

.logo .dot { color: var(--c-blush); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-item a {
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--c-stone);
  transition: color 0.2s;
}

.nav-item a:hover,
.nav-item a.is-active {
  color: var(--c-void);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-void);
  font-size: 0.82rem;
  position: relative;
  transition: color 0.2s;
}

.icon-btn:hover { color: var(--c-blush); }

.cart-count {
  position: absolute;
  top: 5px; right: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-blush);
  color: var(--c-cream);
  font-size: 0.56rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.menu-trigger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--c-void);
}

@media (max-width: 768px) {
  .menu-trigger { display: flex; }
  .nav-links { display: none; }
}


/* 5. MOBILE MENU */

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  z-index: 1000;
  background: var(--c-cream);
  overflow-y: auto;
}

.mobile-menu.hidden { display: none; }

.mobile-menu-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

.mobile-menu-logo {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.18em;
}

.mobile-menu-logo .dot { color: var(--c-blush); }
.mobile-menu-close { color: var(--c-void); font-size: 0.85rem; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-menu-link {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-void);
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  display: block;
  transition: color 0.2s, padding-left 0.35s var(--ease-lux);
}

.mobile-menu-link:hover {
  color: var(--c-blush);
  padding-left: 14px;
}

.mobile-menu-quick {
  margin-top: 48px;
  display: flex;
  gap: 20px;
}

.mobile-menu-quick-link {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-stone);
  transition: color 0.2s;
}

.mobile-menu-quick-link:hover { color: var(--c-void); }


/* 6. SEARCH OVERLAY */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(22, 18, 30, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-overlay.hidden { display: none; }

.search-surface {
  width: min(640px, 90vw);
  background: var(--c-cream);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--c-void);
}

.search-input::placeholder { color: var(--c-stone); }
.search-close { color: var(--c-stone); padding: 4px; font-size: 0.85rem; }

.search-results {
  padding: 8px 0;
  max-height: 360px;
  overflow-y: auto;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.15s;
}

.search-item:hover { background: var(--c-parchment); }
.search-item-main { display: flex; flex-direction: column; gap: 4px; }

.search-item-title {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 300;
}

.search-item-meta {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-stone);
}

.search-item-price {
  font-size: 0.82rem;
  color: var(--c-stone);
}

.search-empty,
.search-loading {
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--c-stone);
  font-style: italic;
  font-family: var(--f-display);
}


/* 7. BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid var(--c-void);
  background: transparent;
  color: var(--c-void);
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.38s var(--ease-lux);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-void);
  transform: translateX(-101%);
  transition: transform 0.38s var(--ease-lux);
}

.btn span { position: relative; z-index: 1; }
.btn:hover { color: var(--c-cream); }
.btn:hover::before { transform: translateX(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--c-border-md);
  background: transparent;
  color: var(--c-void);
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--c-void);
  background: var(--c-parchment);
}

.size-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--c-border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.size-btn.active,
.size-btn:hover {
  border-color: var(--c-void);
  background: var(--c-void);
  color: var(--c-cream);
}


/* 8. HERO */

.hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100svh;
  overflow: hidden;
  background: var(--c-cream);
}

.hero-text-col {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-inner {
  width: 100%;
  padding: calc(var(--header-h) + 56px) var(--pad-x) 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-visual-col {
  position: relative;
  overflow: hidden;
}

.hero-visual-frame {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-visual-fill {
  position: absolute;
  inset: 0;
  background: #E4DFD8;
  transition: transform 1.1s var(--ease-lux);
}

.hero-visual-frame:hover .hero-visual-fill {
  transform: scale(1.025);
}

.hero-visual-meta {
  position: absolute;
  bottom: 48px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-visual-name {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(22, 18, 30, 0.60);
  line-height: 1;
}

.hero-visual-label {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(22, 18, 30, 0.38);
}

.hero-visual-corner {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--f-sans);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(22, 18, 30, 0.30);
}

.lux-hero-subtitle {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lux-hero-subtitle span {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-stone);
}

.hero-dot { color: var(--c-blush) !important; }

.lux-hero-title { display: flex; flex-direction: column; }

.hero-line {
  font-family: var(--f-display);
  font-size: clamp(5rem, 13vw, 14rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--c-void);
}

.hero-line--indent { padding-left: clamp(48px, 9vw, 180px); }

.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--c-blush);
  margin: 4px 0;
}

.lux-hero-cta {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.lux-hero-cta p {
  font-size: 0.875rem;
  color: var(--c-stone);
  max-width: 260px;
  line-height: 1.75;
}

/* hero-accent removed — replaced by hero-visual-col */


/* 9. MARQUEE */

.marquee-container {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  padding: 20px 0;
  background: var(--c-parchment);
}

.marquee-content {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll 34s linear infinite;
}

.marquee-content span {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--c-void);
  padding: 0 36px;
}

.marquee-sep {
  color: var(--c-blush) !important;
  padding: 0 4px !important;
}

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


/* 10. EDITORIAL SECTION */

.editorial-section { padding: 140px 0; }

.editorial-lines { display: flex; flex-direction: column; }

.editorial-line {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--c-border);
}

.editorial-line:first-child { border-top: 1px solid var(--c-border); }

.editorial-num {
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  color: var(--c-stone);
  min-width: 28px;
  flex-shrink: 0;
}

.editorial-text {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}


/* 11. FEATURED SECTION */

.featured-section { padding: 100px 0 140px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}

.section-link {
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--c-stone);
  transition: color 0.2s;
}

.section-link:hover { color: var(--c-void); }

.t-label {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-stone);
}


/* 12. PRODUCT CARDS */

.products-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.product-card { grid-column: span 4; }

.card-img-link { display: block; }

.card-image-wrapper {
  overflow: hidden;
  background: var(--c-parchment);
  aspect-ratio: 3/4;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-lux);
}

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

.card-info { padding: 16px 0 0; }

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.card-category {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--c-stone);
}

.card-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.card-title a { transition: color 0.2s; }
.card-title a:hover { color: var(--c-blush); }

.card-price {
  font-family: var(--f-sans);
  font-size: 0.80rem;
  font-weight: 400;
  color: var(--c-stone);
}

.card-add-btn {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: transparent;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.4s var(--ease-out);
  display: block;
}

.product-card:hover .card-add-btn { color: var(--c-blush); }

/* Keep action-btn for cart page remove buttons */
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--c-stone);
  font-size: 0.72rem;
  transition: color 0.2s;
  cursor: pointer;
  border: 1px solid var(--c-border);
}

.action-btn:hover { color: var(--c-void); border-color: var(--c-border-md); }

/* lux-reveal — initial state set by gsap.set() in main.js, not CSS */
/* (CSS opacity:0 here caused elements to stay invisible; GSAP handles it) */
.lux-reveal {}


/* 13. MANIFESTO SECTION */

.manifesto-section {
  padding: 120px 0;
  background: var(--c-void);
}

.manifesto {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto p {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.48;
  color: var(--c-cream);
}

.manifesto-label {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.60rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-blush);
  margin-top: 40px;
}


/* 14. CATEGORIES SECTION */

.categories-section { padding: 120px 0; }

.cat-links { display: flex; flex-direction: column; }

.cat-link {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--c-border);
  cursor: pointer;
  transition: padding-left 0.45s var(--ease-lux);
}

.cat-link:first-child { border-top: 1px solid var(--c-border); }
.cat-link:hover { padding-left: 28px; }

.cat-num {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  color: var(--c-stone);
  min-width: 24px;
  flex-shrink: 0;
  transition: color 0.3s;
}

.cat-link:hover .cat-num { color: var(--c-blush); }

.cat-name {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  flex: 1;
  transition: letter-spacing 0.4s var(--ease-lux);
}

.cat-link:hover .cat-name { letter-spacing: 0.015em; }

.cat-sub {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--c-stone);
  max-width: 180px;
  line-height: 1.65;
  text-align: right;
}


/* 15. PAGE HERO */

.page-hero {
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 80px;
}

.page-kicker {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-blush);
  margin-bottom: 16px;
}

.page-title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--c-stone);
  max-width: 480px;
  line-height: 1.75;
}


/* 16. FORM CONTROLS */

.form-control {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  border: 1px solid var(--c-border-md);
  background: transparent;
  color: var(--c-void);
  font-family: var(--f-sans);
  font-size: 0.875rem;
  font-weight: 300;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}

.form-control:focus { border-color: var(--c-void); }
.form-control::placeholder { color: var(--c-stone); }

textarea.form-control { height: auto; padding: 16px 18px; resize: vertical; }

select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8490' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-stone);
}

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

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.notice {
  padding: 14px 18px;
  border: 1px solid var(--c-border-md);
  font-size: 0.85rem;
  line-height: 1.5;
}

.notice.error { border-color: #C4788A; background: rgba(196,120,138,0.06); color: #C4788A; }
.notice.success { border-color: #88B099; background: rgba(136,176,153,0.06); color: #88B099; }


/* 17. PRODUCT DETAIL */

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.product-media {
  background: var(--c-parchment);
  aspect-ratio: 3/4;
  overflow: hidden;
}

.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-kicker {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-blush);
  margin-bottom: 16px;
}

.product-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 16px;
}

.product-price {
  font-family: var(--f-sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--c-stone);
  margin-bottom: 32px;
}

.product-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--c-stone);
  margin-bottom: 40px;
}

.size-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.product-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

.qty-input { width: 80px; text-align: center; }

.product-perks {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-perk {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--c-stone);
}

.product-perk i { font-size: 0.82rem; color: var(--c-blush); width: 18px; }


/* 18. CART PAGE */

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}

.cart-table { width: 100%; border-collapse: collapse; }

.cart-table th {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--c-stone);
  text-align: left;
  padding: 0 16px 18px 16px;
  border-bottom: 1px solid var(--c-border);
}

.cart-table th:first-child { padding-left: 0; }

.cart-table td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.875rem;
  vertical-align: middle;
}

.cart-table td:first-child { padding-left: 0; }

.cart-item { display: flex; align-items: center; gap: 16px; }

.cart-item img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background: var(--c-parchment);
}

.cart-item strong {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 300;
  display: block;
  margin-bottom: 4px;
}

.cart-item small {
  font-size: 0.60rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-stone);
}

.cart-summary {
  background: var(--c-void);
  color: var(--c-cream);
  padding: 40px;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.cart-summary h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250,248,244,0.09);
}

.cart-summary .btn {
  width: 100%;
  border-color: var(--c-cream);
  color: var(--c-cream);
}

.cart-summary .btn::before { background: var(--c-cream); }
.cart-summary .btn:hover { color: var(--c-void); }

.cart-summary .form-control {
  border-color: rgba(250,248,244,0.16);
  color: var(--c-cream);
  background: rgba(250,248,244,0.04);
}

.cart-summary .form-control::placeholder { color: rgba(250,248,244,0.32); }

.cart-summary .btn-outline {
  border-color: rgba(250,248,244,0.22);
  color: var(--c-cream);
}

.cart-summary .btn-outline:hover {
  border-color: var(--c-cream);
  background: rgba(250,248,244,0.07);
}


/* 19. PANEL */

.panel {
  border: 1px solid var(--c-border);
  padding: 40px;
}

.panel-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}

.soft-box {
  background: var(--c-parchment);
  padding: 24px;
  margin-bottom: 20px;
}


/* 20. AUTH */

.auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad-x);
}

.auth-form-wrap { width: 100%; max-width: 400px; }

.auth-brand {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  margin-bottom: 56px;
  display: block;
}

.auth-title {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 8px;
}

.auth-sub { font-size: 0.875rem; color: var(--c-stone); margin-bottom: 40px; }

.auth-link {
  font-size: 0.82rem;
  color: var(--c-stone);
  margin-top: 20px;
  display: block;
  text-align: center;
}

.auth-link a { color: var(--c-void); text-decoration: underline; text-underline-offset: 3px; }

.auth-aside {
  background: var(--c-void);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-x);
}

.auth-aside-quote { max-width: 360px; text-align: center; }

.auth-aside-quote p {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--c-cream);
  line-height: 1.3;
}

.auth-aside-quote cite {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-blush);
  margin-top: 24px;
  font-style: normal;
}


/* 21. PROFILE */

.profile-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
  gap: 20px;
}

.profile-name {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
}

.orders-list { display: flex; flex-direction: column; }

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 12px;
}

.order-status {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--c-border-md);
  font-size: 0.60rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* 22. ABOUT */

.about-hero {
  padding: 80px 0 120px;
  border-bottom: 1px solid var(--c-border);
}

.about-hero-text { max-width: 800px; }

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding: 120px 0;
  border-bottom: 1px solid var(--c-border);
}

.about-col p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--c-stone);
  margin-bottom: 20px;
}

.about-col p:first-of-type {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-void);
}

.about-values { padding: 100px 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.value-item { display: flex; flex-direction: column; gap: 16px; }

.value-num {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  color: var(--c-blush);
}

.value-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
}

.value-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--c-stone);
}

/* Legacy about.php classes */
.values-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 32px;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 28px;
  border: 1px solid var(--c-border);
}

.value-icon { font-size: 1rem; color: var(--c-blush); }


/* 23. CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 80px 0;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--c-stone);
  line-height: 1.85;
}

.contact-info-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 40px;
}

.contact-info-line span:first-child {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-blush);
}

.contact-info-line span:last-child {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 300;
}


/* 24. STATIC PAGES */

.static-content { max-width: 720px; }

.static-content h2 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin: 52px 0 16px;
}

.static-content p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--c-stone);
  margin-bottom: 16px;
}


/* 25. FOOTER */

footer {
  background: var(--c-void);
  color: var(--c-cream);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,248,244,0.07);
  margin-bottom: 36px;
}

.footer-col h3 {
  font-family: var(--f-sans);
  font-size: 0.60rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-blush);
  margin-bottom: 24px;
}

.footer-brand .footer-logo {
  font-family: var(--f-display);
  font-weight: 300;
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: rgba(250,248,244,0.42);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 240px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250,248,244,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(250,248,244,0.50);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover { border-color: var(--c-blush); color: var(--c-blush); }

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

.footer-links a {
  font-size: 0.82rem;
  color: rgba(250,248,244,0.50);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--c-cream); }

.footer-newsletter { display: flex; flex-direction: column; gap: 0; }

.footer-newsletter p {
  font-size: 0.8rem;
  color: rgba(250,248,244,0.42);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-newsletter .form-control {
  border-color: rgba(250,248,244,0.14);
  color: var(--c-cream);
  background: rgba(250,248,244,0.03);
  margin-bottom: 10px;
}

.footer-newsletter .form-control::placeholder { color: rgba(250,248,244,0.30); }

.footer-newsletter .btn { border-color: rgba(250,248,244,0.30); color: rgba(250,248,244,0.70); }
.footer-newsletter .btn::before { background: var(--c-blush); }
.footer-newsletter .btn:hover { color: var(--c-cream); border-color: var(--c-blush); }

.copyright {
  font-size: 0.68rem;
  color: rgba(250,248,244,0.25);
  letter-spacing: 0.06em;
}


/* 26. COOKIE BANNER */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  background: var(--c-void);
  border: 1px solid rgba(250,248,244,0.10);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: min(560px, 90vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.cookie-banner.show { opacity: 1; pointer-events: all; }

.cookie-copy { flex: 1; }

.cookie-eyebrow {
  font-family: var(--f-sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-blush);
  margin-bottom: 6px;
}

.cookie-copy p {
  font-size: 0.78rem;
  color: rgba(250,248,244,0.55);
  line-height: 1.5;
}

.cookie-copy strong { color: rgba(250,248,244,0.80); font-weight: 400; }
.cookie-actions { flex-shrink: 0; }

.cookie-btn {
  padding: 10px 20px;
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-btn-primary {
  background: var(--c-blush);
  color: var(--c-cream);
  border: none;
  transition: background 0.2s;
}

.cookie-btn-primary:hover { background: var(--c-mauve); }


/* 27. CURSOR */

@media (pointer: fine) {
  .cursor-dot,
  .cursor-outline {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--c-blush);
  }

  .cursor-outline {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(22,18,30,0.20);
    transition: width 0.2s, height 0.2s;
  }
}


/* 28. UTILITY */

.text-stone { color: var(--c-stone); }
.text-blush { color: var(--c-blush); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }


/* 28B. PROFILE PAGE */

.profile-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}

.profile-section {
  padding-bottom: 60px;
}

.profile-detail-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-border);
}

.profile-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}

.profile-detail-label {
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-stone);
}

.profile-detail-value {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 300;
}

.empty-state {
  padding: 60px 0;
  border-top: 1px solid var(--c-border);
}

.empty-title {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 8px;
}

.empty-sub {
  font-size: 0.875rem;
  color: var(--c-stone);
}

/* 28C. CONTACT FORM */

.contact-form .form-group { margin-bottom: 20px; }

/* 28D. CART / CHECKOUT SPACING HELPERS */

.cart-row-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.875rem;
}

.cart-row-info.total {
  font-weight: 400;
  font-size: 1rem;
  border-top: 1px solid rgba(250,248,244,0.09);
  padding-top: 12px;
  margin-top: 8px;
}

.cart-row-info.discount {
  color: #88B099;
}


/* 29. STATS SECTION */

.stats-section {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 60px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--c-border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--c-stone);
}


/* 30. HOME GRID — varied card sizes for editorial rhythm */

.home-grid .product-card:nth-child(1),
.home-grid .product-card:nth-child(2) {
  grid-column: span 6;
}

.home-grid .product-card:nth-child(1) .card-image-wrapper,
.home-grid .product-card:nth-child(2) .card-image-wrapper {
  aspect-ratio: 4/5;
}

.home-grid .product-card:nth-child(n+3) {
  grid-column: span 4;
}


/* 31. MATERIALS SECTION */

.materials-section {
  padding: 120px 0;
  background: var(--c-void);
  color: var(--c-cream);
}

.materials-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250, 248, 244, 0.08);
}

.materials-header .t-label { color: var(--c-blush); }

.materials-header-sub {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(250, 248, 244, 0.28);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(250, 248, 244, 0.07);
}

.material-item {
  background: var(--c-void);
  display: flex;
  gap: 22px;
  padding: 36px;
  align-items: flex-start;
  transition: background 0.3s;
}

.material-item:hover { background: rgba(250, 248, 244, 0.032); }

.material-swatch {
  width: 40px;
  height: 56px;
  flex-shrink: 0;
}

.material-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.material-origin {
  font-family: var(--f-sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-blush);
}

.material-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--c-cream);
  line-height: 1.1;
}

.material-desc {
  font-size: 0.80rem;
  line-height: 1.75;
  color: rgba(250, 248, 244, 0.38);
  margin-top: 4px;
}


/* 32. RESPONSIVE */

@media (max-width: 1100px) {
  .product-card { grid-column: span 6; }
  .home-grid .product-card:nth-child(n+3) { grid-column: span 6; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-body { gap: 60px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--c-border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--c-border); }
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .about-body { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; gap: 40px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .cat-sub { display: none; }
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-visual-col { min-height: 55vw; position: relative; }
  .hero-visual-frame { position: absolute; inset: 0; }
  .hero-line { font-size: clamp(3.5rem, 14vw, 6rem); }
  .hero-line--indent { padding-left: clamp(28px, 7vw, 80px); }
  .editorial-text { font-size: clamp(2rem, 8vw, 3.5rem); }
  .cat-name { font-size: clamp(2rem, 7vw, 3.5rem); }
  .cat-link { padding: 32px 0; }
  .products-grid { gap: 16px; }
  .product-card { grid-column: span 6; }
  .manifesto p { font-size: clamp(1.4rem, 5vw, 2rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .panel { padding: 24px; }
  .cart-summary { padding: 24px; position: static; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .editorial-section { padding: 80px 0; }
  .featured-section { padding: 60px 0 80px; }
  .categories-section { padding: 60px 0; }
  .manifesto-section { padding: 80px 0; }
  .materials-section { padding: 80px 0; }
  .materials-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .home-grid .product-card:nth-child(1),
  .home-grid .product-card:nth-child(2),
  .home-grid .product-card:nth-child(n+3),
  .product-card { grid-column: span 12; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none !important; border-top: none !important; border-bottom: 1px solid var(--c-border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-panel { padding: 60px 24px; }
  .split-2 { grid-template-columns: 1fr; }
  .editorial-line { gap: 14px; }
  .lux-hero-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .values-cards { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
