/*
Theme Name: Alvaro Leonz
Theme URI: https://store.alvaroleonz.com/
Author: Alvaro Leonz Atelier
Author URI: https://store.alvaroleonz.com/
Description: Quiet luxury meets oversized heavyweight streetwear. A high-fashion editorial classic theme for Alvaro Leonz featuring 440 GSM and 240 GSM architectural garments, warm wheat and charcoal palette, fluid clamp typography, and zero border-radius discipline.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: alvaro-leonz
Tags: e-commerce, fashion, custom-header, custom-menu, featured-images, full-width-template, translation-ready
*/

/* --------------------------------------------------------------------------
   WORDPRESS CORE ALIGNMENTS & ADMIN BAR OFFSET
   -------------------------------------------------------------------------- */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   ALVARO LEONZ — VISUAL IDENTITY & FRONT-END DESIGN SYSTEM
   Brand: Quiet Luxury Meets Oversized Streetwear
   Tagline: "Built Heavy. Cut Oversized."
   Palette: Warm Wheat & Charcoal Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --charcoal: #232220;         /* Main Dark (40% ratio) */
  --charcoal-deep: #161514;    /* Deep Dark for Footer, Overlays */
  --wheat: #D8C4A0;            /* Main Light (50% ratio) */
  --wheat-light: #EBDFC9;      /* Soft Light Sections & Text on Charcoal */
  --stone: #8C8273;            /* Neutral secondary tone */
  --accent: #A8895C;           /* Muted Bronze (10% ratio) */

  /* Accessible Text Colors (strictly >= 4.5:1 contrast) */
  --text-on-wheat: #232220;
  --text-on-wheat-subtle: #4D473F; /* >= 5.5:1 contrast on #D8C4A0 */
  --text-on-charcoal: #EBDFC9;
  --text-on-charcoal-subtle: #B8AC99; /* >= 6.8:1 contrast on #232220 */
  --text-on-wheat-light: #232220;
  --text-on-wheat-light-subtle: #524B41;

  /* Hairlines (1px at 20% opacity of opposite color) */
  --hairline-on-wheat: rgba(35, 34, 32, 0.20);
  --hairline-on-charcoal: rgba(235, 223, 201, 0.20);
  --hairline-on-wheat-light: rgba(35, 34, 32, 0.18);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Typography Scale */
  --text-hero: clamp(2.85rem, 6.2vw, 6.8rem);
  --text-h1: clamp(2.4rem, 4.8vw, 4.75rem);
  --text-h2: clamp(1.9rem, 3.4vw, 3.25rem);
  --text-h3: clamp(1.4rem, 2.2vw, 2.1rem);
  --text-h4: clamp(1.1rem, 1.4vw, 1.35rem);
  --text-body: clamp(0.92rem, 1.05vw, 1.06rem);
  --text-body-sm: clamp(0.82rem, 0.9vw, 0.92rem);
  --text-label: clamp(0.68rem, 0.75vw, 0.76rem);
  --text-numeral: clamp(5.5rem, 14vw, 16rem);

  /* Spacing Scale (8px Grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;
  --space-20: 160px;
  --space-24: 192px;

  /* Section Spacing: 120px to 200px desktop, 72px to 96px mobile */
  --section-padding-y: clamp(72px, 9vw, 180px);
  --container-max: 1680px;
  --container-padding: clamp(20px, 3.8vw, 64px);

  /* Motion & Easing */
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --duration-reveal: 1.0s;
  --duration-interaction: 0.4s;

  /* Header & Navigation Height */
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   02. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Zero border-radius universally */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  background-color: var(--charcoal);
  color: var(--text-on-charcoal);
  font-family: var(--font-sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--wheat);
  color: var(--text-on-wheat);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background-color: var(--accent);
  color: var(--charcoal-deep);
}

/* Images & Media */
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
.font-display {
  font-family: var(--font-display);
}

.font-sans {
  font-family: var(--font-sans);
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 400;
  line-height: 1.25;
}

/* Small Uppercase Editorial Label */
.label-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.label-eyebrow.has-bullet::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--accent);
}

