/*
Theme Name: Aurra by Naina
Description: Original Aurrabynaina storefront adapted for WordPress and WooCommerce.
Version: 0.1.0
Text Domain: aurra-by-naina
Requires PHP: 7.4
*/
/* ============================================================
   AURRABYNAINA — style.css
   Aesthetic: Romantic Glam
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');


/* ------------------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Backgrounds */
  --color-bg:            #FEF6F6;
  --color-bg-alt:        #FAF0F0;
  --color-surface:       #FFFFFF;
  --color-surface-rose:  #FDE8EA;

  /* Brand */
  --color-brand:         #C0607A;
  --color-brand-light:   #E8A0B4;
  --color-brand-dark:    #9A3E58;
  --color-brand-subtle:  #F7E1E7;

  /* Gold */
  --color-gold:          #C9A478;
  --color-gold-light:    #E8D5B5;
  --color-gold-dark:     #A07A4A;

  /* Text */
  --color-text:          #2C1A1A;
  --color-text-soft:     #5A3A3A;
  --color-text-muted:    #9E7878;
  --color-text-inverse:  #FFFFFF;

  /* Border */
  --color-border:        #F0D4D8;
  --color-border-strong: #D4A0AA;

  /* Feedback */
  --color-success:       #6B9E7A;
  --color-warning:       #C9A060;
  --color-error:         #C05060;

  /* Overlay */
  --color-overlay:       rgba(44, 26, 26, 0.45);

  /* Typography */
  --font-serif:    'Cormorant Garamond', 'Georgia', serif;
  --font-sans:     'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale */
  --text-xs:   clamp(0.688rem, 0.65rem  + 0.19vw, 0.75rem);
  --text-sm:   clamp(0.813rem, 0.77rem  + 0.21vw, 0.875rem);
  --text-base: clamp(0.938rem, 0.9rem   + 0.19vw, 1rem);
  --text-md:   clamp(1.063rem, 1rem     + 0.31vw, 1.125rem);
  --text-lg:   clamp(1.188rem, 1.1rem   + 0.44vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1.2rem   + 0.88vw, 1.75rem);
  --text-2xl:  clamp(1.75rem,  1.4rem   + 1.75vw, 2.5rem);
  --text-3xl:  clamp(2.25rem,  1.7rem   + 2.75vw, 3.5rem);
  --text-4xl:  clamp(3rem,     2.2rem   + 4vw,    5rem);

  /* Weights */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* Line height */
  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Letter spacing */
  --tracking-tight:   -0.02em;
  --tracking-normal:   0;
  --tracking-wide:     0.05em;
  --tracking-wider:    0.1em;
  --tracking-widest:   0.18em;

  /* Spacing (4px base) */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --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;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(44,26,26,0.06);
  --shadow-sm:   0 2px 8px rgba(44,26,26,0.08);
  --shadow-md:   0 4px 16px rgba(44,26,26,0.10);
  --shadow-lg:   0 8px 32px rgba(44,26,26,0.12);
  --shadow-xl:   0 16px 48px rgba(44,26,26,0.16);
  --shadow-glow: 0 0 20px rgba(192,96,122,0.25);

  /* Transitions */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:  150ms;
  --duration-base:  250ms;
  --duration-slow:  400ms;

  /* Z-index */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:    10;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;

  /* Layout */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;
  --container-pad: clamp(1rem, 5vw, 3rem);
  --nav-height:    117px;  /* 72px top row + 1px border + 44px bottom row */
}


/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; margin: 0 !important; padding: 0 !important; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: var(--weight-medium); line-height: var(--leading-tight); color: var(--color-text); }


/* ------------------------------------------------------------
   TYPOGRAPHY CLASSES
   ------------------------------------------------------------ */
.display-xl { font-family: var(--font-serif); font-size: var(--text-4xl); font-weight: var(--weight-light); line-height: 1.05; letter-spacing: var(--tracking-tight); }
.display-lg { font-family: var(--font-serif); font-size: var(--text-3xl); font-weight: var(--weight-light); line-height: 1.1;  letter-spacing: var(--tracking-tight); }

.heading-xl { font-size: var(--text-2xl); font-weight: var(--weight-medium); }
.heading-lg { font-size: var(--text-xl);  font-weight: var(--weight-medium); }
.heading-md { font-size: var(--text-lg);  font-weight: var(--weight-medium); }
.heading-sm { font-size: var(--text-md);  font-weight: var(--weight-medium); }

.subheading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand);
}

.body-lg   { font-size: var(--text-md);  line-height: var(--leading-normal); }
.body-base { font-size: var(--text-base); line-height: var(--leading-normal); }
.body-sm   { font-size: var(--text-sm);  line-height: var(--leading-normal); }

.caption { font-size: var(--text-xs); color: var(--color-text-muted); letter-spacing: var(--tracking-wide); }

.italic-accent { font-style: italic; color: var(--color-brand); }

.price          { font-family: var(--font-sans); font-weight: var(--weight-medium); font-size: var(--text-md); color: var(--color-text); }
.price-original { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: line-through; }
.price-sale     { color: var(--color-brand-dark); font-weight: var(--weight-semibold); }


/* ------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container-2xl); margin-inline: auto; padding-inline: var(--container-pad); }
.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--xl  { max-width: var(--container-xl); }

.section    { padding-block: clamp(var(--space-0), 8vw, var(--space-32)); }
.section--sm { padding-block: clamp(var(--space-8),  4vw, var(--space-16)); }
#bestsellers { padding-top: 10px; padding-bottom: 20px; }

.grid   { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-1 { gap: var(--space-1); } .gap-2 { gap: var(--space-2); } .gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); } .gap-6 { gap: var(--space-10); } .gap-8 { gap: var(--space-8); }

.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.text-brand   { color: var(--color-brand); }
.text-gold    { color: var(--color-gold); }
.text-muted   { color: var(--color-text-muted); }
.text-soft    { color: var(--color-text-soft); }
.text-inverse { color: var(--color-text-inverse); }

.bg-brand   { background-color: var(--color-brand); }
.bg-surface { background-color: var(--color-surface); }
.bg-rose    { background-color: var(--color-surface-rose); }
.bg-alt     { background-color: var(--color-bg-alt); }
.bg-dark    { background-color: var(--color-text); }

.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

.aspect-square   { aspect-ratio: 1 / 1; }
.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-wide     { aspect-ratio: 16 / 9; }

.object-cover   { object-fit: cover;   width: 100%; height: 100%; }
.object-contain { object-fit: contain; width: 100%; height: 100%; }

.divider { border: none; height: 1px; background: var(--color-border); margin-block: var(--space-8); }
.divider--brand { background: linear-gradient(90deg, transparent, var(--color-brand), transparent); }


/* ------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------ */
@keyframes fadeIn    { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer   { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }

.animate-fade-in    { animation: fadeIn   var(--duration-slow) var(--ease-out) both; }
.animate-fade-in-up { animation: fadeInUp var(--duration-slow) var(--ease-out) both; }

.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }


/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.75em 1.75em;
  border-radius: var(--radius-full);
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider); text-transform: uppercase; white-space: nowrap;
  transition: background-color var(--duration-base) var(--ease-default), color var(--duration-base) var(--ease-default), border-color var(--duration-base) var(--ease-default), box-shadow var(--duration-base) var(--ease-default), transform var(--duration-fast) var(--ease-spring);
  cursor: pointer; border: 1.5px solid transparent; text-decoration: none; user-select: none;
}
.btn:active        { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; }

.btn-primary { background-color: var(--color-brand); color: var(--color-text-inverse); border-color: var(--color-brand); }
.btn-primary:hover { background-color: var(--color-brand-dark); border-color: var(--color-brand-dark); box-shadow: var(--shadow-glow); }

.btn-secondary { background-color: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.btn-secondary:hover { background-color: var(--color-brand-subtle); box-shadow: var(--shadow-sm); }

.btn-ghost { background-color: transparent; color: var(--color-text-soft); border-color: transparent; padding-inline: var(--space-4); }
.btn-ghost:hover { color: var(--color-brand); background-color: var(--color-brand-subtle); }

.btn-dark { background-color: var(--color-text); color: var(--color-text-inverse); border-color: var(--color-text); }
.btn-dark:hover { background-color: var(--color-brand-dark); border-color: var(--color-brand-dark); }

.btn-gold { background-color: var(--color-gold); color: var(--color-text-inverse); border-color: var(--color-gold); }
.btn-gold:hover { background-color: var(--color-gold-dark); box-shadow: 0 0 20px rgba(201,164,120,0.35); }

.btn-outline-light { background-color: transparent; color: var(--color-text-inverse); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background-color: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.9); }

.btn-sm   { font-size: var(--text-xs);  padding: 0.6em 1.25em; }
.btn-lg   { font-size: var(--text-base); padding: 0.9em 2.25em; }
.btn-xl   { font-size: var(--text-md);  padding: 1em 2.75em; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); }
.btn-full { width: 100%; }

.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }


/* ------------------------------------------------------------
   BADGES
   ------------------------------------------------------------ */
.badge { display: inline-flex; align-items: center; padding: 0.25em 0.65em; border-radius: var(--radius-full); font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; line-height: 1; white-space: nowrap; }

.badge-new        { background-color: var(--color-brand);       color: var(--color-text-inverse); }
.badge-bestseller { background-color: var(--color-gold);        color: var(--color-text-inverse); }
.badge-limited    { background-color: var(--color-text);        color: var(--color-text-inverse); }
.badge-sale       { background-color: var(--color-error);       color: var(--color-text-inverse); }
.badge-coming-soon { background-color: var(--color-surface-rose); color: var(--color-brand-dark); border: 1px solid var(--color-border-strong); }


/* ------------------------------------------------------------
   PRODUCT CARD
   ------------------------------------------------------------ */
.product-card {
  position: relative; display: flex; flex-direction: column;
  background-color: var(--color-surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: box-shadow var(--duration-base) var(--ease-default), transform var(--duration-base) var(--ease-default);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card__link { position: absolute; inset: 0; z-index: 1; }

.product-card__image-wrap { position: relative; overflow: hidden; background-color: var(--color-bg-alt); aspect-ratio: 3 / 4; }

.product-card__img-placeholder {
  position: absolute; inset: 0;
  transition: transform var(--duration-slow) var(--ease-default);
}
.product-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-default);
}
.product-card:hover .product-card__img-placeholder,
.product-card:hover .product-card__img { transform: scale(1.04); }

.product-card__badge  { position: absolute; top: var(--space-3); left: var(--space-3);  z-index: 2; }

