/* ==========================================================================
   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: 68px;

  --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;
  /* Great Vibes has tall loops and deep tails; background-clip:text paints only
     inside the box, so the box needs room or the letters get sliced. */
  line-height: 1.3;
  display: inline-block;
  max-width: 100%;
  padding: .12em .14em .24em;
  overflow-wrap: break-word;
  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); }
}

/* ==========================================================================
   Beta testing banner — shown at the very top
   ========================================================================== */
.beta-banner {
  position: relative;
  z-index: 65;
  background: var(--grad-hot);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 8px max(18px, var(--sal)) 8px max(18px, var(--sar));
  font-weight: 600;
}
.beta-banner a {
  color: var(--rose-100);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.beta-banner a:hover {
  color: #fff;
}

/* ==========================================================================
   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);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  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; line-height: 1.25; color: var(--rose-700); padding: 0 .1em 2px 0; }
.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); }
/* The catalogue mixes tall portraits (0.56), squares (1.0) and landscapes
   (1.17-1.45), so there is no single shape to crop to. `contain` keeps every
   product whole and lets the rose backdrop fill the letterbox instead of
   quietly slicing the top and bottom off someone's artwork. */
.card__media img { width: 100%; height: 100%; object-fit: contain; 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); }
/* "Promoted" reads as a badge of distinction, not a discount — deep plum with a
   gold hairline, deliberately unlike the sale ribbon and the gold New badge. */
.card__badge--promoted {
  background: linear-gradient(180deg, #6b1150 0%, #3d0a2c 100%);
  color: #fff;
  box-shadow: var(--gloss), 0 0 0 1px rgba(228,176,98,.55) inset;
}
.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); -webkit-backdrop-filter: 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); position: relative; }

/* prev / next arrows over the main image */
.pdp__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  background: rgba(255,255,255,.82); color: var(--plum-800);
  cursor: pointer; box-shadow: var(--sh-sm);
  -webkit-backdrop-filter: backdrop-filter: blur(6px);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pdp__nav:hover { background: #fff; box-shadow: var(--sh-md); }
.pdp__nav:active { transform: translateY(-50%) scale(.93); }
.pdp__nav:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }
.pdp__nav--prev { left: 14px; }
.pdp__nav--next { right: 14px; }
/* Only reveal on hover once the pointer is over the gallery, so the artwork is
   not permanently framed by two buttons. Always visible for keyboard users. */
@media (hover: hover) and (pointer: fine) {
  .pdp__nav { opacity: 0; }
  .pdp__gallery:hover .pdp__nav,
  .pdp__nav:focus-visible { opacity: 1; }
}
.pdp__counter {
  position: absolute; right: 14px; bottom: 14px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(42,4,18,.55); color: #fff;
  font: 600 .74rem/1 var(--font-ui); letter-spacing: .06em;
  -webkit-backdrop-filter: backdrop-filter: blur(4px); pointer-events: none;
}
.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); }

/* photos / video switch */
.pdp__tabs { display: flex; gap: 8px; }
.pdp__tab {
  padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--rose-200); background: rgba(255,255,255,.72);
  font: 600 .82rem/1 var(--font-ui); color: var(--plum-700);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pdp__tab:hover { border-color: var(--rose-400); }
.pdp__tab.is-active { background: var(--grad-hot); border-color: transparent; color: #fff; }
.pdp__tab:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }

/* Portrait (9:16) video viewer — these clips are vertical phone-style videos,
   so a 16:9 letterboxed player made them tiny and half-empty. */
.pdp__video {
  position: relative;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  background: #000;
  width: 100%; max-width: 330px; margin: 0 auto 16px;
  aspect-ratio: 9 / 16;
}
.pdp__video:last-child { margin-bottom: 0; }
.pdp__video iframe,
.pdp__video video { display: block; width: 100%; height: 100%; border: 0; }
.pdp__video video { object-fit: contain; background: #000; }
@media (max-width: 420px) {
  .pdp__video { max-width: 100%; border-radius: var(--r-lg); }
}

.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; }

