/* ==========================================================================
   Cute Land — Design System & Storefront UI
   RTL-first · mobile-first · light pastel theme
   ========================================================================== */

/* ---------- Fonts (from /newfonts) ---------- */
@font-face {
  font-family: "Morabba";
  src: url("../fonts/MorabbaVF.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "YekanX";
  src: url("../fonts/IRANYekanXVFaNumVF.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* core palette */
  --aqua: #4FDBD4;
  --turquoise: #00B6C8;
  --pink: #FFCFE2;
  --lavender: #D9C6FF;
  --cream: #FFF7F3;
  --charcoal: #3A3A3A;
  /* support */
  --sky: #DFF7FF;
  --blush: #FFDDE9;
  --lilac: #E8DFFF;
  --warm: #FFFBF7;
  --gray: #E8E8EE;
  /* functional (contrast-checked) */
  --cta: #00899A;          /* white text 4.2:1, bold */
  --cta-hover: #007C8A;
  --link: #007C8A;          /* 4.9:1 on white */
  --rose: #D6336C;          /* sale / urgency, 4.6:1 */
  --violet: #7048C8;        /* on lilac 4.8:1 */
  --muted: #6B6B76;         /* 5.1:1 on warm white */
  --line: #EFE7EC;
  --ok: #1E9E74;

  --font-display: "Morabba", "YekanX", system-ui, sans-serif;
  --font-body: "YekanX", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --sh-soft: 0 1px 2px rgba(58, 58, 58, .04), 0 8px 24px -12px rgba(58, 58, 58, .12);
  --sh-card: 0 2px 4px rgba(58, 58, 58, .03), 0 18px 40px -22px rgba(0, 137, 154, .28);
  --sh-pink: 0 18px 40px -20px rgba(214, 51, 108, .35);
  --sh-lift: 0 4px 10px rgba(58, 58, 58, .04), 0 30px 60px -24px rgba(0, 137, 154, .35);
  --sh-cta: 0 10px 24px -10px rgba(0, 137, 154, .55), inset 0 1px 0 rgba(255, 255, 255, .25);

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

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--charcoal);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.35; margin: 0; font-weight: 800; letter-spacing: -.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pink); color: var(--charcoal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.en { font-family: var(--font-display); direction: ltr; unicode-bidi: isolate; }

.i { width: 22px; height: 22px; flex: none; }
.i-sm { width: 18px; height: 18px; }
.i-lg { width: 28px; height: 28px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 96px); position: relative; }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cta); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-weight: 750; font-size: 16px; line-height: 1;
  box-shadow: var(--sh-cta);
  transition: transform .35s var(--bounce), box-shadow .35s var(--ease), background .25s;
  position: relative; isolation: isolate; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--cta-hover); box-shadow: 0 16px 30px -12px rgba(0, 137, 154, .6); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { width: 20px; height: 20px; }
