/* ==========================================================================
   JOLA — "نسجنا من الأحلام ثوبًا ومن الحب حكاية"
   Palette + motifs taken from the JOLA brand poster: candy-pink diamonds,
   cream, baby-blue ribbons, gold frames, brown storybook outlines, swans, lace.
   ========================================================================== */

:root {
  --pink: #F8CDD8;
  --pink-lt: #FADCE3;
  --pink-dk: #F4BFCC;
  --rose: #F2A3B8;
  --rose-deep: #DD7495;
  --cream: #FFFFFF;
  --cream-2: #FDEFD8;
  --blue: #E0BEF4;
  --blue-dk: #86BDE8;
  --gold: #F2D88E;
  --gold-dk: #CDA95C;
  --lilac: #E0BEF4;
  --ink: #5C4134;
  --ink-2: #8A6C5D;
  --ink-3: #B39A8C;
  --line: rgba(92, 65, 52, .18);

  --glow: #FFF4E4;

  --f-display: 'Baloo Bhaijaan 2', 'Nunito', system-ui, sans-serif;
  --f-body: 'Nunito', 'Tajawal', system-ui, sans-serif;

  --header-h: 82px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);

  --diamonds: repeating-conic-gradient(from 45deg, var(--pink-lt) 0 25%, var(--pink) 0 50%);
  --diamonds-cream: repeating-conic-gradient(from 45deg, #FFFAF0 0 25%, #FDF1DE 0 50%);
}

html[lang="ar"] { --f-body: 'Tajawal', 'Nunito', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px dashed var(--rose-deep); outline-offset: 3px; border-radius: 8px; }

[dir="rtl"] .flip { transform: scaleX(-1); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 15px; letter-spacing: .06em;
  color: var(--rose-deep);
}
.eyebrow::before, .eyebrow::after { content: "✦"; color: var(--gold-dk); font-size: 11px; }
em { font-style: normal; color: var(--rose-deep); }