/* ==========================================================================
   Modal (custom design enquiry)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 180; display: none; }
.modal.is-open { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(42,4,18,.55); -webkit-backdrop-filter: backdrop-filter: blur(5px); -webkit--webkit-backdrop-filter: backdrop-filter: blur(5px); }
.modal__panel {
  position: relative;
  margin: max(3vh, 12px) auto;
  width: min(620px, calc(100% - 24px));
  max-height: 94vh;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--sh-xl);
  animation: modalIn .4s var(--ease-spring);
  padding-bottom: max(clamp(20px, 4vw, 32px), var(--sab));
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.modal__head h2 { font-size: clamp(1.3rem, 3.5vw, 1.6rem); }

@media (max-width: 560px) {
  .modal__panel { margin: 0; width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  @keyframes modalIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   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: 60px; }
  .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);
    -webkit-backdrop-filter: blur(18px);
    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.2rem; }
  .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; }
}

/* ---- customer account ---- */
.acct-error {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--r-md);
  background: #fff0f3; border: 1.5px solid #ffc2dd; color: #a8104f; font-size: .9rem;
}
.nav__actions .nav__link { white-space: nowrap; }


/* ==========================================================================
   Modern hero + scrolling product pmarquee
   ========================================================================== */
.hero--modern { padding-block: clamp(22px, 3.2vw, 44px) 0; text-align: left; }
.hero__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: clamp(16px, 4vw, 56px); padding-bottom: clamp(18px, 2.6vw, 30px);
}
.hero__copy .eyebrow { margin-bottom: 4px; }
.hero--modern .hero__title { margin-block: 4px 6px; }
.hero--modern .hero__script { font-size: clamp(2.8rem, 7.2vw, 5.6rem); line-height: 1.3; }
.hero--modern .hero__tag { margin-inline: 0; max-width: 46ch; font-size: clamp(1rem, 1.7vw, 1.28rem); }
.hero--modern .hero__cta { justify-content: flex-start; margin-top: 20px; }
.hero__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero__art .badge { width: clamp(120px, 17vw, 220px); margin: 0; }

.pmarquee {
  position: relative; display: grid; gap: 16px; padding-block: 8px 30px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
/* Sits outside .pmarquee so the fade mask does not clip the first and last words */
.pmarquee-label {
  margin: 26px 0 0; text-align: center;
  font: 700 .7rem/1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase;
  color: var(--plum-700); opacity: .6;
}
.pmarquee-label:empty { display: none; }
.pmarquee__row { overflow: hidden; }
.pmarquee__track {
  display: flex; gap: 16px; width: max-content;
  /* A third of the previous speed. The duration is three times longer because
     the loop covers the same distance — 70s -> 210s, 85s -> 255s. */
  animation: marq var(--marq-dur, 210s) linear infinite;
}
.pmarquee__row--rev .pmarquee__track { animation-direction: reverse; --marq-dur: 255s; }
.pmarquee:hover .pmarquee__track, .pmarquee:focus-within .pmarquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(calc(-50% - 8px)); } }

/* the second row only appears when the screen is tall enough to show it above the fold */
.pmarquee__row--rev { display: none; }
@media (min-width: 700px) and (min-height: 900px) { .pmarquee__row--rev { display: block; } }

