/* ================================================================
   AURELIA STUDIO — style.css
   Premium Fashion Landing Page
   ================================================================ */

/* ----------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  --color-bg: #FAF7F2;
  --color-bg-soft: #F3EEE7;
  --color-text: #171717;
  --color-muted: #6B625A;
  --color-accent: #C8A96A;
  --color-dark: #111111;
  --color-card: #FFFFFF;
  --color-border: #E8E1D8;
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----------------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

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

input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ----------------------------------------------------------------
   2. UTILITY CLASSES
   ---------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   3. TYPOGRAPHY HELPERS
   ---------------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 420px;
}

.section-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

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

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-dark);
  color: #fff;
  padding: 14px 32px;
  border: 2px solid var(--color-dark);
}

.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn-large {
  padding: 16px 40px;
  font-size: 0.8rem;
}

/* ----------------------------------------------------------------
   5. NAVBAR / SITE HEADER
   ---------------------------------------------------------------- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

/* When scrolled, nav links become dark */
.site-header.scrolled .nav-link,
.site-header.scrolled .nav-icon {
  color: var(--color-text);
}

.site-header.scrolled .hamburger span {
  background: var(--color-text);
}

nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.3s ease;
}

.site-header.scrolled .nav-center a {
  color: var(--color-text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  font-weight: 400;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.site-header.scrolled .nav-link:hover {
  color: var(--color-accent);
}

.nav-icon {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  position: relative;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-bg);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 0 32px 32px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.mobile-menu-header .nav-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.mobile-menu-close {
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: color 0.3s ease;
}

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

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-links a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu-links a:hover {
  color: var(--color-accent);
  padding-left: 8px;
}

.mobile-menu-links .btn-primary {
  margin-top: 16px;
  text-align: center;
  border-bottom: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
}

/* ----------------------------------------------------------------
   6. HERO CAROUSEL
   ---------------------------------------------------------------- */
section.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: slowZoom 12s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    transparent 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  max-width: 600px;
  color: #fff;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 500;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 460px;
  animation: fadeUp 0.8s 0.6s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.8s ease both;
}

/* Hero featured card */
.hero-featured-card {
  position: absolute;
  bottom: 10%;
  right: 5%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 28px;
  border-radius: 12px;
  color: #fff;
  z-index: 2;
  max-width: 280px;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero-featured-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 500;
}

.hero-featured-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-featured-link {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-featured-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Hero controls */
.hero-controls {
  position: absolute;
  bottom: 5%;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  z-index: 2;
}

.hero-slide-counter {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  min-width: 48px;
}

.hero-progress {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  animation: progressBar 5s linear;
}

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

.hero-arrow {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.hero-dot.active {
  background: var(--color-accent);
  transform: scale(1.25);
}

/* ----------------------------------------------------------------
   7. BRAND INTRO
   ---------------------------------------------------------------- */
section.brand-intro {
  background: var(--color-bg);
}

.brand-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.brand-intro-heading {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.01em;
  position: sticky;
  top: 120px;
}

.brand-intro-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.brand-intro-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.value-item {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}

.value-item-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.value-item-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* ----------------------------------------------------------------
   8. NEW ARRIVALS / PRODUCTS
   ---------------------------------------------------------------- */
section.collection-section {
  background: var(--color-bg);
}

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

.product-card {
  background: var(--color-card);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-soft);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 3px;
  font-weight: 600;
  z-index: 2;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay .btn-primary {
  font-size: 0.7rem;
  padding: 12px 28px;
}

.product-info {
  padding: 20px 22px 24px;
}

.product-info-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
}

.product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  flex-shrink: 0;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-colors {
  font-size: 0.72rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ----------------------------------------------------------------
   9. CAPSULE SETS
   ---------------------------------------------------------------- */
section.capsule-section {
  background: var(--color-bg-soft);
}

.capsule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.capsule-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capsule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.capsule-card.featured {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.capsule-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.capsule-card.featured .capsule-desc {
  color: rgba(255, 255, 255, 0.6);
}

.capsule-card.featured .capsule-items li {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.capsule-header {
  margin-bottom: 8px;
}

.capsule-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.2;
}

.capsule-price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-accent);
}

.capsule-card.featured .capsule-price {
  color: var(--color-accent);
}

.capsule-desc {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.capsule-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  flex-grow: 1;
}

.capsule-items li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-muted);
}

