/* Ayat Gifts — «Frosted Glass» (owner, 2026-11-29, 2nd pass): EVERY surface is frosted glass in a brand tint
   (white frost, logo-blue frost, mist frost, navy frost). Ground = the logo's light blues with soft orbs (same recipe as
   02-Brand-Identity/التصميم الزجاجي/glass.css). Navy = brand navy #22384D (lighter than the old midnight). Red only for
   «بدلاً من» / sale. No emojis (icons: src/views/icons.js). Wheels = the Shopify «البكرة». Old looks: site.before-glass.css.
   Arabic gets no letter-spacing; English headings get Apple's negative tracking. Mobile first, RTL first (logical props). */
:root {
  --ink: #22384d; --ink-2: #3a5d80; --ink-soft: #3f5468; --stone: #52626f;
  --blue: #b8d2e8; --mist: #c5d8e7; --sky: #8db8de; --pearl: #f4f8fc; --white: #fff;
  --surface: #fff; --surface-hi: #fbfdff; --need-bg: #fff6f7; --seg-on: #fff; --sheet-head: rgb(250 250 252 / .94); --navy: #22384d; --ink-2-solid: #3a5d80; --wash: rgb(34 56 77 / .06); --hair: rgb(34 56 77 / .12);
  color-scheme: light;
  --ground: #f5f5f7; /* v3 (owner 2026-11-29): Apple's light grey-white ground, white cards, blues only for choices/buttons inside */
  --line: rgb(34 56 77 / .12); --red: #c8102e; --good: #1f7a4a; --bad: #b3261e; --accent: var(--ink);
  /* frost tints (all brand) */
  --f-white: #fff;
  --f-blue: linear-gradient(150deg, #edf4fb, #e1ecf7);
  --f-mist: #fff; --f-field: #f2f6fa;
  --glass: linear-gradient(145deg, rgb(255 255 255 / .74), rgb(255 255 255 / .52));
  --glass-rim: inset 0 0 0 .5px rgb(255 255 255 / .9), inset 1.5px 1.5px 1px -1px #fff, 0 0 0 .5px rgb(34 56 77 / .1);
  --f-navy: linear-gradient(150deg, rgb(58 93 128 / .86), rgb(34 56 77 / .9));
  --f-sheet: linear-gradient(160deg, rgb(252 252 254 / .86), rgb(245 247 250 / .8));
  --frost: blur(18px) saturate(170%); --frost-l: blur(32px) saturate(170%);
  --rim: inset 0 0 0 .5px rgb(34 56 77 / .08);
  --rim-dark: inset 0 0 0 1px rgb(255 255 255 / .18), inset 1.5px 1.5px 1px -1px rgb(255 255 255 / .5);
  --sh: 0 1px 2px rgb(16 24 40 / .04), 0 12px 32px -18px rgb(34 56 77 / .28); --sh2: 0 2px 6px rgb(16 24 40 / .05), 0 30px 70px -26px rgb(34 56 77 / .42);
  --r-sm: 12px; --r-md: 20px; --r-lg: 30px; --pill: 999px;
  /* the iPhone's own font (SF Arabic / SF Pro) on Apple devices; each phone's own font elsewhere (Apple's file can't be served) */
  --f-body: -apple-system, BlinkMacSystemFont, 'SF Arabic', 'SF Pro Text', 'Segoe UI', system-ui, 'Noto Sans Arabic', Tahoma, sans-serif; --f-head: var(--f-body);
  --ease: cubic-bezier(.32, .72, 0, 1); --spring: cubic-bezier(.3, 1.45, .5, 1);
  --gut: 18px; --max: 1240px; --top: 50px; --tab: 62px; --tab-gap: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 100%; }
body { margin: 0; min-height: 100vh; background: var(--ground) fixed; color: var(--ink); font: 400 1rem/1.7 var(--f-body); overflow-x: hidden;
  padding-bottom: calc(var(--tab) + var(--tab-gap) * 2 + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
body::before { display: none; content: ''; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 30% at 85% 12%, rgb(141 184 222 / .55), transparent 70%), radial-gradient(34% 28% at 8% 46%, rgb(148 189 226 / .45), transparent 70%),
    radial-gradient(40% 30% at 70% 88%, rgb(124 158 196 / .35), transparent 70%); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.25; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 7.5vw, 3rem); } h2 { font-size: clamp(1.45rem, 5.8vw, 2.2rem); } h3 { font-size: 1.15rem; }
:lang(en) h1, :lang(en) h2 { letter-spacing: -.02em; line-height: 1.12; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, label, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; border-radius: 8px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { width: 1.25em; height: 1.25em; vertical-align: -.25em; stroke-width: 1.5; }
[dir="rtl"] .ic-flip, [dir="ltr"] .go, [dir="ltr"] .cb-go { transform: scaleX(-1); }
[hidden] { display: none !important; }

/* ---------- the frost: every surface ---------- */
.fr, .card, .chip, .chip-r span, .lang-pill, .btn.ghost, .block-head a, .steps li, .review, .addon, .addon-line, .photo-up, .cline, .sums, .gift-opts,
.pay .paynum, .pay fieldset label, .set, .occ-card, .pool-item, .pick, .slot, .opt span, .stepper, .delivery, .promises div, .quick-link, .voice-card,
.thumbs button, .desc, .box-inside, .ok-line, .empty-cart, .checkout form, .track-find, .corp, .prose, .col-card span, .cb-bar, .w3-arrow, .gift-msg textarea,
form input, form select, form textarea, .search-top input, .search-menu input, .search-big input, .icon-btn.fr {
  background: var(--f-white); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: var(--rim), var(--sh); border: 0; }
.tint-blue, .box-inside, .delivery, .steps li:nth-child(even), .promises div:nth-child(odd), .quick-link:nth-child(2) { background: var(--f-blue); }
.tint-mist, .addon, .photo-up, .voice-card, .gift-opts, .sums { background: var(--f-mist); }

/* press feedback (Apple «Response»): instant on touch-down, soft settle */
.btn, .chip, .card, .w3-item, .icon-btn, .tabbar a, .tabbar button, .pick, .slot, .pool-item, .occ-card, .opt span, .float, .lang-pill, .quick-link, .shape-pick, .fbox {
  transition: transform .45s var(--ease), box-shadow .3s, background-color .2s, opacity .3s; }
.btn:active, .chip:active, .icon-btn:active, .tabbar a:active, .tabbar button:active, .opt span:active, .lang-pill:active, .float:active, .fbox:active { transform: scale(.94); transition-duration: .08s; }
.card:active, .pick:active, .slot:active, .pool-item:active, .occ-card:active, .quick-link:active, .shape-pick:active { transform: scale(.975); transition-duration: .08s; }

.test-ribbon { background: #fff3c4; color: #5b4a00; text-align: center; font-size: 13px; padding: 4px; }
.announce { background: var(--f-navy); color: var(--pearl); text-align: center; font-size: 14px; padding: 8px var(--gut); }
.announce b { color: var(--blue); }

/* header: floating frosted capsule */
.top { position: sticky; top: 8px; z-index: 40; display: flex; align-items: center; gap: 8px; height: var(--top); margin: 8px 10px 0; padding: 0 8px; border-radius: var(--pill);
  background: var(--f-white); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--rim), var(--sh); }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.logo img { width: 38px; height: 38px; border-radius: 50%; padding: 3px; background: var(--navy); box-shadow: 0 0 0 2px rgb(255 255 255 / .9), 0 4px 10px -4px rgb(34 56 77 / .4); } /* brand: the blue mark only on a dark ground */
.search-top { flex: 1; display: none; }
.search-top input, .search-menu input, .search-big input { width: 100%; border-radius: var(--pill); padding: 10px 18px; }
.top-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: rgb(255 255 255 / .45); }
.lang-pill { font-size: 13px; padding: 7px 13px; border-radius: var(--pill); }
.cart-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink-2-solid); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 0 0 2px rgb(255 255 255 / .9); }
@media (min-width: 900px) { .top { margin: 12px auto 0; max-width: calc(var(--max) - 20px); } .search-top { display: block; max-width: 520px; margin-inline: auto; } }

/* drawers = thick frosted sheets, dragged by the finger (site.js) */
.drawer { position: fixed; top: 8px; bottom: 8px; z-index: 60; width: min(420px, 90vw); border-radius: var(--r-lg); background: var(--f-sheet);
  -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--rim), var(--sh2); transform: translateX(110%);
  transition: transform .5s var(--ease); overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gut) 24px; touch-action: pan-y; }
[dir="rtl"] .drawer { right: 8px; } [dir="ltr"] .drawer { left: 8px; transform: translateX(-110%); }
[dir="rtl"] .cart-drawer { right: auto; left: 8px; transform: translateX(-110%); } [dir="ltr"] .cart-drawer { left: auto; right: 8px; transform: translateX(110%); }
.drawer.open { transform: none; } .drawer.dragging { transition: none; }
.drawer-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 14px 0 10px; font-family: var(--f-head); font-size: 1.3rem;
  background: linear-gradient(var(--sheet-head) 70%, transparent); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgb(34 56 77 / .26); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
body.drawer-on .scrim { opacity: 1; pointer-events: auto; } body.drawer-on { overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip, .chip-r span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; padding: 8px 15px; border-radius: var(--pill); font-size: 14px; cursor: pointer; }
.chip.on, .chip-r input:checked + span { background: var(--f-navy); color: var(--pearl); box-shadow: var(--rim-dark), var(--sh); }
.chip-r input { position: absolute; opacity: 0; }
.menu-links { display: grid; gap: 6px; margin-top: 12px; }
.menu-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--f-white); box-shadow: var(--rim); }
.menu-links a .ic { color: var(--ink-2); }

/* main blocks */
main { min-height: 60vh; }
.block { max-width: var(--max); margin: 0 auto; padding: 30px var(--gut); }
.block.narrow { max-width: 640px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block-head a { font-size: 13px; color: var(--ink-soft); padding: 5px 13px; border-radius: var(--pill); white-space: nowrap; }
.kicker { display: block; color: var(--stone); font-size: 13px; margin-bottom: 4px; }
.lead { color: var(--ink-soft); font-size: 1.06rem; }
.hint { color: var(--stone); font-size: 14px; } .empty { color: var(--stone); padding: 30px 0; text-align: center; }
.err { color: var(--bad); font-size: 14px; } .warn { color: #8a5200; } .good { color: var(--good); }

/* hero: product photo in a rounded frame, words on a navy-frost lens that materialises once */
.hero { position: relative; min-height: 64vh; display: grid; align-items: end; overflow: hidden; color: var(--pearl); margin: 10px 10px 0; border-radius: var(--r-lg); box-shadow: var(--sh2); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(34 56 77 / .5), rgb(34 56 77 / 0) 55%); }
.hero-text { position: relative; z-index: 1; width: calc(100% - 20px); max-width: 620px; margin: 0 auto 10px; padding: 18px 18px 16px; border-radius: 24px;
  background: linear-gradient(140deg, rgb(34 56 77 / .4), rgb(34 56 77 / .2)); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--rim-dark), 0 18px 40px -18px rgb(0 0 0 / .45); animation: materialize .9s var(--ease) .15s both; }
.hero-text h1 { margin-bottom: .2em; } .hero-text p { margin: 0; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; } .hero-cta .btn { flex: 1 1 auto; padding: 0 16px; white-space: nowrap; }
@keyframes materialize { from { opacity: 0; transform: translateY(10px) scale(.96); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (min-width: 900px) { .hero { margin: 14px auto 0; max-width: calc(var(--max) - 20px); min-height: 58vh; } .hero-text { margin: 0 auto 22px; padding: 24px 26px; } }

/* buttons: navy frost (primary), white frost (secondary) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 22px; border-radius: var(--pill); border: 0;
  background: var(--f-navy); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); color: var(--pearl); font-weight: 600; cursor: pointer; text-align: center;
  box-shadow: var(--rim-dark), 0 12px 24px -14px rgb(34 56 77 / .8); }
.btn.ghost { color: var(--ink); }
.btn.ghost.light { color: #fff; background: linear-gradient(135deg, rgb(255 255 255 / .3), rgb(255 255 255 / .12)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45), inset 1.5px 1.5px 1px -1px rgb(255 255 255 / .9); }
.btn.small { min-height: 40px; padding: 0 15px; font-size: 14px; } .btn.wide { width: 100%; } .btn[disabled] { opacity: .45; pointer-events: none; }
.btn.wa { background: linear-gradient(150deg, rgb(47 191 108 / .9), rgb(23 138 69 / .92)); }
.link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--ink-soft); cursor: pointer; font-size: 14px; }
.link.on .ic { fill: var(--red); stroke: var(--red); }

/* quick links (gift in a minute / build your box): two slim frosted rows */
.quick { display: grid; gap: 10px; padding-block: 8px; }
.quick-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; }
.quick-link > .ic:first-child { width: 38px; height: 38px; padding: 8px; border-radius: 12px; color: var(--pearl); background: var(--f-navy); box-shadow: var(--rim-dark); }
.quick-link span { flex: 1; display: grid; line-height: 1.35; } .quick-link b { font-size: 15px; } .quick-link small { color: var(--stone); font-size: 12.5px; }
.quick-link .go { color: var(--stone); }
@media (min-width: 700px) { .quick { grid-template-columns: 1fr 1fr; } }

/* product cards: white frost, the photo on a white tile inside */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.grid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(46%, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: none; }
.row-scroll::-webkit-scrollbar { display: none; } .row-scroll > * { scroll-snap-align: start; }
@media (min-width: 700px) { .row-scroll { grid-auto-columns: minmax(30%, 1fr); } } @media (min-width: 1100px) { .row-scroll { grid-auto-columns: minmax(22%, 1fr); } }
.card { overflow: hidden; display: flex; flex-direction: column; border-radius: 24px; }
.card-img { position: relative; aspect-ratio: 1; background: #fff; margin: 0; border-radius: 24px 24px 0 0; overflow: hidden; } .card-img img { padding: 8%; } .card-img img { width: 100%; height: 100%; object-fit: contain; }
.card.out .card-img img { opacity: .5; filter: grayscale(.6); }
.badge { position: absolute; top: 8px; inset-inline-start: 8px; color: var(--ink); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--pill); font-style: normal;
  background: var(--f-blue); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: var(--rim); }
.badge.sale { color: #b3102b; background: linear-gradient(150deg, rgb(255 226 231 / .78), rgb(255 196 206 / .5)); -webkit-backdrop-filter: blur(14px) saturate(190%); backdrop-filter: blur(14px) saturate(190%);
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .9), inset 1.5px 1.5px 1px -1px #fff, 0 0 0 .5px rgb(200 16 46 / .16), 0 6px 14px -8px rgb(200 16 46 / .45); } /* frosted light-red glass (owner) */
.badge.out { background: var(--f-white); color: var(--stone); }
.price .badge, .pdp .badge { position: static; }
.card-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-name { font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.price b { font-size: 1.05rem; font-weight: 700; } .price s { color: var(--red); font-size: 13px; margin-inline-start: 6px; text-decoration-thickness: 1.5px; }
.card .btn { margin-top: auto; }

/* ---------- the turning wheel «البكرة» (Shopify look, brand colours) ---------- */
.w3 { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.w3-stage { position: absolute; inset: 0; perspective: 1200px; }
.w3-item { --x: 0%; --s: 1; --r: 0deg; position: absolute; left: 50%; top: 47%; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%) translateX(var(--x)) rotateY(var(--r)) scale(var(--s)); transition: transform .7s var(--ease), opacity .5s; -webkit-tap-highlight-color: transparent; }
.w3.dragging .w3-item { transition: none; }
.w3-item:first-child:not([data-slot]), .w3-item[data-slot="0"] { opacity: 1; z-index: 3; }
.w3-item:is([data-slot="0"], [data-slot="-1"], [data-slot="1"]) { pointer-events: auto; cursor: pointer; }
.w3-item:is([data-slot="-1"], [data-slot="1"]) { filter: brightness(.95) saturate(.9); }
.w3-floor { position: absolute; left: 50%; bottom: 8%; width: 56%; height: 9%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .85), rgb(255 255 255 / 0)); pointer-events: none; }
.w3-arrow { position: absolute; z-index: 12; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transform: translateY(-50%); color: var(--ink); cursor: pointer; }
.w3-arrow.prev { inset-inline-start: 8px; } .w3-arrow.next { inset-inline-end: 8px; }
[dir="rtl"] .w3-arrow.prev .ic, [dir="ltr"] .w3-arrow.next .ic { transform: scaleX(-1); }
/* collections: wide banner, its name on a frosted bar; the front one reflects on the floor */
.w3--cols { aspect-ratio: 8 / 5; margin-top: 6px; }
.w3--cols .w3-item { top: 44%; width: 80%; aspect-ratio: 3 / 2; }
.cb { position: relative; display: block; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 22px 40px -14px rgb(34 56 77 / .4); background: var(--mist); }
.cb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.w3--cols .w3-item[data-slot="0"] .cb { -webkit-box-reflect: below 6px linear-gradient(transparent 82%, rgb(255 255 255 / .28)); }
.cb-bar { position: absolute; inset: auto 8px 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; border-radius: 14px; color: var(--navy);
  background: linear-gradient(145deg, rgb(255 255 255 / .55), rgb(255 255 255 / .3)); }
