/* =========================================================
   West Pets — modern storefront
   ========================================================= */
:root {
  --brand: #1769d1;
  --brand-600: #0f56b3;
  --brand-50: #eaf2fd;
  --pink: #ff4f9a;
  --accent: #ff6a2b;
  --accent-2: #ff3d6e;
  --price: #e8442e;
  --ok: #17a34a;

  --ink: #141a24;
  --ink-2: #4a5466;
  --ink-3: #8a94a6;
  --line: #e8ebf1;
  --bg: #f4f6f9;
  --card: #ffffff;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 36, .06);
  --shadow: 0 6px 24px -8px rgba(20, 26, 36, .14);
  --shadow-lg: 0 24px 60px -18px rgba(20, 26, 36, .32);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --header-h: 140px; /* updated by JS */
  --sticky-top: calc(var(--header-h) + 16px);
  --container: 1280px;
  --wp-chat-panel-bottom: 92px; /* AgentDock panel sits above the chat button */
  --gutter: 24px;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--sticky-top); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
svg.lucide { width: 1.15em; height: 1.15em; stroke-width: 2; flex-shrink: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(23, 105, 209, .6); }
.btn--primary:hover { background: var(--brand-600); }
.btn--accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 70, 70, .7); }
.btn--accent:hover { box-shadow: 0 10px 24px -8px rgba(255, 70, 70, .85); transform: translateY(-1px); }
.btn--ghost { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--glass { background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, .28); }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 14px; font-size: .85rem; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

.badge {
  position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent-2); color: #fff; font-size: .7rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff;
}
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.chip:hover, .chip.is-active { background: var(--brand-50); border-color: var(--brand); color: var(--brand); }
.chip svg.lucide { width: 14px; height: 14px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), var(--brand)); }

