/*!
 * La Mama Boutique CSS v1.0.19 - product video support
 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;border:0 solid}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-size:16px}
body{line-height:inherit}
ul,ol{list-style:none}
img,svg,video{display:block;max-width:100%;height:auto}
a{background-color:transparent;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
table{border-collapse:collapse;border-spacing:0}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;top:1rem;left:1rem;width:auto;height:auto;padding:.75rem 1rem;background:#fff;color:#3C0A12;z-index:9999;clip:auto}

/* ==========================================================================
   La Mama Boutique — Design System Source
   Tailwind v4 source file. Compile with `npm run build` (or `npm run dev`).
   Output: assets/dist/app.css (loaded by WordPress).
   ========================================================================== */



/* ==========================================================================
   1. BRAND TOKENS  (CSS custom properties)
   ========================================================================== */

:root {
  /* Moody-luxe palette */
  --color-burgundy:        #3C0A12;  /* brand primary */
  --color-burgundy-deep:   #2A060C;
  --color-burgundy-soft:   #55131D;
  --color-charcoal:        #1A1A1A;  /* text primary */
  --color-charcoal-soft:   #2E2A28;
  --color-champagne:       #C9A875;  /* accent */
  --color-champagne-soft:  #E4CFAE;
  --color-ivory:           #F7F2EC;  /* background */
  --color-ivory-warm:      #EFE6DC;
  --color-red:             #E8212A;  /* logo red — use sparingly */
  --color-white:           #FFFFFF;
  --color-black:           #000000;

  /* Neutrals */
  --color-mist:            #F2EDE6;
  --color-stone:           #C8BFB3;
  --color-stone-dark:      #8A7F72;

  /* Typography stack */
  --font-display:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-script:   'Parisienne', 'Allura', cursive;
  --font-body:     'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Type scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.5rem;
  --text-5xl:   3.25rem;
  --text-6xl:   4.5rem;
  --text-7xl:   6rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-none: 0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-full: 9999px;

  /* Shadows — soft, never heavy */
  --shadow-sm:    0 1px 2px rgb(26 26 26 / 0.04);
  --shadow-md:    0 8px 24px -8px rgb(60 10 18 / 0.12);
  --shadow-lg:    0 20px 50px -20px rgb(60 10 18 / 0.25);
  --shadow-luxe:  0 30px 80px -30px rgb(26 26 26 / 0.35);

  /* Layout */
  --header-height:   88px;
  --announce-height: 38px;
  --container-max:   1400px;
  --container-wide:  1200px;
  --container-read:  72ch;
  /* Scales from 20px on phone → 32px on tablet → 48px on desktop → 64px on large */
  --page-pad:        clamp(1.25rem, 2.5vw, 4rem);

  /* Motion */
  --ease-out-soft:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-soft:  cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    200ms;
  --dur-base:    400ms;
  --dur-slow:    700ms;
  --dur-lux:     1100ms;

  /* Z-index — overlay sits BELOW drawers so the dim doesn't cover content */
  --z-base:       1;
  --z-raised:     10;
  --z-sticky:     100;
  --z-overlay:    380;
  --z-drawer:     400;
  --z-drawer-hi:  410;
  --z-modal:      600;
  --z-toast:      700;
}

/* ==========================================================================
   2. TAILWIND v4 THEME EXTENSION
   Exposes our tokens as Tailwind utilities (e.g. bg-burgundy, font-display).
   ========================================================================== */



/* ==========================================================================
   3. BASE / RESET
   ========================================================================== */


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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-ivory);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3.25rem); }
h3 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); }

.script,
.h-script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--color-burgundy);
  letter-spacing: 0;
}

a {
  color: var(--color-burgundy);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out-soft);
}
a:hover { color: var(--color-burgundy-soft); }

::selection {
  background: var(--color-burgundy);
  color: var(--color-ivory);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-stone), transparent);
  margin: var(--space-10) 0;
}


/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */



/* --- Buttons (simple, reliable bg+colour transition) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--color-charcoal);
  background: transparent;
  color: var(--color-charcoal);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-out-soft),
              color var(--dur-base) var(--ease-out-soft),
              border-color var(--dur-base) var(--ease-out-soft),
              transform var(--dur-fast) var(--ease-out-soft);
}
.btn:hover {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  border-color: var(--color-charcoal);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-burgundy);
  border-color: var(--color-burgundy);
  color: var(--color-ivory);
}
.btn--primary:hover {
  background: var(--color-burgundy-deep);
  border-color: var(--color-burgundy-deep);
  color: var(--color-ivory);
}

.btn--ghost {
  border-color: var(--color-ivory);
  color: var(--color-ivory);
  background: rgb(26 26 26 / 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: var(--color-ivory);
  color: var(--color-charcoal);
  border-color: var(--color-ivory);
}

.btn--outline-burgundy {
  border-color: var(--color-burgundy);
  color: var(--color-burgundy);
  background: transparent;
}
.btn--outline-burgundy:hover {
  background: var(--color-burgundy);
  color: var(--color-ivory);
  border-color: var(--color-burgundy);
}

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

.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.7rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 0.85rem; }

/* --- Eyebrow / overlines --- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-stone-dark);
}

/* --- Divider dot --- */
.divider-dot::before {
  content: "·";
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--color-champagne);
}

/* --- Container --- */
.container-luxe {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* --- Section --- */
.section {
  padding-block: clamp(3rem, 6vw, 6rem);
}

/* --- Announcement bar (fixed so it scrolls with the header) --- */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-burgundy);
  color: var(--color-ivory);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 3rem 0.55rem 1rem;
  overflow: hidden;
  height: var(--announce-height);
  display: flex;
  align-items: center;
  justify-content: center;
}
.announcement-bar__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  animation: announce-slide-in var(--dur-slow) var(--ease-out-soft) both;
}
.announcement-bar__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-ivory);
  opacity: 0.7;
  padding: 0.25rem;
  transition: opacity var(--dur-fast) var(--ease-out-soft);
}
.announcement-bar__close:hover { opacity: 1; }