.cb-bar b { font-family: var(--f-head); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb .badge { inset-inline-start: auto; inset-inline-end: 10px; top: 10px; }
.w3--cols .w3-floor { bottom: 5%; width: 50%; }
@media (min-width: 750px) { .w3--cols { aspect-ratio: 5 / 2; } .w3--cols .w3-item { top: 45%; width: 52%; } .cb-bar { inset: auto 12px 12px; padding: 10px 16px; } }
/* magic mirrors: cut-out mirrors floating on a frosted band (no cards), story beside */
.mirror-band { display: grid; gap: 4px; border-radius: var(--r-lg); overflow: hidden; background: var(--f-blue); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: var(--rim), var(--sh); }
.mb-wheel { position: relative; margin: 10px 10px 0; border-radius: 22px; background: radial-gradient(circle at 50% 44%, rgb(255 255 255 / .6), rgb(255 255 255 / 0) 55%), var(--f-white); box-shadow: var(--rim); }
.w3--mirrors { aspect-ratio: 1 / 1; }
.w3--mirrors .w3-item { width: 62%; height: 80%; top: 48%; }
.w3--mirrors .w3-item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgb(34 56 77 / .24)); pointer-events: none; }
.w3--mirrors .w3-item[data-slot="0"] img { -webkit-box-reflect: below 2px linear-gradient(transparent 76%, rgb(255 255 255 / .32)); }
.mb-text { padding: 16px 18px 20px; } .mb-text p { color: var(--ink-soft); margin: 0 0 14px; }
@media (min-width: 900px) { .mirror-band { grid-template-columns: 1.1fr 1fr; align-items: center; } .mb-wheel { margin: 14px; } .w3--mirrors { aspect-ratio: 4 / 3; } .mb-text { padding: 24px 34px 24px 10px; } }

/* collections grid page */
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.col-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--rim), var(--sh); aspect-ratio: 2 / 1; background: var(--mist); }
.col-card img { width: 100%; height: 100%; object-fit: cover; }
.col-card span { position: absolute; inset-inline-start: 10px; bottom: 10px; color: var(--ink); font-family: var(--f-head); font-size: 1.1rem; padding: 4px 14px; border-radius: 14px; }
.col-card .badge { inset-inline-start: auto; inset-inline-end: 12px; }
.col-hero { position: relative; text-align: center; }
.col-hero img { width: calc(100% - 20px); margin: 10px auto 0; max-height: 300px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh); }
.col-hero h1 { padding: 16px var(--gut) 0; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }

.steps ol { list-style: none; padding: 0; display: grid; gap: 10px; } .steps li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-md); }
.steps li b { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--pearl); background: var(--f-navy); box-shadow: var(--rim-dark); font-weight: 600; }
@media (min-width: 900px) { .steps ol { grid-template-columns: repeat(4, 1fr); } }
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; text-align: center; }
.promises div { display: grid; justify-items: center; gap: 6px; border-radius: var(--r-md); padding: 16px 8px; } .promises .ic { width: 26px; height: 26px; color: var(--ink-2); } .promises b { font-size: 14px; font-weight: 600; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(4, 1fr); } }
.review { padding: 14px; margin: 0; border-radius: var(--r-md); } .stars { color: #b8913a; letter-spacing: 2px; } .review blockquote { margin: 6px 0; } .review figcaption { color: var(--stone); font-size: 13px; }

/* ---------- product page ---------- */
.pdp { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pdp > *, .buy > *, .addon { min-width: 0; } /* iPhone fix 2026-11-29: an open chocolate strip widened the page to 1174px and Safari zoomed out */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: #fff; scrollbar-width: none; margin: 10px 10px 0; border-radius: var(--r-lg); box-shadow: var(--rim), var(--sh); }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; object-fit: contain; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gut) 6px; } .thumbs button { border-radius: 14px; padding: 3px; flex: 0 0 64px; cursor: pointer; } .thumbs img { border-radius: 11px; background: #fff; }
.buy { padding: 4px var(--gut) 20px; display: grid; gap: 12px; }
.opt { border: 0; padding: 0; margin: 0; } .opt legend { font-size: 13px; color: var(--stone); margin-bottom: 6px; }
.opt label { display: inline-block; margin: 0 0 6px 6px; } .opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; padding: 8px 16px; border-radius: var(--pill); font-size: 14px; cursor: pointer; }
.opt input:checked + span { background: var(--f-navy); color: var(--pearl); box-shadow: var(--rim-dark); }
.opt input:focus-visible + span { outline: 2px solid var(--ink-2); outline-offset: 2px; } .opt span.na { opacity: .4; text-decoration: line-through; }
.pname { font-size: clamp(1.3rem, 5.2vw, 1.9rem); margin: 0; text-align: start; }
.price.big { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; } .price.big b { font-size: 1.6rem; } .stock { margin: 0; font-size: 14px; color: var(--good); }
.box-inside { padding: 12px 14px; border-radius: var(--r-md); } .box-inside ul { margin: 6px 0; padding-inline-start: 18px; } .box-inside li.out { color: var(--stone); }
.addon { padding: 12px 14px; border-radius: var(--r-md); } .addon summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.strip { display: flex; gap: 10px; overflow-x: auto; padding: 8px 2px; scrollbar-width: none; }
.pick { flex: 0 0 116px; display: grid; gap: 4px; text-align: center; font-size: 13px; border-radius: 16px; padding: 8px; cursor: pointer; }
.pick input[type=radio] { position: absolute; opacity: 0; } .pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink), var(--sh); } .pick img { border-radius: 10px; aspect-ratio: 1; object-fit: contain; background: #fff; }
.addon-line { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); }
.photo-up { padding: 14px; border-radius: var(--r-md); } .photo-up > b { display: flex; align-items: center; gap: 8px; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; } .slot { display: inline-grid; place-items: center; min-width: 120px; min-height: 90px; padding: 8px; border-radius: 16px; cursor: pointer; font-size: 14px; text-align: center; outline: 1.5px dashed rgb(58 93 128 / .4); outline-offset: -6px; }
.slot img { max-height: 110px; border-radius: 10px; } .slot .q { font-size: 12px; }
.preview { margin-top: 10px; display: grid; place-items: center; } .preview .mock { position: relative; width: 220px; aspect-ratio: 1; border-radius: 22px; background: radial-gradient(circle at 30% 20%, #fff, var(--mist)); box-shadow: var(--rim), var(--sh); overflow: hidden; }
.preview .mock img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: cover; border-radius: 12px; }
.preview[data-shape="mug"] .mock img { border-radius: 4px; inset: 22% 18%; width: 52%; height: 56%; } .preview[data-shape="mirror"] .mock img { border-radius: 50%; filter: brightness(1.05) saturate(1.1); }
.gift-msg { display: grid; gap: 6px; } .gift-msg > span { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.gift-msg textarea, form input, form select, form textarea { width: 100%; border-radius: 14px; padding: 12px 14px; background: linear-gradient(145deg, rgb(255 255 255 / .78), rgb(255 255 255 / .55)); }
form input:focus, form select:focus, form textarea:focus, .gift-msg textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--sky), 0 0 0 4px rgb(184 210 232 / .45); }
.qty-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .qty-row .btn { flex: 1; min-width: 140px; }
.stepper { display: inline-flex; align-items: center; border-radius: var(--pill); }
.stepper button { width: 44px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 50%; } .stepper button:active { background: rgb(255 255 255 / .6); } .stepper output { min-width: 26px; text-align: center; }
.stepper.small button { width: 34px; height: 36px; }
.delivery { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; padding: 10px 14px; border-radius: 16px; } .delivery .ic { color: var(--ink-2); }
.share-row { display: flex; gap: 18px; flex-wrap: wrap; }
.desc { border-radius: var(--r-md); padding: 4px 14px; } .desc summary { cursor: pointer; font-weight: 600; padding: 10px 0; } .desc div { color: var(--ink-soft); padding-bottom: 12px; }
/* voice message recorder */
.voice-card { padding: 14px; border-radius: var(--r-md); display: grid; gap: 10px; }
.vr-head { display: grid; gap: 2px; } .vr-head small { font-size: 13px; }
.vr { display: flex; align-items: center; gap: 12px; }
.vr-mic { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--pearl); background: var(--f-navy); box-shadow: var(--rim-dark), 0 10px 22px -10px rgb(34 56 77 / .7); transition: transform .3s var(--ease), background .3s; }
.vr-mic .ic { width: 24px; height: 24px; } .vr-mic .on-rec { display: none; fill: currentColor; }
.voice-card.rec .vr-mic { background: linear-gradient(150deg, rgb(224 38 63 / .95), rgb(177 13 39 / .95)); } .voice-card.rec .vr-mic .on-rec { display: block; } .voice-card.rec .vr-mic .on-idle { display: none; }
.voice-card.rec .vr-mic::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(224 38 63 / .45); animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.vr-bars { flex: 1; height: 34px; display: flex; align-items: center; gap: 3px; }
.vr-bars i { flex: 1; height: var(--h, 14%); min-height: 3px; border-radius: 3px; background: rgb(58 93 128 / .35); transition: height .08s linear; }
.voice-card.rec .vr-bars i { background: var(--ink-2); } .voice-card.has .vr-bars i { background: rgb(58 93 128 / .55); }
.vr-time { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-soft); min-width: 38px; }
.vr-note { margin: 0; font-size: 13px; }
.vr-play { display: none; align-items: center; gap: 6px; } .voice-card.has .vr-play { display: flex; } .vr-play audio { flex: 1; height: 38px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr); gap: 28px; padding: 24px var(--gut) 10px; align-items: start; }
  .pdp-media { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--top) + 28px); display: grid; gap: 10px; }
  .gallery { margin: 0; max-height: calc(100vh - var(--top) - 150px); }
  .gallery img { max-height: calc(100vh - var(--top) - 150px); }
  .thumbs { padding: 0; }
  .buy { grid-column: 2; grid-row: 1 / span 2; padding: 22px 24px; border-radius: var(--r-lg); background: var(--f-white); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: var(--rim), var(--sh); }
  .buy .pname { order: -3; font-size: 2rem; } .buy .price.big { order: -2; } .buy .rating { order: -1; }
}

/* cart + checkout */
.clines { display: grid; gap: 10px; } .cline { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-md); }
.cline img { border-radius: 12px; aspect-ratio: 1; object-fit: contain; background: #fff; } .cline small { display: block; color: var(--stone); } .cline .price { display: block; font-weight: 600; }
.cline b .ic { color: var(--ink-2); margin-inline-end: 4px; }
.cline.sub { grid-template-columns: 1fr auto; margin-inline-start: 40px; padding: 6px 10px; }
.sums { display: grid; gap: 6px; margin: 14px 0; padding: 14px; border-radius: var(--r-md); } .sums div { display: flex; justify-content: space-between; } .sums .total { font-size: 1.15rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; }
.ship-bar { margin: 6px 0 12px; } .ship-bar div { position: relative; height: 8px; background: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; }
.ship-bar div::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p); background: linear-gradient(90deg, var(--sky), var(--ink-2)); border-radius: 4px; transition: width .6s var(--ease); }
.ship-bar i { position: absolute; top: -16px; inset-inline-start: calc(var(--p) - 12px); font-style: normal; color: var(--ink-2); transition: inset .6s var(--ease); } .ship-bar small { color: var(--stone); }
.empty-cart { text-align: center; padding: 40px 16px; display: grid; gap: 14px; justify-items: center; border-radius: var(--r-lg); }
.checkout form, .track-find, .corp, [data-finder], [data-review], [data-occasion] { display: grid; gap: 12px; }
.checkout form, .track-find, .corp { padding: 16px; border-radius: var(--r-lg); }
.checkout label, .track-find label, .corp label { display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
label.check { display: flex; gap: 8px; align-items: center; } .gift-opts { padding: 10px 12px; display: grid; gap: 8px; border-radius: var(--r-md); } .gift-opts summary { cursor: pointer; display: flex; align-items: center; gap: 8px; }
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; } /* hidden in place: «left: -9999px» made the Arabic (right-to-left) checkout page 10000 px wide */
.pay .paynum { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; margin-bottom: 8px; border-radius: 16px; }
.pay fieldset { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; } .pay fieldset label { display: flex; gap: 8px; align-items: center; padding: 12px; border-radius: 16px; }
.pay fieldset input[type=number] { width: 120px; } .ok-line { display: flex; align-items: center; gap: 8px; background: linear-gradient(145deg, rgb(214 250 226 / .7), rgb(190 240 208 / .45)); padding: 10px 12px; border-radius: 14px; }
.steps-line { list-style: none; padding: 0; display: grid; gap: 0; } .steps-line li { position: relative; padding: 10px 34px; color: var(--stone); }
.steps-line li::before { content: ''; position: absolute; inset-inline-start: 8px; top: 14px; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(34 56 77 / .2); background: rgb(255 255 255 / .7); }
.steps-line li.done { color: var(--ink); } .steps-line li.done::before { background: var(--ink); box-shadow: 0 0 0 3px rgb(184 210 232 / .7); } .steps-line li.now { font-weight: 600; }
.ready-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .ready-photos img { border-radius: 14px; }