.btn--soft { --bg: var(--sky); --fg: var(--link); box-shadow: none; }
.btn--soft:hover { background: #cdf1fb; box-shadow: none; }
.btn--pink { --bg: var(--pink); --fg: var(--charcoal); box-shadow: var(--sh-pink); }
.btn--pink:hover { background: #ffc1d8; }
.btn--ghost { --bg: #fff; --fg: var(--charcoal); box-shadow: inset 0 0 0 1.5px var(--gray); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--aqua), var(--sh-soft); }
.btn--dark { --bg: var(--charcoal); --fg: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.btn--dark:hover { background: #2b2b2b; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--icon { width: 48px; padding: 0; min-height: 48px; }
.btn-sparkle::after {
  content: ""; position: absolute; inset-block-start: -6px; inset-inline-end: 10px; width: 16px; height: 16px;
  background: url("../img/kit/Sparkle.svg") center/contain no-repeat; transition: transform .5s var(--bounce);
}
.btn-sparkle:hover::after { transform: rotate(45deg) scale(1.2); }

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--charcoal); transition: background .2s, transform .3s var(--bounce);
}
.icon-btn:hover { background: var(--blush); transform: translateY(-1px); }
.icon-btn .count {
  position: absolute; inset-block-start: 2px; inset-inline-end: 0;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--rose); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
  box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform .35s var(--bounce);
}
.icon-btn .count.on { transform: scale(1); }
.icon-btn .count.bump { animation: bump .5s var(--bounce); }
@keyframes bump { 40% { transform: scale(1.4); } }

.link { color: var(--link); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(-4px); }

/* ---------- Badges / tags / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap;
}
.badge .i { width: 14px; height: 14px; }
.badge--new { background: var(--lilac); color: var(--violet); }
.badge--hot { background: #FFE3D6; color: #B5481A; }
.badge--sale { background: var(--rose); color: #fff; }
.badge--gift { background: var(--sky); color: var(--link); }
.badge--limited { background: var(--charcoal); color: #fff; }
.badge--soft { background: #fff; color: var(--charcoal); box-shadow: var(--sh-soft); }

/* sticker badge — scalloped, used for campaigns */
.sticker {
  --c: var(--pink);
  display: grid; place-items: center; text-align: center;
  width: 96px; aspect-ratio: 1; padding: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.25;
  background: var(--c);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 62%, transparent 63%), conic-gradient(#000 0 0);
  clip-path: polygon(50% 0%, 61% 6%, 74% 4%, 80% 15%, 93% 20%, 92% 33%, 100% 43%, 94% 54%, 98% 67%, 88% 75%, 85% 88%, 72% 90%, 62% 99%, 50% 94%, 38% 99%, 28% 90%, 15% 88%, 12% 75%, 2% 67%, 6% 54%, 0% 43%, 8% 33%, 7% 20%, 20% 15%, 26% 4%, 39% 6%);
  transform: rotate(-8deg);
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--gray);
  font-size: 14px; font-weight: 600; color: var(--charcoal);
  transition: all .25s var(--ease); white-space: nowrap;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); background: #F4FDFD; }
.chip[aria-pressed="true"], .chip.is-active { background: var(--charcoal); color: #fff; box-shadow: none; }
.chip .x { width: 16px; height: 16px; opacity: .7; }
.chip--pink[aria-pressed="true"] { background: var(--pink); color: var(--charcoal); }

/* ---------- Section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; color: var(--link);
  background: var(--sky); padding: 6px 14px; border-radius: var(--r-pill);
}
.eyebrow--pink { background: var(--blush); color: #B4245A; }
.eyebrow--lav { background: var(--lilac); color: var(--violet); }
.eyebrow .i { width: 16px; height: 16px; }

.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 12px; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 560px; }
.sec-title-deco { position: relative; display: inline-block; }
.sec-title-deco::after {
  content: ""; position: absolute; inset-inline-start: -30px; inset-block-start: -10px;
  width: 26px; height: 26px; background: url("../img/kit/Sparkle.svg") center/contain no-repeat;
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(25deg); opacity: .6; } }

/* ---------- Announcement + header ---------- */
.announce {
  background: linear-gradient(90deg, var(--lilac), var(--blush) 50%, var(--sky));
  font-size: 13px; font-weight: 600; text-align: center; padding: 9px var(--gutter);
  display: flex; justify-content: center; align-items: center; gap: 10px;
}
.announce b { color: #B4245A; }
.announce .i { width: 16px; height: 16px; color: var(--link); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 247, .82);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(58, 58, 58, .3); }
.header__bar { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 58px; height: 54px; object-fit: contain; transition: transform .5s var(--bounce); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__fa { font-family: var(--font-display); font-weight: 900; font-size: 22px; }
.brand__en { font-family: var(--font-display); font-size: 11px; letter-spacing: .22em; color: var(--link); direction: ltr; text-align: end; font-weight: 700; }

.search {
  flex: 1; max-width: 520px; position: relative; display: none;
}
.search input {
  width: 100%; height: 48px; border: 0; outline: 0;
  padding-inline: 50px 18px; border-radius: var(--r-pill);
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--gray);
  transition: box-shadow .25s;
}
.search input::placeholder { color: #9a9aa5; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--aqua), 0 0 0 6px rgba(79, 219, 212, .18); }
.search .i { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search kbd { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--muted); background: var(--cream); padding: 2px 8px; border-radius: 6px; font-family: var(--font-body); }

.header__actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.header__actions .hide-sm { display: none; }

.nav { display: none; border-top: 1px solid var(--line); }
.nav__list { display: flex; gap: 4px; align-items: center; height: 52px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; white-space: nowrap;
  border-radius: var(--r-pill); font-weight: 650; font-size: 14.5px; transition: background .2s, color .2s;
}
.nav__link .i { width: 19px; height: 19px; color: var(--turquoise); }
.nav__link:hover, .nav__link.is-active { background: #fff; box-shadow: var(--sh-soft); }
.nav__link--sale { color: var(--rose); }
.nav__link--sale .i { color: var(--rose); }
.nav__spacer { flex: 1; }
@media (max-width: 1320px) { .nav__list > li:not(.has-mega) .nav__link .i { display: none; } .nav__link { padding: 0 10px; font-size: 14px; } }

/* mega panel */
.has-mega { position: relative; }
.mega {
  position: absolute; inset-inline-start: 0; top: calc(100% + 8px); width: min(760px, 90vw);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lift);
  padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: var(--r-md); font-weight: 650; font-size: 14px; text-align: center; transition: background .2s; }
.mega a:hover { background: var(--cream); }
.mega img { width: 74px; height: 74px; object-fit: contain; transition: transform .4s var(--bounce); }
.mega a:hover img { transform: translateY(-4px) rotate(-4deg); }

/* mobile bottom tab bar */
.tabbar {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 24px; box-shadow: 0 12px 40px -12px rgba(58, 58, 58, .3), inset 0 0 0 1px rgba(255,255,255,.8);
  padding: 6px; padding-bottom: max(6px, env(safe-area-inset-bottom));
}
.tabbar a, .tabbar button {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0;
  font-size: 11px; font-weight: 700; color: var(--muted); border-radius: 18px; position: relative;
}
.tabbar .is-active { color: var(--link); background: var(--sky); }
.tabbar .count { position: absolute; top: 2px; inset-inline-start: calc(50% + 4px); min-width: 17px; height: 17px; font-size: 10px; line-height: 17px; border-radius: 9px; background: var(--rose); color: #fff; text-align: center; padding: 0 4px; display: none; }
.tabbar .count.on { display: block; }
body { padding-bottom: 96px; }

@media (min-width: 768px) {
  .search { display: block; }
  .header__actions .hide-sm { display: grid; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .menu-toggle { display: none !important; }
}

/* ---------- Drawers / modals / overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(58, 58, 58, .32); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.scrim.on { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; z-index: 90; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%);
  background: var(--warm); display: flex; flex-direction: column;
  transform: translateX(-104%); transition: transform .5s var(--ease); box-shadow: var(--sh-lift);
  border-start-end-radius: 0; border-end-end-radius: 0;
}
[dir="rtl"] .drawer { inset-inline-end: auto; left: 0; }
.drawer.on { transform: none; }
.drawer--start { left: auto !important; right: 0; transform: translateX(104%); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { padding: 18px 22px; border-top: 1px solid var(--line); background: #fff; }

.sheet { /* mobile bottom sheet */
  position: fixed; z-index: 90; inset-inline: 0; bottom: 0; max-height: 86vh;
  background: var(--warm); border-radius: 28px 28px 0 0; display: flex; flex-direction: column;
  transform: translateY(104%); transition: transform .5s var(--ease); box-shadow: var(--sh-lift);
}
.sheet.on { transform: none; }
.sheet__grab { width: 44px; height: 5px; border-radius: 4px; background: var(--gray); margin: 10px auto 0; }

.modal {
  position: fixed; z-index: 95; inset: 0; display: grid; place-items: center; padding: 16px;
  opacity: 0; visibility: hidden; transition: all .35s var(--ease);
}
.modal.on { opacity: 1; visibility: visible; }
.modal__card {
  width: min(920px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-lift); transform: translateY(20px) scale(.97); transition: transform .45s var(--bounce); position: relative;
}
.modal.on .modal__card { transform: none; }
.modal__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: #fff; box-shadow: var(--sh-soft); }

/* free-shipping progress */
.ship-progress { background: #fff; border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--sh-soft); font-size: 13.5px; }
.ship-progress b { color: var(--link); }
.bar { height: 10px; background: var(--cream); border-radius: 99px; overflow: hidden; margin-top: 10px; position: relative; }
.bar > i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 99px; background: linear-gradient(90deg, var(--aqua), var(--turquoise)); transition: width .6s var(--ease); }
[dir="rtl"] .bar > i { background: linear-gradient(270deg, var(--aqua), var(--turquoise)); }
.bar > i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px); animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 22px 0; } }

.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.cart-line__img { width: 84px; height: 84px; border-radius: var(--r-md); background: var(--tint, var(--blush)); display: grid; place-items: center; overflow: hidden; }
.cart-line__img img { width: 88%; height: 88%; object-fit: contain; }
.cart-line h4 { font-family: var(--font-body); font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.cart-line .meta { font-size: 12.5px; color: var(--muted); }
.cart-line .price { font-weight: 800; font-size: 14.5px; margin-top: 4px; }

.qty { display: inline-flex; align-items: center; background: #fff; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--gray); height: 40px; }
.qty button { width: 38px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--charcoal); }
.qty button:hover { color: var(--link); }
.qty button .i { width: 16px; height: 16px; }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.qty--lg { height: 56px; }
.qty--lg button { width: 48px; height: 56px; }

.empty { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 10px; }
.empty img { width: 190px; height: 190px; object-fit: contain; animation: float 5s ease-in-out infinite; }
.empty h4 { font-size: 20px; }
.empty p { color: var(--muted); font-size: 14px; max-width: 300px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* toast */
.toasts { position: fixed; z-index: 120; top: 18px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: #fff; border-radius: 18px;
  box-shadow: var(--sh-lift); font-size: 14px; font-weight: 600; animation: toastIn .5s var(--bounce);
}
.toast img { width: 46px; height: 46px; object-fit: contain; background: var(--tint, var(--blush)); border-radius: 12px; padding: 4px; }
.toast .link { margin-inline-start: auto; font-size: 13px; }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { transform: translateY(-20px) scale(.95); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(-14px); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 5vw, 64px) clamp(70px, 9vw, 120px); isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(217, 198, 255, .55), transparent 60%),
    radial-gradient(50% 60% at 10% 30%, rgba(79, 219, 212, .30), transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(255, 207, 226, .7), transparent 60%),
    linear-gradient(180deg, #F3FCFF 0%, var(--warm) 100%);
}
.hero__clouds { position: absolute; inset-inline: 0; bottom: -2px; z-index: -1; height: clamp(60px, 9vw, 130px); color: var(--warm); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(36px, 6.4vw, 76px); line-height: 1.2; font-weight: 900; }
.hero h1 .hl { position: relative; display: inline-block; color: var(--link); }
.hero h1 .hl::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: .06em; height: .32em; z-index: -1;
  background: var(--pink); border-radius: 99px; transform: rotate(-1.5deg);
}
.hero__lead { font-size: clamp(15.5px, 1.6vw, 18px); color: #55555f; margin-top: 18px; max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 13.5px; color: var(--muted); }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; margin-inline-start: -10px; display: grid; place-items: center; background: var(--c); box-shadow: var(--sh-soft); overflow: hidden; }
.avatars img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.avatars span:first-child { margin-inline-start: 0; }
.hero__proof b { color: var(--charcoal); font-size: 15px; display: block; line-height: 1.3; }
.stars { display: inline-flex; color: #F5B83D; }
.stars .i { width: 15px; height: 15px; }

.hero__art { position: relative; aspect-ratio: 1; max-width: 640px; margin-inline: auto; width: 100%; }
.hero__ring { position: absolute; inset: 7%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0 45%, rgba(255,255,255,0) 70%); }
.hero__podium { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 137, 154, .18)); animation: float 7s ease-in-out infinite; }
.hero__mascot { position: absolute; width: 30%; inset-inline-end: -2%; bottom: 6%; z-index: 3; filter: drop-shadow(0 14px 18px rgba(58,58,58,.12)); animation: float 6s ease-in-out infinite reverse; }
.floaty { position: absolute; z-index: 2; pointer-events: none; animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(6px, -12px) rotate(6deg); } 66% { transform: translate(-6px, -4px) rotate(-4deg); } }