/* --- Site header --- */
.site-header {
  position: fixed;
  top: var(--announce-height);
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: background var(--dur-base) var(--ease-out-soft),
              box-shadow var(--dur-base) var(--ease-out-soft),
              color var(--dur-base) var(--ease-out-soft);
  background: transparent;
  color: var(--color-charcoal);
}
body.announce-hidden .site-header { top: 0; }
body.no-hero .site-header,
.site-header.is-scrolled {
  background: var(--color-ivory);
  box-shadow: var(--shadow-sm);
  color: var(--color-charcoal);
}
/* Hero mode: header is transparent + ivory text until scrolled.
 * !important on every selector — beats theme.json link colour from Gutenberg. */
.site-header.is-hero-mode:not(.is-scrolled),
.site-header.is-hero-mode:not(.is-scrolled) .site-nav,
.site-header.is-hero-mode:not(.is-scrolled) .site-nav a,
.site-header.is-hero-mode:not(.is-scrolled) .site-nav a:visited,
.site-header.is-hero-mode:not(.is-scrolled) .site-nav__list a,
.site-header.is-hero-mode:not(.is-scrolled) .site-nav ul li a,
.site-header.is-hero-mode:not(.is-scrolled) .menu-toggle,
.site-header.is-hero-mode:not(.is-scrolled) .header-actions a,
.site-header.is-hero-mode:not(.is-scrolled) .header-actions a:visited,
.site-header.is-hero-mode:not(.is-scrolled) .header-actions button {
  color: var(--color-ivory) !important;
}
.site-header.is-hero-mode:not(.is-scrolled) {
  background: linear-gradient(180deg, rgb(26 26 26 / 0.4) 0%, rgb(26 26 26 / 0) 100%);
}
.site-header.is-hero-mode:not(.is-scrolled) .site-header__logo img,
.site-header.is-hero-mode:not(.is-scrolled) .site-header__logo .custom-logo {
  filter: drop-shadow(0 2px 12px rgb(0 0 0 / 0.4));
}

/* Scrolled or non-hero pages: charcoal text everywhere */
.site-header.is-scrolled,
.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .site-nav__list a,
.site-header.is-scrolled .menu-toggle,
.site-header.is-scrolled .header-actions a,
.site-header.is-scrolled .header-actions button,
body.no-hero .site-header,
body.no-hero .site-header .site-nav a,
body.no-hero .site-header .site-nav__list a,
body.no-hero .site-header .menu-toggle,
body.no-hero .site-header .header-actions a,
body.no-hero .site-header .header-actions button {
  color: var(--color-charcoal) !important;
}
.site-header.is-hidden { transform: translateY(-100%); }

/* Kill any underline on nav links — Gutenberg / browser default may add one
 * which collides with our scaleX hover pseudo-element underline */
.site-header .site-nav a,
.site-header .site-nav__list a,
.site-header .site-nav ul li a,
.site-header .header-actions a,
.site-header .header-actions button,
header#site-header a,
header#site-header button {
  text-decoration: none !important;
  border-bottom: none !important;
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 1.5rem;
}
.site-header__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  max-height: var(--header-height);
}
.site-header__logo a,
.site-header__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.site-header__logo img,
.site-header__logo .custom-logo {
  height: 54px !important;
  width: auto !important;
  max-width: 240px;
  object-fit: contain;
  transition: height var(--dur-base) var(--ease-out-soft);
}
.site-header.is-scrolled .site-header__logo img,
.site-header.is-scrolled .site-header__logo .custom-logo { height: 44px !important; }

/* Nav: centered between logo and actions */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-nav__list,
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  position: relative;
  padding: 0.5rem 0;
  display: inline-block;
  line-height: 1.2;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease-out-soft);
}
.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}
.header-actions button,
.header-actions a {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0.25rem;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out-soft);
}
.header-actions button:hover,
.header-actions a:hover { transform: scale(1.08); }
.header-actions svg { display: block; }

.mini-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-burgundy);
  color: var(--color-ivory);
  font-size: 0.62rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  box-shadow: 0 0 0 2px var(--color-ivory);
}
.site-header.is-hero-mode:not(.is-scrolled) .mini-cart-count {
  box-shadow: 0 0 0 2px rgb(26 26 26 / 0.35);
}

/* Header search bar — solid ivory regardless of header mode */
.header-search {
  background: var(--color-ivory);
  color: var(--color-charcoal);
  border-top: 1px solid var(--color-mist);
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out-soft);
}
.header-search.is-open {
  max-height: 120px;
}
.header-search__inner { padding-block: 1.1rem; }
.header-search__form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  border-bottom: 1px solid var(--color-stone);
  padding-bottom: 0.25rem;
}
.header-search__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 0.25rem;
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
}
.header-search__input:focus { outline: none; }

