/* ==========================================================================
   Bloom Atelier — MOBILE APP LAYER
   Loaded only on phones: <link media="(max-width: 760px)">.
   Turns the storefront into an app: tab bar, bottom sheets, stories,
   swipe galleries, one-tap add, page transitions, safe-area aware.
   ========================================================================== */

:root {
  --tab-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --app-pad: 18px;
  --header-h: 60px;
  --sheet-r: 28px;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .42s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

html { -webkit-tap-highlight-color: transparent; }
body { padding-bottom: calc(var(--tab-h) + 22px + var(--safe-b)); overscroll-behavior-y: none; }
.template-product { padding-bottom: calc(84px + var(--safe-b)); }
.container { padding-inline: var(--app-pad); }
.section { padding-block: 56px; }

.app-only { display: revert; }
.section-mobile-home { display: block; }
.template-index #MainContent > .shopify-section:not(.section-mobile-home),
.template-index #MainContent > section:not(.section-mobile-home) { display: none; }
.cursor, .petal-canvas, .mobile-nav, .burger { display: none !important; }

a, button { touch-action: manipulation; }
.app-card__add:active, .app-story:active, .app-cat:active, .tabbar__item:active, .app-chip:active, .sheet-tile:active, .emirate-opt:active { transform: scale(.94); }

/* ---------- Top app bar ---------- */
.announce__item { padding: 8px 16px; font-size: 9.5px; }
.site-header, .site-header.is-overlay { position: sticky; top: 0; color: var(--c-ink); background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
.site-header.is-overlay:not(.is-scrolled) .logo img { filter: none; }
.site-header.is-hidden { transform: none; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--c-line); }
.site-header__inner { display: flex; justify-content: space-between; height: var(--header-h); gap: 8px; }
.site-header__inner > div:first-child { display: none !important; }
.header-tools { gap: 8px; }
.header-tools [data-app-chat] { display: inline-grid; }
.wa-float { display: none; }
.logo { justify-items: start; }
.logo img { width: 128px; }
.header-tools [data-open="cart"], .header-tools .hide-sm { display: none; }
.site-header__inner { height: var(--header-h) !important; }
.site-header__nav { display: none; }
.header-tools .icon-btn, .header-tools .hdr-search { width: 40px; height: 40px; min-width: 0; padding: 0; justify-content: center; border-radius: 50%; background: var(--c-paper); border: 1px solid var(--c-line); }
.header-tools .hdr-search span, .header-tools .hdr-search kbd { display: none; }
.header-tools .icon-btn svg, .header-tools .hdr-search svg { width: 19px; height: 19px; }
.site-header.is-scrolled .logo img, .logo img { width: 128px; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b));
  height: var(--tab-h); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  padding: 0 6px; border-radius: 24px;
  background: color-mix(in srgb, var(--c-paper) 82%, transparent);
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid color-mix(in srgb, var(--c-ink) 8%, transparent);
  box-shadow: 0 18px 40px -18px rgba(30, 20, 22, .35), 0 2px 6px rgba(30, 20, 22, .06);
  transition: transform .5s var(--ease), opacity .4s;
}
.template-product .tabbar, body.is-locked .tabbar { transform: translateY(140%); opacity: 0; pointer-events: none; }
.tabbar__item { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 0; color: color-mix(in srgb, var(--c-ink) 55%, transparent); transition: color .3s, transform .2s; }
.tabbar__item svg { width: 23px; height: 23px; transition: transform .4s var(--ease); }
.tabbar__item span { font: 500 10px/1 var(--f-body); letter-spacing: .04em; }
.tabbar__item[aria-current="page"], .tabbar__item.is-active { color: var(--c-ink); }
.tabbar__item[aria-current="page"] svg, .tabbar__item.is-active svg { transform: translateY(-1px) scale(1.06); }
.tabbar__item[aria-current="page"] svg path, .tabbar__item.is-active svg path { fill: color-mix(in srgb, var(--c-accent) 12%, transparent); }
.tabbar__dot { position: absolute; bottom: 6px; left: 0; width: 18px; height: 3px; border-radius: 3px; background: var(--c-accent); transform: translateX(var(--x, -40px)); transition: transform .55s var(--ease); }
.tabbar__fab {
  justify-self: center; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--c-paper);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c-accent) 70%, #fff), var(--c-accent) 60%);
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--c-accent) 75%, transparent), 0 0 0 5px var(--c-bg);
  transition: transform .3s var(--ease);
}
.tabbar__fab svg { width: 26px; height: 26px; }
.tabbar__fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--c-accent); animation: fab-ring 2.8s var(--ease) infinite; pointer-events: none; }
.tabbar__fab { position: relative; }
.tabbar__fab:active { transform: scale(.9); }
@keyframes fab-ring { 0% { transform: scale(.9); opacity: .7; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.tabbar__badge { position: absolute; top: 3px; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--c-accent); color: var(--c-paper); font: 600 9.5px/17px var(--f-body); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--c-paper); }
.tabbar__badge[data-count="0"] { display: none; }
.tabbar__badge.is-bump { animation: bump .6s var(--ease); }

