/* ==========================================================================
   COSMETICS.LK — REFINED EDITORIAL E-COMMERCE DESIGN SYSTEM
   Exact Sage + Verdure Palette | Strict >=13px Type Scale | 8px Spacing Scale
   ========================================================================== */

:root {
  /* Palette Tokens (Preserved Exactly) */
  --bg: #eeece7;
  --cream: #fbf8f0;
  --olive: #3a3f2a;
  --olive-muted: #525842;
  --sage: #7c8467;
  --sage-hover: #676f54;
  --sage-light: #a7af9b;
  --sage-tint: #dde2d4;
  --forest: #4a5a2b;
  --deep-forest: #2b3419;
  --chip: #c9cc93;
  --hero-cream: #f4f0e6;
  --band-grey: #e9e7e1;
  --border-subtle: rgba(58, 63, 42, 0.14);

  /* Typography */
  --font-serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --font-sans: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid Type Scale (No text anywhere below 13px) */
  --text-body: 16px;
  --text-lead: 18px;
  --text-h2: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  --text-h3: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --text-nav: 15px;
  --text-meta: 14px;
  --text-label: 13px;

  /* 8px Spacing Scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-6: 48px;
  --s-8: 64px;
  --s-12: 96px;
  --s-16: 128px;

  /* Layout */
  --max-w: 1240px;
  --side-pad: 20px;
  --section-pad: 48px;
  --title-gap: 24px;
  --grid-gap: 16px;

  /* Radii */
  --radius-card: 16px;
  --radius-mosaic: 6px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --side-pad: 32px;
    --section-pad: 72px;
    --title-gap: 32px;
    --grid-gap: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --text-body: 17px;
    --text-lead: 19px;
    --side-pad: 48px;
    --section-pad: 96px;
    --title-gap: 40px;
  }
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--olive);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img {
  height: auto;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p, figure, blockquote {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--deep-forest);
  color: var(--hero-cream);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: calc(100% - 40px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, 1240px);
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(100% - 96px, 1240px);
  }
}

.section {
  padding-block: var(--section-pad);
  background-color: var(--bg);
}

.section--cream {
  background-color: var(--cream);
}

.section-head {
  margin-bottom: var(--title-gap);
}

/* ==========================================================================
   TYPOGRAPHY & UNIFIED PILL BUTTONS
   ========================================================================== */
.ref1-heading {
  font-family: var(--font-sans);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--olive);
}

.ref2-serif-title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  color: var(--olive);
}

.ref2-serif-title--left {
  text-align: left;
}

.lead-copy {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--olive);
  max-width: 52ch;
}

.body-copy {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--olive-muted);
  max-width: 52ch;
}

/* Consistent Pill Buttons: 14px uppercase, 0.1em tracking, 44px mobile / 48px desktop */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.2s ease;
}

@media (min-width: 1024px) {
  .pill-btn {
    height: 48px;
  }
}

.pill-btn--filled {
  background-color: var(--sage);
  color: #ffffff;
}

.pill-btn--filled:hover {
  background-color: var(--sage-hover);
}

.pill-btn--forest {
  background-color: var(--deep-forest);
  color: #ffffff;
}

.pill-btn--forest:hover {
  background-color: var(--forest);
}

.pill-btn--outline {
  border: 1px solid var(--olive);
  color: var(--olive);
  background: transparent;
}

.pill-btn--outline:hover {
  background-color: var(--olive);
  color: var(--bg);
}

.pill-btn--white {
  background-color: #ffffff;
  color: var(--olive);
}

.pill-btn--white:hover {
  background-color: var(--hero-cream);
}

.pill-btn--full {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ==========================================================================
   1. ANNOUNCEMENT BAR (36px, Deep Forest, 13px)
   ========================================================================== */
.announcement-bar {
  background: var(--deep-forest);
  color: var(--hero-cream);
  height: 36px;
  position: relative;
  z-index: 950;
}

.announcement-bar[hidden] {
  display: none;
}

.announcement-bar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.announcement-bar__track {
  min-width: 0;
  max-width: calc(100% - 44px);
  overflow: hidden;
}

.announcement-bar__msg {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-bar__close {
  position: absolute;
  right: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 240, 230, 0.8);
}

.announcement-bar__close:hover {
  color: #ffffff;
}

/* ==========================================================================
   2A. FLOATING FROSTED-GLASS HEADER (Transitions to Cream + Dark Olive on Scroll)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 900;
  transition: top 0.25s ease;
}

.site-header.is-scrolled {
  top: 12px;
}

.header-wrap {
  width: min(92%, var(--max-w));
  margin-inline: auto;
  position: relative;
}

.glass-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled .glass-bar,
.site-header.has-overlay .glass-bar {
  background: rgba(238, 236, 231, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border-subtle);
  color: var(--olive);
  box-shadow: 0 8px 28px rgba(43, 52, 25, 0.08);
}

.monogram-logo {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.primary-nav {
  display: none;
}

.header-account-btn {
  display: none;
}

@media (min-width: 960px) {
  .primary-nav {
    display: block;
  }
  .icon-btn.mobile-menu-btn {
    display: none;
  }
  .icon-btn.header-account-btn {
    display: inline-flex;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-item.is-open > .nav-link {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .icon-btn:hover {
  background: rgba(58, 63, 42, 0.08);
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: var(--radius-pill);
  background: var(--sage);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge[hidden] {
  display: none;
}

/* Frosted Mega Menu Panel */
.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  padding: 32px;
  border-radius: 20px;
  background: rgba(238, 236, 231, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  color: var(--olive);
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.24s var(--ease), visibility 0.22s ease;
}

.nav-item.is-open > .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-panel__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mega-panel__cols h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.mega-panel__cols li + li {
  margin-top: 8px;
}

.mega-panel__cols a {
  font-size: 15px;
  display: inline-block;
  padding-block: 2px;
}

.mega-panel__cols a:hover {
  color: var(--sage);
}

.mega-panel__tile {
  position: relative;
  border-radius: var(--radius-mosaic);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mega-panel__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-panel__tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(251, 248, 240, 0.92);
  font-size: 13px;
  font-weight: 600;
}

/* Frosted Live Search Panel */
.search-panel {
  margin-top: 10px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(238, 236, 231, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  color: var(--olive);
  max-height: 70svh;
  overflow-y: auto;
}

.search-panel[hidden] {
  display: none;
}

.search-panel__row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.search-panel__row input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 17px;
  min-height: 44px;
  outline: none;
}

.search-panel__row input::-webkit-search-cancel-button {
  display: none;
}

.search-panel__results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 768px) {
  .search-panel__results {
    grid-template-columns: repeat(2, 1fr);
  }
}

.search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  transition: background-color 0.2s ease;
}