/* finder + builder */
.finder fieldset { border: 0; padding: 0; margin: 0; } .finder legend { font-weight: 600; margin-bottom: 4px; } .finder input[type=range] { width: 100%; accent-color: var(--ink); box-shadow: none; background: none; }
.set { border-radius: var(--r-lg); padding: 14px; margin: 14px 0; } .set .row-scroll { grid-auto-columns: minmax(44%, 1fr); }
.pool-item { display: grid; gap: 2px; text-align: center; font-size: 12px; border-radius: 14px; padding: 6px; cursor: pointer; }
.pool-item img { border-radius: 10px; background: #fff; aspect-ratio: 1; object-fit: contain; }
.pool-item.on { box-shadow: inset 0 0 0 2px var(--ink), var(--sh); }
/* step 1: pick the box shape */
.shapes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0 18px; }
@media (min-width: 700px) { .shapes { grid-template-columns: repeat(4, 1fr); } }
.shape-pick { display: grid; justify-items: center; gap: 4px; padding: 16px 10px 12px; border-radius: var(--r-md); border: 0; cursor: pointer; text-align: center; color: var(--ink);
  background: var(--f-white); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: var(--rim), var(--sh); }
.shape-pick svg.shape { width: 74px; height: 74px; stroke-width: 1.3; color: var(--ink-2); }
.shape-pick small { color: var(--stone); } .shape-pick.on { background: var(--f-navy); color: var(--pearl); box-shadow: var(--rim-dark), var(--sh); } .shape-pick.on svg.shape, .shape-pick.on small { color: var(--blue); }

/* ---------- the floating box (box mode): fixed top-left while browsing, products fly into it ---------- */
.fbox { position: fixed; z-index: 46; top: calc(var(--top) + 26px); left: 12px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; border: 0; cursor: pointer; color: var(--ink);
  background: var(--f-white); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--rim), var(--sh2); animation: materialize .5s var(--ease) both; }
.fbox svg.shape { width: 40px; height: 40px; stroke-width: 1.4; color: var(--ink-2); }
.fbox .n { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--pearl); background: var(--f-navy); box-shadow: 0 0 0 2px rgb(255 255 255 / .9); }
.fbox .peek { position: absolute; inset: 16px 14px 12px; display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-end; gap: 1px; pointer-events: none; }
.fbox .peek img { width: 15px; height: 15px; border-radius: 4px; object-fit: cover; background: #fff; box-shadow: 0 1px 3px rgb(34 56 77 / .3); }
.fbox.full { box-shadow: inset 0 0 0 2px var(--ink-2), var(--sh2); }
.fbox.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.14); } 60% { transform: scale(.96); } }
@media (min-width: 900px) { .fbox { top: calc(var(--top) + 34px); left: 18px; width: 72px; height: 72px; } }
.fly { position: fixed; z-index: 90; pointer-events: none; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: 0 14px 30px -10px rgb(34 56 77 / .5); will-change: transform, opacity; }
.box-sheet .bs-lines { display: grid; gap: 8px; margin: 8px 0 14px; }
.box-sheet .bs-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 16px; background: var(--f-white); box-shadow: var(--rim); }
.box-sheet .bs-line img { border-radius: 10px; background: #fff; aspect-ratio: 1; object-fit: contain; }
.box-sheet .bs-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); background: var(--f-blue); box-shadow: var(--rim); }
.box-sheet .bs-head svg.shape { width: 52px; height: 52px; color: var(--ink-2); stroke-width: 1.3; }
.box-sheet .bs-actions { display: grid; gap: 8px; }
.box-mode .card .btn.add { background: var(--f-navy); }

/* gift page */
.gift-open { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.gift-box { position: relative; width: 180px; height: 180px; border: 0; background: none; cursor: pointer; animation: wiggle 2.4s infinite; }
.gift-box .base { position: absolute; inset: 60px 20px 0; background: var(--f-navy); border-radius: 12px; } .gift-box .lid { position: absolute; inset: 36px 8px auto; height: 34px; background: var(--ink-2); border-radius: 10px; transition: transform .8s var(--ease); }
.gift-box .ribbon { position: absolute; z-index: 2; inset: 36px 82px 0; background: var(--blue); } .gift-box.opened .lid { transform: translateY(-90px) rotate(-18deg); } .gift-box.opened { animation: none; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-4deg); } 90% { transform: rotate(4deg); } 95% { transform: rotate(-2deg); } }
.gift-msg-reveal { animation: materialize .8s var(--ease) both; max-width: 520px; padding: 20px; border-radius: var(--r-lg); background: var(--f-white); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: var(--rim), var(--sh); }
.gift-msg-reveal .msg { font-family: var(--f-head); font-size: 1.6rem; }

.stars-in { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; font-size: 34px; } .stars-in input { display: none; } .stars-in label { color: rgb(34 56 77 / .2); cursor: pointer; }
.stars-in input:checked ~ label, .stars-in label:hover, .stars-in label:hover ~ label { color: #b8913a; }
.occ-card { display: grid; place-items: center; gap: 8px; padding: 22px; border-radius: var(--r-md); } .occ-card .ic { width: 32px; height: 32px; color: var(--ink-2); } .occ-card b { font-size: 16px; }
.prose { padding: 18px; border-radius: var(--r-lg); } .prose p { color: var(--ink-soft); }
h1 .ic, h2 .ic { color: var(--ink-2); }

/* footer = navy frost; floating tab bar; floating help buttons */
.foot { background: var(--f-navy); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); color: #d3e0ec; padding: 32px var(--gut) 24px; margin: 34px 10px 0; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--rim-dark); }
.foot-cols { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; } .foot-cols div { display: grid; gap: 7px; align-content: start; } .foot b { color: var(--pearl); font-family: var(--f-head); font-size: 1.15rem; }
.foot a:hover { color: #fff; } .foot img { border-radius: 50%; box-shadow: 0 0 0 2px var(--blue); }
.social { display: flex; gap: 8px; } .social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, rgb(255 255 255 / .2), rgb(255 255 255 / .06)); box-shadow: var(--rim-dark); }
.copy { text-align: center; font-size: 13px; opacity: .75; margin: 20px 0 0; }
@media (min-width: 800px) { .foot-cols { grid-template-columns: 2fr 1fr 1fr; } }
.tabbar { position: fixed; bottom: calc(var(--tab-gap) + env(safe-area-inset-bottom)); inset-inline: 12px; z-index: 45; height: var(--tab); padding: 5px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  border-radius: var(--pill); background: var(--f-white); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--rim), var(--sh2); }
.tabbar a, .tabbar button { position: relative; display: grid; place-items: center; align-content: center; gap: 1px; font-size: 11px; font-weight: 500; color: var(--ink-soft); background: none; border: 0; border-radius: var(--pill); cursor: pointer; }
.tabbar svg { width: 21px; height: 21px; }
.tabbar .on { color: var(--ink); font-weight: 600; background: linear-gradient(135deg, rgb(255 255 255 / .9), rgb(255 255 255 / .55)); box-shadow: var(--rim), 0 4px 12px -6px rgb(34 56 77 / .35); }
.tabbar .cart-count { top: 2px; inset-inline-end: calc(50% - 22px); }
@media (min-width: 900px) { .tabbar { display: none; } body { padding-bottom: 0; } }
/* WhatsApp + chat: small frosted circles with clean glyphs (not solid cartoon blobs) */
.float { position: fixed; z-index: 44; inset-inline-end: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--f-white); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--rim), var(--sh2); }
.float { transition: opacity .25s var(--ease), transform .3s var(--ease); }
.float.away { opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none; } /* hide while scrolling down so they never sit on a product */
/* a soft frosted strip above the header capsule so pages don't show through the gap under the status bar */
body::after { content: ''; position: fixed; z-index: 39; top: 0; inset-inline: 0; height: calc(env(safe-area-inset-top) + 34px); pointer-events: none;
  background: linear-gradient(var(--ground), color-mix(in srgb, var(--ground) 85%, transparent) 45%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
@media (min-width: 900px) { body::after { display: none; } }
.wa-float { bottom: calc(var(--tab) + var(--tab-gap) + 14px + env(safe-area-inset-bottom)); color: #1fa855; }
.wa-float svg { fill: currentColor; stroke: none; width: 25px; height: 25px; }
.chat-float { bottom: calc(var(--tab) + var(--tab-gap) + 72px + env(safe-area-inset-bottom)); color: var(--ink-2); }
.chat-float svg { width: 23px; height: 23px; }
.pg-product .float, .pg-checkout .float, .pg-pay .float, .pg-builder .chat-float { display: none; } /* never over the price / main buttons */
body.drawer-on .float { transform: scale(0); }
@media (min-width: 900px) { .wa-float { bottom: 22px; } .chat-float { bottom: 80px; } }
.chat-box { position: fixed; z-index: 65; inset-inline: 10px; bottom: calc(var(--tab) + var(--tab-gap) + 8px); max-width: 420px; margin-inline: auto; border-radius: var(--r-lg); padding: 0 14px 14px; display: grid; gap: 8px; max-height: 70vh;
  background: var(--f-sheet); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--rim), var(--sh2); animation: materialize .45s var(--ease) both; }
.chat-msgs { overflow-y: auto; max-height: 40vh; display: grid; gap: 6px; } .chat-msgs .m { padding: 8px 12px; border-radius: 18px; max-width: 85%; }
.chat-msgs .visitor { background: var(--f-navy); color: #fff; justify-self: end; } .chat-msgs .team { background: var(--f-white); box-shadow: var(--rim); justify-self: start; }
.chat-box form { display: grid; gap: 6px; }
/* the cookie message (only for visitors the law asks it for): frosted like the chat box, above the tab bar, and clear of the round buttons at the end edge (WhatsApp / chat) */
.ag-consent { position: fixed; z-index: 70; box-sizing: border-box; inset-inline-start: 10px; inset-inline-end: 74px; bottom: calc(var(--tab) + var(--tab-gap) + 8px + env(safe-area-inset-bottom)); border-radius: var(--r-md); padding: 12px 14px; display: grid; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--ink);
  background: var(--f-sheet); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--rim), var(--sh2); }
.ag-consent p { margin: 0; } .ag-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ag-consent div { display: flex; gap: 8px; } .ag-consent button { flex: 1 1 0; min-width: 0; min-height: 44px; border-radius: var(--pill); border: 0; background: var(--f-navy); color: var(--pearl); padding: 10px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (min-width: 900px) { .ag-consent { inset-inline-start: 16px; inset-inline-end: auto; bottom: 16px; width: 380px; } }
.toast { position: fixed; z-index: 80; left: 50%; width: max-content; max-width: calc(100% - 40px); text-align: center; line-height: 1.5; bottom: calc(var(--tab) + var(--tab-gap) + 20px); transform: translateX(-50%); color: var(--pearl); padding: 10px 20px; border-radius: var(--pill); font-size: 14px;
  background: linear-gradient(140deg, rgb(34 56 77 / .84), rgb(34 56 77 / .72)); -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost); box-shadow: var(--rim-dark), var(--sh2); animation: materialize .35s var(--ease) both; }
body.season .announce { background: var(--accent); }

/* accessibility: Apple's three signals */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: opacity .2s !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-transparency: reduce) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .top, .tabbar, .drawer, .chat-box, .ag-consent, .card, .float, .fbox, .buy { background: #eef4fa !important; } body::before { display: none; }
}
@media (prefers-contrast: more) { :root { --line: rgb(34 56 77 / .5); --stone: #3a4855; --ink-soft: #22384d; } .top, .tabbar, .drawer, .card, .btn.ghost, .chip { outline: 1px solid var(--ink); } }

/* ================= v3 (owner, iPhone test 2026-11-29): Apple white, glass header pieces, Apple side menu, filter sheet, motion ================= */
/* choices inside the white cards = light blue; fields = soft grey-blue */
.chip, .chip-r span, .btn.ghost, .opt span, .stepper, .pick, .slot, .pool-item, .thumbs button, .block-head a { background: var(--f-blue); box-shadow: var(--rim); }
form input, form select, form textarea, .gift-msg textarea { background: var(--f-field); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .1); }
.card { box-shadow: var(--sh); } .card-info { padding: 12px 14px 14px; } .card-name { font-weight: 500; }
.glass { background: var(--glass); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--glass-rim), 0 8px 24px -14px rgb(34 56 77 / .35); }
.tabbar, .float, .fbox { background: var(--glass) !important; box-shadow: var(--glass-rim), 0 10px 28px -14px rgb(34 56 77 / .4) !important; }

/* header: no bar — logo + name + menu (right), language (left), each a glass piece */
.top { position: sticky; top: env(safe-area-inset-top); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: auto; margin: 0; padding: 8px 10px;
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-radius: 0; pointer-events: none; }
.top > * { pointer-events: auto; }
.top-brand { display: flex; align-items: center; gap: 2px; height: var(--top); padding-inline: 4px 16px; border-radius: var(--pill); }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.burger { position: relative; width: 20px; height: 14px; }
.burger i { position: absolute; inset-inline: 0; height: 1.7px; border-radius: 2px; background: currentColor; transition: top .22s var(--ease) .18s, transform .32s var(--ease); }
.burger i:first-child { top: 3px; } .burger i:last-child { top: 10px; }
body.menu-on .burger i { top: 6.2px; transition: top .22s var(--ease), transform .38s var(--ease) .16s; }
body.menu-on .burger i:first-child { transform: rotate(45deg); } body.menu-on .burger i:last-child { transform: rotate(-45deg); }
.logo { gap: 9px; font-family: var(--f-body); font-size: 1.08rem; font-weight: 700; }
.logo img { width: 34px; height: 34px; padding: 3px; box-shadow: none; }
.top-end { display: flex; align-items: center; gap: 8px; }
.lang-pill { display: grid; place-items: center; height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; border-radius: var(--pill); }
.top .icon-btn.glass { width: 44px; height: 44px; }
.desk { display: none !important; }
@media (min-width: 900px) { .top { max-width: calc(var(--max) + 20px); margin: 0 auto; padding: 12px 10px; } .desk { display: inline-grid !important; } }