.hero__card {
  position: absolute; z-index: 4; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 20px; box-shadow: var(--sh-card); padding: 10px 14px 10px 10px; display: flex; align-items: center; gap: 10px; font-size: 13px;
}
.hero__card img { width: 48px; height: 48px; border-radius: 14px; background: var(--blush); object-fit: contain; padding: 3px; }
.hero__card b { display: block; font-size: 13.5px; }
.hero__card .p { color: var(--rose); font-weight: 800; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
}

/* cloud divider */
.cloud-divider { display: block; width: 100%; height: clamp(40px, 6vw, 90px); color: var(--warm); }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust__item {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-soft);
}
.trust__ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--c, var(--sky)); color: var(--charcoal); flex: none; }
.trust__item b { display: block; font-size: 14.5px; line-height: 1.4; }
.trust__item span { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: block; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); gap: 18px; } .trust__item { padding: 18px; } }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat {
  --c: var(--blush);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  aspect-ratio: 1 / 1.08; padding: 14px; border-radius: var(--r-lg); background: var(--c); overflow: hidden; isolation: isolate;
  transition: transform .45s var(--bounce), box-shadow .45s var(--ease);
}
.cat::before { /* arch, echoing the showroom arches */
  content: ""; position: absolute; z-index: -1; inset-inline: 12%; top: 10%; bottom: 22%;
  border-radius: 999px 999px 24px 24px; background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.35);
}
.cat img { width: 82%; height: auto; margin-bottom: auto; margin-top: 2%; transition: transform .5s var(--bounce); filter: drop-shadow(0 14px 14px rgba(58,58,58,.1)); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--sh-card); }
.cat:hover img { transform: scale(1.07) rotate(-3deg); }
.cat h3 { font-size: 17px; font-weight: 800; }
.cat span { font-size: 12px; color: rgba(58,58,58,.7); font-weight: 600; }
.cat__go { position: absolute; top: 12px; inset-inline-start: 12px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: all .35s var(--bounce); }
.cat__go .i { width: 18px; height: 18px; }
.cat:hover .cat__go { opacity: 1; transform: none; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(5, 1fr); gap: 18px; } }