.search-row:hover {
  background: rgba(58, 63, 42, 0.06);
}

.search-row__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.search-row__left img {
  width: 44px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.search-row__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.search-row__price {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   2B. HERO (85svh desktop / 70svh mobile, wordmark straddles bottom unclipped)
   ========================================================================== */
.hero {
  position: relative;
  height: 70svh;
  min-height: 480px;
  max-height: 820px;
  overflow: visible;
}

@media (min-width: 768px) {
  .hero {
    height: 85svh;
    min-height: 620px;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 36%;
}

@media (min-width: 768px) {
  .hero__media img {
    object-position: center 38%;
  }
}

/* Straddles bottom edge with translateY(35%), never clipped, ~90% desktop / 92% mobile */
.hero__wordmark {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 35%);
  width: 92vw;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(4.25rem, 16.8vw, 15.5rem);
  line-height: 0.78;
  letter-spacing: -0.025em;
  color: var(--hero-cream);
  text-shadow: 0 2px 24px rgba(43, 52, 25, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 4;
}

@media (min-width: 1024px) {
  .hero__wordmark {
    width: 90vw;
  }
}

/* ==========================================================================
   3. QUICK INTRO (~520px desktop, matching top padding for wordmark overhang)
   ========================================================================== */
.intro-section {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: var(--section-pad);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 56% 42%;
    justify-content: space-between;
    min-height: 400px;
  }
}

.intro-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}

.intro-jar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-jar__float {
  width: 100%;
  max-width: 340px;
}

@media (min-width: 900px) {
  .intro-jar__float {
    max-width: 480px;
  }
}

.intro-jar__float img {
  width: 100%;
  height: auto;
  transform: rotate(-3deg);
}

.intro-jar__shadow {
  width: 64%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(58, 63, 42, 0.16) 0%, transparent 72%);
  margin-top: -10px;
}

@media (prefers-reduced-motion: no-preference) {
  .intro-jar__float {
    animation: jarFloat 5.5s ease-in-out infinite;
  }
  .intro-jar__shadow {
    animation: shadowBreathe 5.5s ease-in-out infinite;
  }
}

@keyframes jarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shadowBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(0.9); opacity: 0.5; }
}

/* ==========================================================================
   WAVY RIBBON REPAIR (80px desktop / 56px mobile, uniform scaling, zero distortion)
   ========================================================================== */
.wavy-ribbon {
  width: 100%;
  height: 56px;
  overflow: hidden;
  background: var(--bg);
}

@media (min-width: 768px) {
  .wavy-ribbon {
    height: 80px;
  }
}

.wavy-ribbon__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wavy-ribbon__band {
  fill: var(--cream);
}

.wavy-ribbon__line {
  fill: none;
  stroke: var(--olive);
  stroke-width: 1;
}

.wavy-ribbon__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.04em;
  fill: var(--olive);
}

/* ==========================================================================
   4. BRAND MARQUEE (Single line on every screen, 18–20px, pauses on hover)
   ========================================================================== */
.brand-marquee {
  background: var(--band-grey);
  padding-block: 24px;
  overflow: hidden;
}

.brand-marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-marquee__track {
    animation: brandScroll 34s linear infinite;
  }
  .brand-marquee:hover .brand-marquee__track {
    animation-play-state: paused;
  }
}

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

.brand-marquee__track span {
  font-size: 18px;
  font-weight: 500;
  color: var(--olive);
}

@media (min-width: 768px) {
  .brand-marquee__track span {
    font-size: 20px;
  }
}

.brand-marquee__track .serif {
  font-family: var(--font-serif);
  font-size: 22px;
}

.brand-marquee__track .caps {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.brand-marquee__track .dot {
  color: var(--sage);
}

/* ==========================================================================
   5. SHOP BY CATEGORY (6 Arch Tiles: 6-col desktop, ~2.3 swipe mobile)
   ========================================================================== */
.category-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.category-grid::-webkit-scrollbar {
  display: none;
}

.cat-arch {
  flex: 0 0 41%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .cat-arch {
    flex: 0 0 28%;
  }
}

@media (min-width: 1024px) {
  .category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
  }
  .cat-arch {
    flex: none;
  }
}

.cat-arch__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  background: var(--band-grey);
}

.cat-arch__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.cat-arch:hover .cat-arch__img img {
  transform: scale(1.04);
}

.cat-arch__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
}

/* ==========================================================================
   6. FEATURED COLLECTION (Tabs + Aligned Arch Product Cards)
   ========================================================================== */
.showcase-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: var(--title-gap);
}

.showcase-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tab-btn {
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-muted);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 1024px) {
  .tab-btn {
    height: 48px;
  }
}

.tab-btn:hover {
  color: var(--olive);
  border-color: var(--border-subtle);
}

.tab-btn.is-active {
  background: var(--olive);
  color: var(--cream);
}

.carousel-arrows {
  display: none;
  gap: 8px;
  position: absolute;
  right: 0;
}

@media (min-width: 1024px) {
  .carousel-arrows {
    display: flex;
  }
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.arrow-btn:hover {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}

/* Product Carousel: ~1.6 cards visible mobile, 4 visible desktop */
.product-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-top: 12px;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.arch-card {
  flex: 0 0 60%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .arch-card {
    flex: 0 0 38%;
  }
}

@media (min-width: 1024px) {
  .product-carousel {
    gap: 24px;
  }
  .arch-card {
    flex: 0 0 calc((100% - 72px) / 4);
  }
}

.arch-card__frame {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

/* 88px Circle Chip with 13px text overlapping arch top-right */
.arch-chip {
  position: absolute;
  top: -10px;
  right: -6px;
  z-index: 3;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--olive);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
}

.arch-card__arch {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 35% 22%, #cad2bc 0%, #98a484 62%, #687552 100%);
}

.arch-card__arch img {
  height: 70%;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(43, 52, 25, 0.28));
  transition: transform 0.5s var(--ease);
}

.arch-card:hover .arch-card__arch img {
  transform: scale(1.04);
}

/* Fixed 2-line title + auto-pushed footer so all prices & buttons align horizontally */
.arch-card__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--olive);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .arch-card__name {
    font-size: 16px;
  }
}

.arch-card__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.arch-card__prices {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.arch-card__price {
  font-size: 16px;
  font-weight: 600;
  color: var(--olive);
}

@media (min-width: 1024px) {
  .arch-card__price {
    font-size: 17px;
  }
}

.arch-card__compare {
  font-size: 14px;
  color: var(--olive-muted);
  text-decoration: line-through;
}

.arch-card .pill-btn {
  padding: 0 20px;
}

/* ==========================================================================
   7. WHY COSMETICS.LK MOSAIC (3 columns desktop: image, image, text; stacked mobile)
   ========================================================================== */
.mosaic-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
}