/* sparkles */
.spark { position: absolute; width: 22px; height: 22px; pointer-events: none; animation: twinkle 3.2s var(--ease-soft) infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.55) rotate(0deg); opacity: .5; } 50% { transform: scale(1) rotate(20deg); opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 54px; padding: 0 28px;
  border-radius: 999px; border: 2px solid var(--ink);
  font-family: var(--f-display); font-size: 17px; font-weight: 600;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { font-size: 19px; }
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn--pink { background: var(--rose); color: var(--ink); }
.btn--pink:hover { background: #F4AFC1; }
.btn--cream { background: var(--cream); }
.btn--cream:hover { background: #fff; }
.btn--wide { width: 100%; }
.link { color: var(--rose-deep); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-style: wavy; }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, transform .3s var(--bounce); }
.icon-btn:hover { background: rgba(242, 163, 184, .25); transform: scale(1.08); }
.icon-btn svg { font-size: 23px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: #fff;
  transition: opacity .8s var(--ease-soft), visibility .8s;
}
.loader__logo { width: min(300px, 64vw); animation: pop 1.1s var(--bounce) both; filter: drop-shadow(0 18px 24px rgba(160, 90, 110, .25)); }
.loader .spark { width: 30px; height: 30px; }
.loader .s1 { top: 34%; left: 30%; } .loader .s2 { top: 60%; right: 30%; animation-delay: -1s; } .loader .s3 { top: 28%; right: 34%; width: 20px; height: 20px; animation-delay: -2s; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
@keyframes pop { 0% { transform: scale(.6) rotate(-4deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
}
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); }
.nav { display: flex; gap: 30px; font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.nav a, .nav-link-love { position: relative; padding: 4px 0; transition: color .3s; }
.nav a:hover, .nav-link-love:hover { color: var(--rose-deep); }
.nav a::after, .nav-link-love::after {
  content: "♡"; position: absolute; left: 50%; bottom: -14px; translate: -50% 0; font-size: 12px; color: var(--rose-deep);
  opacity: 0; transform: translateY(-4px) scale(.6); transition: all .35s var(--bounce);
}
.nav a:hover::after, .nav-link-love:hover::after { opacity: 1; transform: none; }
.header__menu { display: none; }

.logo { display: block; transition: transform .5s var(--bounce); }
.logo:hover { transform: rotate(-3deg) scale(1.05); }
.logo img { height: 52px; width: auto; filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .8)); }

.header__end { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.lang {
  height: 38px; min-width: 52px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--cream); font-family: var(--f-display); font-weight: 600; font-size: 14px;
  box-shadow: 0 2px 0 var(--ink); transition: transform .2s, box-shadow .2s;
}
.lang:hover { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.bag-btn { position: relative; }
.bag-count {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--rose); border: 1.5px solid var(--ink); color: var(--ink); font-size: 11px; line-height: 17px; text-align: center; font-weight: 800;
  transform: scale(0); transition: transform .4s var(--bounce);
}
.bag-count.has { transform: scale(1); }
.bag-count.bump { animation: bump .6s var(--bounce); }
@keyframes bump { 40% { transform: scale(1.5) rotate(-10deg); } }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60; background: #fff;
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 26px;
  clip-path: circle(0% at 30px 40px); transition: clip-path .7s var(--ease-soft);
}
.menu.open { clip-path: circle(150% at 30px 40px); }
[dir="rtl"] .menu { clip-path: circle(0% at calc(100% - 30px) 40px); }
[dir="rtl"] .menu.open { clip-path: circle(150% at calc(100% - 30px) 40px); }
.menu__logo { width: 170px; }
.menu nav { display: grid; gap: 10px; font-family: var(--f-display); font-size: 30px; font-weight: 600; }
.menu nav a { padding: 4px 24px; border-radius: 999px; }
.menu nav a:hover { background: rgba(255, 248, 234, .7); }
.menu__close { position: absolute; top: 18px; inset-inline-start: 14px; background: var(--cream); border: 2px solid var(--ink); }
.menu__swans { position: absolute; bottom: 4%; left: 4%; width: 34vw; max-width: 160px; }
.menu__swans.r { left: auto; right: 4%; }

/* ---------- Main banner + image banners ---------- */
/* the owner's banner art sits on a flat lilac (#EDE6FF), so the band can be any height without seams */
.hero-banner { background: #EDE6FF; display: flex; justify-content: center; }
.hero-banner__link { display: block; width: 100%; }
.hero-banner img { width: 100%; height: auto; }
.banner { display: block; width: 100%; overflow: hidden; }
.banner img { width: 100%; height: auto; }

/* ---------- Section tiles (owner's artwork, 2026-10-17) ---------- */
/* one row of three equal tiles (owner, 2026-10-17 PM: same size, art cropped closer) */
.cats { display: flex; gap: clamp(8px, 1.6vw, 22px); max-width: 1180px; margin: 0 auto; padding: clamp(18px, 3vw, 40px) var(--gutter); background: #fff; }
.cat { flex: 1 1 0%; min-width: 0; display: grid; gap: clamp(6px, 1vw, 12px); text-align: center; }
.cat img { width: 100%; height: auto; transition: transform .5s var(--ease), filter .3s; }
.cat:hover img { transform: translateY(-4px); filter: brightness(1.03); }
.cat span { font-family: var(--f-display); font-weight: 700; font-size: clamp(14px, 1.7vw, 22px); line-height: 1.3; color: #1A1A1A; }
.cat[aria-current] span { text-decoration: underline 2px; text-underline-offset: 6px; }

/* ---------- Ribbon ---------- */
.ribbon {
  position: relative; overflow: hidden; z-index: 3;
  background: var(--lilac); border-block: 2px solid var(--ink);
}
.ribbon::before { content: ""; position: absolute; inset: 4px 0; border-block: 1.5px dashed rgba(255, 255, 255, .8); pointer-events: none; }
.ribbon__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .ribbon__track { animation-name: marquee-rtl; }
.ribbon__track span { display: inline-flex; align-items: center; gap: 24px; padding: 13px 12px; font-family: var(--f-display); font-size: 19px; font-weight: 600; white-space: nowrap; }
.ribbon__track svg { width: 18px; height: 18px; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) var(--gutter); position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); position: relative; }
.section__bow { width: 96px; margin: 0 auto 6px; animation: bob 5s var(--ease-soft) infinite; }
.section__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.2; margin: 10px 0 14px; }
html[lang="ar"] .section__title { line-height: 1.35; }
.section__sub { color: var(--ink-2); font-size: 18px; font-weight: 500; }
.center { display: flex; justify-content: center; }

.collection { background: #fff; padding-top: clamp(36px, 5vw, 64px); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 56px) clamp(14px, 2vw, 28px); max-width: 1440px; margin: 0 auto; }
.card { position: relative; cursor: pointer; transition: transform .6s var(--ease); }
.card.hidden { display: none; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #F7F4FB; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; white-space: nowrap;
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  padding: 2px 12px; border-radius: 999px; background: #fff;
}
.card__badge--sale { background: var(--rose); }
.card__name { margin-top: 16px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: #B79BE0; }
.card__price { margin: 4px 0 14px; text-align: center; font-size: 16px; color: var(--ink); }
.card__price b { font-weight: 800; }
.card__price s, .pd__price s { color: var(--ink-3); font-weight: 500; font-size: .85em; }
.card__price b.is-sale { color: var(--rose-deep); }
.card__tools { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; display: grid; gap: 8px; }
.card__tool { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: transform .2s; }
.card__tool:hover { transform: scale(1.08); }
.card__tool svg { width: 19px; height: 19px; }
.card__tool[aria-pressed="true"] { color: var(--rose-deep); --fill: var(--rose); }
.amt { display: inline-flex; align-items: center; gap: .25em; white-space: nowrap; }
.sar { width: .9em; height: 1em; }
.card__add {
  width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--sky); color: var(--sky-ink); font-family: var(--f-display); font-weight: 600; font-size: 17px;
  transition: background .25s;
}
.card__add:hover { background: var(--sky-dk); }
.card__add svg { width: 18px; height: 18px; }

/* ---------- Details ---------- */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1280px; margin: 0 auto; }
.details__media { position: relative; padding: 30px 0 60px; }
.frame { overflow: hidden; background: var(--cream-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.frame:hover img { transform: scale(1.05); }
.frame--arch {
  border-radius: 999px 999px 30px 30px; aspect-ratio: 3 / 4.2; width: 76%;
  border: 4px solid var(--gold); box-shadow: 0 0 0 2px var(--ink), 0 40px 70px -40px rgba(150, 80, 100, .6);
}
.details__bow { position: absolute; top: -4px; left: 38%; translate: -50% 0; width: 30%; z-index: 3; }
[dir="rtl"] .details__bow { left: 62%; }
.frame--small {
  position: absolute; bottom: 10px; inset-inline-end: 0; width: 40%; aspect-ratio: 1; border-radius: 50%;
  border: 8px dotted #fff; outline: 2px solid var(--ink); box-shadow: 0 0 0 6px var(--cream), 0 30px 50px -30px rgba(150, 80, 100, .6);
}
.frame--small img { object-position: 50% 35%; transform: scale(1.5); }
.frame--small:hover img { transform: scale(1.6); }
.details__heart { position: absolute; bottom: 0; inset-inline-start: 6%; width: 64px; animation: bob 4s var(--ease-soft) infinite; }
.details .d1 { top: 20%; inset-inline-end: 16%; width: 30px; height: 30px; } .details .d2 { top: 60%; inset-inline-start: -2%; animation-delay: -1.5s; }
.details__copy .section__title { margin-bottom: 34px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.features li { display: flex; gap: 20px; align-items: flex-start; padding: 18px 20px; border-radius: 24px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transition: transform .3s var(--bounce); }
.features li:hover { transform: translateY(-3px) rotate(-.5deg); }
.features svg { width: 50px; height: 50px; color: var(--ink); padding: 10px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); }
.features li:nth-child(2) svg { background: var(--blue); }
.features li:nth-child(3) svg { background: var(--gold); }
.features h3 { font-family: var(--f-display); font-size: 22px; margin-bottom: 2px; }
.features p { color: var(--ink-2); font-weight: 500; }

/* ---------- Love ---------- */
.love { background: #fff; padding-block: clamp(30px, 5vw, 60px) 0; }
.stats { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); flex-wrap: wrap; margin-bottom: 60px; }
.stat { text-align: center; min-width: 180px; padding: 22px 26px; border-radius: 30px; background: var(--cream); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.stat b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 5vw, 70px); line-height: 1; direction: ltr; color: var(--rose-deep); }
.stat span { font-size: 15px; color: var(--ink-2); font-weight: 600; }
.reels { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 30px); margin-bottom: 44px; padding: 30px 0; }
.reel {
  position: relative; width: clamp(130px, 15vw, 200px); padding: 10px 10px 34px; border-radius: 6px; background: #fff;
  box-shadow: 0 0 0 2px var(--ink), 0 20px 30px -18px rgba(120, 60, 80, .6);
  transition: transform .5s var(--bounce), rotate .5s var(--bounce);
}
.reel:nth-child(odd) { rotate: -4deg; }
.reel:nth-child(even) { rotate: 3deg; translate: 0 16px; }
.reel:hover { rotate: 0deg; transform: translateY(-10px) scale(1.04); z-index: 2; }
.reel::before { content: ""; position: absolute; top: -12px; left: 50%; translate: -50% 0; rotate: -4deg; width: 70px; height: 24px; background: rgba(191, 224, 250, .85); border: 1px solid rgba(92, 65, 52, .2); z-index: 2; }
.reel:nth-child(even)::before { background: rgba(242, 163, 184, .8); rotate: 5deg; }
.reel img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; border-radius: 3px; }
.reel span { position: absolute; bottom: 6px; inset-inline: 0; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 15px; direction: ltr; }
.reel span::before { content: "▶ "; color: var(--rose-deep); font-size: 11px; }
.love__quote { text-align: center; font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; }

