/* ------------------------------------------------------------------
   شفاء · Shifaa
   Light cream by default, dark on demand ([data-theme="dark"]).
   Choosing the olive-oil filter shifts the accent to olive ([data-world="olive"]).
------------------------------------------------------------------- */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #D8901C; }
@property --sun { syntax: "<color>"; inherits: true; initial-value: #F4C25A; }

:root {
  --bg: #FBF5EA;
  --bg-2: #F4EAD8;
  --surface: #FFFCF6;
  --line: #EADCC3;
  --ink: #2B1A0A;
  --muted: #7B6249;
  --accent: #D8901C;
  --sun: #F4C25A;
  --on-accent: #2A1402;
  --shadow: rgb(120 70 10 / .22);
  --drip: 170px;
  --font-display: "Aref Ruqaa", "Times New Roman", serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
  --font-latin: "Marcellus", Georgia, serif;
  --ease-honey: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
  transition: --accent .9s, --sun .9s;
}
[data-theme="dark"] {
  --bg: #1B1007;
  --bg-2: #22150A;
  --surface: #26170B;
  --line: #3E2913;
  --ink: #F7E8C9;
  --muted: #C9B391;
  --accent: #E8A021;
  --sun: #FFCC6E;
  --shadow: rgb(0 0 0 / .5);
  color-scheme: dark;
}
[data-world="olive"] { --accent: #8F9A2A; --sun: #C9CC5A; }
[data-theme="dark"][data-world="olive"] { --accent: #BDB443; --sun: #E6E08A; }

* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 350 1rem/1.75 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* theme switch: the new theme grows as a circle from the button (app.js) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

.skip {
  position: fixed; top: 12px; right: 12px; z-index: 100;
  padding: .6em 1em; border-radius: 999px;
  background: var(--sun); color: var(--on-accent);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.eyebrow {
  font: 400 .78rem/1 var(--font-latin);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em;
  border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease-honey), box-shadow .35s, background .35s;
}
.btn:active { transform: scale(.97); }
.btn--honey {
  color: var(--on-accent);
  background: linear-gradient(180deg, var(--sun), var(--accent));
  box-shadow: 0 12px 26px -14px var(--accent), inset 0 1px 0 rgb(255 255 255 / .55);
}
/* light sweep across honey buttons */
.btn--honey::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%);
  transform: translateX(120%);
  transition: transform .8s var(--ease-honey);
}
.btn--honey:hover { transform: translateY(-2px); }
.btn--honey:hover::after { transform: translateX(-120%); }
.btn--ghost {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 28%, transparent);
}
.btn--ghost:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.btn--block { width: 100%; }

/* ---------- scroll progress (native scroll-driven animation) ---------- */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block;
    position: fixed; inset: 0 0 auto 0; z-index: 60;
    height: 3px;
    background: linear-gradient(to left, var(--sun), var(--accent));
    transform-origin: right;
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  color: var(--ink);
  transition: background .4s, box-shadow .4s;
}
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__ar { font: 700 2rem/1 var(--font-display); }
.brand__en { font: .68rem/1 var(--font-latin); letter-spacing: .3em; color: var(--accent); }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: .45em .95em; border-radius: 999px;
  font-size: .95rem; text-decoration: none;
  transition: background .3s;
}
.nav__links a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
@media (max-width: 680px) { .nav__links { display: none; } }
.nav__tools { display: flex; gap: 10px; }

.theme-btn, .cart-btn {
  position: relative;
  display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 24%, transparent);
  cursor: pointer;
  transition: background .3s;
}
.theme-btn:hover, .cart-btn:hover { background: color-mix(in srgb, currentColor 18%, transparent); }
.theme-btn svg { width: 22px; height: 22px; }
.i-sun, [data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: block; }

.cart-btn { --fill: 0; }
.cart-btn svg { width: 24px; height: 30px; overflow: visible; }
.cart-level {
  fill: var(--sun);
  transform: translateY(calc(38px - var(--fill) * 26px));
  transition: transform .9s var(--ease-honey);
}
.cart-count {
  position: absolute; top: -3px; left: -3px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--sun); color: var(--on-accent);
  font: 700 .72rem/1 var(--font-body);
}
.cart-count:empty { display: none; }