@media (min-width: 1024px) {
  .mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
  }
}

.mosaic-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 1024px) {
  .mosaic-photos {
    display: contents;
  }
}

.mosaic-tall {
  border-radius: var(--radius-mosaic);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--band-grey);
}

@media (min-width: 1024px) {
  .mosaic-tall {
    height: 460px;
    aspect-ratio: auto;
  }
}

.mosaic-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--olive);
}

.trust-points svg {
  color: var(--sage);
  flex-shrink: 0;
}

/* ==========================================================================
   8. REBUILT "new" SECTION (~560px desktop, uncovered word + 3 cut-outs on baseline <=15%)
   ========================================================================== */
@media (min-width: 1024px) {
  .new-section {
    padding-block: 64px;
  }
}

.new-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.new-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 768px) {
  .new-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.new-header__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.new-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.giant-new {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(7.5rem, 34vw, 340px);
  line-height: 0.78;
  letter-spacing: -0.02em;
  color: var(--sage-light);
  text-align: center;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .giant-new {
    font-size: clamp(9rem, 22vw, 340px);
  }
}

/* 3 Cut-outs sit along baseline, overlapping ONLY bottom <=15% of "new" */
.new-bottles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  justify-items: center;
  gap: 16px;
  width: min(100%, 760px);
  margin-top: clamp(-16px, -2.2vw, -30px);
  position: relative;
  z-index: 2;
}

.new-bottles img {
  height: clamp(120px, 16vw, 184px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(43, 52, 25, 0.18));
}

/* ==========================================================================
   9. FREE BEAUTY CONSULTATION (2/3 Image + 1/3 Forest Card | Mobile 260px + 12px gap)
   ========================================================================== */
.split-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px) {
  .split-card {
    grid-template-columns: 2fr 1fr;
    gap: 16px;
  }
}

.split-card__photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 260px;
  background: var(--band-grey);
}

.split-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-card__panel {
  border-radius: var(--radius-card);
  background: var(--forest);
  color: #ffffff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}

@media (min-width: 900px) {
  .split-card__photo,
  .split-card__panel {
    height: 480px;
  }
  .split-card__panel {
    padding: 40px 32px;
  }
}

.split-card__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.split-card__copy {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28ch;
}

/* ==========================================================================
   10. DEALS & LOYALTY (Two 360px Cards Desktop, Stacked 220px Mobile)
   ========================================================================== */
.dual-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .dual-cards {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.promo-card {
  border-radius: var(--radius-card);
  padding: 28px 24px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .promo-card {
    min-height: 360px;
    padding: 40px 36px;
  }
}

.promo-card--sage {
  background: var(--sage-tint);
}

.promo-card--forest {
  background: var(--forest);
  color: #ffffff;
}

.promo-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 36ch;
}

.promo-card__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-hover);
}

.promo-card__kicker--light {
  color: var(--chip);
}

.promo-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--olive);
}

.promo-card__title--light {
  color: #ffffff;
}

.promo-card__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--olive-muted);
}

.promo-card__text--light {
  color: rgba(255, 255, 255, 0.88);
}

.promo-card__cutout {
  height: 160px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 18px rgba(43, 52, 25, 0.22));
}

@media (min-width: 900px) {
  .promo-card__cutout {
    height: 250px;
  }
}

/* ==========================================================================
   11. CUSTOMER LOVE (3 Cream Quote Cards, Swipeable on Mobile)
   ========================================================================== */
.reviews-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
  }
}

.review-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--olive);
}

.review-author {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--olive);
}

.review-author span {
  font-weight: 400;
  color: var(--olive-muted);
}

/* ==========================================================================
   12. OUTLETS (Compact 2-Column Layout, <320px Mobile)
   ========================================================================== */
.outlets-section {
  padding-block: 16px;
}

@media (min-width: 768px) {
  .outlets-section {
    padding-block: var(--section-pad);
  }
}

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

@media (min-width: 900px) {
  .outlets-layout {
    grid-template-columns: 0.9fr 1.3fr;
    gap: 48px;
    align-items: center;
  }
}

.outlets-intro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.outlets-intro .ref2-serif-title--left {
  font-size: 24px;
}

.outlets-intro .pill-btn {
  padding: 0 16px;
}

@media (min-width: 768px) {
  .outlets-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .outlets-intro .ref2-serif-title--left {
    font-size: var(--text-h2);
  }
  .outlets-intro .pill-btn {
    padding: 0 28px;
  }
}

.outlets-intro .body-copy {
  display: none;
}

@media (min-width: 768px) {
  .outlets-intro .body-copy {
    display: block;
  }
}

.outlets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 16px;
}

@media (min-width: 900px) {
  .outlets-grid {
    gap: 0 24px;
  }
}

.outlets-grid li {
  display: flex;
  flex-direction: column;
  padding-block: 4px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 900px) {
  .outlets-grid li {
    padding-block: 10px;
  }
}

.outlets-grid strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--olive);
  line-height: 1.2;
}

.outlets-grid span {
  font-size: 14px;
  color: var(--olive-muted);
  line-height: 1.2;
}

/* ==========================================================================
   13. BEAUTY JOURNAL (3 Cards: 4:3 Image, 17px Bold Title, 2-Line Excerpt, Swipe Mobile)
   ========================================================================== */
.journal-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.journal-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
  }
}

.journal-card {
  flex: 0 0 76%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.journal-card__img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--band-grey);
}

.journal-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.journal-card:hover .journal-card__img img {
  transform: scale(1.04);
}

.journal-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--olive);
}

.journal-card h3 a:hover {
  color: var(--sage);
}

.journal-card__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--olive-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   14. FOOTER (Deep Forest #2B3419, 15px Links, Giant Cropped Wordmark)
   ========================================================================== */
.site-footer {
  background: var(--deep-forest);
  color: var(--hero-cream);
  padding-top: var(--s-8);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .site-footer {
    padding-top: var(--s-12);
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.16);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.05fr 1.35fr;
    gap: 64px;
  }
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 400;
  margin-bottom: 10px;
}

.footer-text {
  font-size: 15px;
  color: rgba(244, 240, 230, 0.82);
  margin-bottom: 20px;
  max-width: 38ch;
}

.footer-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-form input {
  flex: 1 1 200px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 240, 230, 0.32);
  background: transparent;
  color: var(--hero-cream);
  font-size: 15px;
}

.footer-form input::placeholder {
  color: rgba(244, 240, 230, 0.6);
}

.footer-form__status {
  margin-top: 10px;
  font-size: 14px;
  color: var(--chip);
  min-height: 1.2em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.footer-links h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chip);
  margin-bottom: 14px;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(244, 240, 230, 0.84);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  font-size: 14px;
  color: rgba(244, 240, 230, 0.72);
}

