/* ==========================================================================
   O8 Creamery — sub-site styles (own brand world, powered by Capital of Creativity)
   Palette from the approved brand guidelines.
   ========================================================================== */
:root {
  --lav: #B49AE8;
  --lav-600: #9C7FDB;
  --lilac: #E6DCFA;
  --peach: #FFC4A3;
  --pist: #CDE6B1;
  --cloud: #FBF8F3;
  --plum: #3B2E5A;
  --plum-2: #5A4B7E;
  --saffron: #F5B83D;
  --berry: #F28DB2;
  --white: #fff;
  --radius: 28px;
  --header-h: 72px;
  --gutter: 16px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 22px 50px -24px rgba(59, 46, 90, .45);
  --font-display: 'Baloo Bhaijaan 2', 'Quicksand', system-ui, sans-serif;
  --font-body: 'Tajawal', 'Nunito Sans', system-ui, sans-serif;
  --drip: url("../svg/drip.svg");
}
html[lang="en"] {
  --font-display: 'Quicksand', 'Baloo Bhaijaan 2', system-ui, sans-serif;
  --font-body: 'Nunito Sans', 'Tajawal', system-ui, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 70px); }
html.pre-en:not(.i18n-ready) body { opacity: 0; }
body { margin: 0; background: var(--cloud); color: var(--plum); font: 400 17px/1.7 var(--font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-size: 18px; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .45em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 8px; }
.on-plum :focus-visible { outline-color: var(--peach); }
::selection { background: var(--lav); color: var(--plum); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .65em 1.5em;
  border-radius: 999px; border: 0; background: var(--plum); color: #fff; text-decoration: none; cursor: pointer;
  font: 700 1.02rem/1.2 var(--font-display); box-shadow: 0 6px 0 0 rgba(59, 46, 90, .25);
  transition: transform .4s var(--bounce), box-shadow .3s, background-color .3s;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 0 rgba(59, 46, 90, .22); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 0 rgba(59, 46, 90, .25); }
.btn svg { width: 1.15em; height: 1.15em; }
[dir="rtl"] .btn .flip { transform: scaleX(-1); }
.btn--lav { background: var(--lav); color: var(--plum); }
.btn--peach { background: var(--peach); color: var(--plum); }
.btn--white { background: #fff; color: var(--plum); }
.btn--ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--plum); background: rgba(255,255,255,.5); }
.btn--sm { min-height: 42px; padding: .45em 1.1em; font-size: .95rem; }

/* ---------- header ---------- */
.c-header { position: fixed; top: 0; inset-inline: 0; z-index: 60; height: var(--header-h); display: flex; align-items: center; transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.c-header.is-scrolled { background: rgba(251, 248, 243, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 24px -18px rgba(59, 46, 90, .5); }
.c-header .container { display: flex; align-items: center; gap: 14px; }
.c-logo { display: flex; align-items: center; flex-shrink: 0; }
.c-logo img { height: 34px; width: auto; transition: transform .5s var(--bounce); }
.c-logo:hover img { transform: rotate(-4deg) scale(1.05); }
.c-nav { display: none; margin-inline-start: auto; }
.c-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.c-nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font: 700 1rem var(--font-display); transition: background-color .3s, transform .4s var(--bounce); }
.c-nav a:hover { background: var(--lilac); transform: translateY(-2px) rotate(-2deg); }
.c-nav a[aria-current="page"] { background: var(--lav); }
.c-actions { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
.c-nav + .c-actions { margin-inline-start: 8px; }
.lang-toggle { min-width: 50px; height: 42px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--plum); background: #fff; color: var(--plum); font: 700 .95rem 'Tajawal', 'Nunito Sans', sans-serif; cursor: pointer; transition: background-color .3s, transform .4s var(--bounce); }
.lang-toggle:hover { background: var(--lilac); transform: rotate(-4deg); }
.c-order { display: none; }
@media (min-width: 960px) { .c-nav { display: block; } .c-order { display: inline-flex; } }
.c-burger { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--lilac); color: var(--plum); cursor: pointer; display: grid; place-items: center; }
.c-burger svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .c-burger { display: none; } }
.c-drawer { position: fixed; inset: 0; z-index: 55; background: var(--lav); padding: calc(var(--header-h) + 30px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-105%); transition: transform .6s var(--ease); visibility: hidden; }
.c-drawer::after { content: ""; position: absolute; inset-inline: 0; bottom: -59px; height: 60px; background: var(--lav); -webkit-mask: var(--drip) repeat-x top / 260px 100%; mask: var(--drip) repeat-x top / 260px 100%; }
.menu-open .c-drawer { transform: none; visibility: visible; }
.c-drawer a { font: 700 2rem var(--font-display); text-decoration: none; padding: 6px 0; }
.c-drawer .btn { align-self: flex-start; margin-top: 18px; font-size: 1.05rem; }
body.menu-open { overflow: hidden; }