/* --- Mobile menu button --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: inherit;
  flex: 0 0 auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out-soft),
              opacity var(--dur-fast) var(--ease-out-soft);
  transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --- Mobile drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(90vw, 420px);
  background: var(--color-ivory);
  z-index: var(--z-drawer);
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out-soft);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer li { border-bottom: 1px solid var(--color-mist); }
.mobile-drawer a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-charcoal);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--dur-base) var(--ease-out-soft),
              transform var(--dur-base) var(--ease-out-soft),
              color var(--dur-fast) var(--ease-out-soft);
}
.mobile-drawer.is-open a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-drawer.is-open li:nth-child(1) a { transition-delay: 0.15s; }
.mobile-drawer.is-open li:nth-child(2) a { transition-delay: 0.22s; }
.mobile-drawer.is-open li:nth-child(3) a { transition-delay: 0.29s; }
.mobile-drawer.is-open li:nth-child(4) a { transition-delay: 0.36s; }
.mobile-drawer.is-open li:nth-child(5) a { transition-delay: 0.43s; }
.mobile-drawer.is-open li:nth-child(6) a { transition-delay: 0.50s; }
.mobile-drawer.is-open li:nth-child(7) a { transition-delay: 0.57s; }

.mobile-drawer a:hover { color: var(--color-burgundy); }

/* Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgb(26 26 26 / 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-overlay);
  transition: opacity var(--dur-base) var(--ease-out-soft),
              visibility var(--dur-base) var(--ease-out-soft);
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

/* --- Mini-cart drawer --- */
.mini-cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(90vw, 440px);
  background: var(--color-ivory);
  z-index: calc(var(--z-drawer) + 10);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out-soft);
}
.mini-cart.is-open { transform: translateX(0); }
.mini-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--color-mist);
}
.mini-cart__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}
.mini-cart__close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  padding: 0.25rem;
  transition: transform var(--dur-fast) var(--ease-out-soft);
}
.mini-cart__close:hover { transform: rotate(90deg); }
.mini-cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
}
.mini-cart__foot {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--color-mist);
  background: var(--color-ivory-warm);
}
.mini-cart__foot .subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.mini-cart__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-stone-dark);
}

/* ==========================================================================
 * HERO — EDITORIAL COLLAGE (3 staggered portraits + centred text below)
 * ========================================================================== */
.hero--collage {
  position: relative;
  height: auto !important;
  min-height: auto;
  padding: calc(var(--header-height) + var(--announce-height) + 3rem) 0 5rem !important;
  background: radial-gradient(ellipse at top, var(--color-ivory) 0%, var(--color-ivory-warm) 80%);
  color: var(--color-charcoal);
  display: block;
  overflow: hidden;
}
body.announce-hidden .hero--collage {
  padding-top: calc(var(--header-height) + 3rem) !important;
}
.hero--collage > .container-luxe {
  position: relative;
  z-index: 2;
}
.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.75rem);
  max-width: 1100px;
  margin: 0 auto 3rem;
  align-items: start;
}
.hero-collage__card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-mist);
  color: var(--color-ivory);
  aspect-ratio: 3 / 4;
  transition: transform var(--dur-base) var(--ease-out-soft),
              box-shadow var(--dur-base) var(--ease-out-soft);
  will-change: transform;
  border-radius: 2px;
}
.hero-collage__card--left {
  margin-top: clamp(2rem, 4vw, 4rem);
  aspect-ratio: 3 / 4;
}
.hero-collage__card--center {
  aspect-ratio: 3 / 4.4;
  margin-top: 0;
  box-shadow: 0 30px 60px -30px rgb(60 10 18 / 0.35);
}
.hero-collage__card--right {
  margin-top: clamp(1rem, 2vw, 2.5rem);
  aspect-ratio: 3 / 3.8;
}
/* Two images stacked per tile — primary visible, secondary fades in on cycle */
.hero-collage__card .hero-collage__img,
.hero-collage__card img.hero-collage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s var(--ease-in-out-soft);
  will-change: opacity;
}
.hero-collage__card .hero-collage__img.is-active {
  opacity: 1;
  animation: hero-collage-zoom 14s var(--ease-in-out-soft) both;
}
.hero-collage__card--center .hero-collage__img.is-active { animation-duration: 18s; }
.hero-collage__card:hover .hero-collage__img.is-active { transform: scale(1.08); }
.hero-collage__card:hover {
  box-shadow: 0 24px 50px -20px rgb(26 26 26 / 0.25);
}
.hero-collage__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0) 60%, rgb(0 0 0 / 0.55) 100%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out-soft);
  pointer-events: none;
}
.hero-collage__card:hover::after { opacity: 1; }
.hero-collage__caption {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-out-soft),
              transform var(--dur-base) var(--ease-out-soft);
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.4);
}
.hero-collage__card:hover .hero-collage__caption {
  opacity: 1;
  transform: translateY(0);
}
.hero-collage__text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  animation: hero-rise var(--dur-lux) var(--ease-out-soft) 0.3s both;
}
.hero-collage__tagline {
  font-family: var(--font-script);
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  color: var(--color-burgundy);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.hero-collage__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--color-charcoal);
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
}
.hero-collage__sub {
  color: var(--color-charcoal-soft);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .hero-collage {
    grid-template-columns: 1fr 1fr;
    max-width: 560px;
    gap: 0.6rem;
  }
  .hero-collage__card--right { display: none; }
  .hero-collage__card--left,
  .hero-collage__card--center {
    margin-top: 0;
    aspect-ratio: 3/4;
  }
}
@media (max-width: 420px) {
  .hero-collage { grid-template-columns: 1fr; max-width: 320px; }
  .hero-collage__card--left { display: none; }
}
@keyframes hero-collage-zoom {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.14); }
}