.wa-float { bottom: calc(var(--tab-h) + 22px + var(--safe-b)); right: 14px; height: 46px; padding: 0 12px; }
.wa-float svg { width: 21px; height: 21px; }
.template-product .wa-float { bottom: calc(96px + var(--safe-b)); }
.toast { bottom: calc(var(--tab-h) + 24px + var(--safe-b)); max-width: calc(100% - 32px); white-space: nowrap; }
.toast__link { margin-left: 6px; padding: 5px 12px; border-radius: 20px; background: var(--c-paper); color: var(--c-ink); font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Bottom sheets (all drawers become sheets) ---------- */
.drawer__panel {
  top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92svh;
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  transform: translateY(105%); transition: transform .6s cubic-bezier(.32, .72, 0, 1);
  box-shadow: 0 -20px 60px -20px rgba(30, 20, 22, .35);
  padding-bottom: var(--safe-b);
}
[dir="rtl"] .drawer__panel { left: 0; transform: translateY(105%); }
.drawer.is-open .drawer__panel { transform: translateY(var(--drag, 0px)); }
.drawer__panel.is-dragging { transition: none; }
.drawer__scrim { backdrop-filter: blur(2px); }
.sheet-handle { display: block; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 42px; height: 5px; border-radius: 5px; background: color-mix(in srgb, var(--c-ink) 18%, transparent); z-index: 3; }
.drawer__head { padding: 22px var(--app-pad) 14px; border-bottom: 0; touch-action: none; cursor: grab; }
.drawer__head h2 { font-size: 28px; }
.drawer__head h2 em { color: var(--c-accent); }
.drawer__head .icon-btn { width: 36px; height: 36px; background: color-mix(in srgb, var(--c-ink) 6%, transparent); }
.drawer__head .icon-btn svg { width: 16px; height: 16px; }
.drawer__body { padding: 0 var(--app-pad) 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px var(--app-pad) calc(16px + var(--safe-b)); }
[data-cart-drawer] .drawer__panel { height: 92svh; }

.search-overlay { padding: 76px var(--app-pad) 30px; transform: translateY(30px); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.search-overlay.is-open { transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.search-overlay__close { top: 14px; right: 12px; }
.search-overlay input { font-size: 30px; }
.search-overlay .grid { --cols: 2; }

/* Shop sheet */
.app-search { display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; padding: 0 18px; border-radius: 16px; background: var(--c-paper); border: 1px solid var(--c-line); color: var(--c-muted); font-size: 14.5px; text-align: start; box-shadow: 0 6px 18px -14px rgba(30, 20, 22, .4); }
.app-search svg { width: 19px; height: 19px; color: var(--c-ink); }
.sheet-group { margin-top: 26px; }
.sheet-group__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sheet-group__head h3 { margin: 0; font: 400 24px/1 var(--f-display); }
.sheet-group__head a, .app-block__head a { font: 500 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.sheet-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.sheet-tile { display: grid; justify-items: center; gap: 8px; font-size: 12.5px; text-align: center; transition: transform .2s; }
.sheet-tile__img { width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: linear-gradient(145deg, var(--c-blush), color-mix(in srgb, var(--c-blush) 40%, var(--c-paper))); }
.sheet-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--c-line); font: 400 22px/1 var(--f-display); }
.sheet-row svg { width: 18px; }
.sheet-contact { display: grid; gap: 10px; margin-top: 28px; }

/* Emirate picker */
.emirate-list { display: grid; gap: 8px; padding-top: 4px; }
.emirate-opt { display: grid; grid-template-columns: 22px 1fr auto 24px; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 18px; background: var(--c-paper); border: 1px solid var(--c-line); text-align: start; transition: border-color .3s, background .3s, transform .2s; }
.emirate-opt > svg { width: 20px; height: 20px; color: var(--c-gold); }
.emirate-opt b { display: block; font: 400 21px/1.1 var(--f-display); }
.emirate-opt small { font-size: 12px; color: var(--c-muted); }
.emirate-opt em { font: 500 10.5px/1 var(--f-body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); }
.emirate-opt__check { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; color: transparent; transition: .3s; }
.emirate-opt__check svg { width: 14px; height: 14px; }
.emirate-opt[aria-pressed="true"] { border-color: var(--c-ink); }
.emirate-opt[aria-pressed="true"] .emirate-opt__check { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-paper); }

/* Finder in a sheet */
[data-finder-sheet] .finder__card { box-shadow: none; padding: 4px 0 10px; min-height: 0; background: none; }
.finder__q { font-size: 30px; }
.choices { grid-template-columns: 1fr 1fr; }
.choice { padding: 14px; font-size: 14px; }
.finder__picks { gap: 8px; }

/* Wishlist */
.wish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; padding-top: 6px; }
.wish-empty { grid-column: 1 / -1; text-align: center; padding: 40px 10px; color: var(--c-muted); }
.wish-empty svg { width: 54px; margin: 0 auto 14px; color: var(--c-blush); }