.mcard {
  position: relative; flex: 0 0 auto; width: clamp(150px, 15vw, 200px);
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -14px rgba(140,10,70,.35), 0 0 0 1px rgba(255,255,255,.7) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mcard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -16px rgba(238,30,122,.5); }
.mcard__img { position: relative; aspect-ratio: 1 / 1; background: var(--rose-50); }
.mcard__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mcard__price {
  position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px;
  font: 700 .84rem/1 var(--font-ui); color: #fff; background: var(--grad-hot); box-shadow: var(--gloss);
}
.mcard__sale {
  position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  font: 700 .66rem/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--grad-ribbon);
}
.mcard__new {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  font: 700 .66rem/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  color: var(--plum-900); background: linear-gradient(180deg,#ffcf6b,#e0a23c); box-shadow: var(--gloss);
}
.mcard__promoted {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px;
  font: 700 .66rem/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg,#6b1150,#3d0a2c);
  box-shadow: var(--gloss), 0 0 0 1px rgba(228,176,98,.55) inset;
}
.mcard__title {
  padding: 10px 12px 12px; font: 600 .84rem/1.3 var(--font-ui); color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.3em;
}
.mcard--skeleton { height: clamp(210px, 20vw, 270px); background: linear-gradient(90deg,#ffe1ee,#fff4f9,#ffe1ee); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

@media (max-width: 720px) {
  .hero--modern { text-align: center; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .hero--modern .hero__tag { margin-inline: auto; }
  .hero--modern .hero__cta, .hero__meta { justify-content: center; }
  .hero__meta .pill-badge:nth-child(3) { display: none; }
  .mcard { width: 148px; border-radius: 18px; }
}

/* people who ask for less motion get a swipeable row instead of an animation */
@media (prefers-reduced-motion: reduce) {
  .pmarquee__row { overflow-x: auto; scrollbar-width: none; }
  .pmarquee__track { animation: none; }
}


/* ---- sort + category filters ---- */
.shop-sort select { min-width: 190px; width: auto; }
.home-filters { justify-content: center; margin-bottom: 30px; }
@media (max-width: 720px) { .shop-sort, .shop-sort select { width: 100%; } }

/* hero browse bar — search plus category / subject shortcuts */
.hero__search {
  position: relative; display: flex; align-items: center;
  max-width: 440px; width: 100%; margin-top: 18px;
}
.hero__search svg { position: absolute; left: 17px; color: var(--rose-500); pointer-events: none; }
.hero__search input {
  width: 100%; height: 48px; padding: 0 120px 0 46px;
  border-radius: var(--r-pill); border: 1.5px solid var(--rose-200);
  background: rgba(255,255,255,.92); color: var(--ink);
  font: inherit; font-size: .95rem; box-shadow: var(--sh-sm);
}
.hero__search input::placeholder { color: var(--muted); }
.hero__search input:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; border-color: transparent; }
.hero__search-go {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  height: 38px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .82rem/1 var(--font-ui); letter-spacing: .04em; color: #fff;
  background: var(--grad-hot); box-shadow: var(--sh-sm);
  transition: filter .2s var(--ease), transform .2s var(--ease);
}
.hero__search-go:hover { filter: brightness(1.06); }
.hero__search-go:active { transform: translateY(-50%) scale(.97); }
.hero__search-go:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }

.hero__cats {
  display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap;
  margin-top: 12px;
}
.hero__cats-label {
  flex: 0 0 auto;
  font: 700 .68rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase;
  color: var(--plum-700); opacity: .6;
}
.hero__cats .chips { display: flex; gap: 8px; flex-wrap: wrap; }
/* chips used as links, not buttons */
a.chip { text-decoration: none; }
a.chip:hover { transform: translateY(-2px); }
.hero__cats .chip {
  display: inline-flex; align-items: center;
  font-size: .82rem; padding: 6px 14px;
}
@media (max-width: 720px) {
  .hero__search { margin-inline: auto; }
  .hero__search input { padding-right: 100px; }
  .hero__search-go { padding: 0 16px; }
  .hero__cats { justify-content: center; }
  .hero__cats-label { flex: 1 1 100%; text-align: center; }
}

/* currency picker (header) */
.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; }
.cur-select { position: relative; display: inline-flex; align-items: center; }
.cur-select select {
  appearance: none; -webkit-appearance: none;
  height: 42px; padding: 0 30px 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rose-200);
  background: rgba(255,255,255,.75);
  color: var(--ink);
  font: inherit; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  cursor: pointer;
  box-shadow: var(--sh-xs);
}
.cur-select::after {
  content: ''; position: absolute; right: 13px; top: 50%;
  width: 6px; height: 6px; margin-top: -4px;
  border-right: 2px solid var(--rose-600); border-bottom: 2px solid var(--rose-600);
  transform: rotate(45deg); pointer-events: none;
}
.cur-select select:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }
@media (max-width: 560px) {
  .cur-select select { height: 38px; padding: 0 26px 0 10px; font-size: .78rem; }
}

