/* ==========================================================================
   ChicTemplateByAmanda — design system
   Palette and gloss pulled from the brand badge: satin ribbon, hot magenta,
   blush bloom, rose-gold sparkle.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Jost:wght@300;400;500;600;700;800&display=swap');

:root {
  /* --- safe areas (iPhone notch / Android cutouts) ---------------------- */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);

  /* iOS Safari reports vh as the *largest* viewport, so content hides behind
     the collapsing URL bar. dvh tracks the real visible height. vh stays as
     the fallback for anything older than iOS 15.4. */
  --vh: 1vh;
  --dvh: 1vh;

  /* --- core palette ----------------------------------------------------- */
  --plum-950: #2a0412;
  --plum-900: #4a0a26;
  --plum-800: #6c1139;
  --plum-700: #8e1750;
  --rose-700: #b80f5c;
  --rose-600: #d4106a;
  --rose-500: #ee1e7a;
  --rose-400: #ff4fa3;
  --rose-300: #ff8fc4;
  --rose-200: #ffc2dd;
  --rose-100: #ffe1ee;
  --rose-50: #fff4f9;
  --cream: #fffbfd;
  --gold: #e4b062;
  --gold-light: #f6d9a8;

  --ink: var(--plum-950);
  --body: #59152f;
  --muted: #8a3d5c;          /* ≥4.5:1 on cream and on blush */
  --on-plum: var(--rose-100);

  /* --- gradients -------------------------------------------------------- */
  --grad-ribbon: linear-gradient(170deg, #6c1139 0%, #4a0a26 45%, #350716 100%);
  --grad-hot: linear-gradient(180deg, #ff6ab4 0%, #ee1e7a 45%, #c40e60 100%);
  --grad-hot-hover: linear-gradient(180deg, #ff85c4 0%, #ff3a8e 45%, #d41468 100%);
  --grad-blush: linear-gradient(180deg, #fff4f9 0%, #ffd9e9 60%, #ffc2dd 100%);
  --grad-glass: linear-gradient(150deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.28) 48%, rgba(255,255,255,.55) 100%);

  /* --- glossy highlights ------------------------------------------------ */
  --gloss: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 6px rgba(120,0,50,.28);
  --gloss-soft: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 4px rgba(120,0,50,.18);

  /* --- elevation -------------------------------------------------------- */
  --sh-xs: 0 1px 2px rgba(94,6,40,.08);
  --sh-sm: 0 4px 14px -4px rgba(94,6,40,.16);
  --sh-md: 0 14px 34px -12px rgba(94,6,40,.26);
  --sh-lg: 0 30px 60px -22px rgba(94,6,40,.36);
  --sh-xl: 0 46px 90px -34px rgba(94,6,40,.44);
  --sh-pink: 0 18px 40px -14px rgba(238,30,122,.45);

  /* --- shape ------------------------------------------------------------ */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* --- type ------------------------------------------------------------- */
  --font-script: 'Great Vibes', 'Snell Roundhand', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- layout ----------------------------------------------------------- */
  --wrap: 1240px;
  --wrap-narrow: 880px;
  --nav-h: 74px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

@supports (height: 100dvh) {
  :root { --vh: 100dvh; --dvh: 100dvh; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  overflow-x: clip;
  /* Stop Android's overscroll glow revealing the page behind the body */
  overscroll-behavior-y: none;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  min-height: var(--dvh);
  /* Remove the grey flash iOS shows when tapping a link */
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  /* iOS bounces the whole page if a child scrolls; clamp that */
  overscroll-behavior-y: none;
}

/* Comfortable tap targets on both platforms (Apple: 44pt, Android: 48dp) */
@media (pointer: coarse) {
  a, button, [role="button"], label.pay-option, summary {
    touch-action: manipulation;      /* kills the 300ms double-tap delay */
  }
  .btn, .chip, .a-btn, .cart-btn, .nav__toggle {
    min-height: 46px;
  }
  .nav__link { min-height: 44px; display: inline-flex; align-items: center; }
  .cart-line__rm { padding: 8px 0; display: inline-block; }
  .pdp__thumb { min-height: 72px; }

  /* Footer links were only ~24px tall — well under both platforms' minimum. */
  .footer__links { gap: 2px; }
  .footer__links a { display: flex; align-items: center; min-height: 44px; }
  .pay-pill { padding: 9px 14px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 40px; }
  details > summary { min-height: 44px; }
}

/* iOS zooms any input with font-size under 16px on focus */
input, select, textarea, button { font-size: max(16px, 1em); }
@supports (-webkit-touch-callout: none) {
  .input, .select, .textarea { font-size: 16px; }
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 3px solid var(--rose-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.01em;
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(180deg, #ff8fc4 0%, #ee1e7a 40%, #b80f5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .01em;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-700);
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--plum-700);
  line-height: 1.55;
}

.muted { color: var(--muted); }
.text-center { text-align: center; }

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  /* Stay clear of notch / rounded corners in landscape */
  padding-inline: max(clamp(18px, 4vw, 32px), var(--sal)) max(clamp(18px, 4vw, 32px), var(--sar));
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(56px, 9vw, 110px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 70px); }
.section--blush { background: var(--grad-blush); }

.stack > * + * { margin-top: var(--gap, 18px); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-200), transparent);
  border: 0;
  margin-block: clamp(40px, 6vw, 72px);
}

/* ==========================================================================
   Background decoration — soft pink bloom + sparkles
   ========================================================================== */
.bloom { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.bloom::before, .bloom::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bloom::before {
  width: 620px; height: 620px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(255,143,196,.5), rgba(255,143,196,0) 70%);
}
.bloom::after {
  width: 560px; height: 560px;
  bottom: -200px; left: -160px;
  background: radial-gradient(circle, rgba(238,30,122,.28), rgba(238,30,122,0) 70%);
}

.sparkles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.sparkle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--gold-light) 45%, rgba(228,176,98,0) 72%);
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.6) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.25) rotate(180deg); }
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce {
  position: relative;
  z-index: 60;
  background: var(--grad-ribbon);
  color: var(--rose-100);
  text-align: center;
  font-size: .82rem;
  letter-spacing: .06em;
  padding: 9px max(18px, var(--sal)) 9px max(18px, var(--sar));
  font-weight: 500;
  /* clear the status bar / notch when pinned to the very top */
  padding-top: calc(9px + var(--sat));
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 251, 253, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 194, 221, .5);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { box-shadow: var(--sh-sm); background: rgba(255, 251, 253, .94); }
.nav__inner {
  display: flex; align-items: center; gap: 20px; width: 100%;
  max-width: var(--wrap); margin-inline: auto;
  padding-inline: max(clamp(18px, 4vw, 32px), var(--sal)) max(clamp(18px, 4vw, 32px), var(--sar));
}

