/* Green Fox Energy — стилове на сайта и админ панела */
/* Шрифтове (локално хостнати, SIL OFL): Unbounded за заглавия, Onest за текст */
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(../assets/fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(../assets/fonts/unbounded-latin-wght-normal.woff2) format("woff2-variations"); 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; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../assets/fonts/onest-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../assets/fonts/onest-latin-wght-normal.woff2) format("woff2-variations"); 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 {
  --night: #05161E;
  --night-2: #0B252A;
  --night-3: #12343A;
  --volt: #D4EC32;
  --volt-ink: #10200A;
  --fox: #2F6B1F;
  --paper: #F1F4EE;
  --card: #FFFFFF;
  --ink: #0F1E19;
  --muted: #5D6B65;
  --line: #DCE3DC;
  --line-dark: rgba(255,255,255,.12);
  --danger: #B8352C;
  --warn: #B87C0A;
  --ok: #2F7D32;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-lg: 20px; --r: 14px; --r-sm: 10px;
  --wrap: 1280px;
  --shadow: 0 1px 2px rgba(15,30,25,.06), 0 8px 24px -12px rgba(15,30,25,.18);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; font-feature-settings: "locl" 0; }
.price .now, .countdown b, .kpi b, .kpis .k b, .step .n, .range-wrap .big, .brands span, .camp-card .pct, .line .lr b, .sum-row.total b { font-feature-settings: "locl" 0; }
p { margin: 0; }
.ic { width: 22px; height: 22px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; border-radius: 6px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--fox); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ── Бутони ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-volt { background: var(--volt); color: var(--volt-ink); }
.btn-volt:hover { background: #e2f55c; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--fox); }
.btn-fox { background: var(--fox); color: #fff; }
.btn-fox:hover { background: #255717; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--fox); color: var(--fox); }
.btn-danger { background: #fff; border-color: #efc9c5; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--fox); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ── Горна лента и хедър ─────────────────── */
.topbar { background: var(--night-2); color: #c9d6d0; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar .ann { color: var(--volt); font-weight: 500; }
.topbar .meta { display: flex; gap: 20px; }
.topbar .meta a, .topbar .meta span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .meta .ic { width: 15px; height: 15px; }
.topbar a:hover { color: #fff; }

.header { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .emblem { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(212,236,50,.55), 0 0 22px rgba(212,236,50,.35); }
.brand .wordmark { height: 48px; width: auto; }
.brand .custom-logo { height: 54px; width: auto; max-width: 240px; object-fit: contain; }
.search { flex: 1; position: relative; max-width: 620px; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: #fff; padding: 0 52px 0 20px; outline: none; transition: border-color .15s, background .15s; }
.search input::placeholder { color: #93a6a0; }
.search input:focus { border-color: var(--volt); background: rgba(255,255,255,.1); }
.search button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--volt); color: var(--volt-ink); }
.search button .ic { width: 18px; height: 18px; }
.suggest { position: absolute; left: 0; right: 0; top: 54px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 20px 50px -10px rgba(0,0,0,.4); overflow: hidden; z-index: 60; }
.suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.suggest a:hover, .suggest a.hl { background: var(--paper); }
.suggest .thumb { width: 48px; height: 40px; background: var(--paper); border-radius: 6px; overflow: hidden; }
.suggest .thumb img, .suggest .thumb svg { width: 100%; height: 100%; object-fit: contain; }
.suggest .all { display: block; text-align: center; padding: 10px; font-weight: 600; color: var(--fox); border: 0; }
.head-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .15s; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn .count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--volt); color: var(--volt-ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.icon-btn .count:empty, .icon-btn .count[data-n="0"] { display: none; }
.burger { display: none; }

.nav { border-top: 1px solid var(--line-dark); }
.nav .wrap { display: flex; align-items: center; gap: 4px; min-height: 54px; }
.nav-cats { position: relative; }
.nav-cats > button { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: var(--r-sm); background: var(--volt); color: var(--volt-ink); font-weight: 700; font-size: 15px; margin-right: 12px; }
.nav-cats > button .ic { width: 18px; height: 18px; }
.nav a.nl, .nav .dd > button { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 8px; color: #dbe5e0; font-weight: 500; font-size: 15px; position: relative; }
.nav a.nl:hover, .nav .dd > button:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.nl.active { color: var(--volt); }
.nav a.nl.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--volt); border-radius: 2px; }
.nav .dd { position: relative; }
.nav .dd > button .ic { width: 16px; height: 16px; }
.menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 24px 60px -16px rgba(0,0,0,.45); padding: 8px; display: none; z-index: 70; }
.menu.open { display: block; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 500; }
.menu a:hover { background: var(--paper); color: var(--fox); }
.menu a .mi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--night); color: var(--volt); flex: none; }
.menu a .mi .ic { width: 19px; height: 19px; }
.menu a small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.nav .promo-link { margin-left: auto; color: var(--volt) !important; font-weight: 600 !important; }

/* мобилно меню */
.drawer-bg { position: fixed; inset: 0; background: rgba(5,22,30,.55); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transition: transform .25s ease; }
.drawer.right { right: 0; transform: translateX(105%); }
.drawer.left { left: 0; transform: translateX(-105%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; }
.drawer-body { flex: 1; overflow: auto; padding: 12px 20px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.mnav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mnav h4 { font-family: var(--f-body); font-size: 13px; color: var(--muted); font-weight: 600; margin: 18px 0 4px; }

/* ── Слайдер (hero) ──────────────────────── */
.hero { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(212,236,50,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(212,236,50,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); pointer-events: none; }
.slides { position: relative; min-height: 500px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; position: relative; }
.slide .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; min-height: 500px; }
.slide .txt { position: relative; z-index: 2; padding: 48px 0; }
.slide .badge-line { display: inline-flex; align-items: center; gap: 8px; color: var(--volt); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.slide .badge-line .ic { width: 18px; height: 18px; }
.slide h1, .slide h2 { font-size: clamp(30px, 3.7vw, 50px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.slide p { color: #b9c9c2; font-size: 18px; margin-top: 20px; max-width: 46ch; }
.slide .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.slide .visual { position: relative; height: 100%; min-height: 380px; display: grid; place-items: center; }
.slide .visual img.fox { width: 100%; max-width: 640px; height: auto; mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.slide .visual .art-stage { width: min(100%, 520px); aspect-ratio: 4/3; border-radius: 28px; background: radial-gradient(circle at 50% 45%, rgba(212,236,50,.24), rgba(212,236,50,0) 62%); display: grid; place-items: center; }
.slide .visual .art-stage svg { width: 86%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.slide .visual img.photo { width: 100%; max-height: 420px; object-fit: cover; border-radius: 24px; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; }
.hero-ctrl .wrap { display: flex; align-items: center; gap: 10px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 28px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); transition: background .2s, width .2s; }
.dots button.on { width: 44px; background: var(--volt); }
.arrows { margin-left: auto; display: flex; gap: 8px; }
.arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; }
.arrows button:hover { border-color: var(--volt); color: var(--volt); }
.arrows .ic { width: 18px; height: 18px; }

/* ── Доверие ─────────────────────────────── */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust .t { display: flex; align-items: center; gap: 14px; padding: 20px 16px; }
.trust .t + .t { border-left: 1px solid var(--line); }
.trust .t .ti { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); color: var(--fox); display: grid; place-items: center; flex: none; }
.trust .t b { display: block; font-size: 15px; }
.trust .t span { color: var(--muted); font-size: 13px; }

/* ── Секции ──────────────────────────────── */
.section { padding: 64px 0 0; }
.section.tight { padding-top: 40px; }
#app > :last-child { padding-bottom: 8px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2, .page-title h1, .cfg-cta h2, .cta h2, .campaign h3 { text-wrap: balance; }
.sec-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.sec-head p { color: var(--muted); margin-top: 6px; }
.sec-head .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--fox); white-space: nowrap; }
.sec-head .more .ic { width: 18px; height: 18px; }
.sec-head .more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* категории */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 16px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; transition: border-color .15s, box-shadow .15s; min-height: 150px; }
.cat:hover { border-color: var(--fox); box-shadow: var(--shadow); }
.cat .ci { width: 52px; height: 52px; border-radius: 14px; background: var(--night); color: var(--volt); display: grid; place-items: center; }
.cat .ci .ic { width: 26px; height: 26px; }
.cat b { font-size: 16px; line-height: 1.25; }
.cat span { color: var(--muted); font-size: 13px; margin-top: auto; }

/* продуктови карти */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pgrid.five { grid-template-columns: repeat(5, 1fr); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: box-shadow .15s, border-color .15s; }
.pcard:hover { box-shadow: var(--shadow); border-color: #c9d4c9; }
.pcard .pimg { aspect-ratio: 4/3; background: #F5F8F2; display: grid; place-items: center; padding: 36px 22px 10px; }
.pcard .pimg svg, .pcard .pimg img { width: 100%; height: 100%; object-fit: contain; }
.pcard .badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { display: inline-block; padding: 4px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.badge.sale { background: var(--volt); color: var(--volt-ink); }
.badge.camp { background: var(--night); color: var(--volt); }
.badge.new { background: #fff; color: var(--fox); border: 1.5px solid var(--fox); }
.pcard .fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--muted); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.pcard .fav:hover { color: var(--danger); }
.pcard .fav.on { color: var(--danger); }
.pcard .fav.on .ic path { fill: currentColor; }
.pcard .fav .ic { width: 19px; height: 19px; }
.pcard .pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .pcat { color: var(--muted); font-size: 13px; }
.pcard .pname { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.05em; }
.pcard .pname:hover { color: var(--fox); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: #33433d; }
.stock { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--ok); }
.stock.order { color: var(--warn); }
.stock.out { color: var(--danger); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.price .now { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.price .old { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.price.sale .now { color: var(--fox); }
.pcard .btn { margin-top: 6px; }

/* кампания */
.campaign { background: var(--night); color: #fff; border-radius: 24px; padding: 34px 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; position: relative; overflow: hidden; }
.campaign::after { content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(212,236,50,.28), transparent 65%); pointer-events: none; }
.campaign .bolt { color: var(--volt); width: 38px; height: 38px; margin-bottom: 10px; }
.campaign h3 { font-size: clamp(22px, 2.6vw, 32px); }
.campaign p { color: #b9c9c2; margin-top: 8px; font-size: 17px; }
.countdown { display: flex; gap: 10px; position: relative; z-index: 1; }
.countdown div { min-width: 82px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(212,236,50,.35); border-radius: 14px; padding: 12px 8px 8px; }
.countdown b { display: block; font-family: var(--f-display); font-size: 32px; color: var(--volt); line-height: 1; }
.countdown span { font-size: 12px; color: #b9c9c2; }
.campaign .btn { position: relative; z-index: 1; }
.campaign .cta-row { display: flex; gap: 12px; margin-top: 20px; }

/* конфигуратор CTA */
.cfg-cta { background: var(--volt); color: var(--volt-ink); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cfg-cta h2 { font-size: clamp(24px, 3vw, 36px); max-width: 18ch; }
.cfg-cta p { margin-top: 10px; font-size: 17px; max-width: 52ch; }
.cfg-cta .grid-deco { position: absolute; right: 220px; top: -20px; bottom: -20px; width: 260px; background-image: linear-gradient(rgba(16,32,10,.12) 2px, transparent 2px), linear-gradient(90deg, rgba(16,32,10,.12) 2px, transparent 2px); background-size: 32px 44px; transform: skewX(-18deg); pointer-events: none; }

/* услуги */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.svc .sv-img { aspect-ratio: 400/260; background: #E7F0DC; }
.svc .sv-img svg, .svc .sv-img img { width: 100%; height: 100%; object-fit: cover; }
.svc .sv-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc h3 { font-size: 17px; line-height: 1.3; }
.svc p { color: var(--muted); font-size: 14px; }
.svc .link { margin-top: auto; font-size: 15px; }

/* процес */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { padding: 26px 24px; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step .n { font-family: var(--f-display); font-size: 40px; font-weight: 700; color: var(--fox); line-height: 1; }
.step h3 { font-size: 17px; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* проекти */
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.proj .pj-img { aspect-ratio: 400/260; position: relative; }
.proj .pj-img svg, .proj .pj-img img { width: 100%; height: 100%; object-fit: cover; }
.proj .pj-img .tag { position: absolute; left: 12px; top: 12px; }
.proj .pj-body { padding: 16px 18px 18px; }
.proj h3 { font-size: 16px; }
.proj .pj-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.proj p { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* марки */
.brands { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; padding: 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.brands span { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: #8a9893; letter-spacing: -.01em; }

/* CTA консултация */
.cta { background: var(--fox); color: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.cta img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--volt); }
.cta h2 { font-size: clamp(22px, 2.6vw, 30px); }
.cta p { color: #d8e8d0; margin-top: 8px; max-width: 60ch; }
.cta .btns { display: flex; flex-direction: column; gap: 10px; }

/* ── Футър ───────────────────────────────── */
.footer { background: var(--night); color: #b9c9c2; margin-top: 56px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer h4 { font-family: var(--f-body); color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer a:hover { color: var(--volt); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.footer .fbrand img { width: 220px; height: auto; }
.footer .fbrand p { margin-top: 14px; font-size: 14px; max-width: 36ch; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact .ic { width: 18px; height: 18px; color: var(--volt); margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.socials a:hover { border-color: var(--volt); }
.socials .ic { width: 18px; height: 18px; }
.footer .bottom { border-top: 1px solid var(--line-dark); }
.footer .bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; grid-template-columns: none; }

/* ── Вътрешни страници ───────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); padding: 20px 0 6px; }
.crumbs a:hover { color: var(--fox); }
.crumbs .ic { width: 14px; height: 14px; }
.page-title { padding: 6px 0 22px; }
.page-title h1 { font-size: clamp(26px, 3vw, 38px); }
.page-title p { color: var(--muted); margin-top: 8px; max-width: 70ch; }

/* магазин */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 18px 18px; position: sticky; top: 150px; }
.filters h4 { font-family: var(--f-body); font-size: 15px; font-weight: 700; margin: 16px 0 10px; }
.filters .fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; }
.filters .fopt input { width: 18px; height: 18px; accent-color: var(--fox); }
.filters .fopt small { margin-left: auto; color: var(--muted); }
.filters .catlink { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 15px; }
.filters .catlink:hover { background: var(--paper); }
.filters .catlink.on { background: var(--night); color: var(--volt); font-weight: 600; }
.filters .catlink small { color: inherit; opacity: .7; }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs .ib { flex: none; }
.price-inputs input { width: 100%; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .cnt { color: var(--muted); font-size: 15px; }
.toolbar select { margin-left: auto; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
.toolbar .ffbtn { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.active-filters .ic { width: 14px; height: 14px; }
.empty { background: #fff; border: 1px dashed #c4cfc4; border-radius: var(--r-lg); padding: 48px 24px; text-align: center; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); margin: 8px auto 18px; max-width: 46ch; }

/* продукт */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.gallery .main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); aspect-ratio: 4/3; display: grid; place-items: center; padding: 28px; position: relative; }
.gallery .main svg, .gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery .thumbs button { width: 84px; height: 64px; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 6px; }
.gallery .thumbs button.on { border-color: var(--fox); }
.gallery .thumbs img, .gallery .thumbs svg { width: 100%; height: 100%; object-fit: contain; }
.pinfo .brand-line { color: var(--muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.pinfo h1 { font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 14px; line-height: 1.2; }
.pinfo .lead { color: #34443e; font-size: 17px; }
.pinfo .chip { background: #fff; border: 1px solid var(--line); }
.pinfo .price { margin: 22px 0 6px; }
.pinfo .price .now { font-size: 34px; }
.pinfo .price .old { font-size: 17px; }
.pinfo .save { color: var(--fox); font-weight: 600; font-size: 14px; }
.buy { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; height: 50px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty input { width: 48px; text-align: center; border: 0; height: 100%; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty .ic { width: 16px; height: 16px; }
.buy .btn { min-height: 50px; }
.perks { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.perks div { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.perks .ic { color: var(--fox); }
.camp-note { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--night); color: #fff; border-radius: 12px; font-size: 14px; margin-top: 10px; }
.camp-note .ic { color: var(--volt); }
.camp-note b { color: var(--volt); }
.tabs { margin-top: 48px; }
.tabs .tl { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs .tl button { white-space: nowrap; }
.tabs .tl button { padding: 12px 18px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs .tl button.on { color: var(--ink); border-color: var(--fox); }
.tabs .tp { padding: 24px 0; }
.tabs .tp[hidden] { display: none; }
.specs { width: 100%; max-width: 760px; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.specs td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs tr:last-child td { border-bottom: 0; }
.specs td:first-child { color: var(--muted); width: 44%; }
.prose { max-width: 72ch; font-size: 16px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose h2 { font-size: 20px; margin: 28px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 10px 0 14px; }
.prose li + li { margin-top: 5px; }
.prose p + ul, .prose ul + p { margin-top: 10px; }
.firm { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.firm h3 { font-size: 16px; margin-bottom: 10px; }
.firm dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.firm dt { color: var(--muted); }
.firm dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .firm dl { grid-template-columns: 1fr; gap: 2px; } .firm dd { margin-bottom: 8px; } }

/* количка */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.box h3 { font-size: 18px; margin-bottom: 14px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .lt { width: 84px; height: 66px; border-radius: 10px; background: #F5F8F2; padding: 6px; }
.line .lt svg, .line .lt img { width: 100%; height: 100%; object-fit: contain; }
.line .ln { font-weight: 600; font-size: 15px; line-height: 1.35; }
.line .ln:hover { color: var(--fox); }
.line .lp { color: var(--muted); font-size: 14px; margin-top: 4px; }
.line .lr { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line .lr b { font-family: var(--f-display); font-size: 16px; }
.line .qty { height: 38px; }
.line .qty button { width: 32px; }
.line .qty input { width: 36px; }
.rm { color: var(--muted); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.rm:hover { color: var(--danger); }
.rm .ic { width: 15px; height: 15px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; }
.sum-row.total b { font-family: var(--f-display); }
.ship-bar { margin: 6px 0 14px; font-size: 14px; color: var(--muted); }
.ship-bar .bar { height: 6px; border-radius: 3px; background: var(--paper); margin-top: 6px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: var(--fox); border-radius: 3px; }

/* форми */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field small { color: var(--muted); font-size: 13px; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid #cfd8cf; border-radius: var(--r-sm); background: #fff; padding: 10px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fox); box-shadow: 0 0 0 3px rgba(47,107,31,.15); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); }
.field .msg { color: var(--danger); font-size: 13px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--fox); background: #f6faf2; }
.choice input { margin-top: 3px; accent-color: var(--fox); width: 18px; height: 18px; }
.choice b { display: block; font-size: 15px; }
.choice small { color: var(--muted); }
.choices { display: grid; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--fox); width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* благодарност */
.thanks { text-align: center; max-width: 640px; margin: 40px auto; }
.thanks .ok { width: 76px; height: 76px; border-radius: 50%; background: var(--volt); color: var(--volt-ink); display: grid; place-items: center; margin: 0 auto 18px; }
.thanks .ok .ic { width: 38px; height: 38px; }
.thanks h1 { font-size: 30px; }
.thanks p { color: var(--muted); margin: 12px 0 22px; }

/* конфигуратор */
.cfg { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.stepper { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.stepper button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); }
.stepper button i { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.stepper button.on { color: var(--ink); border-color: var(--fox); }
.stepper button.on i { background: var(--fox); color: #fff; }
.stepper button.done i { background: var(--volt); color: var(--volt-ink); }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opt { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; text-align: left; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s; }
.opt:hover { border-color: #a9bea6; }
.opt.on { border-color: var(--fox); background: #f6faf2; box-shadow: inset 0 0 0 1px var(--fox); }
.opt .oi { width: 44px; height: 44px; border-radius: 12px; background: var(--night); color: var(--volt); display: grid; place-items: center; }
.opt b { font-size: 16px; }
.opt small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.range-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.range-wrap .big { font-family: var(--f-display); font-size: 44px; font-weight: 700; color: var(--fox); }
.range-wrap input[type=range] { width: 100%; accent-color: var(--fox); margin: 14px 0 4px; }
.range-wrap .scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.cfg-nav { display: flex; justify-content: space-between; margin-top: 22px; }
.result-head { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.kpi { flex: 1; min-width: 140px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.kpi b { display: block; font-family: var(--f-display); font-size: 22px; }
.kpi span { color: var(--muted); font-size: 13px; }
.sticky { position: sticky; top: 150px; }

/* контакти */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.cinfo { display: grid; gap: 16px; }
.cinfo .ci-row { display: flex; gap: 14px; align-items: flex-start; }
.cinfo .ci-row .ic { color: var(--fox); margin-top: 2px; }
.cinfo b { display: block; }
.cinfo span { color: var(--muted); font-size: 15px; }
.map { margin-top: 18px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; background: #E7F0DC; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* тост */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--night); color: #fff; padding: 12px 18px; border-radius: 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); font-weight: 500; animation: tin .25s ease; }
.toast .ic { color: var(--volt); width: 20px; height: 20px; }
.toast.err .ic { color: #ff8a80; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* модал */
.modal-bg { position: fixed; inset: 0; background: rgba(5,22,30,.6); z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal { background: #fff; border-radius: var(--r-lg); width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 26px; }
.modal h3 { font-size: 20px; margin-bottom: 14px; }
.modal .mfoot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* ── Адаптивност ─────────────────────────── */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .pgrid, .pgrid.five { grid-template-columns: repeat(3, 1fr); }
  .svc-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .topbar .meta span.hrs { display: none; }
  .nav { display: none; }
  .burger { display: grid; }
  .header-main { gap: 12px; min-height: 66px; flex-wrap: wrap; padding-bottom: 10px; }
  .brand .wordmark { height: 38px; }
  .brand .emblem { width: 42px; height: 42px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .slide .wrap { grid-template-columns: 1fr; gap: 0; }
  .slide .visual { min-height: 0; order: -1; padding-top: 24px; }
  .slide .visual img.fox { max-width: 420px; }
  .slide .visual .art-stage { width: min(100%, 360px); }
  .slide .txt { padding: 8px 0 90px; }
  .slides, .slide .wrap { min-height: 0; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust .t:nth-child(3) { border-left: 0; }
  .trust .t:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 90vw); z-index: 100; border-radius: 0; overflow: auto; transform: translateX(-105%); transition: transform .25s; }
  .filters.open { transform: none; }
  .toolbar .ffbtn { display: inline-flex; }
  .product, .cart-layout, .cfg, .contact-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .campaign, .cfg-cta { grid-template-columns: 1fr; padding: 28px; }
  .cfg-cta .grid-deco { display: none; }
  .cta { grid-template-columns: 1fr; padding: 28px; }
  .cta .btns { flex-direction: row; flex-wrap: wrap; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar .meta { display: none; }
  .wrap { padding: 0 16px; }
  .section { padding: 40px 0; }
  .brand .wordmark { height: 32px; }
  .icon-btn { width: 42px; height: 42px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { min-height: 0; padding: 16px; }
  .pgrid, .pgrid.five { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard .pbody { padding: 12px; }
  .pcard .pimg { padding: 30px 10px 6px; }
  .sec-head .more { font-size: 14px; }
  .pcard .pname { font-size: 14px; }
  .pcard .chips { display: none; }
  .price .now { font-size: 17px; }
  .pcard .btn { font-size: 13px; padding: 0 8px; min-height: 40px; }
  .pcard .btn .lbl-long { display: none; }
  .svc-grid, .proj-grid { grid-template-columns: 1fr; }
  .trust .t { padding: 14px 8px; gap: 10px; }
  .trust .t .ti { width: 36px; height: 36px; }
  .trust .t span { display: none; }
  .trust .t b { font-size: 13px; }
  .countdown div { min-width: 64px; }
  .countdown b { font-size: 24px; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer .bottom .wrap { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr; }
  .brands { justify-content: center; }
  .line { grid-template-columns: 64px 1fr; }
  .line .lt { width: 64px; height: 52px; }
  .line .lr { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .slide h1, .slide h2 { font-size: 30px; }
  .slide p { font-size: 16px; }
  .arrows { display: none; }
}

/* ═══════════ АДМИН ПАНЕЛ ═══════════ */
.adm { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #EEF2EC; }
.adm-side { background: var(--night); color: #c9d6d0; padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow: auto; display: flex; flex-direction: column; }
.adm-side .brand { padding: 4px 6px 18px; border-bottom: 1px solid var(--line-dark); margin-bottom: 12px; }
.adm-side .brand img.emblem { width: 40px; height: 40px; }
.adm-side .brand b { color: #fff; font-family: var(--f-display); font-size: 14px; display: block; }
.adm-side .brand small { color: var(--volt); font-size: 12px; }
.adm-side nav a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.adm-side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.adm-side nav a.on { background: var(--volt); color: var(--volt-ink); font-weight: 600; }
.adm-side nav a .ic { width: 19px; height: 19px; }
.adm-side nav a em { margin-left: auto; font-style: normal; font-size: 12px; background: var(--volt); color: var(--volt-ink); border-radius: 10px; padding: 1px 7px; font-weight: 700; }
.adm-side nav a.on em { background: var(--night); color: var(--volt); }
.adm-side nav h5 { font-size: 12px; color: #7f948d; margin: 12px 12px 4px; font-weight: 600; }
.adm-side .foot { margin-top: auto; padding-top: 14px; display: grid; gap: 6px; }
.adm-main { padding: 24px 32px 60px; min-width: 0; }
.adm-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.adm-top h1 { font-size: 22px; min-width: 0; text-wrap: balance; }
.adm-top .sp { flex: 1; }
.adm-burger { display: none; }
.mode-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.mode-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.mode-pill.server i { background: var(--ok); }
.notice { background: #fff8e1; border: 1px solid #f0dc9c; color: #6a5306; padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.notice .ic { width: 20px; height: 20px; flex: none; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpis .k { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.kpis .k b { font-family: var(--f-display); font-size: 28px; display: block; }
.kpis .k span { color: var(--muted); font-size: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 18px; }
.card > h3 { font-size: 17px; margin-bottom: 4px; }
.card > .sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { font-size: 17px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: #fafcf8; }
.tbl .thumb { width: 54px; height: 42px; background: #F5F8F2; border-radius: 8px; padding: 3px; }
.tbl .thumb svg, .tbl .thumb img { width: 100%; height: 100%; object-fit: contain; }
.tbl .name { font-weight: 600; max-width: 380px; }
.tbl .acts { display: flex; gap: 6px; justify-content: flex-end; }
.tbl .num { text-align: right; white-space: nowrap; }
.ib { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; color: var(--muted); }
.ib:hover { color: var(--fox); border-color: var(--fox); }
.ib.del:hover { color: var(--danger); border-color: var(--danger); }
.ib .ic { width: 17px; height: 17px; }
.toggle { position: relative; width: 44px; height: 26px; flex: none; display: inline-block; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle i { position: absolute; inset: 0; background: #cdd6cf; border-radius: 13px; transition: background .15s; cursor: pointer; }
.toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + i { background: var(--fox); }
.toggle input:checked + i::after { transform: translateX(18px); }
.toggle input:focus-visible + i { outline: 3px solid var(--volt); outline-offset: 2px; }
.trow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; }
.trow b { font-size: 15px; display: block; }
.trow small { color: var(--muted); }
.filters-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filters-row .input, .filters-row select { min-height: 40px; height: 40px; border: 1px solid #cfd8cf; border-radius: 10px; padding: 0 12px; background: #fff; }
.filters-row .input { flex: 1; min-width: 200px; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st-new { background: var(--volt); color: var(--volt-ink); }
.st-confirmed { background: #dceefc; color: #154a7a; }
.st-shipped { background: #e6e0fb; color: #43308c; }
.st-done { background: #d9f0d6; color: #1e5c1a; }
.st-cancelled { background: #f6dcd9; color: #8a2a22; }
.uploader { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.uploader .prev { width: 120px; height: 90px; border-radius: 10px; border: 1px dashed #b9c6b9; background: #F5F8F2; display: grid; place-items: center; overflow: hidden; padding: 4px; }
.uploader .prev img, .uploader .prev svg { width: 100%; height: 100%; object-fit: contain; }
.uploader label.btn { cursor: pointer; }
.uploader input[type=file] { display: none; }
.specs-ed { display: grid; gap: 8px; }
.specs-ed .sr-row { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 8px; }
.specs-ed input { min-height: 40px; border: 1px solid #cfd8cf; border-radius: 8px; padding: 0 10px; }
.colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.color-f { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.color-f input[type=color] { width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px; }
.color-f b { font-size: 14px; display: block; }
.color-f small { color: var(--muted); font-size: 12px; font-family: ui-monospace, monospace; }
.savebar { position: sticky; bottom: 0; background: rgba(238,242,236,.96); backdrop-filter: blur(4px); padding: 14px 0; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 10px; z-index: 5; }
.pick-list { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.pick-list .check { padding: 6px 0; }
.camp-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 10px; background: #fff; }
.camp-card .pct { width: 72px; height: 64px; font-size: 15px !important; border-radius: 14px; background: var(--night); color: var(--volt); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.camp-card b { font-size: 16px; }
.camp-card small { color: var(--muted); display: block; margin-top: 2px; }
.camp-card .live { color: var(--ok); font-weight: 700; font-size: 12px; }
.camp-card .off { color: var(--muted); font-weight: 700; font-size: 12px; }
.slide-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.slide-row .sp { height: 88px; border-radius: 10px; background: var(--night); overflow: hidden; display: grid; place-items: center; }
.slide-row .sp img, .slide-row .sp svg { width: 100%; height: 100%; object-fit: cover; }
.slide-row .sp svg { object-fit: contain; padding: 6px; }
.login { min-height: 100vh; display: grid; place-items: center; background: var(--night); padding: 20px; }
.login form { background: #fff; border-radius: 22px; padding: 32px; width: min(420px, 100%); display: grid; gap: 16px; }
.login .lhead { display: flex; gap: 14px; align-items: center; }
.login .lhead img { width: 56px; height: 56px; border-radius: 50%; }
.login h1 { font-size: 20px; }
.login p { color: var(--muted); font-size: 14px; }
.order-items { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.order-items td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.order-items td:last-child { text-align: right; white-space: nowrap; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
@media (max-width: 980px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; width: 260px; transform: translateX(-105%); transition: transform .25s; }
  .adm-side.open { transform: none; }
  .adm-burger { display: grid; }
  .adm-main { padding: 16px 16px 60px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .colors { grid-template-columns: 1fr 1fr; }
  .slide-row, .camp-card { grid-template-columns: 1fr; }
  .tbl .hide-m { display: none; }
}

/* ══════════ Надграждане: Deye каталог, филтри, сравнение, конфигуратор ══════════ */
.pcard .cmpb { position: absolute; top: 54px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--muted); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.pcard .cmpb .ic { width: 18px; height: 18px; }
.pcard .cmpb:hover, .pcard .cmpb.on { color: var(--fox); }
.pcard .cmpb.on { background: var(--volt); color: var(--volt-ink); }
.price.request .now { font-size: 16px; color: var(--fox); font-family: var(--f-body); font-weight: 700; }
.pinfo .price.request .now { font-size: 22px; }
.req-note { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.45; }
.ptitle { color: var(--fox); font-weight: 600; margin-top: 8px; }
.bullets { list-style: none; padding: 0; margin: 16px 0 4px; display: grid; gap: 7px; }
.bullets li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.bullets .ic { width: 18px; height: 18px; color: var(--fox); margin-top: 2px; }
.cmp-btn.on { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.specs tr.sec th { text-align: left; background: var(--night); color: var(--volt); font-family: var(--f-display); font-size: 13px; font-weight: 600; padding: 10px 16px; letter-spacing: .01em; }
.specs { max-width: 900px; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 760px; }
.docs a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.docs a:hover { border-color: var(--fox); }
.docs a > .ic { color: var(--danger); width: 26px; height: 26px; }
.docs span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.docs small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs em { font-style: normal; font-size: 12px; font-weight: 700; background: var(--paper); border-radius: 6px; padding: 3px 8px; color: var(--muted); }
.fgroup { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup summary { font-weight: 700; font-size: 15px; margin: 14px 0 8px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "–"; color: var(--muted); font-weight: 400; }
.fgroup:not([open]) summary::after { content: "+"; }
.fgroup .fopt { font-size: 14px; }
.filters .show-res { display: none; margin-top: 14px; }
.more-wrap { text-align: center; margin: 26px 0 6px; display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.cmp-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp-table thead th { position: relative; background: #fff; width: 22%; }
.cmp-table thead th:first-child, .cmp-table td:first-child { width: 22%; color: var(--muted); }
.cmp-table .cmp-img { display: block; height: 120px; background: #F5F8F2; border-radius: 10px; padding: 8px; margin: 6px 0 10px; }
.cmp-table .cmp-img img, .cmp-table .cmp-img svg { width: 100%; height: 100%; object-fit: contain; }
.cmp-table .pname { font-weight: 600; display: block; line-height: 1.35; margin-bottom: 6px; }
.cmp-table .cmp-x { position: absolute; top: 8px; right: 8px; }
.cmp-table tr.diff td { background: #fbfdf3; }
.cmp-table tr.diff td:first-child { color: var(--ink); font-weight: 600; }
.cmp-table.only-diff tr.same { display: none; }
.cfg-h { font-size: 22px; margin-bottom: 8px; }
.cfg-sub { color: var(--muted); margin-bottom: 14px; }
.cfg-h3 { font-size: 16px; margin: 22px 0 10px; }
.cfg .opt-grid + .cfg-nav, .cfg-sub + .opt-grid { margin-top: 6px; }
.cfg-lines .line { align-items: start; }
.cfg-lines .why { color: var(--muted); font-size: 13px; display: block; }
.cfg-lines .ph-note { display: block; color: var(--warn); font-size: 13px; }
.swap { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.swap select { max-width: 100%; height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; background: #fff; font-size: 13px; min-width: 0; flex: 1; }
.cfg-notes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.cfg-notes li { display: flex; gap: 10px; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.cfg-notes .ic { color: var(--fox); width: 18px; height: 18px; margin-top: 2px; }
.cfg-tools { display: flex; gap: 8px; margin-top: 10px; }
.cfg-tools .btn { flex: 1; }
.extras { padding: 6px 18px; }
.extras .trow { cursor: pointer; }
.opt-grid .opt { min-height: 100%; }
@media (max-width: 980px) {
  .filters .show-res { display: flex; }
  .pcard .cmpb { top: 52px; }
}
@media (max-width: 640px) {
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .pcard .cmpb { width: 34px; height: 34px; top: 48px; }
}
@media print {
  #chromeTop, #chromeBottom, .stepper, .cfg-nav, .cfg-tools, #cfgCart, #cfgOffer, .swap, .crumbs, .toasts { display: none !important; }
  body { background: #fff; }
  .cfg { grid-template-columns: 1fr; }
  .box, .kpi { border-color: #ccc; }
}

/* ── Админ: продукти на Deye ── */
.dy-layout { display: grid; grid-template-columns: 270px 1fr; gap: 18px; align-items: start; }
.dy-cats { position: sticky; top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; max-height: calc(100vh - 32px); overflow: auto; }
.dy-cats a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.dy-cats a:hover { background: var(--paper); }
.dy-cats a.on { background: var(--night); color: var(--volt); font-weight: 600; }
.dy-cats a small { white-space: nowrap; opacity: .75; }
.dy-cats a small b { color: var(--fox); }
.dy-cats a.on small b { color: var(--volt); }
.dy-cats h5 { font-size: 12px; color: var(--muted); margin: 12px 10px 4px; }
.dy-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.dy-bar .input { flex: 1; min-width: 220px; }
.dy-series { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.dy-series.off { opacity: .75; }
.dy-series .dimg { width: 120px; height: 100px; border-radius: 12px; background: #F5F8F2; padding: 6px; }
.dy-series .dimg img { width: 100%; height: 100%; object-fit: contain; }
.dy-series h4 { font-family: var(--f-body); font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dy-series .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.dy-series .meta b { color: var(--ink); font-weight: 600; }
.dy-series details { margin-top: 6px; font-size: 13px; color: var(--muted); }
.dy-series details ul { margin: 6px 0 0; padding-left: 18px; }
.dy-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.dy-tag.warn { background: #fff1d6; color: #8a5a00; }
.dy-tag.ok { background: #d9f0d6; color: #1e5c1a; }
.dy-models { display: grid; gap: 6px; margin-top: 10px; }
.dy-model { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.dy-model input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--fox); }
.dy-model.in { background: #f4f9ef; border-color: #cfe3c4; }
.dy-model .mname b { display: block; font-weight: 600; }
.dy-model .mname small { color: var(--muted); }
.dy-model .st { font-size: 12px; font-weight: 700; white-space: nowrap; }
.dy-model .st.vis { color: var(--ok); }
.dy-model .st.hid { color: var(--warn); }
.dy-model .st.no { color: var(--muted); font-weight: 500; }
.dy-model .acts { display: flex; gap: 4px; }
.dy-sel { position: sticky; bottom: 12px; z-index: 5; background: var(--night); color: #fff; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; box-shadow: var(--shadow); margin-top: 14px; }
.dy-sel b { color: var(--volt); }
.dy-sel .sp { flex: 1; }
.dy-sel .btn-line { color: #fff; border-color: rgba(255,255,255,.35); }
.progress { height: 10px; background: var(--paper); border-radius: 6px; overflow: hidden; margin: 12px 0; }
.progress i { display: block; height: 100%; background: var(--fox); width: 0; transition: width .2s; }
.doc-ed .sr-row { grid-template-columns: 1fr 1.4fr auto auto; }
@media (max-width: 1100px) { .dy-layout { grid-template-columns: 1fr; } .dy-cats { position: static; max-height: none; } }
@media (max-width: 640px) { .dy-series { grid-template-columns: 1fr; } .dy-series .dimg { width: 100%; height: 140px; } .dy-model { grid-template-columns: 22px 1fr; } .dy-model .st, .dy-model .acts { grid-column: 2; } }
.spec3 .sr-row { grid-template-columns: 1fr 1fr 0.7fr 34px; }
@media (max-width: 640px) { .spec3 .sr-row { grid-template-columns: 1fr 1fr; } .doc-ed .sr-row { grid-template-columns: 1fr; } }
.dy-sel[hidden] { display: none; }
.dy-sel .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.dy-sel .btn-line:hover { background: rgba(255,255,255,.08); }
/* ── Пакети ── */
.collage { display: grid; width: 100%; height: 100%; gap: 6px; }
.collage.n2 { grid-template-columns: 1fr 1fr; }
.collage.n3, .collage.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collage.n3 > span:first-child { grid-row: span 2; }
.collage > span { position: relative; background: #fff; border-radius: 8px; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.collage img, .collage svg { width: 100%; height: 100%; object-fit: contain; }
.collage em { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 11px; font-weight: 700; background: var(--night); color: var(--volt); border-radius: 6px; padding: 1px 6px; }
.bundle-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 16px; max-width: 900px; }
.bundle-list .bl { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bundle-list .bl:hover b { color: var(--fox); }
.bundle-list .bt { width: 70px; height: 56px; background: #F5F8F2; border-radius: 8px; padding: 4px; }
.bundle-list .bt img, .bundle-list .bt svg { width: 100%; height: 100%; object-fit: contain; }
.bundle-list .bn small { display: block; color: var(--muted); font-size: 13px; }
.bundle-list .bq { color: var(--muted); white-space: nowrap; }
.bundle-list .bp { font-weight: 700; white-space: nowrap; }
.bl-sum { display: flex; justify-content: space-between; padding: 12px 0 4px; color: var(--muted); }
.bl-sum b { color: var(--ink); }
.bl-sum.save-row b { color: var(--fox); }
.bullets.in-bundle .ic { color: var(--night); }
.bd-items { display: grid; gap: 8px; }
.bd-row { display: grid; grid-template-columns: 54px 1fr 90px 110px 34px; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.bd-row .thumb { width: 54px; height: 42px; background: #F5F8F2; border-radius: 8px; padding: 3px; }
.bd-row .thumb img, .bd-row .thumb svg { width: 100%; height: 100%; object-fit: contain; }
.bd-row input { height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; width: 100%; }
.bd-row .sub { font-size: 13px; color: var(--muted); }
.bd-row .tot { text-align: right; font-weight: 700; white-space: nowrap; }
.bd-search { position: relative; margin-top: 12px; }
.bd-res { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 340px; overflow: auto; }
.bd-res button { display: grid; grid-template-columns: 1fr auto; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.bd-res button:hover { background: var(--paper); }
.bd-res small { color: var(--muted); }
.bd-sum { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 15px; }
.bd-sum b { font-family: var(--f-display); }
@media (max-width: 640px) { .bd-row { grid-template-columns: 44px 1fr 70px 30px; } .bd-row .tot { display: none; } .bundle-list .bl { grid-template-columns: 56px 1fr auto; } .bundle-list .bp { display: none; } }
/* ── Галерия ── */
.proj .pj-img { position: relative; display: block; }
.pj-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(5,22,30,.78); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pj-count .ic { width: 16px; height: 16px; }
.proj h3 a:hover { color: var(--fox); }
.gal-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.gal-filter button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.gal-filter button.on { background: var(--night); color: var(--volt); border-color: var(--night); }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.gal-item { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: #e7ece4; padding: 0; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gal-item:hover img { transform: scale(1.04); }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(3,12,16,.94); display: grid; place-items: center; padding: 56px 16px; }
.lb img { max-width: min(1400px, 100%); max-height: calc(100vh - 112px); object-fit: contain; border-radius: 8px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb-x { top: 14px; right: 14px; } .lb-p { left: 14px; top: 50%; } .lb-n { right: 14px; top: 50%; }
.lb-c { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #cfd8d3; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .gal-item img { transition: none; } }
/* ── Локални страници ── */
.lp-hero { background: var(--night); color: #fff; padding: 46px 0 40px; }
.lp-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.lp-hero h1 { font-size: clamp(28px, 4vw, 46px); color: #fff; margin: 12px 0 14px; text-wrap: balance; }
.lp-hero p { color: #c9d6d0; font-size: 17px; max-width: 60ch; }
.lp-hero .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.lp-hero .badge-line { display: inline-flex; align-items: center; gap: 8px; color: var(--volt); font-weight: 600; }
.lp-hero .visual { border-radius: 20px; overflow: hidden; background: var(--night-2); }
.lp-cols { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; margin-top: 12px; }
.lp-cols .prose p { font-size: 17px; }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { font-weight: 700; padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fox); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .prose { padding-bottom: 16px; color: #33433d; }
@media (max-width: 900px) { .lp-hero .wrap, .lp-cols { grid-template-columns: 1fr; } .lp-hero .visual { display: none; } }
.gal-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.gal-ed .ge { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #eef2ec; }
.gal-ed .ge img { width: 100%; height: 100%; object-fit: cover; }
.gal-ed .ge-a { position: absolute; left: 4px; right: 4px; bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.gal-ed .ge-a .ib { background: #fff; }
.gal-ed .ge.add { display: grid; place-items: center; align-content: center; gap: 6px; border: 2px dashed var(--line); background: #fff; cursor: pointer; color: var(--muted); font-size: 13px; text-align: center; }
.gal-ed .ge.add:hover { border-color: var(--fox); color: var(--fox); }
.seo-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15px; }
.seo-steps code { background: var(--paper); padding: 1px 6px; border-radius: 6px; }
/* Съдържание за Google, преди JavaScript да зареди сайта */
.ssr-nav { padding: 16px 20px; background: var(--night); color: #fff; font-size: 14px; }
.ssr-nav a { color: #fff; }
.ssr { padding: 24px 0 60px; }
.ssr h1 { font-size: clamp(24px, 3vw, 36px); margin: 10px 0 14px; }
.ssr h2 { font-size: 20px; margin: 22px 0 10px; }
.ssr p { margin: 0 0 12px; max-width: 75ch; }
.ssr-list { columns: 2 280px; padding-left: 18px; }
.ssr table td { padding: 4px 10px 4px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.proj .pj-img .pj-count svg, .proj .pj-img .pj-count .ic { width: 16px; height: 16px; position: static; }
.proj .pj-img .tag { z-index: 1; }

/* ── Видео ── */
.vbox { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg, 18px); overflow: hidden; background: #05161e; }
.vbox iframe, .vbox video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vbox video { object-fit: contain; }
.vfac { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #05161e; cursor: pointer; display: block; }
.vfac img, .vfac video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s, transform .4s; }
.vfac:hover img, .vfac:hover video { opacity: 1; transform: scale(1.02); }
.vfac::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,12,16,0) 55%, rgba(3,12,16,.7)); pointer-events: none; }
.vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--volt, #d4ec32); color: #05161e; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); z-index: 2; transition: transform .2s; }
.vplay .ic { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.vfac:hover .vplay, .vfac:focus-visible .vplay { transform: translate(-50%, -50%) scale(1.08); }
.vplay.sm { width: 30px; height: 30px; box-shadow: none; }
.vplay.sm .ic { width: 14px; height: 14px; margin-left: 2px; }
.vtitle { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; font-weight: 600; font-size: 15px; text-align: left; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.gallery .main.is-video { padding: 0; aspect-ratio: 16 / 9; background: #05161e; overflow: hidden; }
.gallery .main.is-video .vbox { height: 100%; border-radius: 0; aspect-ratio: auto; }
.gallery .main .vbox img, .gallery .main .vbox video { object-fit: cover; }
.gallery .main .vbox.playing video { object-fit: contain; }
.gallery .thumbs { flex-wrap: wrap; }
.gallery .thumbs button.vt { position: relative; background: #05161e; padding: 0; overflow: hidden; }
.gallery .thumbs button.vt img { object-fit: cover; }
.vid-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.vid-note .ic { width: 16px; height: 16px; fill: currentColor; color: var(--fox); }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 18px; }
.vid-grid.one { grid-template-columns: minmax(0, 860px); }
.pj-count .ic + .ic, .pj-count span + .ic { margin-left: 6px; }
.slide .visual .vbox.hero-v { max-height: 420px; border-radius: 24px; }
.slide .visual video.photo { background: #000; aspect-ratio: 16 / 9; }
/* админ: редактор на видео */
.vid-ed .vrow { display: grid; grid-template-columns: 128px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.vid-ed .vrow:first-child { border-top: 0; }
.vid-ed .vth { position: relative; width: 128px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #05161e; }
.vid-ed .vth img, .vid-ed .vth video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-ed .vth .vplay { width: 30px; height: 30px; }
.vid-ed .vth .vplay .ic { width: 14px; height: 14px; margin-left: 2px; }
.vid-ed .vmeta { display: grid; gap: 6px; min-width: 0; }
.vid-ed .vmeta input { width: 100%; }
.vid-ed .vmeta small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vid-ed .vact { display: flex; gap: 4px; }
.vid-ed .vprog { margin-top: 12px; }
.vid-ed .vprog .bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.vid-ed .vprog .bar i { display: block; height: 100%; width: 0; background: var(--fox); transition: width .2s; }
.vid-ed .vprog span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.vid-ed .vempty { color: var(--muted); font-size: 14px; padding: 6px 0; }
@media (max-width: 600px) { .vid-ed .vrow { grid-template-columns: 96px 1fr; } .vid-ed .vth { width: 96px; } .vid-ed .vact { grid-column: 1 / -1; justify-content: flex-end; } .vid-grid { grid-template-columns: 1fr; } }
