/* Yoo!Tech — світлий вітринний стиль: біле поле, туманно-блакитні «сцени» під фото, темно-синій текст, сигнальний синій для дій. */
/* Onest (Google Fonts, SIL OFL 1.1) — український шрифт; файли на сайті, без запитів до Google */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #ffffff; --mist: #f1f5fa; --mist-2: #e6edf6; --ice: #dfeaff;
  --ink: #0f1c33; --slate: #56627a; --line: #e2e8f0;
  --signal: #1764f0; --signal-hi: #0f52d1; --on-signal: #ffffff;
  --ok: #12804a; --order: #a35a00; --out: #687286; --err: #c62828;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.55 "Onest", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .logo, .slide-title, .price, .card-price, .slide-price, .total { font-family: "Onest", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, system-ui, sans-serif; }
a { color: var(--signal); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1 0 auto; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; margin: .5em 0 .3em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin: 2em 0 .8em; }
.muted { color: var(--slate); }
.small { font-size: .875rem; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgb(15 28 51 / .07); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: none; margin-bottom: -3px; filter: drop-shadow(0 4px 8px rgb(23 100 240 / .3)); transition: transform .3s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }
.top-nav { display: flex; gap: 22px; margin-right: auto; }
.top-nav a { color: var(--slate); text-decoration: none; font-size: .95rem; transition: color .2s; }
.top-nav a:hover { color: var(--ink); }
/* кнопки кабінету й кошика: круглі, іконки Lucide (ISC), лічильник — бейдж у куті */
.acc-link, .cart-link { position: relative; display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: rgb(255 255 255 / .9); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .15s var(--ease), color .2s; }
.acc-link:hover, .cart-link:hover { color: var(--signal); border-color: rgb(23 100 240 / .3); box-shadow: 0 8px 20px -10px rgb(23 100 240 / .45); }
.acc-link:active, .cart-link:active { transform: scale(.94); }
.hi { width: 22px; height: 22px; }
.search .hi { width: 20px; height: 20px; }
.acc-avatar { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: linear-gradient(140deg, #5b9bff, var(--signal)); color: #fff; font-weight: 700; font-size: 1rem; }
.acc-link.is-in { border-color: rgb(23 100 240 / .45); }
.top-row .acc-link + .cart-link { margin-left: -18px; }
.cart-link .cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; line-height: 20px; font-size: .72rem; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.cart-ico { width: 16px; height: 13px; border: 2px solid currentColor; border-top-width: 0; border-radius: 0 0 5px 5px; position: relative; margin-top: 5px; }
.cart-ico::before { content: ""; position: absolute; left: 2px; right: 2px; top: -7px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }
.cart-ico::after { content: ""; position: absolute; left: -4px; right: -4px; top: -1px; height: 2px; background: currentColor; border-radius: 2px; }
.cart-count { display: inline-block; min-width: 1.6em; padding: 0 .45em; border-radius: 999px; background: var(--signal); color: var(--on-signal); font-size: .78rem; line-height: 1.6; text-align: center; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* пошук */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search { display: flex; align-items: center; position: relative; flex: 0 1 300px; }
.search input { height: 42px; padding: 0 44px 0 16px; border-radius: 999px; background: var(--mist); border-color: transparent; }
.search input:focus { background: var(--paper); }
.search input::-webkit-search-cancel-button { display: none; }
.search button { position: absolute; right: 2px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: none; color: var(--slate); cursor: pointer; display: grid; place-items: center; }
.search button:hover { color: var(--signal); }
.search-ico { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; position: relative; margin: -3px 0 0 -3px; }
.search-ico::after { content: ""; position: absolute; width: 2px; height: 7px; background: currentColor; border-radius: 2px; right: -4px; bottom: -6px; transform: rotate(-45deg); }
.search-big { max-width: 560px; margin: 0 0 8px; gap: 8px; }
.search-big input { height: 50px; background: var(--paper); border-color: var(--line); padding-right: 16px; }
.search-big .btn { position: static; width: auto; height: 50px; padding: 0 24px; color: var(--on-signal); background: var(--signal); }
.search-big .btn:hover { color: var(--on-signal); }

/* фільтри категорії */
.shop { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding: 18px 16px; border-radius: var(--r-lg); background: rgb(255 255 255 / .92); border: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--mist-2) transparent; }
.shop-side::before { content: "Фільтри"; display: block; margin: 0 0 10px; font-weight: 700; font-size: 1.05rem; }
.filters-box > summary { display: none; }
.filters { display: grid; gap: 0; }
.f-group { border: 0; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
.f-group:first-child { padding-top: 0; }
.f-group legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-weight: 700; font-size: .98rem; color: var(--ink); }
.f-price-row { clear: both; display: flex; align-items: center; gap: 8px; }
.f-price-row label { margin: 0; flex: 1; }
.f-price-row input { height: 40px; padding: 0 10px; }
.f-check { clear: both; display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; cursor: pointer; font-size: .95rem; }
.f-check:hover { color: var(--signal); }
.f-check input { width: 18px; height: 18px; flex: none; accent-color: var(--signal); }
.f-check small { margin-left: auto; color: var(--slate); }
.f-reset { appearance: none; border: 0; background: none; font: inherit; cursor: pointer; justify-self: start; margin-top: 12px; padding: 6px 0; color: var(--signal); }
.f-reset:hover { background: none; color: var(--signal-hi); text-decoration: underline; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.shop-main .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.shop-main { min-height: calc(100vh - 120px); } /* сторінка не «обвалюється» до футера, коли після фільтра лишається мало товарів */
.f-sort { margin: 0; }
select { font: inherit; color: var(--ink); height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: linear-gradient(45deg, transparent 50%, var(--slate) 50%) no-repeat calc(100% - 18px) 50% / 5px 5px, linear-gradient(-45deg, transparent 50%, var(--slate) 50%) no-repeat calc(100% - 13px) 50% / 5px 5px, var(--paper); appearance: none; cursor: pointer; }
select:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgb(23 100 240 / .15); }
.f-count { color: var(--slate); font-size: .9rem; margin: 0; }
.empty { padding: 32px; border-radius: var(--r-lg); background: var(--mist); margin: 0 0 40px; }
.empty p { margin: 0 0 14px; }

/* вступ і банер */
.intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 4px 24px; padding: 22px 0 18px; }
.intro h1 { margin: 0; max-width: 22ch; }
.intro p { margin: 0; color: var(--slate); }

.show { position: relative; border-radius: var(--r-lg); background: radial-gradient(110% 95% at 76% 50%, #ffffff 0%, var(--ice) 40%, var(--mist) 75%); overflow: hidden; }
.show-track { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; padding: clamp(28px, 4.5vw, 56px) clamp(28px, 5vw, 64px) clamp(44px, 5vw, 64px); min-height: clamp(360px, 36vw, 460px); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.slide-cat { display: inline-block; font-size: .95rem; font-weight: 600; color: var(--signal); text-decoration: none; margin-bottom: 14px; }
.slide-cat:hover { text-decoration: underline; }
.slide-title { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 12px; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide-title a { color: var(--ink); text-decoration: none; }
.slide-kind { margin: 0 0 22px; color: var(--slate); font-size: 1.1rem; max-width: 32ch; }
.slide-price { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 22px; font-variant-numeric: tabular-nums; }
.slide-price s { font-size: .65em; color: var(--slate); font-weight: 400; margin-right: 6px; }
.slide-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.slide-stage { display: block; position: relative; aspect-ratio: 1; justify-self: center; width: 100%; max-width: 400px; }
.slide-stage::before { content: ""; position: absolute; inset: 14% 8% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgb(23 100 240 / .2), transparent); filter: blur(12px); }
.slide-stage img { position: relative; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: var(--r-md); }
.slide-text > *, .slide-stage img { transition: transform .8s var(--ease), opacity .8s var(--ease); }
.slide:not(.is-on) .slide-text > * { transform: translateY(14px); opacity: 0; }
.slide:not(.is-on) .slide-stage img { transform: translateX(40px) scale(.94); opacity: 0; }
.slide.is-on .slide-text > :nth-child(2) { transition-delay: .06s; }
.slide.is-on .slide-text > :nth-child(3) { transition-delay: .12s; }
.slide.is-on .slide-text > :nth-child(4) { transition-delay: .18s; }
.slide.is-on .slide-text > :nth-child(5) { transition-delay: .24s; }
.show-dots { position: absolute; left: clamp(28px, 5vw, 64px); bottom: 18px; display: flex; gap: 8px; }
.dot { appearance: none; border: 0; padding: 10px 0; background: none; cursor: pointer; }
.dot span { display: block; width: 44px; height: 4px; border-radius: 4px; background: rgb(15 28 51 / .14); overflow: hidden; }
.dot span::after { content: ""; display: block; height: 100%; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.dot.is-on span::after { animation: fill 6s linear forwards; }
.show:hover .dot.is-on span::after, .show:focus-within .dot.is-on span::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* кнопки */
.btn { appearance: none; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--signal); color: var(--on-signal); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, transform .15s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--signal-hi); box-shadow: 0 6px 18px rgb(23 100 240 / .28); }
.btn:active { transform: scale(.97); }
.btn:disabled { cursor: default; }
.btn-big { padding: 14px 26px; font-size: 1.02rem; }
.btn-soft { background: rgb(255 255 255 / .85); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(15 28 51 / .1); }
.btn-soft:hover { background: #fff; box-shadow: inset 0 0 0 1px rgb(15 28 51 / .22); }
.btn.is-added, .btn.is-added:hover { background: var(--ok); box-shadow: none; }
.btn.is-added::before { content: ""; width: 11px; height: 6px; border: solid currentColor; border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); animation: tick .35s var(--ease); }
@keyframes tick { from { transform: translateY(-2px) rotate(-45deg) scale(0); } }
.btn-link { background: none; color: var(--slate); padding: 6px 10px; font-weight: 400; border-radius: 8px; }
.btn-link:hover { background: var(--mist); color: var(--err); box-shadow: none; }

/* плитки категорій */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.sec-head a:hover { text-decoration: underline; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tiles a { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 26px 14px 20px; border-radius: var(--r-md); background: var(--mist); color: var(--ink); text-decoration: none; transition: background .25s; }
.tiles a:hover { background: var(--ice); }
.tile-ico { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 16px; border-radius: 22px; background: linear-gradient(140deg, #5b9bff 0%, var(--signal) 52%, #0d47c4 100%); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 22px -6px rgb(23 100 240 / .55); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile-ico .ico { width: 42px; height: 42px; stroke-width: 1.6; }
.tile-ico .ico [fill-opacity] { fill-opacity: .28; }
.tiles a:hover .tile-ico { transform: translateY(-4px) scale(1.04); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 16px 28px -8px rgb(23 100 240 / .6); }
.tile-name { font-weight: 600; line-height: 1.3; }
.tiles small { color: var(--slate); margin-top: 2px; }

/* картки товарів */
.grid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 28px 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 6px; }
.card-out .card-img img { opacity: .5; }
.card-link { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.card-img { display: block; aspect-ratio: 1; background: var(--mist); border-radius: var(--r-md); padding: 8%; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card-link:hover .card-img img { transform: scale(1.05); }
.card-link:hover .card-name { color: var(--signal); }
.card-name { font-size: .95rem; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card-price, .price { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card-price s, .price s { color: var(--slate); font-weight: 400; font-size: .8em; margin-right: 4px; }
.card .btn { margin-top: 8px; align-self: flex-start; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; margin: 0; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge.ok { color: var(--ok); } .badge.order { color: var(--order); } .badge.out { color: var(--out); }

/* сторінка товару */
.crumbs { font-size: .9rem; color: var(--slate); margin-top: 18px; }
.crumbs + h1 { margin: .3em 0 .6em; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.product { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; margin-top: 12px; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(5, 1fr); }
.gallery li { background: var(--mist); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; padding: 8%; transition: box-shadow .2s; }
.gallery li:first-child { grid-column: 1 / -1; border-radius: var(--r-lg); padding: 6%; }
.gallery li:not(:first-child) { cursor: pointer; }
.gallery li:not(:first-child):hover { box-shadow: inset 0 0 0 2px var(--signal); }
.gallery img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buy { position: sticky; top: 88px; }
.buy h1 { margin-top: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.vendor { color: var(--slate); margin: 0 0 12px; }
.buy .price { font-size: 2rem; margin: 8px 0; }
.colors { margin: 18px 0 0; }
.colors-label { margin: 0 0 10px; color: var(--slate); font-size: .9rem; }
.colors-label b { color: var(--ink); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-size: .92rem; transition: border-color .2s, box-shadow .2s; }
a.swatch:hover { border-color: var(--slate); }
.swatch.is-on { border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); font-weight: 600; }
.swatch .dot { --c1: #c7ced9; width: 20px; height: 20px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--c1) 50%, var(--c2, var(--c1)) 50%); box-shadow: inset 0 0 0 1px rgb(15 28 51 / .18); }
.dot[data-c=black] { --c1: #1d1d1f; } .dot[data-c=white] { --c1: #ffffff; } .dot[data-c=gray] { --c1: #9aa0a8; } .dot[data-c=graphite] { --c1: #4a4e55; } .dot[data-c=pink] { --c1: #f5b8cb; } .dot[data-c=sky] { --c1: #9ccbff; } .dot[data-c=blue] { --c1: #2f62d8; } .dot[data-c=navy] { --c1: #1f2d5a; } .dot[data-c=red] { --c1: #d93333; } .dot[data-c=orange] { --c1: #f2891f; } .dot[data-c=green] { --c1: #3a9d5d; } .dot[data-c=yellow] { --c1: #f6c933; } .dot[data-c=purple] { --c1: #8a63d2; } .dot[data-c=beige] { --c1: #dcc8a8; } .dot[data-c=gold] { --c1: #d4af37; } .dot[data-c=silver] { --c1: #c9ccd1; } .dot[data-c=brown] { --c1: #7b4a2b; } .dot[data-c=teal] { --c1: #2bb5a8; } .dot[data-c=clear] { --c1: #e9eef4; }
.dot[data-c2=black] { --c2: #1d1d1f; } .dot[data-c2=white] { --c2: #ffffff; } .dot[data-c2=gray] { --c2: #9aa0a8; } .dot[data-c2=pink] { --c2: #f5b8cb; } .dot[data-c2=sky] { --c2: #9ccbff; } .dot[data-c2=blue] { --c2: #2f62d8; } .dot[data-c2=red] { --c2: #d93333; } .dot[data-c2=orange] { --c2: #f2891f; } .dot[data-c2=green] { --c2: #3a9d5d; } .dot[data-c2=yellow] { --c2: #f6c933; } .dot[data-c2=purple] { --c2: #8a63d2; } .dot[data-c2=silver] { --c2: #c9ccd1; } .dot[data-c2=teal] { --c2: #2bb5a8; } .dot[data-c2=clear] { --c2: #e9eef4; }
.qty-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 20px 0; padding: 20px; border-radius: var(--r-md); background: var(--mist); }
.qty-row label { margin: 0; color: var(--slate); font-size: .9rem; }
.qty-row input { width: 88px; display: block; margin-top: 4px; }
.specs { border-collapse: collapse; width: 100%; max-width: 760px; }
.specs th, .specs td { text-align: left; padding: 11px 12px; vertical-align: top; }
.specs tr:nth-child(odd) { background: var(--mist); }
.specs th { color: var(--slate); font-weight: 400; width: 45%; }
.desc { max-width: 760px; overflow-wrap: anywhere; }

/* форми */
input, textarea { font: inherit; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgb(23 100 240 / .15); }
label { display: block; margin: 0 0 14px; }
.radio { display: flex; gap: 8px; align-items: center; }
.radio input { width: auto; accent-color: var(--signal); }
fieldset { border: 1px solid var(--line); border-radius: var(--r-sm); margin: 0 0 14px; padding: 10px 14px; background: var(--paper); }
form.order { max-width: 560px; margin: 28px 0 40px; padding: clamp(18px, 4vw, 32px); border-radius: var(--r-lg); background: var(--mist); }
form.order h2 { margin-top: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.np-field { position: relative; margin: 0 0 14px; }
.np-field label { margin: 0; }
.np-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: 0 12px 32px rgb(15 28 51 / .14); }
.np-list li { padding: 9px 10px; border-radius: 8px; cursor: pointer; line-height: 1.35; }
.np-list li small { display: block; color: var(--slate); font-size: .85rem; }
.np-list li[aria-selected="true"], .np-list li:hover { background: var(--mist); }
.np-list .np-note { cursor: default; color: var(--slate); background: none !important; }
.np-field.is-picked input { border-color: var(--ok); }
.form-msg { min-height: 1.5em; }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok); }

/* кабінет у шапці */
.acc-ico { width: 18px; height: 18px; position: relative; }
.acc-ico::before { content: ""; position: absolute; left: 5px; top: 0; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50%; }
.acc-ico::after { content: ""; position: absolute; left: 1px; bottom: 0; width: 16px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 9px 9px 0 0; }

/* кнопка «Написати» */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 30; }
.chat summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--signal); color: var(--on-signal); font-weight: 600; cursor: pointer; box-shadow: 0 10px 28px rgb(23 100 240 / .35); transition: background .2s, transform .15s var(--ease); }
.chat summary::-webkit-details-marker { display: none; }
.chat summary:hover { background: var(--signal-hi); }
.chat-ico { width: 18px; height: 15px; border: 2px solid currentColor; border-radius: 8px 8px 8px 2px; }
.chat-menu { position: absolute; right: 0; bottom: calc(100% + 10px); width: 220px; padding: 12px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 40px rgb(15 28 51 / .18); display: grid; gap: 6px; }
.chat-menu p { margin: 0 0 4px; color: var(--slate); font-size: .9rem; }
.chat-menu a { display: block; padding: 10px 12px; border-radius: var(--r-sm); background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 600; }
.chat-menu a:hover { background: var(--mist-2); }
.chat-menu .chat-tg { background: #e3f2fd; color: #0b6aa8; }
.chat-menu .chat-vb { background: #efe9fb; color: #5b3aa6; }

/* відгуки */
.stars { color: #f5a623; letter-spacing: 1px; white-space: nowrap; }
.stars-off { color: var(--line); }
.rev-link { display: inline-flex; gap: 6px; align-items: center; color: var(--slate); text-decoration: none; font-size: .95rem; margin: -4px 0 8px; }
.reviews { max-width: 760px; margin: 40px 0; }
.reviews h2 small { color: var(--slate); font-weight: 400; font-size: .7em; }
.rev-avg { font-size: 1.1rem; }
.rev-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.rev { padding: 16px 18px; border-radius: var(--r-md); background: var(--mist); }
.rev p { margin: 8px 0 0; }
.rev-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
/* відгуки про магазин на головній — карусель */
.shop-rev .sec-head { align-items: center; }
.rev-nav { display: flex; gap: 8px; }
.rev-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, transform .15s var(--ease); }
.rev-arrow:hover { background: var(--ice); }
.rev-arrow:active { transform: scale(.92); }
.shop-rev .rev-avg { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 4px; }
.rev-big { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rev-rail { list-style: none; margin: 0 -16px; padding: 22px 16px 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.rev-rail::-webkit-scrollbar { display: none; }
.rev-rail .rev { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 22px 18px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.rev-rail .rev:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgb(15 28 51 / .3); }
.rev-rail .rev::before { content: "\201C"; position: absolute; top: -10px; left: 18px; font: 800 3.6rem/1 Georgia, serif; color: var(--signal); }
.rev-rail .rev-head { justify-content: space-between; }
.rev-rail .rev p { margin: 0; flex: 1; }
.rev-name { font-size: .95rem; }
.rev-prod { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm); background: var(--mist); color: var(--slate); text-decoration: none; font-size: .82rem; line-height: 1.3; }
.rev-prod:hover { color: var(--signal); }
.rev-prod img { width: 44px; height: 44px; flex: none; object-fit: contain; mix-blend-mode: multiply; }
.rev-prod span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rev-reply { padding-left: 12px; border-left: 3px solid var(--signal); color: var(--slate); }
.rev-form-box summary { list-style: none; display: inline-flex; }
.rev-form-box summary::-webkit-details-marker { display: none; }
.rev-form { margin-top: 16px; padding: 20px; border-radius: var(--r-lg); background: rgb(255 255 255 / .92); border: 1px solid var(--line); max-width: 560px; }
.rate-box { border: 0; padding: 0; margin: 0 0 14px; background: none; }
.rate-box legend { padding: 0; margin-bottom: 4px; }
.rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { margin: 0; font-size: 1.8rem; line-height: 1; color: var(--line); cursor: pointer; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #f5a623; }
.rate input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }

/* «Повідомити, коли з'явиться», питання про товар */
.alert-form { margin: 12px 0; padding: 16px; border-radius: var(--r-md); background: var(--mist); }
.alert-form p { margin: 0 0 8px; }
.alert-row { display: flex; gap: 8px; align-items: center; }
.alert-row label { flex: 1; margin: 0; }
.ask { color: var(--slate); }
.alike { margin: 40px 0; }

/* кабінет і «Моє замовлення» */
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc-head p { font-size: 1.2rem; font-weight: 600; margin: 0; }
.tg-login { min-height: 48px; margin: 16px 0; }
.order-card { padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgb(255 255 255 / .92); margin: 0 0 12px; max-width: 760px; }
.order-card ul { margin: 8px 0; padding-left: 20px; }
.order-card .order-lines { list-style: none; padding: 0; display: grid; gap: 8px; }
.order-lines li { display: flex; align-items: center; gap: 12px; }
.ol-pic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--mist); color: var(--slate); overflow: hidden; }
.ol-pic > svg { width: 26px; height: 26px; opacity: .6; }
.ol-pic a { display: block; width: 100%; height: 100%; padding: 4px; }
.ol-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.order-card p { margin: 6px 0 0; }
.order-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.track-form, .acc-form { margin-top: 12px; }

/* кошик */
.cart-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.cart-table th { font-weight: 400; color: var(--slate); font-size: .9rem; }
.cart-table th, .cart-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table td:first-child { display: flex; gap: 12px; align-items: center; }
.cart-table td:first-child a { color: var(--ink); text-decoration: none; }
.cart-table td:first-child a:hover { color: var(--signal); }
.cart-table img { width: 64px; height: 64px; object-fit: contain; background: var(--mist); border-radius: var(--r-sm); padding: 4px; flex: none; }
.cart-table input { width: 76px; }
.total { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.done { padding: 28px; border-radius: var(--r-lg); background: #e8f6ee; margin: 24px 0; }

/* сповіщення про додавання в кошик */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 20; display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 12px 32px rgb(15 28 51 / .28); transform: translateX(-50%); animation: toast-in .4s var(--ease); }
.toast a { color: #9cc0ff; font-weight: 600; white-space: nowrap; }
.toast.is-leaving { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { transform: translate(-50%, 20px); opacity: 0; } }
@keyframes toast-out { to { transform: translate(-50%, 20px); opacity: 0; } }

/* підвал */
.foot { margin-top: 112px; background: var(--ink); color: #aab6cc; font-size: .92rem; }
.foot a { color: #aab6cc; text-decoration: none; transition: color .2s; }
.foot a:hover { color: #fff; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: -48px; padding: 28px 32px; border-radius: var(--r-lg); background: linear-gradient(120deg, #1d6cf5, #0d47c4); color: #dbe7ff; box-shadow: 0 18px 40px -16px rgb(23 100 240 / .6); }
.foot-cta strong { display: block; color: #fff; font-size: 1.35rem; letter-spacing: -.02em; }
.foot .foot-cta .btn { background: #fff; color: var(--signal); }
.foot .foot-cta .btn:hover { background: #eaf1ff; color: var(--signal-hi); box-shadow: none; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 40px 0 36px; }
.foot-cols h2 { color: #fff; font-size: .95rem; letter-spacing: 0; margin: 0 0 14px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot .logo { color: #fff; font-size: 1.25rem; }
.foot-about { max-width: 30ch; margin: 14px 0 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.foot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-chips span { padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / .08); color: #dbe5f5; font-size: .8rem; font-weight: 600; }
.foot a:focus-visible { outline-color: #9cc0ff; }

@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shop { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
@media (max-width: 760px) {
  .top-row { gap: 6px 14px; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .top .search { order: 3; flex: 1 1 100%; }
  .shop { grid-template-columns: 1fr; gap: 12px; }
  .shop-side { position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; border-radius: 0; }
  .shop-side::before { content: none; }
  .shop-main .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-main { min-height: 0; }
  .filters-box[open] { padding: 0 4px; }
  .filters-box > summary { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--mist); font-weight: 600; cursor: pointer; list-style: none; }
  .filters-box > summary::-webkit-details-marker { display: none; }
  .filters-box > summary::after { content: ""; width: 8px; height: 8px; border: solid var(--slate); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
  .filters-box[open] > summary { margin-bottom: 14px; }
  .filters-box[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
  .search-big { display: none; }
  .shop-bar { margin-bottom: 12px; }
  .top-nav { gap: 14px; }
  .top-nav a + a { display: none; }
  .top-nav a { padding: 12px 4px; }
  .crumbs a { display: inline-block; padding: 10px 0; }
  .card-name { -webkit-line-clamp: 3; min-height: 4.2em; }
  .intro { padding: 14px 0 12px; }
  .slide { grid-template-columns: 1fr; padding: 20px 20px 52px; gap: 4px; min-height: 0; align-content: start; }
  .slide-stage { order: -1; max-width: 240px; }
  .slide-title { font-size: 2rem; }
  .slide-kind { font-size: 1rem; margin-bottom: 12px; }
  .slide-price { margin-bottom: 14px; font-size: 1.4rem; }
  .slide-cta .btn-big { padding: 12px 20px; }
  .show-dots { left: 20px; bottom: 10px; }
  .tiles { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-name { font-size: .82rem; overflow-wrap: anywhere; }
  .tiles small { font-size: .75rem; }
  .tiles a { padding: 14px 6px 12px; }
  .tile-ico { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 10px; }
  .tile-ico .ico { width: 30px; height: 30px; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .buy { position: static; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 2px 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card .btn { align-self: stretch; }
  .toast { bottom: 16px; }
  .foot { margin-top: 88px; }
  .foot-cta { padding: 22px 20px; margin-top: -40px; }
  .foot-cta strong { font-size: 1.15rem; }
  .foot-cta .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 32px; }
  .foot-cols > :first-child { grid-column: 1 / -1; }
}


/* ── «буст» головної 2026-11-26: банер, плашка довіри, картки, анімації ── */
.show { box-shadow: inset 0 0 0 1px rgb(15 28 51 / .04), 0 30px 60px -40px rgb(23 100 240 / .35); }
/* у кожного слайда власне тло: під час переходу фото з білим фоном (multiply) змішується з ним, а не з прозорістю — без білого спалаху */
.slide { background: radial-gradient(110% 95% at 76% 50%, #ffffff 0%, var(--ice) 40%, var(--mist) 75%); transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-on { transition: opacity .9s var(--ease), visibility 0s; }
.slide-stage { max-width: 440px; }
.slide-stage::before { inset: 6% 0 0; background: radial-gradient(closest-side, rgb(23 100 240 / .3), rgb(23 100 240 / .08) 60%, transparent); filter: blur(18px); transition: transform 1s var(--ease), opacity 1s var(--ease); }
.slide-stage::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 3%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgb(15 28 51 / .2), transparent); transition: transform 1s var(--ease), opacity 1s var(--ease); }
.slide:not(.is-on) .slide-stage::before, .slide:not(.is-on) .slide-stage::after { transform: scale(.6); opacity: 0; }
/* розмашистий перехід: нове фото залітає справа, старе відлітає вліво */
.slide-text > *, .slide-stage img { transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .7s var(--ease); }
.slide:not(.is-on) .slide-stage img { transform: translateX(160px) rotate(6deg) scale(.82); opacity: 0; }
.slide.was-on .slide-stage img { transform: translateX(-160px) rotate(-6deg) scale(.82); }
.slide:not(.is-on) .slide-text > * { transform: translateY(28px); }
.slide.was-on .slide-text > * { transform: translateY(-20px); transition-delay: 0s !important; }
.slide.is-on .slide-stage img { transition-delay: .08s; }

.trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.trust a { display: flex; height: 100%; color: var(--ink); text-decoration: none; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.trust a:hover { transform: translateY(-2px); border-color: rgb(23 100 240 / .35); box-shadow: 0 10px 24px -14px rgb(15 28 51 / .3); }
.trust a:hover b { color: var(--signal); }
.trust svg { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 12px; color: var(--signal); background: var(--ice); }
.trust b { display: block; font-size: .95rem; line-height: 1.25; }
.trust small { display: block; color: var(--slate); font-size: .8rem; line-height: 1.3; }

.grid .card { position: relative; padding: 10px 10px 14px; border-radius: calc(var(--r-md) + 6px); background: var(--paper); border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.grid .card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 22px 40px -22px rgb(15 28 51 / .35); }
.card-img { position: relative; background: linear-gradient(160deg, #f6f9fd 0%, #e9f0fa 100%); }
.card-link:hover .card-img img { transform: scale(1.07) translateY(-2px); }
.card-hit { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; }
.grid .card-name, .grid .card-price { padding: 0 4px; }
.grid .card-price { font-size: 1.3rem; }
.grid .badge { align-self: flex-start; margin: 0 4px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.grid .badge.ok { background: #e6f6ed; }
.grid .badge.order { color: #3d5a8a; background: #eaf0f9; }
.grid .badge.out { background: #f0f2f5; }
.grid .card .btn-add { margin: 8px 4px 0; }
.btn-add:not(.is-added)::before { content: "+"; font-size: 1.15em; line-height: 0; }
.btn:active { transform: scale(.95); }
/* тло сторінки: м'які хмаринки пливуть через увесь екран (шар більший за екран, плями не торкаються його країв — без прямих ліній) */
body::before, body::after { content: ""; position: fixed; z-index: -1; inset: -30%; pointer-events: none; will-change: transform; filter: blur(28px); }
body::before { background:
  radial-gradient(9% 7% at 30% 34%, rgb(120 170 255 / .42), transparent),
  radial-gradient(7% 6% at 35% 31%, rgb(120 170 255 / .38), transparent),
  radial-gradient(8% 6% at 25% 37%, rgb(140 180 255 / .34), transparent),
  radial-gradient(10% 7% at 66% 62%, rgb(150 150 255 / .3), transparent),
  radial-gradient(7% 5% at 71% 59%, rgb(150 150 255 / .28), transparent),
  radial-gradient(8% 6% at 61% 65%, rgb(170 160 255 / .24), transparent);
  animation: cloud-a 40s ease-in-out infinite alternate; }
body::after { background:
  radial-gradient(9% 7% at 64% 32%, rgb(100 200 255 / .32), transparent),
  radial-gradient(7% 5% at 69% 29%, rgb(100 200 255 / .3), transparent),
  radial-gradient(7% 6% at 59% 35%, rgb(130 205 255 / .26), transparent),
  radial-gradient(10% 7% at 34% 66%, rgb(110 160 255 / .32), transparent),
  radial-gradient(7% 6% at 39% 63%, rgb(110 160 255 / .28), transparent),
  radial-gradient(8% 5% at 29% 69%, rgb(130 175 255 / .24), transparent);
  animation: cloud-b 52s ease-in-out infinite alternate; }
@keyframes cloud-a { 0% { transform: translate3d(-18%, -6%, 0); } 50% { transform: translate3d(10%, 12%, 0); } 100% { transform: translate3d(20%, -8%, 0); } }
@keyframes cloud-b { 0% { transform: translate3d(16%, 10%, 0); } 50% { transform: translate3d(-12%, -8%, 0); } 100% { transform: translate3d(-20%, 12%, 0); } }
.top { background: rgb(255 255 255 / .72); }

body { background: linear-gradient(180deg, #f4f7fd 0%, #eef3fb 100%) fixed; overflow-x: clip; }

/* смуга «Під твою справу»: темно-синя на всю ширину вікна (тінь+clip — без горизонтальної прокрутки) */
.band { position: relative; margin: 56px 0; padding: 48px 0 52px; color: #fff; background: #0c1e44; box-shadow: 0 0 0 100vmax #0c1e44; clip-path: inset(0 -100vmax); }
.band::before { content: ""; position: absolute; inset: 0 -50vmax; pointer-events: none; background: radial-gradient(40% 70% at 15% 0%, rgb(23 100 240 / .55), transparent 70%), radial-gradient(35% 70% at 90% 100%, rgb(130 90 255 / .4), transparent 70%); }
.band h2 { position: relative; margin: 0 0 24px; color: #fff; }
.scenes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scene { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); color: var(--ink); text-decoration: none; background: linear-gradient(160deg, #ffffff 0%, #edf2f9 100%); isolation: isolate; }

/* каталог на головній: «бенто» — головна категорія велика, дві наступні широкі, решта менші; кожна плитка свого відтінку синього */
.cats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; }
.cats .b0 { grid-column: span 2; grid-row: span 2; }
.cats .b1, .cats .b2, .cats .wide-d { grid-column: span 2; }
.cats .full-d { grid-column: 1 / -1; }
.cat { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 26px; color: var(--ink); text-decoration: none; background: #eef3fa; isolation: isolate; transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgb(23 100 240 / .45); }
.b0 .cat { background: linear-gradient(150deg, #e7efff, #cfe0ff); }
.b1 .cat { background: linear-gradient(150deg, #eef4ff, #dde9ff); }
.b2 .cat { background: linear-gradient(150deg, #f3f6fb, #e3eaf5); }
.b4 .cat, .b7 .cat, .b10 .cat { background: #f4f7fb; }
.b5 .cat, .b8 .cat, .b11 .cat { background: #e9f0fb; }
.cat img, .cat-ico { position: absolute; right: -8%; bottom: -6%; width: 70%; height: 62%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.b0 .cat img, .b0 .cat-ico { width: 92%; height: 70%; right: -6%; bottom: -2%; }
.b1 .cat img, .b1 .cat-ico, .b2 .cat img, .b2 .cat-ico { width: 62%; height: 72%; right: -4%; }
.cat-ico { display: grid; place-items: center; color: var(--signal); mix-blend-mode: normal; }
.cat-ico .ico { width: 40%; height: 40%; }
.cat:hover img { transform: scale(1.07) rotate(-3deg); }
.cat-text { position: absolute; z-index: 1; left: 22px; top: 20px; right: 22px; display: flex; flex-direction: column; }
.cat-text b { font-size: 1.15rem; line-height: 1.2; letter-spacing: -.02em; max-width: 14ch; }
.b0 .cat-text b { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.035em; }
.cat-text small { color: var(--slate); font-size: .85rem; }
.scene img { position: absolute; inset: 8% 10% 24%; width: 80%; height: 68%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.scene:hover img { transform: scale(1.08) rotate(-2deg); }
.scene-text { position: absolute; left: 26px; right: 80px; bottom: 22px; display: flex; flex-direction: column; }
.scene-text b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; }
.scene-text small { color: var(--slate); font-size: .9rem; }
.scene-go { position: absolute; right: 22px; bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.2rem; transition: transform .3s var(--ease), background .3s; }
.scene:hover .scene-go { transform: translateX(4px); background: var(--signal); }

/* сторінка «Доставка, оплата, повернення»: блоки-картки; посилання з плашки довіри підсвічують свій блок */
.info-head { padding: 22px 0 8px; }
.info-head h1 { margin: 0 0 6px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 40px; }
.info-box { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r-lg); background: rgb(255 255 255 / .92); border: 1px solid var(--line); scroll-margin-top: 90px; transition: border-color .4s, box-shadow .4s; }
.info-box:target { border-color: var(--signal); box-shadow: 0 0 0 4px rgb(23 100 240 / .15), 0 20px 40px -24px rgb(23 100 240 / .5); }
.info-box h2 { margin: 4px 0 8px; font-size: 1.25rem; }
.info-box p, .info-box ul { margin: 0; color: var(--slate); }
.info-box ul { padding-left: 18px; }
.info-ico svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; color: var(--signal); background: var(--ice); }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } .info-box { padding: 18px; } }

/* кнопка «Нагору» — над кнопкою «Написати» */
.to-top { position: fixed; right: 18px; bottom: 84px; z-index: 30; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); box-shadow: 0 10px 24px -8px rgb(15 28 51 / .5); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--signal); }
.to-top span { width: 14px; height: 14px; margin-top: 6px; border: solid #fff; border-width: 3px 0 0 3px; transform: rotate(45deg); border-radius: 2px; }

/* плитки категорій: компактні білі, у кожної категорії свій колір іконки */
.tiles { gap: 12px; }
.tiles a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; text-align: left; gap: 0 14px; padding: 14px 16px; background: rgb(255 255 255 / .78); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tiles a:hover { background: #fff; transform: translateY(-3px); border-color: rgb(23 100 240 / .25); box-shadow: 0 14px 30px -18px rgb(15 28 51 / .35); }
.tile-ico { grid-row: 1 / 3; align-self: center; }
.tile-name { align-self: end; }
.tiles small { align-self: start; }
.tile-ico { width: 52px; height: 52px; margin: 0; border-radius: 16px; flex: none; background: linear-gradient(140deg, var(--c1, #5b9bff), var(--c2, #0d47c4)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 8px 18px -6px var(--c3, rgb(23 100 240 / .55)); }
.tile-ico .ico { width: 30px; height: 30px; }
.tiles a:hover .tile-ico { transform: rotate(-6deg) scale(1.06); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 12px 22px -6px var(--c3, rgb(23 100 240 / .6)); }
.tile-name { font-size: .95rem; }
.tiles small { margin-top: 0; }
.tiles li:nth-child(10n+1) { --c1: #5b9bff; --c2: #0d47c4; --c3: rgb(23 100 240 / .5); }
.tiles li:nth-child(10n+2) { --c1: #b18cff; --c2: #6a3df0; --c3: rgb(106 61 240 / .45); }
.tiles li:nth-child(10n+3) { --c1: #4fd6ff; --c2: #0a8fd6; --c3: rgb(10 143 214 / .45); }
.tiles li:nth-child(10n+4) { --c1: #ff8ac0; --c2: #e0387f; --c3: rgb(224 56 127 / .4); }
.tiles li:nth-child(10n+5) { --c1: #5ee0b0; --c2: #10a06b; --c3: rgb(16 160 107 / .4); }
.tiles li:nth-child(10n+6) { --c1: #ffb35c; --c2: #f0701a; --c3: rgb(240 112 26 / .4); }
.tiles li:nth-child(10n+7) { --c1: #8fa8ff; --c2: #3d55e0; --c3: rgb(61 85 224 / .45); }
.tiles li:nth-child(10n+8) { --c1: #ff8f8f; --c2: #e04848; --c3: rgb(224 72 72 / .4); }
.tiles li:nth-child(10n+9) { --c1: #52d8d8; --c2: #0f9a9a; --c3: rgb(15 154 154 / .4); }
.tiles li:nth-child(10n+10) { --c1: #c49bff; --c2: #9a3df0; --c3: rgb(154 61 240 / .4); }

.cart-link.bump { animation: cart-bump .5s var(--ease); }
@keyframes cart-bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.fly { position: fixed; z-index: 100; pointer-events: none; border-radius: 16px; object-fit: contain; background: var(--paper); box-shadow: 0 12px 30px -8px rgb(15 28 51 / .4); transition: transform .75s cubic-bezier(.5, -.3, .7, 1), opacity .75s ease-in; }

/* плавна поява блоків під час прокрутки — лише CSS; де браузер не вміє, блоки просто видно */
@supports (animation-timeline: view()) {
  [data-reveal], [data-reveal] .grid .card, [data-reveal] .tiles li, [data-reveal] .cats li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@keyframes reveal { from { opacity: 0; translate: 0 24px; } }

@media (max-width: 900px) {
  .trust { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rev-rail { grid-auto-columns: 82%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-auto-rows: 180px; }
  .scenes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .scenes li { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .trust { gap: 8px; }
  .trust a { padding: 10px; gap: 8px; }
  .trust svg { width: 32px; height: 32px; padding: 7px; }
  .trust small { display: none; }
  .grid .card { padding: 6px 6px 10px; }
  .band { margin: 40px 0; padding: 32px 0 36px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .cats .b1, .cats .b2, .cats .wide-d, .cats .full-d { grid-column: span 1; }
  .cats .b0, .cats .wide-m { grid-column: 1 / -1; grid-row: span 1; }
  .cat-text { left: 14px; top: 12px; right: 14px; }
  .cat-text b { font-size: .95rem; }
  .b0 .cat-text b { font-size: 1.4rem; }
  .b0 .cat img, .b0 .cat-ico { width: 62%; height: 82%; right: -4%; bottom: -8%; }
  .to-top { right: 12px; bottom: 76px; width: 46px; height: 46px; }
  .tiles a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; align-content: start; padding: 12px; gap: 2px; }
  .tiles .tile-ico { grid-row: auto; align-self: start; margin-bottom: 8px; }
  .tile-name { overflow-wrap: normal; hyphens: auto; }
  .tile-ico { width: 42px; height: 42px; border-radius: 13px; }
  .tile-ico .ico { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal] .grid .card, [data-reveal] .tiles li, [data-reveal] .cats li, body::before, body::after { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
@media (max-width: 760px) { .chat { right: 12px; bottom: 12px; } .chat summary { padding: 14px; } .chat-label { display: none; } .alert-row { flex-wrap: wrap; } }
@media (max-width: 480px) { .acc-link { margin-left: auto; } }
.tg-btn { background: #2aabee; }
.tg-btn:hover { background: #229ed9; }

/* ── правки 2026-11-26 (раунд 6) ── */
/* банер: фото «левітує» — піднімається з легким нахилом і опускається, тінь під ним дихає в такт */
.slide.is-on .slide-stage img { animation: levitate 5.5s ease-in-out 1s infinite; }
.slide.is-on .slide-stage::after { animation: levitate-shadow 5.5s ease-in-out 1s infinite; }
.slide.is-on .slide-stage::before { animation: levitate-glow 5.5s ease-in-out 1s infinite; }
@keyframes levitate {
  0%, 100% { translate: 0 0; rotate: 0deg; scale: 1; }
  30% { translate: 0 -26px; rotate: -2.5deg; scale: 1.03; }
  55% { translate: 0 -16px; rotate: 1deg; scale: 1.02; }
  80% { translate: 0 -4px; rotate: 1.8deg; scale: 1; }
}
@keyframes levitate-shadow {
  0%, 100% { scale: 1; opacity: 1; }
  30% { scale: .62 .8; opacity: .45; }
  55% { scale: .78 .9; opacity: .65; }
  80% { scale: .95; opacity: .9; }
}
@keyframes levitate-glow { 0%, 100% { scale: 1; } 30% { scale: 1.08; } 55% { scale: 1.03; } }
/* форми: панель біла, поля — світло-сірі (навпаки, як було) */
form.order { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgb(15 28 51 / .3); }
form.order input, form.order textarea, form.order fieldset { background: var(--mist); border-color: transparent; }
form.order input:focus, form.order textarea:focus { background: var(--paper); border-color: var(--signal); }
@media (prefers-reduced-motion: reduce) { .slide.is-on .slide-stage img, .slide.is-on .slide-stage::before, .slide.is-on .slide-stage::after { animation: none; } }
form.order .np-field.is-picked input { border-color: var(--ok); }
form.order .radio input { background: none; }

/* вступ категорії (SEO) */
.cat-intro { max-width: 72ch; color: var(--muted, #555); margin: -4px 0 18px; line-height: 1.55; }

/* ціна сайту нижча за маркетплейси */
.site-cheaper { display: inline-block; margin: 2px 0 10px; padding: 6px 10px; border-radius: 10px; background: #e9f8ef; color: #136c3a; font-size: .92em; }

/* промокод у кошику */
.promo-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.promo-row label { flex: 1 1 200px; }
.promo-ok { color: #136c3a; }