/* --- Hero (legacy fullbleed) --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: hero-ken-burns 14s var(--ease-in-out-soft) both;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(26 26 26 / 0.45) 0%, rgb(26 26 26 / 0.55) 60%, rgb(26 26 26 / 0.75) 100%),
    linear-gradient(90deg, rgb(60 10 18 / 0.35) 0%, transparent 65%);
}
.hero__content {
  max-width: 720px;
  padding-block: 6rem;
  animation: hero-rise var(--dur-lux) var(--ease-out-soft) 0.3s both;
  position: relative;
  z-index: 2;
}
.hero__tagline {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  color: var(--color-champagne);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.45);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw + 1rem, 6rem);
  font-weight: 500;
  line-height: 0.98;
  color: #FFFFFF;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 32px rgb(0 0 0 / 0.55), 0 2px 6px rgb(0 0 0 / 0.4);
}
.hero__sub {
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 0 2.5rem;
  color: var(--color-ivory);
  opacity: 0.96;
  text-shadow: 0 2px 14px rgb(0 0 0 / 0.5);
}
.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-ivory);
  opacity: 0.8;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: scroll-cue-bob 2.5s ease-in-out infinite;
}
.hero__scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
  margin: 0.5rem auto 0;
  transform-origin: top;
}

/* --- Section heading (centered editorial) --- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-head__script {
  font-family: var(--font-script);
  color: var(--color-burgundy);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  margin: 0 0 1rem;
}
.section-head__sub {
  color: var(--color-stone-dark);
  font-size: 1rem;
}

/* --- Category tiles --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.category-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-charcoal-soft);
  color: var(--color-ivory);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  isolation: isolate;
  transition: transform var(--dur-base) var(--ease-out-soft);
}
.category-tile__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease-out-soft);
}
.category-tile__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.25) 45%, rgb(0 0 0 / 0.85) 100%);
  transition: background var(--dur-base) var(--ease-out-soft);
}
.category-tile:hover .category-tile__img { transform: scale(1.08); }
.category-tile:hover .category-tile__img::after {
  background:
    linear-gradient(180deg, rgb(60 10 18 / 0.15) 0%, rgb(60 10 18 / 0.45) 50%, rgb(60 10 18 / 0.9) 100%);
}
.category-tile__label {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin: 0;
  color: var(--color-ivory);
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.6), 0 1px 2px rgb(0 0 0 / 0.4);
}
.category-tile__count {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-top: 0.5rem;
  color: var(--color-champagne-soft);
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.5);
}

/* --- Product card --- */
.product-card {
  position: relative;
  display: block;
  color: var(--color-charcoal);
}
.product-card__media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-mist);
  margin-bottom: 0.9rem;
}
.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-lux) var(--ease-out-soft),
              opacity var(--dur-base) var(--ease-out-soft);
}
.product-card__media img.secondary {
  opacity: 0;
}
.product-card:hover .product-card__media img.primary {
  opacity: 0;
  transform: scale(1.04);
}
.product-card:hover .product-card__media img.secondary {
  opacity: 1;
  transform: scale(1.04);
}
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-burgundy);
  color: var(--color-ivory);
  padding: 0.3rem 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.product-card__quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--color-charcoal);
  color: var(--color-ivory);
  padding: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-out-soft);
  z-index: 2;
}
.product-card:hover .product-card__quick { transform: translateY(0); }
.product-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}
.product-card__price {
  font-size: 0.9rem;
  color: var(--color-burgundy);
  letter-spacing: 0.02em;
}
.product-card__price del {
  color: var(--color-stone-dark);
  margin-right: 0.5rem;
  font-weight: 400;
}

/* Grid — high-specificity rule that beats Woo's default ul.products selector.
 * clear: both is critical: stops the products UL visually wrapping around any
 * floated result-count / ordering siblings (which is what causes the
 * apparent "first cell empty" bug). */
.product-grid,
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products.product-grid,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 2.5rem 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  clear: both !important;
  width: 100% !important;
}
/* AGGRESSIVE: every direct child of a products grid sits in auto-flow,
 * starting at column auto (never offset). Prevents any "first cell empty"
 * caused by an explicit grid-column-start somewhere in cascade. */
.product-grid > *,
.woocommerce ul.products > *,
.woocommerce-page ul.products > *,
ul.products > * {
  grid-column-start: auto !important;
  grid-column-end: auto !important;
  grid-row-start: auto !important;
  grid-row-end: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

/* THE FIX: WooCommerce's default CSS adds clearfix pseudos
 *   .woocommerce ul.products::before { content: " "; display: table; }
 * which become PHANTOM GRID ITEMS when the UL is display:grid — taking up
 * cell 1 and shifting all real products one position. Killing them
 * completely with content: none. */
.product-grid::before,
.product-grid::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
ul.products::before,
ul.products::after {
  content: none !important;
  display: none !important;
}
/* Belt-and-braces: kill any float on the result count / ordering siblings
 * regardless of which template renders them. */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count,
p.woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering,
form.woocommerce-ordering {
  float: none !important;
}
/* And give the wrapper a clearfix in case the old woocommerce.php is still
 * being served from cache. */
.woocommerce-wrap::after,
body.woocommerce > #content::after,
body.woocommerce-page > #content::after {
  content: "";
  display: table;
  clear: both;
}
/* Related / upsell products use a slightly tighter grid */
.related.products ul.products,
.upsells.products ul.products,
section.related ul.products,
section.up-sells ul.products {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 2rem 1.25rem !important;
}
/* Mobile sizing */
@media (max-width: 540px) {
  .product-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.75rem 1rem !important;
  }
  .related.products ul.products,
  .upsells.products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
.product-card-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  width: auto !important;
}
.product-card-item .product-card { display: block; height: 100%; }
.product-card__badge--featured {
  background: var(--color-champagne);
  color: var(--color-charcoal);
}

