/* =========================================================
   Cellect Cellular — main stylesheet
   ========================================================= */
/* Plus Jakarta Sans, self-hosted (variable font, weights 400–800) */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  /* Palette aligned to MTN's "Vivid" system: yellow #FFCB05, near-black #1B1A1A, white */
  --ink: #1b1a1a;
  --ink-2: #2c2b2b;
  --yellow: #ffcb05;
  --yellow-d: #f0bc00;
  --yellow-tint: #fff6d1;
  --bg: #ffffff;
  --tint: #f5f5f5;
  --line: #e6e6e6;
  --text: #1b1a1a;
  --muted: #5f5f5f;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .07);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .16);
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--yellow); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.hero :focus-visible, .section--ink :focus-visible, .footer :focus-visible, .page-hero :focus-visible { outline-color: var(--yellow); }

.container { width: min(1380px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.fineprint { font-size: .82rem; color: var(--muted); margin-top: 1.5rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1; border: 2px solid transparent; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 203, 5, .35); }
.btn--yellow:hover { background: var(--yellow-d); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { padding: .65em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.icon-btn:hover { background: var(--tint); }
.icon-btn--round { border-radius: 50%; border: 1.5px solid var(--line); background: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; transition: gap .2s; }
.link-arrow:hover { gap: .6em; }

/* ---------- Announcement marquee ---------- */
.announce { background: var(--ink); color: #fff; overflow: hidden; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.announce__track { display: flex; gap: 1.5rem; width: max-content; padding: .55rem 0; animation: marquee 38s linear infinite; }
.announce__track .dot { color: var(--yellow); }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.header__burger { display: none; }
.logo { display: flex; align-items: center; gap: .65rem; flex-shrink: 0;width: 150px; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { font-size: 1.2rem; color: var(--ink); font-weight: 500; line-height: 1.05; display: flex; flex-direction: column; }
.logo__text strong { font-weight: 800; }
.logo__text { display: block; }
.logo__text small { display: block; font-size: .64rem; font-weight: 600; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.nav__link { display: inline-flex; align-items: center; gap: .25rem; padding: .6rem .8rem; border-radius: 10px; font-weight: 700; font-size: .95rem; color: var(--ink); transition: background .2s, color .2s; position: relative; }
.nav__link:hover { background: var(--yellow-tint); }
.nav__link.is-active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 3px; border-radius: 3px; background: var(--yellow); }
.header__actions { display: flex; align-items: center; gap: .5rem; }

/* Mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 1.5rem; padding: 2rem 0; }
.mega__head { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.mega__all { font-weight: 800; color: var(--ink); display: inline-block; margin-bottom: .75rem; }
.mega__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.mega__col a:not(.mega__all) { display: block; padding: .45rem .6rem; margin-left: -.6rem; border-radius: 8px; font-weight: 600; }
.mega__col a:hover { background: var(--tint); color: var(--ink); }
.mega__col--brands ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; } /* long brand lists stay short */
.mega__feature { align-self: start; align-content: start; background: var(--tint); border-radius: var(--radius); padding: 1rem; display: grid; gap: .2rem; transition: transform .2s, box-shadow .2s; } /* keeps its own height instead of stretching to the longest list */
.mega__feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mega__img { height: 150px; display: grid; place-items: center; }
.mega__img svg { height: 100%; }
.mega__name { font-weight: 800; }
.mega__meta { font-size: .82rem; color: var(--muted); }
/* Black Friday menu item: small neon pill */
.nav__link--bf { margin-inline: .25rem; padding: .4rem .95rem; border-radius: 999px; background: #0a0a0a; color: #ffcb05; font-weight: 800; letter-spacing: .04em; box-shadow: 0 0 0 2px #ffcb05, 0 0 12px rgba(255,203,5,.55); }
.nav__link--bf:hover, .nav__link--bf.is-active { background: #ffcb05; color: #0a0a0a; }
.nav__link--bf::after { display: none !important; }
.drawer__list a.drawer__bf { color: #0a0a0a; font-weight: 800; }
.drawer__list a.drawer__bf::after { content: " ▶"; color: #b84dff; }
.mega__inner--deals { grid-template-columns: 1.1fr 3fr; align-items: start; }
.mega__promo { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 1.75rem 2rem; border-radius: var(--radius); background: var(--ink); color: #fff; }
.mega__promo .mega__head { color: var(--yellow); margin: 0; }
.mega__promo-title { margin: 0 0 .6rem; max-width: 30rem; font-size: 1.35rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.mega__promo-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.mega__promo .btn--line { border-color: #fff; color: #fff; }
.mega__promo .btn--line:hover { background: #fff; color: var(--ink); }
.drawer__list details li.drawer__sub { padding: .75rem 0 .15rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* ---------- Search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 80; }
.search__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: fade .2s; }
.search__panel { position: relative; background: #fff; padding: 1.5rem 0 2rem; max-height: 90vh; overflow: auto; animation: drop .25s ease; box-shadow: var(--shadow-lg); }
.search__form { display: flex; align-items: center; gap: .75rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; }
.search__form input { flex: 1; border: 0; outline: 0; font-size: 1.35rem; font-weight: 600; padding: .5rem 0; background: transparent; min-width: 0; }
.search__form--page { max-width: 640px; border-color: rgba(255,255,255,.6); }
.search__form--page input { color: #fff; }
.search__form--page input::placeholder { color: rgba(255,255,255,.6); }
.search__label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 1.5rem 0 .75rem; }
.search__popular, .search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.search__results:not(:empty) { margin-top: 1.5rem; }
.mini { display: flex; align-items: center; gap: .75rem; padding: .6rem; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.mini:hover { border-color: var(--yellow); background: var(--tint); }
.mini__img { width: 56px; height: 64px; flex-shrink: 0; display: grid; place-items: center; }
.mini__img svg { height: 100%; }
.mini strong { display: block; font-size: .95rem; }
.mini small { color: var(--muted); font-size: .8rem; }
.search__none { color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .85rem; background: #fff; transition: .2s; }
.chip:hover { border-color: var(--yellow); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: fade .2s; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; padding: 1rem 1.25rem 2rem; overflow-y: auto; animation: slideIn .25s ease; display: flex; flex-direction: column; }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.drawer__list { list-style: none; padding: 0; margin: .5rem 0; }
.drawer__list > li > a, .drawer__list summary { display: flex; justify-content: space-between; align-items: center; padding: .95rem .25rem; font-weight: 800; font-size: 1rem; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list details[open] summary .icon { transform: rotate(180deg); }
.drawer__list details ul { list-style: none; padding: .25rem 0 .5rem .75rem; margin: 0; }
.drawer__list details a { display: block; padding: .55rem 0; font-weight: 600; color: var(--muted); }
.drawer__contact { margin-top: auto; display: grid; gap: .6rem; padding-top: 1rem; }
.drawer__contact a { display: flex; gap: .6rem; align-items: center; font-weight: 600; }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__track { position: relative; min-height: clamp(460px, 56vw, 560px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide--dark   { background: radial-gradient(1200px 600px at 80% 40%, #3a3830 0%, #000 62%); }
.slide--light  { background: radial-gradient(1200px 600px at 80% 40%, #fff 0%, #ececec 70%); }
.slide--yellow { background: radial-gradient(1000px 600px at 85% 40%, #ffe066 0%, var(--yellow) 50%, #f0b400 100%); }
.slide__banner, .slide__banner img { width: 100%; height: 100%; object-fit: cover; }
.slide__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding-block: 3.5rem 5rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.14); padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.slide__title { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; max-width: 14ch; }
.slide__text { font-size: 1.1rem; opacity: .9; max-width: 46ch; }
.slide__text { margin-bottom: 1em; }
.slide__text > :last-child { margin-bottom: 0; }
.slide__copy a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.slide__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.slide__fine { margin-top: 1rem; font-size: .75rem; line-height: 1.45; opacity: .7; max-width: 52ch; }
.slide__fine p { margin: 0 0 .4em; }
.slide__fine > :last-child { margin-bottom: 0; }
.slide--yellow .slide__fine, .slide--light .slide__fine { color: var(--ink); }
.slide--yellow .slide__title, .slide--yellow .slide__text, .slide--yellow .eyebrow,
.slide--light .slide__title, .slide--light .slide__text, .slide--light .eyebrow { color: var(--ink); }
.slide--yellow .eyebrow, .slide--light .eyebrow { background: rgba(0,0,0,.08); }
.slide--yellow .btn--yellow { background: var(--ink); color: #fff; box-shadow: none; }
.slide--yellow .btn--ghost, .slide--light .btn--ghost { color: var(--ink); border-color: rgba(0,0,0,.4); }
.slide--yellow .ring, .slide--light .ring { border-color: rgba(0,0,0,.14); }
.slide__art { position: relative; height: clamp(300px, 36vw, 440px); display: grid; place-items: center; }
.slide__art .phone-svg { position: relative; height: 70%; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); }
.ring--1 { width: 80%; aspect-ratio: 1; }
.ring--2 { width: 55%; aspect-ratio: 1; border-color: rgba(255,255,255,.28); }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 1.4rem; display: flex; align-items: center; gap: 1rem; }
.hero__controls .icon-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.hero__controls .icon-btn:hover { background: rgba(255,255,255,.25); }
.dots { display: flex; gap: .5rem; }
.dots__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.4); transition: width .3s, background .3s; }
.dots__dot.is-active { width: 32px; background: var(--yellow); }

/* ---------- USPs ---------- */
.usps { border-bottom: 1px solid var(--line); }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { display: flex; gap: .85rem; align-items: center; padding: 1.4rem 1rem; }
.usp + .usp { border-left: 1px solid var(--line); }
.usp__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.usp strong { display: block; font-size: .95rem; }
.usp span:not(.usp__icon) { font-size: .83rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0; position: relative; padding-bottom: .6rem; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 4px; background: var(--yellow); }

.grid { display: grid; gap: 1.25rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Deal cards / rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }

.deal { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border: 1px solid var(--line); }
.deal:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.deal__media { position: relative; aspect-ratio: 4 / 4.2; padding: 1.25rem; color: #fff; display: flex; flex-direction: column; overflow: hidden; }
.deal--light .deal__media  { background: linear-gradient(150deg, #fafafa, #e4e4e4); color: var(--ink); }
.deal--dark .deal__media   { background: linear-gradient(150deg, #3a3a3a, #000); }
.deal--yellow .deal__media { background: linear-gradient(150deg, #ffe066, var(--yellow)); color: var(--ink); }
.deal--light .deal__icon, .deal--yellow .deal__icon { background: rgba(0,0,0,.07); }
.deal__kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.deal__headline { font-size: 1.35rem; font-weight: 800; line-height: 1.15; margin-top: .35rem; max-width: 12ch; position: relative; z-index: 1; }
.deal__art { position: absolute; right: -6%; bottom: -4%; height: 70%; display: grid; place-items: center; }
.deal__art .phone-svg { height: 100%; width: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.3)); transition: transform .4s; }
.deal:hover .deal__art .phone-svg { transform: translateY(-6px) rotate(-2deg); }
.deal__icon { width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; margin: 0 2.5rem 2rem 0; }
.deal__sticker, .pcard__sticker { position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2; max-width: 55%; padding: .6rem 1rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .95rem; font-weight: 800; line-height: 1.15; text-align: center; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 6px 16px rgba(0,0,0,.25); transform: rotate(-4deg); transition: transform .3s; }
.deal:hover .deal__sticker, .pcard:hover .pcard__sticker { transform: rotate(0) scale(1.06); }
.pcard__sticker { left: .9rem; bottom: .9rem; font-size: .82rem; }
.product__gallery, .qv__media { position: relative; }
.product__gallery .pcard__sticker, .qv__media .pcard__sticker { left: 1.5rem; bottom: 1.5rem; font-size: 1.05rem; padding: .75rem 1.25rem; }
.deal--yellow .deal__sticker { background: var(--ink); color: var(--yellow); }
.deal__art--duo { display: flex; align-items: flex-end; right: -4%; }
.deal__art--duo .phone-svg:first-child { position: relative; z-index: 1; }
.deal__art--duo .phone-svg + .phone-svg { margin-left: -38%; height: 88%; opacity: .95; }
.deal__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.deal__title { font-size: 1.02rem; font-weight: 800; margin-bottom: .35rem; }
.deal__body p { font-size: .88rem; color: var(--muted); flex: 1; }

/* ---------- Brand collections ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.collection { position: relative; display: flex; align-items: flex-end; min-height: 320px; border-radius: var(--radius); overflow: hidden; padding: 1.5rem; color: #fff; isolation: isolate; transition: transform .25s, box-shadow .25s; }
.collection:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.collection--samsung { background: linear-gradient(160deg, #3a3a3a 0%, #000 100%); }
.collection--apple   { background: linear-gradient(160deg, #5a5a5a 0%, #1b1a1a 100%); }
.collection--honor, .collection--huawei, .collection--oppo, .collection--vivo { background: linear-gradient(160deg, #ffe066, var(--yellow) 60%, #f0b400); color: var(--ink); }
.collection--honor .btn--light, .collection--huawei .btn--light, .collection--oppo .btn--light, .collection--vivo .btn--light { background: var(--ink); color: #fff; }
.collection__copy { position: relative; z-index: 1; display: grid; gap: .35rem; justify-items: start; }
.collection__title { font-size: 1.6rem; font-weight: 800; }
.collection__text { opacity: .85; margin-bottom: .6rem; }
.collection__art { position: absolute; right: -8%; top: 6%; height: 70%; z-index: -1; }
.collection__art .phone-svg { height: 100%; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); transition: transform .4s; }
.collection:hover .collection__art .phone-svg { transform: scale(1.05) rotate(-3deg); }

/* ---------- Product card ---------- */
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pcard__media { position: relative; display: grid; aspect-ratio: 1 / 1; background: var(--tint); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.pcard__img { grid-area: 1 / 1; display: grid; place-items: center; padding: 1.25rem; opacity: 0; transition: opacity .35s; }
.pcard__img.is-shown { opacity: 1; }
.pcard__img .phone-svg, .pcard__img img { height: 100%; width: auto; transition: transform .4s; }
.pcard:hover .pcard__img .phone-svg { transform: scale(1.05); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .35rem; margin: .35rem 0 .75rem; line-height: 1.1; color: var(--ink); }
.price__from { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price__amount { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.price__term { font-size: .85rem; font-weight: 600; color: var(--muted); }
.price--lg { margin: .25rem 0 1rem; }
.price--lg .price__amount { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.price--lg .price__term { font-size: 1rem; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: .35rem; z-index: 1; }
.badges .badge { position: static; }
.badges .badge--preloved { background: var(--ink); color: var(--yellow); }
.tag-preloved { display: inline-block; margin-left: .5rem; padding: .2rem .55rem; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: .68rem; letter-spacing: .08em; vertical-align: middle; }
.condition { display: flex; align-items: center; gap: .4rem; margin: -.25rem 0 1rem; font-weight: 700; font-size: .92rem; }
.condition svg { color: #1a7f37; flex: none; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--ink); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .35rem .65rem; border-radius: 999px; }
.pcard__quick { position: absolute; top: calc(50% - 22px); left: 50%; transform: translate(-50%, 10px); opacity: 0; display: inline-flex; gap: .4rem; align-items: center; padding: .6rem 1rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .82rem; transition: .2s; white-space: nowrap; }
.pcard:hover .pcard__quick, .pcard__quick:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.pcard__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pcard__brand { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pcard__title { font-size: 1.05rem; font-weight: 800; margin: 0; }
.pcard__colour { font-weight: 500; color: var(--muted); }
.pcard__specs { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; font-size: .82rem; flex: 1; }
.pcard__specs li { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dashed var(--line); padding-bottom: .2rem; }
.pcard__specs span { color: var(--muted); }
.pcard .btn { margin-top: .35rem; }

.swatches { display: flex; gap: .45rem; flex-wrap: wrap; }
.swatch { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.swatch.is-active, .swatch:hover { outline-color: var(--ink); }
.swatches--lg .swatch { width: 32px; height: 32px; }
.swatches + .label { margin-top: 1.25rem; }
.sizes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.size { min-width: 4.5rem; padding: .55rem .95rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.size:hover { border-color: var(--ink); }
.size.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.size:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ---------- Compare devices ---------- */
.compare-toggle { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; color: var(--ink); cursor: pointer; user-select: none; }
.compare-toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.pcard .compare-toggle { align-self: center; margin-top: .1rem; }
.compare-toggle--lg { margin-top: 1.1rem; font-size: .95rem; }
.cbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.2); animation: cbar-in .3s ease-out; }
.cbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding-block: .75rem; }
.cbar__label { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.cbar__items { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; min-width: 0; }
.cbar__item { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .35rem .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .82rem; font-weight: 600; }
.cbar__item button { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.cbar__item button:hover { background: var(--yellow); color: var(--ink); }
.cbar__clear { padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.cbar .btn.is-disabled { opacity: .55; }
.cbar__msg { flex-basis: 100%; margin: 0; font-size: .85rem; font-weight: 600; color: var(--yellow); }
body.has-cbar { padding-bottom: 76px; }
body.has-cbar .wa-float { bottom: 96px; }
@keyframes cbar-in { from { transform: translateY(100%); } }

.compare__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.compare__tools .muted { margin: 0; }
.compare__clear { font-size: .9rem; font-weight: 700; color: var(--ink); text-decoration: underline; }
.compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; min-width: calc(150px + var(--cols, 2) * 210px); border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { position: relative; padding-top: 1.25rem; font-weight: 400; }
.compare thead th:first-child, .compare tbody th { position: sticky; left: 0; z-index: 3; width: 150px; background: #fff; box-shadow: 1px 0 0 var(--line); }
.compare tbody th { background: var(--tint); font-weight: 700; color: var(--muted); }
.compare td + td, .compare th + td, .compare thead th + th { border-left: 1px solid var(--line); }
.compare__img { display: grid; place-items: center; height: 170px; margin-bottom: .75rem; overflow: hidden; }
/* Fixed height: a percentage height doesn't resolve in this grid box, so tall photos would cover the name and price */
.compare__img .phone-svg, .compare__img img { max-width: 100%; width: auto; height: 170px; object-fit: contain; }
.compare__remove { position: absolute; top: .6rem; right: .6rem; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--ink); transition: background .2s; }
.compare__remove:hover { background: var(--yellow); }
.compare__name { margin: .2rem 0 .75rem; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.compare__name a { color: inherit; }
.compare thead .btn { width: 100%; justify-content: center; text-align: center; white-space: normal; line-height: 1.2; }
.compare thead th { padding-bottom: 1.1rem; }
.compare .price { margin: 0; }
.compare .price__amount { font-size: 1.15rem; }
.compare__swatches { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .35rem; }
.compare__swatches .swatch { cursor: default; outline: 0; }
.compare small { display: block; color: var(--muted); font-size: .8rem; }
.compare.is-diff-only tbody tr:not(.is-diff) { display: none; }
.compare__add { background: var(--tint); }
.compare__lrow, .compare__add-top { display: none; }
thead .compare__add { vertical-align: middle; }
.compare__picker { display: grid; gap: .5rem; }
.compare__picker label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .9rem; }
.compare__picker select { width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: .9rem; }
.compare__empty { max-width: 560px; margin-inline: auto; padding: 2.25rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.compare__empty h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.compare__empty p { margin: 0; }
.compare__empty .compare__picker { width: min(360px, 100%); text-align: left; }
@media (max-width: 1024px) {
  /* No side label column: labels sit on a line above each row, and the devices share the full width */
  .compare { min-width: calc(var(--n, 2) * 155px); }
  .compare thead th:first-child, .compare .compare__add { display: none; }
  .compare tbody th { display: none; }
  .compare thead th:nth-child(2), .compare tbody th + td { border-left: 0; }
  .compare tr.compare__lrow { display: table-row; }
  .compare__lrow td { padding: .45rem .75rem; background: var(--tint); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .compare__lrow span { position: sticky; left: .75rem; }
  .compare__lrow + tr td { border-top: 0; }
  .compare th, .compare td { padding: .75rem; font-size: .88rem; }
  .compare__img { height: 130px; }
  .compare__img .phone-svg, .compare__img img { height: 130px; }
  .compare__remove { top: .5rem; right: .5rem; }
  .compare__add-top { display: block; width: 100%; }
  .compare__add-top .compare__picker { grid-template-columns: auto 1fr; align-items: center; gap: .75rem; }
}
@media (max-width: 640px) {
  .cbar { bottom: 64px; }
  body.has-cbar { padding-bottom: 140px; }
  body.has-cbar .wa-float { bottom: 150px; }
}

/* ---------- Catalogue viewer ---------- */
.flip { display: grid; gap: 1rem; }
.flip__stage { position: relative; display: grid; max-width: 760px; margin-inline: auto; width: 100%; perspective: 1600px; }
.flip__page { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: rotateY(-12deg) translateX(30px); transform-origin: left center; transition: opacity .45s, transform .45s, visibility .45s; }
.flip__page.is-active { opacity: 1; visibility: visible; transform: none; }
.flip__page.is-prev { transform: rotateY(12deg) translateX(-30px); }
.flip__page img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.flip__bar { display: flex; justify-content: center; align-items: center; gap: 1rem; }
.flip__bar .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.flip__count { font-weight: 700; min-width: 5ch; text-align: center; }
.cat-page { background: #fff; color: var(--ink); border-radius: var(--radius-sm); padding: 1.5rem; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1.1; display: flex; flex-direction: column; }
.cat-page__head { display: flex; justify-content: space-between; font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; border-bottom: 3px solid var(--yellow); padding-bottom: .6rem; margin-bottom: 1rem; }
.cat-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; flex: 1; }
.cat-item { background: var(--tint); border-radius: var(--radius-sm); padding: .8rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; min-height: 0; }
.cat-item .phone-svg { flex: 1; min-height: 0; height: 100px; width: auto; }
.cat-item small { color: var(--muted); font-size: .72rem; }
.cat-item__cta { margin-top: .25rem; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.cat-page__foot { font-size: .68rem; color: var(--muted); margin-top: .75rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); color: var(--ink); }
.cta-band .btn--yellow { background: var(--ink); color: #fff; box-shadow: none; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3rem; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.cta-band p { margin: 0; opacity: .9; }

/* ---------- Page hero / crumbs ---------- */
.page-hero { background: radial-gradient(900px 400px at 85% 0%, #3a3830 0%, #000 65%); color: #fff; padding-block: 2.5rem 3rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-hero p { max-width: 60ch; opacity: .88; font-size: 1.05rem; margin: 0; }
.crumbs { font-size: .85rem; opacity: .75; margin-bottom: 1rem; }
.crumbs a:hover { text-decoration: underline; }
.product .crumbs { color: var(--muted); opacity: 1; }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sort { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.sort select { border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .8rem; background: #fff; }
.count { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }

/* ---------- Cards / forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.split__side { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.cbform__title { font-size: 1.4rem; font-weight: 800; }
.cbform__deal { display: flex; gap: .5rem; align-items: center; background: rgba(255,203,5,.15); padding: .6rem .9rem; border-radius: 10px; font-size: .9rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-bottom: 1rem; }
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem .9rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,203,5,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d64545; }
.field .err { color: #c03030; font-size: .8rem; font-weight: 600; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; margin-bottom: 1.25rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--yellow); flex-shrink: 0; }
.check a { color: var(--ink); text-decoration: underline; }
.check.has-error span { color: #c03030; }
.form-msg { margin: .9rem 0 0; font-weight: 700; font-size: .92rem; min-height: 1em; }
.form-msg.is-ok { color: var(--ink); }
.form-msg.is-err { color: #c03030; }
form.is-loading button[type=submit] { pointer-events: none; cursor: progress; }
button[aria-busy=true] { opacity: 1; }
.btn__spinner { display: inline-block; flex: none; width: 1.05em; height: 1.05em; margin-right: .55em; vertical-align: -.15em; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: cc-spin .7s linear infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn__spinner { animation-duration: 1.6s; } }
.cbform.is-done .fgrid, .cbform.is-done .check, .cbform.is-done button[type=submit] { display: none; }
.cbform.is-done .form-msg { font-size: 1.1rem; padding: 1.25rem; background: rgba(255,203,5,.1); border-radius: 12px; }

.steps h2, .contact-mini h2 { font-size: 1.15rem; font-weight: 800; }
.steps ol { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: .75rem; }
.steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.steps span { color: var(--muted); font-size: .88rem; }
.contact-mini { display: grid; gap: .6rem; }
.contact-mini a, .contact-mini p { display: flex; gap: .6rem; align-items: center; font-weight: 600; margin: 0; }
.contact-mini a:hover { color: var(--ink); }
.contact-mini--link { grid-template-columns: auto 1fr; align-items: center; color: var(--ink); }
.contact-mini--link small { display: block; color: var(--muted); font-weight: 500; }
.notice { display: flex; gap: .75rem; align-items: center; padding: 1rem 1.25rem; margin-bottom: 1.5rem; background: #fffaf0; border-color: #ffe2a8; }
.notice a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.empty { text-align: center; padding: 3rem 0; }

/* ---------- Product page ---------- */
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.product__gallery { display: grid; background: var(--tint); border-radius: var(--radius); aspect-ratio: 1; }
.product__img { padding: 2rem; }
.product__info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-top: .25rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.label { font-weight: 600; margin-bottom: .6rem; }
.specs { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.specs th, .specs td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 600; width: 40%; }
.specs td { font-weight: 700; }
.product__ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Stores ---------- */
.store-search { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem; min-width: min(320px, 100%); }
.store-search input { border: 0; outline: 0; flex: 1; min-width: 0; }
.stores { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.25rem; }
.stores__list { display: grid; gap: 1rem; align-content: start; }
.store { cursor: pointer; padding: 1.25rem 1.4rem; transition: border-color .2s; }
.store.is-active { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,203,5,.15); }
.store h2 { font-size: 1.05rem; font-weight: 800; }
.store p { display: flex; gap: .5rem; align-items: center; margin: 0 0 .4rem; font-size: .9rem; color: var(--muted); }
.store__hours { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 .4rem; font-size: .9rem; color: var(--muted); }
.store__hours > svg { flex: none; margin-top: .2rem; }
.store__hours dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; margin: 0; }
.store__hours dt { font-weight: 700; color: var(--ink); }
.store__hours dd { margin: 0; }
.store p.store__note { font-size: .82rem; font-style: italic; }
.store__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.store__social { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; }
.store__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); transition: background .2s, border-color .2s; }
.store__social a:hover, .store__social a:focus-visible { background: var(--yellow); border-color: var(--yellow); }
.stores__map { padding: 0; overflow: hidden; position: sticky; top: calc(var(--header-h) + 1rem); min-height: 480px; }
.stores__map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

/* ---------- Prose ---------- */
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.prose a { color: var(--ink); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #000; color: rgba(255,255,255,.82); padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__h { font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1.1rem; }
.footer__line { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; margin-bottom: .65rem; }
.footer__line .icon { flex-shrink: 0; margin-top: 2px; color: var(--yellow); }
.footer__line a:hover, .footer__links a:hover { color: var(--yellow); }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.social { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; gap: .5rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: .2s; }
.social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer__news p { font-size: .92rem; }
.newsletter__row { display: flex; background: #fff; border-radius: 999px; padding: 4px; }
.newsletter__row input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .6rem 1rem; color: var(--text); background: transparent; border-radius: 999px; }
.newsletter .form-msg.is-ok { color: var(--yellow); }
.newsletter .form-msg.is-err { color: #ff8f8f; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }

/* ---------- Mobile bar / WhatsApp / modal ---------- */
.mbar { display: none; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: .65rem; text-decoration: none; transition: bottom .25s; }
.wa-float__icon { position: relative; display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-ring 2.6s ease-out 1.5s 3; }
.wa-float__label { padding: .6rem 1rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 22px rgba(0,0,0,.14); opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-float:hover .wa-float__icon { transform: scale(1.07); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__icon { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes wa-ring { 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .wa-float__icon::after { animation: none; } .wa-float__label, .wa-float__icon { transition: none; } }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); animation: fade .2s; }
.modal__panel { position: relative; background: #fff; border-radius: var(--radius); width: min(900px, 100%); max-height: 92vh; overflow: auto; animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal--sm .modal__panel { width: min(520px, 100%); }
.dealtype { padding: 2rem 2rem 1.75rem; }
.dealtype h2 { font-size: 1.5rem; font-weight: 800; margin: .5rem 2rem .75rem 0; }
.dealtype__tag { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dealtype__tag .dealdot { width: 14px; height: 14px; border-width: 2px; cursor: default; animation: none; }
.dealtype__text { color: var(--muted); margin-bottom: 1.25rem; }
.dealtype__text > :last-child { margin-bottom: 0; }
.dealtype--yellow { border-top: 6px solid var(--yellow); }
.dealtype--red { border-top: 6px solid #e4002b; }
.dealdot { --dot: var(--yellow); position: absolute; top: 14px; right: 14px; z-index: 3; width: 26px; height: 26px; padding: 0; border-radius: 50%; background: var(--dot); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.2); cursor: pointer; animation: dotpulse 2.4s ease-out infinite; transition: transform .2s; }
.dealdot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.dealdot:hover, .dealdot:focus-visible { transform: scale(1.15); }
.dealdot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dealdot--red { --dot: #e4002b; }
.dealdot--lg { top: 20px; right: 20px; width: 32px; height: 32px; }
.dealtype__tag .dealdot, .qv__info > .dealdot { position: relative; top: auto; right: auto; }
.qv__info > .dealdot { align-self: flex-start; order: -1; }
@keyframes dotpulse { 0% { box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.2), 0 0 0 0 color-mix(in srgb, var(--dot) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.2), 0 0 0 12px transparent; } }
@media (prefers-reduced-motion: reduce) { .dealdot { animation: none; } }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { background: var(--tint); display: grid; place-items: center; padding: 2rem; min-height: 360px; }
.qv__media .phone-svg { height: 320px; width: auto; }
.qv__info { padding: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.qv__info h2 { font-size: 1.6rem; font-weight: 800; margin: 0; }
.qv__info .specs { margin: .5rem 0; font-size: .9rem; }
.qv__info .specs th, .qv__info .specs td { padding: .5rem 0; }
.qv__ctas { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto; }

body.no-scroll { overflow: hidden; }

/* ---------- Motion ---------- */
/* Reveal uses `translate` (not `transform`) so it composes with hover lifts and tilt */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s), translate .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .25s, box-shadow .25s; }
.reveal.is-in { opacity: 1; translate: none; }
.section--heading { padding-bottom: 1.5rem; }
.section--heading.section--tint, .section--heading.section--ink { padding-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--solo { margin-bottom: 0; }
.section__intro { margin-top: .9rem; max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.section__intro > :last-child { margin-bottom: 0; }
.section--ink .section__intro, .section--ink .link-arrow { color: #fff; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .section__intro { margin-inline: auto; }
.section__head--center .section__title::after { left: 50%; transform: translateX(-50%); }
.section__title--plain { padding-bottom: 0; }
.section__title--plain::after { display: none; }
.section__head.reveal .section__title::after { width: 0; transition: width .6s .25s cubic-bezier(.2,.7,.2,1); }
.section__head.reveal.is-in .section__title::after { width: 48px; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 120; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Header gains a shadow once the page scrolls */
.header { transition: box-shadow .3s, border-color .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.08); border-bottom-color: transparent; }

/* Hero: signal-wave rings + scroll parallax (--hp is 0 → 1 as the hero scrolls away) */
.ring { animation: signal 4.5s cubic-bezier(.2,.6,.3,1) infinite; }
.ring--2 { animation-delay: 1.5s; }
.ring--3 { width: 55%; aspect-ratio: 1; animation-delay: 3s; }
@keyframes signal { 0% { transform: scale(.55); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.slide__copy { transform: translateY(calc(var(--hp, 0) * 70px)); opacity: calc(1 - var(--hp, 0) * 1.3); }
.slide__art { transform: translateY(calc(var(--hp, 0) * -50px)) scale(calc(1 + var(--hp, 0) * .08)); }
.slide.is-active .slide__copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active .slide__copy > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide__copy > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide__copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero--on-light .hero__controls .icon-btn { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.18); color: var(--ink); }
.hero--on-light .dots__dot { background: rgba(0,0,0,.25); }
.hero--on-light .dots__dot.is-active { background: var(--ink); }

/* Kinetic type band: rows slide in opposite directions as you scroll (--tx set by JS) */
.ticker { background: var(--yellow); color: var(--ink); overflow: hidden; padding-block: clamp(1.1rem, 2.5vw, 1.75rem); display: grid; gap: .45rem; }
.ticker__row { display: flex; gap: 2rem; width: max-content; font-size: clamp(1.5rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; transform: translateX(var(--tx, 0)); will-change: transform; }
/* Outline row: filled with the band colour and the stroke painted underneath, so overlapping letter shapes don't show as stray lines */
.ticker__row--outline { color: var(--section-bg, var(--yellow)); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; letter-spacing: .035em; }
.ticker__row span { display: inline-flex; align-items: center; gap: 2rem; }
.ticker__row span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--ink); }

/* Pointer-tracked 3D tilt + glare on brand collections */
.collection { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.collection:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
.collection.is-tilting { transition: transform .08s linear, box-shadow .25s, opacity .7s, translate .7s; }
.collection::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 45%); opacity: 0; transition: opacity .3s; }
.collection:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; }
  .slide__copy, .slide__art { transform: none; opacity: 1; }
  .ring { animation: none; opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: .55rem .55rem; font-size: .88rem; }
  .header__cta { display: none; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__burger { display: inline-grid; }
  .header__inner { gap: .5rem; }
  .logo { margin-inline: auto; }
  .header__actions { margin-left: 0; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); }
  .usps__grid { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(3) { border-left: 0; }
  .usp:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mega__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .slide__inner { grid-template-columns: 1fr; text-align: left; padding-block: 2.5rem 5.5rem; gap: 0; }
  .slide__art { position: absolute; right: -12%; bottom: 10%; height: 55%; opacity: .35; z-index: 0; }
  .slide__copy { position: relative; z-index: 1; }
  .hero__track { min-height: 520px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .rail { grid-auto-columns: 72%; gap: .85rem; }
  .collections { grid-template-columns: 1fr; }
  .collection { min-height: 220px; }
  .split, .stores, .product__grid, .qv { grid-template-columns: 1fr; }
  .split__side, .stores__map { position: static; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .fgrid { grid-template-columns: 1fr; }
  .qv__media { min-height: 260px; }
  .qv__media .phone-svg { height: 220px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .logo__text { font-size: 1.05rem; }
  .logo__text small { display: none; }
  .logo__mark { width: 34px; height: 34px; }
  .usps__grid { grid-template-columns: 1fr; }
  .usp + .usp { border-left: 0; border-top: 1px solid var(--line); }
  .usp { padding: 1rem 0; }
  .pcard__body { padding: .8rem; }
  .pcard__specs { display: none; }
  .pcard__title { font-size: .92rem; }
  .pcard__colour { display: none; }
  .pcard__quick { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .section__head { align-items: flex-start; flex-direction: column; }
  .cat-page { padding: 1rem; }
  .mbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); height: 64px; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--ink); }
  .wa-float { bottom: 80px; right: 14px; }
  .wa-float__icon { width: 52px; height: 52px; }
  .wa-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Fixes ---------- */
html, body { overflow-x: clip; }
.grid > *, .rail > *, .fgrid > *, .split > *, .stores > * { min-width: 0; }
.pcard .btn { white-space: normal; text-align: center; }
.flip__stage { max-width: 580px; }

/* ---------- WordPress ---------- */
.admin-bar .header { top: 32px; }
.admin-bar .progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .header, .admin-bar .progress { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header, .admin-bar .progress { top: 0; } }
.logo__img { width: 100%; height: auto; }
.section--flush { padding-bottom: 0; }
.prose img { height: auto; border-radius: var(--radius-sm); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .85rem; color: var(--muted); }
.nav-links { display: flex; gap: .5rem; margin-top: 1.5rem; }
.nav-links .page-numbers { padding: .4rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; }
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Real product photos (same sizing rules as the drawn phones) ---------- */
.phone-photo { object-fit: contain; }
/* Fixed heights: a percentage height doesn't resolve inside these grid boxes, so tall photos would spill out */
.mega__img { overflow: hidden; }
.mega__img img { height: 150px; width: auto; max-width: 100%; object-fit: contain; }
.mini__img img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Elementor ---------- */
.elementor a.btn, .elementor a.link-arrow { box-shadow: var(--btn-shadow, none); }
/* Elementor's reset removes underlines from links */
.elementor a.link-arrow, .elementor .check a, .elementor .notice a, .elementor .prose a { text-decoration: underline; }
.elementor .btn--yellow { --btn-shadow: 0 6px 18px rgba(255, 203, 5, .35); }

/* ---------- Page main heading in the hero ---------- */
.hero__h1 { position: absolute; top: 1.1rem; left: 0; right: 0; z-index: 2; margin-block: 0; color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .02em; opacity: .9; pointer-events: none; }
.hero--on-light .hero__h1 { color: var(--ink); }
@media (max-width: 820px) { .hero__h1 { font-size: .74rem; top: .8rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { flex-shrink: 0; transition: transform .2s; }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); }
.faq__a { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Data usage calculator ---------- */
.dcalc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.dcalc__main { display: grid; gap: 1.5rem; min-width: 0; }
.dcalc__label { margin: 0 0 .65rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dcalc__presets .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dcalc__presets .chip--clear { border-style: dashed; color: var(--muted); }
.dcalc__group { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.dcalc__group legend { float: left; width: 100%; margin: 0; padding: 0; background: var(--tint); border-bottom: 1px solid var(--line); }
.dcalc__group legend + * { clear: both; }
.dcalc__group.is-collapsed legend { border-bottom: 0; }
.dcalc__toggle { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .85rem 1.25rem; text-align: left; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: background .2s; }
.dcalc__toggle:hover { background: #ececec; }
.dcalc__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.dcalc__gsum { margin-left: auto; font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; }
.dcalc__gsum:empty { display: none; }
.dcalc__chev { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; transition: transform .25s; }
.dcalc__gsum:not(:empty) + .dcalc__chev { margin-left: 0; }
.dcalc__group.is-collapsed .dcalc__chev { transform: rotate(-90deg); }
.dcalc__group.is-collapsed .dcalc__gsum { color: var(--ink); }
.dcalc__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 7.5rem 8rem; align-items: center; gap: .5rem 1rem; padding: .8rem 1.25rem; border-top: 1px solid var(--line); transition: background .2s; }
.dcalc__rows > .dcalc__row:first-child { border-top: 0; }
.dcalc__rows[hidden] { display: none; }
.dcalc__row.is-used { background: var(--yellow-tint); }
.dcalc__what { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; min-width: 0; }
.dcalc__what label { font-weight: 700; }
.dcalc__what small { color: var(--muted); font-size: .78rem; }
.dcalc__opt { flex-basis: 100%; max-width: 15rem; margin-top: .35rem; padding: .4rem 2rem .4rem .7rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 600; }
.dcalc__opt:focus { outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,203,5,.2); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.stepper:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,203,5,.2); }
.stepper button { width: 2.25rem; height: 2.25rem; border-radius: 50%; font-size: 1.15rem; font-weight: 700; line-height: 1; transition: background .15s; }
.stepper button:hover { background: var(--tint); }
.stepper input { width: 3.6rem; padding: 0; border: 0; background: none; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input:focus { outline: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dcalc__unit { font-size: .8rem; color: var(--muted); line-height: 1.2; }
.dcalc__out { text-align: right; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.dcalc__row.is-used .dcalc__out { color: var(--ink); }

.dcalc__side { position: sticky; top: calc(var(--header-h) + 1rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.dcalc__result { display: grid; gap: .25rem; border-top: 6px solid var(--yellow); }
.dcalc__total { margin: 0; font-size: clamp(2.75rem, 6vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dcalc__total small { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.dcalc__band { margin: .35rem 0 .75rem; font-weight: 700; }
.dcalc:not(.has-result) .dcalc__band, .dcalc-wrap:not(.has-result) .dcalc__band { font-weight: 500; color: var(--muted); }
.dcalc__bundle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--ink); color: #fff; }
.dcalc__bundle span { font-size: .85rem; font-weight: 600; opacity: .85; }
.dcalc__bundle strong { color: var(--yellow); font-size: 1.5rem; font-weight: 800; white-space: nowrap; }
.dcalc__bars { display: grid; gap: .55rem; margin: 0 0 .75rem; padding: 0; list-style: none; }
.dcalc__bars:empty { display: none; }
.dcalc__bars li { display: grid; grid-template-columns: minmax(0, 8.5rem) 1fr 2.6rem; align-items: center; gap: .6rem; font-size: .8rem; }
.dcalc__bars li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcalc__bars b { text-align: right; font-variant-numeric: tabular-nums; }
.dcalc__bar { height: 8px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.dcalc__bar i { display: block; height: 100%; border-radius: inherit; background: var(--yellow); transition: width .3s; }
.dcalc__note { margin: 0 0 1rem; font-size: .78rem; color: var(--muted); }
.dcalc__result .fineprint { margin: .75rem 0 0; font-size: .75rem; }
.dcalc__mini { display: none; }

.dcalc__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.dcalc__card h2 { font-size: 1.3rem; font-weight: 800; }
.dcalc__onegb { margin: 0; }
.dcalc__onegb div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.dcalc__onegb div:first-child { border-top: 0; }
.dcalc__onegb dt { color: var(--muted); }
.dcalc__onegb dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.dcalc__tips { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.dcalc__tips li { position: relative; padding-left: 1.4rem; }
.dcalc__tips li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--yellow); }
.dcalc__tips strong { color: var(--ink); }

@media (max-width: 1024px) {
  .dcalc { grid-template-columns: minmax(0, 1fr); }
  .dcalc__side { position: static; }
  .dcalc__mini { position: sticky; bottom: 1rem; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: .9rem; }
  .dcalc__mini strong { color: var(--yellow); font-size: 1.15rem; }
  .dcalc__mini span:last-child { font-weight: 700; }
  .dcalc__mini span:last-child:empty { display: none; }
}
@media (max-width: 720px) {
  .dcalc__row { grid-template-columns: minmax(0, 1fr) auto; padding: .85rem 1rem; }
  .dcalc__what { grid-column: 1 / -1; }
  .dcalc__unit { grid-column: 1; grid-row: 2; }
  .stepper { grid-column: 2; grid-row: 2; }
  .dcalc__out { grid-column: 1 / -1; text-align: left; }
  .dcalc__row:not(.is-used) .dcalc__out { display: none; }
  .dcalc__more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dcalc__mini { bottom: calc(64px + .75rem); }
}

/* ---------- Device filters (Devices, brand and category pages) ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.shop--plain { grid-template-columns: minmax(0, 1fr); }
.shop .shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop--plain .shop__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop__main { min-width: 0; transition: opacity .2s; }
.shop.is-loading .shop__main { opacity: .45; pointer-events: none; }
.shop__filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.shop__open { display: none; }
.shop__badge { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 800; }
.shop__open:hover .shop__badge { background: var(--yellow); color: var(--ink); }
.shop .toolbar { gap: .75rem 1rem; }
.shop .toolbar .count { margin: 0 auto 0 0; }
.shop__empty { text-align: center; padding-block: 3rem; }
.shop__empty h2 { font-size: 1.35rem; font-weight: 800; }

.filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .5rem; }
.filters__head h2 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.filters__head .icon-btn { display: none; }
.filters__foot { display: none; }
.fgroup { border-top: 1px solid var(--line); padding: .35rem 0 .6rem; }
.fgroup summary { display: flex; align-items: center; gap: .5rem; padding: .7rem 0; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .icon { margin-left: auto; transition: transform .2s; }
.fgroup[open] summary .icon { transform: rotate(180deg); }
.fgroup__n { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: .68rem; letter-spacing: 0; }
.fgroup__n:empty { display: none; }
.fgroup__search { width: 100%; margin-bottom: .5rem; padding: .55rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: .88rem; }
.fgroup__search:focus { outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,203,5,.2); }
.fopts { list-style: none; margin: 0; padding: 0; }
.fopt { padding-left: calc(var(--depth, 0) * 1.1rem); }
.fopt.is-extra { display: none; }
.fgroup.is-expanded .fopt.is-extra, .fgroup.is-searching .fopt.is-extra:not([hidden]) { display: block; }
.fgroup.is-searching .fgroup__more { display: none; }
.fopt label { display: flex; align-items: center; gap: .6rem; padding: .38rem .25rem; border-radius: 8px; font-size: .92rem; cursor: pointer; transition: background .15s; }
.fopt label:hover { background: var(--tint); }
.fopt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.fopt input:checked + .fopt__name { font-weight: 700; }
.fopt input:disabled, .fopt input:disabled ~ span { cursor: default; opacity: .45; }
.fopt input:disabled + .fopt__name { opacity: .45; }
.fopt label:has(input:disabled) { cursor: default; }
.fopt label:has(input:disabled):hover { background: none; }
.fopt__name { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; }
.fopt__n { margin-left: auto; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.fopt__dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.fopt__dot--red { background: #e4002b; }
.fgroup__more { margin: .35rem 0 0 .25rem; font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: -.25rem 0 1.25rem; }
.chip--remove { gap: .4rem; padding: .4rem .75rem .4rem .9rem; background: var(--yellow-tint); border-color: var(--yellow); }
.chip--remove .icon { opacity: .7; }
.chip--remove:hover { background: var(--yellow); }
.active-filters__clear { margin-left: .25rem; font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .shop .shop__grid, .shop--plain .shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop__open { display: inline-flex; }
  .shop__filters { position: fixed; inset: 0 auto 0 0; z-index: 95; top: 0; width: min(360px, 88vw); max-height: none; background: #fff; box-shadow: var(--shadow-lg); transform: translateX(-105%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .shop__filters.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .filters { display: flex; flex-direction: column; min-height: 100%; }
  .filters__head { position: sticky; top: 0; z-index: 1; padding: 1rem 1.25rem; background: #fff; border-bottom: 1px solid var(--line); }
  .filters__head .icon-btn { display: inline-grid; }
  .fgroup { padding-inline: 1.25rem; }
  .fgroup:first-of-type { border-top: 0; }
  .filters__foot { position: sticky; bottom: 0; display: flex; gap: .6rem; margin-top: auto; padding: 1rem 1.25rem; background: #fff; border-top: 1px solid var(--line); }
  .filters__foot .btn--yellow { flex: 1; }
  .shop__backdrop { position: fixed; inset: 0; z-index: 94; background: rgba(0,0,0,.55); animation: fade .2s; }
}
@media (max-width: 820px) {
  .shop .shop__grid, .shop--plain .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