/* ---------- hero: photo cover with a honey strip dripping off its lower edge ---------- */
.hero {
  --band: 56px;
  position: relative; z-index: 2;
  height: clamp(560px, 86svh, 820px);
  background: #EEE4D3;
  overflow-x: clip;
}
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 22% 60%;
}
/* cream wash behind the text (the text sits on the right, the start side in RTL) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to left, rgb(251 245 234 / .94) 0%, rgb(251 245 234 / .78) 34%, rgb(251 245 234 / 0) 62%);
}
[data-theme="dark"] .hero__photo { filter: brightness(.62) saturate(.95); }
[data-theme="dark"] .hero::before { background: linear-gradient(to left, rgb(27 16 7 / .92) 0%, rgb(27 16 7 / .7) 38%, rgb(27 16 7 / .1) 68%); }
.hero__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
  padding: 104px clamp(20px, 7vw, 110px) calc(var(--band) + 48px);
}
.hero__copy { display: grid; justify-items: start; max-width: 560px; }
.hero__title { font: 700 clamp(5rem, 11vw, 9.5rem)/1.35 var(--font-display); margin: -.12em 0 .04em; }
.hero__lede { margin-bottom: 26px; max-width: 30ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 400; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.hero__offer {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .55em 1.1em; border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent), 0 10px 24px -16px var(--shadow);
  margin-bottom: 18px;
  font-weight: 500; text-decoration: none;
  transition: translate .35s var(--ease-honey);
}
/* translate, not transform: the entrance animation owns transform */
.hero__offer:hover { translate: 0 -2px; }
.hero__offer b { color: var(--accent); font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__honey {
  position: absolute; z-index: 3; left: 0; top: calc(100% - var(--band));
  width: 100%; height: calc(var(--band) + var(--drip));
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero { height: auto; }
  .hero__photo { position: relative; height: 46svh; min-height: 280px; object-position: 18% 70%; }
  .hero::before { display: none; }
  .hero__inner { height: auto; padding: 22px 20px calc(var(--band) + 36px); }
  .hero__copy { max-width: none; }
  .hero__title { font-size: clamp(4rem, 20vw, 6rem); }
}

/* ---------- sections ---------- */
.shop, .steps {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 40px) 0;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- bundles ---------- */
@property --lift { syntax: "<number>"; inherits: true; initial-value: 0; }
.bundles {
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--drip) * .8 + 24px) clamp(16px, 4vw, 40px) 0;
}
.bundles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
/* --fan (0 stacked → 1 fanned) and --strike (0 → 1) are driven by app.js on reveal */
.bundle {
  --fan: 1; --strike: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -34px var(--shadow);
  overflow: hidden;
  transition: box-shadow .5s, --lift .7s var(--ease-honey);
}
.bundle:hover { --lift: 1; box-shadow: 0 34px 60px -30px var(--shadow); }
.bundle__art {
  position: relative; min-height: 300px; overflow: hidden;
  background: radial-gradient(75% 75% at 50% 55%, color-mix(in srgb, var(--c1) 38%, #F3E9D8), #F3E9D8);
}
[data-theme="dark"] .bundle__art { background: radial-gradient(75% 75% at 50% 55%, color-mix(in srgb, var(--c1) 30%, var(--bg-2)), var(--bg-2)); }
.bundle__fan { position: absolute; inset: 0; display: grid; place-items: center; }
.bundle__fan img {
  grid-area: 1 / 1;
  width: 38%; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: 50% 60%;
  border-radius: 16px;
  border: 4px solid #FFFCF6;
  box-shadow: 0 18px 30px -16px rgb(60 30 0 / .45);
  transform:
    translateX(calc(var(--i) * (62% + var(--lift) * 14%) * var(--fan)))
    translateY(calc(var(--a) * 12px * var(--fan) - var(--lift) * 8px))
    rotate(calc(var(--i) * (10deg + var(--lift) * 4deg) * var(--fan)));
}
.bundle__fan img:nth-child(2) { z-index: 1; }
.bundle__badge {
  position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2;
  padding: .4em .85em; border-radius: 999px;
  background: linear-gradient(180deg, var(--sun), var(--accent));
  color: var(--on-accent);
  font: 700 .95rem/1 var(--font-body);
  box-shadow: 0 8px 18px -10px var(--accent);
}
.bundle__body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; }
.bundle__en { font: .68rem/1.6 var(--font-latin); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bundle__name { font: 700 2rem/1.35 var(--font-display); }
.bundle__items { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; padding: 0; }
.bundle__items li {
  padding: .3em .8em; border-radius: 999px;
  font-size: .85rem;
  background: color-mix(in srgb, var(--c1) 16%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c1) 35%, var(--line));
}
.bundle__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.bundle__price strong { font: 600 1.9rem/1 var(--font-body); color: var(--accent); font-variant-numeric: tabular-nums; }
.bundle__price strong small { font-size: .8rem; font-weight: 400; color: var(--muted); }
.bundle__price s { position: relative; text-decoration: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.bundle__price s::after {
  content: ""; position: absolute; inset-inline: -3px; top: 52%;
  height: 2px; border-radius: 2px;
  background: #C2452D;
  transform: scaleX(var(--strike)); transform-origin: right;
}
.bundle__save { font-size: .9rem; font-weight: 600; color: #2E7D4F; margin-bottom: 12px; }
[data-theme="dark"] .bundle__save { color: #86D3A2; }
@media (max-width: 600px) {
  .bundle { grid-template-columns: 1fr; }
  .bundle__art { min-height: 240px; }
}
.section-head { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
/* tall line box: Ruqaa dots and tails must fit inside the word masks */
.section-title {
  font: 700 clamp(2.8rem, 7vw, 5rem)/1.7 var(--font-display);
  margin: -.1em 0 -.1em;
}
.section-lede { color: var(--muted); font-size: 1.08rem; }

/* ---------- filters ---------- */
.filters {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%;
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -24px var(--shadow);
}
.filters button {
  position: relative; z-index: 1;
  padding: .6em 1.2em;
  border: 0; border-radius: 999px;
  background: none; color: var(--muted);
  font: 500 .98rem/1.2 var(--font-body);
  cursor: pointer;
  transition: color .35s;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--on-accent); }
.filters__pill {
  position: absolute; top: 0; left: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sun), var(--accent));
  box-shadow: 0 8px 20px -10px var(--accent);
  transition: transform .55s var(--ease-honey), width .55s var(--ease-honey), height .55s var(--ease-honey);
}
@media (max-width: 560px) {
  .filters { border-radius: 26px; }
  .filters button { padding: .55em .95em; font-size: .92rem; }
}

/* ---------- product grid + card ---------- */
.grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 290px));
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
}
.card[hidden] { display: none; }
.card__tilt {
  height: 100%;
  display: flex; flex-direction: column;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 22px 44px -30px var(--shadow);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-honey), box-shadow .5s;
}
.card:hover .card__tilt { box-shadow: 0 30px 60px -28px var(--shadow); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: #F3E9D8;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
  transform: scale(1.02);
  transition: transform .8s var(--ease-honey);
}
.card:hover .card__media img { transform: scale(1.09); }
[data-theme="dark"] .card__media img { filter: brightness(.94); }
/* soft light that follows the pointer */
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgb(255 250 235 / .5), transparent 42%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover .card__media::after { opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 18px 18px; }
.card__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 10px; }
.card__name { font: 700 1.75rem/1.35 var(--font-display); }
.price { font: 600 1.4rem/1 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--accent); }
.price--ask { font-size: 1.05rem; color: var(--muted); }
.price small { font-size: .75rem; font-weight: 400; color: var(--muted); }
.card__en { font: .68rem/1.6 var(--font-latin); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card__note { font-size: .88rem; color: var(--muted); }
.add { width: 100%; margin-top: auto; }
.card__body > :nth-last-child(2) { margin-bottom: 14px; }

/* ---------- steps ---------- */
.steps { padding-bottom: clamp(64px, 9vw, 120px); }
.steps__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(24px, 4vw, 44px);
}
.steps__list li { display: grid; justify-items: center; text-align: center; gap: 6px; }
.steps__n {
  display: grid; place-items: center;
  width: 60px; aspect-ratio: 1 / 1.1547;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(180deg, var(--sun), var(--accent));
  color: var(--on-accent);
  font: 600 1.3rem/1 var(--font-body);
  margin-bottom: 6px;
}
.steps__list h3 { font: 700 1.8rem/1.4 var(--font-display); }
.steps__list p { color: var(--muted); max-width: 30ch; }