.footer-wordmark-wrap {
  width: 100%;
  overflow: hidden;
  line-height: 0.76;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(4.25rem, 17.5vw, 17rem);
  letter-spacing: -0.025em;
  color: var(--hero-cream);
  transform: translateY(20%);
  user-select: none;
}

/* ==========================================================================
   CART & MOBILE DRAWERS (Native Modal <dialog>)
   ========================================================================== */
.drawer {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.drawer[open] {
  display: flex;
}

.drawer--right[open] {
  justify-content: flex-end;
}

.drawer--left[open] {
  justify-content: flex-start;
}

.drawer:modal {
  overscroll-behavior: contain;
}

.drawer::backdrop {
  background: rgba(43, 52, 25, 0.48);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.drawer__sheet {
  width: min(440px, 92vw);
  height: 100svh;
  background: var(--bg);
  color: var(--olive);
  display: flex;
  flex-direction: column;
}

.drawer__sheet--full {
  width: 100vw;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer__header h2,
.mobile-brand {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  overscroll-behavior: contain;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item img {
  width: 64px;
  height: 78px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 8px;
  padding: 4px;
}

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
}

.qty-pill button {
  min-width: 28px;
  min-height: 32px;
  font-size: 16px;
}

.drawer__footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border-subtle);
  background: var(--cream);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 17px;
}

.cart-koko {
  font-size: 14px;
  color: var(--olive-muted);
  margin-bottom: 16px;
}

.cart-note {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  color: var(--sage-hover);
}

.mob-acc {
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 6px;
}

.mob-acc summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.mob-acc summary::-webkit-details-marker {
  display: none;
}

.mob-acc ul {
  padding: 4px 0 12px 12px;
}

.mob-acc a,
.mob-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
}

.mob-links a {
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   SCROLL REVEAL (Fail-Open: Visible by default; animates only when JS opts in)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  }
  .js-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   COMPACT MOBILE PASS (Strictly <= 767px — Desktop Layout Untouched)
   Target: >= 35% shorter mobile page height, swipe carousels with peek, 44px taps
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --section-pad: 18px;
    --title-gap: 10px;
    --grid-gap: 12px;
  }

  /* Compact Hero: eye & face centered, ~92% unclipped wordmark */
  .hero {
    height: 44svh;
    min-height: 320px;
    max-height: 350px;
  }

  .hero__media img {
    object-position: 38% 36%;
  }

  .hero__wordmark {
    width: 92vw;
    font-size: clamp(3.5rem, 16.5vw, 4.75rem);
    transform: translate(-50%, 16%);
  }

  /* Compact Intro */
  .intro-section {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .intro-grid {
    gap: 8px;
  }

  .intro-copy {
    gap: 8px;
  }

  .ref1-heading,
  .ref2-serif-title {
    font-size: clamp(1.6rem, 6.2vw, 1.9rem);
  }

  .lead-copy {
    font-size: 15px;
    line-height: 1.45;
  }

  .body-copy {
    font-size: 14px;
    line-height: 1.45;
  }

  .intro-jar__float {
    max-width: 112px;
  }

  /* Brand Marquee */
  .brand-marquee {
    padding-block: 8px;
  }

  /* Categories: ~2.3 arch tiles visible with clear peek */
  .category-grid {
    gap: 12px;
    padding-bottom: 2px;
  }

  .cat-arch {
    flex: 0 0 38%;
    gap: 6px;
  }

  /* Featured Collection: ~1.6 compact arch cards visible with 12px gaps */
  .showcase-head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .tab-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
    max-width: 100%;
  }

  .tab-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 11px;
    font-size: 13px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .product-carousel {
    gap: 12px;
    padding-top: 6px;
    padding-bottom: 2px;
  }

  .arch-card {
    flex: 0 0 58%;
  }

  .arch-card__frame {
    margin-bottom: 6px;
  }

  .arch-card__arch {
    aspect-ratio: 1 / 0.94;
    padding: 10px;
  }

  .arch-chip {
    width: 64px;
    height: 64px;
    top: -6px;
    right: -4px;
    font-size: 13px;
    letter-spacing: 0.03em;
    padding: 4px;
  }

  .arch-card__name {
    font-size: 15px;
    line-height: 1.25;
    min-height: 2.5em;
    margin-bottom: 4px;
  }

  .arch-card__bottom {
    gap: 6px;
  }

  .arch-card .pill-btn {
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  /* Mosaic: text above 2 side-by-side 4:5 portrait images */
  .mosaic-grid {
    gap: 12px;
  }

  .mosaic-copy {
    gap: 8px;
  }

  .trust-points {
    gap: 4px;
    padding-top: 2px;
  }

  /* Rebuilt "new" section: compact stack without extra gaps */
  .new-layout {
    gap: 6px;
  }

  .new-header {
    gap: 6px;
  }

  .new-stage {
    padding-top: 0;
  }

  .giant-new {
    font-size: 27vw;
    line-height: 0.8;
  }

  .new-bottles {
    gap: 8px;
    margin-top: -12px;
  }

  .new-bottles img {
    height: 92px;
  }

  /* Consultation: 260px image first, forest card below, 12px gap */
  .split-card {
    gap: 12px;
  }

  .split-card__photo {
    height: 260px;
  }

  .split-card__panel {
    padding: 16px 16px;
    gap: 8px;
  }

  .split-card__title {
    font-size: 1.65rem;
  }

  .split-card__copy {
    font-size: 14px;
    line-height: 1.45;
  }

  /* Deals & Loyalty: stacked, 220px each */
  .dual-cards {
    gap: 12px;
  }

  .promo-card {
    min-height: 220px;
    height: 220px;
    padding: 16px;
    gap: 12px;
  }

  .promo-card__copy {
    gap: 6px;
  }

  .promo-card__title {
    font-size: 1.55rem;
  }

  .promo-card__text {
    font-size: 14px;
    line-height: 1.4;
  }

  .promo-card__cutout {
    height: 136px;
  }

  /* Customer Love: swipe carousel with peek */
  .reviews-grid {
    gap: 12px;
    padding-bottom: 2px;
  }

  .review-card {
    flex: 0 0 82%;
    padding: 16px 16px;
    gap: 8px;
  }

  .review-quote {
    font-size: 16px;
    line-height: 1.38;
  }

  /* Outlets: ultra-compact 2-column directory */
  .outlets-section {
    padding-block: 16px;
  }

  .outlets-head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .outlets-list {
    column-gap: 14px;
  }

  .outlet-row {
    padding-block: 4px;
  }

  /* Journal: swipe carousel with peek */
  .journal-grid {
    gap: 12px;
    padding-bottom: 2px;
  }

  .journal-card {
    flex: 0 0 74%;
    gap: 6px;
  }

  .journal-card__img {
    aspect-ratio: 16 / 9;
  }

  .journal-card__title {
    font-size: 16px;
    line-height: 1.25;
  }

  .journal-card__excerpt {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Footer: compact mobile columns */
  .site-footer {
    padding-top: 20px;
  }

  .footer-top {
    gap: 12px;
    padding-bottom: 12px;
  }

  .footer-heading {
    margin-bottom: 4px;
  }

  .footer-text {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.38;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .footer-links h3 {
    margin-bottom: 4px;
  }

  .footer-links li + li {
    margin-top: 3px;
  }

  .footer-links a {
    font-size: 13px;
    line-height: 1.28;
  }

  .footer-meta {
    padding-block: 8px;
    gap: 3px;
    font-size: 13px;
    line-height: 1.32;
  }

  .footer-wordmark {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
    line-height: 0.72;
    padding-bottom: 4px;
  }
}


/* ==========================================================================
   V2 SECTION-BY-SECTION UPGRADE (Logo, Top Bar, Hero Animation, Seamless Ribbon,
   Brand SVG Logos, Rich Categories, Clean WOW CSV Product Cards, Skin Types,
   Routine Showcase, Clinical Consultation, Visual Promos, Reviews, Journal,
   Footer Certifications, Uncropped Animated Wordmark & Bidirectional Reveals)
   ========================================================================== */

/* 1. Enhanced Announcement Bar (Shimmer + Pulse Dot + Prev/Next Controls) */
.announcement-bar {
  position: relative;
  overflow: hidden;
  min-height: 40px;
}

.announcement-bar__progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 204, 147, 0.85), transparent);
  background-size: 50% 100%;
  animation: topBarShimmer 6s linear infinite;
}

