/* fonts, served from this site (no third-party request) */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/archivo-black-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/archivo-black-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/caveat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/caveat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ============ THE SIDE PROJECT — styles ============ */
:root {
  --cream: #f4ecdf;
  --cream-2: #ece2d0;
  --cream-3: #e3d6bf;
  --ink: #161513;
  --ink-2: #2c2a26;
  --muted: #6e675c;
  --line: rgba(22, 21, 19, 0.12);
  --accent: #d9653b;
  --accent-ink: #a8451f;
  --green: #25d366;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.65, 0, 0.35, 1);
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--ink); color: var(--cream); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(var(--wrap), 100% - 64px); } }

/* subtle paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Page transition curtain ============ */
.curtain {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: grid; place-items: center; pointer-events: none;
  transform: translateY(0); transition: transform .7s var(--ease-in);
}
.curtain svg { width: 46px; color: var(--cream); animation: spin 1.6s linear infinite; }
body.is-loaded .curtain { transform: translateY(-100%); }
body.is-loaded:not(.is-leaving) .curtain svg { animation-play-state: paused; }
body.is-leaving .curtain { transform: translateY(0); transition-duration: .5s; }
body.is-leaving .curtain, body:not(.is-loaded) .curtain { pointer-events: all; }
/* safety net: never leave the curtain covering the page if scripts are slow */
body:not(.is-leaving) .curtain { animation: curtainSafety 0s 2.5s forwards; }
@keyframes curtainSafety { to { transform: translateY(-100%); pointer-events: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 30px -18px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 18px; letter-spacing: -.01em; line-height: .9; }
.brand-mark { width: 34px; height: 34px; position: relative; flex: none; }
.brand-mark svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.brand:hover .brand-mark svg { transform: rotate(180deg); }
.brand small { display: block; font-family: var(--sans); font-weight: 500; font-size: 9.5px; letter-spacing: .32em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 8px 14px; font-weight: 600; font-size: 14.5px; border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { background: var(--ink); color: var(--cream) !important; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 12px 16px 24px; border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease);
  }
  body.menu-open .nav-links { clip-path: inset(0 0 0 0); }
  .nav-links a { font-family: var(--display); font-size: 26px; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; border-radius: 999px !important; font-size: 18px !important; border: 0 !important; }
}

/* ============ Buttons ============ */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { color: var(--cream); }
.btn-ghost::before { background: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* ============ Typography helpers ============ */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.h-display { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: -.02em; margin: 0; text-transform: uppercase; }
.h1 { font-size: clamp(42px, 7.5vw, 104px); }
.h2 { font-size: clamp(34px, 5vw, 64px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; z-index: 2; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head p { margin: 14px 0 0; }

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-40px); } .reveal-r { transform: translateX(40px); }
.reveal-scale { transform: scale(.94); }
.split-line { display: block; overflow: hidden; padding-bottom: .04em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.in .split-line > span, .split-line.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
}

/* ============ Hero ============ */
.hero { position: relative; z-index: 2; padding: clamp(28px, 5vw, 60px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero-logo { position: relative; }
.logo-stage { position: relative; animation: float 7s ease-in-out infinite; }
.logo-stage img { width: 100%; }
.logo-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-copy .lead { margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta div { font-size: 13px; color: var(--muted); }
.hero-meta strong { display: block; font-family: var(--display); font-size: 28px; color: var(--ink); font-weight: 400; line-height: 1.1; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-.6deg); } }
.hero-star { position: absolute; color: var(--ink); animation: twinkle 3.2s ease-in-out infinite; }
.hero-star.s1 { width: 26px; top: 8%; right: 6%; } .hero-star.s2 { width: 16px; bottom: 14%; left: 2%; animation-delay: 1.1s; }
.hero-star.s3 { width: 12px; top: 30%; left: 46%; animation-delay: 2s; color: var(--accent); }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 560px; margin: 0 auto; }
}

/* ============ Marquee ============ */
.marquee { position: relative; z-index: 2; background: var(--ink); color: var(--cream); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span svg { width: 22px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Product card ============ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.product-grid.few { grid-template-columns: repeat(auto-fit, minmax(260px, 420px)); }
.product-grid.few .card-media { aspect-ratio: 1 / 1; }
@media (max-width: 600px) { .product-grid.few { grid-template-columns: 1fr; } }
.card { position: relative; display: block; border-radius: var(--radius); }
.card-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cream-2);
  box-shadow: 0 1px 0 var(--line);
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.06); }
.card:hover .card-media img.alt { opacity: 1; }
.card-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--cream); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.card-quick {
  position: absolute; left: 50%; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--ink); color: var(--cream); padding: 9px 16px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .01em;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.5);
  opacity: 0; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), background .3s;
}
.card-quick svg { width: 15px; height: 15px; }
.card-quick:hover { background: var(--accent); }
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .card-quick { display: none; } }
.card-body { padding: 16px 4px 4px; }
.card-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card-title { font-weight: 700; font-size: 18px; line-height: 1.25; margin: 4px 0 8px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--display); font-size: 20px; letter-spacing: -.01em; }
.price s { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 6px; font-weight: 500; }
.price-note { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.ship-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: #2f6b3c; background: rgba(63,140,80,.13); padding: 5px 11px; border-radius: 999px; }
.ship-tag svg { width: 13px; height: 13px; }
.pdp-price { flex-wrap: wrap; }
.intl-note { margin: -8px 0 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.formats-mini { display: flex; gap: 6px; }
.formats-mini span { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); }

/* ============ Carousel ============ */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; margin: 0 -8px; padding: 8px; cursor: grab; touch-action: pan-y; }
.carousel-viewport.dragging { cursor: grabbing; }
.carousel-viewport.dragging .card { pointer-events: none; }
.carousel-track { display: flex; gap: 24px; transition: transform .8s var(--ease); will-change: transform; }
.carousel-track.no-anim { transition: none; }
.carousel-track > .card { flex: 0 0 calc((100% - 48px) / 3); }
@media (max-width: 960px) { .carousel-track > .card { flex-basis: calc((100% - 24px) / 2); } }
.carousel-track.few > .card { flex-basis: calc((100% - 24px) / 2); }
.carousel-track.few .card-media { aspect-ratio: 1 / 1; }
@media (max-width: 600px) { .carousel-track > .card, .carousel-track.few > .card { flex-basis: 82%; } .carousel-track { gap: 16px; } }
.carousel-controls { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.carousel-progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.carousel-progress i { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width .8s var(--ease), left .8s var(--ease); }
.circle-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .3s, color .3s, transform .3s var(--ease);
}
.circle-btn:hover { background: var(--ink); color: var(--cream); transform: scale(1.06); }
.circle-btn svg { width: 20px; }
.carousel-count { font-family: var(--display); font-size: 14px; min-width: 56px; text-align: center; }

/* ============ Feature strip ============ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--cream-2); transition: transform .5s var(--ease), background .4s; }
.feature:hover { transform: translateY(-6px); background: var(--cream-3); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--cream); display: grid; place-items: center; margin-bottom: 22px; }
.feature .ico svg { width: 26px; }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* ============ Category tiles ============ */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--ink); color: var(--cream);
  min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: transform .5s var(--ease);
}
.cat::after { content: ""; position: absolute; width: 220px; height: 90px; border: 1.5px solid rgba(244,236,223,.35); border-radius: 50%; right: -60px; top: -20px; transform: rotate(-18deg); transition: transform .8s var(--ease); }
.cat:hover { transform: translateY(-6px); }
.cat:hover::after { transform: rotate(-30deg) scale(1.2); }
.cat:nth-child(2) { background: var(--accent); }
.cat:nth-child(3) { background: var(--cream-3); color: var(--ink); }
.cat:nth-child(3)::after { border-color: rgba(22,21,19,.25); }
.cat:nth-child(4) { background: #3f5d46; }
.cat strong { font-family: var(--display); font-size: 24px; font-weight: 400; text-transform: uppercase; line-height: 1; }
.cat span { font-size: 13px; opacity: .8; display: flex; align-items: center; gap: 6px; }
.cat span svg { width: 16px; transition: transform .4s var(--ease); }
.cat:hover span svg { transform: translateX(5px); }
@media (max-width: 820px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* ============ CTA band ============ */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) * 1.6); padding: clamp(40px, 7vw, 90px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band .h2 { color: var(--cream); }
.cta-band p { color: rgba(244,236,223,.75); }
.cta-band .orbit { position: absolute; width: 700px; height: 240px; border: 1.5px solid rgba(244,236,223,.18); border-radius: 50%; right: -200px; top: -40px; transform: rotate(-16deg); }
.cta-band .btn { --bg: var(--cream); --fg: var(--ink); }
.cta-band .btn:hover { color: var(--cream); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
.btn-wa { --bg: var(--green) !important; --fg: #0b2e17 !important; }
.btn-ig { --bg: transparent !important; --fg: var(--cream) !important; box-shadow: inset 0 0 0 1.5px rgba(244,236,223,.5); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ============ Page header (inner pages) ============ */
.page-hero { position: relative; z-index: 2; padding: clamp(50px, 8vw, 100px) 0 clamp(30px, 5vw, 60px); overflow: hidden; }
.page-hero .orbit-deco { position: absolute; right: -120px; top: 20px; width: 560px; height: 200px; border: 1.5px solid var(--ink); border-radius: 50%; transform: rotate(-14deg); opacity: .14; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }

/* ============ Shop toolbar ============ */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.active { background: var(--ink); color: var(--cream); box-shadow: none; }
.tools-right { display: flex; gap: 10px; flex-wrap: wrap; }
.field { position: relative; }
.field input, .field select {
  appearance: none; font: inherit; font-size: 14px; color: var(--ink); background: var(--cream-2);
  border: 1.5px solid transparent; border-radius: 999px; padding: 10px 16px 10px 40px; min-width: 200px; outline: none; transition: border-color .3s, background .3s;
}
.field select { padding: 10px 38px 10px 16px; min-width: 170px; cursor: pointer; }
.field input:focus, .field select:focus { border-color: var(--ink); background: var(--cream); }
.field > svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 16px; color: var(--muted); pointer-events: none; }
.field.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.product-grid .card { animation: cardIn .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
@media (max-width: 600px) { .field input, .field select { min-width: 0; width: 100%; } .tools-right, .tools-right .field { width: 100%; } }

/* ============ Product page ============ */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: start; padding-top: 24px; }
.gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
/* real (square) product photos: square stage + scrollable thumbnail strip */
.gallery.photos .stage, .gallery.photos .thumb { aspect-ratio: 1 / 1; }
.gallery.photos .stage { background: #fbe9ef; }
.gallery.photos .stage img { object-fit: contain; } /* show non-square photos whole */
.gallery .thumbs { height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: none; }
@media (max-width: 900px) { .gallery .thumbs { height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; } }
.gallery .thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; opacity: .55; box-shadow: inset 0 0 0 0 var(--ink); transition: opacity .3s, transform .3s var(--ease); position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .3s; }
.thumb:hover { opacity: .9; transform: translateY(-2px); }
.thumb.active { opacity: 1; }
.thumb.active::after { box-shadow: inset 0 0 0 2px var(--ink); }
.stage { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform .9s var(--ease), clip-path .9s var(--ease); }
.stage img.leaving { opacity: 0; transform: scale(1.04); }
.stage img.entering { clip-path: inset(0 0 0 100%); }
.stage.zoom img.current { transform: scale(1.8); transition: transform .3s ease-out; }
.stage-nav { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 8px; z-index: 3; }
.stage-nav button { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); transition: transform .3s var(--ease), background .3s, color .3s; }
.stage-nav button:hover { background: var(--ink); color: var(--cream); transform: scale(1.08); }
.stage-nav svg { width: 18px; }
.stage-count { position: absolute; top: 16px; left: 16px; z-index: 3; background: var(--cream); font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumb { width: 72px; flex: none; }
}

.pdp-info .card-cat { display: block; margin-bottom: 10px; }
.pdp-title { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: .98; letter-spacing: -.02em; margin: 0 0 18px; text-transform: uppercase; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pdp-price .price { font-size: 34px; }
.save-tag { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 16%, transparent); padding: 5px 10px; border-radius: 999px; }
.pdp-short { font-size: 18px; color: var(--ink-2); margin: 0 0 28px; }

.delivery { border-radius: var(--radius); background: var(--cream-2); padding: 20px; margin-bottom: 22px; }
.delivery-title { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.delivery-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-opts.one { grid-template-columns: 1fr; }
.dopt { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--cream); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .3s, transform .3s var(--ease); }
.dopt:hover { transform: translateY(-2px); }
.dopt input { position: absolute; opacity: 0; pointer-events: none; }
.dopt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.dopt .dico { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--cream); display: grid; place-items: center; flex: none; }
.dopt .dico svg { width: 20px; }
.dopt b { display: block; font-size: 15px; line-height: 1.2; }
.dopt small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 480px) { .delivery-opts { grid-template-columns: 1fr; } }

.buy-row { display: flex; gap: 10px; margin-bottom: 14px; }
.buy-row .btn { flex: 1; }
.buy-note { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin: 0 0 30px; }
.buy-note svg { width: 16px; flex: none; }
.buy-row .share-btn { width: 58px; flex: none; padding: 0; }

.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 700; font-size: 16px; text-align: left; }
.acc-head i { width: 14px; height: 14px; position: relative; flex: none; }
.acc-head i::before, .acc-head i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.acc-head i::after { transform: rotate(90deg); }
.acc.open .acc-head i::after { transform: rotate(0); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body p { margin: 0 0 20px; color: var(--ink-2); }
.acc-body ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.acc-body li { display: flex; gap: 10px; align-items: flex-start; }
.acc-body li svg { width: 18px; flex: none; margin-top: 3px; color: var(--accent); }

/* ============ Modal (Buy now / QR) ============ */
.modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22,21,19,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease); }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(920px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--cream); border-radius: calc(var(--radius) * 1.4); display: grid; grid-template-columns: .9fr 1.1fr;
  opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
}
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--ink); color: var(--cream); }
.modal-close svg { width: 18px; }
.modal-side { background: var(--ink); color: var(--cream); padding: 34px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.modal-side::after { content: ""; position: absolute; width: 440px; height: 150px; border: 1.5px solid rgba(244,236,223,.18); border-radius: 50%; left: -80px; bottom: -40px; transform: rotate(-16deg); }
.modal-prod { display: flex; gap: 14px; align-items: center; }
.modal-prod img { width: 70px; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; }
.modal-prod b { display: block; font-size: 17px; line-height: 1.2; }
.modal-prod .price { color: var(--cream); font-size: 20px; }
.modal-side h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 6px 0 0; }
.modal-side p { margin: 0; color: rgba(244,236,223,.72); font-size: 14.5px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; position: relative; z-index: 1; }
.steps li { display: flex; gap: 12px; font-size: 14px; color: rgba(244,236,223,.85); counter-increment: s; }
.steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); color: var(--ink); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.modal-main { padding: 34px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tabs { display: inline-flex; padding: 5px; background: var(--cream-2); border-radius: 999px; position: relative; margin-bottom: 22px; }
.tab { position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: color .35s; }
.tab svg { width: 18px; }
.tab.active { color: var(--cream); }
.tab-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease), background .4s; }
.tabs[data-active="wa"] .tab-pill { background: #128c4a; }
.tabs[data-active="ig"] .tab-pill { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.qr-box { position: relative; width: min(260px, 70vw); aspect-ratio: 1; padding: 16px; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px -24px rgba(0,0,0,.35); }
.qr-box .qr { width: 100%; height: 100%; transition: opacity .35s, transform .5s var(--ease); }
.qr-box .qr.swap { opacity: 0; transform: scale(.9) rotate(-4deg); }
.qr-box .qr svg { width: 100%; height: 100%; }
.qr-logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.qr-logo span { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: #128c4a; transition: background .4s; }
.qr-logo span svg { width: 24px; }
.qr-logo.ig span { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.qr-scan { position: absolute; left: 16px; right: 16px; height: 2px; top: 16px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 16px; } 50% { top: calc(100% - 18px); } }
.qr-caption { margin: 18px 0 6px; font-weight: 700; font-size: 17px; }
.qr-sub { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.modal-format { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.modal-format label { cursor: pointer; }
.modal-format input { position: absolute; opacity: 0; pointer-events: none; }
.modal-format span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); transition: all .3s; }
.modal-format input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.modal-format span svg { width: 15px; }
.modal-main { justify-content: center; }
.buy-head { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 10px 0 18px; }
.buy-links { width: 100%; max-width: 400px; display: grid; gap: 12px; }
.buy-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; color: #fff; text-align: left;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); box-shadow: 0 12px 28px -16px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(16px);
}
.modal.open .buy-link { opacity: 1; transform: none; transition: opacity .5s var(--ease) .15s, transform .6s var(--ease) .15s, box-shadow .4s; }
.modal.open .buy-link.ig { transition-delay: .25s; }
.modal.open .buy-link:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -16px rgba(0,0,0,.55); transition-delay: 0s; }
.buy-link.wa { background: #128c4a; }
.buy-link.ig { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.bl-ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.bl-ico svg { width: 26px; }
.bl-text { flex: 1; min-width: 0; }
.bl-text b { display: block; font-size: 17px; line-height: 1.2; }
.bl-text small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; }
.bl-arrow svg { width: 20px; transition: transform .35s var(--ease); }
.buy-link:hover .bl-arrow svg { transform: translateX(4px); }
.or-line { font-size: 12px; color: var(--muted); margin: 0 0 12px; letter-spacing: .2em; text-transform: uppercase; }
.phone-line { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.phone-line a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .modal-panel { grid-template-columns: 1fr; }
  .modal-side { padding: 26px 22px; }
  .modal-side .steps { display: none; }
  .modal-main { padding: 26px 20px 30px; }
}

/* ============ Lightbox ============ */
.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(22,21,19,.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; padding: 20px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; transform: scale(.92); transition: transform .5s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox .modal-close { position: fixed; }

/* ============ Toast ============ */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 990; translate: -50% 0; background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transform: translateY(120px); transition: transform .5s var(--ease); }
.toast.show { transform: none; }

/* ============ About ============ */
.about-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; background: var(--ink); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-orbit { position: absolute; inset: auto -12% 8% -12%; height: 34%; border: 2px solid var(--accent); border-radius: 50%; transform: rotate(-14deg); pointer-events: none; z-index: 2; }
.portrait-wrap { position: relative; }
.sticker { position: absolute; z-index: 3; right: -10px; top: 16%; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: var(--cream); display: grid; place-items: center; animation: spin 18s linear infinite; }
.sticker svg { width: 100%; height: 100%; }
.sticker b { position: absolute; font-size: 26px; }
.signature { font-family: "Caveat", cursive; font-size: 40px; line-height: 1; margin-top: 18px; }
.about-copy p { color: var(--ink-2); font-size: 17.5px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 34px 28px; border-top: 2px solid var(--ink); }
.value .num { font-family: var(--display); font-size: 14px; color: var(--accent); }
.value h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 14px 0 12px; }
.value p { color: var(--muted); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) * 1.4); padding: clamp(30px, 5vw, 56px); }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1; }
.stat span { color: rgba(244,236,223,.7); font-size: 14px; }
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.tl-item h4 { margin: 0 0 6px; font-size: 19px; }
.tl-item p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 420px; margin: 0 auto; width: 100%; }
  .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-card { border-radius: calc(var(--radius) * 1.3); padding: clamp(26px, 4vw, 40px); background: var(--cream-2); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; transition: transform .5s var(--ease); }
.contact-card:hover { transform: translateY(-6px); }
.contact-card.dark { background: var(--ink); color: var(--cream); }
.contact-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 12px 0 10px; }
.contact-card p { margin: 0 0 20px; opacity: .75; }
.contact-card .qr-mini { width: 150px; padding: 10px; background: #fff; border-radius: 16px; }
.contact-card.dark .btn { --bg: var(--cream); --fg: var(--ink); }
.contact-card.dark .btn:hover { color: var(--cream); }
.faq { max-width: 820px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-card { grid-template-columns: 1fr; } .contact-card .qr-mini { width: 160px; } }

/* ============ Footer ============ */
.site-footer { position: relative; z-index: 2; background: var(--ink); color: var(--cream); padding: 80px 0 30px; margin-top: 40px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 240px; margin: 0 0 22px -10px; }
.site-footer h4 { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: rgba(244,236,223,.55); margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { opacity: .85; transition: opacity .3s, color .3s; }
.site-footer a:hover { opacity: 1; color: var(--accent); }
.footer-big { font-family: var(--display); text-transform: uppercase; font-size: clamp(48px, 13vw, 190px); line-height: .85; letter-spacing: -.03em; margin: 70px 0 30px; color: transparent; -webkit-text-stroke: 1.5px rgba(244,236,223,.22); white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(244,236,223,.55); padding-top: 24px; border-top: 1px solid rgba(244,236,223,.12); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ============ Floating WhatsApp ============ */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.1) rotate(-8deg); }
.fab svg { width: 30px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.8); opacity: 0; } }