/* ---------- Topbar ---------- */
.topbar { background: #0f1724; color: #c8d1e0; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar__ticker { position: relative; height: 36px; overflow: hidden; flex: 1; }
.topbar__ticker > span { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(100%); transition: all .5s var(--ease); }
.topbar__ticker > span.is-on { opacity: 1; transform: none; }
.topbar__ticker > span.is-off { opacity: 0; transform: translateY(-100%); }
.topbar__ticker svg { color: #7fb2ff; }
.topbar__msg { min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; } /* narrow phones: at most 2 lines */
.topbar__links { display: flex; gap: 20px; align-items: center; }
.topbar__links a:hover { color: #fff; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 30px -14px rgba(20, 26, 36, .25); }
.header__inner { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 12px; transition: padding .3s var(--ease); }
.header.is-compact .header__inner { padding-top: 10px; padding-bottom: 10px; }
.header__menu { display: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark { width: 44px; height: 44px; transition: transform .4s var(--ease), width .3s, height .3s; }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.header.is-compact .logo__mark { width: 36px; height: 36px; }
.logo__text { display: flex; flex-wrap: wrap; align-items: baseline; line-height: 1; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.logo__text b { color: var(--pink); }
.logo__text em { font-style: normal; color: var(--brand); }
.logo__text small { flex-basis: 100%; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; transition: opacity .2s, height .3s; }
.header.is-compact .logo__text small { opacity: 0; height: 0; margin: 0; }
.logo--light .logo__text small { color: #8ea0bb; }

/* Search */
.search { position: relative; flex: 1; max-width: 640px; }
.search__form { position: relative; display: flex; align-items: center; height: 48px; border: 2px solid var(--brand); border-radius: 999px; background: #fff; padding-left: 44px; transition: box-shadow .2s; }
.search__form:focus-within { box-shadow: 0 0 0 5px rgba(23, 105, 209, .14); }
.search__icon { position: absolute; left: 16px; color: var(--ink-3); }
.search__form input { flex: 1; border: 0; outline: 0; background: transparent; height: 100%; min-width: 0; font-size: .95rem; }
.search__form input::-webkit-search-cancel-button { display: none; }
.search__kbd { font: 600 .75rem/1 inherit; padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-3); margin-right: 8px; }
.search__submit { height: 40px; margin-right: 2px; }
.search__hot { display: flex; gap: 14px; margin: 6px 0 0 20px; font-size: .78rem; color: var(--ink-3); overflow: hidden; height: 18px; transition: height .3s var(--ease), opacity .2s, margin .3s; }
.search__hot button:hover { color: var(--brand); }
.search__hot button:first-of-type { color: var(--accent); font-weight: 600; }
.header.is-compact .search__hot { height: 0; opacity: 0; margin-top: 0; }
.search__panel { position: absolute; top: 54px; left: 0; right: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; z-index: 5; animation: pop .2s var(--ease); }
.search__panel .sp-head { padding: 8px 10px; font-size: .75rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.sp-item { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; }
.sp-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.sp-item b { display: block; font-size: .88rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sp-item span { font-size: .82rem; color: var(--price); font-weight: 700; }
.sp-item mark { background: #fff1b8; color: inherit; border-radius: 3px; }
.sp-item.is-active, .sp-item:hover { background: var(--bg); }
.sp-empty { padding: 16px 10px; color: var(--ink-3); font-size: .9rem; }
.sp-all { display: block; width: 100%; text-align: center; padding: 10px; font-weight: 700; color: var(--brand); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 6px; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Actions */
.header__actions { display: flex; gap: 6px; margin-left: auto; }
.action { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: background .2s; }
.action:hover { background: var(--bg); }
.action svg.lucide { width: 22px; height: 22px; }
.action .badge { top: 4px; right: auto; left: 26px; }
.action__label { display: grid; line-height: 1.1; }
.action__label b { font-size: .75rem; color: var(--price); font-weight: 700; }
.action--cart { background: var(--brand-50); color: var(--brand); }
.action--cart:hover { background: #dbe8fb; }

/* Category nav */
.catnav { border-top: 1px solid var(--line); }
.catnav__inner { display: flex; align-items: center; height: 48px; gap: 8px; }
.catnav__all { position: relative; height: 100%; }
.catnav__allbtn { height: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; border-radius: 12px 12px 0 0; margin-top: 0; }
.catnav__allbtn .chev { transition: transform .25s; width: 16px; }
.catnav__allbtn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.catnav__track { position: relative; flex: 1; height: 100%; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.catnav__track::-webkit-scrollbar { display: none; }
.catnav__list { display: flex; height: 100%; }
.catnav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; height: 100%; font-weight: 600; font-size: .9rem; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.catnav__link svg.lucide { width: 17px; height: 17px; opacity: .7; }
.catnav__link:hover, .catnav__link.is-active { color: var(--brand); }
.catnav__link.is-active svg.lucide { opacity: 1; }
.catnav__ink { position: absolute; bottom: 0; left: 0; height: 3px; width: 0; border-radius: 3px 3px 0 0; background: var(--brand); transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; opacity: 0; }
.catnav__deal { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--accent); padding: 0 12px; height: 34px; border-radius: 999px; background: #fff2eb; white-space: nowrap; }
.catnav__deal:hover { background: #ffe5d8; }

.mega { position: absolute; top: 100%; left: 0; width: min(900px, 90vw); background: #fff; border-radius: 0 var(--r) var(--r) var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; z-index: 10; animation: pop .2s var(--ease); }
.mega a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); transition: background .2s; }
.mega a:hover { background: var(--bg); }
.mega__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.mega b { display: block; font-size: .9rem; }
.mega small { color: var(--ink-3); font-size: .78rem; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 230px 1fr 260px; gap: 16px; margin-top: 16px; }
.hero__menu { position: relative; padding: 8px; }
.hero__menu li a { display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 44px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.hero__menu li a .count { margin-left: auto; font-size: .75rem; color: var(--ink-3); font-weight: 500; }
.hero__menu li a svg.lucide { color: var(--brand); width: 18px; height: 18px; }
.hero__menu li a.is-hover, .hero__menu li a:hover { background: var(--brand-50); color: var(--brand); }
.flyout { position: absolute; top: 0; left: calc(100% + 8px); width: 620px; min-height: 100%; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px; z-index: 20; animation: slideIn .2s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-8px); } }
.flyout__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.flyout__head h4 { font-size: 1.05rem; }
.flyout__head a { font-size: .85rem; font-weight: 700; color: var(--brand); }
.flyout__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flyout__item { cursor: pointer; border-radius: 12px; padding: 8px; transition: background .15s; }
.flyout__item:hover { background: var(--bg); }
.flyout__item img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--bg); width: 100%; }
.flyout__item b { display: block; font-size: .8rem; font-weight: 600; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flyout__item span { color: var(--price); font-weight: 800; font-size: .85rem; }

.carousel { position: relative; overflow: hidden; min-height: 400px; border: 0; }
.carousel__track { display: flex; height: 100%; transition: transform .7s var(--ease); }
.slide { position: relative; flex: 0 0 100%; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 12px; padding: 40px 48px; overflow: hidden; color: #fff; }
.slide--sunset { background: radial-gradient(120% 120% at 100% 0%, #ffb36b 0%, #ff6a2b 40%, #e5355f 100%); }
.slide--meadow { background: radial-gradient(120% 120% at 100% 0%, #9be37a 0%, #2fb37a 45%, #137a6a 100%); }
.slide--berry { background: radial-gradient(120% 120% at 100% 0%, #ff9ccc 0%, #c04fd6 45%, #4b3cc9 100%); }
.slide::before { content: ''; position: absolute; width: 420px; height: 420px; right: -80px; bottom: -160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.slide__copy { position: relative; z-index: 1; }
.slide__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px); }
.slide h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 800; margin: 14px 0 10px; letter-spacing: -.03em; }
.slide p { opacity: .92; max-width: 34ch; }
.slide__price { margin: 18px 0 22px; font-size: 1rem; font-weight: 600; }
.slide__price b { font-size: 2rem; font-weight: 800; }
.slide__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.slide__ctas .btn--ghost { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .5); color: #fff; }
.slide__ctas .btn--ghost:hover { background: rgba(255, 255, 255, .28); }
.slide__media { position: relative; z-index: 1; will-change: transform; }
.slide__media img { width: 100%; max-width: 340px; margin-left: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); transform: rotate(3deg); transition: transform .8s var(--ease); }
.slide.is-active .slide__media img { transform: rotate(-2deg); }
.slide .slide__copy > * { opacity: 0; transform: translateY(14px); transition: all .6s var(--ease); }
.slide.is-active .slide__copy > * { opacity: 1; transform: none; }
.slide.is-active .slide__copy > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide__copy > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide__copy > *:nth-child(4) { transition-delay: .24s; }
.slide.is-active .slide__copy > *:nth-child(5) { transition-delay: .32s; }
.carousel__nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .25); color: #fff; display: grid; place-items: center; opacity: 0; transition: all .25s; backdrop-filter: blur(6px); z-index: 2; }
.carousel:hover .carousel__nav { opacity: 1; }
.carousel__nav:hover { background: rgba(255, 255, 255, .45); }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }
.carousel__dots { position: absolute; left: 48px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.carousel__dot { position: relative; width: 28px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.carousel__dot span { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.carousel__dot.is-active { width: 48px; transition: width .3s var(--ease); }
.carousel__dot.is-active span { animation: dotFill var(--slide-ms, 5500ms) linear forwards; }
.carousel.is-paused .carousel__dot.is-active span { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

.hero__side { display: grid; gap: 16px; grid-template-rows: auto 1fr; }
.welcome { padding: 20px; text-align: center; background: linear-gradient(180deg, var(--brand-50), #fff 60%); }
.welcome__avatar { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--brand)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 4px #fff; }
.welcome h3 { font-size: 1rem; }
.welcome p { font-size: .82rem; color: var(--ink-3); margin: 4px 0 14px; }
.welcome__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.welcome__btns .btn { height: 38px; font-size: .85rem; padding: 0 10px; }
.welcome__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.welcome__stats button, .welcome__stats a { display: grid; font-size: .72rem; color: var(--ink-3); }
.welcome__avatar svg.lucide { width: 26px; height: 26px; }
.welcome__stats b { font-size: 1.05rem; color: var(--ink); }
.perks { padding: 18px; }
.perks h3 { font-size: .9rem; margin-bottom: 12px; }
.perks li { display: flex; gap: 10px; font-size: .8rem; color: var(--ink-2); padding: 8px 0; }
.perks li + li { border-top: 1px solid var(--line); }
.perks li svg { color: var(--ok); margin-top: 2px; }
.perks b { color: var(--ink); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.service { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.service:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service > svg.lucide { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.service b { display: block; font-size: .92rem; }
.service span { font-size: .8rem; color: var(--ink-3); }

/* ---------- Blocks ---------- */
.block { margin-top: 48px; }
.block__head { margin-bottom: 20px; }
.block__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.block__head h2 { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.block__head h2 svg.lucide { color: var(--accent); }
.block__head p { color: var(--ink-3); margin-top: 6px; }

.cat-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cat-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; border-radius: var(--r-lg); background: var(--tint, #fff); text-align: center; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-tile__img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .3); }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile__img img { transform: scale(1.12); }
.cat-tile b { font-size: .88rem; }
.cat-tile small { font-size: .74rem; color: var(--ink-3); margin-top: -8px; }

/* Rail */
.rail-ctrl { display: flex; gap: 8px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.rail > .pcard { flex: 0 0 236px; scroll-snap-align: start; }
.rail-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; max-width: 240px; margin: 4px auto 0; }
.rail-progress span { display: block; height: 100%; width: 30%; border-radius: 4px; background: var(--brand); transition: transform .1s linear; }

/* ---------- Product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__media { position: relative; aspect-ratio: 1; background: var(--bg); overflow: hidden; cursor: pointer; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.pcard__media img.alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard:hover .pcard__media img.alt { opacity: 1; }
.pcard__media img.is-loading { opacity: 0; }
.pcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%) var(--bg); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; z-index: -1; }
.pcard__media.loaded::after { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pcard__tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .02em; }
.tag--special { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.tag--feat { background: rgba(255, 255, 255, .92); color: var(--brand); }
.pcard__fav { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink-2); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), color .2s; }
.pcard__fav:hover { transform: scale(1.1); color: var(--accent-2); }
.pcard__fav.is-on { color: var(--accent-2); }
.pcard__fav.is-on svg { fill: currentColor; }
.pcard__fav.pulse { animation: bump .45s var(--ease); }
.pcard__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; gap: 8px; opacity: 0; transform: translateY(10px); transition: all .3s var(--ease); }
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: none; }
.pcard__quick .btn { flex: 1; height: 38px; font-size: .82rem; padding: 0 10px; background: rgba(255, 255, 255, .95); color: var(--ink); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.pcard__quick .btn:hover { color: var(--brand); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.pcard__cat { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pcard__name { font-size: .9rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; cursor: pointer; }
.pcard__name:hover { color: var(--brand); }
.pcard__meta { display: flex; flex-wrap: nowrap; overflow: hidden; gap: 6px; min-height: 20px; font-size: .72rem; color: var(--ink-2); }
.pcard__meta span { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 5px; background: var(--bg); }
.pcard__meta svg.lucide { width: 12px; height: 12px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.price { color: var(--price); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.price small { font-size: .7em; font-weight: 700; margin-right: 1px; }
.add-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; transition: transform .2s var(--ease), background .2s; box-shadow: 0 6px 14px -6px rgba(23, 105, 209, .7); }
.add-btn:hover { background: var(--brand-600); transform: scale(1.08) rotate(90deg); }
.add-btn.is-done { background: var(--ok); }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 48px; align-items: start; }
.side { position: sticky; top: var(--sticky-top); transition: top .3s var(--ease); }
.side__inner { padding: 18px; max-height: calc(100vh - var(--sticky-top) - 16px); overflow: auto; scrollbar-width: thin; }
.side__title { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.side__group { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.side__list { position: relative; display: grid; gap: 2px; }
.side__list::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.side__link { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.side__link:hover { background: var(--bg); }
.side__dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); flex-shrink: 0; }
.side__dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: all .3s; }
.side__link .count { margin-left: auto; font-size: .75rem; color: var(--ink-3); font-weight: 600; background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.side__link.is-passed .side__dot { border-color: var(--brand); }
.side__link.is-passed .side__dot::after { background: var(--brand); }
.side__link.is-active { color: var(--brand); background: var(--brand-50); }
.side__link.is-active .side__dot { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px rgba(23, 105, 209, .18); }
.side__link.is-active .side__dot::after { background: #fff; }
.side__link.is-active .count { background: #fff; color: var(--brand); }
.side__link.is-empty { opacity: .4; }
.side__bar { position: absolute; left: 17px; top: 18px; width: 2px; height: 0; background: var(--brand); transition: height .15s linear; }

.range { position: relative; height: 28px; }
.range__track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--line); }
.range__fill { position: absolute; top: 0; height: 100%; background: var(--brand); border-radius: 4px; }
.range input { position: absolute; inset: 0; width: 100%; appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; margin: 0; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: var(--shadow-sm); cursor: grab; }
.range input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: grab; }
.range__vals { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; margin: 4px 0 12px; }
.chips--quick .chip { height: 28px; font-size: .76rem; }

.switch { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line); transition: background .2s; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--accent); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid rgba(23, 105, 209, .4); }

.toolbar { position: sticky; top: var(--sticky-top); z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; margin-bottom: 20px; transition: top .3s var(--ease), box-shadow .3s; }
.toolbar.is-stuck { box-shadow: var(--shadow); }
.toolbar__left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.toolbar__count { font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
.toolbar__count b { color: var(--ink); }
.toolbar__right { display: flex; align-items: center; gap: 10px; }
.toolbar__filter { display: none; height: 40px; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; height: 40px; padding: 0 38px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .86rem; cursor: pointer; }
.select select:hover { border-color: var(--brand); }
.select svg.lucide { position: absolute; right: 14px; pointer-events: none; width: 16px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.seg__btn { width: 36px; height: 32px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-3); transition: all .2s; }
.seg__btn.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.section { margin-bottom: 36px; scroll-margin-top: calc(var(--sticky-top) + 72px); }
.section__head { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--tint); margin-bottom: 16px; overflow: hidden; }
.section__icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.section__icon svg.lucide { width: 24px; height: 24px; }
.section__head h2 { font-size: 1.3rem; font-weight: 800; }
.section__head p { font-size: .85rem; color: var(--ink-2); }
.section__count { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--ink-2); background: rgba(255, 255, 255, .7); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.section__head::after { content: ''; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 16px; }
.grid.is-list { grid-template-columns: 1fr; }
.grid.is-list .pcard { flex-direction: row; }
.grid.is-list .pcard__media { width: 220px; flex-shrink: 0; }
.grid.is-list .pcard__body { padding: 18px 20px; }
.grid.is-list .pcard__meta { flex-wrap: wrap; }
.grid.is-list .pcard__name { font-size: 1.05rem; -webkit-line-clamp: 2; min-height: 0; }
.grid.is-list .pcard__specs { display: block; }
.pcard__specs { display: none; font-size: .82rem; color: var(--ink-2); }
.pcard__specs li { padding: 2px 0 2px 14px; position: relative; }
.pcard__specs li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.section__more { display: flex; justify-content: center; margin-top: 16px; }

.empty { text-align: center; padding: 60px 20px; }
.empty > svg.lucide { width: 48px; height: 48px; color: var(--ink-3); margin-bottom: 10px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--ink-3); margin-bottom: 18px; }

/* ---------- Stats ---------- */
.stats { margin-top: 56px; background: linear-gradient(120deg, #0f1f3d, #1769d1 60%, #5b4bdb); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 200px at var(--mx, 30%) 0%, rgba(255, 255, 255, .18), transparent); }
.stats__inner { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { opacity: .8; font-size: .9rem; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 48px; }
.visit__info { padding: 32px; background: linear-gradient(135deg, #fff 55%, var(--brand-50)); }
.visit__info h2 { font-size: 1.7rem; font-weight: 800; margin: 8px 0 12px; }
.visit__info > p { color: var(--ink-2); max-width: 56ch; }
.visit__addr { display: flex; gap: 8px; align-items: center; margin-top: 16px !important; font-weight: 600; font-style: normal; }
.visit__addr svg { color: var(--accent); }
.visit__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.visit__hours { padding: 28px; }
.visit__hours h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 1.05rem; }
.visit__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.visit__hours li b { font-weight: 600; }
.visit__hours li.is-today { color: var(--brand); font-weight: 700; }
.visit__hours li.is-today b::after { content: 'Today'; margin-left: 8px; font-size: .68rem; padding: 2px 6px; border-radius: 5px; background: var(--brand); color: #fff; vertical-align: middle; }
.visit__hours li.is-closed span { color: var(--ink-3); }
.visit__hours .muted { font-size: .8rem; margin-top: 12px; }

/* ---------- Help page ---------- */
.page-hero { margin-top: 28px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-3); }
.crumbs a:hover { color: var(--brand); }
.crumbs svg.lucide { width: 14px; height: 14px; }
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-top: 10px; letter-spacing: -.02em; }
.page-hero > p { color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
.page-hero__links { margin-top: 18px; }
.page-help .visit { margin-top: 28px; }
.nav-drawer--help { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; }
.faq__list { padding: 6px 24px; }
.faq__item { border-bottom: 1px dashed var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-size: 1.2rem; font-weight: 600; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--brand); }
.faq__item p { padding: 0 44px 18px 0; color: var(--ink-2); max-width: 80ch; }

/* ---------- Follow band ---------- */
.follow { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; margin-top: 48px; padding: 36px 40px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--pink), #ff7a59); color: #fff; }
.follow h2 { font-size: 1.6rem; font-weight: 800; }
.follow p { opacity: .9; margin-top: 6px; }
.follow__ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- Footer ---------- */
.footer { background: #0f1724; color: #a9b4c7; margin-top: 64px; padding-top: 56px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand p { margin-top: 14px; max-width: 34ch; }
.footer__meta { font-size: .8rem; color: #6f7c93; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer li { padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { color: #7fb2ff; margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #1f2a3b; font-size: .8rem; color: #6f7c93; }
.pay-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-tags span { padding: 3px 8px; border: 1px solid #2a3850; border-radius: 6px; }

/* ---------- Floating tools ---------- */
.fab { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: grid; gap: 10px; }
/* Cart & back-to-top slide in after scrolling; the chat button is always visible */
.fab > .fab__btn:not(.fab__chat) { transform: translateX(90px); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .4s var(--ease), color .2s; }
.fab.is-visible > .fab__btn { transform: none; opacity: 1; pointer-events: auto; }
.fab__btn.fab__chat { width: 56px; height: 56px; justify-self: end; margin-right: -4px; background: linear-gradient(135deg, var(--brand), #5b4bdb); color: #fff; border: 0; box-shadow: 0 10px 24px -8px rgba(23, 105, 209, .7); animation: chatIn .5s var(--ease) both; }
.fab__btn.fab__chat:hover { color: #fff; transform: translateY(-2px) scale(1.04); }
.fab__chat svg.lucide { width: 26px; height: 26px; }
.fab__chat-ic { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .2s; }
.fab__chat-ic--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab__chat.is-open .fab__chat-ic--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.fab__chat.is-open .fab__chat-ic--close { opacity: 1; transform: none; }
.fab__chat::after { content: ''; position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.fab__chat.is-open::after { display: none; }
@keyframes chatIn { from { opacity: 0; transform: scale(.4); } }
.fab__btn { position: relative; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s var(--ease), color .2s; }
.fab__btn:hover { transform: translateY(-2px); color: var(--brand); }
.fab__top svg:not(.lucide) { position: absolute; inset: 2px; width: 44px; height: 44px; transform: rotate(-90deg); }
.fab__top .ring-bg { fill: none; stroke: var(--line); stroke-width: 3; }
.fab__top .ring { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15, 23, 36, .5); backdrop-filter: blur(2px); z-index: 300; opacity: 0; transition: opacity .3s; }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 310; display: flex; flex-direction: column; transition: transform .4s var(--ease), visibility 0s linear .4s; box-shadow: var(--shadow-lg); visibility: hidden; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.drawer__body { flex: 1; overflow: auto; padding: 12px 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fbfcfd; }

.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeIn .3s var(--ease); }
.cart-line img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--bg); cursor: pointer; }
.cart-line__name { font-size: .88rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-line__opt { font-size: .75rem; color: var(--ink-3); margin-top: 2px; }
.cart-line__row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-line__rm { font-size: .78rem; color: var(--ink-3); text-decoration: underline; margin-top: 6px; }
.cart-line__rm:hover { color: var(--price); }
.cart-line.is-removing { animation: fadeOut .25s forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(30px); } }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { color: var(--brand); }
.qty input { width: 34px; text-align: center; border: 0; outline: 0; font-weight: 700; font-size: .9rem; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--lg { height: 44px; }
.qty--lg button { width: 40px; }

.ship-opts { display: grid; gap: 8px; margin-bottom: 14px; }
.ship-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .86rem; transition: border-color .2s, background .2s; }
.ship-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.ship-opt input { accent-color: var(--brand); }
.ship-opt b { font-weight: 700; }
.ship-opt span { margin-left: auto; color: var(--ink-2); font-size: .8rem; }
.sum-row { display: flex; justify-content: space-between; font-size: .9rem; padding: 3px 0; color: var(--ink-2); }
.sum-row--total { font-size: 1.05rem; color: var(--ink); font-weight: 800; padding: 8px 0 14px; }
.sum-row--total b { color: var(--price); font-size: 1.3rem; }
.free-bar { font-size: .8rem; color: var(--ink-2); margin-bottom: 12px; }
.drawer-empty { text-align: center; padding: 60px 10px; color: var(--ink-3); }
.drawer-empty svg.lucide { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--line); }
.drawer-empty h4 { color: var(--ink); margin-bottom: 6px; }
.drawer-empty .btn { margin-top: 16px; }
.nav-drawer a { display: flex; align-items: center; gap: 12px; padding: 14px 6px; border-bottom: 1px solid var(--line); font-weight: 600; }
.nav-drawer a .count { margin-left: auto; color: var(--ink-3); font-size: .8rem; }
.nav-drawer a svg.lucide { color: var(--brand); }

.modal { position: fixed; inset: 0; z-index: 320; display: flex; flex-direction: column; align-items: center; padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.modal__box { position: relative; flex-shrink: 0; margin: auto 0; /* auto margins centre without clipping when taller than the viewport */ width: min(440px, 100%); background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); animation: modalIn .35s var(--ease); }
.modal__box--wide { width: min(980px, 100%); padding: 0; overflow: hidden; }
.modal.is-closing .modal__box { animation: modalOut .2s forwards; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal h3 { font-size: 1.3rem; margin-bottom: 4px; }

/* Quick view */
.qv { display: grid; grid-template-columns: 1.05fr 1fr; max-height: min(88vh, 720px); }
.qv__gallery { background: linear-gradient(180deg, #f7f9fc, #eef2f7); padding: 20px; display: grid; grid-template-rows: 1fr auto; gap: 12px; min-height: 0; }
.qv__main { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; min-height: 0; }

/* ---------- 3D product viewer (js/viewer3d.js) ---------- */
.v3d {
  --stage-top: #f7f9fc; --stage-bottom: #dfe5ee;
  position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate; cursor: grab; touch-action: pan-y;
  background: linear-gradient(180deg, var(--stage-top) 0%, #eef2f7 62%, var(--stage-bottom) 62.2%, #e9edf3 100%);
  user-select: none; -webkit-user-select: none; outline: none;
}
.v3d:focus-visible { box-shadow: inset 0 0 0 3px rgba(23, 105, 209, .45); }
.v3d.is-grabbing { cursor: grabbing; }
.v3d.is-zoom { cursor: zoom-out; }
.v3d img { -webkit-user-drag: none; pointer-events: none; }
.v3d__spot { position: absolute; inset: 0; z-index: 0; opacity: .85; pointer-events: none; }
.v3d__ambient { position: absolute; left: 18%; top: 14%; width: 64%; height: 64%; object-fit: cover; z-index: 0; filter: blur(46px) saturate(1.7); opacity: .5; transition: opacity .6s; pointer-events: none; }
.v3d__scene { position: absolute; inset: 0; z-index: 1; perspective: 1100px; perspective-origin: 50% 35%; }
.v3d__card {
  position: absolute; left: 14%; top: 7%; width: 72%; aspect-ratio: 1;
  padding: 2.6%; border-radius: 20px; background: linear-gradient(160deg, #ffffff, #f1f4f8);
  transform-style: preserve-3d; will-change: transform, box-shadow;
}
.v3d__photo { position: relative; width: 100%; height: 100%; border-radius: 13px; overflow: hidden; background: #f3f5f8; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 6px 18px -8px rgba(16,24,40,.35); will-change: transform; }
.v3d__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), opacity .3s, filter .3s; }
.v3d.is-loading .v3d__img { opacity: .35; filter: blur(4px); }
.v3d.is-zoom .v3d__img { transform: scale(1.9); }
.v3d__glare { position: absolute; inset: 0; mix-blend-mode: overlay; pointer-events: none; }
.v3d__sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.v3d__sheen::before { content: ''; position: absolute; top: -20%; bottom: -20%; width: 45%; left: 0; transform: translateX(-160%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); mix-blend-mode: soft-light; }
.v3d__sheen.is-on::before { animation: v3dSheen 1.15s cubic-bezier(.3,.6,.2,1) .15s both; }
@keyframes v3dSheen { from { transform: translateX(-160%) skewX(-18deg); } to { transform: translateX(320%) skewX(-18deg); } }
.v3d__rim { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.v3d__reflect { position: absolute; left: 14%; top: 79%; width: 72%; aspect-ratio: 1; transform-origin: 50% 0; opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 72%, #000 100%); mask-image: linear-gradient(180deg, transparent 72%, #000 100%); }
.v3d__reflect img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; padding: 2.6%; filter: blur(1.5px); }
.v3d__floor { position: absolute; left: 20%; right: 20%; top: 79.5%; height: 7%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(16,24,40,.38), rgba(16,24,40,0)); filter: blur(4px); pointer-events: none; }
.v3d__hud { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.v3d__badge { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, var(--brand), #5b4bdb); box-shadow: 0 4px 12px -4px rgba(23,105,209,.6); }
.v3d__hint { font-size: .72rem; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); padding: 3px 9px; border-radius: 999px; transition: opacity .4s; }
.v3d:hover .v3d__hint, .v3d.is-zoom .v3d__hint { opacity: 0; }
.v3d__count { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: .75rem; color: var(--ink-2); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.v3d__nav { position: absolute; top: 44%; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; color: var(--ink); background: rgba(255,255,255,.75); backdrop-filter: blur(8px); box-shadow: 0 6px 16px -8px rgba(16,24,40,.45); opacity: 0; transition: opacity .25s, transform .2s var(--ease); cursor: pointer; }
.v3d__nav--prev { left: 12px; } .v3d__nav--next { right: 12px; }
.v3d:hover .v3d__nav, .v3d:focus-within .v3d__nav { opacity: 1; }
.v3d__nav:hover { transform: scale(1.08); }
@media (hover: none) { .v3d__nav { opacity: 1; } }
.qv__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.qv__thumbs button { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .65; transition: all .2s; background: #fff; }
.qv__thumbs button.is-active, .qv__thumbs button:hover { border-color: var(--brand); opacity: 1; }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: 28px 28px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.qv__info h3 { font-size: 1.35rem; line-height: 1.3; padding-right: 40px; }
.qv__sub { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; }
.qv__sub span { padding: 3px 9px; border-radius: 6px; background: var(--bg); color: var(--ink-2); font-weight: 600; }
.qv__price { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; border-radius: var(--r); background: linear-gradient(90deg, #fff4ef, #fff); }
.qv__price .price { font-size: 2rem; }
.qv__price small { color: var(--ink-3); font-size: .8rem; }
.qv__specs { font-size: .86rem; color: var(--ink-2); display: grid; gap: 4px; }
.qv__specs li { padding-left: 16px; position: relative; }
.qv__specs li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.qv__opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .88rem; transition: border-color .2s, background .2s; }
.qv__opt:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.qv__opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.qv__opt span { margin-left: auto; font-weight: 700; }
.qv__buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qv__buy .btn { flex: 1; height: 48px; }
.qv__links { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-3); padding-top: 12px; border-top: 1px solid var(--line); }
.qv__links a:hover, .qv__links button:hover { color: var(--brand); }
.qv__links button { display: inline-flex; gap: 6px; align-items: center; }
.qv__links button.is-on { color: var(--accent-2); }
.qv__links button.is-on svg { fill: currentColor; }
.skeleton { background: linear-gradient(110deg, var(--bg) 30%, #fff 50%, var(--bg) 70%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 8px; }

/* Toasts */
.toasts { position: fixed; top: 20px; left: 50%; translate: -50% 0; z-index: 400; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #0f1724; color: #fff; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease); pointer-events: auto; }
.toast svg { color: #5ee08a; }
.toast.is-error svg { color: #ff8a7a; }
.toast button { color: #7fb2ff; font-weight: 700; margin-left: 8px; }
.toast.is-out { animation: toastOut .25s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* Fly to cart */
.fly { position: fixed; z-index: 500; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-lg); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.grid .pcard { animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 210px 1fr; }
  .hero__side { display: none; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .flyout { width: 480px; }
  .action__label { display: none; }
  .action .badge { left: auto; right: -2px; }
}

@media (max-width: 960px) {
  :root { --gutter: 16px; }
  .topbar__links a:not(.topbar__phone) { display: none; }
  .header__menu { display: inline-grid; }
  .header__inner { gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .logo__text small { display: none; }
  .logo__mark { width: 36px; height: 36px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search__hot, .search__kbd { display: none; }
  .search__form { height: 44px; }
  .search__submit { height: 36px; padding: 0 14px; }
  .header.is-compact .search { display: none; }
  .header.is-compact.is-search-open .search { display: block; }
  .catnav__all, .catnav__deal { display: none; }
  .catnav__inner { height: 44px; padding: 0; }
  .catnav__track { padding: 0 var(--gutter); }
  .hero { grid-template-columns: 1fr; margin-top: 12px; }
  .hero__menu { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service { padding: 14px; }
  .catalog { grid-template-columns: 1fr; }
  .side { position: fixed; inset: auto 0 0 0; top: auto; z-index: 315; transform: translateY(105%); transition: transform .4s var(--ease); }
  .side.is-open { transform: none; }
  .side__inner { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 78vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .toolbar__filter { display: inline-flex; }
  .toolbar__count { display: none; }
  .toolbar { padding: 8px; }
  .visit { grid-template-columns: 1fr; }
  .follow { grid-template-columns: 1fr; padding: 28px; }
  .follow__ctas { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .qv { grid-template-columns: 1fr; max-height: none; }
  .qv__main { aspect-ratio: 1; }

  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); transition: transform .35s var(--ease); }
  .tabbar.is-hidden { transform: translateY(100%); }
  .tabbar > * { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 0 6px; font-size: .68rem; font-weight: 600; color: var(--ink-3); }
  .tabbar > .is-active { color: var(--brand); }
  .tabbar svg.lucide { width: 22px; height: 22px; }
  .tabbar .badge { top: 2px; right: calc(50% - 22px); }
  .fab { bottom: 84px; right: 14px; }
  :root { --wp-chat-panel-bottom: 152px; }
  .fab__btn:not(.fab__top):not(.fab__chat) { display: none; }
  .footer { padding-bottom: 70px; }
}

@media (max-width: 640px) {
  .topbar__ticker { font-size: .74rem; }
  .carousel { min-height: 0; }
  .slide { grid-template-columns: 1fr; padding: 24px 22px 52px; }
  .slide__media { order: -1; }
  .slide__media img { max-width: 180px; margin: 0 auto; }
  .slide p { display: none; }
  .slide__price { margin: 10px 0 14px; }
  .carousel__dots { left: 22px; bottom: 18px; }
  .carousel__nav { display: none; }
  .services .service span { display: none; }
  .cat-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 116px; scroll-snap-align: start; }
  .cat-tile__img { width: 64px; height: 64px; }
  .block { margin-top: 36px; }
  .block__head h2 { font-size: 1.3rem; }
  .rail-ctrl { display: none; }
  .rail > .pcard { flex-basis: 168px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__body { padding: 10px; }
  .pcard__name { font-size: .82rem; }
  .pcard__meta { display: none; }
  .price { font-size: 1.05rem; }
  .add-btn { width: 34px; height: 34px; }
  .pcard__quick { display: none; }
  .grid.is-list .pcard__media { width: 120px; }
  .grid.is-list .pcard__specs { display: none; }
  .section__head { padding: 14px; }
  .section__head p, .section__count { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .seg { display: none; }
  .modal { padding: 0; }
  .modal__box { margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; width: 100%; }
  .qv__info { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.rail img, .carousel img { -webkit-user-drag: none; user-select: none; }
.carousel { touch-action: pan-y; }
@media (max-width: 960px) {
  .toolbar__left:has(.chips:empty) { display: none; }
  .toolbar__right { flex: 1; }
  .toolbar__filter { flex: 0 0 auto; }
  .toolbar__right .select { flex: 1; min-width: 0; }
  .toolbar__right .select select { width: 100%; }
}
.side__done { display: none; margin-top: 20px; }
@media (max-width: 960px) { .side__done { display: flex; } }

/* ---------- Real-time 3D model viewer (js/model3d.js, <model-viewer>) ---------- */
.tag--3d { background: linear-gradient(135deg, #0f1f3d, #5b4bdb); color: #fff; }
.tag--3d svg.lucide { width: 12px; height: 12px; }
.qv__modes { display: inline-flex; justify-self: start; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.qv__modes button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--ink-2); transition: all .2s var(--ease); }
.qv__modes button svg.lucide { width: 15px; height: 15px; }
.qv__modes button.is-active { background: var(--ink); color: #fff; }
.qv__gallery:has(.qv__modes) { grid-template-rows: auto 1fr auto; }

.m3d { position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 60% at 50% 30%, #ffffff 0%, #f1f4f8 55%, #e3e8ef 100%); }
.m3d__mv { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: transparent; background: transparent; outline: none; }
.m3d__status { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; font-size: .85rem; font-weight: 600; color: var(--ink-2); text-align: center; padding: 20px; }
.m3d__spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.m3d__progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; transition: opacity .4s .3s; }
.m3d__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--brand)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .2s; }
.m3d__progress.is-done { opacity: 0; }
.m3d__badge { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: .7rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .78); backdrop-filter: blur(8px); pointer-events: none; }
.m3d__badge span { display: inline-grid; place-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font-weight: 800; letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, #0f1f3d, #5b4bdb); }

.m3d__tools { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; z-index: 2; display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 10px 30px -12px rgba(16, 24, 40, .4); border: 1px solid rgba(255, 255, 255, .9); }
.m3d__tools button { display: grid; justify-items: center; gap: 2px; min-width: 52px; padding: 6px 8px 5px; border-radius: 10px; font-size: .66rem; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s; }
.m3d__tools button svg { width: 18px; height: 18px; }
.m3d__tools button:hover { background: var(--bg); color: var(--ink); }
.m3d__tools button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.m3d__ar { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; background: var(--brand); box-shadow: 0 6px 16px -6px rgba(23, 105, 209, .7); }
.m3d__ar svg { width: 16px; height: 16px; }

/* feature hotspots */
.m3d__hotspot { --s: 26px; position: relative; display: block; width: var(--s); height: var(--s); padding: 0; border: 0; background: none; cursor: pointer; transition: opacity .3s; }
.m3d__hotspot:not([data-visible]) { opacity: .15; pointer-events: none; }
.m3d.hide-notes .m3d__hotspot, .m3d.show-dims .m3d__hotspot { opacity: 0; pointer-events: none; }
.m3d.is-loading .m3d__hotspot { opacity: 0; }
.m3d__dot { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; font-size: .72rem; font-weight: 800; color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 4px 12px rgba(16, 24, 40, .35); transition: transform .2s var(--ease), background .2s, color .2s; }
.m3d__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); animation: hsPulse 2.2s ease-out infinite; }
@keyframes hsPulse { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.m3d__hotspot:hover .m3d__dot, .m3d__hotspot.is-active .m3d__dot { transform: scale(1.12); background: var(--brand); color: #fff; }
.m3d__note { position: absolute; left: calc(var(--s) + 8px); top: 50%; translate: 0 -50%; display: grid; gap: 1px; width: max-content; max-width: 180px; padding: 7px 11px; border-radius: 10px; text-align: left; background: rgba(15, 23, 36, .88); color: #fff; backdrop-filter: blur(6px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateX(-6px); transition: all .25s var(--ease); pointer-events: none; }
.m3d__note b { font-size: .76rem; }
.m3d__note small { font-size: .68rem; opacity: .8; font-weight: 500; }
.m3d__hotspot:hover .m3d__note, .m3d__hotspot.is-active .m3d__note, .m3d__hotspot:focus-visible .m3d__note { opacity: 1; transform: none; }

/* dimension overlay */
.m3d__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .3s; }
.m3d__lines line { stroke: var(--brand); stroke-width: 2; stroke-dasharray: 6 4; filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .9)); }
.m3d__dimlabel { display: block; padding: 4px 9px; border-radius: 7px; font-size: .72rem; font-weight: 800; color: #fff; background: var(--brand); box-shadow: 0 4px 12px -4px rgba(23, 105, 209, .7); white-space: nowrap; opacity: 0; transition: opacity .3s; pointer-events: none; }
.m3d__anchor { display: block; width: 1px; height: 1px; pointer-events: none; }
.m3d.show-dims .m3d__lines, .m3d.show-dims .m3d__dimlabel { opacity: 1; }

@media (max-width: 640px) {
  .m3d__badge { font-size: 0; gap: 0; padding: 4px; }
  .m3d__badge span { font-size: .68rem; }
  .m3d__tools button { min-width: 44px; padding: 6px 4px 5px; }
  .m3d__note { max-width: 140px; }
}

.ship-suburb { display: grid; gap: 6px; margin: -4px 0 12px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.ship-suburb input { height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; outline: 0; font-size: .9rem; }
.ship-suburb input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(23, 105, 209, .12); }
.order-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.order-alt .btn { height: 40px; font-size: .85rem; padding: 0 10px; }

/* Small phones (≤360px, e.g. iPhone SE 1st gen, compact Androids) */
@media (max-width: 360px) {
  #wishlistBtn { display: none; } /* "Saved" stays in the bottom tab bar */
  .service { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; } /* icon above the text */
  .service > svg.lucide { width: 34px; height: 34px; padding: 7px; }
  .service b { font-size: .88rem; overflow-wrap: break-word; }
  .order-alt { grid-template-columns: 1fr; }
}