.product-card__wishlist {
  position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.88); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); cursor: pointer; color: var(--color-text-muted);
  transition: background-color var(--duration-fast) var(--ease-default), color var(--duration-fast) var(--ease-default), border-color var(--duration-fast) var(--ease-default);
}
.product-card__wishlist:hover,
.product-card__wishlist.is-active { background-color: var(--color-brand-subtle); color: var(--color-brand); border-color: var(--color-brand-light); }

.product-card__quick-shop {
  position: absolute; bottom: 0; left: 0; right: 0; padding: var(--space-3); z-index: 2;
  background: linear-gradient(to top, rgba(44,26,26,0.72) 0%, transparent 100%);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--duration-base) var(--ease-default), transform var(--duration-base) var(--ease-default);
}
.product-card:hover .product-card__quick-shop { opacity: 1; transform: translateY(0); }

.product-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }

.product-card__brand { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--color-brand); }
.product-card__name  { font-family: var(--font-serif); font-size: var(--text-md); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--color-text); }
.product-card__shade { font-size: var(--text-xs); color: var(--color-text-muted); }
.product-card__rating { display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-xs); color: var(--color-gold); }
.product-card__rating-count { color: var(--color-text-muted); font-family: var(--font-sans); }
.product-card__price { display: flex; align-items: baseline; gap: var(--space-2); margin-top: auto; }
.product-card__swatches { display: flex; gap: var(--space-1); flex-wrap: wrap; }

.swatch { width: 18px; height: 18px; border-radius: var(--radius-full); border: 1.5px solid var(--color-border); cursor: pointer; transition: transform var(--duration-fast) var(--ease-spring), border-color var(--duration-fast) var(--ease-default); padding: 0; }
.swatch:hover, .swatch.is-active { transform: scale(1.3); border-color: var(--color-text); }

.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6); }
@media (max-width: 960px) { .products-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2,1fr); gap: var(--space-4); } }


/* ------------------------------------------------------------
   ANNOUNCEMENT BAR
   ------------------------------------------------------------ */
.announcement-bar {
  background-color: var(--color-text); color: rgba(255,255,255,0.9);
  font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: var(--tracking-wider);
  text-transform: uppercase; overflow: hidden; padding-block: var(--space-2);
}
.announcement-bar__marquee { display: flex; white-space: nowrap; animation: marquee 28s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.announcement-bar a { color: var(--color-gold-light); text-decoration: underline; text-underline-offset: 2px; }


/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: var(--z-overlay); }

.nav {
  background-color: rgba(254,246,246,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--duration-base) var(--ease-default);
}
.nav--scrolled { box-shadow: var(--shadow-md); }

/* ── Row 1: logo flanked by icon groups ───────────────────── */
.nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-2xl);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.nav__top-left  { display: flex; align-items: center; gap: var(--space-3); flex: 1; }
.nav__top-right { display: flex; align-items: center; gap: var(--space-2); flex: 1; justify-content: flex-end; }

/* Logo */
.nav__logo { font-family: var(--font-serif); font-size: var(--text-2xl); font-weight: var(--weight-light); letter-spacing: var(--tracking-wide); color: var(--color-text); white-space: nowrap; text-decoration: none; flex-shrink: 0; }
.nav__logo em { font-style: normal; color: var(--color-brand); }

/* ── Row 2: nav links ─────────────────────────────────────── */
.nav__bottom {
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.nav__links { display: flex; align-items: center; gap: var(--space-2); list-style: none; }

.nav__link { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-text-soft); text-decoration: none; position: relative; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); transition: color var(--duration-fast) var(--ease-default); white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; bottom: -2px; left: var(--space-3); right: var(--space-3); height: 1.5px; background-color: var(--color-brand); transform: scaleX(0); transform-origin: center; transition: transform var(--duration-base) var(--ease-out); }
.nav__link:hover, .nav__link.is-active { color: var(--color-brand); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

/* ── Icon buttons ─────────────────────────────────────────── */
.nav__action-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); color: var(--color-text-soft); transition: color var(--duration-fast) var(--ease-default), background-color var(--duration-fast) var(--ease-default); position: relative; cursor: pointer; border: none; background: none; }
.nav__action-btn:hover { color: var(--color-brand); background-color: var(--color-brand-subtle); }

.nav__cart-count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; border-radius: var(--radius-full); background-color: var(--color-text); color: var(--color-text-inverse); font-size: 10px; font-weight: var(--weight-bold); display: flex; align-items: center; justify-content: center; padding-inline: 3px; line-height: 1; }

/* Hamburger (hidden on desktop) */
.nav__hamburger { display: none; flex-direction: column; gap: 5px; width: 24px; cursor: pointer; border: none; background: none; padding: 0; flex-shrink: 0; }
.nav__hamburger span { display: block; height: 1.5px; background-color: var(--color-text); border-radius: var(--radius-full); transition: transform var(--duration-base) var(--ease-default), opacity var(--duration-base); }

/* ── Mega menu ────────────────────────────────────────────── */
.nav__item { position: relative; }

/* Invisible bridge fills the gap between the link and the panel.
   Without this the hover breaks as the mouse crosses the space. */
.nav__item--mega::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 16px;
}

.nav__mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  min-width: 680px;
  background-color: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: var(--space-8);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base);
  pointer-events: none; z-index: var(--z-overlay);
}
.nav__item--mega:hover .nav__mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out); pointer-events: auto; }

.nav__mega-inner { display: grid; grid-template-columns: repeat(3,1fr) 180px; gap: var(--space-8); }

.nav__mega-heading { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.nav__mega-col ul  { display: flex; flex-direction: column; gap: var(--space-2); }
.nav__mega-link    { font-size: var(--text-sm); color: var(--color-text-soft); text-decoration: none; transition: color var(--duration-fast) var(--ease-default); }
.nav__mega-link:hover { color: var(--color-brand); }

.nav__mega-feature { display: flex; flex-direction: column; }
.nav__mega-feature-img { width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg); margin-bottom: var(--space-3); overflow: hidden; }
.nav__mega-feature-label { font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--color-brand); margin-bottom: var(--space-1); }
.nav__mega-feature-name  { font-family: var(--font-serif); font-size: var(--text-md); color: var(--color-text); }

/* ── Expandable search bar ────────────────────────────────── */
.nav__search-bar { overflow: hidden; max-height: 0; opacity: 0; transition: max-height var(--duration-slow) var(--ease-out), opacity var(--duration-base) var(--ease-out), padding var(--duration-slow) var(--ease-out); background-color: rgba(254,246,246,0.97); border-top: 1px solid var(--color-border); }
.nav__search-bar.is-open { max-height: 80px; opacity: 1; padding-block: var(--space-3); }
.nav__search-inner { display: flex; align-items: center; gap: var(--space-3); max-width: var(--container-2xl); margin-inline: auto; padding-inline: var(--container-pad); }
.nav__search-field  { flex: 1; }
.nav__search-input  { border-radius: var(--radius-full); border: 1.5px solid var(--color-border-strong); }
.nav__search-close  { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); border: none; background: none; color: var(--color-text-muted); cursor: pointer; flex-shrink: 0; transition: color var(--duration-fast), background-color var(--duration-fast); }
.nav__search-close:hover { color: var(--color-text); background-color: var(--color-bg-alt); }

/* Search results dropdown */
.nav__search-results { position: fixed; left: 0; right: 0; z-index: 500; background: var(--color-surface); border-bottom: 1px solid var(--color-border); box-shadow: 0 12px 40px rgba(44,26,26,0.12); display: none; max-height: 420px; overflow-y: auto; }
.nav__search-results.is-visible { display: block; }
.search-result-item { display: flex; align-items: center; gap: 14px; padding: 11px 24px; text-decoration: none; color: var(--color-text); transition: background 0.12s; border-bottom: 1px solid var(--color-border); }
.search-result-item:last-of-type { border-bottom: none; }
.search-result-item:hover { background: var(--color-bg-alt); }
.search-result-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.search-result-thumb-placeholder { width: 46px; height: 46px; border-radius: 8px; flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-brand { font-size: 11px; color: var(--color-text-muted); margin-bottom: 2px; }
.search-result-name { font-size: 13px; font-weight: 500; color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-price { font-size: 13px; font-weight: 600; color: var(--color-brand); white-space: nowrap; }
.search-result-footer { padding: 11px 24px; font-size: 12px; text-align: center; color: var(--color-text-muted); }
.search-result-footer a { color: var(--color-brand); font-weight: 500; }
.search-result-footer a:hover { text-decoration: underline; }
.search-no-results { padding: 22px 24px; font-size: 13px; color: var(--color-text-muted); text-align: center; }

/* ── Mobile drawer ────────────────────────────────────────── */
.nav__drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 90vw); background-color: var(--color-surface); z-index: var(--z-modal); transform: translateX(-100%); transition: transform var(--duration-slow) var(--ease-out); display: flex; flex-direction: column; }
.nav__drawer.is-open { transform: translateX(0); }

.nav__drawer-overlay { position: fixed; inset: 0; background-color: var(--color-overlay); z-index: calc(var(--z-modal) - 1); opacity: 0; visibility: hidden; transition: opacity var(--duration-slow) var(--ease-default), visibility 0s linear var(--duration-slow); backdrop-filter: blur(2px); }
.nav__drawer-overlay.is-open { opacity: 1; visibility: visible; transition: opacity var(--duration-slow) var(--ease-default); }

.nav__drawer-inner  { display: flex; flex-direction: column; height: 100%; padding: var(--space-6); overflow-y: auto; }
.nav__drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-8); padding-bottom: var(--space-6); border-bottom: 1px solid var(--color-border); }

.nav__drawer-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); border: none; background: none; color: var(--color-text-muted); cursor: pointer; transition: color var(--duration-fast), background-color var(--duration-fast); }
.nav__drawer-close:hover { color: var(--color-text); background-color: var(--color-bg-alt); }

.nav__drawer-links { display: flex; flex-direction: column; gap: 0; list-style: none; flex: 1; }
.nav__drawer-links a { display: block; padding: var(--space-4) 0; font-family: var(--font-serif); font-size: var(--text-xl); font-weight: var(--weight-light); color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-border); transition: color var(--duration-fast) var(--ease-default), padding-left var(--duration-fast) var(--ease-default); }
.nav__drawer-links a:hover { color: var(--color-brand); padding-left: var(--space-2); }

.nav__drawer-footer { padding-top: var(--space-6); margin-top: var(--space-6); border-top: 1px solid var(--color-border); }
.nav__drawer-divider { height: 1px; background: var(--color-border); margin: var(--space-3) 0; list-style: none; }
.nav__drawer-signout { color: var(--color-brand) !important; }

