/* ============================================================
   DIVIDED STYLES DREAMS — Global Stylesheet
   Source of Truth: blueprint.md
   Aesthetic: "Luxury children's boutique meets Disney magic"
   ============================================================ */

/* --- Google Fonts ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- Design Tokens (CSS Custom Properties) ---------------- */
:root {

  /* BACKGROUNDS
     The core "soft cream / warm white / more yellow aesthetic"
     from blueprint §3.1 and the Live Broadcast annotation. */
  --color-cream:          #FBF8F2;   /* primary page background   */
  --color-warm-white:     #FFFEF9;   /* card & section background */
  --color-cream-mid:      #F5EFE4;   /* alternating section tint  */

  /* SAGE GREEN — primary brand accent */
  --color-sage:           #8BAE85;
  --color-sage-light:     #BAD4B5;
  --color-sage-muted:     #D6EBD2;

  /* LAVENDER — secondary accent (soft only; NO heavy/saturated purple) */
  --color-lavender:       #C3BAD6;
  --color-lavender-light: #E8E4F2;
  --color-lavender-muted: #F2EFF8;

  /* GOLD / CELESTIAL — stars, sparkles, CTA highlights */
  --color-gold:           #C9A96E;
  --color-gold-light:     #E8D5A8;
  --color-gold-muted:     #F5EDD8;

  /* TEXT */
  --color-text-primary:   #2a2a2a;   /* charcoal                  */
  --color-text-secondary: #7A6E6E;   /* muted warm gray           */
  --color-text-muted:     #ABA0A0;   /* lightest readable         */
  --color-text-accent:    #7B6898;   /* muted purple (sparingly)  */
  --color-text-on-dark:   #FBF8F2;   /* text on dark surfaces     */

  /* UI / BORDERS / SURFACES */
  --color-border:         #EDE6DA;
  --color-border-light:   #F4EFE6;
  --color-surface:        #FFFFFF;

  /* STATUS */
  --color-success:        #6BAF7E;
  --color-error:          #C97070;
  --color-eyebrow:        #b76b65;   /* rose/coral — all eyebrow labels */

  /* --- Typography ------------------------------------------ */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Font Weights */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;

  /* Line Heights */
  --leading-none:    1;
  --leading-tight:   1.25;
  --leading-snug:    1.375;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Letter Spacing */
  --tracking-tightest: -0.04em;
  --tracking-tight:    -0.02em;
  --tracking-normal:    0em;
  --tracking-wide:      0.04em;
  --tracking-wider:     0.08em;
  --tracking-widest:    0.12em;

  /* --- Spacing Scale --------------------------------------- */
  --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;

  /* --- Layout ---------------------------------------------- */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* --- Border Radius --------------------------------------- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* --- Shadows --------------------------------------------- */
  --shadow-sm:  0 1px 3px rgba(58,48,48,0.06), 0 1px 2px rgba(58,48,48,0.04);
  --shadow-md:  0 4px 12px rgba(58,48,48,0.08), 0 2px 4px rgba(58,48,48,0.04);
  --shadow-lg:  0 8px 24px rgba(58,48,48,0.10), 0 4px 8px rgba(58,48,48,0.05);
  --shadow-xl:  0 16px 48px rgba(58,48,48,0.12);
  --shadow-glow-sage:     0 0 20px rgba(139,174,133,0.25);
  --shadow-glow-lavender: 0 0 20px rgba(195,186,214,0.30);
  --shadow-glow-gold:     0 0 16px rgba(201,169,110,0.30);

  /* --- Transitions ----------------------------------------- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Navigation ------------------------------------------ */
  --navbar-height:  72px;
  --navbar-bg:      rgba(251, 248, 242, 0.92);
  --navbar-border:  var(--color-border-light);

  /* --- Z-Index Stack --------------------------------------- */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-navbar:   300;
  --z-drawer:   400;
  --z-modal:    500;
  --z-toast:    600;
}


/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background:
    radial-gradient(ellipse at 50% 44%, #fdeee4 40%, transparent 72%),
    linear-gradient(135deg,
      #b5cfb8 0%, #c4d4e0 18%, #d5cfe8 32%,
      #e8d5e0 46%, #fdeee4 58%, #fae8c8 70%,
      #d5e8d0 84%, #b5cfb8 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }


/* ============================================================
   TYPOGRAPHY SYSTEM
   ============================================================ */

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-medium);
  color: #2e2a5c !important;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

.display-hero {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--weight-light);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tightest);
}