/* ---------- drips ---------- */
.drip { position: absolute; top: -1px; inset-inline: 0; height: var(--drip-h, 80px); background: var(--drip-c, var(--cloud)); -webkit-mask: var(--drip) repeat-x top / 300px 100%; mask: var(--drip) repeat-x top / 300px 100%; transform-origin: top; pointer-events: none; z-index: 2; }
.drip--bottom { top: auto; bottom: -79px; }
@media (max-width: 600px) { .drip { -webkit-mask-size: 220px 100%; mask-size: 220px 100%; --drip-h: 60px; } .drip--bottom { bottom: -59px; } }

/* ---------- hero ---------- */
.c-hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: var(--lav); color: var(--plum); }
.c-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.c-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(251, 248, 243, .96) 0%, rgba(251, 248, 243, .75) 30%, rgba(251, 248, 243, 0) 60%); }
.c-hero .container { position: relative; z-index: 3; padding-bottom: 120px; padding-top: calc(var(--header-h) + 40px); }
.c-hero__copy { max-width: 560px; }
@media (min-width: 900px) {
  .c-hero { align-items: center; }
  .c-hero__shade { background: linear-gradient(to left, rgba(251, 248, 243, .94) 0%, rgba(251, 248, 243, .78) 34%, rgba(251, 248, 243, 0) 62%); }
  .c-hero__copy { margin-left: auto; }
  .c-hero .container { padding-bottom: 110px; }
}
.c-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.02em; }
html[lang="ar"] .c-hero h1 { letter-spacing: 0; }
.c-hero h1 .w { display: inline-block; }
.c-hero h1 .pop { color: var(--lav-600); }
.c-hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 30em; }
.tag-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; font: 700 .9rem var(--font-display); box-shadow: 0 4px 0 rgba(59,46,90,.12); margin-bottom: 16px; }
.tag-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--berry); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { transform: scale(.6); opacity: .5; } }
.c-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.c-hero .drip { top: auto; bottom: -1px; transform: scaleY(-1); transform-origin: center; --drip-c: var(--cloud); }
.video-toggle { position: absolute; z-index: 4; bottom: 96px; inset-inline-start: var(--gutter); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--plum); display: grid; place-items: center; cursor: pointer; }
.video-toggle svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .video-toggle { inset-inline-start: auto; left: 24px; } }

/* floating sprinkles & scoops */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.floater { position: absolute; animation: float 6s ease-in-out infinite; }
.floater:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.floater:nth-child(3n) { animation-duration: 9s; animation-delay: -4s; }
.sprinkle { width: 22px; height: 7px; border-radius: 6px; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: 12deg; } }

/* ---------- sections ---------- */
.c-section { position: relative; padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.c-section--lilac { background: var(--lilac); }
.c-section--lav { background: var(--lav); }
.c-section--peach { background: var(--peach); }
.c-section--pist { background: var(--pist); }
.c-section--plum { background: var(--plum); color: var(--cloud); }
.c-head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 54px); }
.c-head--center { margin-inline: auto; text-align: center; }
.c-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.c-head p { font-size: 1.1rem; opacity: .9; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--font-display); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
html[lang="ar"] .kicker { letter-spacing: 0; text-transform: none; }
.kicker img, .kicker svg { width: 22px; height: 22px; }