/* side menu (like apple.com): slides in from the side, the lines turn into an X, rows fade in one after another */
.drawer.menu { top: 0; bottom: 0; width: min(430px, 88vw); border-radius: 0; overflow-x: hidden; scrollbar-width: none; padding: calc(env(safe-area-inset-top) + var(--top) + 46px) 22px 30px; background: var(--f-sheet);
  transition: transform .6s var(--ease); }
[dir="rtl"] .drawer.menu { right: 0; } [dir="ltr"] .drawer.menu { left: 0; }
.drawer.menu { border-start-end-radius: 32px; border-end-end-radius: 32px; }
.menu-panes { display: grid; }
.mp { grid-area: 1 / 1; transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.mp:not(.on) { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(28px); }
[dir="rtl"] .mp:not(.on) { transform: translateX(-28px); }
.menu[data-pane="cols"] .mp[data-p="main"] { transform: translateX(-28px); } [dir="rtl"] .menu[data-pane="cols"] .mp[data-p="main"] { transform: translateX(28px); }
.mp.on { transition: opacity .4s var(--ease), transform .55s var(--ease), visibility 0s; }
.search-menu { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; margin-bottom: 18px; border-radius: 14px; background: var(--wash); }
.search-menu .ic { color: var(--stone); } .search-menu input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; outline: none; font-size: 16px; }
.m-list { display: grid; gap: 2px; }
.m-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 8px; border: 0; border-radius: 14px; background: none; color: var(--ink); cursor: pointer;
  font-size: 1.32rem; font-weight: 700; text-align: start; transition: background-color .2s; }
.m-row .ic { width: 24px; height: 24px; color: var(--ink-2); stroke-width: 1.5; } .m-row .go { width: 18px; height: 18px; margin-inline-start: auto; color: #9aa7b3; }
.m-row:active { background: rgb(34 56 77 / .07); }
.m-sub { margin-top: 14px; padding-top: 14px; border-top: .5px solid rgb(34 56 77 / .14); } .m-sub .m-row { font-size: 1.02rem; font-weight: 500; padding: 10px 8px; color: var(--ink-soft); } .m-sub .m-row .ic { width: 20px; height: 20px; }
.mp[data-p="cols"] .m-row { font-size: 1.18rem; font-weight: 600; padding: 11px 8px; }
.m-back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 4px; border: 0; background: none; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; }
.m-back .ic { width: 18px; height: 18px; } [dir="rtl"] .back { transform: scaleX(-1); }
.m-title { font-size: 2rem; margin: 8px 8px 12px; }
.drawer.open .mp.on.m-go .m-in { animation: m-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms + 120ms); }
@keyframes m-in { from { opacity: 0; transform: translateY(-10px); } }

/* filter: one button, choices in a sheet from the bottom */
.tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tools .count { color: var(--stone); font-size: 14px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: var(--pill); background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer; box-shadow: var(--rim), var(--sh); }
.filter-btn .ic { width: 19px; height: 19px; } .filter-btn b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--ink-2); }
.drawer.sheet { top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); left: 8px; right: 8px; width: auto; max-width: 520px; margin-inline: auto; max-height: 82vh; border-radius: 30px; padding-bottom: 20px; }
[dir] .drawer.sheet { transform: translateY(calc(100% + 30px)); } [dir] .drawer.sheet.open { transform: none; }
.f-h { margin: 6px 4px 8px; color: var(--stone); font-size: 13px; font-weight: 600; }
.f-group { display: grid; margin-bottom: 14px; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--rim); }
.f-opt { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 16px; } .f-opt + .f-opt { border-top: .5px solid rgb(34 56 77 / .1); }
.f-opt .ic { width: 20px; height: 20px; color: var(--ink-2); stroke-width: 2.2; opacity: 0; } .f-opt.on { font-weight: 600; } .f-opt.on .ic { opacity: 1; }
.f-opt:active { background: var(--f-blue); }

/* motion: things glide in as they come into view (reduced-motion users get none) */
.rv { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s) !important; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .drawer.open .mp.on.m-go .m-in { animation: none; } .burger i { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .glass, .tabbar, .float, .fbox, .drawer, .badge.sale { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } }

