/* ============================================================
   Allbattery — design tokens & base styles
   Minimalist, light theme. Inter. #1978E5 primary. 8px radius.
   ============================================================ */

:root {
  /* Brand (green) — token names kept as --blue* for internal reuse */
  --blue: #4CAF50;        /* primary green */
  --blue-600: #388E3C;    /* hover green */
  --blue-700: #2E7D32;    /* deep green — text/links on light bg */
  --blue-50: #E8F5E9;     /* light green tint */
  --blue-100: #C8E6C9;

  /* Neutrals */
  --ink: #111827;         /* main dark / headings */
  --navy: #0F172A;        /* navy — footer / deep surfaces */
  --ink-2: #374151;
  --muted: #4B5563;       /* body text */
  --muted-2: #9ca3af;
  --line: #E5E7EB;        /* borders */
  --line-2: #f0f2f5;
  --surface: #ffffff;
  --bg: #F8FAFC;          /* secondary background */
  --bg-2: #fbfcfd;

  /* Status */
  --green: #16A34A;       /* in-stock */
  --green-50: #e8f6ee;
  --amber: #F59E0B;       /* low stock */
  --red: #EF4444;         /* out / sale */
  --star: #f5a623;

  /* Radius */
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 18px;
  --r-pill: 999px;

  /* Shadow (soft) */
  --sh-1: 0 1px 2px rgba(16,24,33,.05), 0 1px 1px rgba(16,24,33,.03);
  --sh-2: 0 2px 8px rgba(16,24,33,.06), 0 1px 2px rgba(16,24,33,.04);
  --sh-3: 0 10px 30px rgba(16,24,33,.10), 0 2px 8px rgba(16,24,33,.05);
  --sh-4: 0 24px 60px rgba(16,24,33,.16), 0 8px 20px rgba(16,24,33,.08);

  --maxw: 1200px;
  --header-h: 116px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue-100); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-700);
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; margin: 6px 0 0; line-height: 1.12; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; max-width: 52ch; }
.section-link { color: var(--blue-700); font-weight: 600; font-size: 14.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.section-link:hover { color: var(--blue-700); }

/* even vertical rhythm: every section gets the same top/bottom padding */
section.band { padding: 44px 0; }
section.band.tight { padding: 44px 0; }
.band--gray { background: var(--bg); }

/* ---------- buttons ---------- */
.btn {
  --bw: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; line-height: 1; letter-spacing: -.01em;
  padding: 0 18px; height: 44px; border-radius: var(--r);
  transition: background .15s, color .15s, box-shadow .15s, transform .06s, border-color .15s;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--muted-2); }
.btn--soft { background: var(--blue-50); color: var(--blue-700); }
.btn--soft:hover { background: var(--blue-100); }
.btn--lg { height: 52px; font-size: 15.5px; padding: 0 26px; }
.btn--sm { height: 38px; font-size: 13.5px; padding: 0 14px; }
.btn--block { width: 100%; }
.btn--icon { width: 44px; padding: 0; }