.capsule-items li:last-child {
  border-bottom: none;
}

.capsule-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.capsule-cta:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

.capsule-card.featured .capsule-cta {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.capsule-card.featured .capsule-cta:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ----------------------------------------------------------------
   10. EDITORIAL BREAK
   ---------------------------------------------------------------- */
section.editorial-break {
  background: var(--color-dark);
  color: #fff;
  overflow: hidden;
  padding: 0;
}

.editorial-break-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 500px;
}

.editorial-text {
  padding: 80px 64px;
}

.editorial-image-wrap {
  height: 100%;
}

.editorial-quote {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  position: relative;
  padding-left: 32px;
}

.editorial-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
}

.editorial-supporting {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 24px;
  font-style: normal;
}

.editorial-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   11. LOOKBOOK GALLERY
   ---------------------------------------------------------------- */
section.lookbook-section {
  background: var(--color-bg);
  overflow: hidden;
}

.lookbook-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.lookbook-nav-btn {
  min-width: 76px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lookbook-nav-btn:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
  transform: translateY(-1px);
}

.lookbook-carousel {
  position: relative;
}

.lookbook-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 38%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
}

.lookbook-track::-webkit-scrollbar {
  height: 6px;
}

.lookbook-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}

.lookbook-track::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 999px;
}

.lookbook-item {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 520px;
  border-radius: 18px;
  cursor: pointer;
  scroll-snap-align: start;
  background: var(--color-bg-soft);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
  isolation: isolate;
}

.lookbook-item.featured-look {
  grid-column: span 1;
  min-height: 600px;
}

.lookbook-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.lookbook-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 55%, rgba(0, 0, 0, 0.12));
  z-index: 1;
  pointer-events: none;
}

.lookbook-item:hover .lookbook-image {
  transform: scale(1.055);
  filter: saturate(1.05);
}

.lookbook-kicker {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lookbook-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 2;
}

.lookbook-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.34);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lookbook-overlay span {
  color: #fff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 4px;
}

.lookbook-item:hover .lookbook-overlay {
  opacity: 1;
}

/* ----------------------------------------------------------------
   12. WHY SECTION
   ---------------------------------------------------------------- */
section.why-section {
  background: var(--color-bg-soft);
}

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

.why-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  margin-left: auto;
  margin-right: auto;
  color: var(--color-accent);
}

.why-card-title,
.why-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.why-card-desc,
.why-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* ----------------------------------------------------------------
   13. SIZE & FIT GUIDE
   ---------------------------------------------------------------- */
section.size-guide-section {
  background: var(--color-bg);
}

.fit-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.fit-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.fit-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.fit-card-desc {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.size-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  -webkit-overflow-scrolling: touch;
}

table.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

table.size-table thead {
  background: var(--color-bg-soft);
}

table.size-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-muted);
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

table.size-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

table.size-table tbody tr:last-child td {
  border-bottom: none;
}

table.size-table tbody tr:hover {
  background: var(--color-bg-soft);
}

/* ----------------------------------------------------------------
   14. REVIEWS
   ---------------------------------------------------------------- */
section.reviews-section {
  background: var(--color-bg-soft);
}

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

.review-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.review-stars {
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
}

.review-role,
.review-label {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 2px;
  display: block;
}

/* ----------------------------------------------------------------
   15. ORDER FLOW
   ---------------------------------------------------------------- */
section.order-section {
  background: var(--color-bg);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
}

/* Connecting line between steps */
.order-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 56px;
  right: 56px;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.order-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.order-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 18px;
}