@keyframes topBarShimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
}

.announcement-bar__nav,
.announcement-bar__right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.announcement-bar__close {
  position: static;
  transform: none;
  width: 28px;
  height: 28px;
}

.site-header {
  top: 52px;
}

.site-header.is-scrolled {
  top: 12px;
}

.announcement-bar__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(244, 240, 230, 0.78);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.announcement-bar__arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.announcement-bar__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.announcement-bar__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C9CC93;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(201, 204, 147, 0.7);
  animation: livePulse 2.4s ease-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 204, 147, 0.65); }
  70% { box-shadow: 0 0 0 7px rgba(201, 204, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 204, 147, 0); }
}

.announcement-bar__msg.is-active {
  animation: announcementSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes announcementSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2A. Official Cosmetics.lk Logo in Glass Header + Scroll Progress Line */
.glass-bar {
  position: relative;
  overflow: visible;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 2px 4px;
  border-radius: 8px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(20, 26, 12, 0.25));
  transition: filter 0.35s ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.has-overlay .brand-logo {
  filter: brightness(0.76) contrast(1.12);
}

.header-scroll-bar {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7C8467, #4A5A2B);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.site-header.is-scrolled .header-scroll-bar {
  opacity: 0.85;
}

.mobile-drawer-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.75) contrast(1.1);
}

/* 2B. Uncropped Editorial Hero + Smooth Bottom-to-Position Animations (Forward & Reverse) */
.hero {
  position: relative;
  height: clamp(500px, 46vw, 720px);
  min-height: 500px;
  max-height: 720px;
  overflow: hidden;
  background: #C9B9A6;
  z-index: 2;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #C9B9A6;
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 34, 18, 0.26) 0%,
    rgba(28, 34, 18, 0.04) 36%,
    rgba(28, 34, 18, 0.08) 60%,
    rgba(28, 34, 18, 0.52) 100%
  );
  pointer-events: none;
}

.hero__wordmark-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 2.2vw, 28px);
  display: flex;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}

.hero__wordmark {
  position: static;
  margin: 0;
  padding: 0 0 0.06em;
  width: min(92vw, 1320px);
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.6rem, 13.2vw, 11.2rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--hero-cream);
  text-shadow: 0 8px 28px rgba(24, 30, 14, 0.34);
  transform: translate3d(0, 0, 0);
  animation: none;
}

/* Intro CeraVe Portrait (Compact Editorial Arch Frame — Zero Cut-Edge Halo) */
.intro-portrait {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 3 / 3.85;
  margin-inline: auto;
  border-radius: 160px 160px 24px 24px;
  background: linear-gradient(180deg, #E8E4DA 0%, #DFDACE 100%);
  border: 1px solid rgba(58, 63, 42, 0.08);
  overflow: hidden;
  padding: 14px 10px 0;
}

.intro-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}

@media (max-width: 767px) {
  .intro-portrait {
    width: min(68vw, 220px);
    aspect-ratio: 3 / 3.7;
    padding: 10px 8px 0;
  }
}

/* 3. Seamless Wavy Ribbon (96px desktop / 64px mobile, zero vertical clipping) */
.wavy-ribbon {
  height: 96px;
  overflow: hidden;
  background: transparent;
}

.wavy-ribbon__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wavy-ribbon__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  fill: var(--text);
  letter-spacing: 0.02em;
}

/* 4. Real Official Brand Logos Marquee */
.brand-marquee {
  padding-block: 28px;
  background: var(--band-grey);
  overflow: hidden;
  border-block: 1px solid rgba(58, 63, 42, 0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.brand-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: brandScrollV2 36s linear infinite;
}

.brand-marquee:hover .brand-marquee__track {
  animation-play-state: paused;
}

.brand-marquee__group {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.brand-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1.08) opacity(0.74);
  transition: filter 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo-item:hover .brand-logo-img {
  filter: grayscale(0%) contrast(1) opacity(1);
  transform: translateY(-2px) scale(1.07);
}

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

/* Shared Section Header Split + Kicker */
.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  margin-bottom: var(--title-gap);
}

.section-subcopy {
  max-width: 38ch;
  margin: 0;
  color: var(--text-muted);
}

/* 5. Shop by Category — Rich 3×2 Multi-Product Showcase */
.category-grid--rich {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(58, 63, 42, 0.09);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 132, 103, 0.45);
  box-shadow: 0 18px 40px rgba(43, 52, 25, 0.09);
}

.cat-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ECEAE3;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.06);
}