/* Giant Numerals for Fabric Stories */
.numeral-display {
  font-family: var(--font-display);
  font-size: var(--text-numeral);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   04. CONTAINER & GRID
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .grid-12 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
  }
}

/* --------------------------------------------------------------------------
   05. SECTION PALETTES & HAIRLINES
   -------------------------------------------------------------------------- */
/* Main Light: Wheat */
.section-wheat {
  background-color: var(--wheat);
  color: var(--text-on-wheat);
  border-bottom: 1px solid var(--hairline-on-wheat);
}
.section-wheat .subtle-text {
  color: var(--text-on-wheat-subtle);
}
.section-wheat .hairline-top {
  border-top: 1px solid var(--hairline-on-wheat);
}
.section-wheat .hairline-bottom {
  border-bottom: 1px solid var(--hairline-on-wheat);
}

/* Soft In-between Light: Wheat-Light */
.section-wheat-light {
  background-color: var(--wheat-light);
  color: var(--text-on-wheat-light);
  border-bottom: 1px solid var(--hairline-on-wheat-light);
}
.section-wheat-light .subtle-text {
  color: var(--text-on-wheat-light-subtle);
}
.section-wheat-light .hairline-top {
  border-top: 1px solid var(--hairline-on-wheat-light);
}
.section-wheat-light .hairline-bottom {
  border-bottom: 1px solid var(--hairline-on-wheat-light);
}

/* Main Dark: Charcoal */
.section-charcoal {
  background-color: var(--charcoal);
  color: var(--text-on-charcoal);
  border-bottom: 1px solid var(--hairline-on-charcoal);
}
.section-charcoal .subtle-text {
  color: var(--text-on-charcoal-subtle);
}
.section-charcoal .hairline-top {
  border-top: 1px solid var(--hairline-on-charcoal);
}
.section-charcoal .hairline-bottom {
  border-bottom: 1px solid var(--hairline-on-charcoal);
}

/* Deep Dark: Charcoal-Deep */
.section-charcoal-deep {
  background-color: var(--charcoal-deep);
  color: var(--text-on-charcoal);
  border-bottom: 1px solid var(--hairline-on-charcoal);
}
.section-charcoal-deep .subtle-text {
  color: var(--text-on-charcoal-subtle);
}

.section-padding {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* --------------------------------------------------------------------------
   06. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: color var(--duration-interaction) var(--ease-luxury),
              background-color var(--duration-interaction) var(--ease-luxury),
              border-color var(--duration-interaction) var(--ease-luxury);
  white-space: nowrap;
}

/* Primary Button */
.section-wheat .btn-primary,
.section-wheat-light .btn-primary {
  background-color: var(--charcoal);
  color: var(--wheat-light);
  border: 1px solid var(--charcoal);
}
.section-wheat .btn-primary:hover,
.section-wheat-light .btn-primary:hover {
  background-color: var(--charcoal-deep);
  border-color: var(--charcoal-deep);
  color: var(--wheat);
}

.section-charcoal .btn-primary,
.section-charcoal-deep .btn-primary {
  background-color: var(--wheat);
  color: var(--charcoal);
  border: 1px solid var(--wheat);
}
.section-charcoal .btn-primary:hover,
.section-charcoal-deep .btn-primary:hover {
  background-color: var(--wheat-light);
  border-color: var(--wheat-light);
}

/* Secondary Button (1px outline with slow color wipe on hover) */
.btn-secondary {
  position: relative;
  z-index: 1;
}
.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-luxury);
  z-index: -1;
}

.section-wheat .btn-secondary,
.section-wheat-light .btn-secondary {
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
}
.section-wheat .btn-secondary::before,
.section-wheat-light .btn-secondary::before {
  background-color: var(--charcoal);
}
.section-wheat .btn-secondary:hover,
.section-wheat-light .btn-secondary:hover {
  color: var(--wheat-light);
}
.btn-secondary:hover::before {
  transform: scaleX(1);
}