/* --- logo --------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: auto;
  height: 50px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(180, 15, 92, .38));
  transition: transform .5s var(--ease-spring);
}
.logo:hover .logo__mark { transform: rotate(-5deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-script); font-size: 1.72rem; color: var(--rose-700); padding-bottom: 2px; }
.logo__sub {
  font-size: .55rem; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--plum-800); opacity: .8;
}

.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--plum-900);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { background: rgba(255, 143, 196, .28); color: var(--plum-950); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; translate: -50% 0;
  width: 16px; height: 2px; border-radius: 2px; background: var(--rose-500);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

/* cart button */
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--grad-hot);
  color: #fff;
  font-size: .84rem; font-weight: 600; letter-spacing: .05em;
  box-shadow: var(--gloss), var(--sh-pink);
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--gloss), 0 22px 46px -14px rgba(238,30,122,.6); }
.cart-btn:active { transform: translateY(0); }
.cart-btn__count {
  display: none;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--r-pill);
  background: #fff; color: var(--rose-600);
  font-size: .72rem; font-weight: 800;
  align-items: center; justify-content: center;
}
.cart-btn__count.is-on { display: inline-flex; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--plum-800); border-radius: 2px; position: relative; transition: .3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--plum-800); border-radius: 2px; transition: .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease), background .3s var(--ease);
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 52%);
  pointer-events: none;
}
.btn--primary {
  background: var(--grad-hot);
  color: #fff;
  box-shadow: var(--gloss), var(--sh-pink);
}
.btn--primary:hover { transform: translateY(-3px); background: var(--grad-hot-hover); box-shadow: var(--gloss), 0 26px 52px -16px rgba(238,30,122,.62); }
.btn--primary:active { transform: translateY(-1px); }

.btn--dark { background: var(--grad-ribbon); color: var(--rose-100); box-shadow: var(--gloss), var(--sh-md); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--gloss), var(--sh-lg); }