/* ---------- Product card ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; } }
@media (min-width: 1200px) { .grid-products { grid-template-columns: repeat(4, 1fr); gap: 28px 22px; } }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: var(--tint, var(--blush));
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.pcard__media::before { /* soft spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 50% 42%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%);
}
.pcard__media::after { /* scalloped shelf edge */
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 18%; z-index: -1;
  background: radial-gradient(circle at 12px -4px, transparent 13px, rgba(255,255,255,.45) 14px) 0 0/24px 100% repeat-x;
}
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .6s var(--ease); }
.pcard__media img.alt { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.pcard:hover .pcard__media { box-shadow: var(--sh-card); }
.pcard:hover .pcard__media img { transform: scale(1.06) rotate(-1.5deg); }
.pcard__badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.pcard__fav {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--charcoal);
  box-shadow: var(--sh-soft); transition: transform .35s var(--bounce), color .2s;
}
.pcard__fav:hover { transform: scale(1.1); color: var(--rose); }
.pcard__fav.on { color: var(--rose); }
.pcard__fav.on .i { animation: heartPop .5s var(--bounce); }
@keyframes heartPop { 30% { transform: scale(1.45); } }
.pcard__quick {
  position: absolute; inset-inline: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px;
  opacity: 0; transform: translateY(10px); transition: all .4s var(--ease);
}
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: none; }
.pcard__quick .btn { flex: 1; min-height: 42px; font-size: 13.5px; padding: 0 12px; }
.pcard__quick .btn--ghost { flex: none; width: 42px; padding: 0; background: #fff; }
.pcard__body { padding: 12px 4px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__cat { font-size: 12px; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.pcard__rate { display: inline-flex; align-items: center; gap: 3px; color: var(--charcoal); font-weight: 700; }
.pcard__rate .i { width: 14px; height: 14px; color: #F5B83D; }
.pcard__title { font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2em; }
.pcard__title a:hover { color: var(--link); }
.pcard__foot { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { display: flex; flex-direction: column; line-height: 1.35; }
.price__now { font-weight: 850; font-size: 17px; }
.price__now small { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-inline-start: 3px; }
.price__old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(214, 51, 108, .6); }
.price--sale .price__now { color: var(--rose); }
.add-mini {
  width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--sky); color: var(--link); transition: all .35s var(--bounce);
}
.add-mini:hover { background: var(--cta); color: #fff; transform: rotate(-8deg) scale(1.06); }
.add-mini.added { background: var(--ok); color: #fff; }
.swatches { display: flex; gap: 5px; margin-top: 2px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.08), 0 0 0 2px #fff; }
.stock-low { font-size: 11.5px; color: #B5481A; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.stock-low .i { width: 13px; height: 13px; }
@media (hover: none) { .pcard__quick { display: none; } }

/* horizontal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 768px) { .rail { grid-auto-columns: 31%; gap: 20px; } }
@media (min-width: 1200px) { .rail { grid-auto-columns: calc(25% - 15px); } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--sh-soft); display: grid; place-items: center; transition: all .25s; }
.rail-nav button:hover { background: var(--charcoal); color: #fff; }

/* tabs (segmented) */
.seg { display: inline-flex; background: #fff; padding: 5px; border-radius: var(--r-pill); box-shadow: var(--sh-soft); gap: 2px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg button { height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .3s var(--ease); }
.seg button[aria-selected="true"] { background: var(--charcoal); color: #fff; }

/* ---------- Promo / campaign banners ---------- */
.promo-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .promo-grid { grid-template-columns: 1.6fr 1fr; gap: 22px; } }
.promo {
  position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; min-height: 300px;
  display: flex; align-items: flex-end; padding: clamp(22px, 3.4vw, 44px); color: var(--charcoal);
  background: var(--c, var(--lilac));
}
.promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.promo:hover > img { transform: scale(1.04); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(255,251,247,.94) 0%, rgba(255,251,247,.75) 38%, rgba(255,251,247,0) 62%); }
.promo--night::before { background: linear-gradient(270deg, rgba(43, 32, 82, .78) 0%, rgba(43, 32, 82, .45) 40%, rgba(43, 32, 82, 0) 65%); }
.promo--night { color: #fff; }
.promo__copy { max-width: 420px; display: grid; gap: 12px; justify-items: start; }
.promo h3 { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.25; font-weight: 900; }
.promo p { font-size: 15px; opacity: .85; }
.promo .sticker { position: absolute; top: 22px; inset-inline-end: 22px; }
.promo--sm { min-height: 260px; }
.promo--sm h3 { font-size: clamp(22px, 2.6vw, 32px); }
.countdown { display: flex; gap: 8px; }
.countdown div { background: rgba(255,255,255,.9); color: var(--charcoal); border-radius: 14px; min-width: 56px; padding: 6px 8px; text-align: center; box-shadow: var(--sh-soft); }
.countdown b { display: block; font-size: 22px; font-weight: 900; line-height: 1.2; font-family: var(--font-body); }
.countdown span { font-size: 11px; color: var(--muted); font-weight: 700; }

/* ---------- Collections (mood) ---------- */
.moods { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .moods { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.mood {
  position: relative; border-radius: var(--r-xl); padding: 24px; min-height: 380px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; background: var(--c);
  transition: transform .45s var(--bounce);
}
.mood:hover { transform: translateY(-6px) rotate(-.5deg); }
.mood__pattern { position: absolute; inset: 0; z-index: -2; opacity: .5; background-size: 260px; }
.mood__imgs { position: relative; height: 230px; margin-bottom: 14px; }
.mood__imgs img { position: absolute; width: 50%; max-width: 210px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(58,58,58,.14)); transition: transform .6s var(--bounce); }
.mood__imgs img:nth-child(1) { inset-inline-start: 0; top: 10px; transform: rotate(-8deg); }
.mood__imgs img:nth-child(2) { inset-inline-end: 0; top: 0; transform: rotate(7deg); }
.mood__imgs img:nth-child(3) { inset-inline-start: 26%; top: 70px; width: 46%; }
.mood:hover .mood__imgs img:nth-child(1) { transform: rotate(-14deg) translate(-8px, -4px); }
.mood:hover .mood__imgs img:nth-child(2) { transform: rotate(12deg) translate(8px, -4px); }
.mood h3 { font-size: 26px; }
.mood p { font-size: 14px; color: rgba(58,58,58,.75); }
.mood .link { margin-top: 10px; color: var(--charcoal); }

/* ---------- Store / social section ---------- */
.store {
  border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-card); overflow: hidden;
  display: grid; gap: 0;
}
@media (min-width: 900px) { .store { grid-template-columns: 1fr 1.25fr; } }
.store__copy { padding: clamp(24px, 4vw, 52px); display: grid; align-content: center; gap: 14px; position: relative; }
.store__copy h2 { font-size: clamp(26px, 3.2vw, 40px); }
.store__copy p { color: var(--muted); }
.store__facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 4px; }
.store__facts b { font-family: var(--font-display); font-size: 30px; display: block; line-height: 1.2; color: var(--link); }
.store__facts span { font-size: 13px; color: var(--muted); }
.store__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; min-height: 360px; }
.store__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.store__mosaic figure { margin: 0; overflow: hidden; position: relative; }
.store__mosaic figure:first-child { grid-row: span 2; grid-column: span 1; }
.store__mosaic figure:hover img { transform: scale(1.06); }

.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 900px) { .insta { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.insta a { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; display: block; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(0, 137, 154, .35) url("../img/kit/Heart.svg") center/34px no-repeat; opacity: 0; transition: opacity .3s; }
.insta a:hover::after { opacity: 1; }
.insta a:hover img { transform: scale(1.08); }

/* ---------- Testimonials ---------- */
.reviews { display: grid; gap: 16px; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.review {
  background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-soft); position: relative;
  display: flex; flex-direction: column; gap: 12px;
}
.review::before { /* speech bubble tail */
  content: ""; position: absolute; bottom: -10px; inset-inline-start: 34px; width: 22px; height: 22px; background: #fff; transform: rotate(45deg); border-radius: 4px;
}
.review p { font-size: 15px; line-height: 1.9; }
.review__who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review__who i { width: 42px; height: 42px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-style: normal; font-weight: 800; font-family: var(--font-display); }
.review__who b { display: block; font-size: 14px; line-height: 1.3; }
.review__who span { font-size: 12px; color: var(--muted); }
.review__prod { display: flex; align-items: center; gap: 8px; font-size: 12.5px; background: var(--cream); border-radius: 12px; padding: 6px 8px; }
.review__prod img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: var(--tint); }

/* ---------- Newsletter ---------- */
.news {
  position: relative; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 60px); overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--lilac), var(--blush) 55%, var(--sky));
  display: grid; gap: 20px; align-items: center;
}
@media (min-width: 900px) { .news { grid-template-columns: 1.2fr 1fr; } }
.news::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/kit/Sparkle.svg") 8% 20%/28px no-repeat, url("../img/kit/Heart.svg") 92% 80%/30px no-repeat, url("../img/kit/Star.svg") 60% 12%/22px no-repeat; opacity: .8; }
.news h2 { font-size: clamp(24px, 3vw, 38px); }
.news form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: var(--r-pill); box-shadow: var(--sh-card); }
.news input { flex: 1; border: 0; outline: 0; padding-inline: 18px; min-width: 0; background: transparent; direction: ltr; text-align: right; }
.news__mascot { position: absolute; inset-inline-start: 4%; bottom: -8px; width: 150px; display: none; }
@media (min-width: 1100px) { .news__mascot { display: block; } .news { padding-inline-start: 210px; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: #fff; margin-top: clamp(60px, 8vw, 110px); padding-top: 40px; }
.footer__wave { position: absolute; top: -59px; inset-inline: 0; height: 60px; width: 100%; color: #fff; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; } }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__brand img { width: 120px; }
.footer__brand p { font-size: 14px; color: var(--muted); max-width: 320px; }
.footer h4 { font-family: var(--font-body); font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.footer li a { display: block; padding: 5px 0; font-size: 14px; color: #55555f; transition: color .2s, transform .2s; }
.footer li a:hover { color: var(--link); transform: translateX(-3px); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); transition: all .3s var(--bounce); }
.socials a:hover { background: var(--pink); transform: translateY(-3px) rotate(-6deg); }
.trustmarks { display: flex; gap: 10px; }
.trustmarks span { width: 78px; height: 86px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; padding: 6px; box-shadow: inset 0 0 0 1.5px var(--line); }
.footer__bottom { margin-top: 36px; padding-block: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.footer__pattern { height: 46px; background: url("../img/patterns/kit-Sticker-Confetti.webp") center/420px repeat-x; opacity: .45; }

/* ---------- Breadcrumb / page head ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--link); }
.crumbs .i { width: 14px; height: 14px; }
.page-head {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); margin-top: 18px;
  padding: clamp(24px, 4vw, 48px); background: var(--c, var(--sky));
  display: grid; gap: 14px; align-items: center;
}
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) center/320px; opacity: .35; }
@media (min-width: 900px) { .page-head { grid-template-columns: 1fr auto; } }
.page-head h1 { font-size: clamp(28px, 4vw, 48px); }
.page-head p { color: #55555f; max-width: 560px; }
.page-head__art { width: 180px; display: none; }
@media (min-width: 900px) { .page-head__art { display: block; } }

/* subcategory scroller */
.subcats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; }
.subcats::-webkit-scrollbar { display: none; }
.subcat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 86px; font-size: 13px; font-weight: 700; text-align: center; }
.subcat i { width: 74px; height: 74px; border-radius: 26px; background: var(--c); display: grid; place-items: center; transition: transform .35s var(--bounce), box-shadow .3s; }
.subcat img { width: 60px; height: 60px; object-fit: contain; }
.subcat:hover i, .subcat.is-active i { transform: translateY(-4px); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--aqua); }

/* ---------- Listing layout ---------- */
.listing { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 1024px) { .listing { grid-template-columns: 280px 1fr; align-items: start; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 70px); } }
.fgroup { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-soft); margin-bottom: 14px; }
.fgroup > summary, .fgroup > h4 { font-family: var(--font-body); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary .i { width: 18px; height: 18px; transition: transform .3s; }
.fgroup[open] > summary .i { transform: rotate(180deg); }
.fgroup__body { margin-top: 14px; display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 12px; cursor: pointer; font-size: 14px; transition: background .2s; }
.check:hover { background: var(--cream); }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 8px; box-shadow: inset 0 0 0 1.8px #CFCFD8; display: grid; place-items: center; transition: all .25s var(--bounce); margin: 0; flex: none; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2.4px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .3s var(--bounce); margin-top: -3px; }
.check input:checked { background: var(--cta); box-shadow: none; }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check .n { margin-inline-start: auto; font-size: 12px; color: var(--muted); background: var(--cream); border-radius: 99px; padding: 0 8px; }
.color-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.color-opt { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.08); position: relative; transition: transform .3s var(--bounce); }
.color-opt:hover { transform: scale(1.1); }
.color-opt[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--charcoal); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 99px; background: var(--gray); position: relative; transition: background .3s; margin: 0; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: inset-inline-start .35s var(--bounce); }
.switch input:checked { background: var(--aqua); }
.switch input:checked::after { inset-inline-start: 21px; }