.section-charcoal .btn-secondary,
.section-charcoal-deep .btn-secondary,
.hero-btn.btn-secondary {
  border: 1px solid var(--wheat-light);
  color: var(--wheat-light);
}
.section-charcoal .btn-secondary::before,
.section-charcoal-deep .btn-secondary::before,
.hero-btn.btn-secondary::before {
  background-color: var(--wheat-light);
}
.section-charcoal .btn-secondary:hover,
.section-charcoal-deep .btn-secondary:hover,
.hero-btn.btn-secondary:hover {
  color: var(--charcoal);
}

/* Animated Text Links */
.link-editorial {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 4px;
}
.link-editorial::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-luxury);
}
.link-editorial:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Thin 1px Icons (SVG) */
.icon-line {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.icon-line-lg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
}

/* --------------------------------------------------------------------------
   07. CUSTOM CURSOR (Desktop Only)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: default;
  }
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
  }
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-luxury),
                height 0.3s var(--ease-luxury),
                border-color 0.3s var(--ease-luxury),
                background-color 0.3s var(--ease-luxury);
  }
  .cursor-active .cursor-ring {
    width: 64px;
    height: 64px;
    background-color: rgba(168, 137, 92, 0.12);
  }
  .cursor-product .cursor-ring {
    width: 76px;
    height: 76px;
    background-color: rgba(35, 34, 32, 0.85);
    border-color: var(--wheat);
  }
}
@media (hover: none) or (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   08. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: transform 0.5s var(--ease-luxury),
              background-color 0.4s var(--ease-luxury),
              border-color 0.4s var(--ease-luxury),
              color 0.4s var(--ease-luxury);
  color: var(--wheat-light);
  border-bottom: 1px solid transparent;
}

/* Header States */
.site-header.is-transparent {
  background-color: transparent;
  color: var(--wheat-light);
  border-color: rgba(235, 223, 201, 0.15);
}
.site-header.is-solid-wheat {
  background-color: var(--wheat);
  color: var(--charcoal);
  border-color: var(--hairline-on-wheat);
}
.site-header.is-solid-charcoal {
  background-color: var(--charcoal);
  color: var(--wheat-light);
  border-color: var(--hairline-on-charcoal);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.header-nav-left a {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.header-nav-left a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-luxury);
}
.header-nav-left a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Wordmark */
.header-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  display: block;
}

.header-actions-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.3s ease;
}
.header-action-btn:hover {
  opacity: 0.7;
}

.cart-counter {
  font-size: 0.7rem;
  padding: 2px 6px;
  background-color: var(--accent);
  color: var(--charcoal-deep);
  font-weight: 600;
  line-height: 1;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: inherit;
  cursor: pointer;
}

@media (max-width: 900px) {
  .header-nav-left {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-container {
    grid-template-columns: auto 1fr auto;
  }
  .header-wordmark {
    text-align: center;
  }
  .header-action-text {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   09. MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 21, 20, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-luxury), visibility 0.4s;
}
.mobile-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(85vw, 420px);
  height: 100%;
  background-color: var(--charcoal);
  color: var(--wheat-light);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-luxury);
  padding: var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--hairline-on-charcoal);
}
.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--hairline-on-charcoal);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 300;
  color: var(--wheat-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}
.mobile-nav-links a:hover {
  color: var(--accent);
  transform: translateX(6px);
}

.mobile-drawer-footer {
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline-on-charcoal);
}

/* --------------------------------------------------------------------------
   10. SECTION 01: HERO
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 120px);
  padding-top: calc(var(--header-height) + 40px);
  overflow: hidden;
  background-color: var(--charcoal-deep);
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%; /* Extra height for slow parallax */
  z-index: 1;
  will-change: transform;
}
.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(102%) brightness(95%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(22, 21, 20, 0.45) 0%,
    rgba(22, 21, 20, 0.25) 50%,
    rgba(22, 21, 20, 0.75) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-eyebrow {
  color: var(--wheat-light);
  margin-bottom: var(--space-2);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--wheat-light);
  max-width: 16ch;
  margin-bottom: var(--space-5);
  text-transform: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   11. SECTION 02: MARQUEE (Charcoal Band)
   -------------------------------------------------------------------------- */
.marquee-band {
  background-color: var(--charcoal);
  color: var(--wheat-light);
  border-top: 1px solid var(--hairline-on-charcoal);
  border-bottom: 1px solid var(--hairline-on-charcoal);
  overflow: hidden;
  padding: 22px 0;
  user-select: none;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLoop 38s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-right: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wheat-light);
}
.marquee-dot {
  color: var(--accent);
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   12. SECTION 03: SHOP CATEGORIES (Wheat Section)
   -------------------------------------------------------------------------- */
.categories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.category-card {
  position: relative;
  background-color: var(--wheat-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hairline-on-wheat);
  transition: border-color var(--duration-interaction) var(--ease-luxury);
}
.category-card:hover {
  border-color: var(--charcoal);
}

.category-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background-color: var(--charcoal);
}
.category-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury), filter 0.8s var(--ease-luxury);
}
.category-card:hover .category-image-wrap img {
  transform: scale(1.04);
}