p {
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.text-muted   { color: var(--color-text-muted); }
.text-accent  { color: var(--color-text-accent); }
.text-sage    { color: var(--color-sage); }
.text-gold    { color: var(--color-gold); }


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section    { padding-block: var(--space-20); }
.section-sm { padding-block: var(--space-12); }


/* ============================================================
   BUTTON SYSTEM
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background-color: #7B6898;
  color: #fff;
  border: 1.5px solid #7B6898;
}
.btn-primary:hover {
  background-color: #6B5B8C;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(123, 104, 152, 0.30);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: #2e2a5c;
  color: #2e2a5c;
}

.btn-accent {
  background-color: #7B6898;
  color: #fff;
  border: 1.5px solid #7B6898;
}
.btn-accent:hover {
  background-color: #6B5B8C;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(123, 104, 152, 0.30);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1.5px solid transparent;
  padding-inline: var(--space-4);
}
.btn-ghost:hover {
  color: var(--color-text-primary);
  background-color: var(--color-cream-mid);
}

.btn-sm { padding: var(--space-2) var(--space-5); font-size: var(--text-xs); }
.btn-lg { padding: var(--space-4) var(--space-10); font-size: var(--text-base); }


/* ============================================================
   CARD SYSTEM
   ============================================================ */

.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-cream { background-color: var(--color-warm-white); }


/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input::placeholder { color: var(--color-text-muted); }
.form-input:focus {
  border-color: var(--color-lavender);
  box-shadow: 0 0 0 3px var(--color-lavender-muted);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}


/* ============================================================
   BADGE / TAG
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-full);
}
.badge-sage     { background: var(--color-sage-muted);     color: #4A7A44; }
.badge-lavender { background: var(--color-lavender-muted); color: var(--color-text-accent); }
.badge-gold     { background: var(--color-gold-muted);     color: #8A6830; }
.badge-cream    { background: var(--color-cream-mid);      color: var(--color-text-secondary); }


/* ============================================================
   CELESTIAL DECORATIVE ELEMENTS
   Blueprint §3.1: subtle celestial elements consistently across UI
   ============================================================ */

.sparkle {
  display: inline-block;
  color: var(--color-gold);
  animation: sparkle-pulse 2.5s ease-in-out infinite;
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 1;   transform: scale(1)    rotate(0deg);  }
  50%       { opacity: 0.6; transform: scale(1.15) rotate(15deg); }
}

.orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.orb-sage     { background: var(--color-sage-muted); }
.orb-lavender { background: var(--color-lavender-light); }
.orb-gold     { background: var(--color-gold-muted); }


/* ============================================================
   MISC UTILITIES
   ============================================================ */

.divider {
  border: none;
  border-top: 1px solid var(--color-border-light);
  margin-block: var(--space-8);
}

::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-cream); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-lavender); }

::selection { background-color: var(--color-lavender-muted); color: var(--color-text-primary); }

:focus-visible { outline: 2px solid var(--color-lavender); outline-offset: 3px; border-radius: var(--radius-sm); }


/* ============================================================
   RESPONSIVE
   sm: 640px | md: 768px | lg: 1024px | xl: 1280px
   ============================================================ */

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
  .display-hero { font-size: var(--text-5xl); }
  .section { padding-block: var(--space-12); }
}
@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .display-hero { font-size: var(--text-4xl); }
}


/* ============================================================
   DESIGN TOKEN PASS v2 — correction pass
   ============================================================ */

/* ── 1. Gradient background: transparent sections so body shows through ── */
.hero,
.collection-section,
.reviews-section,
.story-section,
.footer,
.blog-page,
.btd-page,
.post-page,
.account-page,
.checkout-page,
.confirm-page,
.dreambook-page,
.live-page,
.shop-page,
.product-page {
  background: transparent !important;
}

/* Remove hero's own decorative background — body gradient takes over */
.hero__bg { display: none !important; }

/* ── 2. Heading color: deep twilight indigo everywhere ── */
/* Section-specific heading classes that override via inline <style> blocks */
.hero__headline,
.collection-section__title,
.reviews-section__title,
.story-copy__title,
.countdown-card__drop-name,
.btd-hero__title,
.btd-section__title,
.blog-hero__title,
.post-hero__title,
.account-section__title,
.live-section__title,
.shop-section__title,
.product-title,
.dreambook-section__title {
  color: #2e2a5c !important;
  font-family: var(--font-display) !important;
}