/* ============ Reviews ============ */
[hidden] { display: none !important; }
.rv-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.rv-stars svg { width: 18px; height: 18px; fill: var(--cream-3); }
.rv-stars svg.on { fill: #e0a43a; }
.rv-stars.lg svg { width: 26px; height: 26px; }
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pdp-rating:hover span { color: var(--ink); text-decoration: underline; }

.rv-summary { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--radius) * 1.3); background: var(--cream-2); margin-bottom: 28px; }
.rv-score { display: grid; justify-items: start; gap: 6px; }
.rv-score strong { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 8vw, 84px); line-height: .9; }
.rv-score > span:last-child { font-size: 14px; color: var(--muted); font-weight: 600; }
.rv-bars { display: grid; gap: 8px; max-width: 460px; width: 100%; }
.rv-bar { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.rv-bar i { height: 8px; border-radius: 99px; background: var(--cream); overflow: hidden; }
.rv-bar b { display: block; height: 100%; background: #e0a43a; border-radius: inherit; }
@media (max-width: 600px) { .rv-summary { grid-template-columns: 1fr; } }
.rv-chips { margin-bottom: 26px; }

.rv-grid { columns: 3 300px; column-gap: 22px; }
.rv-card { break-inside: avoid; margin: 0 0 22px; padding: 26px; border-radius: var(--radius); background: #fff8ee; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(0,0,0,.35); animation: cardIn .7s var(--ease) both; animation-delay: var(--d, 0s); transition: transform .4s var(--ease); }
.rv-card:hover { transform: translateY(-4px) rotate(-.3deg); }
.rv-text { font-size: 16.5px; line-height: 1.6; margin: 14px 0 18px; color: var(--ink-2); }
.rv-photo { width: 100%; border-radius: 12px; margin-bottom: 18px; }
.rv-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.rv-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; flex: none; }
.rv-card footer b { display: block; line-height: 1.2; }
.rv-card footer small { display: block; font-size: 12.5px; color: var(--muted); }
.rv-meta { width: 100%; display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.rv-meta a { font-weight: 700; color: var(--accent-ink); }
.rv-empty { column-span: all; text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line); border-radius: calc(var(--radius) * 1.3); }
.rv-empty > svg { width: 38px; margin: 0 auto 14px; color: #e0a43a; animation: twinkle 3s ease-in-out infinite; }
.rv-empty h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; margin: 0 0 8px; }
.rv-empty p { color: var(--muted); margin: 0 0 22px; }

.rv-write { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: calc(var(--radius) * 1.6); overflow: hidden; background: var(--cream-2); scroll-margin-top: 90px; }
.rv-write-side { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: clamp(30px, 5vw, 56px); }
.rv-write-side::after { content: ""; position: absolute; width: 480px; height: 160px; border: 1.5px solid rgba(244,236,223,.18); border-radius: 50%; left: -100px; bottom: -40px; transform: rotate(-16deg); }
.rv-write-side p { color: rgba(244,236,223,.75); margin: 0 0 22px; }
.rv-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.rv-perks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: rgba(244,236,223,.9); }
.rv-perks li::before { content: "✦"; color: var(--accent); }
.rv-form { padding: clamp(26px, 4vw, 48px); display: grid; gap: 18px; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .rv-row { grid-template-columns: 1fr; } }
.rv-field { display: grid; gap: 7px; position: relative; }
.rv-field > span:first-child { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.rv-field input, .rv-field textarea, .rv-field select {
  font: inherit; font-size: 15px; color: var(--ink); width: 100%; background: var(--cream); border: 1.5px solid transparent;
  border-radius: 14px; padding: 13px 15px; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.rv-field .field { display: block; }
.rv-field .field select { min-width: 0; border-radius: 14px; padding: 13px 40px 13px 15px; }
.rv-field input:focus, .rv-field textarea:focus, .rv-field select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22,21,19,.06); }
.rv-count { position: absolute; right: 12px; bottom: 10px; font-size: 11.5px; color: var(--muted); }
.rv-stars-input { display: flex; align-items: center; gap: 4px; }
.rv-stars-input button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; transition: background .2s; }
.rv-stars-input button:hover { background: var(--cream); }
.rv-stars-input svg { width: 30px; height: 30px; fill: var(--cream-3); transition: fill .2s, transform .2s; }
.rv-stars-input button.on svg { fill: #e0a43a; }
.rv-stars-input em { white-space: nowrap; margin-left: 10px; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.rv-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.rv-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.rv-error { margin: 0; min-height: 1.2em; font-size: 14px; font-weight: 700; color: #b3261e; }
.rv-error.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.rv-note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .rv-write { grid-template-columns: 1fr; } }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-note a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.rv-skel { min-height: 170px; display: grid; gap: 12px; align-content: start; }
.rv-skel i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--cream-2), var(--cream-3), var(--cream-2)); background-size: 200% 100%; animation: skel 1.3s linear infinite; }
.rv-skel i:nth-child(1) { width: 40%; } .rv-skel i:nth-child(2) { width: 95%; } .rv-skel i:nth-child(3) { width: 70%; }
@keyframes skel { to { background-position: -200% 0; } }
.rv-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
#rv-send:disabled { opacity: .75; cursor: progress; transform: none; }
.rv-card.rv-new { animation: rvNew 1.6s var(--ease) both; box-shadow: 0 0 0 2px var(--accent), 0 18px 40px -30px rgba(0,0,0,.35); }
@keyframes rvNew { 0% { opacity: 0; transform: translateY(-20px) scale(.96); } 40% { opacity: 1; transform: none; } }

/* ============ Home: moving reviews ============ */
#home-rv-score { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#home-rv-score b { color: var(--ink); }
.rv-marquee { display: grid; gap: 22px; overflow: hidden; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-row-track { display: flex; width: max-content; animation: rvScroll var(--dur, 40s) linear infinite; }
.rv-row-track.rev { animation-direction: reverse; }
.rv-marquee:hover .rv-row-track { animation-play-state: paused; }
.rv-row-set { display: flex; gap: 22px; padding-right: 22px; }
.rv-marquee .rv-card { width: 340px; flex: none; margin: 0; animation: none; display: flex; flex-direction: column; }
.rv-marquee .rv-text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.rv-marquee .rv-card:hover { transform: translateY(-4px) rotate(-.6deg); }
@keyframes rvScroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .rv-marquee .rv-card { width: 280px; } }
@media (prefers-reduced-motion: reduce) {
  .rv-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-row-track { animation: none; }
  .rv-row-set[aria-hidden] { display: none; }
}

/* footer contact icons */
.footer-social { gap: 12px !important; }
.footer-social a { display: inline-flex; align-items: center; gap: 12px; opacity: .9; }
.fs-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.fs-ico svg { width: 19px; height: 19px; }
.fs-wa .fs-ico { background: #25d366; }
.fs-ig .fs-ico { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.fs-mail .fs-ico { background: var(--accent); }
.footer-social a:hover .fs-ico { transform: translateY(-3px) rotate(-8deg) scale(1.08); box-shadow: 0 10px 22px -10px rgba(0,0,0,.6); }
.site-footer .footer-social a:hover { color: var(--cream); }
.fs-text { word-break: break-all; }

/* Shop: always three products per row on laptops and tablets */
#grid.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { #grid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
/* phones: still two per row, with compact card text so it fits */
@media (max-width: 460px) {
  #grid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #grid .card-body { padding: 10px 2px 2px; }
  #grid .card-cat { font-size: 9.5px; letter-spacing: .14em; }
  #grid .card-title { font-size: 14px; margin: 2px 0 6px; }
  #grid .card-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  #grid .price { font-size: 16px; }
  #grid .price-note { font-size: 10px; }
  #grid .formats-mini span { font-size: 9px; padding: 3px 6px; }
  #grid .card-badge { top: 8px; left: 8px; font-size: 9.5px; padding: 4px 8px; }
  #grid .card-media { border-radius: 14px; }
}

/* Contact page icons */
.contact-ico { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; flex: none; transform: rotate(-6deg); transition: transform .5s var(--ease); box-shadow: 0 18px 36px -18px rgba(0,0,0,.5); }
.contact-ico svg { width: 48px; height: 48px; }
.contact-card:hover .contact-ico { transform: rotate(4deg) scale(1.06); }
.ci-wa { background: #25d366; }
.ci-ig { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.ci-mail { background: var(--accent); width: 60px; height: 60px; border-radius: 18px; }
.ci-mail svg { width: 28px; height: 28px; }
.contact-mail { grid-template-columns: auto 1fr auto !important; padding: 24px 30px !important; }
.contact-mail b { display: block; font-size: 19px; }
.contact-mail > svg { width: 22px; transition: transform .35s var(--ease); }
.contact-mail:hover > svg { transform: translateX(5px); }
@media (max-width: 480px) { .contact-card .contact-ico:not(.ci-mail) { width: 72px; height: 72px; border-radius: 22px; } .contact-card .contact-ico:not(.ci-mail) svg { width: 36px; height: 36px; } }

/* Write-a-review form under each product's reviews */
.pdp-write { margin-top: 40px; border-radius: calc(var(--radius) * 1.4); background: var(--cream-2); overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; scroll-margin-top: 90px; }
.pdp-write-head { background: var(--ink); color: var(--cream); padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.pdp-write-head::after { content: ""; position: absolute; width: 420px; height: 140px; border: 1.5px solid rgba(244,236,223,.18); border-radius: 50%; left: -90px; bottom: -40px; transform: rotate(-16deg); }
.pdp-write-head .eyebrow { color: rgba(244,236,223,.6); }
.pdp-write-head h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: 1; margin: 14px 0 0; }
@media (max-width: 860px) { .pdp-write { grid-template-columns: 1fr; } }

/* ============ Home: bestseller spotlight ============ */
.bestseller { position: relative; z-index: 2; padding: clamp(70px, 9vw, 120px) 0 0; background: var(--ink); color: var(--cream); overflow: hidden; }
.bestseller::before, .bestseller::after { content: ""; position: absolute; border: 1.5px solid rgba(244,236,223,.12); border-radius: 50%; pointer-events: none; }
.bestseller::before { width: 900px; height: 300px; left: -260px; top: 40px; transform: rotate(-14deg); }
.bestseller::after { width: 700px; height: 230px; right: -240px; bottom: 90px; transform: rotate(-14deg); }
.bs-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 1; }
.bs-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; padding: 9px 18px 9px 14px; border-radius: 999px; animation: bsPulse 2.4s ease-out infinite; }
.bs-pill svg { width: 16px; height: 16px; animation: spin 6s linear infinite; }
@keyframes bsPulse { 0% { box-shadow: 0 0 0 0 rgba(217,101,59,.55); } 100% { box-shadow: 0 0 0 18px rgba(217,101,59,0); } }
.bs-title { color: var(--cream); font-size: clamp(40px, 5.6vw, 78px); margin: 22px 0 12px; }
.bs-rating { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; color: rgba(244,236,223,.75); min-height: 1px; }
.bs-rating b { color: var(--cream); }
.bs-short { font-size: clamp(17px, 1.6vw, 20px); color: rgba(244,236,223,.8); margin: 0 0 24px; max-width: 44ch; }
.bs-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.bs-price .price { font-size: 44px; color: var(--cream); }
.bs-price small { font-size: 13.5px; font-weight: 600; color: #9fd8ad; }
.bs-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bestseller .bs-buy { --bg: var(--cream); --fg: var(--ink); }
.bestseller .bs-buy:hover { color: #fff; }
.bestseller .bs-view { --fg: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244,236,223,.6); }
.bestseller .bs-view::before { background: var(--cream); }
.bestseller .bs-view:hover { color: var(--ink); }

/* the book: an A5-proportioned spread; leaves hinge on the spine and turn right → left */
.flipbook-wrap { perspective: 2400px; padding: 10px 0 20px; }
.flipbook { width: 100%; max-width: 620px; margin: 0 auto; animation: bookFloat 6s ease-in-out infinite; filter: drop-shadow(0 34px 34px rgba(0,0,0,.5)); }
@keyframes bookFloat { 0%, 100% { transform: translateY(0) rotateX(8deg); } 50% { transform: translateY(-10px) rotateX(8deg); } }
.bk-stage { position: relative; width: 100%; aspect-ratio: 768 / 545; transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(.45,.05,.25,1); perspective: 2200px; }
.bk-inner { position: absolute; top: 0; bottom: 0; width: 50%; background: #fbf6ec; opacity: 0; transition: opacity .3s .7s; }
.bk-inner-left { left: 0; border-radius: 10px 0 0 10px; }
.bk-inner-right { right: 0; border-radius: 0 10px 10px 0; }
.bk-stage.is-open .bk-inner { opacity: 1; }
.bk-leaf { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1.3s cubic-bezier(.45,.05,.25,1); }
.bk-leaf.turned { transform: rotateY(-180deg); }
.bk-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; }
.bk-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-front { border-radius: 0 10px 10px 0; }
.bk-back { transform: rotateY(180deg); border-radius: 10px 0 0 10px; }
/* page shading near the spine */
.bk-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0) 12%); pointer-events: none; }
.bk-back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.22), rgba(0,0,0,0) 12%); pointer-events: none; }
.bk-backcover { display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; background: linear-gradient(160deg, #3a2a6a, #2a2048); color: #f4ecdf; }
.bk-backcover span svg { width: 34px; height: 34px; color: #f6a3c4; }
.bk-backcover b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(14px, 2vw, 22px); }
.bk-backcover small { font-size: 12px; opacity: .7; letter-spacing: .14em; text-transform: uppercase; }

/* notes moving beneath the book */
.bs-notes { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 70px); border-top: 1px solid rgba(244,236,223,.14); padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bs-notes-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.bs-notes span { font-family: "Caveat", cursive; font-size: clamp(22px, 2.6vw, 32px); color: rgba(244,236,223,.9); white-space: nowrap; }
.bs-notes i svg { width: 16px; height: 16px; color: var(--accent); display: block; }
.bs-notes:hover .bs-notes-track { animation-play-state: paused; }

@media (max-width: 900px) {
  .bs-grid { grid-template-columns: 1fr; }
  .flipbook-wrap { order: -1; }
  .bs-copy { text-align: center; }
  .bs-short { margin-left: auto; margin-right: auto; }
  .bs-price, .bs-actions, .bs-rating { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .flipbook, .bs-pill, .bs-pill svg, .bs-notes-track { animation: none; } }

/* Footer tagline: always fits the page width (one line on wide screens, two on phones) */
.footer-big { font-size: min(calc((100vw - 64px) / 16.8), 72px); white-space: nowrap; letter-spacing: -.02em; }
@media (max-width: 719px) { .footer-big { font-size: calc((100vw - 32px) / 10); white-space: normal; line-height: .95; } }


/* ============ Home: one spotlight, two cards side by side ============ */
.bestseller { padding-top: clamp(60px, 8vw, 100px); }
.spot-head { text-align: center; margin-bottom: clamp(30px, 4vw, 50px); position: relative; z-index: 1; }
.spot-head .eyebrow { color: rgba(244,236,223,.6); }
.spot-head h2 { color: var(--cream); margin-top: 14px; }
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 30px); position: relative; z-index: 1; }
.spot-card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; align-items: center; text-align: center;
  background: linear-gradient(170deg, rgba(244,236,223,.07), rgba(244,236,223,.02)); border: 1px solid rgba(244,236,223,.12); }