.category-card-footer {
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--wheat);
  border-top: 1px solid var(--hairline-on-wheat);
}
.category-card-title {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-luxury);
}
.category-card:hover .category-arrow {
  transform: translateX(4px);
}

/* Mobile Category Slider Controls */
.category-slider-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
  padding: 0 var(--space-1);
}
.slider-counter {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  color: var(--charcoal);
  font-weight: 500;
}
.slider-buttons {
  display: flex;
  gap: 8px;
}
.slider-arrow-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--charcoal);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.slider-arrow-btn:hover {
  background-color: var(--charcoal);
  color: var(--wheat-light);
}

@media (max-width: 900px) {
  .categories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-3);
    padding-bottom: var(--space-2);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .categories-grid::-webkit-scrollbar {
    display: none;
  }
  .category-card {
    flex: 0 0 calc(85% - 8px);
    scroll-snap-align: start;
  }
  .category-slider-controls {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   13. SECTION 04: SHOP THE FAVORITES (Wheat-Light Section)
   -------------------------------------------------------------------------- */
.favorites-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--charcoal);
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}
.product-img-secondary {
  opacity: 0;
  pointer-events: none;
}
.product-card:hover .product-img-primary {
  opacity: 0;
}
.product-card:hover .product-img-secondary {
  opacity: 1;
  transform: scale(1.03);
}

.product-gsm-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--charcoal);
  color: var(--wheat-light);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 2;
}

/* Quick Add Button on Hover */
.quick-add-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(0deg, rgba(22, 21, 20, 0.75) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-luxury);
  z-index: 3;
  display: flex;
  justify-content: center;
}
.product-card:hover .quick-add-overlay {
  transform: translateY(0);
}

.btn-quick-add {
  width: 100%;
  background-color: var(--wheat);
  color: var(--charcoal);
  padding: 12px;
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-quick-add:hover {
  background-color: var(--wheat-light);
}

.product-info {
  padding-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.product-title {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.product-price {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: var(--charcoal);
}
.product-spec-caption {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-wheat-light-subtle);
}

@media (max-width: 1024px) {
  .products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}
@media (max-width: 600px) {
  .products-grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .quick-add-overlay {
    transform: translateY(0);
    background: transparent;
    position: static;
    padding: 8px 0 0 0;
  }
  .btn-quick-add {
    background-color: var(--charcoal);
    color: var(--wheat-light);
    border: 1px solid var(--charcoal);
  }
}

/* --------------------------------------------------------------------------
   14. SECTION 05: FABRIC STORY (Charcoal Section)
   -------------------------------------------------------------------------- */
.fabric-story-section {
  position: relative;
  background-color: var(--charcoal-deep);
  color: var(--wheat-light);
  overflow: hidden;
}

.fabric-story-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.32;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.fabric-story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fabric-content-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.fabric-numerals-graphic {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  opacity: 0.95;
}
.numeral-slash {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  color: var(--text-on-charcoal-subtle);
  font-weight: 300;
}

.fabric-story-title {
  margin-bottom: var(--space-3);
}

.fabric-story-text {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--text-on-charcoal-subtle);
  max-width: 650px;
  margin: 0 auto var(--space-6);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  border-top: 1px solid var(--hairline-on-charcoal);
  border-bottom: 1px solid var(--hairline-on-charcoal);
  padding: var(--space-3) 0;
}
.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-item-value {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 400;
  color: var(--wheat-light);
}
.spec-item-label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-3);
  }
}