/* ── 3. Body/description text: charcoal everywhere ── */
.hero__sub,
.hero__fine-print,
.collection-section__sub,
.reviews-section__sub,
.story-copy__body,
.footer__tagline,
.footer__link,
.footer__copyright,
.review-card__quote,
.review-card__meta,
.pillar__desc,
.countdown-card__note,
.btd-hero__sub,
.btd-section__body,
.blog-hero__sub,
.post-hero__sub,
.post-body p,
.live-section__sub,
.shop-filter-label,
.product-desc p {
  color: #2a2a2a !important;
}

/* ── 4. Nav links: Cormorant Garamond semi-bold 17px ── */
.navbar__nav-link,
.navbar__mobile-menu .navbar__nav-link {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
}

/* ── 5. Header: centered logo above centered nav ── */
/* ── Navbar: fixed nav row, logo scrolls normally ── */
/* NOTE: overflow-x:hidden on body breaks position:sticky, so we use fixed instead */

.navbar {
  position: static !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  display: block !important;
}

.navbar__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: static !important;
  gap: 0 !important;
  max-width: var(--container-2xl) !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

/* Nav row — all items (links + icons) unified in one centered fixed bar */
.navbar__nav {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: var(--z-navbar) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.1rem !important;
  height: 2.75rem !important;
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  white-space: nowrap !important;
}

/* Thin divider between text links and icon buttons */
.navbar__nav-sep {
  display: inline-block !important;
  width: 1px !important;
  height: 1rem !important;
  background: rgba(46, 42, 92, 0.18) !important;
  margin: 0 0.4rem !important;
  flex-shrink: 0 !important;
}

/* Actions div no longer used (items merged into nav) */
.navbar__actions {
  display: none !important;
}

/* Logo — in normal flow, offset below the fixed nav row */
.navbar__brand {
  white-space: normal !important;
  flex-shrink: unset !important;
  display: block !important;
  padding-top: 3rem !important;
  padding-bottom: 0.25rem !important;
  width: 100% !important;
  text-align: center !important;
}

.navbar__logo-img {
  max-width: 520px !important;
  max-height: unset !important;
  width: 95% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Hamburger — fixed top-right on mobile */
.navbar__hamburger {
  position: fixed !important;
  top: 0.4rem !important;
  right: var(--container-pad) !important;
  z-index: calc(var(--z-navbar) + 2) !important;
  display: none !important;
}

@media (max-width: 768px) {
  .navbar__nav     { display: none !important; }
  .navbar__actions { display: none !important; }
  .navbar__hamburger { display: flex !important; }
  .navbar__logo-img  { max-width: 260px !important; }
}

/* ── EYEBROW UNIFICATION: indigo pill, rose text, site-wide ────────────────
   Shape: rounded pill with #2e2a5c background
   Text:  #b76b65 rose/coral
   Dot:   hidden (replaced by pill shape)
   ────────────────────────────────────────────────────────────────────────── */

/* ── EYEBROW PILL: gradient wash + soft glow, site-wide ────────────────── */
[class*="__eyebrow"],
.hero__eyebrow,
.join-eyebrow,
.popup-eyebrow,
.shop-header__eyebrow,
.btd-eyebrow,
.dream-circle-card__eyebrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  align-self: center !important;
  margin-inline: auto !important;
  padding: 0.35rem 1.1rem !important;
  /* Blush-to-lavender gradient, very washed out — echoes the hero gradient */
  background: linear-gradient(
    120deg,
    rgba(253, 222, 210, 0.75) 0%,
    rgba(220, 213, 240, 0.75) 100%
  ) !important;
  border: none !important;
  border-radius: 9999px !important;
  /* Soft indigo-gold glow instead of hard border */
  box-shadow:
    0 0 0 1px rgba(46, 42, 92, 0.12),
    0 2px 12px rgba(46, 42, 92, 0.10),
    0 1px 4px rgba(201, 169, 110, 0.12) !important;
  color: #b76b65 !important;
  font-size: var(--text-xs) !important;
  font-weight: var(--weight-semibold) !important;
  letter-spacing: var(--tracking-widest) !important;
  text-transform: uppercase !important;
  margin-bottom: var(--space-4) !important;
}