.order-step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.order-step-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.order-highlight {
  font-size: 0.82rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 18px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.step-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.order-highlights {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 24px 28px;
  background: var(--color-bg-soft);
  border-radius: 10px;
}

.order-highlights span {
  font-size: 0.82rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-cta {
  display: flex;
  justify-content: center;
}

.order-cta .btn-primary {
  background: #25D366;
  border-color: #25D366;
}

.order-cta .btn-primary:hover {
  background: #1ebe57;
  border-color: #1ebe57;
}

/* ----------------------------------------------------------------
   16. FAQ ACCORDION
   ---------------------------------------------------------------- */
section.faq-section {
  background: var(--color-bg-soft);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
  gap: 16px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--color-muted);
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ----------------------------------------------------------------
   17. FINAL CTA
   ---------------------------------------------------------------- */
section.final-cta {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.7);
  z-index: 1;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.final-cta-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.final-cta-buttons .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.final-cta-buttons .btn-primary:hover {
  background: #b8973f;
  border-color: #b8973f;
}

/* ----------------------------------------------------------------
   18. FOOTER
   ---------------------------------------------------------------- */
footer.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-newsletter h4,
.footer-contact h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  font-weight: 500;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact p,
.footer-contact a {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
  border-color: var(--color-accent);
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #fff;
  background: transparent;
  border: none;
  min-width: 0;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

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

.footer-contact a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-newsletter p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.newsletter-btn {
  padding: 12px 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #b8973f;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  padding: 16px 0 24px;
  font-style: italic;
}

/* ----------------------------------------------------------------
   19. ANIMATION KEYFRAMES
   ---------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes progressBar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ----------------------------------------------------------------
   20. RESPONSIVE — TABLET (max-width: 900px)
   ---------------------------------------------------------------- */
@media (max-width: 900px) {

  .section-padding {
    padding: 72px 0;
  }

  .section-title {
    font-size: 2.1rem;
  }

  /* Navbar */
  .nav-left {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-right .nav-link {
    display: none;
  }

  nav.main-nav {
    height: 64px;
  }

  /* Hero */
  section.hero {
    height: 85vh;
    min-height: 550px;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .hero-content {
    bottom: 22%;
    left: 6%;
    right: 6%;
    max-width: none;
  }

  .hero-featured-card {
    display: none;
  }

  .hero-controls {
    left: 6%;
  }

  /* Brand intro */
  .brand-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .brand-intro-heading {
    font-size: 2.1rem;
    position: static;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Capsule */
  .capsule-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Editorial */
  .editorial-break-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .editorial-text {
    padding: 48px 32px;
  }

  .editorial-image-wrap {
    order: -1;
  }

  .editorial-image {
    min-height: 320px;
    border-radius: 0;
  }

  .editorial-quote {
    font-size: 1.8rem;
  }

  /* Lookbook */
  .lookbook-track {
    grid-auto-columns: minmax(300px, 58%);
  }

  .lookbook-item,
  .lookbook-item.featured-look {
    min-height: 460px;
  }

  /* Why */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Size guide */
  .fit-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Order */
  .order-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .order-steps::before {
    display: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ----------------------------------------------------------------
   21. RESPONSIVE — MOBILE (max-width: 640px)
   ---------------------------------------------------------------- */
@media (max-width: 640px) {

  .container {
    padding: 0 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
  }

  /* Hero */
  section.hero {
    height: 700px;
    min-height: 500px;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

  .hero-content {
    bottom: 20%;
    left: 5%;
    right: 5%;
  }

  .hero-controls {
    left: 5%;
    gap: 16px;
    bottom: 4%;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 10px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-arrows {
    display: none;
  }

  /* Product */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Size */
  .fit-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fit-card {
    padding: 20px 16px;
  }

  table.size-table th,
  table.size-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Order */
  .order-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 320px;
    margin: 0 auto 36px;
  }

  .order-highlights {
    gap: 20px;
    padding: 20px;
  }

  /* FAQ */
  .faq-question {
    padding: 18px 16px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.open .faq-answer {
    padding-bottom: 18px;
  }

  /* Final CTA */
  .final-cta-title {
    font-size: 2rem;
  }

  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-buttons .btn-primary,
  .final-cta-buttons .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Lookbook */
  .lookbook-controls {
    width: 100%;
  }

  .lookbook-nav-btn {
    flex: 1;
  }

  .lookbook-track {
    grid-auto-columns: minmax(260px, 86%);
    gap: 14px;
    padding-bottom: 18px;
  }

  .lookbook-item,
  .lookbook-item.featured-look {
    min-height: 420px;
    border-radius: 14px;
  }

  /* Capsule */
  .capsule-grid {
    max-width: none;
  }

  .capsule-card {
    padding: 28px 22px;
  }

  /* Brand intro */
  .brand-intro-heading {
    font-size: 1.85rem;
  }

  /* Mobile Menu - full width on small screens */
  .mobile-menu {
    max-width: 100%;
  }

  .mobile-menu-links a {
    font-size: 1.5rem;
  }
}

/* ----------------------------------------------------------------
   22. REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide-bg {
    animation: none !important;
  }
}

/* ----------------------------------------------------------------
   23. PRINT STYLES
   ---------------------------------------------------------------- */
@media print {
  header.site-header,
  .hero-controls,
  .hero-featured-card,
  .mobile-menu,
  .hamburger {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  section.hero {
    height: auto;
    min-height: auto;
  }

  .product-overlay,
  .lookbook-overlay {
    display: none !important;
  }
}


/* ----------------------------------------------------------------
   PRODUCT QUICK VIEW, FULL COLLECTION MODAL, AND POLISH PATCH
   ---------------------------------------------------------------- */
body.modal-open {
  overflow: hidden;
}

.section-link-button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 4px;
}

.product-card {
  cursor: pointer;
}

.product-card:focus-visible,
.product-quick-view:focus-visible,
.product-detail-link:focus-visible,
.modal-close:focus-visible,
.collection-filters button:focus-visible,
.modal-choice:focus-visible,
.collection-product-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.product-detail-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border-bottom: 1px solid rgba(17, 17, 17, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.product-detail-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.product-image-wrap.image-fallback,
.lookbook-item.image-fallback,
.collection-product-card.image-fallback,
.product-modal-media.image-fallback {
  background: linear-gradient(135deg, #f5efe5, #d8c49b);
  min-height: 280px;
}

.product-image-wrap.image-fallback::before,
.collection-product-card.image-fallback::before,
.product-modal-media.image-fallback::before {
  content: 'AURELIA STUDIO';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 17, 17, 0.55);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

/* Hero controls: cleaner editorial controls instead of boxy buttons */
.hero-controls {
  gap: 18px;
}

.hero-progress {
  width: 140px;
}

.hero-arrows {
  gap: 22px;
}

.hero-arrow {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0 0 5px;
  min-width: auto;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
}

.hero-arrow:hover {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Modal system */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-shell {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid rgba(232, 225, 216, 0.85);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-shell {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: sticky;
  top: 16px;
  margin-left: auto;
  right: 16px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  float: right;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
}

.product-modal-shell {
  border-radius: 22px;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 620px;
}

.product-modal-media {
  position: relative;
  min-height: 620px;
  background: var(--color-bg-soft);
  overflow: hidden;
}

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

.product-modal-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

.product-modal-content {
  padding: 72px 54px 54px;
}

.modal-kicker {
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-modal-title,
.collection-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 12px;
}

.product-modal-price {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.product-modal-desc {
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 28px;
}

.modal-option-group {
  padding: 22px 0;
  border-top: 1px solid var(--color-border);
}

.modal-option-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.modal-option-header small {
  color: var(--color-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.modal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-choice,
.collection-filters button {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-muted);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.modal-choice:hover,
.collection-filters button:hover,
.modal-choice.active,
.collection-filters button.active {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
  transform: translateY(-1px);
}

.product-modal-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 6px 0 28px;
}

.product-modal-notes div {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 16px;
  border-radius: 14px;
}

.product-modal-notes span {
  display: block;
  color: var(--color-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-modal-notes strong {
  font-size: 0.9rem;
}

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

.collection-modal-shell {
  width: min(1160px, 100%);
  border-radius: 24px;
  padding: 52px;
}

.collection-modal-header {
  max-width: 660px;
  margin-bottom: 26px;
}

.collection-modal-sub {
  color: var(--color-muted);
  line-height: 1.7;
}

.collection-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.collection-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.collection-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collection-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.collection-product-card img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  background: var(--color-bg-soft);
}

.collection-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--color-accent);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-product-meta {
  margin: 18px 18px 6px;
  color: var(--color-accent);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.collection-product-card strong,
.collection-product-card span:not(.collection-product-badge):not(.collection-product-meta),
.collection-product-card em {
  margin-left: 18px;
  margin-right: 18px;
}

.collection-product-card strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.collection-product-card span:not(.collection-product-badge):not(.collection-product-meta) {
  color: var(--color-muted);
  margin-top: 6px;
  line-height: 1.55;
}

.collection-product-card em {
  font-style: normal;
  font-weight: 800;
  margin-top: 16px;
  margin-bottom: 20px;
}

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

  .product-modal-media {
    min-height: 420px;
  }

  .product-modal-content {
    padding: 46px 28px 34px;
  }

  .collection-modal-shell {
    padding: 42px 24px 28px;
  }

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

@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-shell {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }

  .product-modal-media {
    min-height: 300px;
  }

  .product-modal-title,
  .collection-modal-title {
    font-size: 2.2rem;
  }

  .product-modal-notes {
    grid-template-columns: 1fr;
  }

  .product-modal-actions .btn-primary,
  .product-modal-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .collection-modal-grid {
    grid-template-columns: 1fr;
  }

  .collection-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .hero-controls {
    gap: 12px;
  }

  .hero-progress {
    width: 90px;
  }
}

/* ----------------------------------------------------------------
   V3 POLISH PATCH — separate collection page, cleaner modal layering
   ---------------------------------------------------------------- */

/* Modal must sit above the fixed navbar. Previously the header could overlap it. */
.modal-overlay {
  z-index: 4000;
}

/* The account/person icon was removed. Keep nav spacing clean with only bag icon. */
.nav-right {
  gap: 24px;
}

/* Dedicated collection page uses a light header from the first pixel. */
body.collection-page-body {
  background: var(--color-bg);
}

body.collection-page-body header.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.035);
}

body.collection-page-body .nav-link,
body.collection-page-body .nav-icon,
body.collection-page-body .nav-center a {
  color: var(--color-text);
}

body.collection-page-body .hamburger span {
  background: var(--color-text);
}

.collection-page-main {
  padding-top: 72px;
  min-height: 100vh;
}

.collection-page-hero {
  padding: 76px 0 34px;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 84% 12%, rgba(200, 169, 106, 0.12), transparent 28%),
    var(--color-bg);
}

.collection-page-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.collection-page-title {
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 10px 0 20px;
}

.collection-page-subtitle {
  max-width: 680px;
  color: var(--color-muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.collection-page-back {
  flex: 0 0 auto;
  color: var(--color-text);
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  padding-bottom: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-page-back:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.collection-page-filters {
  margin-top: 34px;
  margin-bottom: 0;
}

.collection-page-list {
  padding: 42px 0 92px;
}

.collection-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Product quick view now behaves as the only modal layer. Make it lighter and less overpowering. */
.product-modal-shell {
  width: min(980px, calc(100% - 32px));
  max-height: min(84vh, 760px);
  overflow: auto;
}

.product-modal-grid {
  grid-template-columns: 0.92fr 1.08fr;
  min-height: auto;
}

.product-modal-media {
  min-height: 0;
  height: min(72vh, 650px);
}

.product-modal-media img {
  min-height: 0;
}

.product-modal-content {
  padding: 58px 50px 42px;
}

.product-modal-title {
  font-size: clamp(2.35rem, 4.6vw, 4.25rem);
}

.product-modal-desc {
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  float: none;
  margin-left: 0;
}

/* Hero controls: no heavy PREV/NEXT boxes; progress and dots do the navigation. */
.hero-controls {
  width: auto;
  align-items: center;
}

.hero-dots {
  bottom: 52px;
}

/* Product card image ratio consistency. */
.product-image-wrap {
  aspect-ratio: 4 / 5;
}

.product-image {
  height: 100%;
  object-fit: cover;
}

/* Better fallback state, without showing ugly raw alt text. */
.product-image-wrap.image-fallback img,
.collection-product-card.image-fallback img,
.product-modal-media.image-fallback img {
  opacity: 0 !important;
}

@media (max-width: 900px) {
  .collection-page-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .collection-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-modal-shell {
    max-height: 90vh;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-media {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .collection-page-hero {
    padding: 52px 0 26px;
  }

  .collection-page-title {
    font-size: 3.2rem;
  }

  .collection-page-subtitle {
    font-size: 0.98rem;
  }

  .collection-page-grid {
    grid-template-columns: 1fr;
  }

  .collection-page-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .product-modal-shell {
    width: 100%;
    max-height: 92vh;
  }

  .product-modal-media {
    height: 300px;
  }

  .product-modal-content {
    padding: 44px 24px 30px;
  }
}