/* ── Mobile: collapse bottom row, show hamburger ─────────── */
@media (max-width: 900px) {
  .nav__bottom   { display: none; }
  .nav__hamburger { display: flex; }
  .nav__wishlist  { display: none; }   /* desktop-only icon */
}


/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero { position: relative; min-height: calc(88vh - var(--nav-height)); display: flex; align-items: center; overflow: hidden; }

/* Slides */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center center; background-repeat: no-repeat; }

.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30,10,18,0.72) 0%, rgba(30,10,18,0.48) 38%, rgba(30,10,18,0.08) 65%, transparent 100%); }
.hero__overlay--soft { background: linear-gradient(100deg, rgba(30,10,18,0.55) 0%, rgba(30,10,18,0.28) 42%, transparent 68%); }

/* Dot navigation */
.hero__dots { position: absolute; bottom: var(--space-8); left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: var(--z-base); }
.hero__dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: rgba(255,255,255,0.35); border: 1.5px solid rgba(255,255,255,0.6); cursor: pointer; padding: 0; transition: background var(--duration-fast), transform var(--duration-fast); }
.hero__dot.is-active { background: #fff; transform: scale(1.3); border-color: #fff; }

.hero__content { position: relative; z-index: var(--z-base); max-width: 620px; padding-block: var(--space-20); }

.hero__eyebrow { margin-bottom: var(--space-4); color: rgba(255,255,255,0.7); letter-spacing: 0.18em; }
.hero__title .italic-accent { color: #F4A7BE; }

.hero__title { font-family: var(--font-serif); font-size: var(--text-4xl); font-weight: var(--weight-light); line-height: 1.06; letter-spacing: var(--tracking-tight); color: #fff; margin-bottom: var(--space-6); }

.hero__subtitle { font-size: var(--text-md); font-weight: var(--weight-light); color: rgba(255,255,255,0.82); line-height: var(--leading-loose); margin-bottom: var(--space-8); }

.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

.hero__scroll-hint { position: absolute; bottom: var(--space-14); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); animation: bounce-down 2.4s ease-in-out infinite; z-index: var(--z-base); }
@keyframes bounce-down { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }


/* ------------------------------------------------------------
   BRAND MARQUEE STRIP
   ------------------------------------------------------------ */
.brand-strip {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-3);
  overflow: hidden;
}

.brand-strip__track {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: max-content;
  animation: brand-scroll 28s linear infinite;
}

.brand-strip { pointer-events: none; }

.brand-strip__item {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-soft);
  white-space: nowrap;
  text-transform: uppercase;
  font-style: italic;
}

.brand-strip__dot {
  color: var(--color-brand);
  font-size: 0.5rem;
  flex-shrink: 0;
}

@keyframes brand-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ------------------------------------------------------------
   SECTION HEADER
   ------------------------------------------------------------ */
.section-header { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: clamp(var(--space-8),4vw,var(--space-12)); }
.section-header__eyebrow { margin-bottom: var(--space-3); }
.section-header__title { font-family: var(--font-serif); font-size: var(--text-2xl); font-weight: var(--weight-light); margin-bottom: var(--space-4); line-height: var(--leading-snug); }
.section-header__desc  { color: var(--color-text-soft); font-size: var(--text-base); line-height: var(--leading-loose); }


/* ------------------------------------------------------------
   OUR STORIES / NEW ARRIVALS
   ------------------------------------------------------------ */
.stories-grid {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.stories-grid::-webkit-scrollbar { display: none; }

.story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #1a1a1a;
  cursor: pointer;
  flex: 0 0 calc(25% - var(--space-3));
  min-width: 200px;
}

.story-card__media {
  position: absolute;
  inset: 0;
}

.story-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Shown while video hasn't loaded */
.story-card__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #F2C5D5 0%, #2C1A2E 100%);
  z-index: 1;
}
.story-card__media video[src]:not([src=""]) ~ .story-card__placeholder { display: none; }

/* Bottom overlay */
.story-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.story-card__info {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.story-card__thumb {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.story-card__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: #fff;
  line-height: 1.3;
}

.story-card__price {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.story-card__btn {
  width: 100%;
  padding: 0.55em 0;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration-fast);
}
.story-card__btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .story-card { flex: 0 0 60vw; min-width: unset; }
}
@media (max-width: 480px) {
  .story-card { flex: 0 0 72vw; }
  .story-card__name { font-size: 0.7rem; }
}

/* ------------------------------------------------------------
   EDITORIAL FEATURE
   ------------------------------------------------------------ */
.editorial-feature { overflow: hidden; }

.editorial-feature__inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }

.editorial-feature__media { position: relative; overflow: hidden; }
.editorial-feature__media-bg { position: absolute; inset: 0; background: linear-gradient(145deg, #C0607A 0%, #9A3E58 35%, #2C1A1A 100%); transition: transform var(--duration-slow) var(--ease-default); }
.editorial-feature:hover .editorial-feature__media-bg { transform: scale(1.03); }

.editorial-feature__deco-word { position: absolute; bottom: -0.1em; left: -0.05em; font-family: var(--font-serif); font-size: clamp(5rem,14vw,12rem); font-weight: var(--weight-bold); line-height: 1; color: rgba(255,255,255,0.06); letter-spacing: -0.04em; pointer-events: none; user-select: none; }

.editorial-feature__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(var(--space-10),6vw,var(--space-20)); background-color: var(--color-surface-rose); }

.editorial-feature__title { font-family: var(--font-serif); font-size: var(--text-3xl); font-weight: var(--weight-light); line-height: 1.1; color: var(--color-text); margin-block: var(--space-5) var(--space-6); }
.editorial-feature__desc  { color: var(--color-text-soft); font-size: var(--text-base); line-height: var(--leading-loose); max-width: 420px; }

@media (max-width: 768px) {
  .editorial-feature__inner { grid-template-columns: 1fr; }
  .editorial-feature__media { min-height: 280px; }
}


/* ------------------------------------------------------------
   BRANDS GRID
   ------------------------------------------------------------ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  text-decoration: none;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: #fff;
  padding: var(--space-6) var(--space-5);
  min-height: 180px;
  transition: box-shadow var(--duration-fast), transform var(--duration-fast);
}
.brand-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.brand-card__logo {
  width: 100%;
  max-width: 220px;
  height: 100px;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  transition: filter var(--duration-fast);
}
.brand-card:hover .brand-card__logo { filter: grayscale(0%); }

.brand-card__cta {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-brand);
  transition: letter-spacing var(--duration-base) var(--ease-out);
}
.brand-card:hover .brand-card__cta { letter-spacing: 0.14em; }

@media (max-width: 768px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-card { min-height: 130px; padding: var(--space-6); }
}
@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}


/* ------------------------------------------------------------
   BRAND PROMISE
   ------------------------------------------------------------ */
.brand-promise__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-5); }
.brand-promise__item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.brand-promise__icon { width: 60px; height: 60px; border-radius: var(--radius-full); background-color: var(--color-brand-subtle); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-brand); flex-shrink: 0; }
.brand-promise__title { font-family: var(--font-serif); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--color-text); }
.brand-promise__desc  { font-size: var(--text-sm); color: var(--color-text-muted); line-height: var(--leading-loose); }

@media (max-width: 900px) { .brand-promise__grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 480px) { .brand-promise__grid { grid-template-columns: repeat(2,1fr); } }


/* ------------------------------------------------------------
   INSTAGRAM FEED
   ------------------------------------------------------------ */
.instagram-handle {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast);
}
.instagram-handle:hover { color: var(--color-brand); }

.instagram-grid {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
  cursor: grab;
  user-select: none;
}
.instagram-grid::-webkit-scrollbar { display: none; }
.instagram-grid .instagram-post {
  flex: 0 0 calc((100% - var(--space-2) * 2) / 3);
  scroll-snap-align: start;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
}

.instagram-post__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-default);
}
.instagram-post:hover .instagram-post__img { transform: scale(1.06); }

.instagram-post__hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-fast);
}
.instagram-post:hover .instagram-post__hover { opacity: 1; }

@media (max-width: 768px) {
  .instagram-grid .instagram-post { flex: 0 0 calc((100% - var(--space-2)) / 2); }
}
@media (max-width: 480px) {
  .instagram-grid .instagram-post { flex: 0 0 80vw; }
}

/* ------------------------------------------------------------
   NEWSLETTER
   ------------------------------------------------------------ */
.newsletter-card { position: relative; overflow: hidden; background-color: var(--color-surface-rose); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: clamp(var(--space-10),5vw,var(--space-16)); text-align: center; }
.newsletter-card__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 10% 90%, rgba(192,96,122,0.12) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 90% 10%, rgba(201,164,120,0.10) 0%, transparent 70%); }
.newsletter-card__content { position: relative; z-index: var(--z-base); }
.newsletter-card__title { font-family: var(--font-serif); font-size: var(--text-2xl); font-weight: var(--weight-light); color: var(--color-text); margin-block: var(--space-4) var(--space-5); }
.newsletter-card__desc  { color: var(--color-text-soft); font-size: var(--text-base); line-height: var(--leading-loose); max-width: 440px; margin-inline: auto; margin-bottom: var(--space-8); }

.newsletter-form { max-width: 480px; margin-inline: auto; }
.newsletter-form__row   { display: flex; gap: var(--space-3); align-items: stretch; }
.newsletter-form__input { flex: 1; border-radius: var(--radius-full); border-color: var(--color-border-strong); }
.newsletter-form__btn   { flex-shrink: 0; }
.newsletter-form__note  { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); letter-spacing: var(--tracking-wide); }

@media (max-width: 520px) {
  .newsletter-form__row { flex-direction: column; }
  .newsletter-form__btn { width: 100%; }
}


/* ------------------------------------------------------------
   FORM ELEMENTS
   ------------------------------------------------------------ */
.form-label { display: block; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: var(--tracking-wide); color: var(--color-text-soft); margin-bottom: var(--space-2); }

.form-input, .form-textarea, .form-select { width: 100%; padding: 0.75em 1em; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background-color: var(--color-surface); color: var(--color-text); font-family: var(--font-sans); font-size: var(--text-base); outline: none; transition: border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(192,96,122,0.12); }
.form-textarea { min-height: 120px; resize: vertical; }

.input-group { position: relative; }
.input-group .form-input { padding-left: 2.5rem; }
.input-group__icon { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }

.form-input.is-error, .form-textarea.is-error { border-color: var(--color-error); }
.form-error-msg { font-size: var(--text-xs); color: var(--color-error); margin-top: var(--space-1); }