/* currency picker (hero) — the first offer a visitor sees on arrival */
[hidden] { display: none !important; }
.nav__currency { display: flex; }

/* iOS Safari zooms the page in when a focused input's text is under 16px, and
   it never zooms back out on blur. Anything focusable gets 16px on touch
   screens so tapping a field cannot leave the visitor stuck at that zoom. */
@media (max-width: 900px) {
  .input,
  .shop-search input,
  select,
  textarea { font-size: 16px; }
}
.hero__currency { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 22px; }
.hero__currency-label {
  font: 700 .74rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase;
  color: var(--plum-700);
}
.cur-select--lg select {
  height: 46px; padding: 0 34px 0 18px;
  font-size: .92rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(255,255,255,.9);
  border-color: var(--rose-300);
  box-shadow: var(--sh-sm);
}
.cur-select--lg::after { right: 16px; width: 7px; height: 7px; }
.hero__currency-note {
  flex: 1 1 100%; margin: 0;
  font-size: .84rem; color: var(--plum-700); opacity: .85;
}
@media (max-width: 720px) {
  .hero__currency { justify-content: center; }
}

/* ==========================================================================
   Product page: readable title, folding description
   ========================================================================== */
.pdp__title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-top: 6px; line-height: 1.12; overflow-wrap: anywhere; }
.pdp__desc { margin-bottom: 22px; }
.pdp__more {
  display: none;
  margin-top: 6px; padding: 8px 0; border: 0; background: none; cursor: pointer;
  font: 700 .86rem/1 var(--font-ui); letter-spacing: .04em; color: var(--rose-600);
  text-decoration: underline; text-underline-offset: 3px;
}
.crumbs { flex-wrap: wrap; }

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width: 700px) {
  /* description folds so the buy button is close to the photos */
  .pdp__desc:not(.is-open) .prose { max-height: 13em; overflow: hidden; position: relative; }
  .pdp__desc:not(.is-open) .prose::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em;
    background: linear-gradient(to bottom, rgba(255,247,251,0), rgba(255,247,251,.96));
    pointer-events: none;
  }
  .pdp__more { display: inline-block; }
  .pdp__more[hidden] { display: none !important; }

  /* thumbnails: one swipeable row instead of a wall of tiles */
  .pdp__thumbs {
    display: flex; grid-template-columns: none; gap: 8px;
    overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; scrollbar-width: none;
  }
  .pdp__thumbs::-webkit-scrollbar { display: none; }
  .pdp__thumb { flex: 0 0 64px; height: 64px; min-height: 0; scroll-snap-align: start; }
  .pdp__thumb:hover { transform: none; }

  /* breadcrumb: the product name is already the heading */
  .crumbs { justify-content: flex-start; font-size: .7rem; gap: 7px; margin-bottom: 10px; }
  .crumbs__here { display: none; }

  .pdp { gap: 22px; }
  .pdp__info .lede { font-size: 1rem; }

  /* shop: filters as one swipeable row, compact heading */
  .page-head { padding-block: 22px 12px; }
  .page-head .display { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .page-head .lede { font-size: .95rem; }
  .shop-bar { gap: 10px; padding-block: 10px; }
  .shop-bar [data-filters] {
    flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px; margin-inline: -2px;
  }
  .shop-bar [data-filters]::-webkit-scrollbar { display: none; }
  .shop-bar [data-filters] .chip { flex: 0 0 auto; }
  .shop-subjects-toggle { order: 2; }
  .shop-sort { order: 3; flex: 1 1 auto; }
  .shop-search { order: 4; flex: 1 1 100%; min-width: 0; max-width: none; }
  .shop-subjects .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .shop-subjects .chips::-webkit-scrollbar { display: none; }
  .shop-subjects .chip { flex: 0 0 auto; }
  .subject-hidden-chips { display: inline-flex; flex-wrap: wrap; gap: 8px; }
  .chip--hidden { flex: 0 0 auto; }
  .chip--more { background: var(--grad-hot); color: #fff; border-color: transparent; }
  .chip--more:hover { filter: brightness(1.06); }
  .chip--more:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }
}