/* --------------------------------------------------------------------------
   15. SECTION 06: LOOKBOOK (Pinned Horizontal-Scroll Section)
   -------------------------------------------------------------------------- */
.lookbook-section-pin {
  position: relative;
  background-color: var(--charcoal);
  color: var(--wheat-light);
  overflow: hidden;
}

.lookbook-header-bar {
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--hairline-on-charcoal);
}

.lookbook-scroll-wrapper {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  will-change: transform;
  width: max-content;
}

.lookbook-slide {
  flex: 0 0 clamp(320px, 42vw, 560px);
  display: flex;
  flex-direction: column;
}
.lookbook-slide-media {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--charcoal-deep);
  position: relative;
}
.lookbook-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-luxury);
}
.lookbook-slide:hover .lookbook-slide-media img {
  transform: scale(1.03);
}

.lookbook-slide-info {
  padding-top: var(--space-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.lookbook-slide-num {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  color: var(--accent);
  letter-spacing: 0.18em;
}

/* --------------------------------------------------------------------------
   16. SECTION 07: CUSTOMER FEEDBACK (Wheat Section)
   -------------------------------------------------------------------------- */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.feedback-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-4) var(--space-2);
  border-left: 1px solid var(--hairline-on-wheat);
}
.feedback-card:last-child {
  border-right: 1px solid var(--hairline-on-wheat);
}

.feedback-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.feedback-star-icon {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  stroke-width: 1.2;
  fill: var(--accent);
}

.feedback-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--charcoal);
  margin-bottom: var(--space-4);
  font-style: italic;
}

.feedback-author {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-wheat-subtle);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .feedback-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-4);
  }
}
@media (max-width: 600px) {
  .feedback-grid {
    grid-template-columns: 1fr;
    row-gap: var(--space-3);
  }
  .feedback-card {
    border-left: none;
    border-top: 1px solid var(--hairline-on-wheat);
    padding: var(--space-3) 0;
  }
  .feedback-card:last-child {
    border-right: none;
    border-bottom: 1px solid var(--hairline-on-wheat);
  }
}

/* --------------------------------------------------------------------------
   17. SECTION 08: DROP 01 FEATURE (Wheat-Light Section)
   -------------------------------------------------------------------------- */
.drop-feature-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}

.drop-composition {
  position: relative;
  min-height: 580px;
}
.drop-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  aspect-ratio: 4 / 5;
  z-index: 1;
  border: 1px solid var(--hairline-on-wheat-light);
}
.drop-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 3 / 4;
  z-index: 2;
  border: 1px solid var(--hairline-on-wheat-light);
  transform: translateY(20px);
}
.drop-img-accent {
  position: absolute;
  top: 35%;
  left: 45%;
  width: 40%;
  aspect-ratio: 1 / 1;
  z-index: 3;
  border: 1px solid var(--hairline-on-wheat-light);
  transform: translate(-10%, -20%);
}

.drop-text-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 500px;
}

@media (max-width: 900px) {
  .drop-feature-wrapper {
    grid-template-columns: 1fr;
  }
  .drop-composition {
    min-height: 440px;
  }
}

/* --------------------------------------------------------------------------
   18. SECTION 09: COMPLETE THE SET (Charcoal Section)
   -------------------------------------------------------------------------- */
.sets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.set-bundle-card {
  background-color: var(--charcoal-deep);
  border: 1px solid var(--hairline-on-charcoal);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.set-media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.set-media-item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.set-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.set-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.set-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.set-price-bundle {
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--wheat);
}
.set-price-original {
  font-size: var(--text-body-sm);
  color: var(--text-on-charcoal-subtle);
  text-decoration: line-through;
}

.set-selectors {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.set-size-select {
  padding: 8px 12px;
  border: 1px solid var(--hairline-on-charcoal);
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wheat-light);
  background-color: var(--charcoal);
}