.cat-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.cat-card__title {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.cat-card__meta {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
}

.cat-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cat-card:hover .cat-card__arrow {
  background: var(--forest);
  color: #fff;
  transform: translateX(3px);
}

/* 6. Clean, Compact, Image-Focused WOW Product Cards (Zero Badges!) */
.lux-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: cardFadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--card-i, 0) * 45ms) both;
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.lux-card__stage {
  position: relative;
  aspect-ratio: 4 / 4.35;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F4F1E8 100%);
  border: 1px solid rgba(58, 63, 42, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: border-color 0.35s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-card:hover .lux-card__stage {
  border-color: rgba(124, 132, 103, 0.45);
  box-shadow: 0 20px 38px rgba(43, 52, 25, 0.09);
  transform: translateY(-4px);
}

.lux-card__img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-card:hover .lux-card__img {
  transform: translateY(-8px) scale(1.06);
}

.lux-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(58, 63, 42, 0.1);
  background: rgba(251, 248, 240, 0.88);
  backdrop-filter: blur(8px);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.78;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lux-card:hover .lux-card__wish,
.lux-card__wish.is-wished {
  opacity: 1;
}

.lux-card__wish:hover {
  transform: scale(1.1);
}

.lux-card__wish.is-wished {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  transform: scale(1.08);
}

.lux-card__quickadd {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(43, 52, 25, 0.9);
  backdrop-filter: blur(10px);
  color: #FBF8F0;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.lux-card:hover .lux-card__quickadd,
.lux-card:focus-within .lux-card__quickadd {
  opacity: 1;
  transform: translateY(0);
}

.lux-card__quickadd:hover {
  background: var(--forest);
}

.lux-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-inline: 4px;
}

.lux-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.lux-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.lux-card__price {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.lux-card__compare {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* 6B. NEW: Shop by Skin Type & Concern (Compact 6-Tile Cohesive Showcase) */
.skin-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.skin-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #E7E3D9;
  border: 1px solid rgba(58, 63, 42, 0.08);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease;
}

.skin-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(43, 52, 25, 0.14);
}

.skin-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.skin-tile:hover img {
  transform: scale(1.07);
}

.skin-tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 14px 14px;
  background: linear-gradient(to top, rgba(28, 34, 18, 0.82) 0%, rgba(28, 34, 18, 0.25) 65%, transparent 100%);
  color: #FBF8F0;
}

.skin-tile__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.15;
  color: #FBF8F0;
}

.skin-tile__cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #D7DAAF;
  opacity: 0.85;
  transform: translateX(0);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.skin-tile:hover .skin-tile__cta {
  opacity: 1;
  transform: translateX(4px);
}

/* 8. Elevated All-in-One Skincare Routines (Hero Editorial + Interactive 3-Step Kit) */
.routine-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.routine-head .body-copy {
  margin: 8px 0 0;
}

.routine-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.routine-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #E5E1D6;
  min-height: 380px;
}

.routine-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.routine-visual:hover img {
  transform: scale(1.03);
}

.routine-visual__wordmark {
  position: absolute;
  left: 24px;
  bottom: -14px;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 11vw, 9.5rem);
  line-height: 0.85;
  color: rgba(251, 248, 240, 0.72);
  pointer-events: none;
  user-select: none;
}

.routine-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.routine-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(58, 63, 42, 0.09);
  transition: border-color 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.routine-step.is-active,
.routine-step:hover {
  border-color: var(--sage);
  transform: translateX(4px);
  box-shadow: 0 10px 26px rgba(43, 52, 25, 0.07);
}

.routine-step__thumb {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  background: #F4F1E8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.routine-step__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.routine-step__info {
  flex: 1;
  min-width: 0;
}

.routine-step__num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 3px;
}

.routine-step__title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.routine-step__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.routine-step__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.routine-step__add {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 63, 42, 0.24);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.routine-step__add:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* 9. Clinical-Editorial Free Beauty Consultation */
.split-card--clinical .split-card__photo img {
  object-position: 68% 18%;
}

.split-card__kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D6DAA8;
}

.doctor-profile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(251, 248, 240, 0.1);
  border: 1px solid rgba(251, 248, 240, 0.16);
  text-align: left;
  width: 100%;
}

.doctor-profile__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #FBF8F0;
}

.doctor-profile__role {
  font-size: 14px;
  color: #D6DAA8;
  font-weight: 500;
}

.doctor-profile__creds {
  margin: 4px 0 0;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(251, 248, 240, 0.9);
}

.split-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

/* 10. Deals & Loyalty with Rich Supporting Photography */
.promo-card--visual {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding: 0;
  gap: 0;
  overflow: hidden;
  min-height: 360px;
}

.promo-card--visual .promo-card__copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.promo-card__media {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-card--visual:hover .promo-card__media img {
  transform: scale(1.06);
}

/* 11. Elevated Customer Love */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid rgba(58, 63, 42, 0.1);
}

.rating-summary__score {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
}

.rating-summary__meta {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

.review-card {
  position: relative;
  border-top: 3px solid var(--sage);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(43, 52, 25, 0.08);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--sage-light);
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(58, 63, 42, 0.08);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--forest);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-verified {
  display: block;
  font-size: 13px;
  color: var(--sage);
}

/* 13. Beauty Journal Polish */
.journal-card__meta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.journal-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-top: 2px;
}

.journal-card__link span {
  transition: transform 0.25s ease;
}

.journal-card:hover .journal-card__link span {
  transform: translateX(4px);
}

/* 14. Footer Certifications Strip + Uncropped Animated Giant Wordmark */
.footer-certs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(251, 248, 240, 0.14);
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(251, 248, 240, 0.06);
  border: 1px solid rgba(251, 248, 240, 0.1);
  color: #FBF8F0;
}

.cert-item svg {
  color: #C9CC93;
  flex-shrink: 0;
}

.cert-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.cert-item span {
  display: block;
  font-size: 13px;
  color: rgba(251, 248, 240, 0.72);
  line-height: 1.3;
}

.footer-wordmark-wrap {
  overflow: visible;
  padding-top: 8px;
  padding-bottom: 20px;
}

.footer-wordmark {
  line-height: 0.92;
  padding-bottom: 0.06em;
  overflow: visible;
}