/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer { background-color: var(--color-text); color: rgba(255,255,255,0.75); padding-top: clamp(var(--space-16),6vw,var(--space-24)); padding-bottom: var(--space-8); }
.footer__top { gap: var(--space-10); }
.footer__logo { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: var(--weight-medium); color: var(--color-text-inverse); margin-bottom: var(--space-4); display: block; }
.footer__logo span { color: var(--color-brand-light); }
.footer__tagline { font-size: var(--text-sm); color: rgba(255,255,255,0.5); margin-bottom: var(--space-6); line-height: var(--leading-loose); max-width: 260px; }
.footer__heading { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--color-text-inverse); margin-bottom: var(--space-4); }
.footer__links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__link  { font-size: var(--text-sm); color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--duration-fast) var(--ease-default); }
.footer__link:hover { color: var(--color-brand-light); }
.footer__divider { border: none; height: 1px; background-color: rgba(255,255,255,0.08); margin-block: var(--space-8); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); color: rgba(255,255,255,0.3); letter-spacing: var(--tracking-wide); }
.footer__legal  { display: flex; gap: var(--space-6); }

/* Social links */
.social-links { display: flex; gap: var(--space-3); }
.social-link  { width: 36px; height: 36px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); transition: border-color var(--duration-fast) var(--ease-default), color var(--duration-fast) var(--ease-default), background-color var(--duration-fast) var(--ease-default); }
.social-link:hover { border-color: var(--color-brand-light); color: var(--color-brand-light); background-color: rgba(192,96,122,0.14); }


/* ------------------------------------------------------------
   SKELETON / TOAST / MODAL
   ------------------------------------------------------------ */
.skeleton { background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-surface-rose) 50%, var(--color-bg-alt) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-md); }

.toast { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background-color: var(--color-surface); box-shadow: var(--shadow-xl); border-left: 3px solid var(--color-brand); max-width: 360px; animation: fadeInUp var(--duration-slow) var(--ease-spring) both; }
.toast--success { border-color: var(--color-success); }
.toast--warning { border-color: var(--color-warning); }
.toast--error   { border-color: var(--color-error); }

.modal-overlay { position: fixed; inset: 0; background-color: var(--color-overlay); z-index: var(--z-overlay); display: flex; align-items: center; justify-content: center; padding: var(--space-4); backdrop-filter: blur(4px); }
.modal { background-color: var(--color-surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); width: 100%; max-width: 480px; padding: var(--space-8); position: relative; z-index: var(--z-modal); animation: fadeInUp var(--duration-slow) var(--ease-spring) both; }
.modal__close { position: absolute; top: var(--space-4); right: var(--space-4); }


/* ============================================================
   PRODUCT PAGE
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
}
.breadcrumb__item + .breadcrumb__item::before { content: '›'; margin-right: var(--space-2); }
.breadcrumb__item a { transition: color var(--duration-fast); }
.breadcrumb__item a:hover { color: var(--color-brand); }
.breadcrumb__item.is-active { color: var(--color-text); }

/* Product section */
.product-section { padding-block: var(--space-8) var(--space-16); }

.product-layout {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* ── Gallery ── */
.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-3);
}

/* Decorative rose blob behind the image */
.product-gallery__blob {
  position: absolute;
  inset: -10% -5%;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, rgba(244,167,190,0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Sale ribbon — top-left corner of the main image */
.product-gallery__ribbon {
  position: absolute;
  top: var(--space-4);
  left: 84px;
  background: var(--color-brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  z-index: 2;
}

/* Vertical thumb strip */
.product-gallery__thumbs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 1;
}
.product-gallery__thumb {
  width: 68px;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--duration-fast);
  padding: 0;
  flex-shrink: 0;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__thumb.is-active { border-color: var(--color-brand); }
.product-gallery__thumb:hover { border-color: var(--color-brand-light); }

/* Main image */
.product-gallery__main {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 3/4;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-bg-alt);
  z-index: 1;
}
.product-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease, transform var(--duration-slow) var(--ease-default);
}
.product-gallery__main:hover .product-gallery__main-img { transform: scale(1.03); }

/* ── Product Info ── */
.product-info { padding-top: var(--space-2); }

.product-info__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.product-info__brand {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand);
  transition: color var(--duration-fast);
}
.product-info__brand:hover { color: var(--color-brand-dark); }
.product-info__stock {
  font-size: var(--text-xs);
  color: var(--color-success);
  letter-spacing: var(--tracking-wide);
}

.product-info__name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: var(--weight-light);
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.product-info__name-italic {
  font-style: italic;
  color: var(--color-brand);
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.star-rating { display: flex; gap: 1px; }
.star { font-size: 0.95rem; color: var(--color-border-strong); line-height: 1; }
.star.is-filled { color: #E8A530; }
.star.is-half  { color: #E8A530; opacity: 0.5; }
.star-rating--lg .star { font-size: 1.3rem; }
.product-info__review-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-info__review-count:hover { color: var(--color-brand); }

.product-info__price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.product-info__price {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  color: var(--color-text);
}
.product-info__price-original {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-info__divider {
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-5);
}

/* Options */
.product-option { margin-bottom: var(--space-5); }
.product-option__label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.product-option__label strong { color: var(--color-text); font-weight: var(--weight-medium); }

.shade-swatches { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); }
.shade-swatch {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  outline: 2.5px solid transparent;
  outline-offset: 2px;
  cursor: pointer;
  transition: outline-color var(--duration-fast), transform var(--duration-fast);
  box-shadow: var(--shadow-xs);
}
.shade-swatch:hover { transform: scale(1.18); }
.shade-swatch.is-active { outline-color: var(--color-brand); border-color: #fff; transform: scale(1.12); }

/* Animated shade preview strip */
.shade-preview-strip {
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  overflow: hidden;
}
.shade-preview-strip__fill {
  height: 100%;
  width: 100%;
  border-radius: var(--radius-full);
  transition: background 0.4s ease;
}

.finish-options { display: flex; gap: var(--space-2); }
.finish-btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-soft);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast), color var(--duration-fast);
}
.finish-btn:hover { border-color: var(--color-brand); color: var(--color-brand); }
.finish-btn.is-active {
  border-color: var(--color-brand);
  background: var(--color-brand-subtle);
  color: var(--color-brand-dark);
}

/* Benefit chips */
.benefit-chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.benefit-chip {
  font-size: 0.65rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-soft);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

/* CTA row */
.product-cta-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}
.qty-btn {
  width: 38px;
  height: 46px;
  font-size: 1.1rem;
  color: var(--color-text-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.qty-btn:hover { background: var(--color-bg-alt); color: var(--color-brand); }
.qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  user-select: none;
}

.btn-add-to-bag {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 50px;
  background: var(--color-text);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration-base), transform var(--duration-fast), box-shadow var(--duration-base);
  box-shadow: 0 4px 20px rgba(44,26,26,0.18);
}
.btn-add-to-bag:hover {
  background: var(--color-brand);
  box-shadow: 0 6px 24px rgba(192,96,122,0.35);
  transform: translateY(-1px);
}
.btn-add-to-bag--sm {
  flex: none;
  height: 40px;
  font-size: var(--text-xs);
  padding-inline: var(--space-6);
}

.wishlist-circle-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
  flex-shrink: 0;
  background: transparent;
  transition: border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
}
.wishlist-circle-btn:hover,
.wishlist-circle-btn.is-wishlisted {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-subtle);
}
.wishlist-circle-btn.is-wishlisted svg { fill: var(--color-brand); }

/* Perks inline strip */
.product-perks {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}
.product-perk {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  letter-spacing: var(--tracking-wide);
}
.product-perk svg { flex-shrink: 0; color: var(--color-brand); }
.product-perks__dot { color: var(--color-border-strong); }

/* Accordion */
.accordion { border-top: 1px solid var(--color-border); }
.accordion__item { border-bottom: 1px solid var(--color-border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--duration-fast);
}
.accordion__trigger:hover { color: var(--color-brand); }
.accordion__icon { flex-shrink: 0; transition: transform var(--duration-base) var(--ease-default); }
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); }
.accordion__body {
  display: none;
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: var(--leading-loose);
}
.accordion__item.is-open .accordion__body { display: block; }

.product-detail-list {
  margin-top: var(--space-3);
  padding-left: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-detail-list li { list-style: disc; }
.product-detail-list--ordered li { list-style: decimal; }

/* Sticky buy bar */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(44,26,26,0.10);
  z-index: var(--z-sticky);
  padding-block: var(--space-3);
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease-out);
}
.sticky-buy-bar.is-visible { transform: translateY(0); }
.sticky-buy-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.sticky-buy-bar__info { flex: 1; }
.sticky-buy-bar__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}
.sticky-buy-bar__shade {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.sticky-buy-bar__price {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--color-text);
}

/* Reviews */
.reviews-summary {
  display: flex;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--color-brand-subtle) 0%, var(--color-surface) 60%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-8);
}
.reviews-summary__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 110px;
}
.reviews-summary__number {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: var(--weight-light);
  line-height: 1;
  color: var(--color-text);
}
.reviews-summary__total { font-size: var(--text-xs); color: var(--color-text-muted); letter-spacing: var(--tracking-wide); }
.reviews-summary__bars { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); }

.review-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.review-bar__track {
  flex: 1;
  height: 5px;
  background: rgba(192,96,122,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.review-bar__fill {
  height: 100%;
  background: var(--color-brand);
  border-radius: var(--radius-full);
  opacity: 0.6;
}

/* Review cards — editorial style with big quote mark */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}
.review-card__quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.7;
  color: var(--color-brand-subtle);
  user-select: none;
}
.review-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: var(--leading-loose);
  flex: 1;
}
.review-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-brand-subtle);
  color: var(--color-brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  flex-shrink: 0;
}
.review-card__name { font-weight: var(--weight-semibold); font-size: var(--text-xs); }
.review-card__shade { font-size: 0.65rem; color: var(--color-text-muted); margin-top: 1px; }
.review-card__stars { margin-left: auto; }

/* Product page responsive */
@media (max-width: 960px) {
  .product-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .product-gallery {
    position: static;
    grid-template-columns: 60px 1fr;
  }
  .product-gallery__ribbon { left: 74px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .product-gallery__thumbs {
    flex-direction: row;
    grid-column: 1;
    grid-row: 2;
  }
  .product-gallery__thumb { width: 56px; }
  .product-gallery__main { grid-column: 1; grid-row: 1; aspect-ratio: 4/5; }
  .product-gallery__ribbon { left: var(--space-4); top: var(--space-4); border-radius: var(--radius-full); }
  .product-cta-row { flex-wrap: wrap; }
  .product-cta-row .btn-add-to-bag { order: -1; width: 100%; flex: none; }
  .reviews-summary { flex-direction: column; gap: var(--space-5); }
  .reviews-grid { grid-template-columns: 1fr; }
  .sticky-buy-bar__price { display: none; }
}

/* ============================================================
   SHOP PAGE
   ============================================================ */

.shop-hero {
  padding-block: var(--space-8) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.shop-hero .breadcrumb__list { margin-bottom: var(--space-4); }
.shop-hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: var(--weight-light);
  line-height: 1.1;
  color: var(--color-text);
}
.shop-hero__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-2);
}