/* Kill the dot span — pill + text sparkle replaces it */
.hero__eyebrow-dot {
  display: none !important;
}

/* ── SECTION SPACING: tighten by ~50% site-wide ────────────────────────────
   Sections currently use padding-block: var(--space-20) = 5rem (80px).
   New value: var(--space-10) = 2.5rem (40px).
   ────────────────────────────────────────────────────────────────────────── */

.collection-section,
.reviews-section,
.story-section,
.hero,
.join-section {
  padding-block: var(--space-10) !important;
}

/* Base .section utility (used across inner pages) */
.section {
  padding-block: var(--space-10) !important;
}

/* Scroll divider between hero and collection */
.scroll-divider {
  padding-block: var(--space-4) !important;
}

/* Hero content inner padding — tighter top/bottom */
.hero__content {
  padding-top: var(--space-10) !important;
  padding-bottom: var(--space-6) !important;
}

/* ── LAYOUT PASS: single centered column everywhere ────────────────────────
   Hero: collapse two-column grid → one centered column, countdown below signup
   All sections: center eyebrow / title / body text, keep content grids intact
   ────────────────────────────────────────────────────────────────────────── */

/* Hero: single centered column */
.hero__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 680px !important;
  margin-inline: auto !important;
  padding-inline: var(--container-pad) !important;
}

.hero__text {
  max-width: 100% !important;
  width: 100% !important;
  text-align: center !important;
}

.hero__eyebrow {
  justify-content: center !important;
}

.hero__sub {
  max-width: 560px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.hero__form {
  justify-content: center !important;
  max-width: 440px !important;
  margin-inline: auto !important;
  margin-bottom: var(--space-4) !important;
}

.hero__fine-print {
  text-align: center !important;
}

/* Countdown panel: centered, no extra gap beneath (mini cards removed) */
.hero__countdown-panel {
  width: 100% !important;
  max-width: 420px !important;
  margin-inline: auto !important;
  align-items: center !important;
  gap: 0 !important;
}

.countdown-card {
  max-width: 100% !important;
  width: 100% !important;
}

/* Tighten hero bottom padding now that mini cards are gone */
.hero__content {
  padding-bottom: var(--space-10) !important;
}

/* Collection / shop sections: center the header text */
.collection-section__header,
.shop-section__header,
.reviews-section__header,
.story-section__header,
.btd-hero__content,
.btd-section__header,
.blog-hero__content,
.live-section__header,
.section-header,
.dreambook-section__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 680px !important;
  margin-inline: auto !important;
}

/* Eyebrow labels in every section */
.collection-section__eyebrow,
.reviews-section__eyebrow,
.story-section__eyebrow,
.shop-section__eyebrow,
.btd-hero__eyebrow,
.btd-section__eyebrow,
.blog-hero__eyebrow,
.live-section__eyebrow,
.dreambook-section__eyebrow,
[class*="__eyebrow"] {
  text-align: center !important;
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
}

/* Section titles and body copy: centered, readable max-width */
.collection-section__title,
.reviews-section__title,
.story-copy__title,
.shop-section__title,
.btd-hero__title,
.btd-section__title,
.blog-hero__title,
.live-section__title,
.dreambook-section__title {
  text-align: center !important;
  max-width: 660px !important;
  margin-inline: auto !important;
}

.collection-section__sub,
.reviews-section__sub,
.story-copy__body,
.shop-section__sub,
.btd-hero__sub,
.btd-section__body,
.blog-hero__sub,
.live-section__sub {
  text-align: center !important;
  max-width: 580px !important;
  margin-inline: auto !important;
}

/* Product / review grids: keep their grid layout but center the grid itself */
.collection-grid,
.product-grid,
.shop-grid,
.reviews-grid,
.review-grid,
.pillar-grid,
.pillar__grid {
  margin-inline: auto !important;
}

/* Story section: if it's a side-by-side layout, collapse to centered column */
.story-section .story-inner,
.story-section .story__inner,
.story-copy {
  text-align: center !important;
  max-width: 660px !important;
  margin-inline: auto !important;
}

/* Newsletter / join-the-dream section */
.newsletter-section,
.btd-section {
  text-align: center !important;
}
.newsletter-section .newsletter-inner,
.newsletter-section .section-inner,
.btd-section .btd-section__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 680px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