.btn--ghost {
  background: rgba(255,255,255,.7);
  color: var(--rose-700);
  box-shadow: var(--gloss-soft), var(--sh-sm);
  border: 1.5px solid rgba(255,120,180,.55);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--gloss-soft), var(--sh-md); }

.btn--sm { padding: 10px 20px; font-size: .74rem; letter-spacing: .1em; }
.btn--lg { padding: 19px 46px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }

.btn__arrow { transition: transform .3s var(--ease-spring); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(48px, 7vw, 88px) clamp(60px, 8vw, 100px); text-align: center; overflow: hidden; }
.hero__inner { max-width: 900px; margin-inline: auto; }
.hero__title { margin-block: 18px 6px; }
.hero__script { font-size: clamp(3.2rem, 10vw, 6.6rem); display: block; }
.hero__tag { font-family: var(--font-serif); font-size: clamp(1.05rem, 2.3vw, 1.45rem); color: var(--plum-700); max-width: 40ch; margin-inline: auto; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* --- the badge ---------------------------------------------------------- */
/* Real artwork with the studio backdrop removed by scripts/process-logo.mjs. */
.badge {
  position: relative;
  width: min(72vw, 300px);
  margin-inline: auto;
  filter: drop-shadow(0 20px 36px rgba(140, 10, 70, .32));
}
.badge__art {
  display: block;
  width: 100%;
  height: auto;
}
.badge::before {
  /* soft pink halo so the badge lifts off the page */
  content: '';
  position: absolute;
  inset: 6% -8% -4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 196, .5) 0%, rgba(255, 143, 196, 0) 70%);
  z-index: -1;
}

/* --- ribbon banner ------------------------------------------------------ */
.ribbon {
  position: relative;
  margin-block: clamp(30px, 5vw, 52px);
  background: var(--grad-ribbon);
  color: #fff;
  text-align: center;
  padding: 20px 60px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(1rem, 3.4vw, 1.9rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: var(--sh-lg);
}
.ribbon::before, .ribbon::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 46px;
  background: inherit;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ribbon::before { left: -46px; }
.ribbon::after  { right: -46px; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.ribbon span { color: var(--rose-300); }

/* ==========================================================================
   Feature list (tick bullets)
   ========================================================================== */
.ticks { display: grid; gap: 18px; }
.tick { display: flex; gap: 16px; align-items: flex-start; }
.tick__mark {
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-hot);
  display: grid; place-items: center;
  box-shadow: var(--gloss), 0 8px 18px -6px rgba(238,30,122,.6);
}
.tick__mark svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.tick__title { font-family: var(--font-serif); font-size: 1.34rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.tick__body { font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--rose-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--grad-hot); color: #fff;
  font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: var(--gloss), var(--sh-sm);
}
.card__badge--sale { background: var(--grad-ribbon); }
.card__badge--new { background: linear-gradient(180deg,#ffcf6b,#e0a23c); color: var(--plum-900); }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; gap: 9px; }
.card__cat { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-700); }
.card__title { font-family: var(--font-serif); font-size: 1.24rem; font-weight: 600; color: var(--ink); line-height: 1.22; }
.card__sub { font-size: .87rem; color: var(--muted); line-height: 1.5; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.price { display: flex; align-items: baseline; gap: 9px; }
.price__now { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; color: var(--rose-600); }
.price__was { font-size: .92rem; color: var(--muted); text-decoration: line-through; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--rose-50); border: 1px solid var(--rose-100);
  font-size: .7rem; letter-spacing: .04em; color: var(--plum-800);
}

.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: .82rem; letter-spacing: 1px; }

/* --- Etsy-style listing card ----------------------------------------------
   Square cover, title clamped to two lines, price, shop, rating — the
   format shoppers already scan without thinking.                            */
.card--etsy { border-radius: var(--r-md); }
.card--etsy .card__media { aspect-ratio: 1 / 1; }
.card--etsy .card__body { padding: 12px 13px 15px; gap: 5px; }
.card--etsy .card__title {
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.36;
  color: var(--ink);
  /* two lines only, exactly like Etsy */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.72em;
}
.card--etsy:hover .card__title { color: var(--rose-700); }
.card__price { display: flex; align-items: baseline; gap: 7px; }
.card__price .price__now { font-family: var(--font-ui); font-size: .95rem; font-weight: 700; color: var(--ink); }
.card__price .price__was { font-size: .8rem; }
.card__shop { font-size: .76rem; color: var(--muted); }
.card__rating { display: inline-flex; align-items: center; gap: 5px; margin-top: 1px; }
.card__stars { color: var(--gold); font-size: .74rem; letter-spacing: .5px; }
.card__reviews { font-size: .72rem; color: var(--muted); }
.card--etsy .card__badge { top: 8px; left: 8px; }

/* ==========================================================================
   Filters / chips
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 22px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.8);
  border: 1.5px solid var(--rose-300);
  color: var(--plum-900);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--rose-500); color: var(--plum-950); transform: translateY(-2px); }
.chip.is-active { background: var(--grad-hot); color: #fff; border-color: transparent; box-shadow: var(--gloss), var(--sh-pink); }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: grid; gap: 7px; }
.field__label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--plum-800); }
.field__hint { font-size: .8rem; color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--rose-200);
  background: #fff;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(255,143,196,.22);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b80f5c' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 42px; }

.checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--rose-500); cursor: pointer; }

/* ==========================================================================
   Toast
   ========================================================================== */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 10px; max-width: min(360px, calc(100vw - 36px)); }
