/* Енергетична незалежність+ — стилі */
:root {
  --ink: #0C1F3F;
  --ink-2: #3A4D6E;
  --muted: #5E6F8C;
  --blue: #1D5BD8;
  --blue-d: #1546AB;
  --sky: #DCE8F8;
  --mist: #F2F6FC;
  --line: #D3DFF0;
  --cyan: #7CC6FF;
  --sun: #FFD43B;
  --white: #FFFFFF;
  --danger: #C62828;

  --display: 'Wix Madefor Display', 'Segoe UI', system-ui, sans-serif;
  --text: 'Wix Madefor Text', 'Segoe UI', system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.55; color: var(--ink);
  background: var(--mist); overflow-x: clip; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(29, 91, 216, .15); touch-action: manipulation;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, box-shadow .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #FFE27A; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--sky); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Demo */
.demo-bar { background: var(--ink); color: #fff; text-align: center; font-size: .82rem; padding: 6px 12px; letter-spacing: .01em; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__mark rect { fill: var(--blue); }
.logo__mark path { fill: #fff; }
.logo__name { font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.08; letter-spacing: -.01em; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-2); }
.nav a:hover { color: var(--blue); }
.top__phone { display: none; font-family: var(--display); font-weight: 700; text-decoration: none; white-space: nowrap; }
.top__phone:hover { color: var(--blue); }
.cart-btn { display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 600; transition: background-color .15s; }
.cart-btn:hover { background: var(--blue); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--cyan); color: var(--ink); font-size: .8rem; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.cart-btn__sum { font-variant-numeric: tabular-nums; }
.cart-btn__sum:empty { display: none; }
@media (min-width: 1280px) { .nav { display: flex; } .top__phone { display: block; } }
@media (min-width: 768px) { .cart-btn { display: inline-flex; margin-left: auto; } .nav + .top__phone + .cart-btn { margin-left: 0; } }
@media (min-width: 768px) and (max-width: 1279px) { .top__phone { display: block; margin-left: auto; } .top__phone + .cart-btn { margin-left: 0; } }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__in { display: grid; gap: 36px; padding-top: 36px; padding-bottom: 48px; }
.hero__place { font-weight: 600; color: var(--blue); margin-bottom: 14px; font-size: .98rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero__lead { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.facts li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--blue); }
.facts b { font-family: var(--display); font-weight: 700; }
.facts span { color: var(--muted); font-size: .94rem; }
.hero__visual { position: relative; align-self: center; }
.hero__plus { position: absolute; width: 78%; right: -12%; top: -14%; fill: var(--sky); z-index: 0; }
.hero__panel { position: relative; z-index: 1; margin: 0; background: #fff; border-radius: var(--r-lg); padding: 6% 4% 4%; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(12, 31, 63, .35); }
.hero__tag {
  position: absolute; z-index: 2; left: -6px; bottom: -18px; display: grid; gap: 0; text-decoration: none;
  background: var(--ink); color: #fff; padding: 12px 20px 14px; border-radius: 16px; transition: background-color .15s;
}
.hero__tag:hover { background: var(--blue); }
.hero__tag span { font-size: .86rem; color: #C9D8F0; }
.hero__tag b { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) {
  .hero__in { grid-template-columns: 1.02fr 1fr; gap: 56px; padding-top: 64px; padding-bottom: 84px; align-items: center; }
  .facts { grid-template-columns: repeat(3, auto); gap: 24px; }
  .hero__tag { left: -28px; bottom: 28px; }
}

/* Promo */
.promo { background: var(--ink); color: #fff; }
.promo__in { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 52px; align-items: center; }
.promo__img { margin: 0; border-radius: var(--r-md); overflow: hidden; background: #c9d3e0; }
.promo__img img { width: 100%; aspect-ratio: 900 / 666; object-fit: cover; }
.promo__tag { display: inline-block; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 800; padding: 4px 12px; border-radius: 8px; font-size: .95rem; }
.promo h2 { margin-top: 14px; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.promo__desc { margin-top: 12px; color: #C9D8F0; max-width: 32em; }
.promo__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 24px; font-variant-numeric: tabular-nums; }
.promo__old { color: #9AAECF; font-size: 1.25rem; text-decoration-thickness: 2px; }
.promo__new { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.promo__save { margin-top: 8px; color: var(--cyan); font-weight: 600; }
.promo .btn { margin-top: 26px; }
@media (min-width: 900px) { .promo__in { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-top: 72px; padding-bottom: 72px; } }

/* Who */
.who { padding-top: 64px; padding-bottom: 72px; }
.who__grid { display: grid; gap: 16px; margin-top: 32px; }
.who__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 24px; }
.who__card h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; margin-top: 18px; }
.who__ico { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.who__free { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; color: var(--blue); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231D5BD8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.who__card--biz { background: var(--blue); border-color: var(--blue); color: #fff; }
.who__card--biz .who__ico { stroke: #fff; }
.who__card--biz h3 { margin-top: 0; }
.who__bizhead { display: grid; gap: 18px; }
.who__types { margin-top: 8px; color: #D6E4FB; font-size: .96rem; }
.who__nums { display: grid; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); }
.num b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -.02em; }
.num span { display: block; margin-top: 8px; color: #E3ECFC; font-size: .96rem; max-width: 26em; }
.ticks--light li::before { background-color: rgba(255,255,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.who__card--biz .btn { margin-top: 24px; white-space: normal; text-align: center; }
@media (min-width: 760px) {
  .who__grid { grid-template-columns: 1fr 1fr; }
  .who__card--biz { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 48px; padding: 36px; }
  .who__bizhead { grid-template-columns: auto 1fr; align-items: start; }
  .who__nums { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding-top: 0; border-top: 0; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.25); align-content: center; gap: 28px; }
  .who__card--biz .ticks { grid-column: 1; }
  .who__card--biz .btn { grid-column: 1; justify-self: start; }
}
@media (min-width: 1100px) { .who__card { padding: 34px 32px; } }

/* Catalog */
.catalog { background: #fff; padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalog__head { display: grid; gap: 10px; }
.catalog__head p { color: var(--muted); }
.grid { display: grid; gap: 14px; margin-top: 28px; }
.card {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 16px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; scroll-margin-top: calc(var(--head-h) + 16px);
}
.card__img { grid-row: 1 / span 3; margin: 0; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.card__img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.card h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.25; }
.card__specs { list-style: none; padding: 0; margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.card__buy { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.card__price { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.card .btn { min-height: 44px; padding: 0 16px 0 12px; }
.card .btn.is-added { background: var(--ink); }
.catalog__note { margin-top: 22px; font-size: .9rem; color: var(--muted); }
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .card { grid-template-columns: 1fr; padding: 16px 16px 20px; gap: 0; }
  .card__img { grid-row: auto; border-radius: var(--r-sm); background: #fff; }
  .card__img img { padding: 6%; }
  .card h3 { margin-top: 14px; font-size: 1.14rem; }
  .card__specs { margin-top: 8px; }
  .card__specs li + li { margin-top: 2px; }
  .card__buy { grid-column: 1; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
  .card__price { font-size: 1.7rem; }
}
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card:hover { border-color: #B6CAE8; }

/* Delivery */
.delivery { padding-top: 64px; padding-bottom: 72px; }
.delivery__in { display: grid; gap: 40px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; display: grid; gap: 2px; padding: 0 0 24px 58px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.steps b { font-family: var(--display); font-weight: 700; font-size: 1.08rem; }
.steps span { color: var(--muted); }
.pay { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 22px; align-self: start; }
.pay__row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.pay__row svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pay h3 { font-size: 1.15rem; font-weight: 700; }
.pay p { color: var(--ink-2); margin-top: 2px; }
.req { background: var(--mist); border: 1px dashed #A9C0E3; border-radius: var(--r-sm); padding: 18px; }
.req__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.req h3 { font-size: 1rem; }
.req__copy { border: 0; background: transparent; color: var(--blue); font-weight: 600; cursor: pointer; padding: 6px 4px; border-radius: 6px; }
.req__copy:hover { text-decoration: underline; }
.req__list { margin: 12px 0 0; display: grid; gap: 10px; }
.req__list div { display: grid; gap: 0; }
.req__list dt { font-size: .82rem; color: var(--muted); }
.req__list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .delivery__in { grid-template-columns: 1fr 1fr; gap: 64px; } .pay { padding: 32px; margin-top: 4px; } }

/* Contacts */
.contacts { background: var(--ink); color: #fff; padding-top: 64px; }
.contacts__in { display: grid; gap: 32px; padding-bottom: 48px; }
.contacts__phone { display: inline-block; margin-top: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; text-decoration: none; line-height: 1.05; }
.contacts__phone:hover { color: var(--cyan); }
.contacts__addr { margin-top: 12px; color: #C9D8F0; font-size: 1.08rem; }
.contacts__map { display: inline-block; margin-top: 8px; color: var(--cyan); font-weight: 600; }
.contacts__btns { display: grid; gap: 12px; align-content: end; }
.cbtn { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 22px; border-radius: 16px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.1rem; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background-color .15s; }
.cbtn:hover { background: rgba(255,255,255,.16); }
.cbtn svg { width: 26px; height: 26px; flex: none; }
.cbtn--call { background: var(--blue); box-shadow: none; }
.cbtn--call:hover { background: #2A69EA; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); color: #9AAECF; font-size: .88rem; }
.foot a { color: #C9D8F0; }
@media (min-width: 860px) { .contacts__in { grid-template-columns: 1.2fr 1fr; gap: 64px; padding-bottom: 64px; } }

/* FAB */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; display: grid; justify-items: end; gap: 10px; }
.fab__btn { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(12,31,63,.55); transition: background-color .15s; }
.fab__btn:hover { background: var(--blue-d); }
.fab__btn svg { width: 27px; height: 27px; }
.fab__ico-close { display: none; }
.fab__btn[aria-expanded="true"] { background: var(--ink); }
.fab__btn[aria-expanded="true"] .fab__ico-open { display: none; }
.fab__btn[aria-expanded="true"] .fab__ico-close { display: block; }
.fab__menu { display: grid; gap: 8px; justify-items: end; }
.fab__menu[hidden] { display: none; }
.fab__menu a { background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-family: var(--display); padding: 12px 20px; border-radius: 999px; box-shadow: 0 8px 22px -10px rgba(12,31,63,.45), 0 0 0 1px var(--line); }
.fab__menu a:hover { color: var(--blue); }

/* Mobile cart bar */
.cartbar {
  position: fixed; left: 12px; right: 86px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 20px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 24px -8px rgba(12,31,63,.55);
}
.cartbar[hidden] { display: none; }
.cartbar span:last-child { color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .cartbar { display: none !important; } }
@media (max-width: 767px) { body.has-cart { padding-bottom: 88px; } }

/* Toast */
.toast { position: fixed; left: 50%; top: calc(var(--head-h) + 12px); z-index: 60; transform: translate(-50%, -8px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Drawer */
.drawer {
  margin: 0 0 0 auto; padding: 0; border: 0; width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: #fff; color: var(--ink); display: none; flex-direction: column; overscroll-behavior: contain;
}
.drawer[open] { display: flex; animation: slide .22s ease-out; }
.drawer::backdrop { background: rgba(12,31,63,.5); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.35rem; font-weight: 800; flex: 1; }
.drawer__close, .drawer__back { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); cursor: pointer; display: grid; place-items: center; flex: none; }
.drawer__close:hover, .drawer__back:hover { background: var(--sky); }
.drawer__close svg, .drawer__back svg { width: 22px; height: 22px; }
.drawer__back { margin-left: -8px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.drawer__body[hidden] { display: none; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { grid-row: 1 / span 2; width: 64px; height: 64px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.line__name { font-weight: 600; line-height: 1.3; }
.line__unit { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.line__row { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.25rem; line-height: 1; border-radius: 50%; color: var(--blue); }
.qty button:hover { background: var(--mist); }
.qty output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.line__sum { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line__del { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .86rem; text-decoration: underline; padding: 8px 0; justify-self: start; grid-column: 2; }
.line__del:hover { color: var(--danger); }
.empty { text-align: center; padding: 48px 0; display: grid; gap: 18px; justify-items: center; color: var(--muted); }
.drawer__foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.drawer__foot[hidden] { display: none; }
.sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum span { font-weight: 600; }
.sum b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.sum__note { font-size: .82rem; color: var(--muted); }
.sum__note[hidden] { display: none; }

/* Form */
.form { display: grid; gap: 14px; align-content: start; }
.form[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label span { color: var(--blue); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #BCCDE6; border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,91,216,.22); }
.field input::placeholder, .field textarea::placeholder { color: #8796B0; }
.field.is-bad input { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .86rem; min-height: 0; }
.field__err:empty { display: none; }
.form__err { background: #FDECEC; color: #8E1C1C; border-radius: 12px; padding: 14px; font-size: .95rem; }
.form__err a { color: inherit; font-weight: 700; white-space: nowrap; }
.form__err[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; display: grid; justify-items: center; align-content: center; gap: 12px; }
.done[hidden] { display: none; }
.done svg { width: 76px; height: 76px; fill: var(--sky); stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.done svg circle { stroke: none; }
.done svg path { fill: none; }
.done h3 { font-size: 1.5rem; font-weight: 800; }
.done p { color: var(--ink-2); margin-bottom: 10px; }
.toast.is-on { pointer-events: auto; }
.toast { display: flex; align-items: center; gap: 14px; }
.toast__act { border: 0; background: none; color: var(--cyan); font-weight: 700; cursor: pointer; padding: 4px 2px; text-decoration: underline; white-space: nowrap; }
.top__call { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--blue); box-shadow: inset 0 0 0 1px var(--line); }
.top__call svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .top__call { display: none; } }
.hero__plus { width: 108%; right: auto; left: -4%; top: 50%; transform: translateY(-50%); }
@media (min-width: 960px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) {
  .card { display: flex; flex-direction: column; }
  .card__buy { margin-top: auto; }
  .card__specs { margin-bottom: 18px; }
}
@media (max-width: 959px) {
  .hero__visual { margin-top: 56px; margin-bottom: 40px; }
  .hero__in { padding-bottom: 32px; }
}
[hidden] { display: none !important; }
.cartbar { padding: 0 16px 0 20px; gap: 10px; font-size: .98rem; }
.cartbar span:first-child { white-space: nowrap; flex: none; }
.cartbar span:last-child { min-width: 0; }
.facts li { align-content: start; }
.drawer .toast { top: auto; bottom: calc(180px + env(safe-area-inset-bottom)); }

/* ===== Акція в стилі їхнього креативу Black Friday ===== */
.promo { background: radial-gradient(700px 400px at 80% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%), linear-gradient(160deg, #F3F6FA 0%, #DCE4EE 100%); color: #111; border-top: 1px solid #D5DDE8; border-bottom: 1px solid #D5DDE8; }
.promo__img { background: #DCE4EE; box-shadow: 0 24px 50px -30px rgba(0,0,0,.45); }
.bf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bf__title { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .92; letter-spacing: -.02em; color: #E3141B; text-shadow: 0 2px 0 #9E0A0F, 0 4px 0 #7A0609, 0 10px 18px rgba(160, 10, 15, .35); }
.bf__tag { display: inline-block; transform: skewX(-12deg); background: #111; color: #fff; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .02em; font-size: 1.35rem; padding: 6px 18px; border-radius: 6px; box-shadow: inset 0 0 0 2px #E3141B; }
.promo h2 { color: #111; margin-top: 18px; }
.promo__desc { color: #3B4350; }
.promo__old { color: #6B7480; }
.promo__new { color: #E3141B; }
.promo__save { color: #111; }
.promo__until { margin-top: 6px; font-weight: 700; color: #3B4350; }
.promo__until:empty, .promo__save:empty { display: none; }
.promo .btn { background: #E3141B; color: #fff; box-shadow: 0 12px 26px -12px rgba(227, 20, 27, .7); }
.promo .btn:hover { background: #B80E14; }

/* ===== Фікс тоста: не стискати в коло на мобільному ===== */
.toast { left: 12px; right: 12px; width: auto; max-width: 520px; margin: 0 auto; transform: translateY(-8px); border-radius: 16px; justify-content: space-between; text-align: left; padding: 12px 16px; }
.toast.is-on { transform: translateY(0); }
.toast__msg { min-width: 0; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.toast__act { flex: none; }

/* ===== Фікси після QA ===== */
@media (max-width: 400px) {
  .card { grid-template-columns: 88px minmax(0, 1fr); gap: 4px 12px; }
  .card__buy { grid-column: 1 / -1; }
}
.top__in { flex-wrap: nowrap; }
.nav a, .cart-btn { white-space: nowrap; }
@media (max-width: 767px) { .foot { padding-right: 76px; } }
@media (hover: none) {
  .promo .btn:hover { background: #E3141B; }
  .btn--primary:hover { background: var(--blue); }
}