/* range slider (dual) */
.range { position: relative; height: 36px; margin-top: 4px; }
.range__track { position: absolute; top: 16px; inset-inline: 0; height: 5px; border-radius: 4px; background: var(--gray); }
.range__fill { position: absolute; top: 16px; height: 5px; border-radius: 4px; background: var(--turquoise); }
.range input { position: absolute; inset-inline: 0; top: 6px; width: 100%; pointer-events: none; appearance: none; -webkit-appearance: none; background: none; height: 24px; margin: 0; direction: rtl; }
.range input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--turquoise), 0 4px 10px rgba(0,0,0,.15); cursor: grab; }
.range input::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border: 3px solid var(--turquoise); border-radius: 50%; background: #fff; cursor: grab; }
.range__vals { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 18px; }
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__count b { color: var(--charcoal); }
.sortbar { display: none; }
@media (min-width: 768px) { .sortbar { display: flex; align-items: center; gap: 6px; } }
.sortbar > span { font-size: 13.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; margin-inline-end: 4px; }
.sortbar button { height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 700; color: var(--muted); transition: all .25s; }
.sortbar button:hover { color: var(--charcoal); background: #fff; }
.sortbar button[aria-pressed="true"] { background: #fff; color: var(--link); box-shadow: var(--sh-soft); }
.mob-tools { display: flex; gap: 8px; width: 100%; }
.mob-tools .btn { flex: 1; }
@media (min-width: 1024px) { .mob-tools .filter-open { display: none; } }
@media (min-width: 768px) { .mob-tools .sort-open { display: none; } .mob-tools { width: auto; } }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-filters:empty { display: none; }
.active-filters .chip { height: 34px; font-size: 13px; background: var(--sky); box-shadow: none; color: var(--link); }

.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 40px; font-size: 13.5px; color: var(--muted); }
.load-more .bar { width: 220px; height: 6px; margin: 0; }

.skeleton { background: linear-gradient(90deg, var(--cream) 25%, #fff 50%, var(--cream) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-lg); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Product detail ---------- */
.pdp { display: grid; gap: clamp(24px, 4vw, 56px); margin-top: 20px; }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 1000px) { .gallery { position: sticky; top: calc(var(--header-h) + 66px); grid-template-columns: 84px 1fr; } }
.gallery__main {
  position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--tint, var(--blush)); isolation: isolate; cursor: zoom-in;
}
.gallery__main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 45%, rgba(255,255,255,.9), transparent 70%); }
.gallery__main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/kit-Hearts-and-Sparkles.webp") center/300px; opacity: .14; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .25s ease-out, opacity .3s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.zoom img { transform: scale(1.8); }
.gallery__badges { position: absolute; top: 18px; inset-inline-start: 18px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.gallery__tools { position: absolute; bottom: 16px; inset-inline-end: 16px; display: flex; gap: 8px; z-index: 2; }
.gallery__tools button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--sh-soft); transition: transform .3s var(--bounce); }
.gallery__tools button:hover { transform: scale(1.08); }
.gallery__dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.gallery__dots i { width: 8px; height: 8px; border-radius: 9px; background: rgba(58,58,58,.2); transition: all .3s; }
.gallery__dots i.on { width: 22px; background: var(--charcoal); }
@media (min-width: 1000px) { .gallery__dots { display: none; } }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 1000px) { .thumbs { flex-direction: column; order: -1; } }
.thumbs button { width: 80px; height: 80px; flex: none; border-radius: 20px; background: var(--tint); padding: 6px; transition: box-shadow .25s, transform .3s var(--bounce); }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button[aria-current="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--turquoise); }
.thumbs button:hover { transform: translateY(-2px); }

.pinfo { display: grid; gap: 18px; }
.pinfo__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pinfo h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.35; }
.pinfo__sub { color: var(--muted); font-size: 14.5px; margin-top: -8px; }
.pinfo__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13.5px; color: var(--muted); }
.pinfo__meta a { color: var(--link); font-weight: 700; }
.price-box {
  background: #fff; border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.price-box .now { font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.2; }
.price-box .now small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-box .old { color: var(--muted); text-decoration: line-through; font-size: 15px; margin-inline-end: 8px; }
.price-box .save { background: var(--rose); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 99px; }
.price-box .inst { font-size: 12.5px; color: var(--muted); width: 100%; border-top: 1px dashed var(--line); padding-top: 10px; display: flex; gap: 6px; align-items: center; }
.price-box .inst b { color: var(--charcoal); }

.stock { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; }
.stock .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(30, 158, 116, .15); animation: pulse 2s infinite; }
.stock--low .dot { background: #E8772E; box-shadow: 0 0 0 4px rgba(232, 119, 46, .15); }
.stock--low { color: #B5481A; }
.stock .bar { flex: 1; max-width: 160px; height: 7px; margin: 0; }
.stock--low .bar > i { background: linear-gradient(90deg, #FFB38A, #E8772E); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(30, 158, 116, 0); } }

.opt-label { font-weight: 800; font-size: 14.5px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-label span { color: var(--muted); font-weight: 600; }
.opt-colors { display: flex; gap: 12px; flex-wrap: wrap; }
.opt-color { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.opt-color i { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.06); transition: all .3s var(--bounce); }
.opt-color[aria-pressed="true"] i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--charcoal); transform: scale(1.04); }
.opt-color[aria-pressed="true"] { color: var(--charcoal); }
.opt-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-size { min-width: 64px; height: 46px; padding: 0 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--gray); font-weight: 700; font-size: 14px; transition: all .25s; }
.opt-size:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.opt-size[aria-pressed="true"] { background: var(--sky); box-shadow: inset 0 0 0 2px var(--turquoise); color: var(--link); }
.opt-size:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

.giftwrap { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--blush), var(--lilac)); cursor: pointer; }
.giftwrap img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.giftwrap b { display: block; font-size: 14.5px; }
.giftwrap span { font-size: 12.5px; color: #55555f; }
.giftwrap .switch { margin-inline-start: auto; }

.buy { display: flex; gap: 10px; align-items: stretch; }
.buy .btn { flex: 1; }
.buy-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 65; background: rgba(255,255,255,.95); backdrop-filter: blur(14px);
  padding: 10px var(--gutter); padding-bottom: max(10px, env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -16px rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .45s var(--ease);
}
.buy-sticky.on { transform: none; }
.buy-sticky .btn { flex: 1; min-height: 50px; }
.buy-sticky .p { font-weight: 900; font-size: 17px; line-height: 1.3; }
.buy-sticky .p small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
@media (min-width: 1024px) { .buy-sticky { display: none; } }
body.pdp-page { padding-bottom: 170px; }
body.pdp-page .tabbar { display: none; }
@media (min-width: 1024px) { body.pdp-page { padding-bottom: 0; } }

.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.benefit { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13px; line-height: 1.5; }
.benefit i { width: 38px; height: 38px; border-radius: 13px; background: var(--c); display: grid; place-items: center; flex: none; }
.benefit i .i { width: 20px; height: 20px; }
.benefit b { display: block; font-size: 13.5px; }
.benefit span { color: var(--muted); font-size: 12px; }

.ship-card { border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-soft); padding: 16px 18px; display: grid; gap: 12px; }
.ship-card__row { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.ship-card__row .i { color: var(--link); }
.ship-card__row b { color: var(--charcoal); }
.ship-card select { border: 0; background: var(--cream); border-radius: 10px; padding: 4px 10px; font-weight: 700; }

.ptabs { margin-top: clamp(40px, 6vw, 80px); }
.ptabs__nav { display: flex; gap: 6px; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs__nav button { padding: 14px 18px; font-weight: 800; font-size: 15px; color: var(--muted); position: relative; white-space: nowrap; }
.ptabs__nav button[aria-selected="true"] { color: var(--charcoal); }
.ptabs__nav button[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: -1.5px; height: 4px; border-radius: 4px 4px 0 0; background: var(--turquoise); }
.ptabs__nav sup { background: var(--blush); color: #B4245A; border-radius: 99px; padding: 0 7px; font-size: 11px; margin-inline-start: 4px; }
.ptab { display: none; padding-top: 28px; }
.ptab.on { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.desc { display: grid; gap: 28px; }
@media (min-width: 900px) { .desc { grid-template-columns: 1.3fr 1fr; } }
.desc__txt { display: grid; gap: 14px; font-size: 15.5px; line-height: 2; }
.desc__txt h3 { font-size: 22px; }
.desc__txt ul { display: grid; gap: 8px; }
.desc__txt li { display: flex; gap: 10px; align-items: flex-start; }
.desc__txt li .i { color: var(--turquoise); margin-top: 6px; width: 18px; height: 18px; }
.desc__card { border-radius: var(--r-xl); overflow: hidden; background: var(--c, var(--sky)); padding: 22px; display: grid; gap: 12px; align-content: start; }
.desc__card img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14.5px; }
.specs th { text-align: start; color: var(--muted); font-weight: 600; width: 38%; padding: 12px 16px; background: var(--cream); border-radius: 0 14px 14px 0; }
.specs td { padding: 12px 16px; background: #fff; border-radius: 14px 0 0 14px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }

.rv-summary { display: grid; gap: 22px; }
@media (min-width: 900px) { .rv-summary { grid-template-columns: 300px 1fr; } }
.rv-score { background: #fff; border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-soft); text-align: center; display: grid; gap: 8px; align-content: start; }
.rv-score b { font-family: var(--font-display); font-size: 58px; line-height: 1; }
.rv-bars { display: grid; gap: 6px; margin-top: 8px; }
.rv-bars div { display: grid; grid-template-columns: 22px 1fr 34px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.rv-bars .bar { margin: 0; height: 8px; }
.rv-bars .bar > i { background: #F5B83D; }
.rv-list { display: grid; gap: 14px; }
.rv { background: #fff; border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-soft); display: grid; gap: 10px; }
.rv__head { display: flex; align-items: center; gap: 10px; }
.rv__head i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c); font-style: normal; font-weight: 800; }
.rv__head b { font-size: 14px; display: block; line-height: 1.3; }
.rv__head span { font-size: 12px; color: var(--muted); }
.rv__head .stars { margin-inline-start: auto; }
.rv p { font-size: 14.5px; }
.rv__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rv__tags span { font-size: 12px; background: var(--sky); color: var(--link); padding: 2px 10px; border-radius: 99px; font-weight: 700; }
.rv__photos { display: flex; gap: 8px; }
.rv__photos img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }

.bundle {
  border-radius: var(--r-xl); background: linear-gradient(135deg, #fff, var(--cream)); box-shadow: var(--sh-card); padding: clamp(20px, 3vw, 34px);
  display: grid; gap: 20px; align-items: center;
}
@media (min-width: 900px) { .bundle { grid-template-columns: 1fr auto; } }
.bundle__items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bundle__item { width: 130px; display: grid; gap: 6px; text-align: center; font-size: 13px; font-weight: 700; position: relative; }
.bundle__item .m { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--tint); display: grid; place-items: center; }
.bundle__item .m img { width: 82%; }
.bundle__item label { position: absolute; top: 8px; inset-inline-end: 8px; }
.bundle__plus { width: 34px; height: 34px; border-radius: 50%; background: var(--charcoal); color: #fff; display: grid; place-items: center; flex: none; }
.bundle__plus .i { width: 16px; height: 16px; }
.bundle__total { display: grid; gap: 10px; justify-items: start; min-width: 240px; }
.bundle__total .now { font-size: 28px; font-weight: 900; }

/* quick view */
.qv { display: grid; }
@media (min-width: 760px) { .qv { grid-template-columns: 1fr 1fr; } }
.qv__media { background: var(--tint); aspect-ratio: 1; display: grid; place-items: center; }
.qv__media img { width: 84%; }
.qv__info { padding: 28px; display: grid; gap: 14px; align-content: center; }
.qv__info h3 { font-size: 26px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .3s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .36s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: .42s; }
.reveal-stagger.in > *:nth-child(n+9) { transition-delay: .48s; }

html.shot *, html.shot *::before, html.shot *::after { transition: none !important; animation: none !important; }
html.shot .words .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Background utilities (pattern system) ---------- */
.bg-cream { background: var(--cream); }
.bg-sky { background: var(--sky); }
.bg-blush { background: var(--blush); }
.bg-lilac { background: var(--lilac); }
.bg-checker { background-color: #fff; background-image: conic-gradient(var(--lilac) 25%, transparent 0 50%, var(--lilac) 0 75%, transparent 0); background-size: 44px 44px; }
.bg-gingham {
  background-color: #fff;
  background-image: linear-gradient(90deg, rgba(255, 207, 226, .5) 50%, transparent 0), linear-gradient(rgba(255, 207, 226, .5) 50%, transparent 0);
  background-size: 36px 36px;
}
.bg-grid { background-color: #FBF8FF; background-image: linear-gradient(var(--lilac) 1px, transparent 1px), linear-gradient(90deg, var(--lilac) 1px, transparent 1px); background-size: 28px 28px; }
.bg-dots { background-color: var(--warm); background-image: radial-gradient(var(--pink) 1.6px, transparent 1.7px); background-size: 22px 22px; }
.bg-dream { background: radial-gradient(60% 80% at 80% 10%, rgba(217,198,255,.6), transparent 60%), radial-gradient(50% 70% at 10% 90%, rgba(79,219,212,.35), transparent 60%), radial-gradient(50% 60% at 50% 50%, rgba(255,207,226,.6), transparent 70%), var(--warm); }
.bg-waves { background: url("../img/patterns/kit-Pastel-Waves.webp") center/cover; }
.bg-clouds { background: url("../img/patterns/kit-Floating-Clouds.webp") center/320px; }
.bg-hearts { background: url("../img/patterns/kit-Hearts-and-Sparkles.webp") center/260px; }
.bg-confetti { background: url("../img/patterns/kit-Sticker-Confetti.webp") center/360px; }

/* section soft band (wavy top/bottom) */
.band { position: relative; background: var(--c, var(--cream)); }
.band__top, .band__bot { position: absolute; inset-inline: 0; height: 40px; width: 100%; color: var(--c, var(--cream)); }
.band__top { top: -39px; }
.band__bot { bottom: -39px; transform: scaleY(-1); }

/* ---------- Mobile refinements ---------- */
.pdp > *, .listing > *, .gallery > *, .hero__grid > *, .promo-grid > *, .store > * { min-width: 0; }
@media (max-width: 899px) {
  .trust__item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust__ico { width: 40px; height: 40px; border-radius: 13px; }
  .buy .btn { padding: 0 14px; font-size: 15px; }
  .bundle__item { width: 104px; }
  .hero__card { font-size: 12px; }
}

/* ==========================================================================
   Motion & effects layer
   ========================================================================== */

/* ---------- Loader (animated SVG logo) ---------- */
.cl-loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background:
    radial-gradient(50% 50% at 50% 45%, #fff 0%, rgba(255,255,255,0) 70%),
    radial-gradient(60% 60% at 15% 15%, rgba(79,219,212,.35), transparent 60%),
    radial-gradient(60% 60% at 85% 85%, rgba(255,207,226,.7), transparent 60%),
    radial-gradient(50% 50% at 85% 15%, rgba(217,198,255,.6), transparent 60%),
    var(--warm);
  clip-path: circle(150% at 50% 50%);
  transition: clip-path .9s cubic-bezier(.76,0,.24,1), opacity .5s ease .5s;
}
.cl-loader.done { clip-path: circle(0% at 50% 46%); }
.cl-loader__inner { display: grid; justify-items: center; gap: 18px; transition: transform .7s var(--ease), opacity .4s; }
.cl-loader.done .cl-loader__inner { transform: scale(.85); opacity: 0; }
.cl-loader__logo, .anim-logo { width: min(320px, 70vw); aspect-ratio: 1; pointer-events: none; display: block; }
.cl-loader__txt { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.cl-loader__dots { display: inline-flex; gap: 5px; }
.cl-loader__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); animation: dotJump 1s var(--ease) infinite; }
.cl-loader__dots i:nth-child(2) { background: var(--pink); animation-delay: .15s; }
.cl-loader__dots i:nth-child(3) { background: var(--lavender); animation-delay: .3s; }
@keyframes dotJump { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-9px); } }
.cl-loader__bar { width: 180px; height: 6px; border-radius: 9px; background: rgba(58,58,58,.08); overflow: hidden; }
.cl-loader__bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--aqua), var(--pink), var(--lavender)); animation: loadbar 2.2s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes loadbar { 60% { width: 75%; } 100% { width: 100%; } }
.cl-loader__cloud { position: absolute; bottom: -2px; inset-inline: 0; height: 120px; color: #fff; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 4px; z-index: 70; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(var(--p, 0)); background: linear-gradient(270deg, var(--aqua), var(--pink), var(--lavender)); border-radius: 0 0 0 4px; }

/* ---------- Page transition ---------- */
body { animation: pageIn .6s var(--ease); }
@keyframes pageIn { from { opacity: 0; } }
body.leaving main, body.leaving .hero, body.leaving .chead { opacity: 0; transform: translateY(10px); transition: all .25s ease; }

/* ---------- Fly to cart + burst ---------- */
.fly { position: fixed; z-index: 200; width: 90px; height: 90px; border-radius: 24px; pointer-events: none; object-fit: contain; background: var(--tint, var(--blush)); padding: 6px; box-shadow: var(--sh-lift); transition: transform .85s cubic-bezier(.5,-0.3,.7,1), opacity .85s ease; }
.burst { position: fixed; z-index: 201; pointer-events: none; width: 14px; height: 14px; }
.burst i { position: absolute; inset: 0; background: var(--c); -webkit-mask: url("../img/kit/Heart.svg") center/contain no-repeat; mask: url("../img/kit/Heart.svg") center/contain no-repeat; animation: burst .8s cubic-bezier(.2,.8,.3,1) forwards; }
.burst i.s { -webkit-mask-image: url("../img/kit/Sparkle.svg"); mask-image: url("../img/kit/Sparkle.svg"); }
@keyframes burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.4); opacity: 0; } }
.icon-btn.wiggle { animation: wiggle .6s var(--bounce); }
@keyframes wiggle { 20% { transform: rotate(-14deg) scale(1.15); } 40% { transform: rotate(10deg) scale(1.15); } 60% { transform: rotate(-6deg); } }

/* ---------- Card tilt & shine ---------- */
@media (hover: hover) and (pointer: fine) {
  .pcard__media { transform-style: preserve-3d; will-change: transform; }
  .pcard.tilting .pcard__media { transition: transform .08s linear, box-shadow .4s; }
  .pcard__media .shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 60%); }
  .pcard:hover .shine { opacity: 1; }
}