/* ---------- v3 product page: swipe photos with dots (apple.com style), colour circles, tick add-ons, photo slots, mini bar ---------- */
.pdp-media { padding-top: 4px; }
.gallery { margin: 0; gap: 10px; padding: 4px var(--gut) 14px; background: none; box-shadow: none; border-radius: 0; }
.gallery.many { padding-inline: 6%; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; border-radius: 30px; background: #fff; overflow: hidden; box-shadow: var(--rim), var(--sh); }
.gallery.many .slide { flex-basis: 88%; }
.slide img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.dots { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 0 0 4px; }
.dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgb(34 56 77 / .22); cursor: pointer; transition: width .45s var(--ease), background-color .3s; }
.dots button::after { content: ''; position: absolute; inset: -10px -5px; }
.dots button.on { width: 26px; background: var(--ink); }
.sw-opt { padding: 8px var(--gut) 0; } .sw-opt legend { padding: 0; margin: 0; font-size: 14px; color: var(--stone); } .sw-opt legend b { color: var(--ink); font-weight: 600; }
.sws { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 10px; }
.opt label.sw { position: relative; margin: 0; cursor: pointer; }
.sw i { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .28), 0 2px 6px -2px rgb(34 56 77 / .3); transition: transform .35s var(--ease), box-shadow .3s; }
.sw input:checked + i, .sw.shown i { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--ink-2), 0 6px 12px -6px rgb(34 56 77 / .45); } /* white ring = this photo / this colour */
.sw:active i { transform: scale(.9); } .sw i.na { opacity: .35; } .sw input:focus-visible + i { outline: 2px solid var(--ink-2); outline-offset: 6px; }
.dots-c { display: flex; align-items: center; gap: 5px; } .dots-c i { width: 13px; height: 13px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .3); } .dots-c small { font-size: 11px; color: var(--stone); }
.buy { gap: 14px; padding: 12px var(--gut) 26px; }
.pname { font-size: clamp(1.5rem, 6.2vw, 2.2rem); } .price.big b { font-size: 1.75rem; }
/* tick add-ons: a white card, a round-corner tick, the part opens under it */
.tick-card { border-radius: 22px; background: var(--surface); box-shadow: var(--rim), var(--sh); overflow: hidden; padding: 0; }
.tick-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; font-weight: 600; list-style: none; }
summary.tick-row::-webkit-details-marker { display: none; }
.tick-row > .ic { color: var(--ink-2); } .tick-row .tl { flex: 1; } .tick-row .tx { color: var(--stone); font-weight: 500; font-size: 14px; } .tick-row b.tx { color: var(--ink); font-weight: 700; font-size: 15px; }
.tick-row input { position: absolute; opacity: 0; pointer-events: none; }
.tk { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1.5px rgb(34 56 77 / .3); transition: background-color .25s, box-shadow .25s; }
.tk .ic { width: 16px; height: 16px; color: #fff; stroke-width: 2.6; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--ease); }
.tick-row input:checked + .tk { background: var(--ink-2); box-shadow: none; } .tick-row input:checked + .tk .ic { opacity: 1; transform: none; }
.tick-row input:focus-visible + .tk { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.tick-card.on { box-shadow: inset 0 0 0 1.5px rgb(58 93 128 / .35), var(--sh); }
.tick-body { padding: 0 16px 16px; display: grid; gap: 10px; animation: m-in .45s var(--ease) both; }
.tick-card textarea { width: 100%; border: 0; border-radius: 14px; padding: 12px 14px; background: var(--f-field); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .1); resize: vertical; }
.tick-card textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--sky); }
.tick-body .link { justify-self: start; }
.chev { margin-inline-start: auto; width: 18px; height: 18px; color: #9aa7b3; transition: transform .35s var(--ease); } details[open] > summary .chev { transform: rotate(180deg); }
.box-in[open] > summary { padding-bottom: 10px; }
.bi-list { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 8px; animation: m-in .45s var(--ease) both; }
.bi-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; min-height: 30px; }
.bi-list img { width: 48px; height: 48px; flex: none; border-radius: 12px; object-fit: contain; background: var(--f-field); padding: 3px; }
.bi-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); margin-inline: 4px 2px; } .bi-list li.out { color: var(--stone); }
.desc-body { padding: 0 16px 16px; color: var(--ink-soft); }
/* card: written OR voice (segmented, like iOS) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--f-field); }
.seg button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 0; border-radius: 11px; background: none; color: var(--ink-soft); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .3s, box-shadow .3s, color .3s; }
.seg button .ic { width: 18px; height: 18px; } .seg button.on { background: var(--seg-on); color: var(--ink); box-shadow: 0 1px 3px rgb(16 24 40 / .1), 0 4px 10px -6px rgb(34 56 77 / .3); }
.tick-body .voice-card { padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tick-body .voice-card .hint { margin: 0; }
/* photo slots (like the Shopify slot): dashed row, photo icon, a short title; filled = small preview + change */
.photo-up { display: grid; gap: 12px; padding: 14px 16px 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--rim), var(--sh); }
.pu-head { display: flex; align-items: center; gap: 8px; font-weight: 600; } .pu-head .ic { color: var(--ink-2); } .pu-head small { margin-inline-start: auto; color: var(--stone); font-weight: 500; font-size: 13px; }
.slots { display: grid; gap: 12px; }
.piece { display: grid; gap: 8px; } .piece + .piece { padding-top: 12px; border-top: .5px solid rgb(34 56 77 / .12); }
.pc-head { display: flex; align-items: center; gap: 10px; font-size: 14px; } .pc-head small { color: var(--stone); }
.pc-sws { display: flex; gap: 9px; }
.pc-sw { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--sw); cursor: pointer; box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .3); transition: box-shadow .25s; }
.pc-sw.on { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px var(--ink-2); }
.photo-up .slot { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 74px; padding: 12px 16px; border-radius: 16px; border: 1.5px dashed #a9c7e3; background: var(--surface-hi); box-shadow: none; outline: 0; cursor: pointer; text-align: start; font-size: 15px; transition: border-color .25s, background-color .25s; }
.photo-up .slot:active { border-color: var(--ink-2); background: var(--surface); }
.pu-ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--f-blue); color: var(--ink-2); } .pu-ic svg { width: 26px; height: 26px; }
.photo-up .slot b { font-weight: 600; } .pu-plus { margin-inline-start: auto; font-size: 26px; line-height: 1; color: var(--ink-2); }
.photo-up .slot.need { border-color: var(--red); background: var(--need-bg); animation: shake .42s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.photo-up .slot.busy { pointer-events: none; }
.photo-up .slot.filled { border: .5px solid var(--hair); background: var(--surface); cursor: default; }
.photo-up .slot.filled img { width: 56px; height: 56px; max-height: none; border-radius: 12px; object-fit: cover; }
.photo-up .slot.filled span { flex: 1; display: grid; } .photo-up .slot .q { color: #8a5200; font-size: 12.5px; }
/* mini bar: keeps the product in view while choosing */
.pdp-mini { position: fixed; z-index: 39; top: calc(env(safe-area-inset-top) + var(--top) + 22px); inset-inline: 10px; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 22px;
  opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none; transition: opacity .35s var(--ease), transform .55s var(--ease); }
.pdp-mini.on { opacity: 1; transform: none; pointer-events: auto; }
.pdp-mini img { flex: none; width: 46px; height: 46px; border-radius: 15px; object-fit: contain; background: #fff; }
.pdp-mini span { flex: 1; min-width: 0; display: grid; line-height: 1.3; } .pdp-mini b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pdp-mini small { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pdp-mini .btn { flex: none; min-height: 40px; padding: 0 16px; }
body.box-mode .pdp-mini { left: 90px; }
@media (min-width: 900px) {
  .pdp-mini { display: none; } .gallery, .gallery.many { padding: 0 0 12px; } .gallery.many .slide { flex-basis: 100%; } .sw-opt { padding-inline: 0; }
  .buy { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } .buy .tick-card, .buy .photo-up { box-shadow: var(--rim); }
}

/* ---------- v3 box builder: 1 pick the box (folds away, pins at the top) → 2 sections → that section's pieces ---------- */
.builder h1 { margin-bottom: 18px; }
.bstep { padding: 16px; border-radius: 26px; background: var(--surface); box-shadow: var(--rim), var(--sh); margin-bottom: 14px; }
.bs-top { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.bs-top b { font-weight: 700; } .bs-picked { color: var(--stone); font-size: 14px; } .bs-top .link { margin-inline-start: auto; font-weight: 600; color: var(--ink-2); }
.bs-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--f-navy); }
.builder .shapes { margin: 14px 0 0; }
.builder.picked .shapes { display: none; }
.builder.picked [data-bstep="1"] .bs-n { background: var(--good); }
.bs-lock { margin: 10px 0 0; } .builder.has-box .bs-lock { display: none; }
.builder:not(.has-box) .bcols { opacity: .45; pointer-events: none; filter: saturate(.6); }
.bcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; transition: opacity .4s var(--ease); }
@media (min-width: 700px) { .bcols { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (min-width: 1100px) { .bcols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bcol { display: grid; gap: 4px; padding: 10px 10px 12px; border: 0; border-radius: 20px; background: var(--f-blue); color: var(--ink); text-align: start; cursor: pointer; box-shadow: var(--rim); transition: transform .45s var(--ease); }
.bcol:active { transform: scale(.97); transition-duration: .08s; }
.bc-img { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 6px; } .bc-img img { aspect-ratio: 1; width: 100%; object-fit: contain; border-radius: 10px; background: #fff; padding: 2px; }
.bcol b { font-size: 15px; } .bcol small { color: var(--stone); font-size: 12.5px; }
.bcol-pane { margin-top: 10px; } .bcol-pane h2 { margin: 6px 0 12px; font-size: 1.5rem; }
.bcol-pane .grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } @media (min-width: 700px) { .bcol-pane .grid.small { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bcol-pane.go .pool-item { animation: m-in .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
.builder .pool-item { position: relative; gap: 4px; padding: 8px 8px 10px; border-radius: 18px; background: var(--f-blue); font-size: 13px; }
.builder .pool-item img { border-radius: 12px; }
.pi-add { position: absolute; top: 12px; inset-inline-end: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--f-navy); box-shadow: 0 4px 10px -4px rgb(34 56 77 / .6); font-style: normal; }
.pi-add .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.builder .pool-item.on { box-shadow: inset 0 0 0 2px var(--ink-2), var(--sh); } .builder .pool-item.on .pi-add { background: var(--good); }
@media (prefers-reduced-motion: reduce) { .bcol-pane.go .pool-item { animation: none; } }
body.box-mode .builder .bs-top { padding-left: 78px; } /* the floating box sits top-left */

/* ---------- dark (owner 2026-11-29, 2nd pass: «الخلفية رمادي والكروت تفضل بيضا، مش أسمر قوي»): grey ground, white cards with navy text,
   light text only on the grey. Follows the phone; «ليلي / نهاري» in the side menu overrides. ---------- */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --ground: #3b3f46; --ink: #f3f5f7; --ink-2: #b4d2ee; --ink-soft: #dde2e7; --stone: #b9c0c8; --line: rgb(255 255 255 / .16);
  --red: #ff8b98; --good: #86e3b0; --sky: #8db8de; --wash: rgb(255 255 255 / .1); --hair: rgb(255 255 255 / .16);
  --glass: linear-gradient(145deg, rgb(96 101 110 / .66), rgb(66 70 78 / .52));
  --glass-rim: inset 0 0 0 .5px rgb(255 255 255 / .22), inset 1.5px 1.5px 1px -1px rgb(255 255 255 / .32), 0 0 0 .5px rgb(0 0 0 / .25);
  --f-sheet: linear-gradient(160deg, rgb(70 74 82 / .9), rgb(56 60 67 / .88)); --sheet-head: rgb(66 70 78 / .94);
  --sh: 0 1px 2px rgb(0 0 0 / .18), 0 14px 34px -18px rgb(0 0 0 / .5); --sh2: 0 2px 6px rgb(0 0 0 / .2), 0 30px 70px -26px rgb(0 0 0 / .6);
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #3b3f46; --ink: #f3f5f7; --ink-2: #b4d2ee; --ink-soft: #dde2e7; --stone: #b9c0c8; --line: rgb(255 255 255 / .16);
  --red: #ff8b98; --good: #86e3b0; --sky: #8db8de; --wash: rgb(255 255 255 / .1); --hair: rgb(255 255 255 / .16);
  --glass: linear-gradient(145deg, rgb(96 101 110 / .66), rgb(66 70 78 / .52));
  --glass-rim: inset 0 0 0 .5px rgb(255 255 255 / .22), inset 1.5px 1.5px 1px -1px rgb(255 255 255 / .32), 0 0 0 .5px rgb(0 0 0 / .25);
  --f-sheet: linear-gradient(160deg, rgb(70 74 82 / .9), rgb(56 60 67 / .88)); --sheet-head: rgb(66 70 78 / .94);
  --sh: 0 1px 2px rgb(0 0 0 / .18), 0 14px 34px -18px rgb(0 0 0 / .5); --sh2: 0 2px 6px rgb(0 0 0 / .2), 0 30px 70px -26px rgb(0 0 0 / .6);
}
:root[data-theme="light"] { color-scheme: light; }
html.theme-anim, html.theme-anim body, html.theme-anim body * { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s, box-shadow .45s !important; }
:root[data-theme="dark"] .card, :root[data-theme="dark"] .tick-card, :root[data-theme="dark"] .photo-up, :root[data-theme="dark"] .bstep, :root[data-theme="dark"] .f-group, :root[data-theme="dark"] .filter-btn, :root[data-theme="dark"] .chip, :root[data-theme="dark"] .chip-r span, :root[data-theme="dark"] .btn.ghost:not(.light), :root[data-theme="dark"] .block-head a, :root[data-theme="dark"] .quick-link, :root[data-theme="dark"] .delivery, :root[data-theme="dark"] .mirror-band, :root[data-theme="dark"] .review, :root[data-theme="dark"] .steps li, :root[data-theme="dark"] .promises div, :root[data-theme="dark"] .occ-card, :root[data-theme="dark"] .col-card span, :root[data-theme="dark"] .cb-bar, :root[data-theme="dark"] .bcol, :root[data-theme="dark"] .pool-item, :root[data-theme="dark"] .opt span, :root[data-theme="dark"] .stepper, :root[data-theme="dark"] .pick, :root[data-theme="dark"] .slot, :root[data-theme="dark"] .seg, :root[data-theme="dark"] .sums, :root[data-theme="dark"] .cline, :root[data-theme="dark"] .empty-cart, :root[data-theme="dark"] .checkout form, :root[data-theme="dark"] .track-find, :root[data-theme="dark"] .corp, :root[data-theme="dark"] .prose, :root[data-theme="dark"] .box-inside, :root[data-theme="dark"] .ok-line, :root[data-theme="dark"] .voice-card, :root[data-theme="dark"] .gift-opts, :root[data-theme="dark"] .pay .paynum, :root[data-theme="dark"] .pay fieldset label, :root[data-theme="dark"] .set, :root[data-theme="dark"] form input, :root[data-theme="dark"] form select, :root[data-theme="dark"] form textarea, :root[data-theme="dark"] .search-big input, :root[data-theme="dark"] .desc, :root[data-theme="dark"] .addon, :root[data-theme="dark"] .addon-line, :root[data-theme="dark"] .w3-arrow, :root[data-theme="dark"] .box-sheet .bs-head, :root[data-theme="dark"] .box-sheet .bs-line, :root[data-theme="dark"] .shape-pick, :root[data-theme="dark"] .search-menu { --ink: #22384d; --ink-2: #3a5d80; --ink-soft: #3f5468; --stone: #52626f; --red: #c8102e; --good: #1f7a4a; --line: rgb(34 56 77 / .12); --hair: rgb(34 56 77 / .12); --wash: rgb(34 56 77 / .06); color: var(--ink); }
:root[data-theme="dark"] .dots button { background: rgb(255 255 255 / .32); }
:root[data-theme="dark"] .dots button.on { background: #fff; }
:root[data-theme="dark"] .tabbar .on { background: rgb(255 255 255 / .2); color: #fff; box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .25); }
:root[data-theme="dark"] .chip.on, :root[data-theme="dark"] .chip-r input:checked + span, :root[data-theme="dark"] .opt input:checked + span { color: var(--pearl); }
:root[data-theme="dark"] .foot { background: #2c3036; }
:root[data-theme="dark"] .search-menu { background: rgb(255 255 255 / .85); }
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .card, :root:not([data-theme="light"]) .tick-card, :root:not([data-theme="light"]) .photo-up, :root:not([data-theme="light"]) .bstep, :root:not([data-theme="light"]) .f-group, :root:not([data-theme="light"]) .filter-btn, :root:not([data-theme="light"]) .chip, :root:not([data-theme="light"]) .chip-r span, :root:not([data-theme="light"]) .btn.ghost:not(.light), :root:not([data-theme="light"]) .block-head a, :root:not([data-theme="light"]) .quick-link, :root:not([data-theme="light"]) .delivery, :root:not([data-theme="light"]) .mirror-band, :root:not([data-theme="light"]) .review, :root:not([data-theme="light"]) .steps li, :root:not([data-theme="light"]) .promises div, :root:not([data-theme="light"]) .occ-card, :root:not([data-theme="light"]) .col-card span, :root:not([data-theme="light"]) .cb-bar, :root:not([data-theme="light"]) .bcol, :root:not([data-theme="light"]) .pool-item, :root:not([data-theme="light"]) .opt span, :root:not([data-theme="light"]) .stepper, :root:not([data-theme="light"]) .pick, :root:not([data-theme="light"]) .slot, :root:not([data-theme="light"]) .seg, :root:not([data-theme="light"]) .sums, :root:not([data-theme="light"]) .cline, :root:not([data-theme="light"]) .empty-cart, :root:not([data-theme="light"]) .checkout form, :root:not([data-theme="light"]) .track-find, :root:not([data-theme="light"]) .corp, :root:not([data-theme="light"]) .prose, :root:not([data-theme="light"]) .box-inside, :root:not([data-theme="light"]) .ok-line, :root:not([data-theme="light"]) .voice-card, :root:not([data-theme="light"]) .gift-opts, :root:not([data-theme="light"]) .pay .paynum, :root:not([data-theme="light"]) .pay fieldset label, :root:not([data-theme="light"]) .set, :root:not([data-theme="light"]) form input, :root:not([data-theme="light"]) form select, :root:not([data-theme="light"]) form textarea, :root:not([data-theme="light"]) .search-big input, :root:not([data-theme="light"]) .desc, :root:not([data-theme="light"]) .addon, :root:not([data-theme="light"]) .addon-line, :root:not([data-theme="light"]) .w3-arrow, :root:not([data-theme="light"]) .box-sheet .bs-head, :root:not([data-theme="light"]) .box-sheet .bs-line, :root:not([data-theme="light"]) .shape-pick, :root:not([data-theme="light"]) .search-menu { --ink: #22384d; --ink-2: #3a5d80; --ink-soft: #3f5468; --stone: #52626f; --red: #c8102e; --good: #1f7a4a; --line: rgb(34 56 77 / .12); --hair: rgb(34 56 77 / .12); --wash: rgb(34 56 77 / .06); color: var(--ink); }
:root:not([data-theme="light"]) .dots button { background: rgb(255 255 255 / .32); }
:root:not([data-theme="light"]) .dots button.on { background: #fff; }
:root:not([data-theme="light"]) .tabbar .on { background: rgb(255 255 255 / .2); color: #fff; box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .25); }
:root:not([data-theme="light"]) .chip.on, :root:not([data-theme="light"]) .chip-r input:checked + span, :root:not([data-theme="light"]) .opt input:checked + span { color: var(--pearl); }
:root:not([data-theme="light"]) .foot { background: #2c3036; }
:root:not([data-theme="light"]) .search-menu { background: rgb(255 255 255 / .85); }
}
.m-theme { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: .5px solid var(--hair); }
.m-theme > span { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-weight: 500; padding-inline: 8px; } .m-theme .ic { width: 20px; height: 20px; color: var(--ink-2); }
.m-theme .seg { grid-template-columns: repeat(3, 1fr); } .m-theme .seg button { height: 38px; }

/* ---------- motion kit A — adapted from UI Moments by Guanmo (MIT) — github.com/guanmo-ai/ui-moments ---------- */
.roll { display: inline-grid; overflow: hidden; vertical-align: bottom; } .roll > span { grid-area: 1 / 1; }
.stepper output { display: inline-grid; overflow: hidden; font-variant-numeric: tabular-nums; font-weight: 600; }
.cart-count { overflow: hidden; }
.countdown { display: inline-flex; direction: ltr; font-variant-numeric: tabular-nums; } .countdown i { font-style: normal; display: inline-grid; overflow: hidden; }
.stepper button:active { transform: scale(.86); transition: transform .08s; } .stepper button { transition: transform .35s var(--ease), background-color .2s; }
/* «added ✓» morph (Copy Button) */
.swap { display: grid; overflow: hidden; }
.swap > * { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: translate .42s cubic-bezier(.25,1.35,.45,1), opacity .25s; }
.swap > :last-child { translate: 0 110%; opacity: 0; }
[data-done] .swap > :first-child { translate: 0 -110%; opacity: 0; } [data-done] .swap > :last-child { translate: 0 0; opacity: 1; }
.tick-draw { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .38s var(--ease) .12s; }
[data-done] .tick-draw { stroke-dashoffset: 0; }
.btn[data-done] { background: linear-gradient(150deg, #36a874, #1f7a4a); color: #fff; transition: background .3s; }
.btn.ghost[data-done] { background: rgb(31 122 74 / .12); color: var(--good); }
/* heart burst (Like Burst) */
.share-row .link { position: relative; overflow: visible; }
.link[data-wish] .ic { transition: fill .25s, stroke .25s; }
.lb { position: absolute; width: 0; height: 0; pointer-events: none; }
.lb i { position: absolute; border-radius: 50%; }
.lb-ring { left: -16px; top: -16px; width: 32px; height: 32px; border: 2px solid var(--red); opacity: 0; }
.lb-spark { left: -3px; top: -3px; width: 6px; height: 6px; background: var(--red); opacity: 0; } .lb-spark:nth-child(odd) { background: var(--ink-2); width: 4px; height: 4px; left: -2px; top: -2px; }
@media (prefers-reduced-motion: reduce) { .swap > * { transition: opacity .2s; } .swap > :last-child, [data-done] .swap > :first-child { translate: 0 0; } .tick-draw { transition: none; stroke-dashoffset: 0; } }

/* remove the box (owner 2026-11-29: «مش عارف أشيل البوكس»): a clear red button, two taps */
.box-rm { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin: 4px 0 12px; border: 0; border-radius: 14px; cursor: pointer;
  font-weight: 600; color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); transition: background-color .25s, transform .3s var(--ease); }
.box-rm .ic { width: 20px; height: 20px; } .box-rm:active { transform: scale(.97); } .box-rm[data-sure] { color: #fff; background: var(--red); }
.link.danger { color: var(--red); font-weight: 600; } .link.danger[data-sure] { text-decoration: underline; }
.cl-act { display: grid; justify-items: center; gap: 2px; } .cl-del { color: var(--stone); padding: 4px; } .cl-del .ic { width: 18px; height: 18px; }
.tabbar a.bump, .top .cart-btn.bump { animation: bump .5s var(--ease); } /* the bag catches the flying photo */
:root[data-theme="dark"] .shape-pick.on, :root[data-theme="dark"] .btn.ghost[data-done] { color: var(--pearl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shape-pick.on { color: var(--pearl); } :root:not([data-theme="light"]) .btn.ghost[data-done] { color: #1f7a4a; } }

/* ---------- motion kit B — adapted from UI Moments by Guanmo (MIT) — github.com/guanmo-ai/ui-moments ---------- */
/* Stroke Checklist: the tick draws itself and the box pops */
.tk .ic { opacity: 1; transform: none; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .32s cubic-bezier(.16,1,.3,1) .05s; }
.tick-row input:checked + .tk { animation: tk-pop .42s var(--spring); } .tick-row input:checked + .tk .ic { stroke-dashoffset: 0; }
.f-opt .ic { opacity: 1; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s cubic-bezier(.16,1,.3,1); } .f-opt.on .ic { stroke-dashoffset: 0; }
@keyframes tk-pop { 0% { scale: .7; } 60% { scale: 1.15; } 100% { scale: 1; } }
/* sliding highlight (Plan Picker ring / Leaf Tabs) */
.seg, .opt:not(.sw-opt), .shapes, .pay fieldset { position: relative; }
.glide { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; transition: transform .5s var(--spring), width .5s var(--spring), height .5s var(--spring), opacity .2s; }
.seg > button, .opt label, .shape-pick, .pay fieldset label { position: relative; z-index: 1; }
.g-seg { border-radius: 11px; background: var(--seg-on); box-shadow: 0 1px 3px rgb(16 24 40 / .1), 0 4px 10px -6px rgb(34 56 77 / .3); }
.seg:has(> .glide) > button.on { background: transparent; box-shadow: none; }
.g-opt { border-radius: var(--pill); background: var(--f-navy); box-shadow: var(--rim-dark), var(--sh); }
.opt:has(> .glide) input:checked + span { background: transparent; box-shadow: none; }
.opt input + span { transition: color .3s; }
.g-ring { border-radius: var(--r-md); box-shadow: inset 0 0 0 2px var(--ink-2); z-index: 2; } /* above the cards: the ring and its tick were half hidden behind the picked card */
.g-ring::after { content: ''; position: absolute; top: -7px; inset-inline-end: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.shapes:has(> .glide) .shape-pick.on { background: var(--f-blue); color: var(--ink); box-shadow: var(--rim), var(--sh); } .shapes:has(> .glide) .shape-pick.on svg.shape, .shapes:has(> .glide) .shape-pick.on small { color: var(--ink-2); }
/* Bloom Toggle petals around a picked colour */
.bloom-fx { position: fixed; z-index: 95; width: 0; height: 0; pointer-events: none; }
.bloom-fx i { position: absolute; left: -4px; top: -6px; width: 8px; height: 12px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .2); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .glide { transition: opacity .2s; } .tick-row input:checked + .tk { animation: none; } .tk .ic, .f-opt .ic { transition: none; } }

/* ---------- motion kit C+D — adapted from UI Moments by Guanmo (MIT) — github.com/guanmo-ai/ui-moments ---------- */
@property --p { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --um-sweep { syntax: '<percentage>'; inherits: false; initial-value: 10%; }
/* Download Ring on the photo slot: fills with the real upload, ends with a green tick */
.up-ring { width: 32px; height: 32px; rotate: -90deg; } .up-ring circle { fill: none; stroke-width: 3; }
.up-ring .tr { stroke: rgb(58 93 128 / .18); } .up-ring .bar { stroke: var(--ink-2); stroke-linecap: round; stroke-dasharray: 81.7; stroke-dashoffset: calc(81.7 * (1 - var(--up, 0))); transition: stroke-dashoffset .25s ease-out; }
.photo-up .slot.upd .pu-ic { background: var(--good); color: #fff; animation: tk-pop .42s var(--spring); } .photo-up .slot.upd .up-ring { display: none; }
.photo-up .slot.upd .pu-ic::after { content: ''; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Breath Orb on the mic while recording */
.vr-mic::before, .voice-card.rec .vr-mic::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.voice-card.rec .vr-mic::before { inset: -9px; border: 1.5px solid rgb(224 38 63 / .35); animation: orb-breathe 2.6s ease-in-out infinite; }
.voice-card.rec .vr-mic::after { inset: -18px; border: 1.5px solid rgb(224 38 63 / .16); animation: orb-breathe 2.6s ease-in-out -.4s infinite; }
@keyframes orb-breathe { 0%, 100% { scale: .82; opacity: .6; } 50% { scale: 1.06; opacity: 1; } }
/* Tide Progress: the free-shipping bar fills like water (moving wave on top, springy fill) */
.ship-bar div::before { width: var(--p); background: linear-gradient(90deg, var(--sky), var(--ink-2)); }
.ship-bar div::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p); border-radius: 4px; opacity: .45;
  background: repeating-linear-gradient(100deg, transparent 0 8px, rgb(255 255 255 / .55) 8px 11px); background-size: 22px 100%; animation: tide-flow 1.4s linear infinite; }
@keyframes tide-flow { to { background-position: 22px 0; } }
/* Tide Ring loader (brand colour) + skeleton while the cart loads */
.tide-ring { position: relative; display: inline-block; width: 22px; height: 22px; color: currentColor; vertical-align: middle; }
.tide-ring i { position: absolute; inset: 0; border-radius: 50%; border: 2.4px solid currentColor; }
.tide-ring .tr { opacity: .2; }
.tide-ring .arc { -webkit-mask: conic-gradient(#000 var(--um-sweep), transparent 0); mask: conic-gradient(#000 var(--um-sweep), transparent 0);
  animation: um-tide-sweep 1.6s cubic-bezier(.55,.1,.35,.95) infinite, um-tide-turn 2.4s linear infinite; }
@keyframes um-tide-sweep { 0%, 100% { --um-sweep: 8%; } 50% { --um-sweep: 72%; } } @keyframes um-tide-turn { to { transform: rotate(1turn); } }
.btn.busy { position: relative; color: transparent !important; } .btn.busy .tide-ring { position: absolute; inset: 0; margin: auto; color: var(--pearl); }
.btn:not(.busy) .tide-ring { display: none; }
.skel { display: grid; gap: 10px; } .sk-line { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--rim); }
.sk-line i, .sk-line b { display: block; border-radius: 10px; background: linear-gradient(90deg, rgb(34 56 77 / .07) 0 40%, rgb(34 56 77 / .14) 50%, rgb(34 56 77 / .07) 60% 100%); background-size: 300% 100%; animation: sk 1.3s ease-in-out infinite; }
.sk-line i { aspect-ratio: 1; } .sk-line span { display: grid; gap: 8px; } .sk-line b { height: 12px; } .sk-line b + b { width: 50%; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* Code Shake: the wrong field turns red */
.bad, form .bad { box-shadow: inset 0 0 0 2px var(--red), 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent) !important; }
/* Paper Plane */
.plane { position: fixed; z-index: 95; width: 22px; height: 22px; pointer-events: none; color: var(--ink-2); } .plane svg { width: 22px; height: 22px; }
/* Hold to Confirm: red fills under the finger */
.box-rm, .link.danger { position: relative; overflow: hidden; isolation: isolate; }
.box-rm::before, .link.danger::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s ease-out; opacity: .9; }
[dir="ltr"] .box-rm::before, [dir="ltr"] .link.danger::before { transform-origin: left; }
.box-rm.holding::before, .link.danger.holding::before { transform: scaleX(1); transition: transform .8s linear; } .box-rm.holding, .link.danger.holding { color: #fff; }
.box-rm[data-sure], .link.danger[data-sure] { background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--red); }
/* Step Track: dots and the line fill up to «now» */
.steps-line li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 14px; top: 30px; bottom: -6px; width: 2px; border-radius: 1px; background: rgb(34 56 77 / .15); }
.steps-line li.done:not(.now):not(:last-child)::after { background: var(--ink-2); }
.st-go li.done::before { animation: tk-pop .45s var(--spring) both; animation-delay: calc(var(--i) * 180ms + 150ms); }
.st-go li.done:not(.now)::after { transform-origin: top; animation: st-line .4s ease-out both; animation-delay: calc(var(--i) * 180ms + 300ms); }
.st-go li.now::before { box-shadow: 0 0 0 3px rgb(184 210 232 / .7), 0 0 0 7px rgb(184 210 232 / .3); }
@keyframes st-line { from { transform: scaleY(0); } }
/* Pull to Refresh */
.ptr { position: fixed; z-index: 70; top: calc(env(safe-area-inset-top) + 64px); left: 50%; margin-left: -20px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--glass); -webkit-backdrop-filter: var(--frost-l); backdrop-filter: var(--frost-l); box-shadow: var(--glass-rim), var(--sh); color: var(--ink-2); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .25s; }
.ptr .arc { animation-play-state: paused; } .ptr.ready .arc, .ptr.spin .arc { animation-play-state: running; } .ptr.ready { color: var(--good); }
@media (prefers-reduced-motion: reduce) { .tide-ring .arc, .ship-bar div::after, .sk-line i, .sk-line b, .voice-card.rec .vr-mic::before, .voice-card.rec .vr-mic::after { animation: none; } .st-go li::before, .st-go li::after { animation: none; } }

/* owner 2026-11-29 (iPhone video): side menu slides OVER the logo both ways — it carries its own top row (X + logo + name) where the header is */
.m-top { position: absolute; top: calc(env(safe-area-inset-top) + 8px); inset-inline-start: 10px; display: flex; align-items: center; gap: 2px; height: var(--top); padding-inline: 4px 16px; border-radius: var(--pill);
  background: var(--glass); box-shadow: var(--glass-rim), 0 8px 24px -14px rgb(34 56 77 / .35); }
.m-top .logo { pointer-events: none; }
.drawer.menu { padding-top: calc(env(safe-area-inset-top) + var(--top) + 34px); }
.burger.is-x i { top: 6.2px; } .burger.is-x i:first-child { transform: rotate(45deg); } .burger.is-x i:last-child { transform: rotate(-45deg); }
.seg-pane { display: grid; gap: 8px; }
/* rows that scroll sideways must never move up/down (the glide-in lift made them scroll vertically on the iPhone) */
.row-scroll, .strip, .gallery, .filters, .thumbs { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.row-scroll .rv, .strip .rv { transform: none; }

/* ---------- box v2 in the cart (owner 2026-11-29): each box on its own, then «بره البوكس» ---------- */
.cbox { margin: 0 0 14px; padding: 12px; border-radius: 22px; background: var(--f-blue); box-shadow: var(--rim); }
.cbox.live { box-shadow: inset 0 0 0 1.5px var(--ink-2), var(--rim); }
.cbox-head { display: flex; align-items: center; gap: 8px; margin: 2px 4px 10px; } .cbox-head .ic { color: var(--ink-2); } .cbox-head b { font-size: 1.05rem; } .cbox-head small { color: var(--stone); }
.cbox-live { margin-inline-start: auto; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 3px 10px; border-radius: var(--pill); background: var(--surface); }
.cbox .clines { gap: 8px; } .cbox .cline { background: var(--surface); }
.box-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 4px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); } .box-note .ic { flex: none; color: var(--ink-2); margin-top: 2px; }
.cbox-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 4px; } .cbox .box-rm { margin: 8px 0 0; }
.cgroup-h { margin: 6px 4px 10px; font-weight: 700; color: var(--ink); }
.fbox .n { min-width: 24px; }
.vp-list { display: grid; gap: 8px; } .vp-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 0; border-radius: 16px; background: var(--f-blue); color: var(--ink); text-align: start; cursor: pointer; box-shadow: var(--rim); }
.vp-item img { width: 60px; height: 60px; object-fit: contain; border-radius: 12px; background: #fff; } .vp-item:active { transform: scale(.98); }
.builder .box-note { margin: 12px 0 0; }
.cbox .in-box-tag { display: none; } .cbox { padding: 10px 8px; } .cbox .cline { grid-template-columns: 56px 1fr auto; gap: 8px; } .cbox .cline b { font-size: 14.5px; line-height: 1.45; }
.dots button { transition: width .28s var(--ease), background-color .15s; } .sw i { transition: transform .25s var(--ease), box-shadow .15s; } /* dots + ring follow the photo instantly */

/* owner 2026-11-29: his own chocolate + gift-card icons (masks, so they take the brand colour, light and dark) */
.ic-img { display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -.25em; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic-chocbar { --m: url(/assets/img/icons/chocolate.png); } .ic-giftcard { --m: url(/assets/img/icons/giftcard.png); }
.tick-row > .ic-img { width: 26px; height: 26px; color: var(--ink-2); } .cline b .ic-img { margin-inline-end: 4px; color: var(--ink-2); }
/* the whole band above and around the top bar is frosted glass (no page showing through under the status bar) */
body::after { height: calc(env(safe-area-inset-top) + var(--top) + 18px); background: color-mix(in srgb, var(--ground) 70%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  -webkit-mask: linear-gradient(#000 calc(100% - 12px), transparent); mask: linear-gradient(#000 calc(100% - 12px), transparent); }
/* a smaller, tidier footer */
.foot { margin: 26px 10px 0; padding: 20px 18px 16px; }
.foot-cols { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.foot-cols > div:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-cols > div:first-child img { width: 40px; height: 40px; } .foot-cols > div:first-child p { margin: 0; flex: 1; min-width: 150px; font-size: 13px; line-height: 1.5; }
.foot .social { display: flex !important; gap: 8px; } .foot .social a { width: 36px; height: 36px; } .foot .social .ic { width: 18px; height: 18px; }
.foot-cols div { gap: 2px; } .foot b { font-size: .98rem; margin-bottom: 4px; } .foot a { font-size: 13.5px; line-height: 1.55; }
.foot .copy { margin: 14px 0 0; font-size: 12px; text-align: center; opacity: .8; }
@media (min-width: 800px) { .foot-cols { grid-template-columns: 2fr 1fr 1fr; } .foot-cols > div:first-child { grid-column: auto; } }
/* owner 2026-11-29: the gift card price shows only after the tick */
.tick-card:not(.on) .tick-row b.tx { display: none; } .tick-card.on .tick-row b.tx { animation: m-in .35s var(--ease) both; }

/* wishlist / hint / share as real buttons (owner 2026-11-29) */
.share-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.act { position: relative; display: grid; justify-items: center; gap: 4px; padding: 11px 6px 9px; border: 0; border-radius: 18px; cursor: pointer; overflow: visible;
  background: var(--f-blue); color: var(--ink); font-size: 13.5px; font-weight: 600; box-shadow: var(--rim); transition: transform .45s var(--ease), background-color .2s; }
.act .ic { width: 22px; height: 22px; color: var(--ink-2); transition: fill .25s, stroke .25s; } .act:active { transform: scale(.94); transition-duration: .08s; }
.act.on .ic { fill: var(--red); stroke: var(--red); } .act.on { background: color-mix(in srgb, var(--red) 9%, var(--surface)); }
.act[data-done] { background: rgb(31 122 74 / .12); color: var(--good); } .act .swap > * { gap: 4px; }
.vr-off { margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); background: var(--f-field); }

/* ---------- expanding explanations (owner 2026-11-29): a small pill that grows to show its text ---------- */
.xp { display: block; width: fit-content; max-width: 100%; border-radius: 20px; background: var(--f-blue); box-shadow: var(--rim); color: var(--ink); }
.xp > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; cursor: pointer; font-size: 14px; }
.xp > summary::-webkit-details-marker { display: none; } .xp > summary b { font-weight: 600; }
.xp > summary .ic { width: 18px; height: 18px; color: var(--ink-2); } .xp > summary .chev { width: 16px; height: 16px; margin-inline-start: 2px; color: var(--stone); }
.xp.xp-on { width: 100%; } .xp.xp-on > summary .chev { transform: rotate(180deg); } details.xp-on > summary .chev { transform: rotate(180deg); }
.xp > summary:active { transform: scale(.97); } .xp > summary { transition: transform .35s var(--ease); }
.xp-body { padding: 0 16px 14px; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.xp[open] .xp-body { animation: m-in .45s var(--ease) both; animation-delay: .06s; }
.xp-sm > summary { min-height: 34px; padding: 6px 12px; font-size: 13px; } .xp-sm .xp-body { font-size: 13px; }
.voice-card .xp { margin-bottom: 4px; } .cbox .xp { margin: 8px 0; background: var(--surface); } .builder .box-note-xp { margin-top: 12px; }
.xp-desc .desc-body { white-space: normal; }
:root[data-theme="dark"] .xp { --ink: #22384d; --ink-2: #3a5d80; --ink-soft: #3f5468; --stone: #52626f; color: var(--ink); } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xp { --ink: #22384d; --ink-2: #3a5d80; --ink-soft: #3f5468; --stone: #52626f; color: var(--ink); } }
/* smaller wishlist / hint / share */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.act { display: inline-flex; align-items: center; justify-items: initial; gap: 6px; padding: 7px 13px; border-radius: var(--pill); font-size: 13px; }
.act .ic { width: 17px; height: 17px; } .act .swap > * { gap: 5px; }
@media (prefers-reduced-motion: reduce) { .xp[open] .xp-body { animation: none; } }
/* iPhone (owner 2026-11-29): Safari draws the page up behind the clock/battery too — the glass band reaches above the screen top to cover it */
body::after { top: -140px; height: calc(140px + env(safe-area-inset-top) + var(--top) + 18px); }
html { background: var(--ground); }

/* ================= v4 (owner 2026-11-30) ================= */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--rim), var(--sh); }
/* hero: just the photo and the two buttons on a glass strip */
.hero-clean { min-height: 58vh; } .hero-clean::after { background: linear-gradient(to top, rgb(34 56 77 / .28), rgb(34 56 77 / 0) 40%); }
.hero-clean .hero-cta { position: relative; z-index: 1; width: calc(100% - 20px); max-width: 560px; margin: 0 auto 10px; padding: 8px; border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: rgb(255 255 255 / .22); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .5), 0 18px 40px -18px rgb(0 0 0 / .4); animation: materialize .9s var(--ease) .15s both; }
.hero-clean .hero-cta .btn { min-height: 48px; padding: 0 10px; font-size: 15px; }
.hero-clean .hero-cta .btn .ic { width: 18px; height: 18px; }
/* the two big tiles: white, a picture each */
.quick2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 8px; }
.qt { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 12px 12px 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--rim), var(--sh); color: var(--ink); overflow: hidden; transition: transform .35s var(--ease); }
.qt:active { transform: scale(.97); transition-duration: .08s; }
.qt-art { position: relative; display: grid; place-items: center; height: 118px; border-radius: 20px; background: radial-gradient(circle at 50% 60%, #fff, var(--ground) 75%); overflow: hidden; }
.qt-fan img { position: absolute; width: 58%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 22px -10px rgb(34 56 77 / .45), 0 0 0 3px #fff;
  transform: translateX(calc((var(--i) - 1) * 34%)) rotate(calc((var(--i) - 1) * 9deg)) translateY(calc(var(--i) * 0px + (var(--i) - 1) * (var(--i) - 1) * 6px)); transition: transform .6s var(--spring); }
.qt-fan img:nth-child(2) { z-index: 1; }
.qt:hover .qt-fan img, .qt:focus-visible .qt-fan img { transform: translateX(calc((var(--i) - 1) * 40%)) rotate(calc((var(--i) - 1) * 13deg)); }
.qt-box img { width: 74%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgb(34 56 77 / .25)); }
.qt-box svg.shape { width: 74px; height: 74px; color: var(--ink-2); stroke-width: 1.2; }
.qt-t { display: grid; gap: 2px; line-height: 1.35; } .qt-t b { font-size: 15.5px; } .qt-t small { color: var(--stone); font-size: 12.5px; }
.qt-go { position: absolute; top: 18px; inset-inline-end: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .8); box-shadow: var(--rim); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.qt-go .ic { width: 16px; height: 16px; } [dir="rtl"] .qt-go .ic { transform: scaleX(-1); }
/* white mirrors band, steps and promises */
.mirror-band.w-band { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mirror-band.w-band .mb-wheel { background: radial-gradient(circle at 50% 44%, #fff, var(--ground) 70%); }
.steps2 ol { list-style: none; margin: 0; padding: 8px 18px; display: grid; }
.steps2 li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.steps2 li + li { border-top: .5px solid var(--hair); }
.steps2 li b { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 600; color: var(--ink); background: var(--ground); box-shadow: inset 0 0 0 1px rgb(34 56 77 / .12); }
.steps2 li span { line-height: 1.6; }
@media (min-width: 900px) { .steps2 ol { grid-template-columns: repeat(3, 1fr); } .steps2 li + li { border-top: 0; border-inline-start: .5px solid var(--hair); padding-inline-start: 18px; } }
.promises2 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; text-align: center; }
.promises2 > div { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; } .promises2 > div + div { border-inline-start: .5px solid var(--hair); }
.promises2 .ic { width: 26px; height: 26px; color: var(--ink-2); } .promises2 b { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
/* rows: many products + a «see all» tile at the end; cards turn softly while swiping */
.row-scroll[data-flow] { perspective: 900px; }
.row-scroll[data-flow] > * { transform: rotateY(var(--ry, 0deg)) scale(calc(var(--sc, 1) * var(--pr, 1))); opacity: var(--op, 1); transition: transform .12s linear, opacity .12s linear; will-change: transform; }
.row-scroll[data-flow] > *:active { --pr: .975; }
.row-more { display: grid; place-content: center; justify-items: center; gap: 6px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--rim), var(--sh); color: var(--ink); min-height: 200px; }
.row-more > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ground); } .row-more small { color: var(--stone); }
/* «كل الأقسام»: big white tiles, the section's own photo, product count */
.cts-page h1 { margin-bottom: 4px; } .cts-page > .hint { margin-top: 0; }
.cts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.ct { position: relative; display: grid; grid-template-rows: auto auto; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--rim), var(--sh); overflow: hidden; color: var(--ink); transition: transform .35s var(--ease); }
.ct:active { transform: scale(.97); transition-duration: .08s; }
.ct-ph { display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 55%, #fff, var(--ground) 80%); overflow: hidden; }
.ct-ph img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .8s var(--ease); }
.ct:hover .ct-ph img { transform: scale(1.05); }
.ct-wide { grid-column: 1 / -1; } .ct-wide .ct-ph { aspect-ratio: 16 / 9; } .ct-wide .ct-ph img { object-fit: cover; padding: 0; }
.ct-t { display: grid; gap: 1px; padding: 10px 14px 14px; line-height: 1.35; } .ct-t b { font-size: 15px; } .ct-t small { color: var(--stone); font-size: 12.5px; }
.ct-go { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--rim); }
.ct-go .ic { width: 16px; height: 16px; } [dir="rtl"] .ct-go .ic, [dir="rtl"] .ct-all .ic:last-child { transform: scaleX(-1); }
.ct-all { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--rim), var(--sh); color: var(--ink); }
.ct-all b { flex: 1; }
@media (min-width: 700px) { .cts { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1100px) { .cts { grid-template-columns: repeat(4, 1fr); } }
/* scroll motion both ways (replaces the one-time reveal) */
.rv { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease) var(--d, 0s), translate .95s var(--ease) var(--d, 0s), transform .35s var(--ease), background-color .2s, box-shadow .2s !important; }
.rv.rv-up { translate: 0 -26px; }
.rv.in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: none; } .row-scroll[data-flow] > * { transform: none; opacity: 1; } }
/* box mode: the «إضافة» menu that grows out of the button */
.addmenu { position: fixed; z-index: 80; display: grid; gap: 4px; padding: 6px; border-radius: 22px; background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .12), 0 24px 60px -20px rgb(34 56 77 / .5); }
.addmenu button { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 16px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: start; }
.addmenu button:first-child { background: var(--f-blue); } .addmenu button:active { transform: scale(.97); }
.addmenu .ic { width: 22px; height: 22px; color: var(--ink-2); }
/* box builder: ready boxes first, then a carousel of boxes with their options under them */
.ready-sug { margin: 6px 0 16px; } .ready-sug .hint { margin: 0 0 6px; }
.shape-flow { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 6px 19% 18px; margin-inline: calc(-1 * var(--gut, 16px)); scrollbar-width: none; overscroll-behavior-x: contain; }
.shape-flow::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .shape-flow { grid-auto-columns: 30%; padding-inline: 4%; } }
.shape-c { scroll-snap-align: center; display: grid; gap: 8px; align-content: start; }
.shape-c .shape-pick { width: 100%; padding: 12px 12px 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--rim), var(--sh); }
.sp-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 20px; background: radial-gradient(circle at 50% 55%, #fff, var(--ground) 80%); overflow: hidden; }
.sp-img img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 14px 16px rgb(34 56 77 / .22)); transition: opacity .25s; }
.shape-c .shape-pick b { font-size: 15px; } .shape-c.out { opacity: .55; }
.sp-out { font-style: normal; font-size: 12px; color: var(--bad); }
.sp-vs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sp-v { min-width: 30px; height: 30px; padding: 0 10px; border: 0; border-radius: var(--pill); background: var(--surface); box-shadow: var(--rim), 0 2px 6px -3px rgb(34 56 77 / .3); color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; display: inline-grid; place-items: center; transition: box-shadow .2s, transform .3s var(--spring); }
.sp-v i { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .3); }
.sp-v:has(i) { padding: 0; width: 30px; }
.sp-v.on { box-shadow: 0 0 0 2px var(--ink-2); transform: scale(1.08); } .sp-v.out { opacity: .4; text-decoration: line-through; }
.shape-c.need .sp-vs { padding: 6px; border-radius: 18px; box-shadow: 0 0 0 1.5px var(--bad); }
.builder.picked .shape-flow { display: none; }
.shapes.shape-flow > .glide { display: none; }
.shape-c .shape-pick.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 2.5px var(--ink-2), var(--sh); }
/* product page: the video button, the videos sheet, piece choices with words */
.vid-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; margin: 4px 0 10px; border: 0; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--rim), var(--sh); color: var(--ink); font: inherit; text-align: start; cursor: pointer; transition: transform .35s var(--ease); }
.vid-btn:active { transform: scale(.98); transition-duration: .08s; }
.vb-play { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 8px 18px -8px rgb(34 56 77 / .6); }
.vb-play .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-inline-start: 3px; } [dir="rtl"] .vb-play .ic { margin-inline-start: 0; margin-inline-end: 3px; }
.vid-btn span:last-child { display: grid; line-height: 1.35; } .vid-btn b { font-size: 15px; } .vid-btn small { color: var(--stone); font-size: 12.5px; }
.vids .vid-list { display: grid; gap: 12px; padding: 4px 2px 16px; max-height: 76vh; overflow-y: auto; }
.vid { width: 100%; aspect-ratio: var(--ar, 16 / 9); max-height: 70vh; border-radius: var(--r-md); overflow: hidden; background: #000; }
.vid.skel { background: var(--ground); animation: skel 1.2s ease-in-out infinite alternate; } @keyframes skel { to { opacity: .55; } }
.vid iframe, .vid video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.vid .hint { display: grid; place-items: center; height: 100%; color: #ddd; padding: 16px; text-align: center; }
.pc-sw.txt { width: auto; height: 28px; padding: 0 10px; border-radius: var(--pill); background: var(--surface); color: var(--ink); font: inherit; font-size: 12.5px; box-shadow: var(--rim), 0 2px 6px -3px rgb(34 56 77 / .3); }
.pc-sw.txt.on { box-shadow: 0 0 0 2px var(--ink-2); }
.pc-sws { flex-wrap: wrap; }
.sug-btn { display: inline-flex; align-items: center; gap: 6px; }
.tick-card.on .tick-body { animation: m-in .45s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .tick-card.on .tick-body { animation: none; } .qt-fan img { transition: none; } }
.rv { transform: none; } /* the old one-time reveal moved with transform; v4 moves with translate so taps can still press cards */

/* ===== theme layer (unit U2): preview ribbon, computer look, theme motion / columns, new home blocks ===== */
.pv-ribbon { position: fixed; inset-inline: 0; bottom: 0; z-index: 9999; text-align: center; padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); font-size: 13px; font-weight: 600; color: #fff; background: rgb(179 38 30 / .92); pointer-events: none; }
html.pv-framed .pv-ribbon { display: none; } /* inside the app's preview frame the app says «معاينة» itself */
html.pv-framed { scrollbar-width: none; } html.pv-framed::-webkit-scrollbar { display: none; } /* a drawn phone has no scroll bar eating its width; it still scrolls */
.pv-ring { position: absolute; z-index: 39; pointer-events: none; box-sizing: border-box; border: 3px solid rgb(64 132 255 / .92); border-radius: 12px; } /* drawn over the block being edited in the app (preview.js) */
@media (max-width: 899px) { .show-wide { display: none !important; } }
@media (min-width: 900px) { .show-phone { display: none !important; } }
html[data-motion=calm] *, html[data-motion=calm] *::before, html[data-motion=calm] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; scroll-behavior: auto !important; }
@media (min-width: 1024px) { html[data-cols] .grid:not(.small) { grid-template-columns: repeat(var(--cols-wide, 4), minmax(0, 1fr)); gap: 20px; } }
.hb-banner picture, .hb-banner img { display: block; width: 100%; } .hb-banner img { height: auto; border-radius: var(--r-md); }
.hb-band { padding: 22px 18px; text-align: center; } .hb-band p { color: var(--ink-soft); margin: 6px 0 14px; }
.hb-count { text-align: center; } .hb-count .countdown { display: inline-block; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.hb-video iframe, .hb-video video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); background: #000; }
.col-desc p { color: var(--ink-soft); }

/* discount code box, closed-mode note, order-limit warnings, shop details (owner settings) */
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; } .code-box input { flex: 1 1 140px; min-width: 0; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line, #d9dee3); background: transparent; text-transform: uppercase; }
.code-box.on { justify-content: space-between; color: var(--good); } .code-box small { flex-basis: 100%; }
.closed-note { margin: 8px 0 12px; padding: 10px 14px; border-radius: var(--r-md); background: rgb(138 82 0 / .09); color: #8a5200; } .limit-warn { margin: 6px 0; }
.store-info p { margin: 4px 0; font-size: 14px; }

/* accessory box row (owner 2026-12-01): a small photo of the suggested box; the card grows downward with the other boxes */
.acc-card .tick-row { min-height: 72px; }
.acc-ph { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: var(--rim); }
.acc-card .tl { display: grid; gap: 2px; min-width: 0; }
.acc-card .tl small { color: var(--stone); font-weight: 500; font-size: 13px; }
.acc-n { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-h { margin: 0; font-weight: 700; font-size: 14px; color: var(--ink-2); }

/* card designs (owner 2026-12-01): strip of designs inside the card tick; small photo on the card line in the cart */
.cdz-set { border: 0; margin: 0; padding: 0; min-width: 0; } .cdz-set legend { padding: 0; font-weight: 600; margin-bottom: 2px; }
.cdz-set .pick { min-height: 44px; }
.cline.sub:has(.cdz-th) { grid-template-columns: 44px 1fr auto; } .cline .cdz-th { width: 44px; height: 44px; }

/* names / sentence the customer writes on a product (owner 2026-12-01): one required field per name with a letter counter, and the «as on the product / write your own» choice */
.ptx { display: grid; gap: 14px; padding: 14px 16px 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--rim), var(--sh); }
.ptx-f { display: grid; gap: 6px; } .ptx-f > label { display: flex; align-items: baseline; gap: 8px; font-weight: 600; }
.ptx-f > label small { margin-inline-start: auto; color: var(--stone); font-weight: 500; font-size: 13px; }
.ptx-in { position: relative; } .ptx-in input { width: 100%; min-height: 48px; border: 0; border-radius: 14px; padding: 12px 14px; padding-inline-end: 62px; background: var(--f-field); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .1); }
.ptx-in input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--red); background: var(--need-bg); }
.ptx-c { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--stone); pointer-events: none; }
.ptx-e { margin: 0; }
.ptx-ph { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; } .ptx-ph legend { padding: 0; font-weight: 600; margin-bottom: 6px; }
.ptx-r { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 10px 12px; border-radius: 14px; background: var(--f-field); cursor: pointer; }
.ptx-r input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.ptx-r span { display: grid; gap: 2px; min-width: 0; } .ptx-r small { color: var(--stone); overflow-wrap: anywhere; }
.ptx-r:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.ptx-own { display: grid; gap: 8px; } .ptx-own[hidden] { display: none; }
.voice-card.need .vr-note { color: var(--red); font-weight: 600; }
.cline small.ptx-t { display: grid; gap: 1px; color: var(--ink-2); } .cline .ptx-t bdi { font-weight: 600; }
.ptx-sum { display: grid; gap: 8px; padding: 12px 14px; margin-block: 8px; border-radius: 16px; background: var(--surface); box-shadow: var(--rim); } .ptx-sum p { margin: 0; display: grid; gap: 2px; } .ptx-sum .ptx-t { display: grid; color: var(--ink-2); } .ptx-sum .ptx-t bdi { font-weight: 600; }