/* ---------- App home ---------- */
.app-home { padding: 14px var(--app-pad) 10px; display: grid; gap: 22px; }
.app-hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.app-hello__greet { margin: 0 0 8px; font: 400 30px/1 var(--f-display); letter-spacing: -.01em; }
.app-hello__greet em { color: var(--c-accent); }
.app-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 10px; border-radius: 40px; background: var(--c-paper); border: 1px solid var(--c-line); font-size: 12.5px; transition: transform .2s; }
.app-chip svg { width: 15px; height: 15px; }
.app-chip--loc > svg:first-child { color: var(--c-accent); }
.app-chip b { font-weight: 600; }
.app-cutoff { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 16px; background: var(--c-ink); color: var(--c-bg); flex: none; }
.app-cutoff small { display: block; font: 500 8.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.app-cutoff b { display: flex; font: 500 17px/1 var(--f-body); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.app-cutoff b small { display: inline; font-size: 9px; margin: 0 4px 0 1px; align-self: end; letter-spacing: 0; text-transform: none; }

.app-stories { display: flex; gap: 14px; overflow-x: auto; margin-inline: calc(-1 * var(--app-pad)); padding: 2px var(--app-pad) 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.app-stories::-webkit-scrollbar { display: none; }
.app-story { flex: none; display: grid; justify-items: center; gap: 7px; width: 72px; scroll-snap-align: start; transition: transform .2s; }
.app-story__ring { width: 72px; height: 72px; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, var(--c-gold), var(--c-accent), #E8A0A8, var(--c-gold)); transition: background .4s; }
.app-story.is-seen .app-story__ring { background: color-mix(in srgb, var(--c-ink) 15%, transparent); }
.app-story__img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid var(--c-bg); background: var(--c-blush); }
.app-story__img img { width: 100%; height: 100%; object-fit: cover; }
.app-story__label { font-size: 11.5px; white-space: nowrap; max-width: 76px; overflow: hidden; text-overflow: ellipsis; }

.app-carousel { margin-inline: calc(-1 * var(--app-pad)); }
.app-carousel__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--app-pad); scrollbar-width: none; }
.app-carousel__track::-webkit-scrollbar { display: none; }
.app-promo { position: relative; flex: 0 0 calc(100% - 24px); aspect-ratio: 5 / 6; border-radius: 28px; overflow: hidden; scroll-snap-align: center; color: var(--c-paper); isolation: isolate; background: var(--tint); box-shadow: 0 24px 40px -28px rgba(30, 20, 22, .6); }
.app-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 6s linear; }
.app-promo.is-current img { transform: scale(1); }
.app-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--tint) 88%, transparent) 100%); }
.app-promo__copy { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.app-promo__copy small { font: 500 10px/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.app-promo__copy strong { font: 400 34px/1.02 var(--f-display); letter-spacing: -.01em; }
.app-promo__cta { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 6px; padding: 11px 18px; border-radius: 40px; background: var(--c-paper); color: var(--c-ink); font: 500 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; }
.app-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.app-dots button { width: 6px; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--c-ink) 20%, transparent); transition: width .5s var(--ease), background .3s; padding: 0; }
.app-dots button[aria-current="true"] { width: 22px; background: var(--c-ink); }