/* --- Editorial band (two column with parallax image) --- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 620px;
  background: var(--color-burgundy);
  color: var(--color-ivory);
}
.editorial__media {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.editorial__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial__text {
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  line-height: 1.2;
  font-style: italic;
  margin: 0 0 2rem;
}
.editorial__cite {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--color-ivory-warm);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.testimonials__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}
.testimonial {
  background: var(--color-ivory);
  padding: 2.25rem 2rem;
  border: 1px solid var(--color-mist);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.25rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-champagne);
  opacity: 0.5;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 1.5rem;
  position: relative;
}
.testimonial__name {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-burgundy);
}
.testimonial__meta {
  font-size: 0.78rem;
  color: var(--color-stone-dark);
  margin-top: 0.2rem;
}

/* --- Instagram strip --- */
.ig-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.25rem;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.ig-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-lux) var(--ease-out-soft),
              filter var(--dur-base) var(--ease-out-soft);
}
.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(60 10 18 / 0);
  transition: background var(--dur-base) var(--ease-out-soft);
}
.ig-tile:hover img { transform: scale(1.06); filter: brightness(0.85); }
.ig-tile:hover::after { background: rgb(60 10 18 / 0.2); }
.ig-tile__icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  color: var(--color-ivory);
  transition: opacity var(--dur-base) var(--ease-out-soft),
              transform var(--dur-base) var(--ease-out-soft);
  z-index: 2;
}
.ig-tile:hover .ig-tile__icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* --- Pre-footer CTA band --- */
.cta-band {
  background:
    linear-gradient(135deg, rgb(60 10 18 / 0.92) 0%, rgb(42 6 12 / 0.96) 100%),
    url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1600&q=70');
  background-size: cover;
  background-position: center;
  color: var(--color-ivory);
  padding-block: clamp(4rem, 7vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgb(201 168 117 / 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > .container-luxe { position: relative; z-index: 1; }
.cta-band__script {
  font-family: var(--font-script);
  color: var(--color-champagne);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
  margin: 0 0 1rem;
  color: var(--color-ivory);
  line-height: 1.15;
}
.cta-band__sub {
  color: rgb(247 242 236 / 0.85);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  padding: clamp(3rem, 5vw, 5rem) 0 1.5rem;
}
/* Defensive: force ivory text on every descendant so Woo/menu styles can't darken it */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h5,
.site-footer h6,
.site-footer label,
.site-footer ul.menu,
.site-footer .menu li,
.site-footer .menu li a {
  color: var(--color-ivory);
}
.site-footer a {
  color: var(--color-ivory) !important;
  opacity: 0.85;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--color-champagne) !important;
  opacity: 1;
}
.site-footer .footer-col h4 { color: var(--color-champagne); }
.site-footer .footer-brand-tag { color: var(--color-champagne); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-champagne);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0.3rem 0; font-size: 0.92rem; }
.footer-brand-tag {
  font-family: var(--font-script);
  color: var(--color-champagne);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  display: block;
}
/* Lamama form (used on Contact page and anywhere else) — all fields styled
 * identically: bordered, ivory background, flat radius. */
.lamama-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.lamama-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.lamama-form__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-stone-dark);
}
.lamama-form input,
.lamama-form select,
.lamama-form textarea {
  width: 100%;
  border: 1px solid var(--color-stone);
  background: var(--color-ivory);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--color-charcoal);
  font-family: var(--font-body);
  border-radius: 0;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.lamama-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233C0A12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.lamama-form textarea {
  resize: vertical;
  min-height: 120px;
}
.lamama-form input:focus,
.lamama-form select:focus,
.lamama-form textarea:focus {
  outline: none;
  border-color: var(--color-burgundy);
  background: var(--color-white);
}

.footer-contact p {
  font-size: 0.92rem;
  opacity: 0.82;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.5;
}
.footer-contact p svg,
.footer-contact p i {
  flex: 0 0 auto;
  display: inline-block !important;
  vertical-align: middle !important;
}
.footer-contact p a {
  color: inherit;
}
.footer-socials {
  display: flex;
  gap: 0.85rem;
  margin-top: 1rem;
}
.footer-socials a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(247 242 236 / 0.25);
  border-radius: var(--radius-full);
  transition: background var(--dur-fast) var(--ease-out-soft),
              border-color var(--dur-fast) var(--ease-out-soft),
              transform var(--dur-fast) var(--ease-out-soft);
}
.footer-socials a:hover {
  background: var(--color-champagne);
  border-color: var(--color-champagne);
  color: var(--color-charcoal);
  transform: translateY(-2px);
}
.footer-bar {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  padding: 1.5rem var(--page-pad) 0;
  border-top: 1px solid rgb(247 242 236 / 0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  opacity: 0.85;
  letter-spacing: 0.08em;
}
.footer-pay {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-pay span {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgb(201 168 117 / 0.5);
  color: var(--color-champagne-soft);
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --- Floating WhatsApp --- */
.fab-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-out-soft);
}
.fab-whatsapp:hover { transform: scale(1.1); color: white; }
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: #25D366;
  animation: fab-pulse 2.5s ease-out infinite;
  z-index: -1;
}

/* --- Page headers ---
 * Bulletproof: every property !important so nothing leaks. */
section.page-hero,
.page-hero {
  padding: calc(var(--header-height) + var(--announce-height) + 3rem) var(--page-pad) 3rem !important;
  text-align: center !important;
  background: linear-gradient(180deg, var(--color-ivory-warm), var(--color-ivory)) !important;
  display: block !important;
  width: 100% !important;
}
body.announce-hidden section.page-hero,
body.announce-hidden .page-hero {
  padding-top: calc(var(--header-height) + 3rem) !important;
}
/* The inner container is centred at 880px max */
.page-hero > .container-luxe,
section.page-hero > .container-luxe {
  max-width: 880px !important;
  width: 100% !important;
  margin-inline: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 0 !important;
  text-align: center !important;
}
/* And every text element inside is explicitly centred */
.page-hero .page-hero__script,
.page-hero .page-hero__title,
.page-hero .page-hero__desc,
.page-hero .page-hero__crumbs,
.page-hero h1.page-hero__title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.page-hero__script {
  font-family: var(--font-script);
  color: var(--color-burgundy);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
  margin: 0;
  line-height: 1.1;
  word-wrap: break-word;
}
.page-hero__desc {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--color-stone-dark);
  line-height: 1.7;
  font-size: 1rem;
}
.page-hero__crumbs {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-stone-dark);
}

/* --- Accordion (FAQ) --- */
.accordion { max-width: 780px; margin: 0 auto; }
.accordion__item {
  border-bottom: 1px solid var(--color-mist);
}
.accordion__trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-charcoal);
  cursor: pointer;
  gap: 1rem;
}
.accordion__icon {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out-soft);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--color-burgundy);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-base) var(--ease-out-soft);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out-soft);
}
.accordion__panel-inner {
  padding: 0 0 1.5rem;
  color: var(--color-charcoal-soft);
  line-height: 1.7;
}

