/* Kiwivi — стилі сайту (головна й сторінки товарів).
   Палітра: фон #000000, поверхні #0F0F0F, акцент — бірюзовий #1EE3CF; банери навмисно різнокольорові. */

:root {
  --bg: #000000;
  --black: #0F0F0F;
  --surface: #0F0F0F;
  --surface-2: #171717;
  --surface-3: #1F1F1F;
  --line: #1E1E1E;
  --line-2: #2C2C2C;
  --text: #FFFFFF;
  --muted: #A0A0A0;
  --ink: #000000;               /* текст на яскравих плашках */
  --turq: #1EE3CF;              /* головний колір: кнопки, акценти */
  --turq-hover: #5AEDDE;
  --mint: #12EDB8;
  --heart: #FF4D6A;
  --brand: #1EE3CF;
  --brand-diag: #1EE3CF;
  --ui: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --word: 'Unbounded', 'Arial Black', sans-serif;
  --pad: clamp(12px, 2.8vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
html.cart-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--muted); }
.container { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Верхня смуга ---------- */
.topbar { background: var(--black); border-bottom: 1px solid #1E1E1E; color: var(--muted); font-size: 13px; line-height: 20px; font-weight: 600; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar a { color: var(--text); transition: color .15s; }
.topbar a:hover { color: var(--turq); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header__row--tools { flex-wrap: wrap; justify-content: flex-start; gap: 10px; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 50px; width: auto; transition: transform .2s; }
.logo:hover img { transform: rotate(-2deg) scale(1.03); }

.actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 46px; height: 46px; flex: none; padding: 0;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); background: transparent;
  transition: border-color .15s, background-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--turq); color: var(--turq); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--turq); color: var(--ink); font: 800 12px/20px var(--ui); text-align: center; }
.badge[hidden] { display: none; }
[hidden] { display: none !important; }   /* блоки без товарів або без даних з налаштувань */

.catalog-btn {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 18px; border: 0;
  background: var(--brand); color: var(--ink); font-weight: 800; font-size: 15px;
  transition: filter .15s;
}
.catalog-btn:hover { filter: brightness(1.1); }
.catalog-btn .chev { transition: transform .2s; }
.catalog-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.search { flex: 1 1 180px; min-width: 0; position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 48px; padding: 0 16px 0 46px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font-size: 15px; font-weight: 500; -webkit-appearance: none; appearance: none;
  transition: border-color .15s;
}
.search input::placeholder { color: #808080; }
.search input:focus { outline: none; border-color: var(--turq); }

/* padding + від'ємний margin: прокрутка не обрізає рамки кнопок на екранах із масштабом 125–150% */
.quick { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 0; margin: -2px 0; }
.quick::-webkit-scrollbar { display: none; }
.quick ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; white-space: nowrap; }
.quick a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: border-color .15s, background-color .15s; }
.quick a:hover { border-color: var(--turq); background: var(--surface); }
.dot { width: 8px; height: 8px; flex: none; display: inline-block; }

