/* Dr1ft_shop — світла вітрина з чорним банером і підвалом (за мотивами utnstore.com).
   --dark підставляється з адмінки (колір фону). */
:root {
  --dark: #000000;
  --bg: #ffffff;
  --text: #121212;
  --muted: #6b6b6b;
  --soft: #f3f3f3;
  --line: #e6e6e6;
  --sale: #c4362b;
  --page: 1400px;
  --gutter: clamp(16px, 3vw, 32px);
  --font: "Inter Tight", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 12px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5;
  min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--dark); color: #fff; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.main { flex: 1; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loading { padding: 140px 16px; display: grid; place-items: center; }
.spinner { width: 30px; height: 30px; border: 2px solid var(--line); border-top-color: var(--text); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- логотип (білий-на-чорному → маска кольору тексту) ---------- */
.logo-mask {
  display: block; background: currentColor; aspect-ratio: 1;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  -webkit-mask-mode: luminance; mask-mode: luminance;
}

/* ---------- рядок оголошення ---------- */
.ticker { background: var(--dark); color: #fff; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 600; height: 34px; display: flex; align-items: center; }
.ticker__track { display: inline-flex; animation: ticker 45s linear infinite; }
.ticker__track span { padding: 0 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 30; color: var(--text);
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  transition: background .3s, color .3s;
}
.header--dark { background: var(--dark); color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__inner {
  max-width: var(--page); margin: 0 auto; padding: 14px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; opacity: .62; transition: opacity .2s; }
.nav a:hover, .nav a.active { opacity: 1; }
.logo { text-decoration: none; display: block; color: inherit; }
.logo .logo-mask { width: 58px; height: 58px; }
.logo img { height: 58px; width: auto; }
.logo__text { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.header__icons { display: flex; justify-content: flex-end; gap: 2px; }
.icon-btn { background: none; border: 0; padding: 10px; cursor: pointer; display: inline-flex; position: relative; text-decoration: none; color: inherit; border-radius: 50%; }
.icon-btn:hover { background: rgba(127,127,127,.14); }
.menu-toggle { display: none; }
.cart-count {
  position: absolute; right: 2px; top: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--text); color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.header--dark .cart-count { background: #fff; color: #000; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ---------- кнопки: заокруглені ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: 12px; border: 1.5px solid var(--dark); background: var(--dark); color: #fff;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, opacity .2s, background .2s, color .2s;
}
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.98); }
.btn .arrow { display: none; }
.btn--light { background: #fff; border-color: #fff; color: #111; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: #fff; opacity: 1; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- банер ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; display: grid; place-items: center; text-align: center; }
.hero--img { padding: 0 var(--gutter) clamp(28px, 4vw, 48px); }
.hero__img { width: 100%; max-width: 1100px; max-height: 72vh; object-fit: contain; margin: 0 auto; }
.hero:not(.hero--img) { min-height: clamp(380px, 62vh, 640px); padding: 60px var(--gutter); }
.hero__content { display: grid; justify-items: center; gap: 18px; }
.hero--img .hero__content { margin-top: -10px; }
.hero__logo { width: clamp(110px, 18vw, 190px); color: #fff; }
.hero__logo img { width: 100%; }
.hero__title { font-size: clamp(40px, 8vw, 96px); font-weight: 800; letter-spacing: -.03em; line-height: .95; margin: 0; }
.hero__sub { margin: 0; max-width: 520px; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.6vw, 18px); }

/* ---------- переваги ---------- */
.perks { background: var(--soft); }
.perks__inner { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk__num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.perk__title { font-weight: 700; }
.perk__text { color: var(--muted); font-size: 14px; }

/* ---------- секції ---------- */
.section { padding: clamp(36px, 6vw, 64px) 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.section__title sup { font-size: .45em; color: var(--muted); margin-left: 6px; font-weight: 600; }
.section__title em, .feature__title em, .cd__title em { font-style: normal; }
.link-arrow { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { color: var(--text); }
.link-arrow .arrow { width: 14px; }
.more { text-align: center; margin-top: clamp(28px, 4vw, 44px); }

/* ---------- картки товарів ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(8px, 1vw, 12px); row-gap: clamp(22px, 3vw, 36px); }
.card { text-decoration: none; display: block; position: relative; }
.card__media { aspect-ratio: 1 / 1.08; background: var(--soft); overflow: hidden; position: relative; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.card__media .alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.03); }
.card:hover .card__media .alt { opacity: 1; }
.card__body { padding: 10px 0 0; display: grid; gap: 4px; }
.card__title { font-size: 15px; font-weight: 500; line-height: 1.3; }
.card__title b { font-weight: 700; }
.card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__price { font-size: 14px; font-weight: 600; }
.badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: #fff; color: #111; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.card--sold .card__media img { opacity: .5; }
.placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #c8c8c8; background: var(--soft); }
.placeholder .logo-mask { width: 30%; }

/* поява при прокрутці */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- каталог ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.input, .toolbar input, .toolbar select, .field input, .field textarea, .np-select {
  border: 1px solid #d4d4d4; background: #fff; padding: 12px 14px; min-height: 48px; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .toolbar input:focus, .toolbar select:focus, .field input:focus, .field textarea:focus, .np-select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.toolbar input { flex: 1; min-width: 220px; }
.toolbar select { cursor: pointer; }
.empty { color: var(--muted); padding: 40px 0; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 22px; padding-bottom: 4px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips .pill { flex: none; }

/* ---------- сторінка товару: 3 колонки ---------- */
.product { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 48px); padding: clamp(24px, 4vw, 56px) 0 70px; align-items: center; }
.product__head { align-self: center; display: grid; gap: 14px; justify-items: start; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.product__title { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.product__vendor { font-size: 14px; color: var(--muted); }
.gallery { display: grid; gap: 10px; }
.gallery__main { background: var(--soft); aspect-ratio: 4 / 5.6; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery__main.zoom img { transform: scale(1.8); }
.gallery__thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gallery__thumbs button { width: 56px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; background: var(--soft); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button.active, .gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.active { border-color: var(--text); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { align-self: center; position: sticky; top: 110px; }
.product__price { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.product__tax { font-size: 13px; color: var(--muted); margin-top: 14px; }
.label { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill {
  min-width: 48px; height: 42px; padding: 0 14px; border: 1px solid #d4d4d4; border-radius: 999px; background: #fff; cursor: pointer;
  font-weight: 600; font-size: 14px; transition: border-color .2s, background .2s, color .2s;
}
.pill:hover { border-color: var(--text); }
.pill.active { background: var(--dark); border-color: var(--dark); color: #fff; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qty { display: inline-flex; align-items: center; border: 1px solid #d4d4d4; border-radius: 10px; height: 46px; margin-bottom: 18px; }
.qty button { width: 42px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 18px; }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product__actions { display: grid; gap: 10px; }
.product__desc { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); white-space: pre-line; color: #3d3d3d; font-size: 14px; }
.related { border-top: 1px solid var(--line); }

/* ---------- кошик ---------- */
.cart { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 6px 0 80px; align-items: start; }
.cart__item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart__item:first-of-type { border-top: 1px solid var(--line); }
.cart__thumb { aspect-ratio: 1 / 1.08; background: var(--soft); overflow: hidden; position: relative; }
.cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart__name { font-weight: 700; text-decoration: none; }
.cart__name:hover { text-decoration: underline; }
.cart__meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.cart__sum { font-weight: 700; }
.cart__remove { background: none; border: 0; cursor: pointer; font-size: 13px; color: var(--muted); padding: 0; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
.cart__item .qty { height: 38px; margin: 10px 0 0; }
.cart__item .qty button { width: 34px; }
.cart__item .qty input { width: 30px; }
.summary { border-radius: 16px; background: var(--soft); padding: clamp(18px, 3vw, 28px); position: sticky; top: 100px; }
.summary__title { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin-bottom: 14px; border-top: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; }
.summary__total strong { font-size: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea { width: 100%; }
.field textarea { min-height: 84px; resize: vertical; }
.form-error { color: var(--sale); font-size: 14px; font-weight: 600; margin: 6px 0 12px; }
.center-page { padding: clamp(70px, 12vw, 140px) 0; text-align: center; display: grid; justify-items: center; gap: 10px; }
.center-page h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.center-page p { color: var(--muted); margin: 0 0 20px; }
.center-page p strong { color: var(--text); }
.center-page .big-num { font-size: clamp(56px, 10vw, 120px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }

/* ---------- контакти ---------- */
.contact { padding: clamp(40px, 7vw, 90px) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact__text { white-space: pre-line; color: var(--muted); font-size: 17px; margin: 18px 0 0; }
.contact__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact__list a:hover strong { text-decoration: underline; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); }
.contact__list strong { font-size: 18px; font-weight: 600; }
.contact__list .arrow { width: 16px; }

/* ---------- підвал ---------- */
.footer { background: var(--dark); color: #fff; }
.footer__inner { max-width: var(--page); margin: 0 auto; padding: 26px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; font-size: 13px; }
.footer__copy { color: rgba(255,255,255,.7); }
.footer__copy b { color: #fff; font-weight: 700; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { text-decoration: none; font-size: 15px; color: rgba(255,255,255,.85); }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; gap: 6px; justify-content: flex-end; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.footer__social a:hover { background: rgba(255,255,255,.12); }

.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 60; background: var(--dark); color: #fff;
  padding: 13px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; display: flex; gap: 16px; align-items: center;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.35); animation: toastIn .35s var(--ease); max-width: calc(100vw - 32px);
}
.toast a { color: #fff; font-weight: 700; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; translate: -50% 14px; } }

/* ---------- передоплата ---------- */
.prepay-note { display: grid; gap: 4px; padding: 12px 14px; margin-bottom: 14px; font-size: 13px; color: var(--muted); border-radius: 10px; background: #fff; border: 1px dashed #bdbdbd; }
.prepay-note strong { color: var(--text); font-size: 14px; }
.prepay-timer { font-size: 13px; margin-top: 18px !important; }

/* ---------- блоки конструктора ---------- */
.feature { position: relative; min-height: clamp(420px, 80vh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--dark); }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 80%, rgba(0,0,0,.8)); }
.feature__content { width: 100%; max-width: var(--page); margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gutter); color: #fff; }
.feature__title { font-size: clamp(30px, 5.6vw, 80px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0; overflow-wrap: break-word; }
.feature__text { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.82); margin: 18px 0 0; max-width: 620px; white-space: pre-line; }
.feature__btn { margin-top: 26px; }
.feature .btn, .cd .btn { background: #fff; border-color: #fff; color: #111; }
.feature--h-large { min-height: clamp(380px, 66vh, 720px); }
.feature--h-medium { min-height: clamp(300px, 46vh, 500px); }
.feature--center .feature__content { text-align: center; }
.feature--center .feature__title, .feature--center .feature__text { margin-left: auto; margin-right: auto; }
.feature--right .feature__content { text-align: right; }
.feature--right .feature__title, .feature--right .feature__text { margin-left: auto; }

.page-head { padding-bottom: 0; }
.blk-text__body { white-space: pre-line; color: #3d3d3d; font-size: 16px; line-height: 1.7; margin: 18px 0 0; max-width: 760px; }
.blk-text--large .blk-text__body { font-size: clamp(18px, 2vw, 24px); line-height: 1.5; color: var(--text); }
.blk-text--center { text-align: center; }
.blk-text--center .blk-text__body { margin-left: auto; margin-right: auto; }
.blk-text + .blk-text { padding-top: 0; }

.blk-image { padding: clamp(20px, 3vw, 40px) 0; }
.blk-image figure { margin: 0 auto; }
.blk-image--wide figure { max-width: var(--page); padding: 0 var(--gutter); }
.blk-image--narrow figure { max-width: 760px; padding: 0 var(--gutter); }
.blk-image img { width: 100%; height: auto; }
.blk-image--wide img, .blk-image--narrow img { border-radius: var(--r); }
.blk-image a, .blk-image .zoomable { display: block; }
.blk-image figcaption { color: var(--muted); font-size: 13px; padding: 10px var(--gutter) 0; text-align: center; }

.zoomable { padding: 0; border: 0; background: var(--soft); cursor: zoom-in; display: block; width: 100%; overflow: hidden; }
.zoomable img { transition: transform .6s var(--ease); }
.zoomable:hover img { transform: scale(1.03); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.split--right .split__media { order: 2; }
.split__media { aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; position: relative; border-radius: var(--r); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .btn { margin-top: 26px; }

/* галерея — горизонтальна стрічка великих фото */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 28vw, 330px); gap: clamp(12px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin; }
.reel .zoomable { aspect-ratio: 4 / 5; border-radius: 14px; scroll-snap-align: start; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 12px; }
.gallery-grid .zoomable { aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--soft); border-radius: var(--r); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.blk-button { padding: 18px 0; }
.blk-button--center { text-align: center; }

.faq { max-width: 900px; }
.faq__list { margin-top: 24px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 600; font-size: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 14px; height: 14px; position: relative; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { margin: 0 0 20px; color: var(--muted); white-space: pre-line; max-width: 720px; }

.blk-marquee { overflow: hidden; white-space: nowrap; background: var(--dark); color: #fff; padding: 18px 0; font-size: clamp(22px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.blk-marquee__track { display: inline-flex; animation: ticker 30s linear infinite; }
.blk-marquee__track span { padding: 0 .6em; }
.blk-marquee__track span:nth-child(even) { opacity: .45; }

.blk-spacer--s { height: 24px; }
.blk-spacer--m { height: 56px; }
.blk-spacer--l { height: 110px; }
.blk-spacer { display: flex; align-items: center; }
.blk-spacer .wrap { width: 100%; }
.blk-spacer hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 50px 16px; animation: toastIn .25s var(--ease); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 44px; line-height: 1; padding: 10px 16px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 6px; right: 8px; }
.lightbox__prev { left: 4px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 4px; top: 50%; translate: 0 -50%; }

/* ---------- Нова пошта ---------- */
.np, .np-manual { border-top: 1px solid #dcdcdc; margin-top: 6px; padding-top: 14px; }
.np__title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.np-select {
  width: 100%; padding-right: 40px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat;
}
.combo { position: relative; }
.combo input { width: 100%; }
.combo input:disabled, .np-select:disabled { opacity: .5; cursor: not-allowed; }
.combo__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; margin: 0; padding: 4px 0; list-style: none;
  max-height: 300px; overflow-y: auto; background: #fff; border: 1px solid #d4d4d4; border-radius: 10px; box-shadow: 0 16px 36px -12px rgba(0,0,0,.25);
}
.combo__list li[data-i] { padding: 10px 14px; cursor: pointer; display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.combo__list li[data-i] b { font-weight: 600; }
.combo__list li.active, .combo__list li[data-i]:hover { background: var(--soft); }
.combo__sub { font-size: 12px; color: var(--muted); }
.combo__more { padding: 10px 14px; font-size: 12px; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #e8e8e8; border-radius: 10px; }
.seg button { min-height: 40px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.np__hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.np__note { font-size: 13px; background: #fff; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.np__switch { background: none; border: 0; padding: 0; margin: 0 0 14px; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.np__switch:hover { color: var(--text); }

/* ---------- мітки ---------- */
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 5px; }
.badges--inline { position: static; }
.chip { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1; padding: 6px 9px; border-radius: 999px; background: var(--dark); color: #fff; white-space: nowrap; }
.chip--legit { background: #fff; color: #111; box-shadow: inset 0 0 0 1px #d4d4d4; }
.chip--last { background: #ffb020; color: #111; }
.chip--sale { background: var(--sale); color: #fff; }
.chip--hot { background: #ff5a1f; color: #fff; }
.chip--custom { background: #fff; color: #111; box-shadow: inset 0 0 0 1px #d4d4d4; }

/* ---------- таймер дропу ---------- */
.cd { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: #fff; text-align: center; }
.cd__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.cd__inner { padding-top: clamp(50px, 8vw, 100px); padding-bottom: clamp(50px, 8vw, 100px); }
.cd__when { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.65); }
.cd__title { font-size: clamp(30px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 12px 0 28px; overflow-wrap: break-word; }
.cd__timer { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 16px); }
.cd__unit { min-width: clamp(64px, 12vw, 120px); padding: clamp(12px, 2vw, 20px) 6px; border-radius: 14px; background: rgba(255,255,255,.08); }
.cd__num { display: block; font-size: clamp(28px, 5.6vw, 64px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd__label { display: block; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.65); }
.cd__text { color: rgba(255,255,255,.72); max-width: 560px; margin: 26px auto 0; white-space: pre-line; }
.cd__btn { margin-top: 28px; }
.cd--done .cd__timer, .cd--done .cd__when { display: none; }
@media (max-width: 420px) { .cd__unit { min-width: 0; flex: 1; } }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .product { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .product__head { grid-column: 1 / -1; }
}
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-toggle { display: inline-flex; justify-self: start; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--hdr, 90px)); overflow-y: auto; background: #fff; color: var(--text);
    flex-direction: column; gap: 0; padding: 12px var(--gutter); z-index: 40;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { font-size: 24px; font-weight: 700; opacity: 1; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .logo .logo-mask, .logo img { width: 46px; height: 46px; }
  .header__inner { padding-top: 8px; padding-bottom: 8px; }
  .perks__inner { grid-template-columns: 1fr; }
  .product, .cart, .contact { grid-template-columns: 1fr; }
  .info, .summary { position: static; }
  .split { grid-template-columns: 1fr; }
  .split--right .split__media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__social { justify-content: center; }
}
@media (max-width: 420px) {
  .cart__item { grid-template-columns: 76px 1fr; }
  .cart__item > :last-child { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- один в один як utnstore.com (виміряно з їхнього сайту) ---------- */
:root { --gutter: 40px; --font: Inter, -apple-system, "Helvetica Neue", Arial, sans-serif; --text: rgba(0,0,0,.81); }
body { font-size: 14px; line-height: 1.6; }
.wrap, .header__inner, .footer__inner { max-width: none; }
@media (max-width: 749px) { :root { --gutter: 16px; } }

/* шапка: над банером прозора з білим текстом, далі — біле «матове скло» */
body.has-hero .header { position: fixed; left: 0; right: 0; top: 0; }
.header { background: rgba(255,255,255,.82); color: #000; }
.header--dark, .header--over { background: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__inner { padding: 11px 30px; min-height: 99px; }
.nav { gap: 0; }
.nav a { font-size: 14px; font-weight: 700; padding: 22px 10px; line-height: 1.67; opacity: .7; }
.nav a.active, .nav a:hover { opacity: 1; }
.logo .logo-mask, .logo img { width: 77px; height: 77px; }
.header--over .cart-count { background: #fff; color: #000; }

/* банер 640px: чорний, логотип по центру, біла кнопка внизу */
.hero, .hero:not(.hero--img) { height: 640px; min-height: 0; padding: 0; background: #000; color: #fff; display: block; position: relative; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.hero__content { position: absolute; inset: 0; display: block; margin: 0 !important; }
.hero__logo { position: absolute; left: 50%; top: 50%; width: min(420px, 60vw); translate: -50% -50%; color: #fff; }
.hero .btn, .hero .btn--light { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; background: #fff; border: 0; color: #000;
  min-height: 0; padding: 16px 24px; border-radius: 12px; font-size: 14px; font-weight: 400; line-height: 1.6; }
@media (max-width: 749px) { .hero, .hero:not(.hero--img) { height: 480px; } }

/* секція товарів */
.section { padding: 48px 0 0; }
.section__head { margin-bottom: 28px; }
.section__title { font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: #000; }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; row-gap: 24px; }
.card__media { aspect-ratio: 1 / 1; background: #f2f2f2; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 8px 0 0; gap: 4px; }
.card__title { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--text); }
.card__title b { font-weight: 700; }
.card:hover .card__title { text-decoration: none; }
.card__price { font-size: 12px; font-weight: 700; line-height: 1.2; }
.badges { top: 8px; left: 8px; }
.more { margin-top: 40px; }
.btn, .more .btn, .product__actions .btn { min-height: 0; padding: 16px 24px; border-radius: 12px; font-size: 14px; font-weight: 400; line-height: 1.6; }
@media (max-width: 989px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* стрічка фото 346×432, відступ 24 */
.reel { grid-auto-columns: 346px; gap: 24px; padding-bottom: 48px; }
.reel .zoomable { aspect-ratio: 346 / 432; border-radius: 0; }
@media (max-width: 749px) { .reel { grid-auto-columns: 72vw; gap: 12px; } }

/* підвал — чорна смуга 52px */
.footer { background: #000; color: #fff; border: 0; }
.footer__inner { min-height: 52px; padding: 0 var(--gutter); grid-template-columns: 1fr auto 1fr; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,.7); }
.footer__copy b { color: #fff; font-weight: 700; }
.footer__links a { color: #fff; font-size: 16px; }
.footer__social a { color: #fff; width: 36px; height: 36px; }
.footer__social a:hover { background: rgba(255,255,255,.12); }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr; padding: 16px var(--gutter); } }

/* сторінка товару */
.product { padding-top: 48px; }
.product__title { font-size: 32px; font-weight: 700; color: #000; }
.product__price { font-size: 18px; font-weight: 700; }
.gallery__main { aspect-ratio: 1 / 1.4; background: #f2f2f2; }
.gallery__thumbs button { width: 28px; height: 28px; aspect-ratio: auto; border: 0; border-radius: 50%; background: none; opacity: 1; font-size: 13px; color: #8a8a8a; }
.gallery__thumbs button.active { color: #000; background: #f2f2f2; }
.select { position: relative; margin-bottom: 14px; }
.select select { width: 100%; min-height: 48px; padding: 0 40px 0 14px; border: 1px solid #e3e3e3; border-radius: 12px; background: #fff; appearance: none; -webkit-appearance: none; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.select.shake select { border-color: var(--sale); }
.info .label { font-size: 14px; font-weight: 400; }

/* заставка під час завантаження: чорний логотип на світло-сірому */
.preload { position: fixed; inset: 0; z-index: 200; background: #f5f5f5; display: grid; place-items: center; transition: opacity .5s; }
.preload .logo-mask { width: min(340px, 50vw); color: #000; animation: breathe 1.6s ease-in-out infinite; }
.preload.done { opacity: 0; pointer-events: none; }
@keyframes breathe { 50% { opacity: .55; } }

/* стрічка фото внизу: на всю ширину, повільно їде вправо */
.strip { overflow: hidden; padding: 56px 0 28px; }
.strip__track { display: flex; gap: 28px; width: max-content; animation: stripRight calc(var(--n) * 7s) linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip .zoomable { flex: none; width: clamp(240px, 27.4vw, 548px); aspect-ratio: 4 / 5; border-radius: 0; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@keyframes stripRight { from { transform: translateX(calc(-50% - 14px)); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } .strip { overflow-x: auto; } }

/* меню з категоріями */
.nav { flex-wrap: nowrap; overflow: hidden; }
.nav a { white-space: nowrap; }
@media (max-width: 1200px) { .nav a { padding-left: 8px; padding-right: 8px; } }

/* ---------- усе біле, логотип чорний на білому (змінено лише кольори) ---------- */
.header--over, .header--dark { color: #000; }
.header--over .cart-count { background: #000; color: #fff; }
.hero, .hero:not(.hero--img) { background: #fff; color: #000; }
.hero__logo { color: #000; }
.hero .btn, .hero .btn--light { background: #000; color: #fff; }
.footer { background: #fff; color: #000; border-top: 1px solid #e6e6e6; }
.footer__copy { color: rgba(0,0,0,.6); }
.footer__copy b { color: #000; }
.footer__links a, .footer__social a { color: #000; }
.footer__social a:hover { background: #f2f2f2; }

/* ---------- фото на банері: текст і логотип білі ---------- */
.header--onimg { color: #fff; }
.header--onimg .cart-count { background: #fff; color: #000; }
.hero.hero--img { background: #000; color: #fff; }
.hero.hero--img .hero__logo, .hero.hero--img .hero__title, .hero.hero--img .hero__text { color: #fff; }
.hero.hero--img .btn, .hero.hero--img .btn--light { background: #fff; color: #000; }

/* ---------- усе чорне, текст і логотип білі (змінено лише кольори) ---------- */
:root { --bg: #000; --text: rgba(255,255,255,.88); --muted: #a0a0a0; --soft: #141414; --line: #262626; }
body { background: #000; color: var(--text); }
::selection { background: #fff; color: #000; }
.header { background: rgba(0,0,0,.82); color: #fff; }
.header--over, .header--dark, .header--onimg { color: #fff; }
.cart-count, .header--over .cart-count { background: #fff; color: #000; }
.hero, .hero:not(.hero--img), .hero.hero--img { background: #000; color: #fff; }
.hero__logo, .hero__title, .hero__text { color: #fff; }
.hero .btn, .hero .btn--light { background: #fff; color: #000; }
.section__title, .product__title, .card__title, .card__price, .product__price { color: #fff; }
.btn, .btn--dark { background: #fff; border-color: #fff; color: #000; }
.btn--light { background: #fff; color: #000; }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: #000; }
.feature .btn, .cd .btn { background: #fff; color: #000; }
.card__media, .gallery__main, .placeholder { background: #111; }
.placeholder { color: #444; }
.gallery__thumbs button { color: #777; }
.gallery__thumbs button.active { color: #fff; background: #1c1c1c; }
.product__desc, .blk-text__body { color: rgba(255,255,255,.75); }
.input, .toolbar input, .toolbar select, .field input, .field textarea, .np-select, .select select, .pill, .qty, .combo__list, .combo input, .np__note, .prepay-note {
  background: #111; color: #fff; border-color: #333; }
.input:focus, .toolbar input:focus, .toolbar select:focus, .field input:focus, .field textarea:focus, .np-select:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.pill.active { background: #fff; border-color: #fff; color: #000; }
.seg { background: #1c1c1c; }
.seg button { color: #fff; }
.seg button.active { background: #fff; color: #000; }
.summary__total, .np, .np-manual { border-color: #333; }
.chip { background: #fff; color: #000; }
.toast { background: #fff; color: #000; }
.toast a { color: #000; }
.blk-marquee, .cd { background: #111; }
.footer { background: #000; color: #fff; border-top: 1px solid #222; }
.footer__copy { color: rgba(255,255,255,.6); }
.footer__copy b, .footer__links a, .footer__social a { color: #fff; }
.footer__social a:hover, .icon-btn:hover { background: rgba(255,255,255,.12); }
.preload { background: #000; }
.preload .logo-mask { color: #fff; }
a { color: inherit; }
@media (max-width: 860px) { .nav { background: #000 !important; color: #fff !important; } }

/* ---------- знижка ---------- */
.disc { position: absolute; right: 8px; top: 8px; z-index: 3; background: #e2231a; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em;
  padding: 6px 10px; border-radius: 8px; line-height: 1; box-shadow: 0 6px 16px -6px rgba(226,35,26,.6); }
.disc--inline { position: static; display: inline-block; margin-right: 10px; vertical-align: middle; box-shadow: none; }
.price--sale { color: #ff4d42; font-weight: 800; }
.price--old { color: rgba(255,255,255,.5); font-weight: 400; margin-left: 6px; }

/* об'ємний логотип у шапці: крутиться навколо осі, хромовані сторони з відблиском */
.logo3d { display: block; width: 77px; height: 77px; perspective: 320px; filter: drop-shadow(0 0 12px rgba(160, 90, 255, .35)); }
.logo3d__in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: logo3d 6s linear infinite; }
.logo .logo3d .logo-mask { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--c, #888); transform: translateZ(var(--z)); }
.logo .logo3d .logo3d__face {
  background: linear-gradient(120deg, #fff 0%, #a9a9a9 30%, #fff 45%, #7a7a7a 62%, #f2f2f2 80%, #b5b5b5 100%) 0 0 / 260% 260%;
  animation: logo3dShine 7s ease-in-out infinite;
}
@keyframes logo3d { from { transform: rotateX(8deg) rotateY(0deg); } to { transform: rotateX(8deg) rotateY(360deg); } }
@keyframes logo3dShine { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
@media (prefers-reduced-motion: reduce) {
  .logo3d__in { animation: none; transform: rotateY(-18deg) rotateX(6deg); }
  .logo .logo3d .logo3d__face { animation: none; }
}