/* ---------- FAQ ---------- */
/* ---------- Perks ---------- */
.perks { padding-block: clamp(40px, 6vw, 80px) 0; }
.perks__grid { list-style: none; padding: 0; margin: 0 auto; max-width: 1180px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.perks__grid li { text-align: center; padding: 26px 16px 22px; border-radius: 26px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transition: transform .3s var(--bounce); }
.perks__grid li:hover { transform: translateY(-3px); }
.perks__grid svg { width: 58px; height: 58px; margin: 0 auto 12px; padding: 13px; border-radius: 50%; color: var(--ink); background: var(--sky); border: 2px solid var(--ink); }
.perks__grid h3 { font-family: var(--f-display); font-size: 21px; margin-bottom: 2px; }
.perks__grid p { color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.6; }

.faq { background: #fff; }
.faq .section__title { color: #1A1A1A; }
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.faq__item {
  background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: 0 4px 0 var(--ink);
  transition: background .3s, box-shadow .3s;
}
.faq__item.open { background: var(--cream); box-shadow: 0 4px 0 var(--ink), inset 0 0 0 5px #fff; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: start;
  padding: 20px 24px; font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.45;
}
.faq__q i {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky); color: var(--sky-ink); border: 2px solid var(--ink); transition: transform .45s var(--bounce), background .3s;
}
.faq__q i svg { width: 20px; height: 20px; }
.faq__item.open .faq__q i { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 22px; color: var(--ink-2); font-size: 16.5px; font-weight: 500; }
.faq__a p b { color: var(--ink); }
.faq__a a { color: var(--rose-deep); font-weight: 700; text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
/* lilac footer with an arched top, the owner's fairies in the corners, payment badges last */
.footer { position: relative; margin-top: clamp(50px, 7vw, 100px); text-align: center; color: #6B4A86; }
.footer__sky {
  position: relative; overflow: hidden; background: #E9E3FF;
  border-radius: 50% 50% 0 0 / clamp(34px, 7vw, 110px) clamp(34px, 7vw, 110px) 0 0;
  padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(40px, 5vw, 70px);
  display: grid; justify-items: center; gap: clamp(26px, 3.5vw, 40px);
}
.footer__fairy { position: absolute; bottom: 0; width: clamp(120px, 17vw, 250px); pointer-events: none; animation: bob 6s var(--ease-soft) infinite; }
.footer__fairy.l { left: 0; } .footer__fairy.r { right: 0; animation-delay: -3s; }
.footer__brand { display: grid; justify-items: center; gap: 12px; }
.footer__brand img { width: clamp(170px, 22vw, 260px); height: auto; }
.footer__brand p { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; }
.footer__links { display: grid; gap: 8px; }
.footer__links h4 { font-family: var(--f-display); font-size: 20px; color: #6B4A86; margin-bottom: 4px; }
.footer__links a { font-size: 16px; font-weight: 600; transition: color .3s; }
.footer__links a:hover { color: var(--rose-deep); }
.footer__contact { display: grid; justify-items: center; gap: 14px; }
.footer__social { display: flex; justify-content: center; gap: 10px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.footer__social a:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.footer__social svg { font-size: 20px; }
.footer__wa { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font-weight: 700; }
.footer__wa svg { color: #25A55F; font-size: 20px; }
.footer__verified { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.footer__verified svg { width: 28px; height: 28px; }
.footer__base { background: #E9E3FF; padding: 22px var(--gutter) calc(96px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.paychips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.paychip { width: 78px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(94, 90, 122, .12); }
.paychip img { width: 62px; height: auto; mix-blend-mode: multiply; }

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  transition: transform .3s var(--bounce), box-shadow .3s, opacity .35s, visibility .35s;
}
.fab:hover { transform: translateY(2px) scale(1.04); box-shadow: 0 2px 0 var(--ink); }
.fab--wa { inset-inline-start: 20px; background: #3DCB7C; color: #fff; }
.fab--wa svg { width: 32px; height: 32px; }
.fab--wa::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #3DCB7C; animation: ping 2.4s var(--ease-soft) infinite; }
@keyframes ping { 0% { transform: scale(.85); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
body.overlay-open .fab { opacity: 0; visibility: hidden; }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(92, 65, 52, .35); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.scrim.show { opacity: 1; visibility: visible; }

.pd {
  position: fixed; z-index: 80; left: 50%; top: 50%;
  width: min(1060px, calc(100vw - 40px)); height: min(720px, calc(100svh - 40px));
  translate: -50% -46%; scale: .96; opacity: 0; visibility: hidden;
  background: var(--cream); border-radius: 32px; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 0 8px 0 var(--ink);
  display: grid; grid-template-columns: 1.05fr 1fr;
  transition: translate .5s var(--bounce), scale .5s var(--bounce), opacity .35s, visibility .35s;
}
.pd.show { translate: -50% -50%; scale: 1; opacity: 1; visibility: visible; }
.pd__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; background: var(--cream); border: 2px solid var(--ink); }
.pd__gallery { position: relative; background: #fff; display: flex; flex-direction: column; min-height: 0; border-inline-end: 2.5px solid var(--ink); }
.pd__main { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.pd__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.pd__main img.cut { object-fit: contain; padding: 8% 10% 14%; filter: drop-shadow(0 20px 18px rgba(120, 70, 80, .25)); }
.pd__main img.model { object-fit: contain; padding-bottom: 96px; }
.pd__main img.on { opacity: 1; }
.pd__looks { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 2px solid var(--ink); font-size: .85rem; font-weight: 600; }
.pd__looks[hidden] { display: none; }
.pd__looks > div { display: flex; gap: 6px; }
.pd__looks button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); position: relative; transition: transform .3s var(--bounce); }
.pd__looks button:hover { transform: scale(1.1); }
.pd__looks button.on::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed var(--ink); }
.pd__thumbs { display: flex; gap: 10px; justify-content: center; padding: 14px; position: absolute; bottom: 0; inset-inline: 0; }
.pd__thumbs button { width: 56px; height: 74px; border-radius: 14px; overflow: hidden; background: var(--cream); border: 2px solid var(--ink); opacity: .7; transition: all .25s; }
.pd__thumbs button.on { opacity: 1; box-shadow: 0 3px 0 var(--ink); transform: translateY(-3px); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumbs img.cut { object-fit: contain; padding: 4px; }
.pd__info { padding: 46px 40px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.pd__title { font-family: var(--f-display); font-weight: 700; font-size: 40px; line-height: 1.2; }
.pd__color { color: var(--ink-2); margin-top: -8px; font-weight: 600; }
.pd__price { font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--rose-deep); }
.pd__desc { color: var(--ink-2); font-weight: 500; }
.pd__info h4 { font-family: var(--f-display); font-size: 16px; margin-bottom: 8px; }
.pd__variantrow { display: flex; gap: 10px; }
.pd__variantrow button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); position: relative; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8), transparent 40%), var(--c); transition: transform .3s var(--bounce); }
.pd__variantrow button:hover { transform: scale(1.1); }
.pd__variantrow button.on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--ink); }
.pd__sizes-head { display: flex; justify-content: space-between; align-items: baseline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; font-weight: 600; font-size: 14px; transition: all .2s; }
.chips button:hover { background: var(--pink-lt); }
.chips button.on { background: var(--pink); box-shadow: 0 3px 0 var(--ink); transform: translateY(-2px); }
.pd__warn { color: var(--rose-deep); font-size: 14px; font-weight: 700; min-height: 1em; margin-top: 6px; }
.pd__sizes.shake .chips { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pd__buy { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; height: 54px; flex: none; background: #fff; }
.qty button { width: 42px; height: 100%; font-size: 20px; font-weight: 700; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.pd__notes { list-style: none; padding: 14px 0 0; margin: 4px 0 0; border-top: 2px dashed var(--line); display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.pd__notes li { display: flex; align-items: center; gap: 12px; }
.pd__notes svg { width: 24px; height: 24px; color: var(--rose-deep); }

/* bag */
.bag {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 85; width: min(440px, 100vw);
  background: var(--cream); display: flex; flex-direction: column; border-inline-start: 2.5px solid var(--ink);
  transform: translateX(105%); transition: transform .6s var(--ease);
}
[dir="rtl"] .bag { transform: translateX(-105%); }
.bag.show { transform: none !important; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 2px dashed var(--line); background: #fff; }
.bag__head h3 { font-family: var(--f-display); font-size: 28px; font-weight: 700; }
.bag__head .icon-btn { background: var(--cream); border: 2px solid var(--ink); }
.bag__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag__empty { text-align: center; padding: 50px 10px; color: var(--ink-2); display: grid; gap: 20px; justify-items: center; font-weight: 600; }
.bag__empty img { width: 120px; animation: bob 4s var(--ease-soft) infinite; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 2px dashed var(--line); align-items: center; }
.line__img { width: 76px; height: 98px; border-radius: 40px 40px 12px 12px; background: linear-gradient(180deg, #fff, #FCE3E8); border: 2px solid var(--gold); box-shadow: 0 0 0 1.5px var(--ink); display: grid; place-items: center; overflow: hidden; }
.line__img img { width: 86%; }
.line h5 { margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.line p { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.line__end { text-align: end; display: grid; gap: 8px; justify-items: end; }
.line .qty { height: 34px; }
.line .qty button { width: 30px; font-size: 16px; }
.line__rm { font-size: 12px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.bag__foot { padding: 18px 24px 24px; border-top: 2px solid var(--ink); background: #fff; }
.bag__code { display: flex; gap: 8px; }
.bag__code input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 2px solid var(--ink); background: var(--cream); padding: 0 18px; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink); text-transform: uppercase; }
.bag__code input:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px var(--pink); }
.bag__code button { height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: var(--blue); font-family: var(--f-display); font-weight: 600; }
.bag__codemsg { font-size: 13px; font-weight: 700; min-height: 20px; margin: 6px 6px 4px; color: var(--rose-deep); }
.bag__sum { margin: 0 0 16px; display: grid; gap: 4px; }
.bag__sum div { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; }
.bag__sum dd { margin: 0; }
.bag__total { font-family: var(--f-display); font-size: 20px !important; padding-top: 8px; border-top: 2px dashed var(--line); }
.bag__soon { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 10px; font-weight: 600; }

/* size guide */
.sg {
  position: fixed; z-index: 90; left: 50%; top: 50%; translate: -50% -46%; scale: .95; width: min(520px, calc(100vw - 32px));
  background: var(--cream); border-radius: 28px; padding: 32px; border: 2.5px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  opacity: 0; visibility: hidden; transition: translate .5s var(--bounce), scale .5s var(--bounce), opacity .3s, visibility .3s;
}
.sg.show { translate: -50% -50%; scale: 1; opacity: 1; visibility: visible; }
.sg > .icon-btn { position: absolute; top: 12px; inset-inline-end: 12px; border: 2px solid var(--ink); }
.sg h3 { font-family: var(--f-display); font-size: 30px; margin-bottom: 16px; }
.sg table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 14px; font-weight: 500; }
.sg th { text-align: start; font-family: var(--f-display); font-weight: 600; padding: 8px 6px; border-bottom: 2px solid var(--ink); }
.sg td { padding: 9px 6px; border-bottom: 1.5px dashed var(--line); }
.sg p { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.doc { width: min(640px, calc(100vw - 32px)); max-height: min(80svh, 720px); display: flex; flex-direction: column; padding: 46px 30px 28px; overflow: visible; }
.doc__bow { position: absolute; top: -40px; left: 50%; translate: -50% 0; width: 120px; }
.doc h3 { text-align: center; color: #1A1A1A; }
.doc__body { overflow-y: auto; padding-inline-end: 6px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.doc__body p { font-size: 16px; margin-bottom: 12px; }
.doc__body h4 { font-family: var(--f-display); font-size: 19px; color: var(--ink); margin: 18px 0 6px; }
.doc__body ul { margin: 0 0 12px; padding-inline-start: 22px; }
.doc__body li { margin-bottom: 4px; }
.doc__body li::marker { content: "♡  "; color: var(--rose-deep); }
.doc__body b { color: var(--ink); }

.toast {
  position: fixed; bottom: 28px; left: 50%; translate: -50% 30px; z-index: 95;
  background: var(--cream); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  padding: 10px 22px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: 16px;
  opacity: 0; transition: all .5s var(--bounce); pointer-events: none;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-soft), transform 1s var(--bounce); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 20px; font-size: 16px; }
  .nav-link-love { display: none; }
}
@media (max-width: 860px) {
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .perks__grid li { padding: 20px 10px 16px; }
  .perks__grid h3 { font-size: 18px; }
  .perks__grid p { font-size: 13.5px; }
  :root { --header-h: 66px; }
  .nav { display: none; }
  .header__menu { display: grid; margin-inline-start: -8px; }
  .logo img { height: 40px; }
  .header__end { gap: 6px; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; }
  .card__name { font-size: 17px; margin-top: 12px; }
  .card__add { height: 46px; font-size: 15px; }
  .card__badge { font-size: 11px; padding: 1px 9px; top: 8px; inset-inline-end: 8px; }
  .card__tools { top: 8px; inset-inline-start: 8px; gap: 6px; }
  .card__tool { width: 32px; height: 32px; }
  .card__tool svg { width: 16px; height: 16px; }

  .details { grid-template-columns: 1fr; }
  .details__media { max-width: 440px; margin: 0 auto; width: 100%; }

  .stats { gap: 12px; }
  .stat { min-width: 0; flex: 1 1 40%; padding: 16px 12px; }
  .reels { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 30px var(--gutter) 40px; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: none; width: 44vw; scroll-snap-align: center; }

  .footer__sky { padding-bottom: 210px; }
  .paychips { display: grid; grid-template-columns: repeat(3, 78px); }
  .faq__q { font-size: 17px; padding: 16px 18px; }
  .faq__a p { padding: 0 18px 18px; font-size: 15.5px; }
  .faq__q i { width: 36px; height: 36px; }
  .fab { width: 54px; height: 54px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .fab--wa { inset-inline-start: 14px; }
  .fab--wa svg { width: 28px; height: 28px; }

  .pd {
    left: 0; top: auto; bottom: 0; width: 100vw; height: 94svh; border-radius: 30px 30px 0 0; box-shadow: none;
    grid-template-columns: 1fr; grid-template-rows: 44% 1fr; translate: 0 100%; scale: 1;
  }
  .pd.show { translate: 0 0; }
  .pd__gallery { border-inline-end: 0; border-bottom: 2.5px solid var(--ink); }
  .pd__main img.model { padding-top: 60px; }
  .pd__info { padding: 24px 20px 30px; }
  .pd__title { font-size: 32px; }
}
@media (max-width: 420px) {
  .btn { height: 50px; padding: 0 22px; font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

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

/* ---------- pages (2026-11-26) ---------- */
:root { --sky: #E0BEF4; --sky-dk: #D3A9EE; --sky-ink: #4B2C5E; --hair: #ececec; }

/* header: logo row + section links row (desktop) */
.header { height: auto; }
.header__inner { height: var(--header-h); }
.logo { grid-column: 2; }
.header__end { grid-column: 3; }
.subnav { display: none; justify-content: center; gap: clamp(22px, 3vw, 44px); padding: 0 var(--gutter); font-family: var(--f-display); font-weight: 600; font-size: 16.5px; border-bottom: 1px solid var(--hair); }
.subnav a { position: relative; padding: 8px 2px 10px; color: #1A1A1A; transition: color .25s; }
.subnav a:hover { color: var(--rose-deep); }
.subnav a[aria-current="page"] { color: #1A1A1A; }
.subnav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--blue-dk); }
.menu nav a[aria-current="page"] { background: var(--sky); }
@media (min-width: 900px) { .subnav { display: flex; } .header__menu { display: none; } }
@media (max-width: 899px) { .header__menu { display: grid; margin-inline-start: -8px; } }
.bag-btn { color: inherit; }

/* generic page shell */
.view { min-height: 60vh; }
.page { max-width: 1280px; margin: 0 auto; padding: clamp(14px, 2.5vw, 28px) var(--gutter) clamp(60px, 8vw, 110px); }
.page__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; color: #1A1A1A; }
.page__title--sm { font-size: clamp(22px, 2.6vw, 30px); text-align: center; margin-bottom: 26px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a:hover { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #1A1A1A; font-weight: 600; }
.crumbs__sep::before { content: "\203A"; font-size: 18px; line-height: 1; color: var(--ink-3); }
[dir="rtl"] .crumbs__sep::before { content: "\2039"; }
.empty { display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(40px, 8vw, 90px) 10px; color: var(--ink-2); font-weight: 600; }
.empty img { width: 120px; animation: bob 4s var(--ease-soft) infinite; }

/* plain, tidy buttons on the shop pages */
.btn--sky, .btn--line { border-radius: 12px; height: 52px; box-shadow: none; font-size: 16.5px; padding: 0 22px; }
.btn--sky { background: var(--sky); border-color: var(--sky); color: var(--sky-ink); }
.btn--sky:hover { background: var(--sky-dk); border-color: var(--sky-dk); transform: none; box-shadow: none; }
.btn--line { background: #fff; border-color: var(--sky-ink); color: var(--sky-ink); }
.btn--line:hover { background: #F6FBFF; transform: none; box-shadow: none; }
.btn--cream.btn--wide { border-radius: 12px; box-shadow: none; border-color: var(--hair); background: #fff; height: 52px; }
.btn--cream.btn--wide:hover { transform: none; box-shadow: none; background: #FAFAFA; }
.btn--cream.btn--wide svg { color: #25A55F; }

/* product grid + cards */
.grid { gap: 40px 24px; }
.card { cursor: auto; }
.card__media { aspect-ratio: 5 / 6; background: transparent; }
.card__imglink { display: block; width: 100%; height: 100%; }
.card__name a { display: block; }
.card__name a:hover { color: var(--rose-deep); }
.card__add { text-decoration: none; }
.card__tool { color: var(--ink); }
@media (max-width: 1099px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 759px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } }

/* section + favourites header */
.sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.sechead__count { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.sort select, .coform select { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--hair); background: #fff; font: inherit; color: var(--ink); }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumbs button { flex: none; aspect-ratio: 5 / 6; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .75; transition: opacity .2s, border-color .2s; }
.pdp__thumbs button.on { opacity: 1; border-color: var(--sky-ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__main { aspect-ratio: 5 / 6; border-radius: 12px; overflow: hidden; background: #F7F4FB; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pdp__looks { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pdp__looks > div { display: flex; gap: 8px; }
.pdp__looks button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); position: relative; }
.pdp__looks button.on::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed var(--ink); }
.pdp__info { display: flex; flex-direction: column; gap: 18px; }
.pdp__info h4 { font-family: var(--f-display); font-size: 16px; margin-bottom: 8px; }
.pdp__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.25; color: #1A1A1A; }
.pdp__price { font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--rose-deep); }
.pdp__price s { color: var(--ink-3); font-weight: 500; font-size: .75em; }
.pdp__price b.is-sale { color: var(--rose-deep); }
.pdp__avail { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.pdp__avail.is-ready { color: #1F8A4C; }
.pdp__avail svg { width: 20px; height: 20px; }
.pdp__variants h4 span { font-weight: 500; color: var(--ink-2); }
.pdp__variantrow { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp__variantrow button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); position: relative; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8), transparent 40%), var(--c); }
.pdp__variantrow button.on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--ink); }
.pdp__sizes-head { display: flex; justify-content: space-between; align-items: baseline; }
.pdp__sizes.shake .chips, .pdp__sizes.shake { animation: shake .5s; }
.pdp__warn { color: var(--rose-deep); font-size: 14px; font-weight: 700; min-height: 1.2em; margin-top: 6px; }
.pdp__qty .qty { width: max-content; height: 48px; border-color: var(--hair); border-radius: 12px; }
.pdp__buy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pdp__desc { color: var(--ink-2); font-weight: 500; }
.paychips--sm { justify-content: flex-start; gap: 8px; }
.paychips--sm .paychip { width: 58px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--hair); }
.paychips--sm .paychip img { width: 46px; }
.related { margin-top: clamp(50px, 7vw, 90px); }
@media (max-width: 899px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { grid-template-columns: 1fr; }
  .pdp__thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .pdp__thumbs button { width: 64px; }
}

/* added-to-cart popover */
.mini {
  position: fixed; z-index: 75; top: calc(var(--header-h) + 12px); inset-inline-end: var(--gutter); width: min(380px, calc(100vw - 32px));
  display: flex; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--hair); border-radius: 14px; box-shadow: 0 14px 40px rgba(60, 50, 90, .18);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.mini.show { opacity: 1; visibility: visible; transform: none; }
.mini > img { width: 72px; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 8px; flex: none; }
.mini__body { min-width: 0; flex: 1; }
.mini__msg { font-weight: 700; font-size: 14px; color: #1F8A4C; }
.mini__name { font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.3; }
.mini__meta { font-size: 13px; color: var(--ink-2); }
.mini__act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mini__act .btn { height: 42px; font-size: 14px; padding: 0 8px; }

/* cart + checkout layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 22px; }
.sumcard { position: sticky; top: calc(var(--header-h) + 52px); display: grid; gap: 14px; padding: 22px; border: 1px solid var(--hair); border-radius: 12px; background: #fff; }
.sumcard__title { font-family: var(--f-display); font-size: 21px; }
.sumcard__note { font-size: 13.5px; color: var(--ink-2); }
.sumcard__more { text-align: center; font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.sumcard__more:hover { color: var(--rose-deep); }
.sum { margin: 0; display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.sum dd { margin: 0; }
.sum__total { font-family: var(--f-display); font-size: 20px !important; padding-top: 12px; border-top: 1px solid var(--hair); }
.codeform { display: flex; gap: 8px; }
.codeform input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--hair); font: inherit; font-weight: 600; text-transform: uppercase; color: var(--ink); }
.codeform input:focus, .field input:focus, .field textarea:focus, .coform select:focus { outline: none; border-color: var(--blue-dk); box-shadow: 0 0 0 3px rgba(134, 189, 232, .3); }
.codeform button { height: 48px; padding: 0 20px; border-radius: 12px; background: var(--sky); color: var(--sky-ink); font-family: var(--f-display); font-weight: 600; }
.codemsg { min-height: 1.2em; font-size: 13.5px; font-weight: 700; color: #1F8A4C; margin-top: -6px; }
.codemsg.is-bad { color: var(--rose-deep); }

.cartlist { border-top: 1px solid var(--hair); }
.cline { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 110px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.cline__img { aspect-ratio: 5 / 6; border-radius: 10px; overflow: hidden; background: #F7F4FB; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; }
.cline__name { font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.cline__name:hover { color: var(--rose-deep); }
.cline__body p { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.cline__unit { color: var(--ink) !important; font-weight: 700 !important; }
.cline__rm { margin-top: 4px; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.cline__rm:hover { color: var(--rose-deep); }
.cline .qty { height: 42px; border-color: var(--hair); border-radius: 12px; }
.cline .qty button { width: 36px; }
.cline__total { text-align: end; font-weight: 800; }

.steps { list-style: none; display: flex; gap: clamp(14px, 3vw, 36px); flex-wrap: wrap; padding: 0; margin: 14px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps i, .coform legend i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--sky-ink); font-size: 14px; font-weight: 700; }
.coform { display: grid; gap: 22px; }
.coform fieldset { margin: 0; padding: 22px; border: 1px solid var(--hair); border-radius: 12px; display: grid; gap: 16px; min-width: 0; }
.coform legend { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 14.5px; }
.field label small { color: var(--ink-3); font-weight: 500; }
.field input, .field textarea, .coform select { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--hair); background: #fff; font: inherit; color: var(--ink); }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input[aria-invalid="true"] { border-color: var(--rose-deep); }
.field__err { min-height: 0; font-size: 13px; font-weight: 700; color: #C0392B; }
.field__err:empty { display: none; }
.paycards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.paycard { position: relative; display: block; cursor: pointer; }
.paycard input { position: absolute; opacity: 0; inset: 0; }
.paycard__box { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; height: 100%; border: 1px solid var(--hair); border-radius: 12px; text-align: center; font-size: 13px; transition: border-color .2s, background .2s; }
.paycard__box img { width: 54px; height: auto; mix-blend-mode: multiply; }
.paycard input:checked + .paycard__box { border-color: var(--blue-dk); background: #F2F9FF; box-shadow: 0 0 0 2px var(--blue-dk); }
.paycard input:focus-visible + .paycard__box { outline: 2px dashed var(--rose-deep); outline-offset: 2px; }
.paynote { font-size: 14px; color: var(--ink-2); font-weight: 500; background: #F6FBFF; border-radius: 10px; padding: 12px 14px; }
.olines { display: grid; gap: 12px; }
.oline { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.oline__img { position: relative; aspect-ratio: 5 / 6; border-radius: 8px; background: #F7F4FB; }
.oline__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.oline__img em { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sky-ink); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.oline p { font-size: 12.5px; color: var(--ink-2); }
.oline__total { font-weight: 700; }

@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .sumcard { position: static; }
}
@media (max-width: 560px) {
  .cline { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "img body" "qty total"; row-gap: 12px; }
  .cline__img { grid-area: img; } .cline__body { grid-area: body; } .cline .qty { grid-area: qty; width: max-content; } .cline__total { grid-area: total; align-self: center; }
  .field-row { grid-template-columns: 1fr; }
  .paycards { grid-template-columns: repeat(2, 1fr); }
  .coform fieldset { padding: 16px; }
  .pdp__buy { grid-template-columns: 1fr; }
}

/* ---------- review fixes (2026-11-26) ---------- */
/* badge sits at the bottom of the photo so it never covers the JOLA word on the product cards */
.card__badge { top: auto; bottom: 12px; }
@media (max-width: 899px) {
  /* keep the logo centred on phones: slimmer icons + language pill */
  .header__inner { padding: 0 10px; }
  .header__end { gap: 0; }
  .header__end .icon-btn { width: 36px; height: 36px; }
  .lang { height: 32px; min-width: 40px; padding: 0 9px; font-size: 12px; margin-inline-end: 4px; }
  .logo img { height: 34px; }
  .card__badge { top: auto; bottom: 8px; }
}
/* footer tagline bold purple like the owner's artwork */
.footer__brand p { font-family: var(--f-display); font-weight: 700; color: #7B4E9A; font-size: clamp(19px, 1.9vw, 26px); }
/* size guide: keep each age on one line */
.sg td:first-child { white-space: nowrap; }
/* footer fairies: smaller, at the very bottom corners (owner 2026-11-27) */
.footer__fairy { bottom: calc(92px + env(safe-area-inset-bottom)); width: clamp(64px, 7.5vw, 120px); z-index: 1; } /* sits beside the pay logos, clear of the WhatsApp button */
.footer__fairy.l { left: clamp(4px, 1.5vw, 24px); } .footer__fairy.r { right: clamp(4px, 1.5vw, 24px); }
@media (max-width: 899px) { .footer__sky { padding-bottom: clamp(40px, 5vw, 70px); } }