/* Category tab pills — sticky below nav */
.category-tabs {
  position: sticky;
  top: var(--nav-height);
  z-index: var(--z-sticky);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}
.category-tabs__inner {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: var(--space-3);
}
.category-tabs__inner::-webkit-scrollbar { display: none; }
.category-tab {
  flex-shrink: 0;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-soft);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast), color var(--duration-fast);
  white-space: nowrap;
}
.category-tab:hover { border-color: var(--color-brand); color: var(--color-brand); }
.category-tab.is-active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

/* Subcategory pills */
.subcategory-tabs {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.subcategory-tabs__inner {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: var(--space-2);
}
.subcategory-tabs__inner::-webkit-scrollbar { display: none; }
.subcat-tab {
  flex-shrink: 0;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--color-text-soft);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast), color var(--duration-fast);
  white-space: nowrap;
}
.subcat-tab:hover { border-color: var(--color-brand); color: var(--color-brand); }
.subcat-tab.is-active { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }

/* Shop layout: sidebar + main */
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-8);
  padding-block: var(--space-8);
  align-items: start;
}

/* Sidebar */
.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 53px + var(--space-6));
}
.shop-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}
.shop-sidebar__title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text);
}
.shop-sidebar__clear {
  font-size: var(--text-xs);
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: var(--tracking-wide);
}

.filter-group { border-top: 1px solid var(--color-border); }
.filter-group__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.filter-group__trigger svg { transition: transform var(--duration-base); flex-shrink: 0; }
.filter-group__trigger.is-open svg { transform: rotate(180deg); }
.filter-group__body {
  display: none;
  padding-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.filter-group__trigger:not(.is-open) + .filter-group__body { display: none; }

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  cursor: pointer;
  user-select: none;
}
.filter-checkbox input { display: none; }
.filter-checkbox__box {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 3px;
  flex-shrink: 0;
  transition: background var(--duration-fast), border-color var(--duration-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.filter-checkbox input:checked + .filter-checkbox__box {
  background: var(--color-brand);
  border-color: var(--color-brand);
}
.filter-checkbox input:checked + .filter-checkbox__box::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

/* Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.shop-toolbar__filter-btn {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-soft);
  background: transparent;
  cursor: pointer;
}
.active-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  flex: 1;
}
.active-filter-chip {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  background: var(--color-brand-subtle);
  border: 1px solid var(--color-brand-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-brand-dark);
  cursor: pointer;
  font-weight: var(--weight-medium);
  transition: background var(--duration-fast);
}
.active-filter-chip:hover { background: #FDE8EA; }
.shop-sort {
  appearance: none;
  -webkit-appearance: none;
  padding: var(--space-2) var(--space-5) var(--space-2) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-soft);
  background: var(--color-surface) url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' stroke='%239E7878' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  outline: none;
  margin-left: auto;
}
.shop-sort:focus { border-color: var(--color-brand); }

/* Product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* Product card swatch extras */
.product-card__swatch {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.8);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  display: inline-block;
}
.product-card__swatch-more {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  align-self: center;
}
.product-card__name {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast);
}
.product-card__name:hover { color: var(--color-brand); }

/* Badge variants */
.badge--new        { background: var(--color-brand-subtle); color: var(--color-brand-dark); }
.badge--sale       { background: #FDE8EA; color: var(--color-error); }
.badge--bestseller { background: #FFF8D0; color: #8B6A00; }

/* Empty state */
.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-16);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  grid-column: 1 / -1;
}

/* Mobile filter drawer */
.filter-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: 300px;
  background: var(--color-surface);
  z-index: var(--z-modal);
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
  padding: var(--space-6);
}
.filter-drawer.is-open { transform: translateX(0); }
.filter-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,26,26,0.4);
  z-index: calc(var(--z-modal) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow);
}
.filter-drawer__overlay.is-open { opacity: 1; pointer-events: auto; }
.filter-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
}
.filter-drawer__header button {
  font-size: 1.1rem;
  color: var(--color-text-soft);
  background: none;
  border: none;
  cursor: pointer;
}

/* Shop responsive */
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .shop-toolbar__filter-btn { display: flex; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}

/* ============================================================
   CART PAGE
   ============================================================ */

.page-hero {
  padding-block: var(--space-8) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.page-hero .breadcrumb__list { margin-bottom: var(--space-4); }
.page-hero__row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: var(--weight-light);
}
.page-hero__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
}

.cart-page { padding-block: var(--space-8) var(--space-16); }

/* Empty state */
.cart-page__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding-block: var(--space-20);
  text-align: center;
}
.cart-empty-illustration {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: var(--color-brand-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-empty-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
}
.cart-empty-desc {
  font-size: var(--text-base);
  color: var(--color-text-soft);
  max-width: 380px;
  line-height: var(--leading-loose);
}

/* Two-column layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-10);
  align-items: start;
}

/* Shipping progress */
.shipping-progress {
  background: var(--color-brand-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}
.shipping-progress__text {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  margin-bottom: var(--space-3);
}
.shipping-progress__bar {
  height: 5px;
  background: rgba(192,96,122,0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.shipping-progress__fill {
  height: 100%;
  background: var(--color-brand);
  border-radius: var(--radius-full);
  transition: width 0.6s var(--ease-out);
}

/* Cart items */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}

.cart-page-item {
  display: flex;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.cart-page-item__img {
  width: 100px;
  height: 120px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-brand-subtle) 0%, var(--color-bg-alt) 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-page-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-page-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.cart-page-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
}
.cart-page-item__brand {
  font-size: 0.65rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-1);
}
.cart-page-item__name {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-snug);
  text-decoration: none;
  display: block;
}
a.cart-page-item__name:hover { color: var(--color-brand); }
.cart-page-item__shade {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
.cart-page-item__remove {
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.cart-page-item__remove:hover { color: var(--color-error); background: #FDE8EA; }
.cart-page-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-page-item__price {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  color: var(--color-text);
}

.cart-continue-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: var(--tracking-wide);
  transition: color var(--duration-fast);
}
.cart-continue-link:hover { color: var(--color-brand); }

/* Order summary */
.cart-summary {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}
.cart-summary__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.cart-summary__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}
.summary-row--discount { color: var(--color-success); }

/* Promo code */
.promo-field { margin-bottom: var(--space-5); }
.promo-field__inner {
  display: flex;
  gap: var(--space-2);
}
.promo-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--duration-fast);
  outline: none;
}
.promo-input:focus { border-color: var(--color-brand); }
.promo-btn {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-text);
  background: var(--color-text);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration-fast), border-color var(--duration-fast);
  white-space: nowrap;
}
.promo-btn:hover { background: var(--color-brand); border-color: var(--color-brand); }
.promo-msg { font-size: var(--text-xs); margin-top: var(--space-2); height: 1em; }

.cart-summary__total-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.cart-summary__tax-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-2);
}

/* Trust badges */
.cart-trust {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.cart-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
}
.cart-trust__item svg { color: var(--color-brand); flex-shrink: 0; }

/* Cart page responsive */
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 480px) {
  .cart-page-item__img { width: 80px; height: 96px; }
  .cart-trust { gap: var(--space-3); }
}

/* ============================================================
   CART DRAWER
   ============================================================ */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100vw;
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,26,26,0.4);
  z-index: calc(var(--z-modal) - 1);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}
.cart-drawer__overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  color: var(--color-text);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.cart-drawer__count {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
  transition: background var(--duration-fast), color var(--duration-fast);
}
.cart-drawer__close:hover { background: var(--color-bg-alt); color: var(--color-text); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  height: 100%;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.cart-item__img {
  width: 72px;
  height: 84px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-subtle) 0%, var(--color-bg-alt) 100%);
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__brand {
  font-size: 0.65rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 2px;
}
.cart-item__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-1);
  text-decoration: none;
  display: block;
}
a.cart-item__name:hover { color: var(--color-brand); }
.cart-item__shade {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px var(--space-2);
}
.cart-item__qty-btn {
  font-size: 1rem;
  color: var(--color-text-soft);
  background: none;
  border: none;
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-fast);
}
.cart-item__qty-btn:hover { color: var(--color-brand); }
.cart-item__qty span { font-size: var(--text-sm); font-weight: var(--weight-medium); min-width: 18px; text-align: center; }
.cart-item__price {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.cart-item__remove {
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: var(--space-1);
  transition: color var(--duration-fast);
}
.cart-item__remove:hover { color: var(--color-error); }

.cart-drawer__footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-surface);
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.cart-drawer__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-wide);
}

/* ============================================================
   MOBILE OPTIMISATIONS
   ============================================================ */

/* — Token overrides ----------------------------------------- */
@media (max-width: 900px) {
  :root { --nav-height: 64px; }
}

@media (max-width: 640px) {
  :root {
    --nav-height:    60px;
    --container-pad: 1rem;
  }
}

/* — Section spacing ----------------------------------------- */
@media (max-width: 640px) {
  .section    { padding-block: clamp(var(--space-10), 6vw, var(--space-16)); }
  .section--sm { padding-block: var(--space-6); }
}

/* — Announcement bar ---------------------------------------- */
@media (max-width: 480px) {
  .announcement-bar { font-size: 0.625rem; letter-spacing: 0.06em; }
}

/* — Navigation ---------------------------------------------- */

/* Tighten icon gap and logo on small phones */
@media (max-width: 480px) {
  .nav__top-left  { gap: var(--space-2); }
  .nav__top-right { gap: var(--space-1); }
  .nav__logo      { font-size: var(--text-xl); }
  /* Keep search + cart; hide account on very small screens */
  .nav__account { display: none; }
}

/* — Hero ---------------------------------------------------- */
@media (max-width: 768px) {
  .hero { min-height: 78vh; }
  .hero__content {
    padding-block: var(--space-12);
    text-align: center;
    max-width: 100%;
  }
  .hero__actions { justify-content: center; }
  /* Decorative petals don't overlap text on narrow screens */
  .hero__petal--3 { display: none; }
}