.app-trust { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--app-pad)); padding: 0 var(--app-pad); scrollbar-width: none; }
.app-trust::-webkit-scrollbar { display: none; }
.app-trust span { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--c-paper); border: 1px solid var(--c-line); font-size: 12px; }
.app-trust svg { width: 20px; height: 20px; color: var(--c-gold); }

.app-block { display: grid; gap: 14px; }
.app-block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.app-block__head h2 { margin: 0; font: 400 28px/1.05 var(--f-display); letter-spacing: -.01em; }
.app-block__head p { margin: 4px 0 0; font-size: 12.5px; color: var(--c-muted); }

.app-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.app-cat { display: grid; justify-items: center; gap: 8px; font-size: 12.5px; transition: transform .2s; }
.app-cat__img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(145deg, var(--c-blush), color-mix(in srgb, var(--c-blush) 40%, var(--c-paper))); box-shadow: inset 0 0 0 1px var(--c-line); }
.app-cat__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }

.app-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; margin-inline: calc(-1 * var(--app-pad)); padding: 2px var(--app-pad) 6px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--app-pad); scrollbar-width: none; }
.app-rail::-webkit-scrollbar { display: none; }
.app-rail > * { scroll-snap-align: start; }

.app-card { position: relative; display: grid; gap: 8px; }
.app-card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--c-blush) 45%, var(--c-paper)); }
.app-card__media img { width: 100%; height: 100%; object-fit: cover; }
.app-card__media .badge { position: absolute; top: 10px; left: 10px; padding: 5px 9px; font-size: 9px; }
.app-card__wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c-paper) 85%, transparent); backdrop-filter: blur(6px); }
.app-card__wish svg { width: 16px; height: 16px; }
.app-card__wish.is-on { color: var(--c-accent); }
.app-card__wish.is-on svg path { fill: currentColor; }
.app-card__info { display: grid; gap: 3px; padding-right: 44px; }
.app-card__title { font: 400 18px/1.1 var(--f-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-card__info .price { font-size: 12.5px; }
.app-card__add { position: absolute; right: 0; bottom: 2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ink); color: var(--c-paper); transition: background .3s, transform .2s; box-shadow: 0 8px 16px -8px rgba(30, 20, 22, .6); }
.app-card__add svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: transform .4s var(--ease), opacity .3s; }
.app-card__add svg:nth-child(2) { opacity: 0; transform: scale(.4) rotate(-30deg); }
.app-card__add.is-busy svg:first-child { transform: rotate(90deg) scale(.7); }
.app-card__add.is-done { background: #2E7D4F; }
.app-card__add.is-done svg:first-child { opacity: 0; transform: scale(.4); }
.app-card__add.is-done svg:nth-child(2) { opacity: 1; transform: none; }

.app-finder { display: grid; grid-template-columns: 64px 1fr 22px; align-items: center; gap: 14px; padding: 18px; border-radius: 24px; text-align: start; color: var(--c-paper); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c-accent) 75%, #E8A0A8), var(--c-accent) 55%, #4A0F19); box-shadow: 0 24px 40px -26px color-mix(in srgb, var(--c-accent) 90%, transparent); }
.app-finder__seal { width: 64px; height: 64px; color: var(--c-paper); animation: spin 22s linear infinite; }
.app-finder small { display: block; font: 500 9.5px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.app-finder strong { display: block; margin: 6px 0 4px; font: 400 23px/1.05 var(--f-display); }
.app-finder em { font-style: normal; font-size: 12.5px; opacity: .85; }
.app-finder > svg { width: 20px; }

.app-reviews .app-score { display: flex; align-items: center; gap: 10px; }
.app-score strong { font: 300 48px/1 var(--f-display); }
.app-score small { color: var(--c-muted); font-size: 12px; }
.app-rail--quotes { grid-auto-columns: 78%; }
.app-quote { margin: 0; padding: 18px; border-radius: 20px; background: var(--c-paper); border: 1px solid var(--c-line); display: grid; gap: 10px; }
.app-quote blockquote { margin: 0; font: 400 19px/1.25 var(--f-display); }
.app-quote figcaption { font-size: 12px; color: var(--c-muted); }

/* ---------- Story viewer ---------- */
.story-viewer { position: fixed; inset: 0; z-index: 400; background: #0D0809; color: #fff; display: block; touch-action: none; animation: story-in .45s cubic-bezier(.22, 1, .36, 1); }
.story-viewer[hidden] { display: none !important; }
@keyframes story-in { from { opacity: 0; transform: scale(.92); border-radius: 40px; } }
.story-viewer__stage { position: absolute; inset: 0; overflow: hidden; }
.story-viewer__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: story-zoom 6s linear forwards; }
@keyframes story-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.story-viewer__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%, transparent 55%, rgba(0, 0, 0, .7)); }
.story-viewer__caption { position: absolute; left: 22px; right: 22px; bottom: calc(110px + var(--safe-b)); z-index: 2; font: 400 34px/1.05 var(--f-display); animation: rise .8s .15s var(--ease) both; }
.story-viewer__bars { position: absolute; z-index: 3; top: calc(10px + env(safe-area-inset-top, 0px)); left: 10px; right: 10px; display: flex; gap: 4px; }
.story-viewer__bars span { flex: 1; height: 2.5px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.story-viewer__bars span i { display: block; height: 100%; width: 0; background: #fff; }
.story-viewer__bars span.is-done i { width: 100%; }
.story-viewer__top { position: absolute; z-index: 3; top: calc(22px + env(safe-area-inset-top, 0px)); left: 16px; right: 8px; display: flex; justify-content: space-between; align-items: center; font: 500 13px/1 var(--f-body); letter-spacing: .06em; }
.story-viewer__top .icon-btn { color: #fff; }
.story-viewer__nav { position: absolute; z-index: 2; top: 80px; bottom: 120px; width: 34%; }
.story-viewer__nav--prev { left: 0; }
.story-viewer__nav--next { right: 0; width: 66%; }
.story-viewer__cta { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: calc(34px + var(--safe-b)); }
.story-viewer__cta .btn { width: 100%; }

/* ---------- Fly to bag ---------- */
.fly { position: fixed; z-index: 500; pointer-events: none; border-radius: 50%; object-fit: cover; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }

/* ---------- Collection & cards on mobile ---------- */
.coll-hero { padding-block: 28px 22px; }
.coll-hero__media { width: 62%; margin-bottom: 18px; }
.coll-hero .display { font-size: 46px; }
.toolbar { top: var(--header-h); margin-inline: calc(-1 * var(--app-pad)); padding: 10px var(--app-pad); margin-bottom: 20px; }
.grid-toggle { display: none; }
.toolbar { flex-wrap: wrap; gap: 10px; }
.toolbar__filters { flex: 1 1 100%; order: 2; margin-inline: calc(-1 * var(--app-pad)); padding-inline: var(--app-pad); }
.toolbar__filters .chip { flex: none; }
.toolbar > div:last-child { order: 1; margin-left: auto; }
.toolbar select { padding-block: 8px; font-size: 12.5px; }
.grid, [data-coll-grid] { --cols: 2 !important; gap: 22px 12px; }
.card { gap: 10px; }
.card__title { font-size: 18px; }
.card__badges { top: 10px; left: 10px; }
.card--arch .card__badges { top: 10px; bottom: auto; }
.badge { padding: 5px 9px; font-size: 9px; }
.card__wish { width: 34px; height: 34px; top: 8px; right: 8px; }
.card__quick { display: block; left: auto; right: 8px; bottom: 8px; transform: none; }
.card__quick .btn { width: 40px; min-height: 40px; padding: 0; font-size: 0; gap: 0; border-radius: 50%; --b: var(--c-paper); box-shadow: 0 8px 16px -8px rgba(30, 20, 22, .5); }
.card__quick .btn svg { width: 18px; height: 18px; }
.card__quick .btn .arrow { width: 16px; }
.card__meta .price { font-size: 12.5px; }

/* ---------- Product page as an app screen ---------- */
.pdp { padding-top: 0; }
.crumbs { display: none; }
.pdp__grid { gap: 0; }
.gallery { margin-inline: calc(-1 * var(--app-pad)); position: relative; top: 0; display: block; }
.gallery__thumbs { display: none; }
.gallery__stage { display: flex; aspect-ratio: 4 / 5; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: default; clip-path: none !important; }
.gallery__stage::-webkit-scrollbar { display: none; }
.gallery__stage img { position: relative; flex: 0 0 100%; opacity: 1 !important; scroll-snap-align: center; transform: none !important; }
.gallery__hint { display: none; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 42px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: width .4s var(--ease), background .3s; }
.gallery__dots span.is-on { width: 20px; background: #fff; }
.pdp-fabs { position: fixed; z-index: 30; top: calc(var(--header-h) + 46px); left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; transition: opacity .3s; }
.pdp-fabs.is-hidden { opacity: 0; }
.pdp-fabs > div { display: flex; gap: 8px; }
.pdp-fabs button { pointer-events: auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c-paper) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.pdp-fabs svg { width: 19px; height: 19px; }
.pdp-fabs .is-on { color: var(--c-accent); }
.pdp-fabs .is-on svg path { fill: currentColor; }
.pdp__info { position: relative; z-index: 2; margin: -28px calc(-1 * var(--app-pad)) 0; padding: 26px var(--app-pad) 10px; background: var(--c-bg); border-radius: 28px 28px 0 0; gap: 22px; }
.pdp__info::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 38px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--c-ink) 14%, transparent); }
.pdp__title { font-size: 38px; }
.pdp__price { font-size: 26px; }
.pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--app-pad)); padding-inline: var(--app-pad); scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill span { min-width: 104px; }
.dates { margin-inline: calc(-1 * var(--app-pad)); padding-inline: var(--app-pad); grid-auto-columns: 64px; }
.addons { grid-template-columns: repeat(3, 1fr); }
.pdp__buy { display: none; }
.pdp__assure { gap: 6px; }
.pdp__assure div { font-size: 11px; padding: 12px 4px; }
.sticky-atc { transform: none; padding-bottom: var(--safe-b); border-radius: 22px 22px 0 0; box-shadow: 0 -14px 40px -24px rgba(30, 20, 22, .5); }
.sticky-atc__inner { padding-block: 12px; gap: 12px; }
.sticky-atc img { display: none; }
.sticky-atc__title { display: grid; gap: 2px; font: 400 15px/1.1 var(--f-display); }
.sticky-atc__title small { font: 500 9.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.sticky-atc__title b { font: 500 17px/1 var(--f-body); }
.sticky-atc .btn { flex: 1; min-height: 52px; }

/* ---------- Footer, newsletter, pages ---------- */
.site-footer { padding-top: 48px; }
.footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.footer__mark { font-size: 15vw; margin-top: 40px; }
.footer__bottom { flex-direction: column; gap: 12px; }
.newsletter { margin-inline: var(--app-pad); border-radius: 28px; padding: 36px 22px; }
.page-hero { padding-block: 40px 24px; }
.page-hero .display { font-size: 44px; }
.cart-page aside { position: static !important; }