/* ---------- chips / badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); line-height: 1.3; white-space: nowrap; }
.badge--stock { background: var(--green-50); color: var(--green); }
.badge--low { background: #fdf3e3; color: #b5781a; }
.badge--out { background: #fbeceb; color: var(--red); }
.badge--sale { background: var(--red); color: #fff; }
.badge--new { background: var(--ink); color: #fff; }

/* dot */
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--g { background: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.dot--a { background: var(--amber); box-shadow: 0 0 0 3px #fdf3e3; }
.dot--r { background: var(--red); box-shadow: 0 0 0 3px #fbeceb; }

/* ---------- product image placeholder ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    linear-gradient(135deg, #fbfcfe 0%, #f1f5fa 100%);
  color: var(--muted-2);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(120,140,165,.10) 1px, transparent 1.4px);
  background-size: 13px 13px; opacity: .7;
}
.ph__label {
  position: relative; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted-2);
  background: rgba(255,255,255,.78); padding: 4px 9px; border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
}
.ph__glyph { position: relative; z-index: 1; opacity: .9; }

/* ---------- star rating ---------- */
.stars { display: inline-flex; gap: 1.5px; }
.stars svg { width: 15px; height: 15px; }

/* ---------- utility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.scroll-lock { overflow: hidden; }

/* ============================================================
   B2B BAND (для сервісних центрів)
   ============================================================ */
.b2bband { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 44px 48px; color: #fff;
  background: linear-gradient(120deg, #0F172A 0%, #16302a 52%, #2E7D32 120%); box-shadow: var(--sh-3);
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 44px; align-items: center; }
.b2bband::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px); background-size: 20px 20px; opacity: .7; }
.b2bband::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(76,175,80,.35) 0%, transparent 70%); }
.b2bband__l { position: relative; z-index: 1; }
.b2bband__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8fe39a; background: rgba(76,175,80,.16); padding: 6px 13px; border-radius: var(--r-pill); }
.b2bband h2 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 18px 0 0; }
.b2bband > .b2bband__l p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.55; margin: 12px 0 0; max-width: 46ch; }
.b2bband__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 26px; }
.b2bband__perk { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 550; color: #eaf1ee; }
.b2bband__perk__ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12); color: #9fe6a8; display: grid; place-items: center; flex: 0 0 34px; }
.b2bband__card { position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 12px; }
.b2bband__save { background: var(--bg); border-radius: var(--r); padding: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.b2bband__save > span { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted-2); }
.b2bband__saverow { display: flex; align-items: center; gap: 12px; color: var(--muted-2); margin: 8px 0 4px; white-space: nowrap; }
.b2bband__retail { font-size: 19px; font-weight: 600; text-decoration: line-through; white-space: nowrap; }
.b2bband__saverow b { font-family: var(--font-head); font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--blue-700); white-space: nowrap; }
.b2bband__note { font-size: 12.5px; color: var(--muted); }
.b2bband__tg { background: #229ED9; color: #fff; }
.b2bband__tg:hover { background: #1c8ec4; }
.hero { padding: 56px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: var(--r-pill); }
.hero h1 { font-family: var(--font-head); font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 20px 0 0; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__sub { font-size: 17.5px; color: var(--muted); line-height: 1.5; margin: 18px 0 0; max-width: 48ch; }
.hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 30px; margin-top: 36px; }
.hero__stat b { display: block; font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.hero__stat span { font-size: 13px; color: var(--muted); }
.hero__visual { position: relative; }
.hero__card { aspect-ratio: 5/4.3; border-radius: var(--r-xl); background: linear-gradient(155deg, #f4faf5 0%, #e3f2e5 100%); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.hero__card .ph__big { color: var(--blue-600); opacity: .9; }
.hero__chip { position: absolute; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 12px 15px; display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.hero__chip .ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 38px; }
.hero__chip b { font-size: 14px; font-weight: 680; display: block; line-height: 1.2; }
.hero__chip span { font-size: 12px; color: var(--muted); }
.hero__chip.c1 { top: 22px; left: -18px; animation: floaty 5s ease-in-out infinite; }
.hero__chip.c2 { bottom: 26px; right: -16px; animation: floaty 5.6s ease-in-out infinite .4s; }
.hero__chip.c3 { bottom: -14px; left: 40px; animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================================
   SEARCH BY DEVICE
   ============================================================ */
.device { background: linear-gradient(120deg, #0F172A 0%, #173a28 55%, #2E7D32 100%); border-radius: var(--r-xl); padding: 34px 38px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-3); }
.device::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 18px 18px; opacity: .6; }
.device__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 4px 0; }
.device h3 { font-size: 24px; font-weight: 720; letter-spacing: -.02em; margin: 0; }
.device p { color: rgba(255,255,255,.72); font-size: 14.5px; margin: 8px 0 0; max-width: 40ch; }
.device__form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.device__field { display: flex; flex-direction: column; gap: 7px; }
.device__field label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); }
.device__select { position: relative; }
.device__select select { appearance: none; height: 50px; min-width: 190px; border-radius: var(--r); padding: 0 40px 0 15px; font-size: 14.5px; font-weight: 550; background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); cursor: pointer; }
.device__select select:disabled { opacity: .5; cursor: not-allowed; }
.device__select select option { color: #11243b; }
.device__select select:focus { outline: none; box-shadow: inset 0 0 0 2px #fff; }
.device__select .cv { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgba(255,255,255,.8); }
.device__go { height: 50px; }

/* ============================================================
   FEATURED CATEGORIES
   ============================================================ */
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.catgrid--3 { grid-template-columns: repeat(3, 1fr); }
.catcard { background: var(--surface); border-radius: var(--r-lg); padding: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); display: flex; flex-direction: column; gap: 14px; transition: box-shadow .18s, transform .18s; cursor: pointer; }
.catcard:hover { box-shadow: inset 0 0 0 1px var(--blue-100), var(--sh-3); transform: translateY(-3px); }
.catcard__ic { width: 54px; height: 54px; border-radius: 13px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; transition: background .18s, color .18s; }
.catcard:hover .catcard__ic { background: var(--blue); color: #fff; }
.catcard h3 { font-size: 15.5px; font-weight: 660; letter-spacing: -.01em; margin: 0; line-height: 1.25; }
.catcard p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.35; }
.catcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.catcard__count { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.catcard__arr { color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .18s; }
.catcard:hover .catcard__arr { opacity: 1; transform: none; }

/* product grid */
.prodgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prodtabs { display: flex; gap: 6px; }
.prodtab { height: 36px; padding: 0 15px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: all .14s; }
.prodtab:hover { color: var(--ink); }
.prodtab.on { background: var(--ink); color: #fff; box-shadow: none; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); overflow: hidden; }
.trust__item { display: flex; align-items: center; gap: 15px; padding: 22px 24px; }
.trust__item + .trust__item { box-shadow: inset 1px 0 0 var(--line-2); }
.trust__ic { width: 46px; height: 46px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex: 0 0 46px; }
.trust__item b { font-size: 14.5px; font-weight: 660; display: block; line-height: 1.2; }
.trust__item span { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   WHY US
   ============================================================ */
.whygrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.whycard { display: flex; gap: 18px; padding: 26px; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.whycard__ic { width: 52px; height: 52px; border-radius: 13px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: 0 0 52px; }
.whycard h3 { font-size: 17px; font-weight: 680; letter-spacing: -.015em; margin: 2px 0 6px; }
.whycard p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ============================================================
   REVIEWS
   ============================================================ */
.revgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.revcard { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); display: flex; flex-direction: column; gap: 13px; }
.revcard__top { display: flex; align-items: center; justify-content: space-between; }
.revcard__tag { font-size: 11px; font-weight: 650; color: var(--blue-700); background: var(--blue-50); padding: 3px 9px; border-radius: var(--r-pill); }
.revcard__text { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; flex: 1; }
.revcard__who { display: flex; align-items: center; gap: 11px; padding-top: 13px; box-shadow: inset 0 1px 0 var(--line-2); }
.revcard__av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(140deg, var(--blue-600) 0%, var(--blue) 100%); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: 0 0 38px; }
.revcard__who b { font-size: 13.5px; font-weight: 650; display: block; line-height: 1.2; }
.revcard__who span { font-size: 12px; color: var(--muted); }

/* review summary header */
.revsummary { display: inline-flex; align-items: center; gap: 12px; background: #fff; padding: 10px 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); }
.revsummary b { font-size: 19px; font-weight: 760; }
.revsummary span { font-size: 13px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faqitem { background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .18s; }
.faqitem.open { box-shadow: inset 0 0 0 1px var(--blue-100), var(--sh-2); }
.faqq { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; text-align: left; font-size: 15.5px; font-weight: 620; color: var(--ink); }
.faqq__ic { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); color: var(--blue-700); display: grid; place-items: center; transition: transform .25s, background .18s, color .18s; }
.faqitem.open .faqq__ic { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faqa { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faqa__in { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; max-width: 64ch; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news { background: linear-gradient(125deg, var(--blue) 0%, #0f5fc4 100%); border-radius: var(--r-xl); padding: 48px 52px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-3); }
.news::before { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); }
.news::after { content: ""; position: absolute; right: 90px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.06); }
.news__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.news__badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.2); font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: var(--r-pill); }
.news h2 { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -.025em; margin: 16px 0 0; line-height: 1.1; }
.news p { color: rgba(255,255,255,.85); font-size: 15.5px; margin: 10px 0 0; max-width: 46ch; }
.news__form { display: flex; gap: 10px; background: #fff; padding: 7px; border-radius: var(--r-lg); box-shadow: var(--sh-3); min-width: 380px; }
.news__form input { flex: 1; height: 48px; border: none; padding: 0 16px; font-size: 14.5px; border-radius: var(--r); color: var(--ink); }
.news__form input:focus { outline: none; }
.news__ok { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.news__ok i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.news small { display: block; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.7); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #aab4bf; padding: 56px 0 0; margin-top: 8px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.footer__brand .logo__name { color: #fff; }
.footer__brand p { font-size: 13.5px; line-height: 1.6; margin: 16px 0 18px; max-width: 34ch; }
.footer__contact { display: flex; flex-direction: column; gap: 9px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: #cdd5dd; }
.footer__contact a:hover { color: #fff; }
.footer__col h5 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin: 4px 0 16px; }
.footer__col a { display: block; font-size: 13.5px; padding: 5px 0; color: #aab4bf; transition: color .14s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; flex-wrap: wrap; }
.footer__bottom p { font-size: 12.5px; margin: 0; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd5dd; transition: background .14s, color .14s; }
.footer__social a:hover { background: var(--blue); color: #fff; }
.footer__pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer__pay span { height: 28px; padding: 0 11px; border-radius: 5px; background: rgba(255,255,255,.92); color: #1a2530; font-size: 11px; font-weight: 700; display: grid; place-items: center; letter-spacing: .02em; }
.footer__pay .logobadge { padding: 0 12px; }
.footer__pay .logobadge img { height: 17px; width: auto; display: block; }

/* ============================================================
   VIDEO CAROUSEL (Відеовідгуки / Корисні відео)
   ============================================================ */
.vcar { position: relative; }
.vcar__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 2px 6px; }
.vcar__track::-webkit-scrollbar { display: none; }
.vcard { flex: 0 0 clamp(280px, 44%, 470px); scroll-snap-align: start; }
.vcard__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--sh-2); padding: 0; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .2s; }
.vcard__thumb:hover img { transform: scale(1.04); opacity: .92; }
.vcard__play { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .15s; }
.vcard__thumb:hover .vcard__play { transform: scale(1.08); }
.vcard__play svg { filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.vcard iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); display: block; box-shadow: var(--sh-2); }
.vcar__btn { position: absolute; top: calc(50% - 14px); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--sh-3); display: grid; place-items: center; color: var(--ink); z-index: 2; transition: color .15s, box-shadow .15s; }
.vcar__btn:hover { color: var(--blue-700); }
.vcar__btn--prev { left: -12px; }
.vcar__btn--next { right: -12px; }
@media (max-width: 768px) {
  .vcard { flex: 0 0 86%; }
  .vcar__btn { display: none; }
}

/* ============================================================
   OVERLAYS — cart drawer, modals
   ============================================================ */
.scrim { position: fixed; inset: 0; background: rgba(15,23,32,.42); backdrop-filter: blur(2px); z-index: 90; animation: fadeIn .2s; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 92vw; background: #fff; z-index: 95; display: flex; flex-direction: column; box-shadow: var(--sh-4); animation: slideInRight .26s cubic-bezier(.22,.61,.36,1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; box-shadow: inset 0 -1px 0 var(--line); }
.drawer__head h3 { font-size: 18px; font-weight: 720; margin: 0; display: flex; align-items: center; gap: 9px; }
.drawer__head .cnt { font-size: 13px; color: var(--muted); font-weight: 500; }
.iconbtn { width: 38px; height: 38px; border-radius: var(--r); display: grid; place-items: center; color: var(--muted); transition: background .14s, color .14s; }
.iconbtn:hover { background: var(--bg); color: var(--ink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { padding: 18px 22px 22px; box-shadow: inset 0 1px 0 var(--line); }

.citem { display: flex; gap: 13px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--line-2); }
.citem__img { width: 72px; height: 72px; border-radius: var(--r); flex: 0 0 72px; }
.citem__main { flex: 1; min-width: 0; }
.citem__t { font-size: 14px; font-weight: 620; line-height: 1.3; margin: 0; }
.citem__sku { font-size: 11.5px; color: var(--muted-2); margin: 3px 0 0; }
.citem__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); height: 34px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink-2); border-radius: var(--r); }
.qty button:hover { color: var(--blue-700); }
.qty span { min-width: 30px; text-align: center; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.citem__price { font-weight: 700; font-size: 15px; }
.citem__rm { color: var(--muted-2); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.citem__rm:hover { color: var(--red); }

.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty__ic { width: 72px; height: 72px; border-radius: 50%; background: var(--bg); color: var(--muted-2); display: grid; place-items: center; margin: 0 auto 18px; }
.cart-empty h4 { font-size: 17px; font-weight: 680; margin: 0 0 6px; }
.cart-empty p { font-size: 14px; color: var(--muted); margin: 0 0 20px; }

.sumrow { display: flex; align-items: center; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.sumrow.total { font-size: 18px; font-weight: 760; padding-top: 12px; margin-top: 6px; box-shadow: inset 0 1px 0 var(--line); }
.sumrow .muted { color: var(--muted); }
.freebar { margin: 6px 0 14px; }
.freebar__track { height: 7px; border-radius: 4px; background: var(--bg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.freebar__fill { height: 100%; background: var(--blue); border-radius: 4px; transition: width .4s; }
.freebar__lbl { font-size: 12px; color: var(--muted); margin: 7px 0 0; display: flex; align-items: center; gap: 6px; }
.freebar__lbl b { color: var(--blue-700); }

.promo { display: flex; gap: 8px; margin: 4px 0 14px; }
.promo input { flex: 1; height: 42px; border-radius: var(--r); padding: 0 13px; font-size: 13.5px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.promo input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); background: #fff; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout { padding: 40px 0 80px; min-height: 60vh; }
.checkout__grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 32px; align-items: start; }
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 26px; }
.step { display: flex; align-items: center; gap: 10px; }
.step__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted-2); transition: all .2s; }
.step.done .step__n, .step.active .step__n { background: var(--blue); color: #fff; box-shadow: none; }
.step__l { font-size: 13.5px; font-weight: 600; color: var(--muted-2); }
.step.active .step__l, .step.done .step__l { color: var(--ink); }
.step__bar { width: 40px; height: 2px; background: var(--line); border-radius: 2px; }
.step.done + .step .step__bar, .step.done .step__bar { background: var(--blue); }

.copanel { background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); padding: 26px; }
.copanel h3 { font-size: 18px; font-weight: 700; margin: 0 0 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { height: 46px; border-radius: var(--r); padding: 0 14px; font-size: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.field.err input { box-shadow: inset 0 0 0 1.5px var(--red); }
.field .errtext { font-size: 12px; color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.optcard { display: flex; align-items: center; gap: 13px; padding: 15px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .15s, background .15s; margin-bottom: 10px; }
.optcard.sel { box-shadow: inset 0 0 0 2px var(--blue); background: var(--blue-50); }
.optcard__radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: 0 0 20px; display: grid; place-items: center; transition: box-shadow .15s; }
.optcard.sel .optcard__radio { box-shadow: inset 0 0 0 6px var(--blue); }
.optcard__main { flex: 1; }
.optcard__main b { font-size: 14.5px; font-weight: 650; display: block; }
.optcard__main span { font-size: 12.5px; color: var(--muted); }
.optcard__price { font-weight: 700; font-size: 14.5px; }

.cosummary { position: sticky; top: 130px; }
.cosummary h4 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.cosum-item { display: flex; gap: 11px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--line-2); }
.cosum-item .ph { width: 48px; height: 48px; border-radius: var(--r-sm); flex: 0 0 48px; }
.cosum-item .t { font-size: 13px; font-weight: 600; line-height: 1.3; }
.cosum-item .q { font-size: 12px; color: var(--muted); }
.cosum-item .p { margin-left: auto; font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* order success */
.success { max-width: 560px; margin: 60px auto; text-align: center; }
.success__ic { width: 92px; height: 92px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 24px; animation: popIn .4s; }
.success h2 { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; }
.success p { font-size: 15.5px; color: var(--muted); margin: 0 0 6px; }
.success__order { display: inline-flex; gap: 10px; align-items: center; background: var(--bg); padding: 12px 20px; border-radius: var(--r); margin: 22px 0 28px; font-weight: 600; }
.success__order b { color: var(--blue-700); }

/* ============================================================
   COMPARE BAR
   ============================================================ */
.comparebar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: #fff; box-shadow: 0 -8px 30px rgba(16,24,33,.12), inset 0 1px 0 var(--line); animation: fadeUp .25s; }
.comparebar__in { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.comparebar__items { display: flex; gap: 10px; flex: 1; }
.comparebar__chip { display: flex; align-items: center; gap: 9px; background: var(--bg); border-radius: var(--r); padding: 7px 9px; box-shadow: inset 0 0 0 1px var(--line); }
.comparebar__chip .ph { width: 36px; height: 36px; border-radius: var(--r-sm); }
.comparebar__chip b { font-size: 12.5px; font-weight: 600; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comparebar__chip button { color: var(--muted-2); }
.comparebar__chip button:hover { color: var(--red); }

/* compare modal */
.modal { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 24px; animation: fadeIn .2s; }
.modal__card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-4); width: 100%; max-width: 900px; max-height: 86vh; overflow: hidden; display: flex; flex-direction: column; animation: scaleIn .24s; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; box-shadow: inset 0 -1px 0 var(--line); }
.modal__head h3 { font-size: 19px; font-weight: 720; margin: 0; }
.modal__body { overflow: auto; padding: 8px 0; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; vertical-align: middle; }
.cmp-table thead th { position: sticky; top: 0; background: #fff; }
.cmp-table tbody tr { box-shadow: inset 0 -1px 0 var(--line-2); }
.cmp-table .rowlabel { font-size: 12.5px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; width: 150px; background: var(--bg-2); }
.cmp-prod .ph { width: 100%; aspect-ratio: 4/3; border-radius: var(--r); margin-bottom: 10px; }
.cmp-prod b { font-size: 14px; font-weight: 650; display: block; line-height: 1.3; }

/* ============================================================
   ABANDONED CART POPUP
   ============================================================ */
.abandon { position: fixed; bottom: 22px; left: 22px; z-index: 88; width: 360px; max-width: calc(100vw - 44px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-4), inset 0 0 0 1px var(--line); padding: 18px; animation: popIn .4s cubic-bezier(.22,.61,.36,1); }
.abandon__head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.abandon__ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex: 0 0 42px; }
.abandon__head b { font-size: 15px; font-weight: 700; display: block; }
.abandon__head span { font-size: 12.5px; color: var(--muted); }
.abandon__close { position: absolute; top: 12px; right: 12px; color: var(--muted-2); }
.abandon__close:hover { color: var(--ink); }
.abandon__items { display: flex; gap: 8px; margin-bottom: 14px; }
.abandon__items .ph { width: 48px; height: 48px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.abandon__promo { background: var(--blue-50); border-radius: var(--r); padding: 9px 12px; font-size: 13px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--blue-700); }
.abandon__promo b { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* recently viewed */
.rv-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.rv-card { background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.rv-card:hover { box-shadow: inset 0 0 0 1px var(--blue-100), var(--sh-2); transform: translateY(-2px); }
.rv-card .ph { aspect-ratio: 1; border-radius: var(--r-sm); margin-bottom: 9px; }
.rv-card b { font-size: 12.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card span { font-size: 13px; font-weight: 700; color: var(--ink); display: block; margin-top: 5px; }

/* toast */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); box-shadow: var(--sh-4); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; animation: popIn .3s; }
.toast i { color: #7be000; display: grid; place-items: center; }

/* search results page */
.results { padding: 30px 0 70px; min-height: 50vh; }
.results__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.results__head h1 { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.results__head h1 b { color: var(--blue-700); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.crumb a { color: var(--blue-700); }

/* view toggle (grid / list) */
.viewtoggle { display: inline-flex; background: var(--bg); border-radius: var(--r); padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.viewtoggle button { width: 38px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--muted); transition: background .14s, color .14s; }
.viewtoggle button.on { background: #fff; color: var(--blue-700); box-shadow: var(--sh-1); }

/* ---- sort buttons (chips) ---- */
.sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.sortbar__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.sortbtn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: background .14s, color .14s, box-shadow .14s, transform .06s; cursor: pointer; }
.sortbtn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted-2); }
.sortbtn:active { transform: translateY(1px); }
.sortbtn.on { background: var(--blue); color: #fff; box-shadow: none; }
.sortbtn.on:hover { background: var(--blue-600); color: #fff; }

/* ---- filter bar: in-stock toggle + per-page limit ---- */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
.filterbar__sep { width: 1px; height: 22px; background: var(--line); }
.instock-toggle { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 650; color: var(--ink-2); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; user-select: none; transition: background .14s, color .14s, box-shadow .14s; }
.instock-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.instock-toggle__box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--muted-2); display: grid; place-items: center; color: transparent; transition: background .14s, box-shadow .14s, color .14s; }
.instock-toggle:hover { box-shadow: inset 0 0 0 1.5px var(--muted-2); }
.instock-toggle.on { background: var(--green-50); color: var(--green); box-shadow: inset 0 0 0 1.5px #a3cfb0; }
.instock-toggle.on .instock-toggle__box { background: var(--green); box-shadow: none; color: #fff; }
.limbtns { display: inline-flex; gap: 4px; }
.limbtn { height: 38px; min-width: 44px; padding: 0 12px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .14s, color .14s, box-shadow .14s; }
.limbtn:hover { box-shadow: inset 0 0 0 1px var(--muted-2); }
.limbtn.on { background: var(--blue); color: #fff; box-shadow: none; }

/* ---- copy product name button (for managers) ---- */
.copybtn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; color: var(--muted-2); box-shadow: inset 0 0 0 1px var(--line); transition: color .14s, background .14s, box-shadow .14s; vertical-align: middle; margin-left: 6px; flex: 0 0 auto; }
.copybtn:hover { color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-100); }
.copybtn.copied { color: #fff; background: var(--green); box-shadow: none; }
.pcard__titlerow { display: flex; align-items: flex-start; gap: 6px; }
.pcard__titlerow .pcard__title { flex: 1; min-width: 0; }
.pcard__titlerow .copybtn { margin-left: 0; margin-top: 1px; }
.pcard__sku .copybtn { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .filterbar { gap: 8px; margin-bottom: 18px; }
  .filterbar .sortbar__label { display: none; }
  .filterbar__sep { display: none; }
  .instock-toggle { height: 38px; font-size: 13px; padding: 0 13px; }
}
@media (max-width: 860px) {
  .sortbar { gap: 6px; margin-bottom: 18px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .sortbar::-webkit-scrollbar { display: none; }
  .sortbar__label { display: none; }
  .sortbtn { flex: 0 0 auto; height: 36px; padding: 0 13px; font-size: 13px; }
}

/* product list (price rows) */
.prodlist { display: flex; flex-direction: column; gap: 12px; }
.prow { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: inset 0 0 0 1px var(--line-2), 0 4px 20px rgba(0,0,0,.04); transition: box-shadow .16s; }
.prow:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 32px rgba(0,0,0,.09); }
.prow__media { position: relative; width: 92px; height: 92px; border-radius: var(--r); cursor: pointer; }
.prow__tag { position: absolute; top: 6px; left: 6px; }
.prow__main { min-width: 0; }
.prow__title { font-size: 16px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; display: block; margin: 4px 0 0; cursor: pointer; }
.prow__title:hover { color: var(--blue-700); }
.prow__sub { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.prow__metaline { display: flex; align-items: center; gap: 14px; margin-top: 9px; flex-wrap: wrap; }
.prow__rate { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.prow__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; }
.prow__priceblock { display: flex; align-items: baseline; gap: 9px; }
.prow__actions { display: flex; align-items: center; gap: 8px; }
.prow__actions .pcard__compare { width: 40px; height: 40px; border-radius: var(--r); color: var(--muted); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: color .15s, box-shadow .15s; }
.prow__actions .pcard__compare:hover { color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-100); }
.prow__actions .pcard__compare.on { color: #fff; background: var(--blue); box-shadow: none; }
.prow__fav { width: 40px; height: 40px; border-radius: var(--r); color: var(--muted); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: color .15s, box-shadow .15s, background .15s; }
.prow__fav:hover { color: var(--red); box-shadow: inset 0 0 0 1px #f6c9c6; }
.prow__fav.on { color: #fff; background: var(--red); box-shadow: none; }
.prow.is-out .btn--primary { background: var(--muted-2); }

/* ============================================================
   OVERLAYS END
   ============================================================ */
/* ============================================================
   LOGO IMAGE
   ============================================================ */
.logo__img { height: 40px; width: auto; display: block; object-fit: contain; }
.logo__name.on-dark { color: #fff; }
.footer__logobox { display: inline-flex; align-items: center; background: #fff; border-radius: var(--r); padding: 9px 14px; box-shadow: var(--sh-1); }
.footer__logobox .logo__img { height: 34px; }

/* ============================================================
   TELEGRAM MANAGER FAB
   ============================================================ */
.tg-fab { position: fixed; right: 24px; bottom: 24px; z-index: 85; display: flex; align-items: center; gap: 0; }
.tg-fab.raised { bottom: 92px; }
.tg-fab__btn {
  position: relative; display: flex; align-items: center; gap: 0; height: 58px; border-radius: var(--r-pill);
  background: #229ED9; color: #fff; box-shadow: 0 12px 30px rgba(34,158,217,.42), 0 2px 8px rgba(34,158,217,.3);
  padding: 0; overflow: visible; transition: box-shadow .2s, transform .12s;
}
.tg-fab__btn:hover { box-shadow: 0 16px 38px rgba(34,158,217,.5); transform: translateY(-2px); }
.tg-fab__inner { display: flex; align-items: center; overflow: hidden; border-radius: var(--r-pill); }
.tg-fab__ic { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 58px; }
.tg-fab__tx { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .28s ease, opacity .2s, padding .28s; display: flex; flex-direction: column; line-height: 1.2; text-align: left; padding-right: 0; }
.tg-fab__tx b { font-size: 14px; font-weight: 650; }
.tg-fab__tx span { font-size: 12px; opacity: .85; }
.tg-fab:hover .tg-fab__tx, .tg-fab.open .tg-fab__tx { max-width: 200px; opacity: 1; padding-right: 20px; }
.tg-fab__dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: #2ec26a; box-shadow: 0 0 0 3px #fff; z-index: 2; }
.tg-fab__pulse { position: absolute; inset: 0; border-radius: var(--r-pill); animation: tgpulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes tgpulse { 0% { box-shadow: 0 0 0 0 rgba(34,158,217,.45); } 70% { box-shadow: 0 0 0 16px rgba(34,158,217,0); } 100% { box-shadow: 0 0 0 0 rgba(34,158,217,0); } }

/* ============================================================
   PRODUCT DETAIL PAGE (PDP)
   ============================================================ */
.pdp { padding: 26px 0 80px; }
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp__gallery { position: sticky; top: 130px; }
.pdp__main { aspect-ratio: 1; border-radius: var(--r-xl); background: linear-gradient(155deg, #f4faf5 0%, #e3f2e5 100%); box-shadow: inset 0 0 0 1px var(--line); position: relative; display: grid; place-items: center; overflow: hidden; }
.pdp__main .ph__big { color: var(--blue-600); }
.pdp__main .badge { position: absolute; top: 16px; left: 16px; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pdp__thumb { aspect-ratio: 1; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; cursor: pointer; transition: box-shadow .15s; color: var(--muted-2); }
.pdp__thumb.on { box-shadow: inset 0 0 0 2px var(--blue); }
.pdp__thumb:hover { box-shadow: inset 0 0 0 2px var(--blue-100); }
.pdp__brandrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pdp__brand { font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.pdp__type { font-size: 12px; font-weight: 600; color: var(--blue-700); background: var(--blue-50); padding: 3px 10px; border-radius: var(--r-pill); }
.pdp h1 { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin: 0 0 14px; }
.pdp__metarow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pdp__metarow .rev { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.pdp__metarow .rev b { color: var(--ink); font-weight: 650; }
.pdp__sku { font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.pdp__pricerow { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); margin-bottom: 22px; }
.pdp__price { font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.pdp__old { font-size: 19px; color: var(--muted-2); text-decoration: line-through; }
.pdp__save { font-size: 13px; font-weight: 650; color: #fff; background: var(--red); padding: 4px 11px; border-radius: var(--r-pill); align-self: center; }
.pdp__buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; }
.pdp__qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r); height: 52px; flex: 0 0 auto; }
.pdp__qty button { width: 48px; height: 50px; display: grid; place-items: center; color: var(--ink-2); }
.pdp__qty button:hover { color: var(--blue-700); }
.pdp__qty span { min-width: 40px; text-align: center; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pdp__buy .btn { flex: 1; }
.pdp__secondrow { display: flex; gap: 12px; margin-bottom: 24px; }
.pdp__secondrow .btn { flex: 1; }
.pdp__perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 24px; }
.pdp__perk { display: flex; align-items: center; gap: 13px; padding: 15px 16px; background: #fff; }
.pdp__perk__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex: 0 0 40px; }
.pdp__perk b { font-size: 13.5px; font-weight: 650; display: block; line-height: 1.25; }
.pdp__perk span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.pdp__mgr { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.pdp__mgr__ic { width: 46px; height: 46px; border-radius: 50%; background: #229ED9; color: #fff; display: grid; place-items: center; flex: 0 0 46px; }
.pdp__mgr b { font-size: 14.5px; font-weight: 650; display: block; }
.pdp__mgr span { font-size: 13px; color: var(--muted); }
.pdp__mgr .btn { margin-left: auto; }
.pdp__tabs { margin-top: 56px; }
.pdp__tabbar { display: flex; gap: 4px; box-shadow: inset 0 -1px 0 var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.pdp__tab { height: 46px; padding: 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); position: relative; }
.pdp__tab.on { color: var(--ink); }
.pdp__tab.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2.5px; background: var(--blue); border-radius: 2px; }
.pdp__tabcontent { max-width: 820px; }
.pdp__desc { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
.spectable { width: 100%; border-collapse: collapse; }
.spectable tr { box-shadow: inset 0 -1px 0 var(--line-2); }
.spectable td { padding: 13px 4px; font-size: 14.5px; }
.spectable td:first-child { color: var(--muted); width: 240px; }
.spectable td:last-child { font-weight: 600; color: var(--ink); }
.compat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.compat-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--bg); padding: 9px 15px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.compat-chip .ic { color: var(--green); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--ink); color: #c8d0d9; font-size: 12.5px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 18px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #c8d0d9; transition: color .15s; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar .accent { color: #fff; font-weight: 600; }
.b2b-toggle { display: inline-flex; align-items: center; gap: 8px; color: #c8d0d9; font-size: 12.5px; white-space: nowrap; transition: color .15s; }
.b2b-toggle:hover { color: #fff; }
.b2b-toggle.on { color: #fff; font-weight: 600; }
.b2b-toggle__sw { width: 30px; height: 17px; border-radius: 9px; background: rgba(255,255,255,.22); position: relative; transition: background .18s; flex: 0 0 30px; }
.b2b-toggle.on .b2b-toggle__sw { background: var(--blue); }
.b2b-toggle__knob { position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform .18s; }
.b2b-toggle.on .b2b-toggle__knob { transform: translateX(13px); }
.topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.16); }

/* Google reviews badge (topbar) */
.greviews { display: inline-flex; align-items: center; gap: 6px; color: #c8d0d9; white-space: nowrap; transition: color .15s; }
.greviews:hover { color: #fff; }
.greviews__g { flex: 0 0 auto; }
.greviews b { font-weight: 700; color: #fff; }
.greviews__stars { color: #fbbc05; letter-spacing: .5px; font-size: 11px; line-height: 1; }
.greviews__count { color: rgba(255,255,255,.62); }
.greviews:hover .greviews__count { color: rgba(255,255,255,.85); }

/* ── Minimal checkout header (logo + help) ── */
.site-header--checkout { box-shadow: 0 1px 0 var(--line); }
.headmain--checkout { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.cohelp { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cohelp__txt { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.cohelp__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: var(--r); font-size: 14px; font-weight: 600; transition: background .15s, box-shadow .15s, color .15s; }
.cohelp__tg { background: #229ED9; color: #fff; }
.cohelp__tg:hover { background: #1c8ec4; color: #fff; }
.cohelp__tel { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cohelp__tel:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted-2); }
/* hide store chrome on the checkout page */
.page-checkout-simplecheckout .m-bottomnav,
.page-checkout-simplecheckout .tg-fab { display: none !important; }

/* ── Checkout (simplecheckout) — align to theme ── */
.page-checkout-simplecheckout #content h1 { font-family: var(--font-head); font-size: clamp(22px,3vw,30px); font-weight: 700; letter-spacing: -.02em; margin: 8px 0 20px; }
.simplecheckout-block { background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; margin-bottom: 16px; }
.checkout-heading.panel-heading, .simplecheckout-block .checkout-heading { background: var(--bg); padding: 14px 18px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.checkout-heading.panel-heading a { font-size: 13px; font-weight: 600; color: var(--blue-700); }
.simplecheckout-block-content { padding: 18px; }
.simplecheckout-block .form-group { margin-bottom: 14px; }
.simplecheckout-block label.control-label, .simplecheckout-block .control-label { font-weight: 600; font-size: 13px; color: var(--muted); padding-top: 6px; }
.simplecheckout-block .text-danger { color: var(--red); }
/* red asterisk on required fields (e.g. Телефон) */
.simplecheckout-block .form-group.required label::after { content: " *"; color: var(--red); font-weight: 700; }
#simplecheckout_comment .checkout-heading { font-family: var(--font-head); }
/* quick-select city buttons */
.ab-citybtns { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 2px 0 14px; }
.ab-citybtns__lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-right: 2px; }
.ab-citybtn { padding: 7px 14px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ab-citybtn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.page-checkout-simplecheckout .table thead { background: var(--bg); }
.page-checkout-simplecheckout .table td, .page-checkout-simplecheckout .table th { vertical-align: middle; }
/* big, prominent confirm button (main goal of the page) */
#simplecheckout_button_confirm, .simplecheckout-button-confirm, #button-confirm { background: var(--blue) !important; border-color: var(--blue-600) !important; min-width: 300px; height: 60px !important; padding: 0 34px !important; font-size: 18px !important; font-weight: 700 !important; border-radius: var(--r) !important; box-shadow: 0 6px 18px rgba(76,175,80,.3) !important; }
#simplecheckout_button_confirm:hover, #button-confirm:hover { background: var(--blue-600) !important; }
@media (max-width: 768px) { #simplecheckout_button_confirm { width: 100%; } }

/* cart qty +/- and delete: subtle gray, not loud green/red */
#simplecheckout_cart .btn-primary, #simplecheckout_cart .btn-danger,
.page-checkout-cart .table .btn-primary, .page-checkout-cart .table .btn-danger,
.page-checkout-cart .table .btn-default, .page-checkout-cart .table .btn-info {
  background: var(--bg) !important; border: 1px solid var(--line) !important; color: var(--muted) !important; box-shadow: none !important; }
#simplecheckout_cart .btn-primary:hover, .page-checkout-cart .table .btn-primary:hover { background: var(--line-2) !important; color: var(--ink) !important; }
#simplecheckout_cart .btn-danger:hover, .page-checkout-cart .table .btn-danger:hover { color: var(--red) !important; background: #fbeceb !important; border-color: #f0b8b4 !important; }

/* customer fields: order ПІБ → Email → Телефон, hide extras */
#simplecheckout_customer fieldset, .simplecheckout-customer fieldset { display: flex; flex-direction: column; }
.row-customer_firstname { order: 1; }
.row-customer_email { order: 2; }
.row-customer_telephone { order: 3; }
.row-customer_register,
.row-customer_lastname,
.row-customer_notcall { display: none !important; }

/* hide footer + store chrome on cart & checkout */
.page-checkout-simplecheckout .footer, .page-checkout-cart .footer,
.page-checkout-cart .m-bottomnav, .page-checkout-cart .tg-fab { display: none !important; }

/* dispatch date note */
.dispatch-note { display: flex; align-items: center; gap: 10px; background: var(--green-50); color: #2E7D32; border-radius: var(--r); padding: 12px 16px; font-size: 14px; font-weight: 500; margin: 0 0 18px; box-shadow: inset 0 0 0 1px #a3cfb0; line-height: 1.4; }
.dispatch-note svg { flex: 0 0 auto; color: var(--green); }
.dispatch-note b { font-weight: 700; }
@media (max-width: 768px) {
  .headmain--checkout { padding: 12px 16px; flex-wrap: wrap; }
  .cohelp__txt { display: none; }
  .cohelp { gap: 8px; }
  .cohelp__btn { height: 38px; padding: 0 12px; font-size: 13px; }
}

.headmain { height: 78px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo__mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(150deg, var(--blue-600) 0%, var(--blue) 100%); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 12px rgba(100,204,0,.34); }
.logo__name { font-size: 20px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.logo__name b { color: var(--blue); }
.logo__tag { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted-2); text-transform: uppercase; }

.searchbar { flex: 1; position: relative; max-width: 620px; }
.searchbar input {
  width: 100%; height: 48px; border-radius: var(--r); padding: 0 110px 0 44px; font-size: 14.5px;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: box-shadow .15s, background .15s;
}
.searchbar input::placeholder { color: var(--muted-2); }
.searchbar input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.searchbar .s-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.searchbar .s-go { position: absolute; right: 6px; top: 6px; height: 36px; }

.headtools { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 12px; border-radius: var(--r); color: var(--ink-2); transition: background .15s, color .15s; position: relative; }
.tool:hover { background: var(--bg); color: var(--blue-700); }
.tool span { font-size: 11px; font-weight: 550; }
.tool__count { position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.tool__count.red { background: var(--red); }

/* nav row */
.headnav { height: 52px; display: flex; align-items: center; gap: 4px; box-shadow: 0 1px 0 var(--line); }
.catbtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r); background: var(--blue); color: #fff; font-weight: 650; font-size: 14px; box-shadow: var(--sh-1); }
.catbtn:hover { background: var(--blue-600); }
.navlink { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: var(--r); color: var(--ink-2); font-weight: 550; font-size: 14px; transition: background .15s, color .15s; white-space: nowrap; }
.navlink:hover { background: var(--bg); color: var(--blue-700); }
.navlink .hot { color: var(--red); font-size: 11px; font-weight: 700; margin-left: 2px; }
.headnav .spacer { flex: 1; }
.navphone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.navphone .ic { color: var(--blue); }

/* mega menu */
.mega-wrap { position: relative; }
.mega { position: absolute; top: calc(100% + 8px); left: 0; width: 780px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-4), inset 0 0 0 1px var(--line); padding: 22px; z-index: 70; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px; animation: scaleIn .16s ease; }
.mega__col h4 { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin: 6px 0 8px; }
.mega__col a { display: block; padding: 6px 8px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--ink-2); transition: background .12s, color .12s; }
.mega__col a:hover { background: var(--bg); color: var(--blue); }

/* search suggest dropdown */
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-4), inset 0 0 0 1px var(--line); padding: 8px; z-index: 70; animation: scaleIn .14s; }
.suggest__group { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); padding: 8px 10px 4px; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r); cursor: pointer; transition: background .12s; }
.suggest__item:hover, .suggest__item.active { background: var(--bg); }
.suggest__thumb { width: 40px; height: 40px; border-radius: var(--r-sm); flex: 0 0 40px; }
.suggest__t { font-size: 13.5px; font-weight: 600; }
.suggest__s { font-size: 12px; color: var(--muted); }
.suggest__p { margin-left: auto; font-weight: 700; font-size: 13.5px; }
.suggest__chip { display: inline-flex; gap: 6px; flex-wrap: wrap; padding: 4px 6px 8px; }
.suggest__chip button { font-size: 12.5px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.suggest__chip button:hover { background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-100); }

/* ============================================================
   PRODUCT CARDS — two variants
   ============================================================ */
.pcard {
  position: relative; background: var(--surface); border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 4px 20px rgba(0,0,0,.04);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.pcard:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 32px rgba(0,0,0,.09); transform: translateY(-3px); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; }
.pcard__media .ph { position: absolute; inset: 0; }
.pcard__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.pcard__fav {
  position: absolute; top: 9px; right: 9px; z-index: 2; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%; color: var(--muted);
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px); box-shadow: var(--sh-1);
  transition: color .15s, background .15s, transform .12s;
}
.pcard__fav:hover { color: var(--red); transform: scale(1.08); }
.pcard__fav.on { color: #fff; background: var(--red); }
.pcard__fav.on svg { fill: currentColor; }
.prow__fav.on svg { fill: currentColor; }
/* PDP wishlist button — favourited state */
#button-wishlist.on { color: var(--red); box-shadow: inset 0 0 0 1px #f6c9c6; }
#button-wishlist.on svg { fill: var(--red); }
.pcard__body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pcard__brand { font-size: 11.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.pcard__title { font-size: 14.5px; font-weight: 620; line-height: 1.3; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.pcard a.pcard__title:hover { color: var(--blue-700); }
.pcard__sub { font-size: 12.5px; color: var(--muted); line-height: 1.35; margin: -2px 0 0; }
.pcard__sku { font-size: 11px; font-weight: 600; color: var(--muted-2); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pcard__meta { display: flex; align-items: center; gap: 8px; }
.pcard__meta .rev { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pcard__priceblock { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.pcard__price { font-size: 19px; font-weight: 740; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.pcard__old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; white-space: nowrap; }
.pcard__row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }

/* price tag (retail / B2B partner) */
.ptag { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.pcard__row .ptag { flex: 1; margin-top: 0; }
.ptag--b2b { flex-direction: column; align-items: flex-start; gap: 3px; }
.ptag__b2brow { display: flex; align-items: baseline; gap: 8px; }
.ptag__b2btag { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--blue); padding: 2px 6px; border-radius: 4px; transform: translateY(-2px); }
.ptag__partner { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.ptag--sm .ptag__partner { font-size: 18px; }
.ptag__retail { font-size: 12px; color: var(--muted); text-decoration: line-through; white-space: nowrap; }

/* variant: classic — icon add button beside price */
.pcard--classic .pcard__addicon {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: var(--r); background: var(--blue); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-1); transition: background .15s, transform .08s;
}
.pcard--classic .pcard__addicon:hover { background: var(--blue-600); }
.pcard--classic .pcard__addicon:active { transform: translateY(1px); }
.pcard--classic .pcard__priceblock { flex: 1; }

/* variant: spec — sku chip prominent, compare + full add button */
.pcard--spec .pcard__skuchip {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  font-size: 11px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums;
  background: var(--bg); border-radius: var(--r-sm); padding: 3px 8px; box-shadow: inset 0 0 0 1px var(--line-2);
}
.pcard--spec .pcard__compare {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: var(--r); color: var(--muted);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: color .15s, box-shadow .15s;
}
.pcard--spec .pcard__compare:hover { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-100); }
.pcard--spec .pcard__compare.on { color: #fff; background: var(--blue); box-shadow: none; }
.pcard--spec .divider { height: 1px; background: var(--line-2); margin: 2px 0; }

/* out of stock state */
.pcard.is-out .pcard__media { opacity: .85; }
.pcard.is-out .btn--primary { background: var(--muted-2); pointer-events: none; }

/* compact added flash */
.pcard__added { position: absolute; inset: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; z-index: 5; animation: fadeIn .15s; }
.pcard__added .chk { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--green); font-weight: 650; font-size: 13.5px; }
.pcard__added .chk i { width: 44px; height: 44px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: none; } }
@keyframes popIn { 0% { opacity:0; transform: translateY(26px) scale(.96);} 100%{opacity:1; transform:none;} }

/* ============================================================
   OPENCART INTEGRATION OVERRIDES
   Reset Bootstrap 3 conflicts; map OC classes to design tokens
   ============================================================ */

/* --- Reset Bootstrap defaults --- */
body { font-size: 15px !important; line-height: 1.5 !important; color: var(--ink) !important; }
a { color: var(--blue-700); }
a:hover { color: var(--blue-600); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { color: var(--ink); font-family: var(--font-head); }
/* dark sections keep white headings (override the blanket ink rule above) */
.device h3, .device p, .device label,
.b2bband h2, .b2bband__l p, .b2bband__eyebrow,
.hero__chip b, .topbar h3 { color: #fff; }
.b2bband__eyebrow { color: #8fe39a; }
.b2bband__retail, .b2bband__saverow { color: var(--muted-2); }
.b2bband__save > span { color: var(--muted-2); }
.b2bband__saverow b { color: var(--blue-700); }
.b2bband__note { color: var(--muted); }
.hero__chip b { color: var(--ink); }
.container { max-width: var(--maxw); }
.navbar { border: none; background: none; margin: 0; min-height: 0; border-radius: 0; }
.navbar-collapse { padding: 0; }
#menu { background: none; }

/* --- Bootstrap btn overrides --- */
.btn-default { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); }
.btn-default:hover { background: var(--bg); border-color: var(--muted-2); color: var(--ink); }
.btn-primary, .btn-success { background: var(--blue) !important; border-color: var(--blue-600) !important; border-radius: var(--r); }
.btn-primary:hover, .btn-success:hover { background: var(--blue-600) !important; }
.btn-danger { background: var(--red) !important; border-color: #d63030 !important; }
.btn-warning { background: var(--amber) !important; border-color: #d9890a !important; }
.btn-link { color: var(--blue-700); }

/* --- Form controls --- */
.form-control { border-radius: var(--r-sm); border-color: var(--line); color: var(--ink); font-size: 14.5px; height: 42px; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(76,175,80,.18); outline: none; }
.input-group-addon { background: var(--bg); border-color: var(--line); color: var(--muted); font-size: 13.5px; }

/* --- Breadcrumb --- */
.breadcrumb { background: none; padding: 14px 0; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.breadcrumb > li + li::before { content: "›"; color: var(--muted-2); padding: 0 6px; }
.breadcrumb > .active { color: var(--ink); font-weight: 500; }

/* --- Alert / notices --- */
.alert { border-radius: var(--r); font-size: 14px; }
.alert-success { background: var(--green-50); border-color: #a3cfb0; color: #155724; }
.alert-danger { background: #fbeceb; border-color: #f0b8b4; color: #842029; }
.alert-info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.alert-warning { background: #fdf3e3; border-color: #f8d39c; color: #856404; }

/* --- Pagination --- */
.pagination > li > a, .pagination > li > span { color: var(--blue-700); border-color: var(--line); }
.pagination > .active > a, .pagination > .active > span { background: var(--blue); border-color: var(--blue-600); }
.pagination > li > a:hover { background: var(--blue-50); color: var(--blue-700); }

/* --- Table --- */
.table { color: var(--ink); }
.table thead { background: var(--bg); }
.table-bordered { border-color: var(--line); }
.table-bordered > thead > tr > th { border-color: var(--line); font-weight: 600; font-size: 13.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* --- Modal --- */
.modal-content { border-radius: var(--r-lg); border: none; box-shadow: var(--sh-4); }
.modal-header { border-color: var(--line); }
.modal-footer { border-color: var(--line); }

/* --- OC Product thumb (listing / search) --- */
.product-thumb { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; background: var(--surface); transition: box-shadow .18s, transform .18s; }
.product-thumb:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }
.product-thumb .caption { padding: 12px 4px 4px; }
.product-thumb .caption h4 a { color: var(--ink); font-weight: 600; font-size: 14px; }
.product-thumb .caption .price { color: var(--blue-700); font-weight: 700; font-size: 16px; }
.product-thumb .caption .price-old { color: var(--muted-2); font-size: 13px; text-decoration: line-through; }
.product-thumb .caption .price-new { color: var(--red); }
.product-thumb .button-group { border-top: 1px solid var(--line-2); padding-top: 10px; }

/* --- OC top nav (#top) --- */
#top { background: var(--navy); color: rgba(255,255,255,.7); font-size: 12.5px; }
#top a { color: rgba(255,255,255,.75); }
#top a:hover { color: #fff; }
#top-links .fa { font-size: 13px; }
#top .dropdown-menu { background: var(--surface); border: none; box-shadow: var(--sh-3); border-radius: var(--r-lg); }
#top .dropdown-menu a { color: var(--ink); }

/* --- Cart popup (#cart) --- */
#cart .dropdown-menu { min-width: 320px; padding: 14px; border-radius: var(--r-lg); box-shadow: var(--sh-4); }
#cart table { width: 100%; }

/* --- Product rating stars --- */
.rating .fa-stack-1x::before { color: var(--star); }

/* --- OC success/error flash --- */
#notification, .alert { animation: fadeUp .25s; }

/* --- Image thumbnails --- */
.img-thumbnail { border: 1px solid var(--line); border-radius: var(--r); padding: 4px; }

/* --- Wishlist count badge --- */
#wishlist-total .label { background: var(--red); }

/* --- Search page headings --- */
#product-search h1, #product-category h1 { font-family: var(--font-head); font-size: clamp(22px,3vw,30px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }

/* --- Columns / sidebar --- */
#column-left, #column-right { padding: 0 12px 0 0; }
#column-left .list-group-item, #column-right .list-group-item { border-color: var(--line); font-size: 14px; }
#column-left .list-group-item.active, #column-right .list-group-item.active { background: var(--blue); border-color: var(--blue); }

/* --- Home sections spacing --- */
#common-home .container { max-width: var(--maxw); }

/* ============================================================
   STICKY HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; }
.site-header.sticky { box-shadow: var(--sh-2); }

/* Telegram FAB visibility */
.tg-fab { opacity: 0; pointer-events: none; transition: opacity .3s; }
.tg-fab.visible { opacity: 1; pointer-events: auto; }

/* FAQ initial state — first item open */
.faqitem .faqa { overflow: hidden; transition: max-height .3s ease; }
.faqitem.open .faqa { max-height: 300px !important; }
.faqitem.open .faqq__ic { transform: rotate(45deg); }
.faqq__ic { transition: transform .2s; display: inline-flex; }

/* Mega menu open state */
.mega { display: none; }
.mega.open { display: grid; }

/* PDP image */
.pdp__main img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-lg); }

/* Product card image */
.pcard__img { width: 100%; height: 100%; object-fit: contain; }
.pcard__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; box-shadow: inset 0 -1px 0 var(--line-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.pcard__media .ph { width: 100%; height: 100%; }

/* ---- unified, evenly-aligned product cards (grid/tiles) ---- */
.prodgrid .pcard, .ncar__track .pcard { height: 100%; }
.prodgrid .pcard__body, .ncar__track .pcard__body { gap: 7px; }
/* clamp title to 2 lines so every card reserves the same height */
.prodgrid .pcard__title, .ncar__track .pcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
/* keep the price + add-to-cart row pinned to the bottom edge */
.prodgrid .pcard__row, .ncar__track .pcard__row { margin-top: auto; padding-top: 8px; }

/* ---- Новинки carousel (4-up desktop / 2-up mobile, paginated by JS) ---- */
.ncarousel { position: relative; }
.ncar__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ncar__item { display: none; }                 /* hidden until JS marks the page */
.ncar__item.ncar--visible { display: flex; }   /* .pcard is a flex column */
/* fallback before JS runs (no item marked yet): show the first 4 so it's never empty */
.ncarousel:not(:has(.ncar--visible)) .ncar__item:nth-child(-n+4) { display: flex; }
.ncar__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.ncar__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: color .15s, box-shadow .15s, background .15s; }
.ncar__btn:hover:not(:disabled) { color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-100); }
.ncar__btn:disabled { opacity: .4; cursor: default; }
.ncar__dots { display: flex; align-items: center; gap: 7px; }
.ncar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .15s, width .15s; }
.ncar__dot.on { background: var(--blue); width: 22px; border-radius: 4px; }
@media (max-width: 900px) {
  .ncar__track { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ncarousel:not(:has(.ncar--visible)) .ncar__item:nth-child(-n+4) { display: none; }
  .ncarousel:not(:has(.ncar--visible)) .ncar__item:nth-child(-n+2) { display: flex; }
}

/* Product row media */
.prow__media { width: 100px; flex: 0 0 100px; border-radius: var(--r); overflow: hidden; background: var(--bg); cursor: pointer; aspect-ratio: 1; display: grid; place-items: center; }
.prow__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* Spec table */
.spectable { width: 100%; border-collapse: collapse; font-size: 14px; }
.spectable td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.spectable td:first-child { color: var(--muted); width: 45%; font-weight: 500; }
.spectable td:last-child { font-weight: 550; }
.spectable tr:last-child td { border-bottom: none; }

/* PDP description prose */
.pdp__desc { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 72ch; }

/* Review grid */
.revgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* Catalog description */
.catdesc { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; }

/* Pagination override */
.pagination-wrap .pagination > li > a,
.pagination-wrap .pagination > li > span { border-radius: var(--r-sm) !important; margin: 0 2px; }

/* Search suggest z-index fix */
.suggest { z-index: 200; }

/* ============================================================
   MOBILE LAYER  (≤860px) — restructures the desktop markup
   into a clean mobile experience + bottom tab bar
   ============================================================ */
.m-bottomnav { display: none; }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  section.band { padding: 32px 0; }
  section.band.tight { padding: 32px 0; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 14px; }

  /* ---- header: hide topbar, compact main row ---- */
  .topbar { display: none; }
  .site-header { box-shadow: 0 1px 0 var(--line); }
  .headmain { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo tools" "search search"; align-items: center; gap: 10px 12px; padding: 10px 16px; max-width: none; }
  .logo { grid-area: logo; }
  .logo__img { height: 30px; width: auto; }
  .headtools { grid-area: tools; justify-self: end; gap: 4px; }
  .headtools .tool { padding: 6px; }
  .headtools .tool span { display: none; }      /* icons only on mobile */
  .searchbar { grid-area: search; width: 100%; height: 48px; }
  .searchbar .s-go { padding: 0 14px; }
  .suggest { left: 0; right: 0; }

  /* ---- nav row → horizontal scrolling category chips ---- */
  .headnav { display: block; padding: 8px 0; border-top: 1px solid var(--line2); }
  .headnav > .wrap { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 16px; }
  .headnav > .wrap::-webkit-scrollbar { display: none; }
  .mega-wrap, .navphone, .headnav .spacer { display: none !important; }
  .navlink { flex: 0 0 auto; white-space: nowrap; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; }
  .navlink .hot { margin-left: 6px; }

  /* ---- hero ---- */
  .hero { padding: 28px 0 8px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { display: none; }
  .hero h1 { font-size: 28px; }
  .hero__sub { font-size: 15px; margin-top: 14px; }
  .hero__cta { margin-top: 22px; }
  .hero__cta .btn { flex: 1; }
  .hero__stats { gap: 0; margin-top: 24px; display: grid; grid-template-columns: repeat(3,1fr); background: var(--line2); border-radius: var(--r); overflow: hidden; }
  .hero__stat { background: #fff; padding: 12px 8px; text-align: center; }
  .hero__stat b { font-size: 19px; }
  .hero__stat span { font-size: 11px; }

  /* ---- device finder ---- */
  .device { padding: 22px 18px; margin-top: 8px; }
  .device__in { display: block; }
  .device h3 { font-size: 18px; }
  .device__form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
  .device__field, .device__select, .device__go { width: 100%; }

  /* ---- grids ---- */
  .catgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prodgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-modules .row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .whygrid { grid-template-columns: 1fr; gap: 12px; }
  .revgrid { grid-template-columns: 1fr; }

  /* ---- b2b band ---- */
  .b2bband { grid-template-columns: 1fr; gap: 22px; padding: 26px 20px; }
  .b2bband h2 { font-size: 22px; }
  .b2bband__perks { grid-template-columns: 1fr 1fr; gap: 10px 14px; }

  /* ---- newsletter / faq ---- */
  .news { padding: 26px 20px; }
  .news__in { display: block; }
  .news__form { flex-direction: column; }
  .news__form .btn { width: 100%; }
  .faq { max-width: none; }

  /* ---- footer (leave room for bottom nav) ---- */
  .footer { padding-bottom: 90px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* ---- PDP / listings ---- */
  .pdp__grid { grid-template-columns: 1fr; gap: 22px; }
  .results__head { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ---- Telegram FAB: lift above bottom nav ---- */
  .tg-fab { bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
  .tg-fab__tx { display: none; }   /* collapse to icon on mobile */

  /* ============ BOTTOM TAB BAR ============ */
  .m-bottomnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(16,24,33,.06);
  }
  .m-bnav__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); position: relative; padding-top: 8px; }
  .m-bnav__item.on, .m-bnav__item:active { color: var(--blue-700); }
  .m-bnav__item svg { width: 23px; height: 23px; }
  .m-bnav__badge { position: absolute; top: 4px; right: calc(50% - 20px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
  .m-bnav__badge.red { background: var(--red); }
}

/* ---- mobile PDP + category listing ---- */
@media (max-width: 860px) {
  /* breadcrumb / crumb */
  .crumb { flex-wrap: wrap; font-size: 12px; padding: 12px 0; }

  /* PDP gallery + info already stack via .pdp__grid (1fr) */
  .pdp { padding-top: 8px; }
  .pdp__main { aspect-ratio: 1; border-radius: var(--r-lg); }
  .pdp__thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
  .pdp__info h1 { font-size: 22px; line-height: 1.2; }
  .pdp__metarow { gap: 8px 12px; flex-wrap: wrap; font-size: 12.5px; }
  .pdp__pricerow { padding: 14px 0; margin-bottom: 18px; gap: 10px; flex-wrap: wrap; }
  .pdp__price { font-size: 28px; }
  .pdp__buy { gap: 10px; }
  .pdp__qty { height: 48px; }
  .pdp__qty button { width: 42px; height: 46px; }
  .pdp__secondrow { gap: 8px; flex-wrap: wrap; }
  .pdp__secondrow .btn { flex: 1 1 0; min-width: 0; font-size: 13px; padding: 0 10px; }
  .pdp__perks { grid-template-columns: 1fr; }
  .pdp__mgr { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pdp__mgr .btn { width: 100%; }
  /* tabs scroll horizontally */
  .pdp__tabbar { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; white-space: nowrap; }
  .pdp__tabbar::-webkit-scrollbar { display: none; }
  .pdp__tab { flex: 0 0 auto; }
  .spectable td { padding: 9px 10px; font-size: 13px; }

  /* category / search list rows (prodlist) */
  .prow { grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; row-gap: 10px; }
  .prow__media { width: 84px; height: 84px; flex: 0 0 84px; }
  .prow__title { font-size: 14.5px; }
  .prow__sub { font-size: 12.5px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .prow__buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; box-shadow: inset 0 1px 0 var(--line-2); }
  .prow__actions { gap: 6px; }
  .prow__buy .btn--primary { height: 42px; }

  /* listing toolbar */
  .results__head select { flex: 1; }
  .viewtoggle { flex: 0 0 auto; }
}

@media (max-width: 480px) {
  .catgrid { grid-template-columns: 1fr; }
  .prodgrid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 25px; }
  .footer__top { grid-template-columns: 1fr; gap: 18px; }
  .b2bband__perks { grid-template-columns: 1fr; }
  .pdp__secondrow .btn span { display: inline; }
}

/* ============================================================
   HOME CONTENT MODULES (OpenCart Featured/Latest/etc. via content_top/bottom)
   Render default product-layout markup tidily inside the new theme
   ============================================================ */
.home-modules h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 18px; }
.home-modules .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
.home-modules .product-layout { width: 100% !important; float: none; padding: 0; }
.home-modules .product-thumb { height: 100%; display: flex; flex-direction: column; }
.home-modules .product-thumb .image { background: var(--bg); border-radius: var(--r) var(--r) 0 0; padding: 18px; display: grid; place-items: center; min-height: 150px; margin: -16px -16px 0; }
.home-modules .product-thumb .image img { max-height: 130px; width: auto; mix-blend-mode: multiply; }
.home-modules .product-thumb .caption { flex: 1; padding: 12px 2px; }
.home-modules .product-thumb .caption h4 { margin: 0 0 6px; font-size: 14px; line-height: 1.35; }
.home-modules .product-thumb .button-group { display: flex; }
.home-modules .product-thumb .button-group button { flex: 1; background: var(--blue); color: #fff; border: none; height: 40px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; }
.home-modules .product-thumb .button-group button:hover { background: var(--blue-600); }
.home-modules .product-thumb .button-group button + button { flex: 0 0 40px; background: var(--bg); color: var(--muted); }
.home-modules h2 { font-family: var(--font-head); font-size: clamp(22px,3vw,30px); font-weight: 700; letter-spacing: -.02em; }
/* home SEO text block */
.home-modules p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

@media (max-width: 768px) {
  .home-modules .row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .home-modules .row { grid-template-columns: 1fr; }
}