/* Bidirectional Reverse-Scroll Reveal Enhancements */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-reveal-ready .reveal[data-exit-dir="above"] {
    transform: translateY(-20px);
  }
  .js-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .js-reveal-ready .reveal--hero-img {
    opacity: 0;
    transform: translate3d(0, 44px, 0) scale(1.03);
    transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-reveal-ready .reveal--hero-img.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  .js-reveal-ready .reveal--hero-wordmark {
    opacity: 0;
    transform: translate3d(0, 64px, 0);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.14s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.14s;
  }
  .js-reveal-ready .reveal--hero-wordmark.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  .js-reveal-ready .reveal--wordmark {
    opacity: 0;
    transform: translate3d(0, 56px, 0);
    transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-reveal-ready .reveal--wordmark.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================================
   V2 MOBILE & TABLET RESPONSIVE REFINEMENTS (Zero Horizontal Overflow)
   ========================================================================== */
@media (max-width: 1023px) {
  .category-grid--rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .skin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .routine-showcase {
    grid-template-columns: 1fr;
  }
  .footer-certs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .announcement-bar__nav {
    display: none;
  }
  .announcement-bar__arrow {
    display: none;
  }
  .brand-logo {
    height: 27px;
  }
  .hero {
    height: 62svh;
    min-height: 430px;
    max-height: 540px;
  }
  .hero__media img {
    object-position: center 42%;
  }
  .hero__wordmark-box {
    bottom: 12px;
  }
  .hero__wordmark {
    width: 92vw;
    font-size: clamp(3.1rem, 15vw, 4.4rem);
    line-height: 0.94;
    transform: translate3d(0, 0, 0);
  }
  .wavy-ribbon {
    height: 62px;
  }
  .brand-marquee {
    padding-block: 16px;
  }
  .brand-marquee__group {
    gap: 36px;
    padding-right: 36px;
  }
  .brand-logo-img {
    height: 28px;
    max-width: 112px;
  }
  .section-head--split,
  .routine-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .category-grid--rich {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
  }
  .category-grid--rich::-webkit-scrollbar {
    display: none;
  }
  .cat-card {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }
  .lux-card {
    flex: 0 0 62%;
  }
  .lux-card__quickadd {
    opacity: 1;
    transform: translateY(0);
    height: 40px;
    font-size: 13px;
  }
  .skin-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
  }
  .skin-grid::-webkit-scrollbar {
    display: none;
  }
  .skin-tile {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }
  .routine-visual {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }
  .promo-card--visual {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
  }
  .promo-card--visual .promo-card__copy {
    padding: 20px 18px;
  }
  .promo-card__media {
    min-height: 170px;
    height: 170px;
  }
  .rating-summary {
    width: 100%;
    border-radius: 16px;
  }
  .footer-certs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .cert-item {
    padding: 10px 12px;
  }
  .footer-wordmark-wrap {
    padding-bottom: 12px;
  }
  .footer-wordmark {
    line-height: 0.92;
  }
}


/* ==========================================================================
   12B. FOLLOW US ON INSTAGRAM (Staggered 4-Col Masonry + Autoplay Reels + Fade)
   ========================================================================== */
.insta-section {
  background: var(--bg);
  padding-bottom: 48px;
}

.insta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.insta-handle-btn {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  gap: 8px;
}

.insta-feed-wrap {
  position: relative;
  max-height: 610px;
  overflow: hidden;
}

.insta-stagger-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.insta-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insta-col--offset {
  margin-top: 40px;
}

.insta-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.8;
  border-radius: 26px;
  overflow: hidden;
  background: #E4E0D6;
  border: 1px solid rgba(58, 63, 42, 0.08);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.insta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(43, 52, 25, 0.12);
}

.insta-card img,
.insta-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.insta-card:hover img,
.insta-card:hover video {
  transform: scale(1.04);
}

.insta-reel-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(43, 52, 25, 0.56);
  backdrop-filter: blur(8px);
  color: #FBF8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.insta-fade-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(238, 236, 231, 0) 0%,
    rgba(238, 236, 231, 0.72) 55%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 1023px) {
  .insta-feed-wrap {
    max-height: 540px;
  }
  .insta-stagger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .insta-col {
    gap: 14px;
  }
  .insta-col--offset {
    margin-top: 26px;
  }
}

@media (max-width: 767px) {
  .insta-section {
    padding-bottom: 24px;
  }
  .insta-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }
  .insta-feed-wrap {
    max-height: 440px;
  }
  .insta-card {
    border-radius: 20px;
  }
  .insta-fade-mask {
    height: 150px;
  }
}


/* ==========================================================================
   V2.1 REFINEMENTS: Wider Site Max-Width (1380px), Larger Intro Portrait,
   Cleaner Reviews, Smooth Vertical Auto-Scroll Reels, Uncropped Mobile Products
   ========================================================================== */

/* 1. Wider Site Max-Width (1380px on desktop, 20px side padding on mobile) */
.container {
  width: min(100% - 80px, 1380px);
}

.header-wrap {
  width: min(100% - 48px, 1380px);
  max-width: 1380px;
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 40px, 1380px);
  }
  .header-wrap {
    width: calc(100% - 24px);
  }
}

/* 2. Slightly Larger Intro Portrait (#about) */
.intro-portrait {
  width: min(100%, 348px);
}

@media (max-width: 767px) {
  .intro-portrait {
    width: min(74vw, 250px);
  }
}

/* 3. Cleaner, Airier Customer Love Layout (#reviews) */
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.reviews-rating-inline {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reviews-rating-inline strong {
  color: var(--text);
  font-weight: 600;
}

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

.review-card--clean {
  background: #FFFFFF;
  border: 1px solid rgba(58, 63, 42, 0.08);
  border-top: 1px solid rgba(58, 63, 42, 0.08);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(43, 52, 25, 0.03);
}

.review-card--clean .review-stars {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.review-card--clean .review-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}

.review-meta-clean {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid rgba(58, 63, 42, 0.08);
}

.review-meta-clean strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.review-meta-clean span {
  font-size: 13px;
  color: var(--text-muted);
}

/* 4. Smooth Vertical Auto-Scroll on Instagram Reels & Posts Columns */
.insta-col {
  overflow: visible;
}

.insta-col__track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
}

.insta-col__track--up {
  animation: instaDriftUp 26s linear infinite;
}

.insta-col__track--down {
  animation: instaDriftDown 28s linear infinite;
}

.insta-feed-wrap:hover .insta-col__track,
.insta-feed-wrap:focus-within .insta-col__track {
  animation-play-state: paused;
}

@keyframes instaDriftUp {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, calc(-50% - 10px), 0); }
}

@keyframes instaDriftDown {
  0% { transform: translate3d(0, calc(-50% - 10px), 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .insta-col__track--up,
  .insta-col__track--down {
    animation: none;
  }
}

/* 5. Mobile Fixes: Uncropped Product Card Images + Clean Reviews Carousel */
@media (max-width: 767px) {
  .lux-card {
    flex: 0 0 66%;
  }

  .lux-card__stage {
    aspect-ratio: 4 / 4.9;
    padding: 12px 12px 58px;
    align-items: center;
    justify-content: center;
  }

  .lux-card__img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .lux-card__quickadd {
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 38px;
    font-size: 13px;
  }

  .reviews-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
  }

  .reviews-grid--clean {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
  }

  .reviews-grid--clean::-webkit-scrollbar {
    display: none;
  }

  .review-card--clean {
    flex: 0 0 84%;
    scroll-snap-align: start;
    padding: 20px 18px;
    gap: 12px;
  }

  .review-card--clean .review-quote {
    font-size: 16px;
    line-height: 1.45;
  }

  .insta-col__track {
    gap: 14px;
  }

  @keyframes instaDriftUp {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, calc(-50% - 7px), 0); }
  }

  @keyframes instaDriftDown {
    0% { transform: translate3d(0, calc(-50% - 7px), 0); }
    100% { transform: translate3d(0, 0, 0); }
  }
}