@media (max-width: 560px) {
  /* header: everything has to fit beside the basket */
  .announce { font-size: .72rem; letter-spacing: .02em; padding-block: 7px; padding-top: calc(7px + var(--sat)); line-height: 1.35; }
  .nav__inner { gap: 6px; }
  .nav__actions { gap: 6px; }
  .nav-search { width: 40px; }
  .nav-search:focus-within { width: 140px; }
  .cur-select select { height: 40px; padding: 0 22px 0 9px; font-size: .74rem; letter-spacing: 0; }
  .cur-select::after { right: 9px; width: 5px; height: 5px; }
}
@media (max-width: 340px) {
  .logo__text { display: none; }
}

/* ==========================================================================
   Header v2 — quiet, modern: logo left, three links centred, icons right.
   Sits last so it wins over the earlier nav rules.
   ========================================================================== */
.beta-banner { font-size: .78rem; letter-spacing: .02em; padding-block: 6px; }
.announce { font-size: .76rem; letter-spacing: .03em; font-weight: 500; padding-block: 6px; padding-top: calc(6px + var(--sat)); }

.nav {
  height: 68px;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(40, 10, 30, .08);
}
.nav.is-stuck { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 12px rgba(40, 10, 30, .06); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.logo { justify-self: start; }
.nav__links { margin-left: 0; gap: 2px; justify-self: center; }
.nav__link {
  padding: 8px 16px; border-radius: 8px;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
}
.nav__link:hover { background: rgba(238, 30, 122, .07); color: var(--rose-700); }
.nav__link.is-active { background: none; color: var(--rose-700); font-weight: 600; }
.nav__link.is-active::after { left: 16px; right: 16px; bottom: 1px; width: auto; translate: none; background: var(--rose-500); }

.nav__actions { justify-self: end; gap: 2px; }
.nav__icon, .cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; min-width: 0; padding: 0; gap: 0;
  border-radius: 50%;
  background: none; box-shadow: none;
  color: var(--plum-900);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__icon:hover, .cart-btn:hover { background: rgba(238, 30, 122, .08); color: var(--rose-700); transform: none; box-shadow: none; }
.nav__icon:focus-visible, .cart-btn:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }
.cart-btn__count {
  position: absolute; top: 3px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--rose-600); color: #fff; font-size: .64rem; font-weight: 700;
}
.nav__actions .cur-select select {
  height: 36px; padding: 0 22px 0 10px; margin-right: 4px;
  border: 0; background: transparent; box-shadow: none;
  font-size: .8rem; letter-spacing: .02em; color: var(--plum-900);
}
.nav__actions .cur-select select:hover { background: rgba(238, 30, 122, .07); }
.nav__actions .cur-select::after { right: 9px; width: 5px; height: 5px; border-color: var(--plum-800); }