/* ---------- Sparkle cursor trail ---------- */
.trail { position: fixed; z-index: 150; pointer-events: none; width: 16px; height: 16px; background: var(--c); -webkit-mask: url("../img/kit/Sparkle.svg") center/contain no-repeat; mask: url("../img/kit/Sparkle.svg") center/contain no-repeat; animation: trail .9s ease-out forwards; }
@keyframes trail { to { transform: translateY(18px) scale(.2) rotate(90deg); opacity: 0; } }

/* ---------- Marquee ribbon ---------- */
.marquee { overflow: hidden; background: var(--charcoal); color: #fff; padding-block: 14px; transform: rotate(-1.5deg); margin-block: 10px; position: relative; z-index: 2; box-shadow: 0 18px 40px -20px rgba(0,0,0,.35); }
.marquee--pink { background: var(--pink); color: var(--charcoal); transform: rotate(1.2deg); }
.marquee--aqua { background: var(--aqua); color: var(--charcoal); }
.marquee__track { display: flex; width: max-content; gap: 34px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 34px; font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 2vw, 24px); white-space: nowrap; }
.marquee__track img { width: 30px; height: 30px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Floating 3D elements & parallax ---------- */
.fx { position: absolute; pointer-events: none; z-index: 1; filter: drop-shadow(0 14px 18px rgba(58,58,58,.12)); }
.fx img { width: 100%; animation: float var(--dur, 6s) ease-in-out infinite; animation-delay: var(--del, 0s); }
[data-depth] { transition: transform .4s cubic-bezier(.2,.8,.3,1); will-change: transform; }

/* ---------- Count-up / misc ---------- */
[data-count] { font-variant-numeric: tabular-nums; }
.to-top {
  position: fixed; z-index: 55; bottom: 108px; left: 18px; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; box-shadow: var(--sh-card); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8);
  transition: all .45s var(--bounce);
}
.to-top.on { opacity: 1; transform: none; }
.to-top img { width: 44px; transition: transform .4s var(--bounce); }
.to-top:hover img { transform: translateY(-5px) rotate(-8deg); }
@media (min-width: 1024px) { .to-top { bottom: 28px; left: 28px; } }