/* --- Reveal animation hook ---
 * Only hides content when JS is loaded (html.has-js).
 * That way a script error or missed IO firing can never leave the page blank. */
html.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-lux) var(--ease-out-soft),
              transform var(--dur-lux) var(--ease-out-soft);
}
html.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
html.has-js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out-soft),
              transform var(--dur-slow) var(--ease-out-soft);
}
html.has-js .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
html.has-js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
html.has-js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
html.has-js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
html.has-js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
html.has-js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
html.has-js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
html.has-js .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
html.has-js .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }

/* --- Marquee (optional decorative strip) --- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--color-burgundy);
  color: var(--color-champagne);
  padding: 0.75rem 0;
  font-family: var(--font-script);
  font-size: 1.5rem;
}
.marquee__track {
  display: inline-block;
  animation: marquee-slide 30s linear infinite;
}
.marquee__track span { padding-inline: 2rem; }

/* --- Size guide table --- */
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}
.size-table th,
.size-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-mist);
}
.size-table th {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  background: var(--color-ivory-warm);
  color: var(--color-burgundy);
}
.size-table tr:hover td { background: var(--color-ivory-warm); }

/* --- Press logo wall --- */
.press-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  align-items: center;
}
.press-wall__item {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-stone-dark);
  letter-spacing: 0.04em;
  font-style: italic;
  transition: color var(--dur-base) var(--ease-out-soft);
}
.press-wall__item:hover { color: var(--color-burgundy); }

/* --- Responsive collapse --- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__logo {
    flex: 1 1 auto;
    justify-content: center;
  }
  .site-header__logo img { height: 44px; }
  .site-header.is-scrolled .site-header__logo img { height: 38px; }
  .header-actions { gap: 0.85rem; }
  .editorial { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .header-actions .hide-xs { display: none; }
  .site-header__inner { gap: 0.5rem; }
  .site-header__logo img { height: 38px; }
}

/* --- Visible focus rings for keyboard users --- */
*:focus-visible {
  outline: 2px solid var(--color-champagne);
  outline-offset: 3px;
  border-radius: 1px;
}
.btn:focus-visible {
  outline-offset: 4px;
}
.product-card:focus-visible {
  outline-offset: 6px;
}

/* --- Announcement bar link contrast --- */
.announcement-bar a {
  color: var(--color-champagne) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.announcement-bar a:hover { color: var(--color-ivory) !important; }


/* ==========================================================================
   5. KEYFRAMES
   ========================================================================== */

@keyframes hero-ken-burns {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.14); }
}
@keyframes hero-rise {
  0%   { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes announce-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fab-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   6. ACCESSIBILITY — 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;
  }
  html.has-js .reveal,
  html.has-js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   7. WOOCOMMERCE INTEGRATION OVERRIDES
   ========================================================================== */



/* Outer Woo wrapper — give shop pages container + breathing room.
 * Pushes content below the fixed header + announcement bar. */
body.woocommerce,
body.woocommerce-page {
  padding-top: 0;
}
.woocommerce-wrap {
  padding-top: calc(var(--header-height) + var(--announce-height) + 2rem);
}
body.announce-hidden .woocommerce-wrap {
  padding-top: calc(var(--header-height) + 2rem);
}
.woocommerce-wrap > .container-luxe,
.woocommerce-wrap > .woocommerce-notices-wrapper,
.woocommerce-notices-wrapper {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* --- All Woo buttons --- */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce-page .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  padding: 1rem 1.75rem !important;
  background: var(--color-burgundy) !important;
  color: var(--color-ivory) !important;
  border: 1px solid var(--color-burgundy) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out-soft),
              border-color var(--dur-base) var(--ease-out-soft) !important;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce input.button:hover {
  background: var(--color-burgundy-deep) !important;
  border-color: var(--color-burgundy-deep) !important;
  color: var(--color-ivory) !important;
}
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--color-charcoal) !important;
  border-color: var(--color-charcoal) !important;
}
.woocommerce .button.alt:hover {
  background: var(--color-burgundy) !important;
  border-color: var(--color-burgundy) !important;
}

/* --- Single product page layout ---
 * Use named grid areas so the gallery + summary sit side by side,
 * but tabs (description) and related products span the full width below. */
.single-product div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "images summary"
    "video   video"
    "tabs    tabs"
    "related related"
    "upsells upsells";
  column-gap: 4rem;
  row-gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem var(--page-pad) 4rem;
}
.single-product div.product > .images,
.single-product div.product > .woocommerce-product-gallery {
  grid-area: images;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.single-product div.product > .summary,
.single-product div.product > .entry-summary {
  grid-area: summary;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 1rem 0;
}
.single-product div.product > .lamama-product-video {
  grid-area: video;
  width: 100% !important;
  margin-top: 4rem !important;
  padding-top: 4rem;
  border-top: 1px solid var(--color-mist);
  text-align: center;
}
.lamama-product-video__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-stone-dark);
  margin-bottom: 0.5rem;
}
.lamama-product-video__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  margin: 0 0 2rem;
  color: var(--color-charcoal);
  font-weight: 500;
}
.lamama-product-video__player {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-charcoal);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lamama-product-video__player video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--color-charcoal);
}