.spot-card.sky { background: radial-gradient(ellipse at 30% 15%, #2f3a78 0%, #1c2350 55%, #141838 100%); border-color: rgba(226,183,90,.25); }
.spot-visual { width: 100%; height: clamp(300px, 30vw, 400px); display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 26px; }
.spot-book .flipbook-wrap { width: 100%; padding: 0; }
.spot-book .flipbook { max-width: 520px; }
.spot-card .bs-copy, .spot-card .ss-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.spot-title { color: var(--cream); font-size: clamp(30px, 3.2vw, 46px); margin: 18px 0 10px; }
.spot-card .bs-rating { justify-content: center; }
.spot-card .bs-short { margin: 0 auto 20px; max-width: 40ch; font-size: clamp(15.5px, 1.3vw, 18px); }
.spot-card .bs-price { justify-content: center; margin-bottom: 22px; }
.spot-card .bs-price .price { font-size: 38px; }
.spot-card .bs-actions { justify-content: center; }
.spot-card .btn-lg { padding: 14px 22px; font-size: 15px; }
.spot-card.sky .bs-pill { background: #e2b75a; color: #1e2549; animation-name: ssPulse; }
.spot-card.sky .bs-price small { color: #f1d38d; }
.spot-card.sky .bs-buy { --bg: #e2b75a; --fg: #1e2549; }
.spot-card.sky .bs-buy:hover { color: #fff; }
.spot-card.sky .bs-view:hover { color: #1e2549; }
@keyframes ssPulse { 0% { box-shadow: 0 0 0 0 rgba(226,183,90,.55); } 100% { box-shadow: 0 0 0 18px rgba(226,183,90,0); } }
@media (max-width: 900px) { .spot-grid { grid-template-columns: 1fr; } .spot-visual { height: auto; min-height: 260px; } }

/* the night sky poster */
.ss-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ss-field .sp { position: absolute; width: var(--s); height: var(--s); color: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); animation: ssGlint 3.2s ease-in-out infinite; }
.ss-field .sp svg { width: 100%; height: 100%; display: block; }
.ss-field .sp:nth-child(3n) { color: #f6dc8f; filter: drop-shadow(0 0 6px rgba(246,220,143,.9)); }
.ss-field .shoot { position: absolute; width: 140px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); opacity: 0; transform: rotate(var(--ang)); animation: ssShootBg 9s ease-in infinite; }
.ss-field .shoot::after { content: ""; position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(255,255,255,.8); }
@keyframes ssShootBg {
  0% { opacity: 0; transform: rotate(var(--ang)) translateX(0); }
  2% { opacity: 1; }
  11% { opacity: 0; transform: rotate(var(--ang)) translateX(min(60vw, 520px)); }
  100% { opacity: 0; transform: rotate(var(--ang)) translateX(min(60vw, 520px)); }
}
.ss-field i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .2; animation: ssTwinkle 4s ease-in-out infinite; }
@keyframes ssTwinkle { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }
.ss-art { perspective: 1400px; }
.ss-frame { width: clamp(220px, 21vw, 290px); background: #c4935e; padding: 12px; border-radius: 6px; box-shadow: 0 50px 70px -30px rgba(0,0,0,.7), inset 0 0 0 4px #a87a48, 0 0 120px -10px rgba(226,183,90,.35); animation: ssSway 7s ease-in-out infinite; }
@keyframes ssSway { 0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); } 50% { transform: rotateY(6deg) rotateX(-2deg) translateY(-10px); } }
.ss-mat { background: #fdfaf3; padding: 10px; }
.ss-poster { display: block; width: 100%; height: auto; }
.ss-wheel { animation: ssTurn 160s linear infinite; }
@keyframes ssTurn { to { transform: rotate(360deg); } }
.ss-poster .tw { animation: ssTwinkle 2.6s ease-in-out infinite; }
.ss-poster .tw2 { animation: ssTwinkle 4.2s ease-in-out infinite; opacity: .6; }
.ss-poster .glint { animation: ssGlint 3.2s ease-in-out infinite; }
@keyframes ssGlint { 0%, 100% { opacity: .35; transform: scale(.55) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
.ss-poster .cons { opacity: 0; animation: ssCons 12s ease-in-out infinite; }
.ss-poster .cons polyline { fill: none; stroke: #d6defc; stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ssDraw 12s ease-in-out infinite; animation-delay: inherit; }
.ss-poster .cons circle { filter: drop-shadow(0 0 3px #fff); }
@keyframes ssCons { 0% { opacity: 0; } 6% { opacity: 1; } 30% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes ssDraw { 0% { stroke-dashoffset: 1; } 22%, 100% { stroke-dashoffset: 0; } }
.ss-poster .shoot { opacity: 0; animation: ssShoot 7.5s ease-in infinite; }
@keyframes ssShoot {
  0% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--ang)) translateX(0); }
  2% { opacity: 1; }
  12% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--ang)) translateX(260px); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--ang)) translateX(260px); }
}
.ss-moon { animation: ssMoon 5s ease-in-out infinite; }
@keyframes ssMoon { 50% { opacity: .85; } }
.ss-t1 { font: 700 25px Archivo, sans-serif; fill: #fff; }
.ss-t2 { font: 800 16px Archivo, sans-serif; fill: #e2b75a; letter-spacing: 1px; }
.ss-t3 { font: 600 11.5px Archivo, sans-serif; fill: #dfe3f5; letter-spacing: 2.5px; }
@media (prefers-reduced-motion: reduce) {
  .ss-frame, .ss-wheel, .ss-poster .tw, .ss-poster .tw2, .ss-field i, .ss-field .sp, .ss-moon { animation: none; }
  .ss-field .shoot { display: none; }
  .ss-poster .cons, .ss-poster .cons polyline { animation: none; opacity: 1; stroke-dashoffset: 0; }
}

/* Lovebook spotlight card: rose background with drifting glows, floating hearts and sparkles */
.spot-card.spot-book { background: radial-gradient(ellipse at 50% 0%, #4a2445 0%, #321a35 50%, #22142a 100%); border-color: rgba(240,107,143,.28); }
.lb-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lb-glow { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: lbDrift 14s ease-in-out infinite alternate; }
.lb-glow.g1 { width: 260px; height: 260px; background: #e0456e; left: -60px; top: 10%; }
.lb-glow.g2 { width: 220px; height: 220px; background: #9b6be0; right: -50px; top: 35%; animation-duration: 17s; animation-delay: -5s; }
.lb-glow.g3 { width: 200px; height: 200px; background: #f6a35a; left: 30%; bottom: -80px; opacity: .35; animation-duration: 20s; animation-delay: -9s; }
@keyframes lbDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.15); } 100% { transform: translate(-30px, 20px) scale(.9); } }
.lb-heart { position: absolute; bottom: -40px; width: var(--s); height: var(--s); color: var(--c); opacity: 0; filter: drop-shadow(0 0 8px rgba(240,107,143,.55)); animation: lbFloat var(--d) linear infinite; }
.lb-heart svg { width: 100%; height: 100%; display: block; fill: currentColor; animation: lbSway calc(var(--d) / 3) ease-in-out infinite alternate; }
@keyframes lbFloat { 0% { transform: translateY(0) rotate(-10deg); opacity: 0; } 10% { opacity: .85; } 80% { opacity: .6; } 100% { transform: translateY(-900px) rotate(12deg); opacity: 0; } }
@keyframes lbSway { from { transform: translateX(calc(var(--sway) * -.5)); } to { transform: translateX(calc(var(--sway) * .5)); } }
.lb-spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffe3ec; box-shadow: 0 0 8px 2px rgba(255,200,220,.7); opacity: 0; animation: ssTwinkle 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .lb-glow, .lb-heart, .lb-heart svg, .lb-spark { animation: none; } .lb-heart { opacity: .4; bottom: auto; top: 50%; } }

/* Shop: category headings when showing All (each heading spans the full row) */
.chip small { font-size: 11px; opacity: .6; margin-left: 2px; }
#grid .shop-cat-head { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; padding: 26px 0 4px; border-top: 1px solid var(--line); }
#grid .shop-cat-head:first-child { border-top: 0; padding-top: 0; }
.shop-cat-head h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 3vw, 36px); line-height: 1; }
.shop-cat-head p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1 1 260px; }
.shop-cat-link { margin-left: auto; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.shop-cat-link svg { width: 15px; transition: transform .3s var(--ease); }
.shop-cat-link:hover svg { transform: translateX(4px); }
@media (max-width: 460px) { .shop-cat-link { margin-left: 0; } #grid .shop-cat-head { padding-top: 18px; } }

/* Product page: highlighted "framing costs extra" note */
.frame-note { display: flex; gap: 14px; align-items: center; margin: -4px 0 22px; padding: 14px 18px; border-radius: 16px;
  background: linear-gradient(90deg, #fff1c9, #ffe7b0); border: 1.5px solid #e9b949; box-shadow: 0 10px 24px -16px rgba(180,120,0,.55); }
.frame-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #e9a92a; color: #fff; display: grid; place-items: center; }
.frame-ico svg { width: 22px; height: 22px; }
.frame-note b { display: block; font-size: 15.5px; color: #6b4300; text-transform: uppercase; letter-spacing: .06em; }
.frame-note small { display: block; font-size: 13.5px; color: #7a5a1a; margin-top: 2px; }

/* Size options (products with more than one size/price) */
.price-from { font-family: var(--sans); font-size: .55em; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.size-pick { border-radius: var(--radius); background: var(--cream-2); padding: 18px 20px; margin-bottom: 18px; }
.size-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sopt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--cream); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .3s, transform .3s var(--ease); }
.sopt:hover { transform: translateY(-2px); }
.sopt input { position: absolute; opacity: 0; pointer-events: none; }
.sopt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.sopt b { display: block; font-size: 16px; line-height: 1.2; }
.sopt small { display: block; color: var(--muted); font-size: 12.5px; }
.sopt em { font-style: normal; font-family: var(--display); font-size: 19px; }
@media (max-width: 420px) { .size-opts { grid-template-columns: 1fr; } }

/* "/ set of 3" next to a price */
.price-unit { font-family: var(--sans); font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: .01em; white-space: nowrap; }
.bestseller .price-unit { color: rgba(244,236,223,.7); }

/* =========================================================
   Home hero slider — occasion slide (Christmas …) + products
   ========================================================= */
.hs { position: relative; z-index: 2; padding: clamp(12px, 2vw, 24px) 0 clamp(36px, 5vw, 64px); }
.hs-frame { position: relative; border-radius: 30px; overflow: hidden; background: var(--cream-2); box-shadow: 0 40px 80px -50px rgba(22,21,19,.55); }
.hs-track { display: grid; }
.hs-slide {
  grid-area: 1 / 1; position: relative; overflow: hidden; min-height: clamp(400px, 58vh, 500px);
  display: flex; align-items: center; padding: clamp(44px, 4.5vw, 58px) clamp(22px, 5vw, 64px) clamp(70px, 7vw, 80px);
  opacity: 0; visibility: hidden; transform: scale(1.03);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease), visibility 0s .9s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 2; transition: opacity .9s var(--ease), transform 1.2s var(--ease), visibility 0s; }
.hs-slide.is-prev { z-index: 1; }
.hs-grid { position: relative; z-index: 3; width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: center; }

/* staggered entrances, replayed every time a slide comes in */
.hs-in { opacity: 0; transform: translateY(22px); }
.hs-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hs-line > span { display: inline-block; transform: translateY(105%); }
.is-active .hs-in { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.is-active .hs-line > span { transform: none; transition: transform 1s var(--ease) var(--d, 0s); }

.hs-title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.2vw, 58px); line-height: .98; letter-spacing: -.02em; margin: 18px 0 0; text-transform: none; }
.hs-title em { font-style: normal; }
.hs-title { margin-top: 12px !important; }
.hs-lead { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; max-width: 46ch; margin: 14px 0 20px; color: var(--ink-2); }
.hs-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hs-kicker { font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--ac); }
.hs-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: -4px 0 18px; }
.hs .btn-lg { padding: 14px 24px; font-size: 15px; }
.hs-price > span { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); }
.hs-price > span small, .hs-price > small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); }
.hs-visual { position: relative; display: grid; place-items: center; min-height: 300px; }

/* bottom bar: tagline · dots · arrows */
.hs-ui { position: absolute; z-index: 5; left: clamp(22px, 5vw, 70px); right: clamp(22px, 5vw, 70px); bottom: clamp(18px, 2.4vw, 28px); display: flex; align-items: center; gap: 18px; pointer-events: none; }
.hs-ui > * { pointer-events: auto; }
.hs-tag { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); box-shadow: 0 8px 24px -14px rgba(0,0,0,.4); }
.hs-tag svg { width: 14px; height: 14px; color: var(--accent); animation: hsSpin 6s linear infinite; }
.hs-tag em { font-style: normal; color: var(--accent); font-family: "Caveat", cursive; font-size: 19px; line-height: 0; }
@keyframes hsSpin { to { transform: rotate(360deg); } }
.hs-dots { display: flex; gap: 6px; align-items: center; }
.hs-dots button { width: 26px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hs-dots i { position: relative; display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(22,21,19,.25); overflow: hidden; transition: width .5s var(--ease); }
.hs-dots button.on i { width: 34px; }
.hs-dots button.on i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; animation: hsProg var(--dur, 6s) linear forwards; }
.hs.paused .hs-dots button.on i::after { animation-play-state: paused; }
@keyframes hsProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-arrows { display: flex; gap: 8px; }
.hs-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px -12px rgba(0,0,0,.5); transition: transform .3s var(--ease), background .3s, color .3s; }
.hs-arrows button:hover { transform: scale(1.08); background: var(--ink); color: #fff; }
.hs-arrows svg { width: 18px; height: 18px; }

/* ---------- product slides ---------- */
.hs-prod { background: var(--bg); }
.hs-prod.dark { color: #f6efe4; }
.hs-prod.dark .hs-lead, .hs-prod.dark .hs-price small { color: rgba(246,239,228,.78); }
.hs-prod.dark .btn { --bg: #f6efe4; --fg: var(--ink); }
.hs-prod.dark .btn-ghost { --bg: transparent; --fg: #f6efe4; box-shadow: inset 0 0 0 1.5px #f6efe4; }
.hs-prod.dark .btn-ghost::before { background: #f6efe4; }
.hs-prod.dark .btn-ghost:hover { color: var(--ink); }
.hs-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hs-blob.a { width: 46vw; max-width: 620px; aspect-ratio: 1; right: -8%; top: -18%; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 68%); animation: hsDrift 14s ease-in-out infinite alternate; }
.hs-blob.b { width: 260px; aspect-ratio: 1; left: 38%; bottom: -120px; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 30%, transparent), transparent 70%); animation: hsDrift 11s ease-in-out infinite alternate-reverse; }
.hs-prod.dark .hs-blob.a { background: radial-gradient(circle, rgba(226,183,90,.25), transparent 68%); }
@keyframes hsDrift { to { transform: translate(-40px, 30px) scale(1.08); } }
.hs-photos { width: 100%; height: 100%; }
.hs-photos .ph { position: absolute; width: min(62%, 320px); aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: 0 34px 60px -30px rgba(0,0,0,.55); background: #fff; }
.hs-photos .ph.front { transform: translate(6%, 4%) rotate(3deg) scale(.9); opacity: 0; }
.hs-photos .ph.back { transform: translate(-14%, -8%) rotate(-7deg) scale(.82); opacity: 0; filter: saturate(.9); }
.is-active .hs-photos .ph.front { opacity: 1; transform: translate(6%, 4%) rotate(3deg); transition: opacity .9s var(--ease) .25s, transform 1.3s var(--ease) .25s; animation: hsFloat 7s ease-in-out 1.6s infinite; }
.is-active .hs-photos .ph.back { opacity: 1; transform: translate(-16%, -10%) rotate(-7deg) scale(.86); transition: opacity .9s var(--ease) .4s, transform 1.4s var(--ease) .4s; }
@keyframes hsFloat { 50% { transform: translate(6%, 1%) rotate(1.5deg); } }

/* ---------- occasion slide (shared) ---------- */
.occ-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.occ-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.occ-pill svg { width: 17px; height: 17px; animation: hsSpin 8s linear infinite; }
.occ-pill b { font-family: var(--display); font-weight: 400; font-size: 17px; }
.occ-note { font-size: 12.5px; margin: 14px 0 0; max-width: 54ch; line-height: 1.45; }

/* the Lovebook, wrapped as a present: ribbon slides off, bow pops, cover swings open, pages turn */
.xb-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.45), rgba(255,214,120,0) 65%); animation: xbPulse 4s ease-in-out infinite; }
@keyframes xbPulse { 50% { transform: scale(1.1); opacity: .75; } }
.xb-book { position: relative; width: clamp(160px, 16vw, 220px); aspect-ratio: 768 / 1090; perspective: 1800px; margin-left: 22%; transform: rotate(-3deg) translateY(30px) scale(.9); opacity: 0; }
.is-active .xb-book { opacity: 1; transform: rotate(-3deg); transition: opacity .8s var(--ease) .15s, transform 1.1s cubic-bezier(.34,1.56,.64,1) .15s; animation: xbFloat 6s ease-in-out 1.5s infinite; }
@keyframes xbFloat { 50% { transform: rotate(-1deg) translateY(-10px); } }
.xb-page, .xb-front, .xb-back { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; overflow: hidden; }
.xb-page { background: #fff; box-shadow: 0 40px 60px -30px rgba(0,0,0,.65), inset 6px 0 10px -6px rgba(0,0,0,.25); }
.xb-page img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.xb-page img.on { opacity: 1; }
/* a page turning over: front is the page being read, back is plain paper */
.xb-leaf { position: absolute; inset: 0; z-index: 2; transform-origin: left center; transform-style: preserve-3d; transform: rotateY(0); }
.xb-leaf.go { transform: rotateY(-148deg); transition: transform 1.05s cubic-bezier(.45,.05,.35,1); }
.xb-leaf-f, .xb-leaf-b { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.xb-leaf-f img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xb-leaf-f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,0) 40%); opacity: 0; }
.xb-leaf.go .xb-leaf-f::after { opacity: 1; transition: opacity .5s ease; }
.xb-leaf-b { transform: rotateY(180deg); background: linear-gradient(90deg, #efe4d2, #fbf6ee 30%); box-shadow: inset -8px 0 14px -8px rgba(0,0,0,.25); }
.xb-cover { position: absolute; inset: 0; z-index: 3; transform-origin: left center; transform-style: preserve-3d; }
.xb-front, .xb-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.xb-front { box-shadow: 0 30px 50px -28px rgba(0,0,0,.7); }
.xb-front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xb-back { transform: rotateY(180deg); background: linear-gradient(90deg, #efe4d2, #fbf6ee 30%); box-shadow: inset -8px 0 14px -8px rgba(0,0,0,.25); }
.is-active .xb-cover { transform: rotateY(-150deg); transition: transform 1.1s cubic-bezier(.65,0,.25,1) 1.15s; }
.rib { position: absolute; background: linear-gradient(90deg, #a5162b, #e03049 45%, #a5162b); box-shadow: 0 0 8px rgba(0,0,0,.3); }
.rib.v { top: 0; bottom: 0; left: 60%; width: 13%; transform-origin: bottom; }
.rib.h { left: 0; right: 0; top: 36%; height: 9%; background: linear-gradient(180deg, #a5162b, #e03049 45%, #a5162b); transform-origin: right; }
.is-active .rib.v { transform: scaleY(0); transition: transform .5s var(--ease-in) .75s; }
.is-active .rib.h { transform: scaleX(0); transition: transform .5s var(--ease-in) .82s; }
.xb-bow { position: absolute; z-index: 5; width: 46%; left: 44%; top: 23%; transform: translate(-30%, -50%); fill: #e03049; stroke: #9c1426; stroke-width: 2; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.xb-bow circle { fill: #c41e36; }
.is-active .xb-bow { animation: xbBow 1.25s var(--ease) forwards; }
@keyframes xbBow {
  0% { transform: translate(-30%, -50%) scale(.2) rotate(-30deg); opacity: 0; }
  25% { transform: translate(-30%, -50%) scale(1.12) rotate(6deg); opacity: 1; }
  40%, 62% { transform: translate(-30%, -50%) scale(1) rotate(0); opacity: 1; }
  70% { transform: translate(-30%, -50%) scale(1.06) rotate(-8deg); }
  100% { transform: translate(-10%, -260%) scale(.3) rotate(40deg); opacity: 0; }
}
.xb-tag { position: absolute; z-index: 6; right: -44%; top: 40%; width: 112px; padding: 11px 10px 8px 20px; background: #fff8ea; color: #3a2a1e; font-family: "Caveat", cursive; font-size: 21px; line-height: 1.05; border-radius: 4px 12px 12px 4px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); transform-origin: -30px 50%; opacity: 0; }
.xb-tag span { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b3243a; display: block; }
.xb-tag small { display: block; font-size: 17px; color: #7a6656; margin-top: 4px; }
.xb-tag svg { width: 14px; height: 14px; color: #e03049; vertical-align: -1px; }
.xb-tag::before { content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--slide-bg, #0e3326); }
.xb-tag::after { content: ""; position: absolute; right: 100%; top: 50%; width: 34px; height: 1.5px; background: #f2c46d; }
.is-active .xb-tag { opacity: 1; transition: opacity .6s ease .6s; animation: xbSwing 3.4s ease-in-out .6s infinite; }
@keyframes xbSwing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(6deg); } }
.xb-glint { position: absolute; width: 18px; color: #ffe7a3; opacity: 0; z-index: 4; filter: drop-shadow(0 0 6px rgba(255,220,130,.9)); }
.is-active .xb-glint { animation: xbGlint 2.8s ease-in-out calc(1s + var(--i) * .55s) infinite; }
@keyframes xbGlint { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* ---------- Christmas theme ---------- */
.occ-christmas { --slide-bg: #0e3326; color: #fbf3e4; background:
  radial-gradient(1100px 600px at 78% 40%, #1f5a43 0%, rgba(31,90,67,0) 60%),
  radial-gradient(700px 500px at 10% 110%, #5e1420 0%, rgba(94,20,32,0) 65%),
  linear-gradient(160deg, #0f3a2c, #0a2219 70%); }
.occ-christmas .hs-title em { color: #f2c46d; position: relative; }
.occ-christmas .hs-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px; background: #e03049; transform: scaleX(0); transform-origin: left; }
.occ-christmas.is-active .hs-title em::after { transform: scaleX(1); transition: transform .9s var(--ease) 1s; }
.occ-christmas .hs-lead { color: rgba(251,243,228,.82); }
.occ-christmas .occ-note { color: rgba(251,243,228,.66); }
.occ-christmas .occ-note b { color: #f2c46d; }
.occ-christmas .occ-pill { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #fbf3e4; }
.occ-christmas .occ-pill b { color: #f2c46d; }
.occ-btn { --bg: #e03049; --fg: #fff; }
.occ-btn::before { background: #f2c46d; }
.occ-btn:hover { color: #2a1a10; }
.occ-christmas .occ-ghost { --fg: #fbf3e4; box-shadow: inset 0 0 0 1.5px rgba(251,243,228,.7); }
.occ-christmas .occ-ghost::before { background: #fbf3e4; }
.occ-christmas .occ-ghost:hover { color: #0e3326; }

/* fairy lights */
.occ-lights { position: absolute; z-index: 4; left: -2%; right: -2%; top: 0; height: 60px; pointer-events: none; }
.occ-lights svg { position: absolute; inset: 0 0 auto; width: 100%; height: 40px; overflow: visible; }
.occ-lights path { fill: none; stroke: #2b2116; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.bulb { position: absolute; width: 11px; height: 17px; margin-left: -5.5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(var(--r)); transform-origin: 50% -3px; background: var(--c); box-shadow: 0 0 6px 1px var(--c), 0 0 18px 4px color-mix(in srgb, var(--c) 55%, transparent); animation: bulbGlow 2.4s ease-in-out calc(var(--i) * -.37s) infinite; }
.bulb::before { content: ""; position: absolute; left: 2.5px; top: -4px; width: 6px; height: 5px; border-radius: 2px; background: #3a3127; }
.bulb.b0 { --c: #ff4d5e; } .bulb.b1 { --c: #ffd166; } .bulb.b2 { --c: #5ee2a0; } .bulb.b3 { --c: #6cc6ff; }
@keyframes bulbGlow { 0%, 100% { opacity: 1; filter: brightness(1.15); } 50% { opacity: .35; filter: brightness(.7); box-shadow: 0 0 2px var(--c); } }

/* hanging baubles */
.occ-baubles { position: absolute; z-index: 4; right: 6%; top: 0; display: flex; gap: 26px; pointer-events: none; }
.bauble { position: relative; display: block; width: 34px; padding-top: var(--len); transform-origin: 50% 0; animation: baubleSwing 4.6s ease-in-out infinite; }
.bauble:nth-child(2) { width: 44px; animation-duration: 5.4s; animation-delay: -1.4s; }
.bauble:nth-child(3) { width: 28px; animation-duration: 4s; animation-delay: -2.6s; }
.bauble::before { content: ""; position: absolute; left: 50%; top: 0; height: var(--len); width: 1.5px; background: rgba(242,196,109,.7); }
.bauble::after { content: ""; display: block; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.85) 0 8%, transparent 22%), var(--bc); box-shadow: inset -6px -8px 12px rgba(0,0,0,.3), 0 10px 20px -8px rgba(0,0,0,.6); border-top: 5px solid #d8b05a; }
.bauble.r { --bc: radial-gradient(circle at 40% 40%, #ff5a6a, #a3132a); }
.bauble.g { --bc: radial-gradient(circle at 40% 40%, #ffe08a, #b8862b); }
.bauble.y { --bc: radial-gradient(circle at 40% 40%, #52c78e, #145c3a); }
@keyframes baubleSwing { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(-5deg); } }

/* snowy ground with little pines */
.occ-drift { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: clamp(70px, 9vw, 120px); pointer-events: none; }
.occ-drift svg { width: 100%; height: 100%; display: block; }
.occ-drift .trees path { fill: #0a2a1f; }
.occ-drift .snow { fill: #f6f2ea; opacity: .95; }
.occ-christmas .hs-tag { background: rgba(255,255,255,.92); }

/* ---------- other occasions (Valentine's, Mother's Day …) ---------- */
.occ-love { --slide-bg: #ffd6e2; background: radial-gradient(900px 600px at 80% 40%, #fff0f4 0%, transparent 60%), linear-gradient(160deg, #ffd6e2, #f8b9cb); }
.occ-love .hs-title em { color: #d2244a; }
.occ-love .occ-pill { background: rgba(255,255,255,.7); color: #b31d40; }
.occ-love .occ-note b { color: #b31d40; }
.occ-love .rib { background: linear-gradient(90deg, #c8102e, #ff5a7a 45%, #c8102e); }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .hs-slide { align-items: flex-start; padding: 40px 18px 84px; min-height: 0; }
  .hs-grid { grid-template-columns: 1fr; gap: 6px; }
  .hs-visual { order: -1; min-height: 210px; }
  .hs-lead { font-size: 15px; }
  .occ-note { font-size: 12.5px; margin-top: 14px; }
  .hs-occ .hs-title { font-size: clamp(28px, 8vw, 40px); }
  .hs-title { font-size: clamp(28px, 8.4vw, 42px); }
  .hs-lead { margin: 14px 0 20px; }
  .xb-book { width: 124px; margin-left: 4%; }
  .xb-tag { right: -70%; width: 96px; font-size: 16px; padding: 8px 6px 6px 18px; }
  .hs-photos .ph { width: min(54%, 200px); }
  .hs-arrows { display: none; }
  .hs-tag { font-size: 12px; padding: 7px 12px 7px 10px; }
  .hs-tag em { font-size: 16px; }
  .occ-baubles { right: 3%; gap: 14px; transform: scale(.8); transform-origin: top right; }
  .hs-frame { border-radius: 22px; }
}
@media (max-width: 860px) {
  .hs-actions { gap: 10px; }
  .hs-actions .btn-lg { padding: 14px 20px; font-size: 14.5px; }
  .xb-tag { top: auto; bottom: 2%; right: -58%; }
  .bauble.g { display: none; }
  .hs-slide { padding-bottom: 104px; }
  .hs-ui { flex-direction: column; gap: 8px; bottom: 14px; }
  .hs-tag { margin: 0; white-space: nowrap; }
  .hs-dots button { width: 18px; }
}
@media (max-width: 420px) {
  .hs-actions .btn-lg { padding: 13px 16px; font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .bulb, .bauble, .xb-glow, .hs-blob, .hs-tag svg, .occ-pill svg { animation: none !important; }
}

/* animated backgrounds behind product slides */
.hs-bgfx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hs-bgfx .tw { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.8); animation: hsTw var(--t) ease-in-out var(--dl) infinite; }
.hs-bgfx .tw.big { background: none; box-shadow: none; color: #f3d58a; height: auto; filter: drop-shadow(0 0 6px rgba(243,213,138,.8)); }
.hs-bgfx .tw.big svg { display: block; width: 100%; }
@keyframes hsTw { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.hs-bgfx .shoot { position: absolute; width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); opacity: 0; animation: hsShoot 5s ease-in var(--dl) infinite; }
.hs-bgfx .shoot::after { content: ""; position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(255,255,255,.8); }
@keyframes hsShoot { 0% { transform: rotate(28deg) translateX(-120px); opacity: 0; } 4% { opacity: 1; } 22% { transform: rotate(28deg) translateX(520px); opacity: 0; } 100% { transform: rotate(28deg) translateX(520px); opacity: 0; } }
.hs-bgfx .fl { position: absolute; bottom: -40px; width: var(--s); color: var(--ac); opacity: 0; animation: hsFl var(--t) linear var(--dl) infinite; }
.hs-bgfx .fl svg { display: block; width: 100%; }
@keyframes hsFl {
  0% { transform: translate(0, 0) rotate(-10deg); opacity: 0; }
  10% { opacity: var(--o); }
  50% { transform: translate(var(--sw), -300px) rotate(12deg); }
  90% { opacity: var(--o); }
  100% { transform: translate(0, -600px) rotate(-10deg); opacity: 0; }
}
.hs-ring { position: absolute; width: min(78%, 400px); aspect-ratio: 1; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--ac) 45%, transparent); animation: hsSpin 40s linear infinite; }
.hs-prod.dark .hs-ring { border-color: rgba(243,213,138,.35); }
.hs-prod:not(.dark) .xb-glint { color: var(--ac); filter: none; }
@media (max-width: 860px) { .hs-ring { width: min(64%, 230px); } }
@media (prefers-reduced-motion: reduce) { .hs-bgfx, .hs-ring { display: none; } }

/* ---------- hero: the real products, animated ---------- */
.ps { position: relative; z-index: 2; display: grid; place-items: center; }
/* Night Sky: the live star-map poster in its frame */
.ps-sky .ss-frame { width: clamp(160px, 15vw, 210px); padding: 9px; opacity: 0; }
.ps-sky .ss-mat { padding: 7px; }
.is-active .ps-sky .ss-frame { opacity: 1; transition: opacity .8s var(--ease) .15s; }
.ps-sky .ss-poster .cons, .ps-sky .ss-poster .cons polyline { animation-duration: 6s !important; }
.ps-sky .ss-wheel > g.cons:nth-of-type(1) { animation-delay: .4s !important; }
.ps-sky .ss-wheel > g.cons:nth-of-type(2) { animation-delay: 1.6s !important; }
.ps-sky .ss-wheel > g.cons:nth-of-type(3) { animation-delay: 2.8s !important; }

/* Journey Map: a framed poster hanging from a nail, pins pinging, a heart travelling the route */
.ps-jm { padding-top: 34px; transform-origin: 50% 0; }
.is-active .ps-jm { animation: psHang 1.2s cubic-bezier(.34,1.56,.64,1) .1s both, psSwing 5s ease-in-out 1.3s infinite; }
@keyframes psHang { from { transform: translateY(-40px) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes psSwing { 0%, 100% { transform: rotate(1.6deg); } 50% { transform: rotate(-1.6deg); } }
.ps-nail { position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8d7a64 60%); box-shadow: 0 2px 4px rgba(0,0,0,.35); z-index: 2; }
.ps-string { position: absolute; top: 5px; left: 50%; width: 60%; height: 32px; transform: translateX(-50%); overflow: visible; }
.ps-string path { fill: none; stroke: #6b5240; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ps-frame { width: clamp(160px, 15vw, 210px); padding: 8px; background: linear-gradient(135deg, #d9b48a, #b8895c); border-radius: 4px; box-shadow: 0 36px 50px -26px rgba(0,0,0,.55), inset 0 0 0 3px #a87a4c; }
.ps-mat { position: relative; background: #fff; padding: 6px; }
.ps-mat img { display: block; width: 100%; height: auto; }
.ps-pins { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); overflow: visible; }
.ps-pins .rip { fill: none; stroke: #e0456e; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: psRip 2.4s ease-out calc(.6s + var(--i) * .45s) infinite; }
@keyframes psRip { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
.ps-pins .route { fill: none; stroke: none; }
.ps-pins .mover { filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

/* Love Letter: the envelope opens, the letter slides out and writes itself; the illustration print behind */
.ps-ll { width: clamp(210px, 22vw, 280px); aspect-ratio: 1 / 1.05; }
.ps-print { position: absolute; width: 58%; left: 0; top: 0; border-radius: 3px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.5); transform: translate(30px, 30px) rotate(0); opacity: 0; }
.is-active .ps-print { opacity: 1; transform: translate(-6%, 2%) rotate(-9deg); transition: opacity .7s var(--ease) .15s, transform 1.1s var(--ease) .15s; animation: psPrint 6s ease-in-out 1.3s infinite; }
@keyframes psPrint { 50% { transform: translate(-6%, -2%) rotate(-7deg); } }
.ps-env { position: absolute; left: 14%; right: 0; bottom: 4%; aspect-ratio: 1.55; perspective: 800px; transform: translateY(30px); opacity: 0; }
.is-active .ps-env { opacity: 1; transform: none; transition: opacity .6s var(--ease) .1s, transform .9s cubic-bezier(.34,1.56,.64,1) .1s; }
.ps-env-back { position: absolute; inset: 0; background: #e9a993; border-radius: 6px; }
.ps-env-front { position: absolute; inset: 0; z-index: 3; background: linear-gradient(160deg, #f8d3c3, #f1bca7); clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); border-radius: 6px; box-shadow: 0 30px 40px -24px rgba(0,0,0,.5); }
.ps-env-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(32deg, transparent 49.4%, rgba(0,0,0,.08) 50%, transparent 50.6%), linear-gradient(-32deg, transparent 49.4%, rgba(0,0,0,.08) 50%, transparent 50.6%); }
.ps-env-flap { position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: 4; background: linear-gradient(180deg, #f3c2ae, #e7a58d); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; }
.is-active .ps-env-flap { animation: psFlap .7s var(--ease) .75s forwards; }
@keyframes psFlap { 0% { transform: rotateX(0); z-index: 4; } 49% { z-index: 4; } 50% { z-index: 0; } 100% { transform: rotateX(180deg); z-index: 0; } }
.ps-seal { position: absolute; z-index: 5; left: 50%; top: 58%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 35%, #ef5a6f, #b51f3a); color: #ffd9de; box-shadow: 0 3px 6px rgba(0,0,0,.3); }
.ps-seal svg { width: 14px; }
.is-active .ps-seal { animation: psSeal .5s var(--ease-in) .45s forwards; }
@keyframes psSeal { to { transform: translateY(-14px) scale(1.4); opacity: 0; } }
.ps-letter { position: absolute; z-index: 1; left: 7%; right: 7%; top: 6%; height: 150%; padding: 12px 12px; background: repeating-linear-gradient(#fffdf8 0 20px, #f3c9cf 20px 21px); background-color: #fffdf8; border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.3); font-family: "Caveat", cursive; font-size: clamp(14px, 1.3vw, 16px); line-height: 21px; color: #3a3a5a; }
.ps-letter span { display: block; white-space: nowrap; clip-path: inset(0 100% 0 0); }
.is-active .ps-letter { transform: translateY(-70%); transition: transform 1s cubic-bezier(.34,1.3,.64,1) 1.25s; }
.is-active .ps-letter span { clip-path: inset(0 0 0 0); transition: clip-path .55s linear calc(2s + var(--i) * .45s); }

/* Scrapbook: the cover opens to the first spread, little hearts pop out */
.ps-sb .sb-book { width: clamp(140px, 13vw, 180px); aspect-ratio: 316 / 402; margin-left: 46%; }
.sb-book .xb-page { background: #fffdf8; }
.sb-book .xb-page img { object-fit: contain; background: #fffdf8; }
.sb-book .xb-back { overflow: hidden; background: #fffdf8; }
.sb-book .xb-back img { width: 100%; height: 100%; object-fit: contain; display: block; }
.is-active .sb-book .xb-cover { transform: rotateY(-176deg); transition: transform 1.3s cubic-bezier(.65,0,.25,1) .9s; }
.sb-pop { position: absolute; left: 0; top: 40%; width: 18px; color: #e0456e; opacity: 0; z-index: 5; }
.sb-pop:nth-of-type(even) { color: #f2b84b; }
.is-active .sb-pop { animation: sbPop 2.4s var(--ease) calc(2.1s + var(--i) * .18s) infinite; }
@keyframes sbPop { 0% { transform: translate(0, 0) scale(.3); opacity: 0; } 15% { opacity: 1; } 70% { opacity: .9; } 100% { transform: translate(var(--x), -120px) scale(1.1) rotate(20deg); opacity: 0; } }

@media (max-width: 860px) {
  .ps-sky .ss-frame, .ps-frame { width: 130px; }
  .ps-jm { padding-top: 26px; }
  .ps-ll { width: 190px; }
  .ps-sb .sb-book { width: 112px; }
  .ps-letter { font-size: 13px; line-height: 17px; background: repeating-linear-gradient(#fffdf8 0 16px, #f3c9cf 16px 17px); padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-pins .rip, .ps-pins .mover, .sb-pop { display: none; }
}

/* "Two little favourites" spotlight — compact */
.bestseller { padding-top: clamp(44px, 6vw, 72px); }
.spot-head { margin-bottom: clamp(20px, 2.6vw, 32px); }
.spot-card { padding: clamp(20px, 2.4vw, 30px); border-radius: 24px; }
.spot-visual { height: clamp(220px, 22vw, 280px); margin-bottom: 14px; }
.spot-book .flipbook { max-width: 380px; }
.spot-card .ss-frame { width: clamp(150px, 14vw, 190px); padding: 9px; }
.spot-card .ss-mat { padding: 7px; }
.spot-card .bs-pill { font-size: 11.5px; padding: 7px 14px 7px 11px; }
.spot-title { font-size: clamp(24px, 2.4vw, 34px); margin: 12px 0 6px; }
.spot-card .bs-rating { margin-bottom: 8px; font-size: 13.5px; }
.spot-card .bs-short { margin: 0 auto 14px; font-size: clamp(14.5px, 1.1vw, 16px); }
.spot-card .bs-price { margin-bottom: 16px; }
.spot-card .bs-price .price { font-size: 30px; }
.spot-card .btn-lg { padding: 12px 20px; font-size: 14.5px; }
.bs-notes { margin-top: clamp(26px, 3.5vw, 40px); padding: 14px 0; }
.bs-notes span { font-size: clamp(20px, 2vw, 26px); }
@media (max-width: 900px) { .spot-visual { height: auto; min-height: 200px; } }
/* the letter stays tucked inside the envelope: clip anything below the envelope's bottom edge */
.ps-env { clip-path: inset(-400% -60% 0 -60%); }
.ps-ll::after { content: ""; position: absolute; left: 18%; right: 4%; bottom: 0; height: 18px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.22), transparent 70%); z-index: -1; }
@media (max-width: 860px) {
  .ps-ll { width: 200px; margin-left: 30px; }
  .is-active .ps-print { transform: translate(-34%, 14%) rotate(-12deg); animation: none; }
}
.spot-book .flipbook { max-width: 320px; }
.spot-head h2 { font-size: clamp(30px, 4vw, 52px); }

/* ---------- hero side gutters (wide screens only) ---------- */
.hs-side { display: none; position: absolute; top: 0; bottom: 0; width: calc((100% - var(--wrap)) / 2 + 12px); pointer-events: none; z-index: 0; --sc: 1; }
.hs-side.l { left: 0; } .hs-side.r { right: 0; }
@media (min-width: 1400px) { .hs-side { display: block; } }
@media (min-width: 1640px) { .hs-side { --sc: 1.25; } }
.dd { position: absolute; width: calc(var(--w) * var(--sc)); transform: translate(-50%, -50%) rotate(var(--r)); }
.dd-p { display: block; transform: translate(calc(var(--mx, 0px) * var(--z)), calc(var(--my, 0px) * var(--z))); transition: transform .6s var(--ease); }
.dd-f { display: block; animation: ddPop .9s cubic-bezier(.34,1.56,.64,1) calc(.5s + var(--k) * .13s) both, ddFloat var(--t) ease-in-out var(--dl) infinite; filter: drop-shadow(0 8px 10px rgba(22,21,19,.14)); }
.dd-f svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes ddPop { from { transform: scale(0) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ddFloat { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -12px; rotate: 6deg; } }
.sf { position: absolute; top: -20px; width: calc(var(--s) * 1.3); opacity: .55; animation: sfFall var(--t) linear var(--dl) infinite; }
.sf svg { display: block; width: 100%; height: auto; }
@keyframes sfFall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 8% { opacity: .55; } 50% { transform: translate(var(--sw), 320px) rotate(160deg); } 92% { opacity: .5; } 100% { transform: translate(0, 640px) rotate(320deg); opacity: 0; } }
.dd-note { position: absolute; left: 50%; top: 52%; width: calc(140px * var(--sc)); transform: translate(-46%, -50%) rotate(-7deg); font-family: "Caveat", cursive; font-size: calc(22px * var(--sc)); line-height: 1.05; color: var(--ink); text-align: center; display: none; }
@media (min-width: 1480px) { .dd-note { display: block; } }
.dd-note span { display: block; animation: ddPop .8s var(--ease) 1.4s both; }
.dd-note svg { display: block; width: calc(110px * var(--sc)); margin: 2px 0 0 40%; overflow: visible; }
.dd-note path { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ddDraw 1s var(--ease) 1.9s forwards; }
.dd-note path + path { animation-delay: 2.7s; animation-duration: .4s; }
@keyframes ddDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .dd-f, .sf { animation: none; } .sf { display: none; } .dd-note path { stroke-dashoffset: 0; animation: none; } }

/* ===================== performance ===================== */
/* no live blur behind the sticky header / slider pill: it re-blurred the animated hero every frame */
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--cream) 96%, transparent); }
.hs-tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.95); }
/* soft glows drawn with gradients instead of a big animated blur filter */
.lb-glow { filter: none; opacity: .5; will-change: transform; }
.lb-glow.g1 { background: radial-gradient(closest-side, #e0456e, rgba(224,69,110,0)); }
.lb-glow.g2 { background: radial-gradient(closest-side, #9b6be0, rgba(155,107,224,0)); }
.lb-glow.g3 { background: radial-gradient(closest-side, #f6a35a, rgba(246,163,90,0)); }
.hs-blob { filter: none; will-change: transform; }
/* the book's shadow: a static ellipse instead of a drop-shadow recalculated on every page turn */
.flipbook { filter: none; }
.flipbook-wrap { position: relative; }
.flipbook-wrap::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); z-index: -1; }
/* fairy lights: fade only (cheap), no animated glow/filter */
.bulb { animation-name: bulbFade; will-change: opacity; }
@keyframes bulbFade { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* paused while off screen, and on slides that aren't showing */
.anim-off *, .anim-off *::before, .anim-off *::after,
.hs-slide:not(.is-active) *, .hs-slide:not(.is-active) *::before, .hs-slide:not(.is-active) *::after { animation-play-state: paused !important; }

/* ===================== header logo on one line ===================== */
.brand { font-size: 24px; line-height: 1; gap: 12px; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; }
@media (max-width: 1080px) { .brand { font-size: 21px; } }
@media (max-width: 480px) { .brand { font-size: 18px; gap: 8px; } .brand-mark { width: 32px; height: 32px; } }

/* ===================== free delivery, made visible ===================== */
.top-bar { position: relative; z-index: 51; background: var(--ink); color: var(--cream); text-align: center; font-size: 13.5px; font-weight: 500; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.top-bar b { color: #9fe0ad; font-weight: 800; }
.tb-truck { display: inline-flex; color: #9fe0ad; animation: tbDrive 2.4s ease-in-out infinite; }
.tb-truck svg { width: 18px; height: 18px; }
@keyframes tbDrive { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.card-ship { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #2f7a45; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .01em; box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); transition: opacity .3s; }
.card-ship svg { width: 14px; height: 14px; }
.card:hover .card-ship { opacity: 0; }
@media (hover: none) { .card:hover .card-ship { opacity: 1; } }
.ship-tag { font-size: 14px; padding: 7px 14px; background: #2f7a45; color: #fff; gap: 7px; }
.ship-tag svg { width: 16px; height: 16px; }
.ship-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #2f7a45; color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700; }
.ship-pill svg { width: 15px; height: 15px; }

/* ===================== shop: more compact cards ===================== */
#grid.product-grid { gap: 22px 20px; }
body[data-page="shop"] main .wrap { width: min(1060px, 100% - 64px); }
@media (max-width: 719px) { body[data-page="shop"] main .wrap { width: calc(100% - 32px); } }
#grid .card-media { aspect-ratio: 1 / 1; border-radius: 16px; }
#grid .card-body { padding: 10px 2px 2px; }
#grid .card-title { font-size: 16px; margin: 2px 0 6px; }
#grid .price { font-size: 18px; }
#grid .card-cat { font-size: 10.5px; }
@media (max-width: 760px) {
  #grid.product-grid { gap: 14px 12px; }
  .card-ship { left: 8px; bottom: 8px; padding: 4px 8px; font-size: 10px; gap: 4px; }
  .card-ship svg { width: 11px; height: 11px; }
}

/* home reviews — compact */
.home-reviews { padding-bottom: clamp(40px, 5vw, 64px); }
.home-reviews .section-head { margin-bottom: 20px; align-items: flex-end; }
.home-reviews .h2 { font-size: clamp(28px, 3.4vw, 44px); }
.home-reviews #home-rv-score { margin: 6px 0 0; font-size: 14px; }
.home-reviews .btn { padding: 11px 18px; font-size: 14px; }
.home-reviews .rv-marquee { gap: 0; padding: 4px 0 8px; }
.home-reviews .rv-row-set { gap: 14px; padding-right: 14px; }
.home-reviews .rv-card { width: 270px; padding: 16px 18px; border-radius: 14px; }
.home-reviews .rv-text { font-size: 14.5px; line-height: 1.5; margin: 8px 0 10px; -webkit-line-clamp: 3; }
.home-reviews .rv-card footer { padding-top: 10px; gap: 8px; }
.home-reviews .rv-card footer small { font-size: 11.5px; }
@media (max-width: 600px) { .home-reviews .rv-card { width: 240px; } }

/* ===================== "Made for your everyday side quests" band ===================== */
.hs-dots { margin-right: auto; }
.tagline { position: relative; z-index: 2; padding: clamp(10px, 2vw, 24px) 0 clamp(40px, 6vw, 72px); text-align: center; overflow: hidden; }
.tg-inner { position: relative; }
.tg-line { margin: 0; font-family: var(--display); font-size: clamp(30px, 5.4vw, 76px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.tg-m { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .04em; }
.tg-w { display: inline-block; transform: translateY(105%); }
.tagline.in .tg-w { transform: none; transition: transform .9s var(--ease) calc(var(--i) * .1s); }
.tg-hand-wrap { position: relative; display: inline-block; margin-top: -.05em; padding: 0 .3em; }
.tg-hand { position: relative; z-index: 2; display: inline-block; font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(60px, 10vw, 140px); line-height: 1.05; color: var(--accent); transform: rotate(-4deg); clip-path: inset(-20% 100% -20% 0); }
.tagline.in .tg-hand { clip-path: inset(-20% -5% -20% 0); transition: clip-path 1.3s cubic-bezier(.5,0,.3,1) .5s; }
.tg-under { position: absolute; left: 6%; right: 2%; bottom: -10%; width: 92%; height: .32em; font-size: clamp(60px, 10vw, 140px); overflow: visible; z-index: 1; }
.tg-under path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tagline.in .tg-under path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease) 1.7s; }
.tg-orbit { position: absolute; left: 50%; top: 50%; width: 128%; height: auto; transform: translate(-50%, -50%); overflow: visible; z-index: 0; pointer-events: none; }
.tg-ring { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tagline.in .tg-ring { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) 1s; }
.tg-star { opacity: 0; }
.tagline.in .tg-star { opacity: 1; transition: opacity .6s ease 2.2s; }
.tg-spark { position: absolute; width: clamp(12px, 1.6vw, 22px); color: var(--ink); opacity: 0; }
.tg-spark svg { display: block; width: 100%; fill: currentColor; }
.tg-spark:nth-of-type(even) { color: var(--accent); }
.tagline.in .tg-spark { animation: tgSpark 3s ease-in-out calc(1.4s + var(--i) * .4s) infinite; }
@keyframes tgSpark { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(90deg); } }
@media (max-width: 600px) { .tg-orbit { width: 116%; } .tg-spark:nth-of-type(n+4) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .tg-w { transform: none; } .tg-hand { clip-path: none; } .tg-under path, .tg-ring { stroke-dashoffset: 0; } .tg-star { opacity: 1; }
}

/* ===================== performance, round 2 ===================== */
/* star-map poster: no rotating SVG wheel (it repainted every frame); a handful of stars twinkle */
.ss-wheel { animation: none !important; }
.ss-poster .st { opacity: .6; }
.ss-poster .glint { animation-duration: 4s; }
/* the doodles' float uses compositor-friendly transforms */
.dd-f { will-change: transform; }
.dd-f { filter: none; }
.dd-f svg { filter: drop-shadow(0 8px 10px rgba(22,21,19,.14)); }

.stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* tagline under the header logo */
.brand > span { display: flex; flex-direction: column; }
.brand small { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; margin-top: 5px; line-height: 1; color: var(--muted); }
@media (max-width: 480px) { .brand small { font-size: 8.5px; letter-spacing: .2em; margin-top: 4px; } }

/* ===================== phone menu: full-screen panel ===================== */
.nav-extra { display: none; }
@media (max-width: 820px) {
  body.menu-open { overflow: hidden; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 72px); bottom: 0; inset: var(--menu-top, 72px) 0 0 0; z-index: 49;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overflow-x: hidden;
    background: var(--ink); color: var(--cream); padding: 22px 24px 28px; border: 0;
    clip-path: circle(0px at calc(100% - 40px) 0); transition: clip-path .65s cubic-bezier(.65,0,.25,1);
    counter-reset: nav;
  }
  body.menu-open .nav-links { clip-path: circle(160% at calc(100% - 40px) 0); }
  /* a faint orbit, like the logo's */
  .nav-links::before { content: ""; position: absolute; width: 150%; height: 240px; right: -70%; bottom: 14%; border: 1.5px solid rgba(244,236,223,.1); border-radius: 50%; transform: rotate(-16deg); pointer-events: none; }
  .nav-links > a:not(.nav-cta) {
    counter-increment: nav; display: flex; align-items: baseline; gap: 14px;
    font-family: var(--display); font-weight: 400; font-size: clamp(32px, 9.5vw, 44px); line-height: 1.1; letter-spacing: -.01em;
    color: var(--cream); padding: 12px 0; border-radius: 0; border-bottom: 1px solid rgba(244,236,223,.12);
    opacity: 0; transform: translateY(26px);
  }
  .nav-links > a:not(.nav-cta)::before { content: counter(nav, decimal-leading-zero); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: rgba(244,236,223,.4); transform: translateY(-.9em); }
  .nav-links > a:not(.nav-cta)::after { content: "→"; position: static; display: block; margin-left: auto; width: auto; height: auto; background: none; transform: translateX(-6px); opacity: .35; font-family: var(--sans); font-size: 22px; transition: transform .3s var(--ease), opacity .3s; }
  .nav-links > a:not(.nav-cta):active::after { transform: none; opacity: 1; }
  .nav-links > a.active { color: var(--accent); }
  .nav-links > a.active::before { color: var(--accent); }
  .nav-links > a.active::after { opacity: 1; transform: none; }
  .nav-cta { display: flex !important; justify-content: center; align-items: center; margin-top: 26px; padding: 17px !important; border-radius: 999px !important; background: var(--accent); color: #fff !important; font-size: 17px !important; font-weight: 700; opacity: 0; transform: translateY(26px); }
  .nav-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; opacity: 0; transform: translateY(20px); }
  .nav-tag { white-space: nowrap; font-family: "Caveat", cursive; font-size: 21px; color: rgba(244,236,223,.75); }
  .nav-social { display: flex; gap: 10px; }
  .nav-social a { padding: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(244,236,223,.25); color: var(--cream); }
  .nav-social a::after { display: none; }
  .nav-social svg { width: 20px; height: 20px; }
  /* items slide in one after another */
  .nav-links > a, .nav-extra { transition: opacity .45s var(--ease), transform .6s var(--ease); }
  body.menu-open .nav-links > a, body.menu-open .nav-extra { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * .06s); }
  /* the header sits on the panel while it's open */
  body.menu-open .site-header { box-shadow: none; border-color: transparent; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .nav-links { transition: none; }
  .nav-links > a, .nav-extra { transition: none; }
}


/* slider: bigger products (Night Sky, Journey Map, Love Letter, Scrapbook) */
.ps-sky .ss-frame, .ps-frame { width: clamp(200px, 19vw, 250px); }
.ps-ll { width: clamp(260px, 26vw, 330px); }
.ps-sb .sb-book { width: clamp(170px, 16.5vw, 215px); margin-left: 44%; }
.hs-prod .hs-ring { width: min(88%, 440px); }
@media (max-width: 860px) {
  .ps-sky .ss-frame, .ps-frame { width: 150px; }
  .ps-ll { width: 215px; }
  .ps-sb .sb-book { width: 128px; }
}

/* "Our products": arrows on either side of the row (counter + progress line stay below) */
#featured-carousel .circle-btn { position: absolute; z-index: 5; top: var(--arrow-y, 40%); transform: translateY(-50%); width: 50px; height: 50px; background: var(--cream); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45), inset 0 0 0 1.5px var(--ink); }
#featured-carousel .circle-btn:hover { background: var(--ink); color: var(--cream); }
#featured-carousel .prev { left: -26px; }
#featured-carousel .next { right: -26px; }
#featured-carousel .carousel-controls { gap: 14px; }
@media (max-width: 1300px) { #featured-carousel .prev { left: -10px; } #featured-carousel .next { right: -10px; } }
@media (max-width: 600px) {
  #featured-carousel .circle-btn { width: 40px; height: 40px; }
  #featured-carousel .prev { left: -6px; } #featured-carousel .next { right: -6px; }
}
#featured-carousel .circle-btn:hover { transform: translateY(-50%) scale(1.06); }

/* ===================== Christmas desktop menu (only in the run-up to Christmas) ===================== */
.hd-sky, .hd-lights { display: none; }
@media (min-width: 821px) {
  body.xmas-nav .site-header { position: sticky; }
  body.xmas-nav .nav { position: relative; z-index: 2; height: 86px; padding-top: 22px; }
  /* Santa's sleigh, flying right-to-left across the header, again and again */
  body.xmas-nav .hd-sky { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
  .hd-sleigh { position: absolute; top: 1px; left: 0; width: 118px; animation: sleighFly 26s linear infinite; will-change: transform; }
  .hd-sleigh svg { display: block; width: 100%; height: auto; overflow: visible; animation: sleighBob 1.6s ease-in-out infinite alternate; }
  .hd-sleigh::after { content: ""; position: absolute; left: 92%; top: 66%; width: 120px; height: 3px; border-radius: 3px;
    background: radial-gradient(circle, #f2c46d 0 1.2px, transparent 1.6px) 0 0 / 9px 3px, linear-gradient(90deg, rgba(242,196,109,.7), rgba(242,196,109,0)); }
  @keyframes sleighFly { 0% { transform: translateX(calc(100vw + 60px)) translateY(2px); } 30% { transform: translateX(calc(50vw - 60px)) translateY(-1px); } 60% { transform: translateX(-260px) translateY(2px); } 100% { transform: translateX(-260px) translateY(2px); } }
  @keyframes sleighBob { from { transform: translateY(-2px) rotate(-1deg); } to { transform: translateY(3px) rotate(1.5deg); } }
  .hd-sleigh .rd { transform-box: fill-box; }
  .hd-sleigh .rd-legs .lf { animation: legF .45s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
  .hd-sleigh .rd-legs .lb { animation: legF .45s ease-in-out infinite alternate-reverse; transform-box: fill-box; transform-origin: 50% 0; }
  @keyframes legF { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
  .hd-sleigh .rd-nose { animation: noseGlow 1.2s ease-in-out infinite alternate; }
  @keyframes noseGlow { from { opacity: .6; } to { opacity: 1; } }

  /* fairy lights strung along the bottom of the header */
  body.xmas-nav .hd-lights { display: block; position: absolute; left: 0; right: 0; bottom: -9px; height: 16px; pointer-events: none; z-index: 3; }
  .hd-lights svg { position: absolute; left: 0; top: 0; width: 100%; height: 10px; }
  .hd-lights path { fill: none; stroke: #3a3127; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
  .hd-lights i { position: absolute; top: 5px; width: 6px; height: 9px; margin-left: -3px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--c); box-shadow: 0 0 6px 1px var(--c); animation: hdTwinkle 2.6s ease-in-out calc(var(--i) * -.29s) infinite; }
  .hd-lights i.b0 { --c: #ff4d5e; } .hd-lights i.b1 { --c: #ffc94a; } .hd-lights i.b2 { --c: #4fd18f; } .hd-lights i.b3 { --c: #5cb8ff; }
  @keyframes hdTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

  /* the links: they jingle now and then like bells; on hover a snowflake spins in and a candy-cane underline draws */
  body.xmas-nav .nav-links > a:not(.nav-cta) { transition: color .3s, transform .35s var(--ease); animation: jingle 9s ease-in-out calc(2s + var(--i) * .35s) infinite; transform-origin: 50% 0; }
  @keyframes jingle { 0%, 6%, 100% { rotate: 0deg; } 1.5% { rotate: 6deg; } 3% { rotate: -5deg; } 4.5% { rotate: 3deg; } }
  body.xmas-nav .nav-links > a:not(.nav-cta):hover { color: #c42a3c; transform: translateY(-2px); }
  body.xmas-nav .nav-links > a:not(.nav-cta)::after { height: 3px; border-radius: 3px; background: repeating-linear-gradient(-45deg, #e03049 0 4px, #fff 4px 8px); box-shadow: 0 0 0 1px rgba(224,48,73,.35); }
  body.xmas-nav .nav-links > a:not(.nav-cta)::before { content: ""; position: absolute; left: 50%; top: -9px; width: 13px; height: 13px; margin-left: -6.5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236aa8d8' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M12 2l-2.4 2.4M12 2l2.4 2.4M12 22l-2.4-2.4M12 22l2.4-2.4'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; transform: translateY(6px) scale(.4) rotate(-90deg); transition: opacity .3s, transform .5s var(--ease); }
  body.xmas-nav .nav-links > a:not(.nav-cta):hover::before { opacity: 1; transform: none; animation: flakeSpin 3s linear .5s infinite; }
  @keyframes flakeSpin { to { rotate: 360deg; } }
  /* the page you're on wears a Santa hat */
  body.xmas-nav .nav-links > a.active::before { opacity: 1; left: 2px; top: -8px; width: 22px; height: 19px; margin: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Cpath d='M6 26C9 12 18 3 28 5c5 1 8 6 7 11-2-3-5-4-8-3l-3 13z' fill='%23d42c3c'/%3E%3Crect x='3' y='24' width='26' height='8' rx='4' fill='%23fff'/%3E%3Ccircle cx='34' cy='18' r='4.5' fill='%23fff'/%3E%3C/svg%3E"); transform: rotate(-18deg); animation: hatWobble 3s ease-in-out infinite; }
  body.xmas-nav .nav-links > a.active:hover::before { animation: hatWobble 3s ease-in-out infinite; }
  @keyframes hatWobble { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(-8deg) translateY(-1px); } }
  /* Shop now: snow on top and a shimmer sweeping across */
  body.xmas-nav .nav-cta { background: #c42a3c; overflow: visible; }
  body.xmas-nav .nav-cta:hover { background: #2f7a45; }
  body.xmas-nav .nav-cta::before { content: ""; position: absolute; left: 8px; right: 8px; top: -5px; height: 9px; border-radius: 10px 10px 4px 4px;
    background: radial-gradient(circle at 10% 100%, #fff 5px, transparent 5.5px), radial-gradient(circle at 35% 100%, #fff 6px, transparent 6.5px), radial-gradient(circle at 62% 100%, #fff 5px, transparent 5.5px), radial-gradient(circle at 88% 100%, #fff 6px, transparent 6.5px), linear-gradient(#fff, #fff) 0 100% / 100% 4px no-repeat;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,.08)); }
  body.xmas-nav .nav-cta::after { content: ""; display: block; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: ctaShine 4.5s ease-in-out infinite; transform: none; height: auto; left: 0; right: 0; bottom: 0; }
  @keyframes ctaShine { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -150% 0; } }
}
@media (min-width: 821px) and (prefers-reduced-motion: reduce) {
  body.xmas-nav .hd-sky { display: none; }
  body.xmas-nav .nav-links > a, .hd-lights i, body.xmas-nav .nav-cta::after { animation: none !important; }
}

/* ===================== Christmas on the Shop & Reviews pages and the logo ===================== */
/* logo: a Santa hat on the mark, and its star twinkles gold */
body.xmas-nav .brand-mark::after { content: ""; position: absolute; left: -5px; top: -13px; width: 26px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Cpath d='M6 26C9 12 18 3 28 5c5 1 8 6 7 11-2-3-5-4-8-3l-3 13z' fill='%23d42c3c'/%3E%3Crect x='3' y='24' width='26' height='8' rx='4' fill='%23fff' stroke='%23e6dccb'/%3E%3Ccircle cx='34' cy='18' r='4.5' fill='%23fff' stroke='%23e6dccb'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-22deg); transform-origin: 70% 90%; animation: brandHat 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes brandHat { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(-12deg) translateY(-1px); } }
body.xmas-nav .brand-mark svg path { fill: #e0a930; transform-box: fill-box; transform-origin: center; animation: brandStar 2.6s ease-in-out infinite; }
@keyframes brandStar { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(45deg); } }
@media (max-width: 480px) { body.xmas-nav .brand-mark::after { width: 21px; height: 18px; left: -4px; top: -10px; } }

/* page tops: snow, floating doodles, a countdown pill and a Santa hat on the title */
.ph-xmas { position: absolute; inset: 0; pointer-events: none; z-index: 0; --sc: 1; }
.page-hero .wrap { position: relative; z-index: 1; }
.ph-xmas .sf { opacity: .5; }
@media (max-width: 760px) { .ph-xmas { --sc: .62; } .ph-xmas .dd:nth-of-type(n+4) { display: none; } }
.ph-pill { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 clamp(26px, 4vw, 44px); padding: 7px 14px 7px 11px; border-radius: 999px; background: #fff; color: #b3243a; font-size: 13.5px; font-weight: 600; box-shadow: 0 0 0 1.5px rgba(196,42,60,.25), 0 8px 18px -12px rgba(0,0,0,.35); }
.ph-pill b { font-family: var(--display); font-weight: 400; font-size: 15px; }
.ph-pill svg { width: 15px; height: 15px; animation: hsSpin 8s linear infinite; }
@media (max-width: 520px) { .ph-pill { font-size: 12px; } }
body.xmas-nav[data-page="shop"] .page-hero h1, body.xmas-nav[data-page="reviews"] .page-hero h1 { position: relative; }
body.xmas-nav[data-page="shop"] .page-hero h1::before, body.xmas-nav[data-page="reviews"] .page-hero h1::before { content: ""; position: absolute; z-index: 2; left: -.14em; top: -.34em; width: .72em; height: .62em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Cpath d='M6 26C9 12 18 3 28 5c5 1 8 6 7 11-2-3-5-4-8-3l-3 13z' fill='%23d42c3c'/%3E%3Crect x='3' y='24' width='26' height='8' rx='4' fill='%23fff' stroke='%23e6dccb'/%3E%3Ccircle cx='34' cy='18' r='4.5' fill='%23fff' stroke='%23e6dccb'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-20deg); animation: brandHat 3.4s ease-in-out infinite; }

/* shop: red active filter, holly on category headings, festive card hover */
body.xmas-nav .chip.active { background: #c42a3c; color: #fff; }
body.xmas-nav .chip:hover { box-shadow: inset 0 0 0 1.5px #c42a3c; }
body.xmas-nav #grid .shop-cat-head h2 { display: inline-flex; align-items: center; gap: 10px; }
body.xmas-nav #grid .shop-cat-head h2::after { content: ""; width: 36px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cpath d='M24 18C18 8 8 6 2 10c4 1 4 4 2 6 4-1 6 1 6 4 3-3 7-2 9 1 0-3 2-4 5-3z' fill='%232f8a5c'/%3E%3Cpath d='M24 18c6-10 16-12 22-8-4 1-4 4-2 6-4-1-6 1-6 4-3-3-7-2-9 1 0-3-2-4-5-3z' fill='%233a9e6a'/%3E%3Ccircle cx='21' cy='19' r='4' fill='%23d42c3c'/%3E%3Ccircle cx='28' cy='19' r='4' fill='%23e03049'/%3E%3Ccircle cx='24.5' cy='13.5' r='4' fill='%23c41e36'/%3E%3C/svg%3E") center / contain no-repeat; }
body.xmas-nav .card .card-media { transition: box-shadow .35s var(--ease), transform .45s var(--ease); }
body.xmas-nav .card:hover .card-media { box-shadow: 0 0 0 3px #c42a3c, 0 18px 30px -18px rgba(196,42,60,.6); transform: rotate(-.6deg); }

/* reviews: holly on each card, gold stars, festive summary */
body.xmas-nav .rv-card { position: relative; }
body.xmas-nav .rv-card::after { content: ""; position: absolute; right: 12px; top: 10px; width: 34px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cpath d='M24 18C18 8 8 6 2 10c4 1 4 4 2 6 4-1 6 1 6 4 3-3 7-2 9 1 0-3 2-4 5-3z' fill='%232f8a5c'/%3E%3Cpath d='M24 18c6-10 16-12 22-8-4 1-4 4-2 6-4-1-6 1-6 4-3-3-7-2-9 1 0-3-2-4-5-3z' fill='%233a9e6a'/%3E%3Ccircle cx='21' cy='19' r='4' fill='%23d42c3c'/%3E%3Ccircle cx='28' cy='19' r='4' fill='%23e03049'/%3E%3Ccircle cx='24.5' cy='13.5' r='4' fill='%23c41e36'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .95; }
body.xmas-nav[data-page="reviews"] .rv-summary { background: linear-gradient(135deg, #fff6ec, #f6e6d6); box-shadow: inset 0 0 0 2px rgba(196,42,60,.18); }
@media (prefers-reduced-motion: reduce) { body.xmas-nav .brand-mark::after, body.xmas-nav .brand-mark svg path, .ph-pill svg { animation: none; } }

/* ===================== "Look inside" sample book ===================== */
.look-inside { padding-top: 10px; padding-bottom: 40px; }
.li-head { text-align: center; margin-bottom: clamp(18px, 3vw, 30px); }
.li-head h2 { margin: 12px 0 8px; font-size: clamp(30px, 4vw, 52px); }
.li-head p { max-width: 54ch; margin: 0 auto; }
.li-stage { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 22px); }
.li-book { position: relative; width: min(820px, 100%, (100vh - 250px) * 4 / 3); min-width: min(100%, 420px); aspect-ratio: 4 / 3; perspective: 2600px; transition: transform .8s var(--ease); cursor: pointer; outline: none; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.li-book.at-start { transform: translateX(-25%); }
.li-book.at-end { transform: translateX(25%); }
.li-book::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -16px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(22,21,19,.32), transparent); transition: left .8s var(--ease), right .8s var(--ease); }
.li-book.at-start::before { left: 52%; right: 4%; }
.li-book.at-end::before { left: 4%; right: 52%; }
.li-book:focus-visible { box-shadow: 0 0 0 3px var(--accent); border-radius: 8px; }
.li-leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.645,.045,.355,1); }
.li-leaf.flipped { transform: rotateY(-180deg); }
.li-leaf.peek { transform: rotateY(-14deg); transition-duration: .4s; }
.li-leaf.flipped.peek { transform: rotateY(-166deg); }
.li-face { position: absolute; inset: 0; overflow: hidden; background: #fbf7f0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 0 6px 6px 0; box-shadow: 0 18px 30px -18px rgba(0,0,0,.45); }
.li-face.back { transform: rotateY(180deg); border-radius: 6px 0 0 6px; }
.li-face img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* the fold in the middle of the book */
.li-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.26), rgba(0,0,0,.06) 5%, transparent 12%); }
.li-face.back::after { background: linear-gradient(270deg, rgba(0,0,0,.26), rgba(0,0,0,.06) 5%, transparent 12%); }
.li-face.cover::after { background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 6%); }
.li-face.back.cover::after { background: linear-gradient(270deg, rgba(0,0,0,.18), transparent 6%); }
.li-nav { flex: none; }
.li-nav:disabled { opacity: .3; pointer-events: none; }
.li-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 860px; margin: 26px auto 0; font-size: 13.5px; color: var(--muted); }
.li-count { font-family: var(--display); font-size: 15px; color: var(--ink); }
.li-full { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s; }
.li-full:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.li-full svg { width: 16px; height: 16px; }
.li-thumbs { display: flex; gap: 10px; overflow-x: auto; max-width: 860px; margin: 18px auto 0; padding: 6px 4px 10px; scrollbar-width: thin; }
.li-th { flex: none; display: flex; gap: 1px; padding: 3px; border-radius: 8px; opacity: .6; transition: opacity .25s, box-shadow .25s, transform .25s var(--ease); }
.li-th:hover { opacity: 1; transform: translateY(-2px); }
.li-th.on { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.li-th img { display: block; width: 36px; height: 54px; object-fit: cover; border-radius: 2px; }
.li-link { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 18px; font-weight: 700; font-size: 14.5px; color: var(--accent-ink); border-bottom: 1.5px dashed currentColor; padding-bottom: 2px; }
.li-link svg { width: 18px; height: 18px; }
.li-link:hover { color: var(--accent); }
/* full screen */
.look-inside:fullscreen { background: var(--cream); display: flex; flex-direction: column; justify-content: center; overflow: auto; padding: 20px; }
.look-inside:fullscreen .li-head p { display: none; }
.look-inside:fullscreen .li-book { width: min(94vw - 120px, (100vh - 250px) * 4 / 3); }
.look-inside:fullscreen .li-bar, .look-inside:fullscreen .li-thumbs { max-width: min(94vw - 120px, (100vh - 250px) * 4 / 3); }
@media (max-width: 640px) {
  .li-stage { position: relative; }
  .li-nav { position: absolute; z-index: 120; width: 38px; height: 38px; top: 50%; transform: translateY(-50%); background: var(--cream); }
  .li-nav.prev { left: -6px; } .li-nav.next { right: -6px; }
  .li-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .li-leaf, .li-book { transition: none; } }

/* ===================== Look inside: big button + festive frame with floating hearts ===================== */
.li-link { display: none; }
.li-cta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: -4px 0 20px; padding: 16px 26px 16px 18px; --bg: #c42a3c; --fg: #fff; box-shadow: 0 14px 30px -14px rgba(196,42,60,.7); }
.li-cta::before { background: var(--ink); }
.li-cta small { font-family: var(--sans); font-weight: 500; font-size: 12.5px; opacity: .8; }
.li-cta-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); }
.li-cta-ico svg { width: 19px; height: 19px; animation: liBook 2.4s ease-in-out infinite; }
@keyframes liBook { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-12deg) scale(1.1); } 30% { transform: rotate(8deg); } 45% { transform: none; } }

.li-frame { position: relative; border-radius: 30px; padding: 10px; background: linear-gradient(135deg, #f7c6d9, #fde2ea 45%, #f6c9d6); }
body.xmas-nav .li-frame { background: repeating-linear-gradient(-45deg, #d42c3c 0 16px, #fff 16px 32px); }
.li-in { position: relative; z-index: 2; border-radius: 22px; padding: clamp(26px, 4vw, 48px) clamp(14px, 3vw, 36px) clamp(20px, 3vw, 32px);
  background: radial-gradient(800px 400px at 50% 40%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%), linear-gradient(180deg, #fff6f8, #fdeef2); }
/* the hearts float up behind the book */
.li-hearts { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.li-in .li-stage, .li-in .li-bar, .li-in .li-thumbs, .li-in .li-head { position: relative; z-index: 4; }
.li-hearts .fl { position: absolute; bottom: -40px; width: var(--s); opacity: 0; animation: hsFl var(--t) linear var(--dl) infinite; }
.li-hearts .fl svg { display: block; width: 100%; }
/* fairy lights along the top, holly in the corners */
.li-lights { position: absolute; z-index: 5; left: 26px; right: 26px; top: -3px; height: 18px; pointer-events: none; display: none; }
body.xmas-nav .li-lights { display: block; }
.li-lights::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 8px; border-bottom: 1.5px solid #3a3127; border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: .7; }
.li-lights i { position: absolute; top: 9px; width: 7px; height: 11px; margin-left: -3.5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--c); box-shadow: 0 0 7px 1px var(--c); animation: hdTwinkle 2.4s ease-in-out calc(var(--i) * -.31s) infinite; }
.li-lights i.b0 { --c: #ff4d5e; } .li-lights i.b1 { --c: #ffc94a; } .li-lights i.b2 { --c: #4fd18f; } .li-lights i.b3 { --c: #5cb8ff; }
.li-holly { position: absolute; z-index: 6; width: 58px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cpath d='M24 18C18 8 8 6 2 10c4 1 4 4 2 6 4-1 6 1 6 4 3-3 7-2 9 1 0-3 2-4 5-3z' fill='%232f8a5c'/%3E%3Cpath d='M24 18c6-10 16-12 22-8-4 1-4 4-2 6-4-1-6 1-6 4-3-3-7-2-9 1 0-3-2-4-5-3z' fill='%233a9e6a'/%3E%3Ccircle cx='21' cy='19' r='4' fill='%23d42c3c'/%3E%3Ccircle cx='28' cy='19' r='4' fill='%23e03049'/%3E%3Ccircle cx='24.5' cy='13.5' r='4' fill='%23c41e36'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; display: none; animation: hollySway 4s ease-in-out infinite; }
body.xmas-nav .li-holly { display: block; }
.li-holly.tl { left: -14px; top: -12px; transform: rotate(-25deg); }
.li-holly.tr { right: -14px; top: -12px; transform: rotate(25deg) scaleX(-1); animation-delay: -1s; }
.li-holly.bl { left: -14px; bottom: -12px; transform: rotate(-155deg) scaleX(-1); animation-delay: -2s; }
.li-holly.br { right: -14px; bottom: -12px; transform: rotate(155deg); animation-delay: -3s; }
@keyframes hollySway { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
.li-thumbs { position: relative; }
@media (max-width: 640px) { .li-frame { padding: 7px; border-radius: 22px; } .li-in { border-radius: 16px; } .li-holly { width: 44px; height: 30px; } .li-cta { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .li-hearts, .li-lights i, .li-holly, .li-cta-ico svg { animation: none; } .li-hearts { display: none; } }
.look-inside { overflow-x: clip; }
@media (max-width: 640px) { .li-holly.tl, .li-holly.bl { left: -8px; } .li-holly.tr, .li-holly.br { right: -8px; } }

/* ===================== Look inside: phone fixes + overlay full screen ===================== */
.li-rotate { display: none; }
@media (max-width: 640px) {
  /* the button: smaller, on one line */
  .li-cta { width: auto; padding: 11px 18px 11px 12px; font-size: 15px; gap: 8px; white-space: nowrap; margin-bottom: 16px; }
  .li-cta small { display: none; }
  .li-cta-ico { width: 28px; height: 28px; }
  .li-cta-ico svg { width: 16px; height: 16px; }
  /* more room for the book */
  .look-inside > .wrap { width: calc(100% - 20px); }
  .li-frame { padding: 5px; }
  .li-in { padding: 22px 8px 16px; }
  .li-head h2 { font-size: 28px; }
  .li-head p { font-size: 14px; }
  /* arrows sit under the book instead of on top of it */
  .li-stage { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
  .li-book { order: 0; flex: 0 0 100%; width: 100%; min-width: 0; }
  .li-nav { order: 1; position: static; transform: none; width: 42px; height: 42px; margin-top: 4px; }
  .li-bar { margin-top: 12px; }
}
/* the overlay */
html.li-lock, html.li-lock body { overflow: hidden; }
.look-inside.li-full-on { position: fixed; inset: 0; z-index: 3000; margin: 0; padding: 10px; background: rgba(22,21,19,.82); overflow: auto; display: flex; align-items: center; }
.look-inside.li-full-on > .wrap { width: 100%; max-width: none; }
.look-inside.li-full-on .li-in { padding: 14px 10px 10px; }
.look-inside.li-full-on .li-head, .look-inside.li-full-on .li-hint, .look-inside.li-full-on .li-thumbs { display: none; }
.look-inside.li-full-on .li-book { width: min(100%, calc((100dvh - 150px) * 4 / 3)); flex-basis: auto; }
.look-inside.li-full-on .li-bar { max-width: none; margin-top: 10px; }
.look-inside.li-full-on .li-full { background: var(--ink); color: var(--cream); box-shadow: none; }
@media (max-width: 640px) {
  .look-inside.li-full-on .li-book { width: min(100%, calc((100dvh - 190px) * 4 / 3)); }
}
@media (max-width: 640px) and (orientation: portrait) { .look-inside.li-full-on .li-rotate { display: block; font-size: 12px; color: var(--muted); text-align: center; flex: 1; } }
@media (max-height: 500px) and (orientation: landscape) {
  .look-inside.li-full-on { padding: 4px; }
  .look-inside.li-full-on .li-frame { padding: 4px; }
  .look-inside.li-full-on .li-in { padding: 8px; }
  .look-inside.li-full-on .li-stage { flex-wrap: nowrap; }
  .look-inside.li-full-on .li-book { width: min(100%, calc((100dvh - 80px) * 4 / 3)); flex: 0 1 auto; order: 0; }
  .look-inside.li-full-on .li-nav { order: 0; }
  .look-inside.li-full-on .li-nav.prev { order: -1; }
  .look-inside.li-full-on .li-bar { margin-top: 4px; }
}

/* product page reviews: rating summary + 'See all' */
.pdp-rv-summary { margin-bottom: 22px; }
.pdp-rv-more { margin-top: 22px; text-align: center; }
.pdp-rv-more .btn svg.arrow { transform: rotate(90deg); }

/* "You might also like" on phones: a sideways-scrolling row */
@media (max-width: 760px) {
  #related.product-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #related.product-grid::-webkit-scrollbar { display: none; }
  #related.product-grid > .card { flex: 0 0 64%; scroll-snap-align: start; }
}

/* phone slider: the product/book area grows to fill the slide (no empty gap at the bottom) */
@media (max-width: 860px) {
  .hs-slide { align-items: stretch; }
  .hs-grid { grid-template-rows: 1fr auto; align-content: stretch; }
  .hs-visual { min-height: 230px; height: 100%; }
  .hs-occ .occ-note { display: none; }
  .ps-sky .ss-frame, .ps-frame { width: 170px; }
  .ps-ll { width: 235px; }
  .ps-sb .sb-book { width: 140px; }
  .hs-photos .ph { width: min(62%, 230px); }
}
@media (max-width: 860px) { .ps-sb { width: 100%; } .ps-sb .sb-book { justify-self: start; margin-left: 50%; } }

/* ===================== slider: animated scenes for the rest of the products ===================== */
.ps-tagline { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-family: "Caveat", cursive; font-size: 22px; color: var(--ac); white-space: nowrap; opacity: 0; }
.is-active .ps-tagline { opacity: 1; transition: opacity .6s ease 2.4s; }
/* Mini Lovebook: a smaller book that opens */
.ps-mini .sb-book { width: clamp(130px, 12.5vw, 165px); aspect-ratio: 392 / 552; }

/* Notebook: the spiral cover swings open, a pencil writes on the lined page */
.ps-nb { perspective: 1600px; }
.nb-book { position: relative; width: clamp(180px, 17vw, 225px); aspect-ratio: 480 / 646; margin-left: 40%; opacity: 0; transform: translateY(24px) rotate(-3deg); }
.is-active .nb-book { opacity: 1; transform: rotate(-3deg); transition: opacity .6s ease .1s, transform .9s cubic-bezier(.34,1.56,.64,1) .1s; }
.nb-page { position: absolute; inset: 0; border-radius: 4px 12px 12px 4px; padding: 14% 8% 0 16%; overflow: hidden;
  background: repeating-linear-gradient(#fffdf8 0 calc(var(--lh) - 1px), #cfe0f2 calc(var(--lh) - 1px) var(--lh)) 0 9% / 100% 100% no-repeat, #fffdf8; --lh: 22px;
  box-shadow: 0 30px 40px -24px rgba(0,0,0,.5), inset 10px 0 0 #fff, inset 11px 0 0 #f2b8c6; font-family: "Caveat", cursive; font-size: 17px; line-height: 22px; color: #3a3a5a; }
.nb-page span { display: block; white-space: nowrap; clip-path: inset(0 100% 0 0); }
.is-active .nb-page span { clip-path: inset(0 0 0 0); transition: clip-path .5s linear calc(1.7s + var(--i) * .42s); }
.nb-pencil { position: absolute; width: 70px; height: 9px; right: 4%; top: 20%; border-radius: 2px; background: linear-gradient(90deg, #333 0 6px, #f4d9a8 6px 16px, #e0456e 16px 92%, #c33 92%); transform: rotate(-35deg); opacity: 0; }
.is-active .nb-pencil { opacity: 1; transition: opacity .3s ease 1.6s; animation: pencil 3.4s ease-in-out 1.7s infinite; }
@keyframes pencil { 0%, 100% { translate: 0 0; } 25% { translate: -24px 10px; } 50% { translate: -8px 34px; } 75% { translate: -30px 52px; } }
.nb-cover { position: absolute; inset: 0; z-index: 2; transform-origin: 6% 50%; transform-style: preserve-3d; }
.nb-front, .nb-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nb-front img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 20px 22px rgba(0,0,0,.3)); }
.nb-back { transform: rotateY(180deg); border-radius: 12px 4px 4px 12px; background: linear-gradient(90deg, #cfe6dc, #e2f1eb); left: 6%; }
.is-active .nb-cover { transform: rotateY(-155deg); transition: transform 1.2s cubic-bezier(.65,0,.25,1) .8s; }

/* Calendar magnet: it snaps onto a fridge door, a sticky note follows */
.ps-cal { width: 100%; }
.cal-fridge { position: relative; width: min(100%, 400px); aspect-ratio: 1.12; border-radius: 22px; background: linear-gradient(135deg, #f4f6f8, #dde3e8); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 30px 50px -30px rgba(0,0,0,.4); display: grid; place-items: center; }
.cal-handle { position: absolute; left: 7%; top: 18%; bottom: 18%; width: 12px; border-radius: 8px; background: linear-gradient(90deg, #c9d1d8, #f6f8fa, #c4ccd3); box-shadow: 0 4px 8px rgba(0,0,0,.15); }
.cal-mag { position: relative; width: 74%; margin-left: 10%; border-radius: 10px; box-shadow: 0 16px 24px -14px rgba(0,0,0,.5); opacity: 0; transform: translateY(-70px) rotate(-8deg) scale(1.08); }
.is-active .cal-mag { opacity: 1; transform: rotate(-2deg); transition: opacity .3s ease .2s, transform .8s cubic-bezier(.34,1.6,.6,1) .2s; animation: magWobble 5s ease-in-out 1.6s infinite; }
@keyframes magWobble { 0%, 100% { rotate: 0deg; } 50% { rotate: 1.2deg; } }
.cal-note { position: absolute; right: 4%; bottom: 6%; width: 30%; aspect-ratio: 1; padding: 16px 10px 8px; background: #fff3a8; box-shadow: 0 10px 16px -10px rgba(0,0,0,.4); font-family: "Caveat", cursive; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.05; color: #3a3a5a; transform: rotate(7deg) scale(0); }
.cal-note svg { width: 12px; color: #e0456e; vertical-align: -1px; }
.is-active .cal-note { transform: rotate(7deg); transition: transform .5s cubic-bezier(.34,1.7,.6,1) 1.2s; }
.cal-pin { position: absolute; left: 50%; top: -6px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff7a8a, #c4243c); box-shadow: 0 3px 4px rgba(0,0,0,.3); }
.cal-heart { position: absolute; left: 16%; top: 6%; width: 30px; color: #e0456e; transform: scale(0); filter: drop-shadow(0 4px 4px rgba(0,0,0,.2)); }
.cal-heart svg { width: 100%; display: block; }
.is-active .cal-heart { transform: rotate(-12deg); transition: transform .5s cubic-bezier(.34,1.7,.6,1) 1.5s; animation: heartBeat 1.6s ease-in-out 2.2s infinite; }
@keyframes heartBeat { 0%, 100% { scale: 1; } 15% { scale: 1.2; } 30% { scale: 1; } 45% { scale: 1.12; } }

/* 52 Reasons: the cards fan up out of the box */
.ps-rb { width: 100%; height: 100%; min-height: 330px; }
.rb-box { position: absolute; z-index: 2; left: 50%; bottom: 6%; width: clamp(120px, 12vw, 160px); transform: translate(-50%, 40px); opacity: 0; filter: drop-shadow(0 20px 20px rgba(0,0,0,.3)); }
.is-active .rb-box { transform: translate(-50%, 0); opacity: 1; transition: transform .8s cubic-bezier(.34,1.56,.64,1) .1s, opacity .4s ease .1s; }
.rb-cards { position: absolute; inset: 0; }
.rb-card { position: absolute; left: 50%; bottom: 10%; width: clamp(92px, 9vw, 120px); margin-left: calc(clamp(92px, 9vw, 120px) / -2); transform-origin: 50% 100%; transform: translateY(40px) rotate(0); opacity: 0; filter: drop-shadow(0 10px 12px rgba(0,0,0,.2)); }
.is-active .rb-card { opacity: 1; transform: translate(var(--x), -82%) rotate(var(--r)); transition: transform .9s cubic-bezier(.34,1.45,.64,1) calc(.8s + var(--i) * .16s), opacity .3s ease calc(.8s + var(--i) * .16s); }
.is-active .rb-card:hover { transform: translate(var(--x), -92%) rotate(var(--r)); }

/* Stickers: they peel off the sheet and stick around it */
.ps-st { width: 100%; height: 100%; min-height: 330px; }
.st-sheet { position: absolute; left: 50%; top: 50%; width: clamp(150px, 14vw, 190px); transform: translate(-50%, -50%) rotate(-5deg); border-radius: 8px; box-shadow: 0 26px 40px -22px rgba(0,0,0,.5); opacity: 0; }
.is-active .st-sheet { opacity: 1; transition: opacity .5s ease .1s; }
.st-one { position: absolute; left: 50%; top: 50%; width: var(--w); transform: translate(-50%, -50%) scale(.2); opacity: 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); }
.is-active .st-one { opacity: 1; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--r)); transition: left .9s cubic-bezier(.34,1.4,.64,1) calc(.6s + var(--i) * .2s), top .9s cubic-bezier(.34,1.4,.64,1) calc(.6s + var(--i) * .2s), transform .9s cubic-bezier(.34,1.6,.64,1) calc(.6s + var(--i) * .2s), opacity .2s ease calc(.6s + var(--i) * .2s); animation: stFloat 4s ease-in-out calc(2.6s + var(--i) * .3s) infinite; }
@keyframes stFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Bookmarks: they rise out of an open book, tassels swaying */
.ps-bm { width: 100%; height: 100%; min-height: 330px; }
.bm-set { position: absolute; inset: 0; }
.bm { position: absolute; left: 50%; bottom: 18%; width: clamp(70px, 7vw, 92px); margin-left: calc(clamp(70px, 7vw, 92px) / -2); transform-origin: 50% 100%; transform: translate(var(--x), 60px) rotate(0); opacity: 0; filter: drop-shadow(0 10px 10px rgba(0,0,0,.2)); }
.is-active .bm { opacity: 1; transform: translate(var(--x), 0) rotate(var(--r)); transition: transform 1s cubic-bezier(.34,1.45,.64,1) calc(.5s + var(--i) * .18s), opacity .3s ease calc(.5s + var(--i) * .18s); animation: bmSway 3.6s ease-in-out calc(1.8s + var(--i) * .4s) infinite; }
@keyframes bmSway { 0%, 100% { rotate: 0deg; } 50% { rotate: 2.5deg; } }
.bm-book { position: absolute; z-index: 2; left: 50%; bottom: 6%; width: clamp(270px, 26vw, 340px); height: 70px; transform: translateX(-50%); display: flex; filter: drop-shadow(0 18px 16px rgba(0,0,0,.25)); }
.bm-book i { flex: 1; background: repeating-linear-gradient(#fffdf8 0 9px, #e3dccf 9px 10px); border: 2px solid #3a3127; }
.bm-book i:first-child { border-radius: 10px 0 0 4px; transform: skewY(4deg); transform-origin: right; }
.bm-book i:last-child { border-radius: 0 10px 4px 0; transform: skewY(-4deg); transform-origin: left; border-left: 0; }

/* Wallpaper: the phone lights up, then slides aside to show the home screen */
.ps-wp { width: 100%; height: 100%; min-height: 330px; }
.wp-home, .wp-lock { position: absolute; left: 50%; top: 50%; width: clamp(130px, 12vw, 160px); }
.wp-home { transform: translate(-50%, -50%) rotate(0); opacity: 0; filter: drop-shadow(0 20px 24px rgba(0,0,0,.3)); }
.is-active .wp-home { opacity: 1; transform: translate(-6%, -46%) rotate(9deg); transition: transform 1s cubic-bezier(.34,1.3,.64,1) 1.6s, opacity .4s ease 1.6s; }
.wp-lock { z-index: 2; transform: translate(-50%, -50%) rotate(-4deg); filter: drop-shadow(0 26px 30px rgba(0,0,0,.35)); }
.is-active .wp-lock { transform: translate(-92%, -52%) rotate(-7deg); transition: transform 1s cubic-bezier(.34,1.3,.64,1) 1.6s; }
.wp-lock img { display: block; width: 100%; filter: brightness(.35); }
.is-active .wp-lock img { filter: brightness(1); transition: filter .6s ease .5s; }
.wp-glow { position: absolute; inset: 8% 12%; border-radius: 30px; background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); opacity: 0; }
.is-active .wp-glow { animation: wpFlash 1s ease .5s both; }
@keyframes wpFlash { 0% { opacity: 0; } 40% { opacity: .9; } 100% { opacity: 0; } }
.wp-heart { position: absolute; left: 40%; top: 40%; width: 20px; color: #e0456e; opacity: 0; }
.wp-heart svg { width: 100%; display: block; }
.is-active .wp-heart { animation: wpHeart 3s ease-out calc(2.4s + var(--i) * .5s) infinite; }
@keyframes wpHeart { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), -120px) scale(1.1); } }

@media (max-width: 860px) {
  .ps-mini .sb-book { width: 112px; }
  .nb-book { width: 150px; margin-left: 40%; }
  .nb-page { font-size: 13px; line-height: 17px; --lh: 17px; }
  .cal-fridge { width: 280px; }
  .ps-rb, .ps-st, .ps-bm, .ps-wp { min-height: 250px; }
  .rb-box { width: 104px; } .rb-card { width: 76px; margin-left: -38px; }
  .st-sheet { width: 130px; } .st-one { width: calc(var(--w) * .75); }
  .bm { width: 48px; margin-left: -24px; } .bm-book { width: 200px; height: 46px; }
  .wp-home, .wp-lock { width: 112px; }
  .ps-tagline { font-size: 18px; bottom: -26px; }
}
@media (prefers-reduced-motion: reduce) { .nb-pencil, .wp-heart, .st-one, .bm, .cal-mag, .cal-heart { animation: none !important; } }

/* ===================== currency switcher (header) ===================== */
.cur { position: relative; flex: none; margin-left: 4px; }
.cur-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px 0 8px; border-radius: 999px; font-weight: 700; font-size: 13px; box-shadow: inset 0 0 0 1.5px var(--line); background: rgba(255,255,255,.6); transition: box-shadow .25s, background .25s; }
.cur-btn:hover, .cur.open .cur-btn { box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; }
.cur-btn > svg:first-child, .cur-opt > svg { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.cur-chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.cur.open .cur-chev { transform: rotate(180deg); }
.cur-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 248px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.cur.open .cur-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.cur-title { margin: 2px 8px 8px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cur-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 10px; text-align: left; font-weight: 600; font-size: 14.5px; transition: background .2s; }
.cur-opt:hover { background: var(--cream); }
.cur-opt.on { background: var(--cream-2); }
.cur-opt span { flex: 1; line-height: 1.2; }
.cur-opt small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.cur-tick { font-style: normal; color: var(--accent); font-weight: 800; }
.cur-note { margin: 8px 8px 2px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 820px) {
  .nav { gap: 10px; }
  .cur { margin-left: auto; }
  .cur-btn { height: 36px; padding: 0 8px; gap: 5px; font-size: 12px; }
  .cur-chev { display: none; }
}
@media (max-width: 400px) { .cur-btn b { display: none; } }
@media (min-width: 821px) { .nav { justify-content: flex-start; } .nav-links { margin-left: auto; } }

/* ===================== speed, round 3 ===================== */
/* quicker page switches */
.curtain { transition-duration: .45s; }
body.is-leaving .curtain { transition-duration: .22s; }
body:not(.is-leaving) .curtain { animation-delay: 1.2s; }
/* the star map: no per-star twinkle repaints, the bright glints still sparkle */
.ss-poster .tw, .ss-poster .tw2 { animation: none; opacity: .8; }
/* phones: drop the purely decorative background layers */
@media (max-width: 760px) {
  .hs-bgfx .fl, .hs-bgfx .tw:not(.big), .hs-bgfx .shoot, .lb-field, .ss-field i, .ss-field .sp, .hs-blob.b, .xb-glint, .hd-sleigh::after { display: none !important; }
  .bauble.y { display: none; }
}
/* below-the-fold blocks skip rendering work until they're near the screen */
.site-footer, .home-reviews + section, #home-reviews ~ .section { content-visibility: auto; contain-intrinsic-size: auto 600px; }

/* ===================== experience score ===================== */
/* the Lovebook's pages are all painted from the start and simply stacked (the visible one on top),
   so turning a page doesn't count as a brand-new "largest paint" seconds later */
.xb-page img { opacity: 1; z-index: 0; }
.xb-page img.on { z-index: 1; }
/* a slightly bigger book, so it stays the largest thing painted at load */
.xb-book { width: clamp(170px, 17.5vw, 240px); }

/* accessibility: stronger contrast for small text */
:root { --muted: #5a544a; }
.bs-pill, .rv-avatar { background: var(--accent-ink) !important; }
.hs-kicker { color: color-mix(in srgb, var(--ac) 62%, #000); }
.hs-prod.dark .hs-kicker { color: var(--ac); }

/* ===================== occasion themes: New Year, Thanksgiving (US), UAE National Day, Eid ===================== */
body.fest-newyear { --fest-acc: #a8790f; --fest-stripe: repeating-linear-gradient(-45deg, #d4a032 0 4px, #1d2b5e 4px 8px); --fest-frame: repeating-linear-gradient(-45deg, #e0b24a 0 16px, #1d2b5e 16px 32px); --b0: #ffd166; --b1: #fff3c4; --b2: #f2c46d; --b3: #ffffff; }
body.fest-thanksgiving { --fest-acc: #b44d14; --fest-stripe: repeating-linear-gradient(-45deg, #c2571a 0 4px, #f6c27a 4px 8px); --fest-frame: repeating-linear-gradient(-45deg, #b4501a 0 16px, #f6d7a6 16px 32px); --b0: #d9531e; --b1: #f2a33a; --b2: #b8322a; --b3: #e8c547; }
body.fest-uae { --fest-acc: #00843d; --fest-stripe: linear-gradient(90deg, #ef3340 0 25%, #00843d 25% 50%, #ffffff 50% 75%, #111 75%); --fest-frame: linear-gradient(90deg, #ef3340 0 22px, transparent 22px), linear-gradient(#00843d 0 33.4%, #ffffff 33.4% 66.6%, #111 66.6%); --b0: #ef3340; --b1: #00843d; --b2: #ffffff; --b3: #111111; }
body.fest-eid { --fest-acc: #0f766e; --fest-stripe: repeating-linear-gradient(-45deg, #d4a032 0 4px, #0f766e 4px 8px); --fest-frame: repeating-linear-gradient(-45deg, #d4a032 0 16px, #0f5f59 16px 32px); --b0: #f2c46d; --b1: #ffe9a8; --b2: #f2c46d; --b3: #ffffff; }

/* logo accessory, page-title accessory */
body.fest-alt .brand-mark::after { background-image: var(--fest-hat); }
body.fest-alt.xmas-nav[data-page] .page-hero h1::before { background-image: var(--fest-hat); }
body.fest-alt .ph-pill { color: var(--fest-acc); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--fest-acc) 30%, transparent), 0 8px 18px -12px rgba(0,0,0,.35); }
body.fest-alt .chip.active { background: var(--fest-acc); }
body.fest-alt .chip:hover { box-shadow: inset 0 0 0 1.5px var(--fest-acc); }
body.fest-alt .card:hover .card-media { box-shadow: 0 0 0 3px var(--fest-acc), 0 18px 30px -18px rgba(0,0,0,.4); }
body.fest-alt #grid .shop-cat-head h2::after, body.fest-alt .rv-card::after, body.fest-alt .li-holly { background-image: var(--fest-badge); }
body.fest-alt.xmas-nav .li-frame { background: var(--fest-frame); }
body.fest-alt .li-lights i.b0 { --c: var(--b0); } body.fest-alt .li-lights i.b1 { --c: var(--b1); }
body.fest-alt .li-lights i.b2 { --c: var(--b2); } body.fest-alt .li-lights i.b3 { --c: var(--b3); }

/* desktop header */
@media (min-width: 821px) {
  body.fest-alt.xmas-nav .nav-links > a:not(.nav-cta)::before { background-image: var(--fest-icon); }
  body.fest-alt.xmas-nav .nav-links > a.active::before { background-image: var(--fest-hat); }
  body.fest-alt.xmas-nav .nav-links > a:not(.nav-cta):hover { color: var(--fest-acc); }
  body.fest-alt.xmas-nav .nav-links > a:not(.nav-cta)::after { background: var(--fest-stripe); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
  body.fest-alt.xmas-nav .nav-cta { background: var(--fest-acc); }
  body.fest-alt.xmas-nav .nav-cta::before { display: none; }
  body.fest-alt.xmas-nav .nav-cta:hover { background: var(--ink); }
  body.fest-alt .hd-lights i.b0 { --c: var(--b0); } body.fest-alt .hd-lights i.b1 { --c: var(--b1); }
  body.fest-alt .hd-lights i.b2 { --c: var(--b2); } body.fest-alt .hd-lights i.b3 { --c: var(--b3); }
  body.fest-alt .hd-sleigh::after { display: none; }
  /* Thanksgiving: a garland of autumn leaves */
  body.fest-thanksgiving .hd-lights i { width: 10px; height: 10px; margin-left: -5px; border-radius: 0 80% 0 80%; box-shadow: none; transform: rotate(45deg); animation: hdLeaf 3s ease-in-out calc(var(--i) * -.27s) infinite; }
  @keyframes hdLeaf { 0%, 100% { transform: rotate(35deg); } 50% { transform: rotate(60deg); } }
  /* UAE: flag-coloured bunting */
  body.fest-uae .hd-lights i { top: 4px; width: 15px; height: 13px; margin-left: -7.5px; border-radius: 0; box-shadow: none; clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 0 1px rgba(0,0,0,.45)); transform-origin: 50% 0; animation: hdBunt 3s ease-in-out calc(var(--i) * -.23s) infinite; }
  @keyframes hdBunt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
  /* what flies across */
  body.fest-uae .hd-sleigh { width: 92px; top: 4px; }
  .fc-w1 { transform-box: fill-box; transform-origin: 100% 100%; animation: fcFlap .45s ease-in-out infinite alternate; }
  .fc-w2 { transform-box: fill-box; transform-origin: 0% 100%; animation: fcFlap .45s ease-in-out infinite alternate-reverse; }
  @keyframes fcFlap { from { transform: rotate(-16deg); } to { transform: rotate(12deg); } }
  body.fest-thanksgiving .hd-sleigh { width: 110px; top: 2px; }
  .hd-leaves { display: flex; gap: 16px; }
  .hd-leaves i { display: block; width: 20px; animation: hdTumble 2.2s linear calc(var(--i) * -.6s) infinite; }
  .hd-leaves i:nth-child(2) { margin-top: 12px; } .hd-leaves i:nth-child(3) { margin-top: 4px; }
  @keyframes hdTumble { 0% { transform: rotate(0) translateY(0); } 50% { transform: rotate(180deg) translateY(6px); } 100% { transform: rotate(360deg) translateY(0); } }
  body.fest-newyear .hd-sleigh { width: 190px; top: 2px; }
  body.fest-eid .hd-sleigh { width: 56px; top: 2px; animation-duration: 40s; }
}

/* ---------- the occasion slide on the home page ---------- */
.occ-dark { color: #fbf3e4; }
.occ-dark .hs-lead { color: rgba(251,243,228,.84); }
.occ-dark .occ-note { color: rgba(251,243,228,.68); }
.occ-dark .occ-pill { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #fbf3e4; }
.occ-dark .occ-ghost { --fg: #fbf3e4; box-shadow: inset 0 0 0 1.5px rgba(251,243,228,.7); }
.occ-dark .occ-ghost::before { background: #fbf3e4; }
.occ-dark .occ-ghost:hover { color: #111; }
.occ-dark .hs-title em { position: relative; color: var(--occ-em, #f2c46d); }
.occ-dark .occ-pill b, .occ-dark .occ-note b { color: var(--occ-em, #f2c46d); }
.occ-dark .hs-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px; background: var(--occ-u, #e03049); transform: scaleX(0); transform-origin: left; }
.occ-dark.is-active .hs-title em::after { transform: scaleX(1); transition: transform .9s var(--ease) 1s; }
/* New Year: midnight blue and gold, fireworks */
.occ-newyear { --slide-bg: #121a3d; --occ-em: #f2c46d; --occ-u: #f2c46d; background: radial-gradient(900px 500px at 75% 30%, #2b3d86 0%, rgba(43,61,134,0) 60%), linear-gradient(160deg, #0f1634, #1a2350); }
.occ-newyear .occ-btn, .occ-eid .occ-btn { --bg: #e0b24a; --fg: #1b1b1b; }
.occ-newyear .occ-btn::before, .occ-eid .occ-btn::before { background: #fff; }
.occ-newyear .bulb.b0 { --c: #ffd166; } .occ-newyear .bulb.b1 { --c: #fff3c4; } .occ-newyear .bulb.b2 { --c: #f2c46d; } .occ-newyear .bulb.b3 { --c: #ffffff; }
.occ-city svg path { fill: #0a1028; }
.occ-city .win { fill: #ffd166; animation: winBlink 3.2s ease-in-out infinite; }
.occ-city .win:nth-of-type(2n) { animation-delay: -1.4s; }
@keyframes winBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* Thanksgiving: warm autumn, falling leaves */
.occ-thanksgiving { --slide-bg: #4a230f; --occ-em: #f6b65a; --occ-u: #e0712c; background: radial-gradient(900px 500px at 75% 35%, #a5531f 0%, rgba(165,83,31,0) 60%), linear-gradient(160deg, #5a2a10, #2e1508); }
.occ-thanksgiving .occ-btn { --bg: #e0712c; --fg: #fff; }
.occ-thanksgiving .occ-btn::before { background: #f6b65a; }
.occ-thanksgiving .bulb { width: 13px; height: 13px; margin-left: -6.5px; border-radius: 0 80% 0 80%; box-shadow: none; transform: rotate(45deg); animation: hdLeaf 3s ease-in-out calc(var(--i) * -.27s) infinite; }
.occ-thanksgiving .bulb::before { display: none; }
.occ-thanksgiving .bulb.b0 { --c: #d9531e; } .occ-thanksgiving .bulb.b1 { --c: #f2a33a; } .occ-thanksgiving .bulb.b2 { --c: #b8322a; } .occ-thanksgiving .bulb.b3 { --c: #e8c547; }
.occ-farm .ground { fill: #3a1b0a; }
.occ-farm .pk ellipse { fill: #e8751a; stroke: #7a3a10; stroke-width: 2; }
.occ-farm .pk .stem { fill: none; stroke: #5a7d2a; stroke-width: 4; stroke-linecap: round; }
/* UAE National Day: flag colours, fireworks, dunes and palms */
.occ-uae { --slide-bg: #0b2a1a; --occ-em: #ff6b74; --occ-u: #00a651; background: radial-gradient(800px 500px at 78% 30%, rgba(239,51,64,.42) 0%, rgba(239,51,64,0) 60%), linear-gradient(160deg, #0d3b24, #070d0a); }
.occ-uae .occ-btn { --bg: #00843d; --fg: #fff; }
.occ-uae .occ-btn::before { background: #ef3340; }
.occ-uae .bulb { top: 4px !important; width: 18px; height: 16px; margin-left: -9px; border-radius: 0; box-shadow: none; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; animation: hdBunt 3s ease-in-out calc(var(--i) * -.23s) infinite; }
.occ-uae .bulb::before { display: none; }
.occ-uae .bulb.b0 { --c: #ef3340; } .occ-uae .bulb.b1 { --c: #00843d; } .occ-uae .bulb.b2 { --c: #ffffff; } .occ-uae .bulb.b3 { --c: #1a1a1a; }
.occ-uae .occ-lights { top: 6px; }
.occ-dunes .d2 { fill: #b9844e; } .occ-dunes .d1 { fill: #dcae74; }
.occ-dunes .palm path:first-child { stroke: #4a2f14; fill: none; }
.occ-dunes .palm path:last-child { fill: #1f5d3c; }
/* Eid: deep teal, golden lanterns, twinkling stars */
.occ-eid { --slide-bg: #0b2f33; --occ-em: #f2c46d; --occ-u: #f2c46d; background: radial-gradient(800px 500px at 75% 30%, #1f6f6a 0%, rgba(31,111,106,0) 60%), linear-gradient(160deg, #0b3b3a, #0f1d36); }
.occ-eid .bauble::after { aspect-ratio: .68; border-radius: 30% 30% 42% 42%; background: linear-gradient(#f2c46d, #c8902a); border-top: 6px solid #8a6a1c; box-shadow: 0 0 22px rgba(255,214,120,.65), inset 0 0 0 4px rgba(255,233,168,.6); }
.occ-domes svg path { fill: #071a1d; }
/* the book's ribbon and bow, per theme */
.occ-newyear .rib, .occ-eid .rib { background: linear-gradient(90deg, #a87b1c, #f2c46d 45%, #a87b1c); }
.occ-newyear .rib.h, .occ-eid .rib.h { background: linear-gradient(180deg, #a87b1c, #f2c46d 45%, #a87b1c); }
.occ-newyear .xb-bow, .occ-eid .xb-bow { fill: #f2c46d; stroke: #8a6a1c; }
.occ-newyear .xb-bow circle, .occ-eid .xb-bow circle { fill: #d4a032; }
.occ-thanksgiving .rib { background: linear-gradient(90deg, #9a3f10, #f08a3c 45%, #9a3f10); }
.occ-thanksgiving .rib.h { background: linear-gradient(180deg, #9a3f10, #f08a3c 45%, #9a3f10); }
.occ-thanksgiving .xb-bow { fill: #f08a3c; stroke: #7a2e10; }
.occ-thanksgiving .xb-bow circle { fill: #c2571a; }
.occ-uae .rib { background: linear-gradient(90deg, #005c2a, #2fbf71 45%, #005c2a); }
.occ-uae .rib.h { background: linear-gradient(180deg, #005c2a, #2fbf71 45%, #005c2a); }
.occ-uae .xb-bow { fill: #ef3340; stroke: #9c1426; }
.occ-uae .xb-bow circle { fill: #c41e36; }
.occ-newyear .xb-tag span, .occ-eid .xb-tag span { color: #8a6a1c; }
.occ-thanksgiving .xb-tag span { color: #b44d14; }
.occ-uae .xb-tag span { color: #00843d; }
@media (prefers-reduced-motion: reduce) { .occ-city .win, .fc-w1, .fc-w2, .hd-leaves i { animation: none !important; } }
.occ-eid .occ-baubles { right: 2%; gap: 18px; }
.occ-eid .bauble:nth-child(1) { --len: 22px !important; } .occ-eid .bauble:nth-child(2) { --len: 44px !important; width: 36px; } .occ-eid .bauble:nth-child(3) { --len: 14px !important; }

/* ===================== the occasion theme across the home page ===================== */
.fest-garland { position: absolute; left: 0; right: 0; top: 0; height: 56px; z-index: 3; pointer-events: none; overflow: hidden; background: none !important; color: inherit; }
.fest-garland .occ-lights { top: 0; }
.occ-eid .bulb.b0 { --c: #f2c46d; } .occ-eid .bulb.b1 { --c: #ffe9a8; } .occ-eid .bulb.b2 { --c: #f2c46d; } .occ-eid .bulb.b3 { --c: #ffffff; }
.fest-fall { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fest-fall .sf { opacity: .5; }
.fest-block { position: relative; }
.fest-block > .wrap { position: relative; z-index: 1; }
.tagline.fest-block { padding-top: clamp(40px, 5vw, 56px); }
.home-reviews.fest-block, .bestseller.fest-block { padding-top: clamp(56px, 6vw, 80px) !important; }
.site-footer.fest-foot { position: relative; padding-top: 64px; }
.hs-prod .fest-garland { height: 50px; }
.hs-prod .fest-fall { z-index: 1; }
/* the little tag on each product slide */
.fest-tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: rgba(255,255,255,.75); color: var(--fest-acc, #c42a3c); box-shadow: 0 6px 14px -10px rgba(0,0,0,.35); }
.fest-tag svg { width: 12px; height: 12px; }
.hs-prod.dark .fest-tag { background: rgba(255,255,255,.14); color: #f2c46d; }
.hs-prod .hs-copy { display: flex; flex-direction: column; align-items: flex-start; }
body.fest-christmas { --fest-acc: #c42a3c; }
/* a festive sticker on every product card */
body.xmas-nav .card-media::after { content: ""; position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 27px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cpath d='M24 18C18 8 8 6 2 10c4 1 4 4 2 6 4-1 6 1 6 4 3-3 7-2 9 1 0-3 2-4 5-3z' fill='%232f8a5c'/%3E%3Cpath d='M24 18c6-10 16-12 22-8-4 1-4 4-2 6-4-1-6 1-6 4-3-3-7-2-9 1 0-3-2-4-5-3z' fill='%233a9e6a'/%3E%3Ccircle cx='21' cy='19' r='4' fill='%23d42c3c'/%3E%3Ccircle cx='28' cy='19' r='4' fill='%23e03049'/%3E%3Ccircle cx='24.5' cy='13.5' r='4' fill='%23c41e36'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
body.fest-alt .card-media::after { background-image: var(--fest-badge); }
/* the scrolling banner in the season's colours */
body.fest-christmas .marquee { background: #0f3a2c; }
body.fest-newyear .marquee { background: #1a2350; }
body.fest-thanksgiving .marquee { background: #6b3415; }
body.fest-uae .marquee { background: #00843d; }
body.fest-eid .marquee { background: #0f5f59; }
body.xmas-nav .marquee svg { color: #f2c46d; }

/* ===================== greeting band on the home page ===================== */
.greet-band { position: relative; overflow: hidden; padding: 14px 0; }
.greet-band.occ-love { background: linear-gradient(120deg, #ffd6e2, #f8b9cb); color: var(--ink); }
.greet-in { position: relative; display: flex; align-items: center; gap: 18px; }
.greet-txt { flex: 1; min-width: 0; }
.greet-band h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.05; color: var(--occ-em, #f2c46d); animation: greetIn .8s cubic-bezier(.34,1.56,.64,1) both; }
.greet-band.occ-love h2 { color: #c41e4a; }
.greet-ar { margin: 2px 0 0; text-align: left; font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", sans-serif; font-size: 16px; text-align: start; animation: greetIn .8s .12s cubic-bezier(.34,1.56,.64,1) both; }
.greet-ar b { color: var(--occ-em, #f2c46d); font-size: 1.15em; }
.greet-sub { margin: 3px 0 0; font-size: 14px; opacity: .85; }
.greet-when { flex: none; display: grid; justify-items: center; gap: 2px; padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-family: "Caveat", cursive; font-size: 21px; line-height: 1; }
.greet-band.occ-love .greet-when { background: rgba(255,255,255,.5); }
.greet-when span { font-family: "Segoe UI", Tahoma, sans-serif; font-size: 12.5px; opacity: .85; }
.greet-art { flex: none; display: flex; align-items: flex-end; gap: 8px; }
.greet-art i { display: block; width: 44px; animation: greetPop .7s cubic-bezier(.34,1.7,.64,1) both, ddFloat 4s ease-in-out 1s infinite; }
.greet-art i:nth-child(2) { width: 34px; animation-delay: .12s, 1.3s; }
.greet-art.r i { animation-delay: .24s, 1.6s; }
.greet-art svg { display: block; width: 100%; height: auto; }
.greet-band .fest-fall { opacity: .6; }
@keyframes greetPop { from { transform: scale(0) rotate(-25deg); } to { transform: none; } }
@keyframes greetIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .greet-band { padding: 12px 0; }
  .greet-in { gap: 10px; flex-wrap: wrap; }
  .greet-art.r { display: none; }
  .greet-art i { width: 34px; } .greet-art i:nth-child(2) { width: 26px; }
  .greet-sub { display: none; }
  .greet-ar span { display: none; }
  .greet-band h2 { font-size: 26px; }
  .greet-when { order: 3; flex-basis: 100%; grid-auto-flow: column; justify-content: center; gap: 10px; padding: 6px 12px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .greet-art i, .greet-band h2, .greet-ar { animation: none; } }

/* ===================== smoother scrolling ===================== */
/* the header's festive extras rest once you scroll down, and come back at the top */
.hd-calm .site-header *, .hd-calm .site-header *::before, .hd-calm .site-header *::after,
.hd-calm .hd-lights *, .hd-calm .top-bar * { animation-play-state: paused !important; }
/* sections far off screen skip drawing until you get near them */
[data-page="home"] main > section:not(.hs):not(.greet-band) { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* ===================== designer credit in the footer ===================== */
.pf-credit { display: flex; align-items: center; justify-content: center; gap: 14px; width: max-content; max-width: 100%; margin: -8px 0; padding: 7px 16px 7px 18px; border-radius: 99px; color: #f4ecdf; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(244,236,223,.14); transition: box-shadow .35s ease, background .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1); }
.pf-by { font-family: "Caveat", cursive; font-size: 22px; line-height: 1; color: rgba(244,236,223,.72); white-space: nowrap; transition: color .3s; }
.pf-logo { display: block; width: 118px; height: auto; transition: transform .5s cubic-bezier(.34,1.7,.64,1), filter .4s; }
.pf-credit:hover, .pf-credit:focus-visible { background: rgba(244,236,223,.06); box-shadow: inset 0 0 0 1px rgba(212,255,58,.55); transform: translateY(-2px); }
.pf-credit:hover .pf-by, .pf-credit:focus-visible .pf-by { color: #f4ecdf; }
.pf-credit:hover .pf-logo, .pf-credit:focus-visible .pf-logo { transform: scale(1.08) rotate(-2deg); filter: drop-shadow(0 0 10px rgba(212,255,58,.45)); }
.pf-credit:focus-visible { outline: 2px solid #d4ff3a; outline-offset: 3px; }
@media (min-width: 901px) { .footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; } .footer-bottom > :last-child { justify-self: end; text-align: right; } }
@media (max-width: 900px) { .footer-bottom .pf-credit { order: 3; margin: 4px auto 0; } }
@media (max-width: 560px) { .pf-credit { gap: 10px; padding: 8px 16px; } .pf-by { font-size: 19px; } .pf-logo { width: 96px; } }
@media (prefers-reduced-motion: reduce) { .pf-logo, .pf-credit { transition: none; } }

/* ===================== 3D Models (GTA) ===================== */
/* price not set yet */
.price.price-ask { font-size: 14px; font-weight: 700; letter-spacing: .01em; color: var(--accent-ink); }
.pdp-price .price.price-ask { font-size: clamp(24px, 6.2vw, 38px); }
/* shop cards for GTA products: a Vice City sunset behind the photo */
.card-gta .card-media { background: linear-gradient(170deg, #ffb347 0%, #ff4fa3 45%, #6b2bd9 100%); }
.card-gta .card-media img { object-fit: contain; padding: 8%; filter: drop-shadow(0 18px 22px rgba(26, 8, 51, .45)); border-radius: 22px; }
.card-gta .card-badge { background: #1a0b3a; color: #ffd6ec; }
.card-gta .card-cat { color: #d6338a; }

/* ---------- 3D viewer on the product page ---------- */
.stage-3d { perspective: 1100px; cursor: grab; touch-action: pan-y; background: radial-gradient(120% 90% at 50% 20%, #ffd38a 0%, #ff5fa8 42%, #5b23c4 100%) !important; outline: none; }
.stage-3d:focus-visible { box-shadow: 0 0 0 3px #ffe76a; }
.stage-3d.grabbing { cursor: grabbing; }
.stage-3d img.current, .stage-3d img.leaving, .stage-3d img.entering {
  inset: 9% 9% 13%; width: 82%; height: 78%; object-fit: contain; border-radius: 16px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(30px);
  transition: opacity .7s var(--ease), clip-path .9s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(20, 5, 40, .7), 0 0 0 1px rgba(255,255,255,.18);
  will-change: transform;
}
.stage-3d img.current { clip-path: none; }
.stage-3d .v3d-glare { position: absolute; inset: 9% 9% 13%; border-radius: 16px; pointer-events: none; z-index: 2; mix-blend-mode: soft-light;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 40%), rgba(255,255,255,.75), rgba(255,255,255,0) 70%);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(31px); }
.stage-3d .v3d-floor { position: absolute; left: 18%; right: 18%; bottom: 6%; height: 7%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(26, 8, 51, .55), rgba(26, 8, 51, 0)); transform: translateX(calc(var(--ry, 0deg) / 1deg * -.25%)) scaleX(calc(1 - var(--ry, 0deg) / 1deg * .0035)); }
.v3d-ui { position: absolute; left: 14px; top: 14px; z-index: 4; display: flex; gap: 8px; align-items: center; }
.v3d-hint { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: rgba(26, 8, 51, .72); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); }
.v3d-hint svg { width: 16px; height: 16px; color: #ffe76a; animation: v3dSpin 3.5s ease-in-out infinite; }
@keyframes v3dSpin { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }
.v3d-reset { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(26, 8, 51, .72); color: #fff; }
.v3d-reset svg { width: 15px; height: 15px; }
.stage-3d.one .stage-nav, .stage-3d.one .stage-count { display: none; }
.gallery:has(.stage-3d.one) { grid-template-columns: 1fr; }
.gallery:has(.stage-3d.one) .thumbs { display: none; }
@media (prefers-reduced-motion: reduce) { .v3d-hint svg { animation: none; } }

/* ---------- GTA VI look on GTA product pages ---------- */
body.theme-gta {
  --cream: #170a30; --cream-2: #241046; --cream-3: #311659;
  --ink: #fff2fa; --ink-2: #ffd9ee; --muted: #d4bde8; --line: rgba(255, 255, 255, .16);
  --accent: #ff4fa3; --accent-ink: #ff8cc6;
  background: #170a30; color: var(--ink);
}
.gta-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #2a0d55 0%, #6b2bd9 28%, #ff4fa3 58%, #ff9a3c 76%, #1a0833 77%); }
.gta-bg svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 70%; }
.gta-grid { position: absolute; left: -20%; right: -20%; bottom: 0; height: 24%; transform: perspective(300px) rotateX(55deg); transform-origin: bottom;
  background-image: linear-gradient(rgba(255, 79, 163, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 79, 163, .45) 1px, transparent 1px); background-size: 46px 46px; opacity: .55; }
.gta-glow { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,10,48,.35) 0%, rgba(23,10,48,.15) 40%, rgba(23,10,48,.72) 100%); }
/* panels sit on glass so the sunset shows through */
.theme-gta main, .theme-gta main > section, .theme-gta .section, .theme-gta .pdp-wrap { background: transparent !important; }
.theme-gta .pdp-info { background: rgba(23, 10, 48, .72); border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; padding: clamp(18px, 3vw, 32px); backdrop-filter: blur(14px); }
.theme-gta .site-header { background: rgba(23, 10, 48, .82); backdrop-filter: blur(12px); border-color: rgba(255,255,255,.12); }
.theme-gta .top-bar { background: linear-gradient(90deg, #ff4fa3, #ff9a3c); color: #1a0833; }
.theme-gta .site-header .btn, .theme-gta #buy-now { background: linear-gradient(90deg, #ff4fa3, #ff9a3c); color: #1a0833; border: 0; }
.theme-gta .pdp-title { color: #fff; text-shadow: 0 3px 0 #ff4fa3, 0 6px 24px rgba(255, 79, 163, .45); }
.theme-gta .card-cat, .theme-gta .breadcrumb a { color: #ffd166; }
.theme-gta .price.price-ask { color: #ffe76a; }
.theme-gta .card .price.price-ask { font-size: 18px; }
.theme-gta .badge, .theme-gta .card-badge { background: #ffe76a; color: #1a0833; }
.theme-gta .card { background: rgba(23, 10, 48, .78); border-color: rgba(255,255,255,.14); }
.theme-gta .acc { border-color: rgba(255,255,255,.14); }
.theme-gta .site-footer { background: rgba(14, 5, 30, .92); }
.theme-gta .pdp-write-head { background: linear-gradient(160deg, #ff4fa3, #6b2bd9); color: #fff; }
.theme-gta .pdp-write-head * { color: inherit; }
.theme-gta .rv-send-btn { background: linear-gradient(90deg, #ff4fa3, #ff9a3c); color: #1a0833; }

/* ===================== 3D cut-out models (GTA) ===================== */
.m3d { position: absolute; inset: 4% 6% 9%; perspective: 1000px; pointer-events: none; }
.m3d-obj { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.m3d-obj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: translateZ(calc(var(--z, 0) * 1.7px)); -webkit-user-drag: none; user-select: none; }
.m3d-obj .m3d-l { filter: brightness(.42) saturate(.7); }
.m3d-obj .m3d-front { transform: translateZ(1px); }
.m3d-glare { position: absolute; inset: 0; transform: translateZ(2px); pointer-events: none; opacity: .5;
  background: radial-gradient(45% 40% at var(--gx, 50%) var(--gy, 35%), rgba(255,255,255,.85), rgba(255,255,255,0) 70%);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; mix-blend-mode: overlay; }
.m3d-shadow { position: absolute; left: 14%; right: 14%; bottom: -3%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 4, 30, .6), rgba(14, 4, 30, 0));
  transform: translateX(calc(var(--ry, 0deg) / 1deg * -.3%)) scaleX(calc(1 - var(--ry, 0deg) / 1deg * .004)); }
/* slides and the mini spotlight turn on their own */
.m3d.auto .m3d-obj { animation: m3dSway 9s ease-in-out infinite; }
.m3d.auto .m3d-glare { animation: m3dGlare 9s ease-in-out infinite; }
@keyframes m3dSway { 0%, 100% { transform: rotateY(-24deg) rotateX(4deg); } 50% { transform: rotateY(24deg) rotateX(-3deg); } }
@keyframes m3dGlare { 0%, 100% { --gx: 20%; } 50% { --gx: 80%; } }
@media (prefers-reduced-motion: reduce) { .m3d.auto .m3d-obj, .m3d.auto .m3d-glare { animation: none; } }

/* product page: no frame or panel behind the product, just the model */
.stage-3d { background: none !important; box-shadow: none; overflow: visible; }
.stage-3d > img.current, .stage-3d > img.leaving, .stage-3d > img.entering { opacity: 0 !important; pointer-events: none; }
.stage-3d .m3d { inset: 2% 4% 8%; }
.stage-3d.grabbing .m3d-obj { transition: none; }

/* "Price on WhatsApp" a little quieter, with a direct WhatsApp button */
.pdp-price .price.price-ask { font-size: clamp(17px, 2vw, 20px); font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.theme-gta .pdp-price .price.price-ask { color: #ffe76a; }
.btn.wa-direct { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #0c2c17; border: 0; margin: 6px 0 4px; }
.btn.wa-direct svg { width: 20px; height: 20px; }
.btn.wa-direct.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn.wa-direct.btn-ghost svg { color: #25d366; }

/* footer stays readable on GTA pages */
.theme-gta .site-footer { --cream: #f4ecdf; --cream-2: #ece2d0; --cream-3: #e3d6bf; --ink: #161513; --ink-2: #2c2a26; --muted: #6e675c; --line: rgba(22, 21, 19, .12); --accent: #ff4fa3; --accent-ink: #ff8cc6; color: #f4ecdf; }

/* ---------- home: GTA slide ---------- */
.hs-gta { color: #fff; background: linear-gradient(180deg, #2a0d55 0%, #6b2bd9 34%, #ff4fa3 66%, #ff9a3c 86%); }
.hs-vice { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hs-vice .vice-svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 80%; }
.hs-vice .gta-grid { opacity: .4; height: 22%; }
.hs-gta .hs-grid { position: relative; z-index: 1; }
.hs-gta .hs-kicker { color: #ffe76a; }
.hs-gta .hs-title { color: #fff; text-shadow: 0 4px 0 #ff2e8c, 0 10px 30px rgba(26, 8, 51, .45); }
.hs-gta .hs-lead { color: rgba(255,255,255,.9); }
.hs-gta .hs-price .price-ask { font-size: 18px; font-weight: 700; color: #ffe76a; }
.hs-gta .gta-tag { background: #1a0b3a; color: #ffd6ec; }
.btn.gta-btn { background: linear-gradient(90deg, #ff4fa3, #ff9a3c); color: #1a0833; border: 0; }
.hs-visual.hs-model { position: relative; display: block; min-height: 340px; }
.hs-model .m3d { inset: 0 2% 6%; }
@media (max-width: 760px) { .hs-visual.hs-model { min-height: 260px; } }

/* ---------- home: mini spotlight ---------- */
.spot-mini { position: relative; z-index: 1; overflow: hidden; margin-top: clamp(18px, 2.5vw, 30px); border-radius: 24px; min-height: 260px;
  display: grid; grid-template-columns: minmax(180px, 34%) 1fr; align-items: center; gap: clamp(12px, 3vw, 40px); padding: clamp(18px, 2.5vw, 30px) clamp(20px, 3vw, 44px); color: #fff;
  background: linear-gradient(180deg, #2a0d55 0%, #6b2bd9 38%, #ff4fa3 72%, #ff9a3c 92%); }
.sm-vice { position: absolute; inset: 0; pointer-events: none; }
.sm-vice .vice-svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 90%; opacity: .9; }
.sm-model { position: relative; display: block; height: clamp(230px, 28vw, 320px); }
.sm-model .m3d { inset: 0; }
.sm-copy { position: relative; text-align: left; }
.sm-copy .bs-pill { background: #1a0b3a; color: #ffd6ec; }
.sm-copy .spot-title { color: #fff; margin: 10px 0 6px; text-shadow: 0 3px 0 #ff2e8c; }
.sm-copy .bs-short { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 0 14px; }
.sm-copy .bs-actions { justify-content: flex-start; }
@media (max-width: 700px) { .spot-mini { grid-template-columns: 1fr; text-align: center; } .sm-copy { text-align: center; } .sm-copy .bs-actions { justify-content: center; } .sm-copy .bs-short { margin-inline: auto; } }
.sm-vice .vice-svg > circle, .sm-vice .vice-svg > g[clip-path] { display: none; }
.sm-vice::before { content: ""; position: absolute; left: 17%; top: 50%; width: clamp(170px, 22vw, 250px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -54%);
  background: repeating-linear-gradient(180deg, transparent 0 58%, #2a0f4a 58% 62%, transparent 62% 68%, #2a0f4a 68% 73%, transparent 73% 79%, #2a0f4a 79% 85%, transparent 85%), linear-gradient(180deg, #ffe76a, #ff8a3d 55%, #ff3d8b); }
@media (max-width: 700px) { .sm-vice::before { left: 50%; top: 32%; } }

/* ===================== shop: custom gifts | 3D models ===================== */
.shop-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 22px; }
.ss-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 128px; padding: 18px 20px; border-radius: 22px; text-align: left; color: var(--ink);
  background: var(--cream-2); box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .35s var(--ease), box-shadow .3s, filter .3s; filter: saturate(.75); opacity: .82; }
.ss-tab:hover { transform: translateY(-2px); opacity: 1; filter: none; }
.ss-tab.active { opacity: 1; filter: none; box-shadow: inset 0 0 0 2.5px var(--ink), 0 18px 34px -22px rgba(0,0,0,.45); }
.ss-text { position: relative; z-index: 1; display: grid; gap: 4px; flex: 1; min-width: 0; }
.ss-text b { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.05; text-transform: uppercase; }
.ss-text small { font-size: 13.5px; line-height: 1.35; opacity: .8; }
.ss-text em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 700; }
.ss-text em .arrow { width: 14px; height: 14px; }
.ss-peek { position: relative; display: flex; flex: none; width: 42%; max-width: 210px; height: 100px; }
.ss-peek img { position: absolute; bottom: 0; width: 46%; height: 86%; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.ss-peek img:nth-child(1) { left: 0; transform: rotate(-7deg); }
.ss-peek img:nth-child(2) { left: 27%; z-index: 2; height: 100%; }
.ss-peek img:nth-child(3) { right: 0; transform: rotate(7deg); }
.ss-custom { background: linear-gradient(135deg, #fbe3d2, #f3d2dd); }
.ss-3d { color: #fff; background: linear-gradient(160deg, #2a0d55 0%, #6b2bd9 45%, #ff4fa3 85%, #ff9a3c 100%); }
.ss-3d .ss-peek img { object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 12px rgba(20,5,40,.55)); }
.ss-3d.active { box-shadow: inset 0 0 0 2.5px #ffe76a, 0 18px 34px -22px rgba(60,10,90,.7); }
@media (max-width: 640px) {
  .shop-split { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ss-tab { flex-direction: column-reverse; align-items: stretch; min-height: 0; padding: 12px; gap: 8px; }
  .ss-peek { width: 100%; max-width: none; height: 74px; }
  .ss-text small { display: none; }
  .ss-text b { font-size: 16px; }
}

/* 3D models outside the GTA range (e.g. One Piece) */
.card-3d .card-media { background: radial-gradient(90% 80% at 50% 35%, #ffffff 0%, #f1e6f2 55%, #e2d2ec 100%); }
.card-3d .card-media img { object-fit: contain; padding: 8%; filter: drop-shadow(0 18px 20px rgba(40, 20, 60, .35)); }

/* ===================== checkout (UPI) ===================== */
.co-hero { padding-bottom: 0; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(18px, 3vw, 36px); align-items: start; }
.co-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; flex-wrap: wrap; }
.co-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 99px; background: var(--cream-2); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.co-steps li b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-3); font-size: 12px; }
.co-steps li.on { background: var(--ink); color: var(--cream); }
.co-steps li.on b { background: var(--accent); color: #fff; }
.co-steps li.done b { background: var(--green); color: #fff; }
.co-panel { background: #fff; border-radius: 22px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0,0,0,.35); }
.co-panel h2 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 16px; text-transform: uppercase; }
.co-panel h3 { margin: 18px 0 10px; font-size: 15px; }
.co-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.co-field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13.5px; font-weight: 600; }
.co-field input, .co-field textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); }
.co-field input:focus, .co-field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.co-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.co-hint svg { width: 16px; height: 16px; }
.co-err { min-height: 1.2em; color: #c2253f; font-size: 14px; margin: 4px 0 10px; }
.co-err a { color: inherit; text-decoration: underline; }
.co-alt { text-align: center; font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.co-alt a { color: var(--ink); text-decoration: underline; }
.co-intl { background: #fff4d6; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.co-intl a { text-decoration: underline; }
.co-pay { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; margin-bottom: 18px; }
.co-qr { display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.co-qr-box { width: 220px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px; padding: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; font-size: 13px; }
.co-qr-box svg { width: 100%; height: 100%; display: block; }
.co-payinfo { display: grid; gap: 10px; }
.co-amt { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--cream); }
.co-amt b { font-family: var(--display); font-weight: 400; font-size: 28px; }
.co-upi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--cream); font-size: 14px; }
.co-upi span { color: var(--muted); }
.co-upi b { font-size: 15px; word-break: break-all; }
.co-copy { margin-left: auto; padding: 5px 12px; border-radius: 99px; background: var(--ink); color: var(--cream); font-size: 12.5px; font-weight: 700; }
.co-app { display: none; }
.co-how { margin: 4px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.co-ref { border-top: 1px solid var(--line); padding-top: 16px; }
.co-back { display: block; margin: 12px auto 0; color: var(--muted); font-size: 14px; text-decoration: underline; }
.co-sum { position: sticky; top: 110px; }
.co-sum-in { background: var(--cream-2); border-radius: 22px; padding: 22px; }
.co-sum h3 { margin: 0 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.co-item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.co-item img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; padding: 4px; }
.co-item b { display: block; font-size: 15px; }
.co-item small { display: block; color: var(--muted); font-size: 13px; }
.co-line { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.co-total b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.co-change { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); text-decoration: underline; }
.co-done { text-align: center; display: grid; justify-items: center; gap: 10px; }
.co-tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: greetPop .6s cubic-bezier(.34,1.7,.64,1) both; }
.co-tick svg { width: 32px; height: 32px; }
.co-done p { max-width: 46ch; margin: 0; }
.co-done-row { display: flex; justify-content: space-between; width: min(360px, 100%); padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.co-done-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
@media (hover: none) and (pointer: coarse) { .co-app { display: inline-flex; justify-content: center; background: #5f259f; color: #fff; } }
@media (max-width: 860px) { .co { grid-template-columns: 1fr; } .co-sum { position: static; order: -1; } }
@media (max-width: 560px) { .co-pay { grid-template-columns: 1fr; } .co-qr-box { width: min(240px, 100%); } }

/* ===================== admin ===================== */
.ad-section { padding-top: 24px; }
.ad-login { max-width: 380px; margin: 40px auto; background: #fff; border-radius: 22px; padding: 28px; text-align: center; box-shadow: 0 20px 40px -30px rgba(0,0,0,.4); }
.ad-login .co-field { text-align: left; }
.ad-login h1 { font-size: 30px; margin: 10px 0 4px; }
.ad-lock { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); }
.ad-lock svg { width: 22px; height: 22px; }
.ad-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.ad-top h1 { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.ad-sub { margin: 4px 0 0; }
.ad-tools { display: flex; gap: 8px; }
.ad-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ad-bar .field { flex: 1 1 260px; max-width: 420px; }
.ad-bar .field input { width: 100%; }
.ad-list { display: grid; gap: 14px; }
.ad-order { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: inset 4px 0 0 #e9b949, 0 1px 0 var(--line); }
.ad-order.st-completed { box-shadow: inset 4px 0 0 var(--green), 0 1px 0 var(--line); }
.ad-order.st-cancelled { box-shadow: inset 4px 0 0 #c2253f, 0 1px 0 var(--line); opacity: .75; }
.ad-order header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ad-code { font-family: var(--display); font-weight: 400; font-size: 18px; margin-right: 10px; }
.ad-order header small { color: var(--muted); font-size: 13px; }
.ad-status { font: inherit; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff7df; }
.st-completed .ad-status { background: #dff7e8; }
.st-cancelled .ad-status { background: #fde3e8; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 18px; }
.ad-grid > div { display: grid; gap: 2px; align-content: start; }
.ad-grid span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ad-grid b { font-size: 15px; white-space: pre-line; }
.ad-grid small { color: var(--ink-2); font-size: 13.5px; }
.ad-grid small a { text-decoration: underline; }
.ad-grid p { margin: 0; font-size: 14px; white-space: pre-line; }
.ad-wide { grid-column: 1 / -1; }
.ad-amt { font-family: var(--display); font-weight: 400; font-size: 20px !important; }
.ad-ref { font-family: ui-monospace, Consolas, monospace; letter-spacing: .03em; }
.ad-order footer { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ad-wa { background: #25d366; color: #0c2c17; display: inline-flex; gap: 8px; align-items: center; }
.ad-wa svg { width: 16px; height: 16px; }
.ad-del { color: #c2253f; }

/* ===================== the © in the footer (hold it for 2 seconds) ===================== */
.cr-mark { position: relative; display: inline-block; cursor: default; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; transition: transform .3s, color .3s; }
.cr-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: conic-gradient(#ff4fa3 calc(var(--p, 0) * 1turn), transparent 0); -webkit-mask: radial-gradient(closest-side, transparent 72%, #000 76%); mask: radial-gradient(closest-side, transparent 72%, #000 76%); }
.cr-mark.holding { color: #fff; transform: scale(1.25) rotate(-12deg); }
.cr-mark.holding::before { opacity: 1; animation: crFill 2s linear forwards; }
.cr-mark.opened { color: #ffe76a; transform: scale(1.5) rotate(360deg); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes crFill { to { --p: 1; } }
.cr-burst { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
.cr-burst i { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 2px; background: var(--c); animation: crBurst .7s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes crBurst { from { transform: translate(0, 0) scale(.4); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(300deg) scale(1); opacity: 0; } }

/* ===================== Custom 3D Model: quote + real 3D figure ===================== */
.quote-note { display: grid; gap: 4px; padding: 14px 16px; margin: 8px 0 12px; border-radius: 16px; background: var(--cream-2); box-shadow: inset 4px 0 0 var(--accent); font-size: 14.5px; line-height: 1.5; }
.quote-note b { font-size: 15px; }
.quote-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.quote-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.quote-actions .btn svg { width: 18px; height: 18px; }
.stage-fig { cursor: grab; background: radial-gradient(90% 75% at 50% 38%, #fffaf3 0%, #f3e3ee 60%, #e3d0ea 100%) !important; border-radius: var(--radius); overflow: hidden; }
.stage-fig:active { cursor: grabbing; }
.fig-canvas { position: absolute; inset: 0; display: grid; place-items: center; }
.fig-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.fig-canvas img { max-width: 80%; max-height: 80%; object-fit: contain; }
.fig-load { color: var(--muted); font-size: 14px; }

/* visible to search engines and screen readers only */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