.menu { display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; padding: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.menu__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.menu .menu__head { min-height: 0; margin-top: 8px; padding: 2px; gap: 8px; background: none; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu .menu__head:hover { background: none; color: var(--turq); }
.menu__head span { color: var(--turq); }
.menu[hidden] { display: none; }
.menu a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 12px; background: var(--surface-2); font-weight: 700; transition: background-color .15s; }
.menu a:hover { background: var(--surface-3); }
.menu__icon { width: 36px; height: 36px; flex: none; object-fit: contain; transition: transform .2s; }
.menu a:hover .menu__icon { transform: scale(1.1); }

/* ---------- Загальне для секцій ---------- */
.section { padding-top: 56px; }
.section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.section__title-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.h2 { margin: 0; display: inline-flex; align-items: center; gap: 14px; font: 900 clamp(32px, 3.4vw, 48px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.h2::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--brand-diag); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; transition: color .15s; }
.more svg { width: 18px; height: 18px; transition: transform .15s; }
.more:hover { color: var(--turq); }
.more:hover svg { transform: translateX(3px); }
.sticker {
  display: inline-block; padding: 8px 14px;
  font: 900 18px/1 var(--display); text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* ---------- Банери ---------- */
.stories { padding-top: 16px; }
.stories__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: max(240px, calc((100% - 48px) / 5));
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.story { position: relative; display: block; aspect-ratio: 3 / 5; overflow: hidden; color: #FFF; scroll-snap-align: start; transition: transform .2s; }
.story:hover { transform: translateY(-4px); }
.story--light { color: #160B00; }
.story__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__text { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; }
.story__text--framed { padding: 24px 22px; }
.story__title { font: 900 clamp(28px, 2.6vw, 38px)/0.92 var(--display); text-transform: uppercase; }
.story__sub { font-weight: 600; font-size: 14px; line-height: 1.4; }
.story__sub--strong { font-weight: 700; }
.story .sticker { position: absolute; left: 16px; top: 40%; transform: rotate(-4deg); }
.story__img { position: absolute; left: 13%; bottom: 4%; width: 74%; height: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .38)); transition: transform .3s; pointer-events: none; }
.story__img--wide { left: 2%; bottom: 2%; width: 96%; }
.story:hover .story__img { transform: scale(1.04); }
.story__frame { position: absolute; inset: 10px; border: 2px solid #FFF6D6; box-shadow: 0 0 14px rgba(255, 246, 214, .9), inset 0 0 14px rgba(255, 246, 214, .55); pointer-events: none; }

/* ---------- Каталог ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* 9 розділів — рівно три ряди */
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .2s; }
.tile:hover { border-color: var(--turq); transform: translateY(-3px); }
.tile__media { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 48%, #1A1A1A 0%, #0F0F0F 72%); }
.tile__media svg { width: 66%; height: 84%; overflow: visible; transition: transform .3s; }
.tile:hover .tile__media svg { transform: scale(1.05); }
.tile__img { width: 70%; height: 86%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); transition: transform .3s; }
.tile:hover .tile__img { transform: scale(1.05); }
.tile__sub { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tile__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.tile__label { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.2; }
.tile__dot { width: 10px; height: 10px; flex: none; }
.tile__arrow { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .15s, color .15s; }
.tile:hover .tile__arrow { transform: translateX(3px); color: var(--turq); }

/* ---------- Вкладки й картки ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: transparent; font-weight: 800; font-size: 14px; transition: background-color .15s, color .15s, border-color .15s; }
.tab:hover { border-color: var(--turq); }
.tab[aria-pressed="true"] { background: var(--turq); color: var(--ink); border-color: var(--turq); }

.search-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -4px 0 16px; color: var(--muted); font-weight: 600; }
.search-note[hidden] { display: none; }
.search-note strong { color: var(--text); }
.search-note button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; font-weight: 700; transition: border-color .15s; }
.search-note button:hover { border-color: var(--turq); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }

.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .2s; }
.card:hover { border-color: rgba(30, 227, 207, .45); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 55% at 50% 46%, #1C1C1C 0%, #0F0F0F 72%); }
.card__media .art { width: 74%; height: 74%; overflow: visible; transition: transform .3s; }
.card:hover .card__media .art { transform: scale(1.05); }
/* фото товару без фону */
.card__pic { width: 100%; height: 100%; display: grid; place-items: center; }
.card__img { width: 80%; height: 80%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); transition: transform .3s; }
.card:hover .card__img { transform: scale(1.05); }
.card__name a { transition: color .15s; }
.card__name a:hover { color: var(--turq); }
.tag {
  position: absolute; left: 0; top: 12px; padding: 6px 16px 6px 10px;
  font: 800 12px/1 var(--ui); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.fav { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.fav svg { width: 22px; height: 22px; fill: none; stroke: #FFF; stroke-width: 1.8; transition: fill .15s, stroke .15s, transform .15s; }
.fav:hover svg { transform: scale(1.12); stroke: var(--heart); }
.fav[aria-pressed="true"] svg { fill: var(--heart); stroke: var(--heart); }
.card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 0; }
.card__name { margin: 0; font-weight: 700; font-size: clamp(14px, 1.1vw, 15px); line-height: 1.35; text-wrap: pretty; }
.card__spec { font-weight: 500; font-size: 13px; line-height: 1.4; color: var(--muted); }
.card__price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-top: 6px; }
.price { font-weight: 800; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.1; white-space: nowrap; }
.price-old { font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.ship { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; color: var(--turq); }
.ship::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--turq); }
.buy {
  margin: 14px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--turq); background: var(--turq); color: var(--ink); font-weight: 800; font-size: 15px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.buy:hover { background: var(--turq-hover); border-color: var(--turq-hover); }
.buy.is-in { background: transparent; color: var(--turq); border-color: var(--turq); }
.buy.is-in:hover { background: rgba(30, 227, 207, .08); }
.buy--ghost { background: transparent; border-color: #3A3A3A; color: var(--text); }
.buy--ghost:hover { background: var(--surface-2); border-color: var(--turq); }
.buy svg { width: 18px; height: 18px; }

/* Компактна картка в новорічній стрічці */
.row {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: max(200px, calc((100% - 60px) / 6));
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.row .card { scroll-snap-align: start; }
.card--sm .card__body { gap: 6px; padding: 12px 12px 0; }
.card--sm .card__name { font-size: 14px; }
.card--sm .card__spec { font-size: 12.5px; }
.card--sm .price { font-size: 19px; }
.card--sm .buy { margin: 12px; min-height: 44px; font-size: 14px; }
.card--sm .card__media .art { width: 76%; height: 76%; }
.card--sm .tag { top: 10px; padding: 5px 14px 5px 9px; font-size: 11px; }

/* ---------- Промо-блоки ---------- */
.promos { display: flex; flex-wrap: wrap; gap: 12px; }
.promo { position: relative; flex: 1 1 520px; min-width: 0; min-height: 320px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px 24px; padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) 0; color: #FFF; }
.promo--ny { background: linear-gradient(120deg, #E31B3F 0%, #8E0F2A 100%); }
.promo--gift { background: linear-gradient(120deg, #7C3AED 0%, #3B0D99 100%); }
.promo__text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: clamp(22px, 3vw, 40px); }
.promo__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.promo__title { margin: 0; font: 900 clamp(38px, 4.2vw, 60px)/0.9 var(--display); text-transform: uppercase; }
.promo__lead { font-weight: 600; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.promo__art { flex: 1 1 200px; align-self: flex-end; width: 100%; max-width: 250px; height: auto; margin: 0 auto; transition: transform .3s; }
.promo:hover .promo__art { transform: translateY(-4px); }
.promo__img { flex: 1 1 150px; align-self: flex-end; min-width: 0; width: 100%; max-width: 210px; height: auto; margin: 0 auto 26px; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .35)); transition: transform .3s; }
.promo:hover .promo__img { transform: translateY(-4px); }
@media (max-width: 600px) { .promo__img { max-width: 170px; margin-bottom: 18px; } }
.btn-white { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; background: #FFF; color: var(--ink); font-weight: 800; font-size: 15px; transition: background-color .15s; }
.promo--ny:hover .btn-white, .btn-white:hover { background: var(--turq); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; background: #FFF; color: var(--ink); font-weight: 800; font-size: 15px; transition: background-color .15s; }
.chip:hover { background: var(--turq); }

/* ---------- Переваги ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.service__icon { width: 48px; height: 48px; display: grid; place-items: center; }
.service__icon svg { width: 26px; height: 26px; }
.service__title { font-weight: 800; font-size: 17px; line-height: 1.25; }
.service__text { font-weight: 500; font-size: 14px; color: var(--muted); }

/* ---------- Відгуки ---------- */
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 44px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 240px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.review__top { display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: #2A2A2A; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.5; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.review__name { display: block; font-weight: 800; font-size: 15px; line-height: 1.2; }
.review__item { display: block; margin-top: 4px; font-weight: 500; font-size: 13px; color: var(--muted); }

/* ---------- Підвал ---------- */
.footer { margin-top: 72px; background: var(--black); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.footer__about { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.footer__logo { height: 52px; width: auto; }
.footer__about p { color: var(--muted); font-weight: 500; }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.footer__cta p { max-width: 300px; font-weight: 800; font-size: 18px; line-height: 1.3; }
.btn-grad { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; background: var(--brand); color: var(--ink); font-weight: 800; font-size: 15px; transition: filter .15s; }
.btn-grad:hover { filter: brightness(1.1); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 36px 0; }
.footer__h { margin: 0 0 14px; font: 900 18px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-weight: 600; }
.footer__list a { transition: color .15s; }
.footer__list a:hover { color: var(--turq); }
.footer__strong { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wordmark { width: 100%; height: auto; }

/* ---------- Кошик ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .72); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: #0F0F0F; border-left: 1px solid var(--line-2);
  transform: translateX(100%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.cart-open .overlay { opacity: 1; visibility: visible; transition: opacity .2s; }
.cart-open .drawer { transform: none; visibility: visible; transition: transform .25s ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.drawer__title { margin: 0; font: 900 30px/1 var(--display); text-transform: uppercase; }
.drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px; }
.drawer__empty { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 48px 0; text-align: center; color: var(--muted); font-weight: 600; }
.drawer__empty img { width: 120px; height: auto; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 64px; height: 64px; display: grid; place-items: center; background: var(--surface); }
.line__img .art { width: 82%; height: 82%; overflow: visible; }
.line__pic { width: 86%; height: 86%; object-fit: contain; }
.line__name { margin-bottom: 8px; font-weight: 700; font-size: 14px; line-height: 1.3; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; font-weight: 800; font-size: 16px; transition: background-color .15s; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line__price { font-weight: 800; white-space: nowrap; }
.remove { padding: 4px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: underline; }
.remove:hover { color: var(--text); }
.drawer__foot { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--line-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 18px; }
.total strong { font-size: 24px; white-space: nowrap; }
.checkout { min-height: 52px; border: 0; background: var(--turq); color: var(--ink); font-weight: 800; font-size: 16px; transition: background-color .15s; }
.checkout:hover { background: var(--turq-hover); }
.checkout:disabled { background: var(--surface-3); color: #808080; cursor: not-allowed; }
.note { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Сповіщення ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  max-width: calc(100% - 32px); padding: 12px 18px;
  background: var(--turq); color: var(--ink); font-weight: 800; font-size: 14px;
  opacity: 0; pointer-events: none; transform: translate(-50%, 20px);
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Сторінка товару ---------- */
.crumbs { padding-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; flex: none; background: var(--line-2); }
.crumbs a { transition: color .15s; }
.crumbs a:hover { color: var(--turq); }
.crumbs [aria-current] { color: var(--text); }

.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding-top: 18px; }
.pdp__gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pdp__stage { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 55% at 50% 46%, #1C1C1C 0%, #0F0F0F 72%); border: 1px solid var(--line); }
.pdp__stage > img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.pdp__stage > img.is-photo { width: 100%; height: 100%; object-fit: contain; filter: none; }
.pdp__step { position: absolute; top: 50%; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .6); transform: translateY(-50%); transition: border-color .15s, color .15s; }
.pdp__step:hover { border-color: var(--turq); color: var(--turq); }
.pdp__step svg { width: 20px; height: 20px; }
.pdp__step--prev { left: 12px; }
.pdp__step--next { right: 12px; }
.pdp__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(58px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb { aspect-ratio: 1 / 1; padding: 4px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumb[data-kind="photo"] { padding: 0; }
.pdp__thumb[data-kind="photo"] img { object-fit: cover; }
.pdp__thumb:hover { border-color: rgba(30, 227, 207, .45); }
.pdp__thumb[aria-current="true"] { border-color: var(--turq); box-shadow: inset 0 0 0 1px var(--turq); }

.pdp__info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pdp__sku { font-size: 13px; font-weight: 600; color: var(--muted); }
.pdp__title { margin: 0; font: 800 clamp(24px, 2.4vw, 34px)/1.15 var(--ui); letter-spacing: -0.01em; text-wrap: balance; }
.pdp__lead { font-weight: 500; font-size: 16px; line-height: 1.55; color: #CFCFCF; }
.pdp__stock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.in-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--turq); }
.in-stock::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--turq); box-shadow: 0 0 10px var(--turq); }
.pdp__buybox { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.price--xl { font-size: clamp(30px, 3vw, 40px); }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp__actions > [data-buy-slot] { flex: 1 1 220px; display: flex; }
.pdp__actions .buy { flex: 1 1 auto; margin: 0; min-height: 56px; font-size: 16px; }
.pdp__actions .buy--ghost { flex: 1 1 200px; }
.fav--box { position: static; width: 56px; height: 56px; flex: none; border: 1px solid var(--line-2); transition: border-color .15s; }
.fav--box:hover { border-color: var(--heart); }
.pdp__keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pdp__keys li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); }
.pdp__keys strong { font: 900 26px/1 var(--display); color: var(--turq); }
.pdp__keys span { font-weight: 600; font-size: 13px; color: var(--muted); }
.pdp__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 14px; }
.pdp__perks li { display: flex; align-items: baseline; gap: 10px; }
.pdp__perks li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--turq); transform: translateY(-2px); }

.pdp-nav { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 40px; }
.pdp-nav .tab { display: inline-flex; align-items: center; }
.pdp-nav .tab:hover { color: var(--turq); }

.prose { max-width: 860px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.7; color: #D6D6D6; }
.prose h3 { margin: 16px 0 0; font: 800 21px/1.3 var(--ui); color: var(--text); }
.prose ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--turq); }
.prose strong { color: var(--text); }

.specs { margin: 0; max-width: 860px; border: 1px solid var(--line); }
.specs__row { display: grid; grid-template-columns: minmax(150px, .9fr) minmax(0, 1.1fr); gap: 4px 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.specs__row:nth-child(odd) { background: var(--surface); }
.specs__row:last-child { border-bottom: 0; }
.specs dt { font-weight: 600; color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; }

.info-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.info-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.info-card::before { content: ""; width: 32px; height: 4px; background: var(--brand); }
.info-card h3 { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.25; }
.info-card p { font-weight: 500; font-size: 14px; color: var(--muted); }

.faq { max-width: 860px; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); transition: border-color .15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; list-style: none; cursor: pointer; font-weight: 800; font-size: 16px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 28px/1 var(--ui); color: var(--turq); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--turq); }
.faq details p { padding: 0 18px 18px; line-height: 1.65; color: #CFCFCF; }

.pdp-bar { display: none; }
.pdp__art { width: 70%; height: 70%; overflow: visible; }
.in-stock--pre { color: #FFD23F; }
.in-stock--pre::before { background: #FFD23F; box-shadow: 0 0 10px #FFD23F; }
.in-stock--out { color: var(--muted); }
.in-stock--out::before { background: var(--muted); box-shadow: none; }
.ship--pre { color: #FFD23F; }
.ship--pre::before { background: #FFD23F; }
.ship--out { color: var(--muted); }
.ship--out::before { background: var(--muted); }
.buy:disabled { cursor: not-allowed; opacity: .6; }
.menu__all { justify-content: center; gap: 8px; color: var(--turq); }
.menu__all .tile__arrow { color: var(--turq); }
.empty--left { text-align: left; grid-column: auto; }

/* ---------- Поля форм ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13px; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .f-input, .sort select {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: #000; border: 1px solid var(--line-2); color: var(--text);
  font: 500 15px/1.4 var(--ui); -webkit-appearance: none; appearance: none; transition: border-color .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .f-input:focus, .sort select:focus { outline: none; border-color: var(--turq); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-note.is-error { color: #FF6B81; }
.form-note.is-ok { color: var(--turq); }

/* ---------- Оформлення замовлення в кошику ---------- */
.order-form { display: flex; flex-direction: column; gap: 14px; padding: 12px 0 20px; }
.order-form__title { font: 900 22px/1 var(--display); text-transform: uppercase; }
.back-link { align-self: flex-start; padding: 6px 0; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; }
.back-link:hover { color: var(--turq); }
.pay-note { padding: 12px 14px; background: #000; border-left: 3px solid var(--turq); font-size: 13px; font-weight: 600; color: #CFCFCF; }
.order-done { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 40px 0; text-align: center; color: #CFCFCF; font-weight: 600; }
.order-done img { width: 120px; height: auto; }
.order-done__num { font: 900 30px/1 var(--display); text-transform: uppercase; color: var(--turq); }

/* ---------- Відгуки на сторінці товару ---------- */
.pdp-reviews { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 12px; align-items: start; }
.pdp-reviews__list { display: flex; flex-direction: column; gap: 12px; }
.pdp-reviews__list .review { min-height: 0; }
.stars .on { fill: #FFD23F; }
.review__reply { padding: 12px 14px; background: #000; border-left: 3px solid var(--turq); font-size: 14px; color: #CFCFCF; }
.review-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.review-form__title { font: 900 24px/1 var(--display); text-transform: uppercase; }
.review-form .buy { margin: 0; }
.rate-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; border: 0; }
.rate-input label { cursor: pointer; }
.rate-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-input svg { width: 30px; height: 30px; fill: #2A2A2A; transition: fill .12s, transform .12s; }
.rate-input label:hover svg, .rate-input label:hover ~ label svg,
.rate-input input:checked ~ svg, .rate-input label:has(input:checked) ~ label svg { fill: #FFD23F; }
.rate-input input:focus-visible + .sr-only + svg { outline: 2px solid var(--turq); outline-offset: 2px; }
.avatar { background: var(--turq); color: var(--ink); }
.review__item { transition: color .15s; }
a.review__item:hover { color: var(--turq); }

/* ---------- Сторінка категорії ---------- */
.cat-head { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; max-width: 860px; }
.cat-head .h2 { font-size: clamp(36px, 4vw, 56px); }
.cat-head__desc { font-weight: 500; font-size: 16px; line-height: 1.6; color: #CFCFCF; }
.cat-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 28px; }
.filters { position: sticky; top: 182px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.filters__head { display: none; }
.filters__group { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-bottom: 1px solid var(--line); }
.filters__label { font: 900 17px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.filters__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.filters__cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 0 10px; margin: 0 -10px; font-weight: 600; font-size: 14px; color: #CFCFCF; transition: background-color .15s, color .15s; }
.filters__cats a:hover { background: var(--surface-2); color: var(--text); }
.filters__cats a[aria-current="page"] { background: var(--surface-2); color: var(--turq); font-weight: 800; box-shadow: inset 3px 0 0 var(--turq); }
.filters__cats span { color: var(--muted); font-size: 12px; font-weight: 700; }
.filters__sub a { min-height: 34px; padding-left: 24px; font-size: 13.5px; }

/* Підкатегорії на сторінці розділу: плитки з фото; у підкатегорії — компактний ряд, що гортається вбік */
.subcats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.subcat { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 10px 16px 10px 10px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .2s; }
.subcat:hover { border-color: var(--turq); transform: translateY(-2px); }
.subcat[aria-current="page"] { border-color: var(--turq); box-shadow: inset 0 0 0 1px var(--turq); }
.subcat__media { width: 76px; height: 76px; flex: none; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 48%, #1A1A1A 0%, #0F0F0F 72%); }
.subcat__media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); transition: transform .3s; }
.subcat:hover .subcat__media img { transform: scale(1.06); }
.subcat__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.subcat__name { font-weight: 800; font-size: 15px; line-height: 1.25; }
.subcat__count { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.subcat--all { padding-left: 16px; }
.subcats--compact { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; }
.subcats--compact::-webkit-scrollbar { display: none; }
.subcats--compact .subcat { flex: none; min-height: 62px; gap: 10px; padding: 6px 14px 6px 6px; }
.subcats--compact .subcat:hover { transform: none; }
.subcats--compact .subcat__media { width: 48px; height: 48px; }
.subcats--compact .subcat--all { padding: 6px 16px; }
.subcats--compact .subcat__name { font-size: 14px; white-space: nowrap; }
@media (max-width: 1100px) { .subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .subcats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .subcat { min-height: 76px; gap: 10px; padding: 8px 10px 8px 8px; }
  .subcat__media { width: 58px; height: 58px; }
  .subcat__name { font-size: 14px; }
}
.f-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; color: var(--muted); }
.f-input { min-height: 42px; }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.f-chip { min-height: 34px; padding: 0 10px; border: 1px solid var(--line-2); background: transparent; font-weight: 700; font-size: 12.5px; transition: border-color .15s, background-color .15s, color .15s; }
.f-chip:hover { border-color: var(--turq); }
.f-chip[aria-pressed="true"] { background: var(--turq); border-color: var(--turq); color: var(--ink); }
.f-check { display: flex; align-items: center; gap: 10px; min-height: 34px; cursor: pointer; font-weight: 600; font-size: 14px; }
.f-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-box { width: 18px; height: 18px; flex: none; border: 1.5px solid #4A4A4A; display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.f-check input:checked + .f-box { background: var(--turq); border-color: var(--turq); }
.f-check input:checked + .f-box::after { content: ""; width: 9px; height: 5px; border: solid var(--ink); border-width: 0 0 2.4px 2.4px; transform: translateY(-1px) rotate(-45deg); }
.f-check input:focus-visible + .f-box { outline: 2px solid var(--turq); outline-offset: 2px; }
.f-check.is-off { opacity: .38; cursor: default; }
.f-text { flex: 1 1 auto; }
.f-count { color: var(--muted); font-size: 12px; font-weight: 700; }
.filters__foot { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.filters__apply { display: none; margin: 0; }
.filters__reset { min-height: 40px; border: 1px solid var(--line-2); background: transparent; font-weight: 700; font-size: 14px; transition: border-color .15s, color .15s; }
.filters__reset:hover { border-color: var(--turq); color: var(--turq); }
.cat-main { min-width: 0; }
.cat-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.cat-count { font-weight: 700; color: var(--muted); }
.cat-toolbar__right { display: flex; align-items: center; gap: 8px; }
.sort select { min-height: 44px; padding-right: 40px; font-weight: 700; font-size: 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9 L12 15 L18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.filters-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; font-weight: 800; font-size: 14px; }
.filters-btn svg { width: 18px; height: 18px; }
.filters-btn[data-count]:not([data-count=""])::after { content: attr(data-count); min-width: 20px; height: 20px; padding: 0 5px; background: var(--turq); color: var(--ink); font: 800 12px/20px var(--ui); text-align: center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters[hidden] { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 12px; border: 1px solid var(--turq); background: rgba(30, 227, 207, .08); color: var(--text); font-weight: 700; font-size: 13px; }
.fchip svg { width: 14px; height: 14px; color: var(--turq); }
.fchip:hover { background: rgba(30, 227, 207, .16); }
.fchip--reset { border-color: var(--line-2); background: transparent; color: var(--muted); }
.cat-grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cat-empty .buy { margin: 0; padding: 0 22px; }
.filters-overlay { display: none; }

/* ---------- Адаптивність ---------- */
@media (max-width: 1100px) {
  .cat-grid, .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .cat-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp-reviews { grid-template-columns: minmax(0, 1fr); }
  /* фільтри — висувна панель */
  .cat-layout { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 110; width: min(380px, 100%);
    overflow-y: auto; border: 0; border-right: 1px solid var(--line-2);
    transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
  }
  .filters-open .filters { transform: none; visibility: visible; transition: transform .25s ease; }
  .filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
  .filters__title { font: 900 28px/1 var(--display); text-transform: uppercase; }
  .filters__apply { display: flex; }
  .filters-btn { display: inline-flex; }
  .filters-overlay { display: block; position: fixed; inset: 0; z-index: 105; background: rgba(0, 0, 0, .72); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
  .filters-open .filters-overlay { opacity: 1; visibility: visible; transition: opacity .2s; }
  html.filters-open { overflow: hidden; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  .header { position: static; }
  .logo img { height: 42px; }
  .cat-grid, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid--odd > :first-child { grid-column: 1 / -1; }   /* непарна кількість — перша плитка на всю ширину */
  .cat-grid--odd > :first-child .tile__media { position: relative; aspect-ratio: 8 / 3; min-height: 0; overflow: hidden; }
  .cat-grid--odd > :first-child .tile__img { position: absolute; left: 15%; top: 7%; width: 70%; height: 86%; }
  .section { padding-top: 44px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__body { padding: 12px 12px 0; }
  .buy { margin: 12px; min-height: 44px; font-size: 14px; }
  .tag { font-size: 11px; padding: 5px 14px 5px 9px; }
  .pdp__step { width: 40px; height: 40px; }
  .specs__row { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .prose { font-size: 15px; }
  /* липка панель «ціна + Купити» внизу екрана */
  .pdp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .94); border-top: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .pdp-bar .price { font-size: 22px; }
  .pdp-bar > [data-buy-slot] { flex: 1 1 auto; display: flex; }
  .pdp-bar .buy { flex: 1 1 auto; margin: 0; min-height: 48px; }
  .has-bar { padding-bottom: 72px; }
  .has-bar .toast { bottom: 92px; }
}
@media (max-width: 420px) {
  .menu a { min-height: 50px; gap: 8px; padding: 0 8px; font-size: 13.5px; line-height: 1.2; }
  .menu__icon { width: 30px; height: 30px; }
  .services { grid-template-columns: 1fr 1fr; gap: 8px; }
  .service { padding: 16px; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp__keys strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