@media (max-width: 800px) {
  .sets-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   19. SECTION 10: NEWSLETTER (Wheat Section)
   -------------------------------------------------------------------------- */
.newsletter-wrapper {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  margin-top: var(--space-5);
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 8px;
}
.newsletter-input {
  flex: 1;
  padding: 12px 0;
  font-size: var(--text-body);
  font-family: var(--font-sans);
  color: var(--charcoal);
  outline: none;
}
.newsletter-input::placeholder {
  color: var(--text-on-wheat-subtle);
  letter-spacing: 0.08em;
}
.newsletter-submit-btn {
  padding: 12px;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.newsletter-submit-btn:hover {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   20. SECTION 11: EDITORIAL SPLIT BLOCKS
   -------------------------------------------------------------------------- */
.editorial-split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  align-items: stretch;
}
.editorial-split-block.is-reversed {
  direction: rtl;
}
.editorial-split-block.is-reversed > * {
  direction: ltr;
}

.split-image-col {
  position: relative;
  overflow: hidden;
  background-color: var(--charcoal);
}
.split-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 120px);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .editorial-split-block,
  .editorial-split-block.is-reversed {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .split-image-col {
    aspect-ratio: 4 / 5;
  }
  .split-text-col {
    padding: var(--space-6) var(--container-padding);
  }
}

/* --------------------------------------------------------------------------
   21. SECTION 12: INSTAGRAM EDITORIAL GRID (Wheat Section)
   -------------------------------------------------------------------------- */
.instagram-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.instagram-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.insta-tile {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background-color: var(--charcoal);
  border: 1px solid var(--hairline-on-wheat);
}
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}
.insta-tile:hover img {
  transform: scale(1.05);
}

.instagram-footer {
  text-align: center;
  margin-top: var(--space-5);
}

@media (max-width: 768px) {
  .instagram-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   22. SECTION 13: FOOTER (Charcoal-Deep Section)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--charcoal-deep);
  color: var(--wheat-light);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: var(--space-6);
  border-top: 1px solid var(--hairline-on-charcoal);
}

.footer-wordmark-marquee {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 12.5rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--wheat);
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 110px);
  border-bottom: 1px solid var(--hairline-on-charcoal);
  padding-bottom: var(--space-4);
  user-select: none;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--hairline-on-charcoal);
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 380px;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 300;
  color: var(--wheat);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-links-list a {
  font-size: var(--text-body-sm);
  color: var(--text-on-charcoal-subtle);
  transition: color 0.3s ease;
}
.footer-links-list a:hover {
  color: var(--wheat);
}

.footer-bottom-bar {
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-charcoal-subtle);
}

@media (max-width: 900px) {
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-6);
  }
  .footer-brand-info {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand-info {
    grid-column: span 1;
  }
}

/* --------------------------------------------------------------------------
   23. CART DRAWER & QUICK-ADD MODAL
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 21, 20, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-luxury), visibility 0.4s;
}
.cart-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(90vw, 440px);
  height: 100%;
  background-color: var(--charcoal);
  color: var(--wheat-light);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-luxury);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--hairline-on-charcoal);
}
.cart-drawer.is-active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline-on-charcoal);
}

.free-shipping-bar {
  padding: var(--space-2) var(--space-4);
  background-color: var(--charcoal-deep);
  border-bottom: 1px solid var(--hairline-on-charcoal);
}
.shipping-progress-text {
  font-size: var(--text-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 6px;
}
.progress-track {
  width: 100%;
  height: 2px;
  background-color: var(--hairline-on-charcoal);
  position: relative;
}
.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 70%;
  background-color: var(--accent);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-2);
  align-items: center;
  border-bottom: 1px solid var(--hairline-on-charcoal);
  padding-bottom: var(--space-2);
}
.cart-item-img {
  width: 80px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.cart-item-title {
  font-size: var(--text-body-sm);
  color: var(--wheat-light);
  font-weight: 500;
}
.cart-item-meta {
  font-size: var(--text-label);
  color: var(--text-on-charcoal-subtle);
  text-transform: uppercase;
}

.cart-drawer-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--hairline-on-charcoal);
  background-color: var(--charcoal-deep);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-body);
  color: var(--wheat-light);
}

/* --------------------------------------------------------------------------
   24. ACCESSIBILITY & PREFERS-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;
  }
  .marquee-track {
    animation: none;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