/* «كمّل هديتك» under the cart lines (owner 2026-12-01): same row as the product page's, only the heading is smaller */
.als-cart { margin: 22px 0 4px; } .als-h { font-size: 17px; margin: 0 0 6px; }
/* the name field's letter counter sits on the label line (next to «مطلوب»), never on top of the placeholder */
.ptx-f > label .ptx-c { position: static; transform: none; font-size: 12.5px; color: var(--stone); font-weight: 500; } .ptx-f > label small { margin-inline-start: auto; } .ptx-f > label small + .ptx-c { margin-inline-start: 0; } .ptx-in input[data-ptx-name] { padding-inline-end: 14px; }

/* sets («المجموعات», owner 2026-12-01): a closed row with the pieces' small photos that grows downward like the accessory box row; one more choice beside the options for a single-product set */
.set-card > summary.tick-row { min-height: 72px; }
.set-ph { flex: none; display: flex; direction: ltr; } .set-ph img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: var(--f-field); padding: 2px; box-shadow: var(--rim); margin-inline-end: -14px; } .set-ph img:last-child { margin-inline-end: 0; }
.set-card .tl { display: grid; gap: 2px; min-width: 0; } .set-card .tl small { color: var(--stone); font-weight: 500; font-size: 13px; } .set-card .tl small b { color: var(--ink); white-space: nowrap; } .set-card .tl small s { white-space: nowrap; } /* «300 ج» never breaks between the number and the «ج» */
.set-was { color: var(--stone); font-weight: 500; font-size: 13px; } .set-was s { text-decoration-thickness: 1px; }
.set-list { padding-bottom: 6px; } .set-list li span { flex: 1; min-width: 0; display: grid; } .set-list li small { color: var(--stone); font-size: 13px; } .set-n { flex: none; font-style: normal; color: var(--stone); font-weight: 600; }
.set-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 16px 16px; flex-wrap: wrap; } .set-sum { display: grid; gap: 2px; } .set-sum b { font-size: 1.15rem; }
.set-choice { display: flex; } .set-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer; box-shadow: var(--rim); transition: box-shadow .3s, background-color .3s; }
.set-pill small { color: var(--stone); font-weight: 500; } .set-pill[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink-2), var(--sh); }
.cline .set-tag { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--f-field); color: var(--stone); font-size: 11px; font-weight: 700; vertical-align: middle; }
.cline .set-pieces { display: grid; gap: 1px; color: var(--stone); } 
/* a cart line whose product is no longer sold: greyed picture, the plain warning under the name, its own remove button (R-site 3, 2026-12-01); the grid follows what the row holds */
.cline.gone img { filter: grayscale(1); opacity: .5; }
.cline.gone:not(:has(> img)) { grid-template-columns: 1fr auto; }
.cline.gone > button.link { min-width: 44px; min-height: 44px; justify-content: center; } /* the only control of an unavailable line: a full finger-size target */
/* a tick box inside a form took the text fields' full width and padding (the recipient block showed three wide empty boxes with the words squeezed beside them) */
label.check input[type=checkbox] { width: 20px; height: 20px; flex: none; margin: 2px 0 0; padding: 0; border-radius: 4px; background: none; box-shadow: none; accent-color: var(--ink-2); }
label.check { align-items: flex-start; min-height: 32px; line-height: 1.5; }
.cline.gone.sub:has(> img) { grid-template-columns: 44px 1fr auto; }