/* ==========================================================================
   CLEAN, COMPACT & REFINED MOBILE FOOTER (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .site-footer {
    padding-top: 24px;
  }

  /* Compact 2x2 trust badges */
  .footer-certs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .cert-item {
    padding: 10px 10px;
    gap: 8px;
    border-radius: 12px;
    background: rgba(251, 248, 240, 0.05);
  }

  .cert-item svg {
    width: 18px;
    height: 18px;
  }

  .cert-item strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .cert-item span {
    display: none;
  }

  /* Sleek single-row newsletter + clean 3-column link directory */
  .footer-top {
    gap: 18px;
    padding-bottom: 16px;
  }

  .footer-newsletter {
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(251, 248, 240, 0.05);
    border: 1px solid rgba(251, 248, 240, 0.1);
  }

  .footer-heading {
    font-size: 1.35rem;
    margin-bottom: 4px;
  }

  .footer-text {
    font-size: 13.5px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: rgba(251, 248, 240, 0.78);
  }

  .footer-form {
    display: flex;
    gap: 8px;
  }

  .footer-form input {
    height: 44px;
    padding-inline: 14px;
    font-size: 14px;
    min-width: 0;
  }

  .footer-form .pill-btn {
    height: 44px;
    padding: 0 18px;
    flex-shrink: 0;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-inline: 2px;
  }

  .footer-links h3 {
    font-size: 13px;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    color: #C9CC93;
  }

  .footer-links li + li {
    margin-top: 5px;
  }

  .footer-links a {
    font-size: 13px;
    line-height: 1.3;
    color: rgba(251, 248, 240, 0.84);
  }

  .footer-meta {
    padding-block: 12px;
    gap: 4px;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    border-top: 1px solid rgba(251, 248, 240, 0.12);
  }

  .footer-wordmark-wrap {
    padding-top: 4px;
    padding-bottom: 14px;
  }

  .footer-wordmark {
    font-size: clamp(2.8rem, 15vw, 4rem);
    line-height: 0.92;
  }
}


/* ==========================================================================
   ZERO-CUTOFF 3:2 DEALS & LOYALTY CARDS + 16:10 RITUAL VISUAL (Desktop & Mobile)
   ========================================================================== */
.routine-visual {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.promo-card--visual {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
  overflow: hidden;
  min-height: 0;
  height: auto;
}

.promo-card--visual .promo-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.promo-card--visual .promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.promo-card--visual .promo-card__copy {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex: 1;
}

@media (max-width: 767px) {
  .promo-card--visual {
    height: auto;
    min-height: 0;
  }
  .promo-card--visual .promo-card__media {
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
  }
  .promo-card--visual .promo-card__copy {
    padding: 18px 18px 20px;
    gap: 10px;
  }
}


/* ==========================================================================
   RESTORED SIDE-BY-SIDE DEALS CARDS + 3:2 BLOGS + STAGGERED SECTION ANIMATIONS
   ========================================================================== */
.promo-card--visual {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding: 0;
  gap: 0;
  overflow: hidden;
  min-height: 360px;
}

.promo-card--visual .promo-card__copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.promo-card--visual .promo-card__media {
  position: relative;
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
  overflow: hidden;
}

.journal-card__img {
  aspect-ratio: 3 / 2;
}

@media (max-width: 767px) {
  .promo-card--visual {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
  }
  .promo-card--visual .promo-card__copy {
    padding: 20px 18px;
    gap: 10px;
  }
  .promo-card--visual .promo-card__media {
    min-height: 185px;
    height: 185px;
  }
}

/* Smooth Staggered Bidirectional Animations for Cards & List Items */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal-ready .reveal .cat-card,
  .js-reveal-ready .reveal .skin-tile,
  .js-reveal-ready .reveal .trust-points li,
  .js-reveal-ready .reveal .routine-step,
  .js-reveal-ready .reveal .review-card--clean,
  .js-reveal-ready .reveal .outlets-grid li,
  .js-reveal-ready .reveal .journal-card,
  .js-reveal-ready .reveal .cert-item {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--stagger-i, 0) * 65ms),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--stagger-i, 0) * 65ms),
      box-shadow 0.35s ease,
      border-color 0.3s ease;
  }

  .js-reveal-ready .reveal[data-exit-dir="above"] .cat-card,
  .js-reveal-ready .reveal[data-exit-dir="above"] .skin-tile,
  .js-reveal-ready .reveal[data-exit-dir="above"] .trust-points li,
  .js-reveal-ready .reveal[data-exit-dir="above"] .routine-step,
  .js-reveal-ready .reveal[data-exit-dir="above"] .review-card--clean,
  .js-reveal-ready .reveal[data-exit-dir="above"] .outlets-grid li,
  .js-reveal-ready .reveal[data-exit-dir="above"] .journal-card,
  .js-reveal-ready .reveal[data-exit-dir="above"] .cert-item {
    transform: translate3d(0, -18px, 0);
  }

  .js-reveal-ready .reveal.is-visible .cat-card,
  .js-reveal-ready .reveal.is-visible .skin-tile,
  .js-reveal-ready .reveal.is-visible .trust-points li,
  .js-reveal-ready .reveal.is-visible .routine-step,
  .js-reveal-ready .reveal.is-visible .review-card--clean,
  .js-reveal-ready .reveal.is-visible .outlets-grid li,
  .js-reveal-ready .reveal.is-visible .journal-card,
  .js-reveal-ready .reveal.is-visible .cert-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* ==========================================================================
   MOBILE HEADER: Menu Left · Logo Dead-Center · Search & Cart Right + Drawer Account
   ========================================================================== */
.mob-account-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid rgba(58, 63, 42, 0.1);
  color: var(--text);
  text-decoration: none;
}

.mob-account-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mob-account-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mob-account-card__text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.mob-account-card__text span {
  font-size: 13px;
  color: var(--text-muted);
}

.mob-account-card__arrow {
  font-size: 16px;
  color: var(--sage);
}

@media (max-width: 959px) {
  .glass-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-inline: 10px;
  }

  .mobile-menu-btn {
    justify-self: start;
  }

  .brand-logo-link {
    justify-self: center;
  }

  .header-actions {
    justify-self: end;
    gap: 2px;
  }

  .header-account-btn {
    display: none;
  }
}