.toast {
  padding: 14px 20px; border-radius: var(--r-md);
  background: var(--grad-ribbon); color: #fff;
  font-size: .9rem; font-weight: 500;
  box-shadow: var(--sh-lg);
  animation: toastIn .45s var(--ease-spring);
  display: flex; align-items: center; gap: 11px;
}
.toast--ok { background: linear-gradient(180deg,#4fd98a,#1f9e5c); }
.toast--err { background: linear-gradient(180deg,#ff7a8a,#d92b46); }
.toast.is-out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn  { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  display: none;                 /* keeps the off-screen panel out of the layout */
}
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(42,4,18,.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  box-shadow: var(--sh-xl);
  /* respect rounded corners in landscape */
  padding-top: var(--sat);
  padding-bottom: var(--sab);
  overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { padding: 22px 24px; border-bottom: 1px solid var(--rose-100); display: flex; align-items: center; justify-content: space-between; }
.drawer__title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; display: grid; gap: 14px; align-content: start; }
.drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--rose-100); background: #fff; }

.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.cart-line__img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; background: var(--rose-50); }
.cart-line__title { font-family: var(--font-serif); font-size: 1.02rem; color: var(--ink); line-height: 1.25; }
.cart-line__price { font-size: .9rem; color: var(--rose-600); font-weight: 600; }
.cart-line__rm { font-size: .76rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cart-line__rm:hover { color: var(--rose-600); }

.total-row { display: flex; justify-content: space-between; font-size: .92rem; padding-block: 5px; color: var(--body); }
.total-row--grand { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--ink); padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--rose-100); }

.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state__icon { font-size: 2.6rem; margin-bottom: 10px; }

/* ==========================================================================
   Marquee (scrolling ticker of values)
   ========================================================================== */
.marquee { overflow: hidden; padding-block: 14px; background: var(--grad-ribbon); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: slide 32s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 12px; color: var(--rose-200); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.marquee__item::before { content: '✦'; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--grad-ribbon);
  color: var(--rose-200);
  /* extra bottom padding so the iPhone home indicator never covers the credit */
  padding-block: clamp(50px, 7vw, 80px) calc(28px + var(--sab));
  margin-top: 0;
}
.footer a { color: var(--rose-200); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 38px; grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr)); }
.footer__title { font-family: var(--font-ui); font-weight: 700; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer__links { display: grid; gap: 9px; font-size: .9rem; }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__logo .logo__name { color: #fff; font-size: 1.9rem; }
.footer__logo .logo__sub { color: var(--rose-300); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,143,196,.22); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,194,221,.75); }

.pay-badges { display: flex; gap: 8px; align-items: center; }
.pay-pill {
  padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: #fff;
}

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-head { padding-block: clamp(38px, 6vw, 66px) clamp(20px, 3vw, 34px); text-align: center; }
.crumbs { display: flex; gap: 9px; justify-content: center; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--rose-600); }

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--nav-h) + 22px); display: grid; gap: 14px; }
.pdp__main { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--rose-50); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.pdp__thumb { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; cursor: pointer; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active { border-color: var(--rose-500); }
.pdp__thumb:hover { transform: translateY(-3px); }

.pdp__price { display: flex; align-items: baseline; gap: 14px; margin-block: 6px 18px; }
.pdp__price .price__now { font-size: clamp(2rem, 4vw, 2.6rem); }
.pdp__price .price__was { font-size: 1.1rem; }

.prose { font-size: 1rem; line-height: 1.72; color: var(--body); }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose li { padding-left: 24px; position: relative; }
.prose li::before { content: '✿'; position: absolute; left: 0; color: var(--rose-400); }

.buybox { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-md); display: grid; gap: 14px; }