.single-product div.product > .woocommerce-tabs {
  grid-area: tabs;
  width: 100% !important;
  margin-top: 4rem !important;
}
.single-product div.product > .related {
  grid-area: related;
  width: 100% !important;
  margin-top: 2rem !important;
}
.single-product div.product > .up-sells,
.single-product div.product > .upsells {
  grid-area: upsells;
  width: 100% !important;
  margin-top: 2rem !important;
}
.single-product .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 3vw + 1rem, 3rem) !important;
  font-weight: 500 !important;
  line-height: 1.1;
  margin: 0 0 1rem !important;
  color: var(--color-charcoal);
}
.single-product .summary .price,
.single-product div.product p.price,
.single-product div.product span.price {
  color: var(--color-burgundy) !important;
  font-family: var(--font-body);
  font-size: 1.5rem !important;
  font-weight: 500;
  margin: 0 0 1.5rem !important;
}
.single-product .summary .price del { color: var(--color-stone-dark) !important; font-weight: 400; opacity: 0.7; margin-right: 0.5rem; }
.single-product .summary .price ins { background: transparent !important; text-decoration: none; }
.single-product .woocommerce-product-details__short-description {
  color: var(--color-charcoal-soft);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-mist);
}
.single-product form.cart {
  margin-bottom: 2rem !important;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-mist);
}
.single-product .quantity {
  display: inline-flex !important;
  align-items: center;
  margin-right: 1rem !important;
  border: 1px solid var(--color-stone);
}
.single-product .quantity input.qty {
  width: 70px !important;
  height: 50px;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
  -moz-appearance: textfield;
}
.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product table.variations {
  margin-bottom: 1rem !important;
}
.single-product table.variations th {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-stone-dark);
  padding: 0.5rem 1rem 0.5rem 0;
  vertical-align: middle;
}
.single-product table.variations select {
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-stone);
  background: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  min-width: 200px;
}
.single-product .product_meta {
  font-size: 0.85rem;
  color: var(--color-stone-dark);
  line-height: 1.8;
}
.single-product .product_meta > span {
  display: block;
  padding: 0.2rem 0;
}
.single-product .product_meta a {
  color: var(--color-burgundy);
}

/* Tabs */
.woocommerce-tabs {
  max-width: var(--container-max);
  margin: 0 auto !important;
  padding: 3rem var(--page-pad);
  border-top: 1px solid var(--color-mist);
}
.woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 2rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 2rem !important;
  border-bottom: 1px solid var(--color-mist) !important;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a {
  padding: 1rem 0 !important;
  color: var(--color-stone-dark) !important;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  color: var(--color-burgundy) !important;
  border-bottom-color: var(--color-burgundy);
}
.woocommerce-tabs .panel {
  line-height: 1.8;
  color: var(--color-charcoal-soft);
  font-size: 1rem;
}
.woocommerce-tabs .panel h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Related products */
.related.products,
.upsells.products {
  max-width: var(--container-max);
  margin: 0 auto !important;
  padding: 3rem var(--page-pad);
  border-top: 1px solid var(--color-mist);
}
.related.products > h2,
.upsells.products > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  text-align: center;
  margin: 0 0 2.5rem;
  color: var(--color-charcoal);
}
.related.products ul.products,
.upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 2rem 1.25rem;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

/* Notices */
.woocommerce-notices-wrapper { margin-bottom: 1rem; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--color-burgundy) !important;
  background: var(--color-ivory-warm) !important;
  color: var(--color-charcoal) !important;
  padding: 1rem 1.25rem 1rem 3rem !important;
  border-radius: 0 !important;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { color: var(--color-burgundy) !important; }

/* Stars */
.woocommerce .star-rating span::before,
.woocommerce p.stars a { color: var(--color-champagne); }

/* Stock message */
.woocommerce div.product .stock { color: var(--color-burgundy); font-size: 0.85rem; }
.woocommerce div.product .stock.in-stock::before {
  content: "•";
  color: #2D8B57;
  margin-right: 0.4rem;
  font-size: 1.2rem;
  line-height: 0;
  vertical-align: middle;
}

/* Cart and checkout tweaks */
.woocommerce table.shop_table {
  border-radius: 0 !important;
  border: 1px solid var(--color-mist) !important;
}
.woocommerce table.shop_table th {
  font-family: var(--font-display);
  font-weight: 500;
}

/* Mobile single product */
@media (max-width: 820px) {
  .single-product div.product {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "images"
      "summary"
      "video"
      "tabs"
      "related"
      "upsells" !important;
    column-gap: 0 !important;
    row-gap: 2rem !important;
  }
  .single-product div.product > .woocommerce-tabs,
  .single-product div.product > .related,
  .single-product div.product > .up-sells,
  .single-product div.product > .lamama-product-video {
    margin-top: 1rem !important;
  }
  .single-product div.product > .lamama-product-video {
    padding-top: 2rem;
  }
}

/* Lock the main containers to block layout — my product grid !important rule
 * could otherwise leak onto these via overlooked specificity. */
main.shop-main,
.shop-main,
body.woocommerce main#primary,
body.woocommerce-page main#primary,
.woocommerce-wrap,
body.single-product main#primary {
  display: block !important;
  width: 100% !important;
  max-width: var(--container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--page-pad) !important;
  padding-right: var(--page-pad) !important;
  grid-template-columns: none !important;
}

/* Legacy fallback: if .woocommerce-wrap is rendered (old template still in
 * cache or some Woo page bypasses my archive-product.php override), make
 * the wrapper a flex row with full-width items for h1/notices/UL/pagination,
 * and let the result count + ordering form share a single row. */
.woocommerce-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1rem 0 !important;
  padding-top: calc(var(--header-height) + var(--announce-height) + 2rem) !important;
}
body.announce-hidden .woocommerce-wrap {
  padding-top: calc(var(--header-height) + 2rem) !important;
}
.woocommerce-wrap > h1.page-title {
  flex: 0 0 100% !important;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1.5rem !important;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-mist);
}
.woocommerce-wrap > .woocommerce-notices-wrapper {
  flex: 0 0 100% !important;
}
/* Result count and ordering form share a row */
.woocommerce-wrap > .woocommerce-result-count {
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  width: auto !important;
  display: block !important;
}
.woocommerce-wrap > .woocommerce-ordering {
  flex: 0 0 auto !important;
  margin: 0 0 0 auto !important;
  width: auto !important;
  display: inline-block !important;
}
/* Products UL and pagination break to their own full-width rows */
.woocommerce-wrap > ul.products,
.woocommerce-wrap > nav.woocommerce-pagination {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 1.5rem !important;
}

/* Shop toolbar — own outer section, outside main, so it can never end up
 * pulled into the products grid. */