.wavy { position: relative; display: inline-block; }
.wavy::after { content: ""; position: absolute; inset-inline: 0; bottom: -10px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6c5-6 15-6 20 0s15 6 20 0' fill='none' stroke='%234FDBD4' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") 0 0/40px 12px repeat-x; animation: wavyMove 1.6s linear infinite; }
@keyframes wavyMove { to { background-position: -40px 0; } }

.sticker-img { position: absolute; z-index: 3; filter: drop-shadow(0 8px 12px rgba(58,58,58,.14)); transition: transform .5s var(--bounce); }
.sticker-img:hover { transform: rotate(10deg) scale(1.12); }

/* word-by-word title reveal (Persian-safe: never split letters) */
.words .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); animation: wordIn .7s var(--bounce) forwards; animation-delay: calc(var(--i) * .08s + .15s); }
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Category header (chead)
   ========================================================================== */
.chead {
  --c1: var(--sky); --c2: #fff;
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); margin-top: 18px;
  min-height: clamp(300px, 36vw, 440px); display: grid; align-items: center;
  background: radial-gradient(80% 120% at 90% 10%, rgba(255,255,255,.9), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), var(--sh-card);
}
.chead__pattern { position: absolute; inset: 0; z-index: -2; background: var(--pattern) center/240px; opacity: .28; mask-image: linear-gradient(270deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 70%); }
.chead__art { position: absolute; z-index: -1; inset-block: 0; left: -2%; width: min(64%, 760px); display: grid; place-items: center; }
.chead__art img { width: 100%; height: 100%; object-fit: contain; object-position: left center; animation: float 8s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(58,58,58,.12)); }
.chead__copy { position: relative; z-index: 2; padding: clamp(24px, 4vw, 54px); max-width: 520px; display: grid; gap: 12px; justify-items: start; }
.chead__en { font-family: var(--font-display); font-size: 13px; letter-spacing: .3em; font-weight: 800; color: var(--link); direction: ltr; text-transform: uppercase; background: rgba(255,255,255,.75); padding: 4px 14px; border-radius: 99px; }
.chead h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.15; font-weight: 900; text-shadow: 0 3px 0 #fff, 0 6px 24px rgba(255,255,255,.8); }
.chead p { color: #4a4a55; font-size: 15.5px; max-width: 400px; }
.chead__stats { display: flex; gap: 8px; flex-wrap: wrap; }
.chead__stats span { background: rgba(255,255,255,.8); backdrop-filter: blur(8px); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 750; display: inline-flex; gap: 6px; align-items: center; box-shadow: var(--sh-soft); }
.chead__stats .i { width: 16px; height: 16px; color: var(--link); }
.chead__wave { position: absolute; bottom: -1px; inset-inline: 0; height: 46px; z-index: 1; color: var(--warm); }
.chead__wave path { animation: waveShift 7s ease-in-out infinite alternate; }
@keyframes waveShift { to { transform: translateX(-40px); } }
.chead__sticker { position: absolute; z-index: 3; top: 16%; left: 42%; width: 88px; }
@media (max-width: 760px) {
  .chead { align-items: end; min-height: 420px; }
  .chead__art { inset-inline: 0; left: 0; width: 100%; height: 58%; top: 0; bottom: auto; }
  .chead__art img { object-position: center; }
  .chead__copy { padding-top: 0; }
  .chead__pattern { mask-image: none; -webkit-mask-image: none; }
  .chead__sticker { top: 14px; left: auto; right: 14px; width: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .cl-loader { display: none; }
  .marquee__track, .fx img, .chead__art img, .chead__wave path { animation: none !important; }
  .words .w { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .hero .sticker-img, .hero .fx { display: none; }
  .hero .fx:nth-of-type(1), .hero .fx:nth-of-type(4) { display: block; transform: scale(.7); }
}