/* ---- Job B 2026-12-02: checkout gift / address guess, pay page options + actions ---- */
.gift-opts [data-gift-fields] { display: grid; gap: 8px; } .gift-opts [data-gift-fields][hidden], .ship-to[hidden], .guess-note[hidden] { display: none; }
.gift-opts .hint { margin: 0; } .ship-to { margin: 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--f-field); } .guess-note { margin: -4px 0 0; } .guess-note .link { min-height: 44px; display: inline-flex; align-items: center; }
.pay fieldset.methods { gap: 8px; }
.pm-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1), opacity .3s; opacity: 0; margin-top: -4px; }
.pm-panel.open { grid-template-rows: 1fr; opacity: 1; } .pm-panel > .pm-in { overflow: hidden; min-height: 0; display: grid; gap: 8px; } .pm-panel.open > .pm-in { padding-top: 4px; }
.pm-panel .paynum { margin-bottom: 0; } .pm-panel .btn.pm-link { min-height: 48px; text-decoration: none; }
.pay-actions { display: grid; gap: 10px; margin: 14px 0 6px; } .pay-actions .up-receipt, .pay-actions .btn { width: 100%; margin: 0; } .pay-actions .hint { margin: 0; text-align: center; } .pay-actions .hint:empty { display: none; }
.pay-bell { display: flex; justify-content: center; margin: 6px 0 12px; } .pay-bell .btn { width: auto; min-height: 44px; padding-inline: 18px; }
@media (prefers-reduced-motion: reduce) { .pm-panel { transition: none; } }
.acc-login { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--f-mist); margin-bottom: 14px; } .acc-login .acc-step { display: grid; gap: 10px; } .acc-login [hidden] { display: none; } .acc-login .hint { margin: 0; } .acc-login .link { min-height: 44px; justify-self: start; }
/* W9 (owner 2026-12-02): the box row starts at the edge — no empty gap before the first card; W1: dots under a card (3 at most, different colours) + the choice sheet */
.shape-flow { padding: 6px var(--gut, 16px) 18px; scroll-padding-inline: var(--gut, 16px); }
.shape-c { scroll-snap-align: start; }
@media (min-width: 700px) { .shape-flow { padding-inline: var(--gut, 16px); } }
.sp-dots { display: flex; justify-content: center; gap: 6px; min-height: 14px; } .sp-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .35), 0 1px 3px rgb(34 56 77 / .2); }
#shapesheet .ss-pic { display: grid; place-items: center; width: 100%; max-height: 220px; margin: 4px 0 6px; } #shapesheet .ss-pic img { max-height: 200px; width: auto; max-width: 70%; object-fit: contain; filter: drop-shadow(0 12px 14px rgb(34 56 77 / .2)); }
.ss-price { text-align: center; font-weight: 700; margin: 0 0 8px; } .ss-group { display: grid; gap: 8px; margin-bottom: 12px; } .ss-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-o { min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: var(--pill); background: var(--f-blue); box-shadow: var(--rim); color: var(--ink); font: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: box-shadow .2s, transform .3s var(--spring), opacity .2s; }
.ss-o.on { box-shadow: 0 0 0 2px var(--ink-2); transform: scale(1.04); } .ss-o.out { opacity: .42; } .ss-o.ss-c i { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 .5px rgb(34 56 77 / .35); }
#shapesheet .btn[disabled] { opacity: .45; }
@media (prefers-reduced-motion: reduce) { .ss-o { transition: none; } }
/* W8 (owner 2026-12-02): «هدية في دقيقة» — the occasion and «لمن» chips are ONE row each that scrolls sideways; the budget slider is an iPhone Liquid Glass one */
.finder-form .chips { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--gut, 16px)); padding: 4px var(--gut, 16px) 8px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.finder-form .chips::-webkit-scrollbar { display: none; } .finder-form .chip-r { position: relative; flex: none; scroll-snap-align: start; } .finder-form .chip-r span { min-height: 44px; padding-inline: 18px; }
.gl-range { --h: 34px; --thumb-w: 46px; --thumb-h: 30px; position: relative; padding: 38px 4px 8px; touch-action: pan-y; }
.gl-range input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: var(--h); margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.gl-range input[type=range]:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 4px; border-radius: 18px; }
.gl-range input[type=range]::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(var(--fill-dir, to right), rgb(120 170 220 / .85) calc(var(--gp) * 100%), rgb(34 56 77 / .13) calc(var(--gp) * 100%)); box-shadow: inset 0 1px 2px rgb(34 56 77 / .22), inset 0 0 0 .5px rgb(255 255 255 / .6); }
.gl-range input[type=range]::-moz-range-track { height: 12px; border-radius: 999px; background: rgb(34 56 77 / .13); box-shadow: inset 0 1px 2px rgb(34 56 77 / .22); }
.gl-range input[type=range]::-moz-range-progress { height: 12px; border-radius: 999px; background: rgb(120 170 220 / .85); }
.gl-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb-w); height: var(--thumb-h); margin-top: -9px; border-radius: 999px; border: 0;
  background: radial-gradient(120% 140% at 30% 15%, rgb(255 255 255 / .98), rgb(255 255 255 / .72) 55%, rgb(220 236 250 / .6)); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .95), inset 0 -2px 4px rgb(120 160 200 / .25), 0 0 0 .5px rgb(34 56 77 / .18), 0 8px 18px -6px rgb(34 56 77 / .45); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s; }