/* promise trio */
.promise { display: grid; gap: 18px; }
@media (min-width: 860px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.blob-card { position: relative; padding: 30px 26px; border-radius: 36px 36px 36px 12px; background: #fff; box-shadow: var(--shadow); transition: transform .5s var(--bounce); }
[dir="rtl"] .blob-card { border-radius: 36px 36px 12px 36px; }
.blob-card:nth-child(2) { background: var(--peach); }
.blob-card:nth-child(3) { background: var(--pist); }
.blob-card img { width: 64px; height: 64px; margin-bottom: 14px; }
.blob-card h3 { font-size: 1.45rem; }
.blob-card p { margin: 0; }
.wobble:hover { animation: wobble .8s var(--ease); }
@keyframes wobble { 0% { transform: rotate(0); } 20% { transform: rotate(-2.5deg) scale(1.03); } 40% { transform: rotate(2deg) scale(1.03); } 60% { transform: rotate(-1.2deg) scale(1.02); } 80% { transform: rotate(.6deg); } 100% { transform: rotate(0); } }

/* flavour cards (preview + menu) */
.flavours { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.f-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; padding: 18px 18px 22px; box-shadow: 0 2px 0 rgba(59,46,90,.06), var(--shadow); transform-style: preserve-3d; transition: box-shadow .4s, opacity .2s; }
.f-card__art { position: relative; border-radius: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--tint, var(--lilac)); overflow: hidden; margin-bottom: 16px; }
.f-card__art::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-cloud.webp") center / 220px; opacity: .25; mix-blend-mode: multiply; }
.f-card__art svg { position: relative; height: 86%; width: auto; transition: transform .6s var(--bounce); filter: drop-shadow(0 10px 10px rgba(59,46,90,.18)); }
.f-card:hover .f-card__art svg { transform: translateY(-6px) rotate(-6deg) scale(1.05); }
.f-card h3 { font-size: 1.3rem; margin-bottom: .25em; }
.f-card p { font-size: .98rem; margin-bottom: .8em; opacity: .9; }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.f-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: var(--c); font: 700 .8rem var(--font-display); color: var(--plum); }
[dir="rtl"] .f-chips li { padding: 3px 4px 3px 10px; }
.f-chips li i { width: 14px; height: 14px; border-radius: 50%; background: var(--d); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.f-addons { font-size: .9rem; margin-top: auto; padding-top: 10px; border-top: 2px dashed var(--lilac); }
.f-addons b { font-family: var(--font-display); }
.f-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.f-price { font: 800 1.15rem var(--font-display); }
.f-price small { font-size: .7em; opacity: .7; }
.f-tags { position: absolute; top: 28px; inset-inline-start: 28px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.f-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font: 700 .76rem var(--font-display); background: #fff; color: var(--plum); box-shadow: 0 3px 0 rgba(59,46,90,.15); }
.f-tag--signature { background: var(--plum); color: #fff; }
.f-tag--new { background: var(--berry); color: var(--plum); }
.f-tag--caffeine { background: #fff; }
.f-card.is-off { background: #F3F1F5; box-shadow: none; }
.f-card.is-off .f-card__art { filter: grayscale(1); opacity: .55; }
.f-card.is-off h3, .f-card.is-off p, .f-card.is-off .f-chips, .f-card.is-off .f-addons { opacity: .62; }
.soon { position: absolute; top: 24px; inset-inline-end: 24px; z-index: 3; transform: rotate(6deg); padding: 6px 14px; border-radius: 999px; background: var(--peach); color: var(--plum); font: 800 .85rem var(--font-display); box-shadow: 0 4px 0 rgba(59,46,90,.2); }
[dir="rtl"] .soon { transform: rotate(-6deg); }

/* flavour marquee */
.f-marquee { overflow: hidden; background: var(--plum); color: var(--cloud); padding: 22px 0; transform: rotate(-2deg); margin: -10px -20px; position: relative; z-index: 3; }
.f-marquee__track { display: flex; width: max-content; animation: slide 32s linear infinite; }
[dir="rtl"] .f-marquee__track { animation-name: slideRtl; }
.f-marquee span { font: 700 clamp(1.5rem, 4vw, 2.6rem) var(--font-display); padding-inline: 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.f-marquee span::after { content: ""; width: 28px; height: 28px; background: url("../svg/mark-white.svg") center / contain no-repeat; }
.f-marquee span:nth-child(3n+1) { color: var(--peach); }
.f-marquee span:nth-child(3n+2) { color: var(--pist); }
.f-marquee span:nth-child(3n) { color: var(--lilac); }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes slideRtl { to { transform: translateX(50%); } }

/* how to order */
.order-steps { display: grid; gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0 0 40px; }
@media (min-width: 860px) { .order-steps { grid-template-columns: repeat(3, 1fr); } }
.order-steps li { counter-increment: s; position: relative; padding: 28px 24px 24px; background: rgba(255,255,255,.7); border-radius: var(--radius); }
.order-steps li::before { content: counter(s); position: absolute; top: -18px; inset-inline-start: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font: 800 1.2rem var(--font-display); box-shadow: 0 4px 0 rgba(0,0,0,.15); }
.order-steps h3 { font-size: 1.3rem; margin-top: 10px; }
.order-steps p { margin: 0; }
.apps { display: grid; gap: 14px; }
@media (min-width: 720px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: 22px; background: #fff; color: var(--plum); text-decoration: none; box-shadow: 0 6px 0 rgba(59,46,90,.18); transition: transform .45s var(--bounce), box-shadow .3s; }
.app-btn:hover { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 10px 0 rgba(59,46,90,.15); }
.app-btn b { display: block; font: 800 1.25rem var(--font-display); }
.app-btn small { opacity: .75; font-size: .85rem; }
.app-btn .dot { flex: 0 0 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--c); }
.app-btn .dot img { width: 30px; height: 30px; }
.app-note { margin-top: 18px; font-size: .92rem; opacity: .85; text-align: center; }

/* gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); align-items: start; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gallery__col { display: grid; gap: 14px; }
@media (min-width: 900px) { .gallery__col { gap: 20px; } .gallery__col:nth-child(2) { margin-top: 80px; } }
.gallery__col--hide-sm { display: none; }
@media (min-width: 900px) { .gallery__col--hide-sm { display: grid; } }
.g-item { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: var(--lilac); box-shadow: var(--shadow); }
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.06) rotate(-1deg); }
.g-item figcaption { position: absolute; bottom: 12px; inset-inline-start: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font: 700 .85rem var(--font-display); }

/* instagram */
.insta { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(32px, 6vw, 70px); background: var(--lav) url("../img/pattern-lavender.webp") center / 360px; display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) { .insta { grid-template-columns: 1.2fr .8fr; } }
.insta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(180,154,232,.94), rgba(180,154,232,.7)); }
.insta > * { position: relative; }
.insta h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.insta .handle { font: 800 clamp(1.6rem, 4vw, 2.4rem) 'Quicksand', sans-serif; display: inline-block; background: #fff; padding: 4px 18px; border-radius: 999px; transform: rotate(-2deg); margin-bottom: 16px; direction: ltr; }
.phone { justify-self: center; width: min(70vw, 260px); aspect-ratio: 9 / 18; border-radius: 36px; background: var(--plum); padding: 10px; box-shadow: 0 30px 60px -25px rgba(59,46,90,.7); transform: rotate(5deg); transition: transform .6s var(--bounce); }
.phone:hover { transform: rotate(0) scale(1.03); }
.phone__screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 3px; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen .ph-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 10px; font: 700 .8rem 'Quicksand', sans-serif; direction: ltr; }
.phone__screen .ph-head img { width: 34px; height: 34px; border-radius: 50%; background: var(--lilac); object-fit: contain; padding: 4px; }

/* footer */
.c-footer { position: relative; background: var(--plum); color: var(--cloud); padding: 120px 0 30px; }
.c-footer .drip { --drip-c: var(--cloud); }
.c-footer__grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .c-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } }
.c-footer img.logo { width: 150px; height: auto; }
.c-footer h3 { font-size: 1.1rem; color: var(--lilac); }
.c-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.c-footer a { color: var(--cloud); text-decoration: none; }
.c-footer a:hover { color: var(--peach); }
.powered { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.08); text-decoration: none; transition: background-color .3s, transform .4s var(--bounce); }
[dir="rtl"] .powered { padding: 10px 10px 10px 18px; }
.powered:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.powered img { width: 34px; height: auto; }
.powered span { display: flex; flex-direction: column; line-height: 1.2; font-size: .8rem; opacity: .85; }
.powered b { font: 700 1rem var(--font-display); opacity: 1; }
.c-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; opacity: .85; }