@media (max-width: 480px) {
  .hero { min-height: 70vh; }
  .hero__content { padding-block: var(--space-8); }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* Scroll arrow overlaps content on short phones */
  .hero__scroll-hint { display: none; }
}


/* — Product cards ------------------------------------------- */

/* Keep 2 columns on all phone sizes — single column wastes screen */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

/* Tighter card body on small screens */
@media (max-width: 480px) {
  .product-card__body  { padding: var(--space-3); gap: var(--space-1); }
  .product-card__name  { font-size: var(--text-base); }
  .product-card__shade { display: none; } /* recover vertical space */
}

/* Quick-shop: hover overlay is unreachable on touch.
   Always show it as a permanent bar at the bottom of the image. */
@media (hover: none) {
  .product-card__quick-shop {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(44,26,26,0.65) 0%, rgba(44,26,26,0.1) 100%);
  }
}

/* Larger tap targets for swatches on touch */
@media (hover: none) {
  .swatch {
    width: 24px;
    height: 24px;
    /* expand tap area without changing visual size */
    padding: 3px;
    box-sizing: content-box;
  }
}

/* — Editorial feature --------------------------------------- */

/* On mobile put the copy above the colour panel */
@media (max-width: 768px) {
  .editorial-feature__content { order: -1; }
  .editorial-feature__media   { min-height: 260px; }
}

@media (max-width: 480px) {
  .editorial-feature__content {
    padding: var(--space-8) var(--space-6);
  }
  .editorial-feature__title { font-size: var(--text-2xl); }
  .editorial-feature__deco-word { font-size: 5rem; }
}

/* — Collections grid ---------------------------------------- */
@media (max-width: 480px) {
  .collection-card         { min-height: 160px; }
  .collection-card__content { padding: var(--space-4); }
  .collection-card__title  { font-size: var(--text-lg); }
}

/* — Brand promise ------------------------------------------- */
@media (max-width: 640px) {
  .brand-promise__grid { gap: var(--space-6); }
  .brand-promise__desc { font-size: var(--text-xs); }
}

/* — Newsletter ---------------------------------------------- */
@media (max-width: 480px) {
  .newsletter-card        { padding: var(--space-8) var(--space-5); border-radius: var(--radius-xl); }
  .newsletter-card__title { font-size: var(--text-xl); }
  .newsletter-card__desc  { font-size: var(--text-sm); margin-bottom: var(--space-6); }
}

/* — Footer -------------------------------------------------- */
/* 2 columns on tablets so it doesn't collapse too early */
@media (max-width: 900px) and (min-width: 641px) {
  .footer__top { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 640px) {
  .footer { padding-top: var(--space-10); }
  .footer__top {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-6) !important;
  }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .footer__tagline { max-width: none; margin-bottom: var(--space-4); }
  .footer__divider { margin-block: var(--space-6); }
}

@media (max-width: 480px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .footer__legal { gap: var(--space-4); }
}

/* — Utility: hide hover effects on touch -------------------- */
/* Prevents :hover states from sticking after tap */
@media (hover: none) {
  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-xs);
  }
  .collection-card:hover .collection-card__bg { transform: none; }
  .editorial-feature:hover .editorial-feature__media-bg { transform: none; }
}


/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

/* Progress bar */
.checkout-progress {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.checkout-step__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-decoration: none;
  color: var(--color-text-muted);
}
.checkout-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all var(--duration-fast);
}
.checkout-step__label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.checkout-step.is-done .checkout-step__num {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}
.checkout-step.is-done .checkout-step__label,
.checkout-step.is-done .checkout-step__inner { color: var(--color-success); }
.checkout-step.is-active .checkout-step__num {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: white;
}
.checkout-step.is-active .checkout-step__label,
.checkout-step.is-active .checkout-step__inner { color: var(--color-brand); }

.checkout-step__divider {
  width: 80px;
  height: 1px;
  background: var(--color-border);
  margin: 0 var(--space-2);
  flex-shrink: 0;
  margin-bottom: 18px; /* vertically align with num circles */
}

/* Page layout */
.checkout-page {
  padding-top: var(--space-10);
  padding-bottom: var(--space-16);
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 680px;
  margin: 0 auto;
}
/* Summary always appears first regardless of screen size */
.checkout-summary { order: -1; }

#placeOrderBtn { display: flex; width: 100%; justify-content: center; flex: none;
  height: 64px; font-size: 16px; letter-spacing: .06em; margin-top: var(--space-5); }

/* Form blocks */
.checkout-fields { display: flex; flex-direction: column; gap: var(--space-6); }

.checkout-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.checkout-block__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.checkout-block__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand-subtle);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  flex-shrink: 0;
}

/* Form grid helpers */
.form-grid {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-4); }
.form-group:last-child { margin-bottom: 0; }

/* Input with prefix (+880) */
.input-group {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.input-group:focus-within {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(192,96,122,0.12);
}
.input-group__prefix {
  padding: 0 var(--space-3);
  background: var(--color-bg-alt);
  border-right: 1.5px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.form-input--prefix {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}

/* Delivery zone badge (auto-detected from address) */
.delivery-zone-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-3);
  padding: 10px 14px;
  background: var(--color-brand-subtle);
  border: 1px solid var(--color-brand-light);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}
.delivery-zone-info svg { color: var(--color-brand); flex-shrink: 0; }
.delivery-zone-info strong { margin-left: auto; font-weight: var(--weight-semibold); color: var(--color-brand); }

/* Payment options */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.payment-option {
  cursor: pointer;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-fast);
}
.payment-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.payment-option__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  text-align: center;
  position: relative;
}
.payment-option__tag {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--color-brand);
  color: white;
  font-size: 9px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 0 var(--radius-lg) 0 var(--radius-md);
}
.payment-option__logo {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: 14px;
  color: white;
}
.payment-option__logo--bkash { background: #E2136E; }
.payment-option__logo--nagad  { background: #F7941D; }
.payment-option.is-selected { border-color: var(--color-brand); background: var(--color-brand-subtle); }
.payment-option.is-selected .payment-option__inner { color: var(--color-brand); }

/* Card / MFS extra fields */
.card-fields, .mfs-field {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  margin-top: var(--space-2);
}

/* ── Right: Checkout Summary ── */
.checkout-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.checkout-summary__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  max-height: 260px;
  overflow-y: auto;
}
.checkout-summary__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.checkout-summary__item-img {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-subtle), var(--color-surface-rose));
  flex-shrink: 0;
  overflow: hidden;
}
.checkout-summary__item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.checkout-summary__item-info { flex: 1; min-width: 0; }
.checkout-summary__item-brand {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.checkout-summary__item-name {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  display: block;
}
a.checkout-summary__item-name:hover { color: var(--color-brand); }
.checkout-summary__item-shade {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.checkout-summary__item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.checkout-summary__item-qty {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.checkout-summary__item-price {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

/* Totals rows */
.checkout-summary__totals {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}
.summary-row--discount { color: var(--color-success); }
.summary-row--total {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}


/* ── Responsive ── */
@media (max-width: 900px) {
  .form-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .checkout-block .form-grid--2,
  .checkout-block .form-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .checkout-block { padding: var(--space-5); }
  .checkout-summary { padding: var(--space-5); }
  .form-grid--2,
  .form-grid--3 { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr 1fr; }
  .checkout-step__divider { width: 40px; }
}


/* ============================================================
   ORDER CONFIRMATION PAGE
   ============================================================ */

.order-success-page {
  padding-top: var(--space-16);
  padding-bottom: var(--space-20);
  display: flex;
  justify-content: center;
  position: relative;
}

/* Confetti */
.confetti-burst {
  position: absolute;
  top: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  pointer-events: none;
}
.confetti-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: confetti-fly 1.2s ease-out forwards;
  opacity: 0;
}
.confetti-dot:nth-child(odd)  { border-radius: 2px; }
.confetti-dot--0  { background: var(--color-brand);       animation-delay: 0.0s; --tx:  60px; --ty: -80px; }
.confetti-dot--1  { background: var(--color-gold);        animation-delay: 0.05s;--tx: -70px; --ty: -90px; }
.confetti-dot--2  { background: var(--color-brand-light); animation-delay: 0.1s; --tx:  20px; --ty:-110px; }
.confetti-dot--3  { background: #A0D4A8;                  animation-delay: 0.0s; --tx: 100px; --ty: -60px; }
.confetti-dot--4  { background: var(--color-brand-dark);  animation-delay: 0.08s;--tx:-100px; --ty: -70px; }
.confetti-dot--5  { background: var(--color-gold-light);  animation-delay: 0.12s;--tx:  40px; --ty:-130px; }
.confetti-dot--6  { background: #F4A0B8;                  animation-delay: 0.04s;--tx: -30px; --ty:-120px; }
.confetti-dot--7  { background: var(--color-brand);       animation-delay: 0.16s;--tx: 130px; --ty: -50px; }
.confetti-dot--8  { background: var(--color-gold);        animation-delay: 0.02s;--tx:-130px; --ty: -55px; }
.confetti-dot--9  { background: #C4E0C8;                  animation-delay: 0.14s;--tx: -60px; --ty:-100px; }
.confetti-dot--10 { background: var(--color-brand-light); animation-delay: 0.06s;--tx:  80px; --ty:-105px; }
.confetti-dot--11 { background: var(--color-brand);       animation-delay: 0.18s;--tx: -90px; --ty: -40px; }
.confetti-dot--12 { background: var(--color-gold-dark);   animation-delay: 0.03s;--tx:  50px; --ty: -60px; }
.confetti-dot--13 { background: #F9C4D2;                  animation-delay: 0.10s;--tx:-50px;  --ty:-115px; }
.confetti-dot--14 { background: var(--color-brand-dark);  animation-delay: 0.07s;--tx: 110px; --ty: -80px; }
.confetti-dot--15 { background: var(--color-brand-light); animation-delay: 0.13s;--tx:-110px; --ty: -85px; }
.confetti-dot--16 { background: var(--color-gold);        animation-delay: 0.09s;--tx:  70px; --ty:-140px; }
.confetti-dot--17 { background: var(--color-brand);       animation-delay: 0.15s;--tx: -75px; --ty:-140px; }
@keyframes confetti-fly {
  0%   { opacity: 1; transform: translate(0,0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.4) rotate(360deg); }
}

/* Card */
.order-success-card {
  width: 100%;
  max-width: 620px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
  text-align: center;
}

.order-success__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: 0 0 0 12px rgba(107,158,122,0.12);
}

.order-success__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: var(--weight-light);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.order-success__sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* Meta grid */
.order-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-8);
  border: 1px solid var(--color-border);
}
.order-meta__item {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0;
}
.order-meta__label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.order-meta__value {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

/* Summary section */
.order-success__summary {
  text-align: left;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}
.order-success__summary-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.order-success__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}
.order-success__item:last-of-type { border-bottom: none; }
.order-success__item-img {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-subtle), var(--color-surface-rose));
  flex-shrink: 0;
}
.order-success__item-info { flex: 1; min-width: 0; }
.order-success__item-brand {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.order-success__item-name {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: var(--weight-medium);
}
.order-success__item-price {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  white-space: nowrap;
}

/* Totals rows */
.order-success__totals-row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--color-text-soft); padding: 5px 0; }
.order-success__totals-row--grand { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-text); border-top: 1px solid var(--color-border); margin-top: 6px; padding-top: 10px; }