.gl-range input[type=range]::-moz-range-thumb { width: var(--thumb-w); height: var(--thumb-h); border-radius: 999px; border: 0; background: radial-gradient(120% 140% at 30% 15%, #fff, rgb(255 255 255 / .78) 55%, rgb(220 236 250 / .7)); box-shadow: inset 0 1px 1px #fff, 0 0 0 .5px rgb(34 56 77 / .18), 0 8px 18px -6px rgb(34 56 77 / .45); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.gl-range.touch input[type=range]::-webkit-slider-thumb { transform: scale(1.35, 1.3); box-shadow: inset 0 1px 1px #fff, inset 0 -3px 6px rgb(120 160 200 / .3), 0 0 0 .5px rgb(34 56 77 / .2), 0 14px 26px -8px rgb(34 56 77 / .5); }
.gl-range.touch input[type=range]::-moz-range-thumb { transform: scale(1.35, 1.3); }
[dir="rtl"] .gl-range { --fill-dir: to left; } [dir="ltr"] .gl-range { --fill-dir: to right; }
.gl-bubble { position: absolute; top: 2px; inset-inline-start: calc(4px + var(--thumb-w) / 2 + (100% - 8px - var(--thumb-w)) * var(--gp)); translate: -50% 0; display: grid; place-items: center; min-width: 56px; padding: 4px 12px; border-radius: 999px; font-size: 14px; color: var(--ink);
  background: rgb(255 255 255 / .62); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: var(--glass-rim, inset 0 0 0 .5px rgb(255 255 255 / .8)), 0 8px 20px -10px rgb(34 56 77 / .4); opacity: 0; transform: translateY(8px) scale(.85); transition: opacity .2s, transform .35s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
[dir="rtl"] .gl-bubble { translate: 50% 0; }
.gl-range.touch .gl-bubble { opacity: 1; transform: none; } .gl-val { margin: 2px 0 0; text-align: center; font-weight: 600; }
:root[data-theme="dark"] .gl-bubble { background: rgb(60 80 100 / .6); color: #fff; }
@media (prefers-reduced-motion: reduce) { .gl-range input[type=range]::-webkit-slider-thumb, .gl-bubble { transition: none; } .gl-range.touch input[type=range]::-webkit-slider-thumb { transform: none; } }
.finder-form fieldset { min-width: 0; } /* a fieldset is as wide as its widest content unless told otherwise: the one-row chips pushed the whole page wide */
.bstep .shape-flow { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } /* flush with the step's own text (the heading above), no extra gap */
.finder-form .chips { scroll-padding-inline: var(--gut, 16px); }
.gift-opts label.check { min-height: 44px; align-items: center; } /* a tick row is a full finger-size target */
/* product page recommendations (owner 2026-12-02): block 1 is a fixed 2-column grid (no sideways scroll), the last card of the third row is «عرض الكل» */
.recs .recs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .recs-grid > * { min-width: 0; }
.recs-all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 180px; border-radius: var(--r-lg, 18px); text-decoration: none; color: inherit; text-align: center; background: var(--surface); box-shadow: var(--rim), var(--sh); aspect-ratio: auto; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.recs-all .ic { width: 26px; height: 26px; } .recs-all b { font-size: .95rem; } .recs-all .ic:last-child { width: 18px; height: 18px; } [dir="rtl"] .recs-all .ic:last-child { transform: scaleX(-1); }