/* ---------- footer ---------- */
.foot {
  display: grid; justify-items: center; gap: 14px;
  padding: 32px 20px 44px;
  text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.foot__brand {
  font: 700 clamp(6rem, 22vw, 14rem)/1.6 var(--font-display);
  margin-block: -.25em -.15em;
  background: linear-gradient(to top, var(--accent) 0 50%, color-mix(in srgb, var(--ink) 10%, transparent) 50% 100%);
  background-size: 100% 200%;
  background-position: 0 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.foot__tag { font-size: 1.15rem; color: var(--muted); }
.foot__small { font: .72rem/1 var(--font-latin); letter-spacing: .25em; color: var(--muted); margin-top: 14px; }

/* ---------- cart drawer ---------- */
.cart {
  position: fixed; inset: 0;
  margin: 0; margin-inline-start: auto;
  width: min(440px, 100%); max-width: 100%;
  height: 100dvh; max-height: 100dvh;
  padding: 0; border: 0;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 0 80px rgb(0 0 0 / .3);
  transform: translateX(-100%);
  transition: transform .55s var(--ease-honey), overlay .55s allow-discrete, display .55s allow-discrete;
}
.cart[open] { transform: none; }
@starting-style { .cart[open] { transform: translateX(-100%); } }
.cart::backdrop {
  background: rgb(20 10 2 / 0);
  transition: background .55s, overlay .55s allow-discrete, display .55s allow-discrete;
}
.cart[open]::backdrop { background: rgb(20 10 2 / .5); }
@starting-style { .cart[open]::backdrop { background: rgb(20 10 2 / 0); } }

.cart__panel { display: flex; flex-direction: column; gap: 16px; height: 100%; overflow-y: auto; padding: 20px 22px 28px; }
.cart__head { display: flex; align-items: center; justify-content: space-between; }
.cart__head h2 { font: 700 2.4rem/1.3 var(--font-display); }
.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }

.cart__items { list-style: none; margin: 0; padding: 0; }
.cart__items li {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart__items img { width: 56px; height: 64px; object-fit: cover; border-radius: 12px; background: #F3E9D8; }
.ci__name { font: 700 1.3rem/1.3 var(--font-display); }
.ci__note { font-size: .85rem; color: var(--muted); }
.ci__line { font-size: .9rem; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: none; color: var(--ink); font-size: 1.2rem; cursor: pointer;
}
.qty button:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.qty output { min-width: 1.6em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.cart__empty { display: none; justify-items: center; gap: 16px; padding: 48px 0; text-align: center; color: var(--muted); font-size: 1.1rem; }
.cart.is-empty .cart__empty { display: grid; }
.cart.is-empty .cart__form { display: none; }

.cart__form { display: grid; gap: 14px; margin-top: auto; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.cart__sum { font: 600 1.8rem/1 var(--font-body); color: var(--accent); font-variant-numeric: tabular-nums; }
.cart__ship { font-size: .85rem; color: var(--muted); margin-top: -8px; }
.cart__form label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.cart__form .opt { font-size: .8rem; opacity: .8; }
.cart__form input, .cart__form textarea {
  width: 100%;
  padding: .75em .9em;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem;
  resize: vertical;
}
.cart__form input:focus, .cart__form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.cart__form input[dir="ltr"] { text-align: right; }
.cart__form input:user-invalid, .cart__form textarea:user-invalid { border-color: #D2553A; }

/* ---------- toast + flying drop ---------- */
.toast {
  position: fixed; bottom: 22px; left: 50%; z-index: 80;
  padding: .8em 1.4em; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 600;
  box-shadow: 0 12px 40px rgb(0 0 0 / .25);
  transform: translate(-50%, 160%);
  transition: transform .55s var(--ease-honey);
}
.toast.show { transform: translate(-50%, 0); }
.toast:empty { visibility: hidden; }

.fly {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(circle at 34% 30%, rgb(255 255 255 / .75) 0 10%, var(--c1) 34%, var(--c2));
  box-shadow: 0 6px 16px rgb(0 0 0 / .3);
  pointer-events: none;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