/* Address */
.order-success__address {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.order-success__address-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}
.order-success__address-value {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

/* CTAs */
.order-success__ctas {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .order-success-card { padding: var(--space-8) var(--space-5); }
  .order-meta { grid-template-columns: 1fr 1fr; }
  .order-success__ctas { flex-direction: column; }
  .order-success__ctas a { width: 100%; text-align: center; }
}


/* ============================================================
   LOGIN PAGE
   ============================================================ */

.login-body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  font-family: var(--font-sans);
}

/* Back to site link */
.login-back-link {
  position: fixed;
  top: var(--space-5);
  left: var(--space-6);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  color: rgba(255,255,255,0.8);
  transition: color var(--duration-fast);
}
.login-back-link:hover { color: #ffffff; }
.login-back-link svg { color: rgba(255,255,255,0.5); }

/* Split layout */
.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ── Left brand panel ── */
.login-brand-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(145deg, #2C1A1A 0%, #4A1A2A 40%, #1A0A12 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-brand-panel__inner { position: relative; z-index: 2; padding: var(--space-16) var(--space-12); }

/* Decorative blobs */
.login-brand-panel__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.login-brand-panel__blob:first-child {
  width: 400px; height: 400px;
  background: var(--color-brand);
  top: -100px; right: -100px;
}
.login-brand-panel__blob--2 {
  width: 300px; height: 300px;
  background: var(--color-gold);
  bottom: -80px; left: -60px;
  opacity: 0.2;
}

.login-brand-content { position: relative; z-index: 1; }

.login-brand__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-brand-light);
  margin-bottom: var(--space-4);
}
.login-brand__logo {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--weight-light);
  color: white;
  margin-bottom: var(--space-5);
  line-height: 1.1;
}
.login-brand__logo em { color: var(--color-brand-light); font-style: italic; }

.login-brand__tagline {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: var(--space-10);
}

.login-brand__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.login-brand__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}
.login-brand__feature-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-brand-light);
}

/* ── Right form panel ── */
.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-8);
  background: var(--color-surface);
  overflow-y: auto;
}
.login-form-panel__inner {
  width: 100%;
  max-width: 420px;
}

/* Role toggle (Customer / Admin) */
.login-role-toggle {
  position: relative;
  display: flex;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: var(--space-8);
  gap: 0;
}
.login-role-indicator {
  position: absolute;
  top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: var(--color-surface);
  border-radius: calc(var(--radius-lg) - 2px);
  box-shadow: 0 1px 4px rgba(44,26,26,0.12);
  transition: left 0.2s ease, width 0.2s ease;
  pointer-events: none;
}
.login-role-btn {
  flex: 1;
  padding: var(--space-2) var(--space-4);
  border: none;
  background: transparent;
  border-radius: calc(var(--radius-lg) - 2px);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color var(--duration-fast);
}
.login-role-btn.is-active { color: var(--color-text); }

/* Auth tabs (Sign In / Create Account) */
.login-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-6);
  gap: 0;
}
.login-tab {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.login-tab.is-active {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
}

/* Password field with eye toggle */
.login-password-wrap {
  position: relative;
}
.login-password-wrap .form-input { padding-right: 2.8rem; }
.login-eye-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color var(--duration-fast);
}
.login-eye-btn:hover { color: var(--color-brand); }

/* Label row (label + forgot) */
.login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}
.login-label-row .form-label { margin-bottom: 0; }
.login-forgot {
  font-size: var(--text-xs);
  color: var(--color-brand);
  text-decoration: none;
}
.login-forgot:hover { text-decoration: underline; }

/* Remember me / checkbox */
.login-remember {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  cursor: pointer;
  margin-bottom: var(--space-5);
  user-select: none;
}
.login-remember input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--color-brand);
  cursor: pointer;
}

/* Global form error box */
.login-form-error {
  background: rgba(192,80,96,0.08);
  border: 1px solid rgba(192,80,96,0.3);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-bottom: var(--space-4);
}

/* Submit button full width */
.login-submit-btn {
  width: 100%;
  justify-content: center;
}
.login-submit-btn--admin {
  background: linear-gradient(135deg, #2C1A1A 0%, #4A1A2A 100%);
}
.login-submit-btn--admin:hover {
  background: linear-gradient(135deg, #4A1A2A 0%, #6A2A3A 100%);
  box-shadow: 0 4px 20px rgba(44,26,26,0.35);
}

/* Admin badge */
.login-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, #2C1A1A 0%, #4A1A2A 100%);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.login-admin-hint {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
}

.login-link {
  color: var(--color-brand);
  text-decoration: none;
}
.login-link:hover { text-decoration: underline; }

/* Password strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.password-strength__bar {
  flex: 1;
  height: 4px;
  background: var(--color-border);
  border-radius: 99px;
  overflow: hidden;
}
.password-strength__fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0%;
}
.password-strength__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  min-width: 48px;
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  /* Root: dark gradient fills everything */
  html, .login-body {
    height: 100%;
  }
  .login-body {
    background: linear-gradient(160deg, #2C1A1A 0%, #4A1A2A 50%, #1A0A12 100%);
    display: flex;
    flex-direction: column;
  }

  /* Back link: white on dark */
  .login-back-link {
    position: fixed;
    top: var(--space-4);
    left: var(--space-5);
    color: rgba(255,255,255,0.75);
    font-size: var(--text-base);
    z-index: 200;
  }
  .login-back-link:hover { color: #fff; }
  .login-back-link svg   { color: rgba(255,255,255,0.45); }

  /* Login page: flex column, fills body */
  .login-page {
    display: flex;
    flex-direction: column;
    flex: 1;
    grid-template-columns: unset;
  }

  /* Brand panel: compact dark header */
  .login-brand-panel {
    display: flex;
    flex: 0 0 auto;
    height: auto;
    min-height: 220px;
    position: relative;
    background: transparent;
    align-items: flex-end;
    padding: 76px var(--space-6) var(--space-8);
  }
  .login-brand-panel__blob  { display: none; }
  .login-brand-panel__inner { padding: 0; }
  .login-brand__eyebrow     { font-size: var(--text-xs); margin-bottom: var(--space-2); }
  .login-brand__logo        { font-size: clamp(2rem, 8vw, 2.6rem); margin-bottom: var(--space-2); }
  .login-brand__tagline     { font-size: var(--text-sm); margin-bottom: 0; }
  .login-brand__features    { display: none; }

  /* Form panel: white card, stretches to fill ALL remaining space */
  .login-form-panel {
    flex: 1 0 auto;
    background: var(--color-surface);
    border-radius: 28px 28px 0 0;
    padding: var(--space-8) var(--space-6) var(--space-16);
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    /* Ensure it always reaches the bottom even with short content */
    min-height: calc(100vh - 220px);
  }
  .login-form-panel__inner {
    width: 100%;
    max-width: 100%;
  }
}


/* ============================================================
   ACCOUNT BUTTON & DROPDOWN
   ============================================================ */

.nav__account-wrap {
  position: relative;
}

/* Logged-in avatar circle */
.account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  pointer-events: none;
}

/* Dropdown panel */
.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(44,26,26,0.14);
  z-index: var(--z-overlay);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.account-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown header (avatar + name/email) */
.account-dropdown__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.account-dropdown__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.account-dropdown__name {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: 1.3;
}
.account-dropdown__email {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* Dropdown list */
.account-dropdown__list {
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0;
}
.account-dropdown__divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-2) 0;
}
.account-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.account-dropdown__item:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.account-dropdown__item--logout {
  color: var(--color-error);
}
.account-dropdown__item--logout:hover {
  background: rgba(192,80,96,0.06);
  color: var(--color-error);
}

.login-form-success {
  background: rgba(107,158,122,0.10);
  border: 1px solid rgba(107,158,122,0.35);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-success);
  margin-bottom: var(--space-4);
}


/* ============================================================
   CUSTOMER DASHBOARD
   ============================================================ */

.dashboard-page {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  padding-top: var(--space-10);
  padding-bottom: var(--space-20);
  align-items: start;
}

/* ── Sidebar ── */
.dashboard-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.dashboard-avatar-card {
  background: linear-gradient(135deg, #2C1A1A 0%, #4A1A2A 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  color: white;
}
.dashboard-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}
.dashboard-avatar__name {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  color: white;
  margin-bottom: var(--space-1);
}
.dashboard-avatar__email {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  word-break: break-all;
  margin-bottom: var(--space-2);
}
.dashboard-avatar__since {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.dashboard-nav {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3) 0;
  display: flex;
  flex-direction: column;
}
.dashboard-nav__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-soft);
  text-decoration: none;
  transition: background var(--duration-fast), color var(--duration-fast);
  border-radius: 0;
  position: relative;
}
.dashboard-nav__item:hover { background: var(--color-bg-alt); color: var(--color-text); }
.dashboard-nav__item.is-active {
  color: var(--color-brand);
  background: var(--color-brand-subtle);
}
.dashboard-nav__item.is-active svg { stroke: var(--color-brand); }
.dashboard-nav__badge {
  margin-left: auto;
  background: var(--color-brand);
  color: white;
  font-size: 10px;
  font-weight: var(--weight-semibold);
  padding: 1px 6px;
  border-radius: 99px;
  min-width: 18px;
  text-align: center;
}
.dashboard-nav__divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-2) 0;
}
.dashboard-nav__item--logout { color: var(--color-error); }
.dashboard-nav__item--logout:hover { background: rgba(192,80,96,0.06); color: var(--color-error); }

/* ── Main content ── */
.dashboard-main { min-width: 0; }

.dashboard-section__title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.dashboard-section__sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* Stats row */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.dashboard-stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.dashboard-stat__value {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  color: var(--color-brand);
}
.dashboard-stat__label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* Block card */
.dashboard-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.dashboard-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.dashboard-block__title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  color: var(--color-text);
}
.dashboard-block__link {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-brand);
  text-decoration: none;
  font-weight: var(--weight-medium);
}
.dashboard-block__link:hover { text-decoration: underline; }