/* ---------- menu page ---------- */
.m-hero { position: relative; background: var(--lav); padding: calc(var(--header-h) + 50px) 0 120px; overflow: hidden; }
.m-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.m-hero p { font-size: 1.15rem; max-width: 34em; }
.m-hero .container { position: relative; z-index: 2; }
.m-hero .drip { top: auto; bottom: -1px; transform: scaleY(-1); transform-origin: center; --drip-c: var(--cloud); }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.75); font: 700 .85rem var(--font-display); }
.m-bar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(251, 248, 243, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 10px 0; border-bottom: 2px solid var(--lilac); }
.m-bar .container { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; background: var(--lilac); border-radius: 999px; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--plum); transition: left .5s var(--bounce), width .5s var(--bounce); z-index: 0; }
.tab { position: relative; z-index: 1; flex-shrink: 0; min-height: 40px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--plum); font: 700 .95rem var(--font-display); cursor: pointer; white-space: nowrap; transition: color .3s; }
.tab[aria-pressed="true"] { color: #fff; }
.no-ind .tab[aria-pressed="true"] { background: var(--plum); }
.m-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { position: relative; }
.search input { width: min(220px, 52vw); min-height: 42px; padding: 8px 14px 8px 38px; border-radius: 999px; border: 2px solid var(--lilac); background: #fff; font: 600 .95rem var(--font-body); color: var(--plum); }
[dir="rtl"] .search input { padding: 8px 38px 8px 14px; }
.search input:focus { outline: none; border-color: var(--lav-600); box-shadow: 0 0 0 4px rgba(180,154,232,.35); }
.search svg { position: absolute; top: 50%; inset-inline-start: 12px; width: 18px; height: 18px; transform: translateY(-50%); opacity: .7; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 4px 14px 4px 6px; border-radius: 999px; border: 2px solid var(--lilac); background: #fff; color: var(--plum); font: 700 .92rem var(--font-display); cursor: pointer; }
[dir="rtl"] .switch { padding: 4px 6px 4px 14px; }
.switch__track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #DDD6E8; transition: background-color .3s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .4s var(--bounce); }
.switch[aria-checked="true"] .switch__track { background: #6BBF59; }
.switch[aria-checked="true"] .switch__track::after { transform: translateX(18px); }
.m-group { padding-top: 40px; }
.m-group h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.m-group h2 small { font: 700 .9rem var(--font-display); padding: 2px 10px; border-radius: 999px; background: var(--lilac); }
.m-empty { text-align: center; padding: 60px 0; }
.m-empty svg { width: 120px; margin: 0 auto 14px; }
.addon-bar { position: relative; margin-top: 70px; padding: clamp(28px, 5vw, 50px); border-radius: 36px; background: var(--pist); overflow: hidden; }
.addon-bar h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.addon-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.addon-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; font: 700 .95rem var(--font-display); box-shadow: 0 4px 0 rgba(59,46,90,.12); transition: transform .4s var(--bounce); }
[dir="rtl"] .addon-list li { padding: 8px 8px 8px 16px; }
.addon-list li:hover { transform: translateY(-3px) rotate(-2deg); }
.addon-list li i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); }
.addon-list .premium { background: linear-gradient(120deg, #F7E7B4, #E9C46A); }
.addon-list .premium em { font-style: normal; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--plum); color: #fff; }
.order-bar { position: fixed; z-index: 45; bottom: 12px; inset-inline: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--plum); color: #fff; box-shadow: 0 16px 40px -14px rgba(59,46,90,.7); transform: translateY(150%); transition: transform .6s var(--bounce); }
[dir="rtl"] .order-bar { padding: 8px 16px 8px 8px; }
.order-bar.is-on { transform: none; }
.order-bar span { font: 700 .9rem var(--font-display); margin-inline-end: auto; }
.order-bar a { padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--plum); text-decoration: none; font: 800 .82rem var(--font-display); white-space: nowrap; }
.order-bar a:hover { background: var(--peach); }
@media (min-width: 720px) { .order-bar { inset-inline: auto; left: 50%; translate: -50% 0; } .order-bar span { margin-inline-end: 10px; } }
@media (max-width: 400px) { .order-bar span { display: none; } .order-bar { justify-content: center; } }

/* reveal helpers */
.anim-ready [data-reveal] { opacity: 0; transform: translateY(40px) scale(.97); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .anim-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  .floaters { display: none; }
}

[hidden] { display: none !important; }
.f-marquee-wrap { overflow: hidden; padding: 30px 0; margin: -30px 0; position: relative; z-index: 3; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* entrance animation for cards and tabs (CSS so it never depends on JS timing) */
@keyframes popIn { from { opacity: 0; transform: translateY(46px) rotate(var(--r, -3deg)) scale(.92); } to { opacity: 1; transform: none; } }
.pop { animation: popIn .8s var(--bounce) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
.f-card.leaving { opacity: 0; }

/* desktop hero: video sits on the left two-thirds so its end-frame logo never sits under the headline */
@media (min-width: 900px) {
  .c-hero { background: var(--cloud); }
  .c-hero__video { width: 66%; }
  .c-hero__shade { background: linear-gradient(to left, var(--cloud) 0%, var(--cloud) 34%, rgba(251, 248, 243, .6) 42%, rgba(251, 248, 243, 0) 54%); }
}
.lang-toggle { min-width: 64px; padding: 0 14px; }
.video-toggle { left: var(--gutter); right: auto; inset-inline-start: auto; }
@media (max-width: 899px) { .c-header { background: rgba(251, 248, 243, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }

/* ===================== launch version components (2026-10-12) ===================== */
/* product photo cards */
.f-card__art { aspect-ratio: 1 / 1; }
.f-card__art img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bounce); }
.f-card__art img.is-icon { width: 46%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(59,46,90,.18)); }
.f-card:hover .f-card__art img { transform: scale(1.06) rotate(-2deg); }
.f-card__art::before { z-index: 1; pointer-events: none; opacity: 0; }
.f-card--icon .f-card__art::before { opacity: .25; }
.f-tag--bestseller { background: var(--peach); color: var(--plum); }
.f-tag--signature { background: var(--plum); color: #fff; }
.size-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--lilac); margin: 2px 0 10px; align-self: flex-start; }
.size-toggle button { min-height: 34px; padding: 4px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--plum); font: 800 .85rem var(--font-display); cursor: pointer; transition: background-color .3s, color .3s, transform .3s var(--bounce); }
.size-toggle button[aria-pressed="true"] { background: var(--plum); color: #fff; transform: scale(1.04); }
.size-toggle--lg button { min-height: 42px; font-size: .95rem; padding: 6px 18px; }
.f-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 10px; font: 700 .9rem var(--font-display); }
.fact { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.fact svg { opacity: .75; flex-shrink: 0; }
.fact--price { font-size: 1.25rem; font-weight: 800; color: var(--plum); padding: 2px 12px; border-radius: 999px; background: var(--tint, var(--lilac)); }
.fact--caf { color: #8a5a00; }
.f-facts.is-flip { animation: flipIn .45s var(--bounce); }
@keyframes flipIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.allergens { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.allergens li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; border: 1.5px dashed #CBBFE3; font: 700 .76rem var(--font-display); color: var(--plum-2); }
.allergens li.is-caf { border-style: solid; border-color: #F0C36A; background: #FFF6DE; color: #7a5200; }
.f-meta { margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--lilac); }
.f-order { display: flex; gap: 6px; flex-wrap: wrap; margin-inline-start: auto; }
.mini { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; font: 800 .8rem var(--font-display); text-decoration: none; background: var(--plum); color: #fff; transition: transform .35s var(--bounce), background-color .3s; }
.mini--jz { background: var(--peach); color: var(--plum); }
.mini:hover { transform: translateY(-2px) rotate(-2deg); }
.m-sub { margin: -6px 0 18px; opacity: .85; }
.cat-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 10px; padding: 14px 18px; border-radius: 22px; background: var(--lilac); }
.cat-cta span { font: 800 1.05rem var(--font-display); margin-inline-end: auto; }

/* big order buttons */
.btn--order { flex-direction: column; gap: 0; line-height: 1.1; padding: .6em 1.6em; min-height: 58px; font-size: 1.1rem; }
.btn--order small { font: 700 .78rem var(--font-body); opacity: .85; }
.order-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.order-big { display: grid; gap: 14px; }
@media (min-width: 720px) { .order-big { grid-template-columns: 1fr 1fr; } }
.order-big a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: 26px; text-decoration: none; background: #fff; color: var(--plum); box-shadow: 0 7px 0 rgba(59,46,90,.18); transition: transform .45s var(--bounce), box-shadow .3s; }
.order-big a:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 12px 0 rgba(59,46,90,.15); }
.order-big b { display: block; font: 800 clamp(1.4rem, 3vw, 1.9rem) var(--font-display); }
.order-big small { font-weight: 700; opacity: .75; }
.order-big .go { flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; background: var(--plum); color: #fff; font: 800 1rem var(--font-display); }
.order-big a:nth-child(2) .go { background: var(--lav); color: var(--plum); }

/* counters strip */
.counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
@media (min-width: 860px) { .counts { grid-template-columns: repeat(4, 1fr); } }
.count { padding: 20px; border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 5px 0 rgba(59,46,90,.08); }
.count b { display: block; font: 800 clamp(2.4rem, 5vw, 3.2rem)/1 var(--font-display); color: var(--lav-600); font-variant-numeric: tabular-nums; }
.count span { font: 700 .95rem var(--font-display); }

/* spotlight */
.spot { position: relative; }
.spot__stage { display: grid; gap: 28px; align-items: center; padding: clamp(20px, 4vw, 44px); border-radius: 40px; background: #fff; box-shadow: var(--shadow); }
@media (min-width: 900px) { .spot__stage { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.spot__art { position: relative; aspect-ratio: 1; border-radius: 34px; overflow: hidden; background: var(--tint, var(--lilac)); display: grid; place-items: center; }
.spot__art img { width: 100%; height: 100%; object-fit: cover; animation: floaty 6s ease-in-out infinite; }
.spot__art.is-icon img { width: 50%; height: auto; object-fit: contain; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.spot__copy h3 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 10px; }
.spot__tags { position: static; margin-bottom: 6px; }
.spot__price { font: 700 1.1rem var(--font-display); }
.spot__price b { font-size: 1.5rem; }
.spot__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.spot__stage.is-swap .spot__art { animation: spotArt .8s var(--bounce); }
.spot__stage.is-swap .spot__copy > * { animation: spotIn .6s var(--ease) backwards; }
.spot__stage.is-swap .spot__copy > :nth-child(2) { animation-delay: .06s; } .spot__stage.is-swap .spot__copy > :nth-child(3) { animation-delay: .12s; }
.spot__stage.is-swap .spot__copy > :nth-child(4) { animation-delay: .18s; } .spot__stage.is-swap .spot__copy > :nth-child(5) { animation-delay: .24s; }
@keyframes spotArt { from { transform: scale(.85) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spotIn { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.spot__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.spot__nav > button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--plum); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .35s var(--bounce); }
.spot__nav > button:hover { transform: scale(1.1); }
.spot__nav > button svg { width: 20px; height: 20px; }
[dir="rtl"] .spot__nav > button svg { transform: scaleX(-1); }
.spot__dots { display: flex; gap: 8px; }
.spot__dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(59,46,90,.25); cursor: pointer; padding: 0; transition: width .4s var(--bounce), background-color .3s; }
.spot__dots button[aria-pressed="true"] { width: 34px; background: var(--plum); }

/* chip cloud */
.addon-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; list-style: none; margin: 22px 0 0; padding: 10px 0; }
.addon-cloud li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; font: 800 calc(.95rem * var(--s, 1)) var(--font-display); box-shadow: 0 5px 0 rgba(59,46,90,.12); opacity: 0; transform: scale(.6) translateY(20px); }
[dir="rtl"] .addon-cloud li { padding: 8px 8px 8px 18px; }
.addon-cloud li img, .addon-cloud li i { width: calc(40px * var(--s, 1)); height: calc(40px * var(--s, 1)); border-radius: 50%; object-fit: cover; background: var(--c); }
.addon-cloud li em { font-style: normal; font-size: .78em; padding: 2px 8px; border-radius: 999px; background: var(--c); }
.is-in .addon-cloud li { animation: chipIn .7s var(--bounce) forwards, chipFloat var(--d, 6s) ease-in-out infinite; animation-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms + .7s); }
@keyframes chipIn { to { opacity: 1; transform: none; } }
@keyframes chipFloat { 0%, 100% { opacity: 1; transform: translateY(0) rotate(0); } 50% { opacity: 1; transform: translateY(-8px) rotate(-2deg); } }
.addon-cloud li:hover { animation-play-state: paused; }

/* nutrition + good to know */
.nutri-section { margin-top: 70px; }
.nutri__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.nutri__head h2 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.nutri__wrap { overflow-x: auto; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.nutri { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.nutri th, .nutri td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--lilac); white-space: nowrap; }
.nutri thead th { background: var(--plum); color: #fff; font-family: var(--font-display); }
.nutri tbody tr:nth-child(even) { background: #FAF7FF; }
.nutri tbody th { font-weight: 700; }
.nutri td { font-variant-numeric: tabular-nums; }
.nutri__note { font-size: .88rem; opacity: .8; margin-top: 10px; }
.gtk-section { margin-top: 60px; }
.gtk-section > h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.gtk { display: grid; gap: 16px; }
@media (min-width: 860px) { .gtk { grid-template-columns: repeat(3, 1fr); } }
.gtk__card { position: relative; padding: 26px 22px 22px; border-radius: 28px; background: var(--lilac); }
.gtk__card:nth-child(2) { background: var(--peach); } .gtk__card:nth-child(3) { background: var(--pist); }
.gtk__n { position: absolute; top: -14px; inset-inline-start: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font: 800 1rem var(--font-display); }
.gtk__card p { margin: 0; font-size: .95rem; }
.pdf-btn { display: inline-flex; align-items: center; gap: 8px; }
.pdf-btn svg { width: 18px; height: 18px; }

/* order bar: mobile only */
.order-bar a { padding: 10px 14px; font-size: .85rem; }
@media (min-width: 720px) { .order-bar { display: none; } }
.c-footer .order-ctas { margin-top: 16px; }
@media (min-width: 900px) { .c-hero__video { left: 0; right: auto; } }
@media (max-width: 899px) {
  .c-hero__shade { background: linear-gradient(to top, rgba(251,248,243,.98) 0%, rgba(251,248,243,.92) 48%, rgba(251,248,243,.55) 62%, rgba(251,248,243,0) 76%); }
  .c-hero h1 .pop { color: #7E5FCF; }
}
@media (max-width: 719px) { .m-hero .floater:not(.sprinkle), #spotlight-section .floater:not(.sprinkle) { display: none; } }

/* Keep the footer clear of the mobile order bar (2026-10-12) */
@media (max-width: 899px) { .c-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