.trust { display: grid; gap: 12px; }
.trust__item { display: flex; gap: 11px; align-items: center; font-size: .88rem; color: var(--muted); }
.trust__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--rose-100); display: grid; place-items: center; flex-shrink: 0; }
.trust__icon svg { width: 14px; height: 14px; stroke: var(--rose-700); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px, 400px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.summary-card { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-md); position: sticky; top: calc(var(--nav-h) + 22px); }

.pay-option {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 2px solid var(--rose-200);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.pay-option:hover { border-color: var(--rose-300); }
.pay-option.is-active { border-color: var(--rose-500); box-shadow: 0 0 0 4px rgba(255,143,196,.2); }
.pay-option__logo { margin-left: auto; }

/* ==========================================================================
   Utility
   ========================================================================== */
.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;
}
.skeleton {
  background: linear-gradient(90deg, var(--rose-50) 25%, var(--rose-100) 37%, var(--rose-50) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.spinner--dark { border-color: rgba(180,15,92,.25); border-top-color: var(--rose-600); }
@keyframes spin { to { transform: rotate(360deg); } }

.pill-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.7); border: 1.5px solid var(--rose-200);
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-700);
}
.pill-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: #2fd47c; box-shadow: 0 0 0 3px rgba(47,212,124,.22); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(47,212,124,.22); } 50% { box-shadow: 0 0 0 6px rgba(47,212,124,0); } }

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.float { animation: float 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: calc(var(--nav-h) + var(--sat)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,251,253,.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 16px max(18px, var(--sal)) calc(24px + var(--sab)) max(18px, var(--sar));
    border-bottom: 1px solid var(--rose-100);
    box-shadow: var(--sh-md);
    transform: translateY(-130%);
    transition: transform .45s var(--ease);
    margin: 0;
    max-height: calc(var(--dvh) - var(--nav-h) - var(--sat));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav__links.is-open { transform: none; }
  .nav__link { padding: 13px 16px; border-radius: var(--r-sm); }
  .nav__link.is-active::after { display: none; }
  .nav__actions { margin-left: auto; }
  .cart-btn span:not(.cart-btn__count) { display: none; }
  .cart-btn { padding: 0 15px; min-width: 46px; justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .card__title { font-size: 1.06rem; }
  .ribbon { padding: 16px 34px; letter-spacing: .1em; }
  .ribbon::before, .ribbon::after { width: 28px; }
  .ribbon::before { left: -28px; }
  .ribbon::after  { right: -28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Small phones — iPhone SE (375px), older Android (360px)
   ========================================================================== */
@media (max-width: 420px) {
  .logo__mark { height: 42px; }
  .logo__name { font-size: 1.42rem; }
  .logo__sub { font-size: .48rem; letter-spacing: .24em; }
  .grid--products { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .card__body { padding: 15px 14px 17px; }
  .card__title { font-size: 1rem; }
  .price__now { font-size: 1.35rem; }
  .btn { padding: 14px 26px; font-size: .82rem; letter-spacing: .1em; }
  .btn--lg { padding: 16px 30px; font-size: .86rem; }
  .hero__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .drawer__panel { width: 100%; }
  .checkout-layout { gap: 18px; }
  .cart-line { grid-template-columns: 58px 1fr auto; gap: 11px; }
  .cart-line__img { width: 58px; height: 58px; }
  .funnel__row { grid-template-columns: 96px 1fr; row-gap: 4px; }
}

/* ==========================================================================
   Landscape phones — the notched ones (iPhone 14/15 landscape etc.)
   Short viewport height means the hero must not eat the whole screen.
   ========================================================================== */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { padding-block: 28px 34px; }
  .badge { width: min(30vw, 170px); }
  .hero__script { font-size: clamp(2rem, 7vw, 3.2rem); }
  .hero__tag { font-size: 1rem; }
  .hero__cta { margin-top: 18px; }
  .section { padding-block: 40px; }
  .ribbon { margin-block: 24px; padding-block: 12px; }
}

/* Very short screens (landscape + small phone): trim vertical rhythm. */
@media (max-height: 430px) and (orientation: landscape) {
  .hero { padding-block: 18px 22px; }
  .hero__meta { display: none; }
}