/* Order row (overview) */
.dashboard-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}
.dashboard-order-row:last-child { border-bottom: none; padding-bottom: 0; }
.dashboard-order-row__id {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}
.dashboard-order-row__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.dashboard-order-row__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.dashboard-order-row__total {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

/* Status badge */
.dashboard-status {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.dashboard-status--success  { background: rgba(107,158,122,0.12); color: var(--color-success); }
.dashboard-status--warning  { background: rgba(201,160,96,0.12);  color: var(--color-warning); }
.dashboard-status--error    { background: rgba(192,80,96,0.10);   color: var(--color-error);   }

/* Quick links */
.dashboard-quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.dashboard-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-soft);
  transition: all var(--duration-fast);
  text-align: center;
}
.dashboard-quick-link:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-subtle);
}
.dashboard-quick-link svg { color: var(--color-brand-light); }
.dashboard-quick-link:hover svg { color: var(--color-brand); }

/* Order cards (orders tab) */
.dashboard-orders-list { display: flex; flex-direction: column; gap: var(--space-4); }
.dashboard-order-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.dashboard-order-card__toggle {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-5) var(--space-6);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.dashboard-order-card__toggle:hover {
  background: var(--color-bg-alt);
}
.dashboard-order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.dashboard-order-card__id {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}
.dashboard-order-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.dashboard-order-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-order-card__items-preview {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.dashboard-order-card__item-thumb {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-subtle), var(--color-surface-rose));
}
.dashboard-order-card__more {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}
.dashboard-order-card__count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: var(--space-2);
}
.dashboard-order-card__names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: var(--space-2);
}
.dashboard-order-card__name {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: var(--weight-medium);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-order-card__names .dashboard-order-card__count {
  margin-left: 0;
}
.dashboard-order-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.dashboard-order-card__total {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}
.dashboard-order-card__chevron {
  color: var(--color-text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.dashboard-order-card__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.dashboard-order-card__details.is-open {
  max-height: 1000px;
}
.dashboard-order-card__toggle[aria-expanded="true"] .dashboard-order-card__chevron {
  transform: rotate(180deg);
}
.dashboard-order-card__items-full {
  padding: 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.dashboard-order-item-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.dashboard-order-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.dashboard-order-item-row__thumb {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-subtle), var(--color-surface-rose));
}
.dashboard-order-item-row__info {
  flex: 1;
  min-width: 0;
}
.dashboard-order-item-row__name {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: var(--weight-medium);
}
.dashboard-order-item-row__brand {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.dashboard-order-item-row__qty {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.dashboard-order-item-row__price {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  flex-shrink: 0;
}
.dashboard-order-card__summary {
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.dashboard-order-card__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}
.dashboard-order-card__summary-row--total {
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}
.dashboard-order-card__meta {
  padding: 0 var(--space-6) var(--space-5);
}
.dashboard-order-card__meta p {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  margin-top: var(--space-1);
}
.dashboard-order-card__meta p strong {
  color: var(--color-text);
}
.dashboard-order-card__details > .btn {
  margin-left: var(--space-6);
  margin-bottom: var(--space-5);
}

/* Empty state */
.dashboard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-16) 0;
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dashboard-page {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding-top: var(--space-6);
  }
  .dashboard-sidebar { position: static; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .dashboard-quick-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dashboard-stats { grid-template-columns: 1fr; }
  .dashboard-quick-links { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   HOMEPAGE — AWE ENHANCEMENTS
   Cinematic hero · scroll reveals · refined micro-interactions
   ============================================================ */

/* ---- Cinematic hero: slow Ken Burns zoom on the active slide ---- */
.hero__slide.is-active .hero__bg {
  animation: heroKenBurns 7s var(--ease-out) forwards;
  transform-origin: 60% 50%;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1.001); }
  to   { transform: scale(1.09); }
}

/* Richer overlay + cinematic vignette */
.hero__overlay { background: linear-gradient(100deg, rgba(30,10,18,0.78) 0%, rgba(30,10,18,0.50) 38%, rgba(30,10,18,0.10) 66%, transparent 100%); }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: var(--z-base);
  background:
    radial-gradient(120% 80% at 50% 0%,  transparent 55%, rgba(20,8,14,0.30) 100%),
    radial-gradient(120% 90% at 50% 100%, transparent 50%, rgba(20,8,14,0.42) 100%);
}
/* Soft floating brand-glow orb */
.hero__glow {
  position: absolute; z-index: var(--z-base); pointer-events: none;
  width: 46vmax; height: 46vmax; top: -12vmax; right: -10vmax;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(244,167,190,0.28) 0%, rgba(201,164,120,0.12) 38%, transparent 70%);
  filter: blur(8px);
  animation: heroGlowFloat 12s ease-in-out infinite alternate;
}
@keyframes heroGlowFloat {
  from { transform: translate3d(0,0,0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(-4vmax, 4vmax, 0) scale(1.12); opacity: 1; }
}

/* Line-by-line hero typography reveal */
.hero__title { display: flex; flex-direction: column; }
.hero__title-line { display: block; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: var(--space-3); }
.hero__eyebrow-line { display: inline-block; width: 32px; height: 1px; background: rgba(255,255,255,0.55); }

.hero__reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  animation: heroReveal 1s var(--ease-spring) forwards;
  animation-delay: var(--rd, 0ms);
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Shimmering sweep across the primary CTA */
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  animation: btnShine 4.5s var(--ease-out) infinite;
}
@keyframes btnShine {
  0%   { left: -120%; }
  55%  { left: 140%; }
  100% { left: 140%; }
}

/* ---- Scroll reveal system ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* Staggered reveal for static grids */
.brands-grid > [data-reveal]:nth-child(2)        { --reveal-delay: 70ms; }
.brands-grid > [data-reveal]:nth-child(3)        { --reveal-delay: 140ms; }
.brands-grid > [data-reveal]:nth-child(4)        { --reveal-delay: 210ms; }
.brands-grid > [data-reveal]:nth-child(5)        { --reveal-delay: 280ms; }
.brands-grid > [data-reveal]:nth-child(6)        { --reveal-delay: 350ms; }
.brand-promise__grid > [data-reveal]:nth-child(2){ --reveal-delay: 80ms; }
.brand-promise__grid > [data-reveal]:nth-child(3){ --reveal-delay: 160ms; }
.brand-promise__grid > [data-reveal]:nth-child(4){ --reveal-delay: 240ms; }
.instagram-grid > [data-reveal]:nth-child(2)     { --reveal-delay: 70ms; }
.instagram-grid > [data-reveal]:nth-child(3)     { --reveal-delay: 140ms; }
.instagram-grid > [data-reveal]:nth-child(4)     { --reveal-delay: 210ms; }
.instagram-grid > [data-reveal]:nth-child(5)     { --reveal-delay: 280ms; }
.instagram-grid > [data-reveal]:nth-child(6)     { --reveal-delay: 350ms; }

/* ---- Refined micro-interactions ---- */
/* Decorative gold flourish beneath homepage section titles */
.section-header[data-reveal] .section-header__title { position: relative; }
.section-header[data-reveal] .section-header__title::after {
  content: ""; display: block; width: 56px; height: 1px; margin: var(--space-4) auto 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.7s var(--ease-out) 0.25s;
}
.section-header[data-reveal].is-revealed .section-header__title::after { transform: scaleX(1); }

/* Product card: lift further + gentle gold ring on hover */
.product-card { transition: box-shadow var(--duration-base) var(--ease-default), transform var(--duration-base) var(--ease-spring), border-color var(--duration-base) var(--ease-default); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.product-card:hover .product-card__img,
.product-card:hover .product-card__img-placeholder { transform: scale(1.07); }

/* Brand card: warm wash + stronger lift */
.brand-card { transition: box-shadow var(--duration-base) var(--ease-default), transform var(--duration-base) var(--ease-spring), border-color var(--duration-base) var(--ease-default), background var(--duration-base) var(--ease-default); }
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--color-border-strong); background: linear-gradient(180deg, #fff 0%, var(--color-surface-rose) 100%); }

/* Brand-promise icon: bloom on hover */
.brand-promise__item .brand-promise__icon { transition: transform var(--duration-base) var(--ease-spring), background var(--duration-base) var(--ease-default), color var(--duration-base) var(--ease-default); }
.brand-promise__item:hover .brand-promise__icon { transform: translateY(-4px) scale(1.08); background: var(--color-brand); color: #fff; }

/* ---- Atmospheric depth: layered rose/gold blooms behind the homepage ---- */
.home-main { position: relative; isolation: isolate; }
.home-main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 28rem at 88% 5%,  rgba(201,164,120,0.13), transparent 62%),
    radial-gradient(34rem 26rem at 3% 32%,  rgba(244,167,190,0.16), transparent 62%),
    radial-gradient(44rem 32rem at 97% 70%, rgba(192,96,122,0.10),  transparent 62%),
    radial-gradient(30rem 24rem at 10% 96%, rgba(201,164,120,0.10), transparent 64%);
}

/* ---- Film grain over the hero for an editorial, tactile finish ---- */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

/* ---- Gold-foil shimmer on homepage section eyebrows ---- */
.section-header[data-reveal] .section-header__eyebrow {
  background: linear-gradient(100deg, var(--color-gold-dark) 0%, var(--color-gold) 28%, #F8EBCE 50%, var(--color-gold) 72%, var(--color-gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: foilShimmer 7s linear infinite;
}
@keyframes foilShimmer { to { background-position: 200% center; } }

/* ---- Distinctive hero accent: oversized italic + draw-on gradient flourish ---- */
.hero__bloom { position: relative; font-size: 1.1em; padding-right: 0.05em; }
.hero__bloom::after {
  content: ""; position: absolute; left: 0; right: 0.05em; bottom: -0.06em; height: 2px;
  background: linear-gradient(90deg, transparent, #F4A7BE 25%, var(--color-gold-light) 75%, transparent);
  transform: scaleX(0); transform-origin: left;
  animation: bloomUnderline 1.1s var(--ease-out) 1.15s forwards;
}
@keyframes bloomUnderline { to { transform: scaleX(1); } }

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active .hero__bg { animation: none; }
  .hero__glow { animation: none; }
  .btn--shine::after { animation: none; display: none; }
  .hero__reveal { animation: none; opacity: 1; transform: none; filter: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .section-header[data-reveal] .section-header__title::after { transform: scaleX(1); transition: none; }
  .section-header[data-reveal] .section-header__eyebrow { animation: none; }
  .hero__bloom::after { animation: none; transform: scaleX(1); }
}