section.shop-toolbar-section,
.shop-toolbar-section {
  background: var(--color-ivory) !important;
  padding: 1.5rem 0 0 !important;
  margin: 0 !important;
  display: block !important;
  width: 100% !important;
}
.shop-toolbar-section > .container-luxe {
  margin-inline: auto !important;
  max-width: var(--container-max) !important;
}
.shop-toolbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  padding: 0 0 1.5rem !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--color-mist) !important;
  width: 100% !important;
  clear: both;
  min-height: 56px;
}
.shop-toolbar::before { content: ""; display: none; }
.shop-toolbar::after  { content: ""; display: table; clear: both; }

/* Inside .shop-toolbar there are THREE direct flex children:
 *   1. .woocommerce-notices-wrapper (usually empty)
 *   2. p.woocommerce-result-count
 *   3. form.woocommerce-ordering
 *
 * With justify-content: space-between, the empty notices wrapper takes the
 * left flex slot, pushing the result count to the middle. Fix: hide empty
 * notices, and when notices are present, make them span 100% (their own
 * row above the toolbar) so result count + form share the bottom row. */
.shop-toolbar > .woocommerce-notices-wrapper:empty {
  display: none !important;
}
.shop-toolbar > .woocommerce-notices-wrapper {
  flex: 0 0 100% !important;
  width: 100% !important;
  order: -1 !important;
  margin-bottom: 1rem !important;
}

/* Push main content down a touch from the toolbar */
.shop-toolbar-section + main.shop-main { padding-top: 2rem; }
/* Result count: kill Woo's float, plain block */
.woocommerce p.woocommerce-result-count,
.woocommerce-page p.woocommerce-result-count,
.shop-toolbar .woocommerce-result-count,
p.woocommerce-result-count {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--color-stone-dark) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
  float: none !important;
  display: block !important;
  width: auto !important;
  line-height: 1.4 !important;
}

/* Ordering form: force inline-block so children render properly */
.woocommerce form.woocommerce-ordering,
.woocommerce-page form.woocommerce-ordering,
.shop-toolbar .woocommerce-ordering,
form.woocommerce-ordering {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: inline-block !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
}
/* Anchor the ordering form to the right of the toolbar regardless of how
 * many siblings exist (margin-left:auto pushes it to the end of the flex row) */
.shop-toolbar > form.woocommerce-ordering,
.shop-toolbar > .woocommerce-ordering {
  margin-left: auto !important;
}

/* Select dropdown: bulletproof against every possible inheritance.
 * Multiple selectors so any markup variation hits the rule. */
select.orderby,
select[name="orderby"],
.woocommerce select.orderby,
.woocommerce-page select.orderby,
.woocommerce-ordering select,
.woocommerce-ordering select.orderby,
.shop-toolbar select.orderby,
.shop-toolbar .woocommerce-ordering select,
form.woocommerce-ordering select {
  display: inline-block !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 220px !important;
  max-width: 320px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  line-height: 1.2 !important;
  padding: 0 2.75rem 0 1rem !important;
  margin: 0 !important;
  border: 1px solid var(--color-stone) !important;
  background-color: var(--color-ivory) !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233C0A12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.85rem center !important;
  background-size: 14px !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  color: var(--color-charcoal) !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
/* Selecte options should NOT inherit weird styles */
select.orderby option,
.woocommerce select.orderby option {
  background: var(--color-ivory) !important;
  color: var(--color-charcoal) !important;
  font-family: var(--font-body) !important;
  padding: 0.5rem !important;
}
select.orderby:focus,
.woocommerce select.orderby:focus {
  outline: 2px solid var(--color-champagne);
  outline-offset: 2px;
  border-color: var(--color-burgundy) !important;
}

/* Mobile shop toolbar */
@media (max-width: 560px) {
  .shop-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  select.orderby,
  .woocommerce select.orderby {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Shop pagination */
.shop-pagination,
.woocommerce nav.woocommerce-pagination {
  margin-top: 3rem;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex !important;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 1px solid var(--color-mist) !important;
  color: var(--color-charcoal) !important;
  font-size: 0.9rem;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--color-burgundy) !important;
  border-color: var(--color-burgundy) !important;
  color: var(--color-ivory) !important;
}

/* Single product wrap — push below fixed bars */
.single-product-wrap {
  min-height: 60vh;
}

/* Cart / checkout / my-account: wider than reading width.
 * page.php constrains content to .entry { max-width: container-read } —
 * override that for Woo pages. */
body.woocommerce-cart .entry,
body.woocommerce-checkout .entry,
body.woocommerce-account .entry,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content {
  max-width: var(--container-wide) !important;
  width: 100% !important;
  margin: 0 auto !important;
}
body.woocommerce-cart main#primary,
body.woocommerce-checkout main#primary,
body.woocommerce-account main#primary {
  max-width: 100% !important;
  width: 100% !important;
}

/* Cart layout — totals beside items */
.woocommerce-cart .woocommerce-cart-form { width: 100% !important; }
.woocommerce-cart .cart-collaterals,
.woocommerce-cart-form__cart-item { color: var(--color-charcoal); }
.woocommerce-cart table.shop_table th {
  background: var(--color-ivory-warm);
  color: var(--color-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

/* Checkout layout */
.woocommerce-checkout #customer_details {
  margin-bottom: 2rem;
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-charcoal);
}
.woocommerce form .form-row label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-stone-dark);
  margin-bottom: 0.35rem;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout select {
  border: 1px solid var(--color-stone) !important;
  background: var(--color-ivory) !important;
  padding: 0.7rem 1rem !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  color: var(--color-charcoal) !important;
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 25% !important;
  float: none !important;
  display: block;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--color-charcoal) !important;
  border-bottom: 1px solid var(--color-mist);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--color-ivory-warm);
  color: var(--color-burgundy) !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
  width: 73% !important;
  float: none !important;
}
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
  }
}