@media (max-width: 860px) {
  .nav { height: 60px; }
  .nav__inner { display: flex; gap: 4px; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { order: 3; }
  .nav__links { top: calc(60px + var(--sat)); }
  .nav__link { font-size: 1.02rem; padding: 14px 16px; }
  .nav__link.is-active::after { display: none; }
}

/* tidy header: links never wrap onto two lines */
.nav__links .nav__link { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) {
  .nav__links { gap: 2px; }
  .nav__links .nav__link { padding-inline: 11px; }
}
/* tidy hero: headline, line, two buttons, browse, reassurance */
.hero__copy .hero__cta { margin-top: 26px; }
.hero__copy .hero__cats { margin-top: 26px; }
.hero__copy .hero__meta { margin-top: 18px; }
@media (max-width: 700px) {
  .hero__copy .hero__cta { margin-top: 18px; }
  .hero__copy .hero__cats { margin-top: 18px; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.stars-link { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.reviews { border-top: 1px solid var(--rose-100); }
.reviews__head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.reviews__title { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0; }
.reviews__summary { margin: 6px 0 0; color: var(--plum-800); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stars { color: #f2a33a; letter-spacing: .08em; }
.reviews__list { display: grid; gap: 12px; }
.review { background: #fff; border: 1px solid var(--rose-100); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-xs); }
.review__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .9rem; }
.review__name { color: var(--plum-950); }
.review__badge { font-size: .74rem; font-weight: 700; color: #1f9e5c; }
.review__date { margin-left: auto; font-size: .78rem; color: var(--muted); }
.review__body { margin: 10px 0 0; line-height: 1.65; white-space: pre-line; }

.review-form {
  display: grid; gap: 14px; margin-bottom: 22px; padding: 20px;
  background: #fff; border: 1px solid var(--rose-200); border-radius: var(--r-lg, 22px); box-shadow: var(--sh-sm);
}
.review-stars { border: 0; padding: 0; margin: 0; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.review-stars legend { font: 700 .74rem/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--plum-700); margin-bottom: 8px; width: 100%; }
.review-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-stars label { font-size: 2.3rem; line-height: 1; color: var(--rose-200); cursor: pointer; padding: 2px 3px; transition: color .15s, transform .15s; }
.review-stars label:hover { transform: scale(1.12); }
.review-stars input:focus-visible + label { outline: 2px solid var(--rose-500); outline-offset: 2px; border-radius: 6px; }
/* fill every star up to the one chosen (or hovered) */
.review-stars:has(#rv1:checked) label:nth-of-type(-n+1),
.review-stars:has(#rv2:checked) label:nth-of-type(-n+2),
.review-stars:has(#rv3:checked) label:nth-of-type(-n+3),
.review-stars:has(#rv4:checked) label:nth-of-type(-n+4),
.review-stars:has(#rv5:checked) label:nth-of-type(-n+5) { color: #f2a33a; }
@media (hover: hover) {
  .review-stars:has(label:hover) label { color: var(--rose-200); }
  .review-stars label:hover, .review-stars label:has(~ label:hover) { color: #f2a33a; }
}
.review-verify { display: grid; gap: 10px; }
.review-verify__note { margin: 0; font-size: .86rem; }
.review-verify__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-form__error { margin: 0; color: #c0263f; font-size: .88rem; font-weight: 600; }
.review-form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .reviews__head .btn { width: 100%; }
  .review-verify__row { grid-template-columns: 1fr; }
  .review-form { padding: 16px; }
  .review-stars label { font-size: 2.6rem; padding: 2px 4px; }
  .review__date { margin-left: 0; }
}

/* ---------- Digital card personalisation ---------- */
.personalise { display: grid; gap: 14px; margin: 18px 0; padding: 18px; border: 1px solid rgba(232,90,154,.25); border-radius: 18px; background: rgba(255,240,247,.6); }
.personalise__title { font-size: 1.15rem; margin: 0; }
.personalise__intro, .personalise__note { margin: 0; font-size: .85rem; color: var(--muted); }
.personalise__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.personalise textarea.input { resize: vertical; min-height: 110px; font: inherit; }
.personalise .input.is-invalid { border-color: #d6336c; box-shadow: 0 0 0 3px rgba(214,51,108,.15); }
.personalise__error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #ffe3ee; color: #a3123f; font-size: .88rem; font-weight: 600; }
@media (max-width: 560px) {
  .personalise { padding: 14px; }
  .personalise__row { grid-template-columns: 1fr; }
  .personalise .input { font-size: 16px; }
}