/* Generic fallback: any section with a two-col layout class */
[class*="two-col"],
[class*="split-layout"],
[class*="hero__grid"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* Collection section: override space-between header → centered column */
.collection-section__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 680px !important;
  margin-inline: auto !important;
  margin-bottom: var(--space-10) !important;
}

.collection-section__title-group {
  text-align: center !important;
  width: 100% !important;
}

.collection-section__sub {
  text-align: center !important;
  max-width: 560px !important;
  margin-inline: auto !important;
}

/* Reviews section header: centered */
.reviews-section__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 680px !important;
  margin-inline: auto !important;
}

/* Story section: collapse two-column image+text grid → centered text only */
.story-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 680px !important;
  margin-inline: auto !important;
  gap: var(--space-10) !important;
}

.story-grid__image {
  display: none !important;
}

.story-copy {
  text-align: center !important;
  width: 100% !important;
}

.story-copy__eyebrow {
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
  text-align: center !important;
}

.story-copy__title,
.story-copy__body {
  text-align: center !important;
  max-width: 100% !important;
}

/* ============================================================
   SHOPPING BAG ICON — Fix 52
   ============================================================ */

/* Hover lift — overrides the default .navbar__icon-btn transition */
.cart-icon-btn {
  transition: transform var(--transition-spring), color var(--transition-fast), background-color var(--transition-fast) !important;
}
.cart-icon-btn:hover {
  transform: translateY(-2px) !important;
}

/* Pop animation when item is added (class applied briefly by JS) */
.cart-icon-btn.bag-added svg {
  animation: dsd-bag-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes dsd-bag-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.28); }
  65%  { transform: scale(0.93); }
  100% { transform: scale(1); }
}

/* ── Add-to-Bag Confirmation Popup ─────────────────────────── */
.dsd-bag-confirm {
  position: fixed;
  top: 76px;
  right: 16px;
  width: min(360px, calc(100vw - 32px));
  background: var(--color-warm-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow-lavender);
  padding: var(--space-5) var(--space-6) var(--space-6);
  z-index: var(--z-toast);
  animation: dsd-confirm-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.dsd-bag-confirm.is-leaving {
  animation: dsd-confirm-out 200ms ease-in forwards;
  pointer-events: none;
}
@keyframes dsd-confirm-in {
  from { opacity: 0; transform: translateX(20px) translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes dsd-confirm-out {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(20px) scale(0.97); }
}
.dsd-bag-confirm__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}
.dsd-bag-confirm__close:hover {
  color: var(--color-text-primary);
  background: var(--color-cream-mid);
}
.dsd-bag-confirm__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-right: var(--space-6);
}
.dsd-bag-confirm__icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-lavender-muted);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-accent);
  position: relative;
  overflow: visible;
}
.dsd-bag-confirm__icon-wrap svg.bag-svg {
  width: 22px;
  height: 22px;
}
.dsd-bag-confirm__sparkles {
  position: absolute;
  inset: -10px;
  pointer-events: none;
  animation: dsd-sparkle-burst 1s ease-out forwards;
  color: var(--color-lavender);
}
@keyframes dsd-sparkle-burst {
  0%   { opacity: 0;   transform: scale(0.5); }
  25%  { opacity: 1;   transform: scale(1.05); }
  70%  { opacity: 0.6; transform: scale(1.1); }
  100% { opacity: 0;   transform: scale(1.25); }
}
.dsd-bag-confirm__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.3;
}
.dsd-bag-confirm__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 3px;
  line-height: 1.4;
}
.dsd-bag-confirm__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.dsd-bag-confirm__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: center;
}
.dsd-bag-confirm__btn--primary {
  background: linear-gradient(135deg, var(--color-lavender) 0%, var(--color-sage) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(139,133,174,0.28);
}
.dsd-bag-confirm__btn--primary:hover {
  box-shadow: 0 4px 16px rgba(139,133,174,0.38);
  transform: translateY(-1px);
  color: #fff;
}
.dsd-bag-confirm__btn--secondary {
  background: var(--color-cream-mid);
  color: var(--color-text-primary);
}
.dsd-bag-confirm__btn--secondary:hover {
  background: var(--color-border-light);
  transform: translateY(-1px);
  color: var(--color-text-primary);
}
.dsd-bag-confirm__btn--ghost {
  background: none;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  padding-block: var(--space-2);
  font-weight: var(--weight-medium);
}
.dsd-bag-confirm__btn--ghost:hover {
  color: var(--color-text-secondary);
  background: none;
}
