/* Шрифт Manrope – от нашия сървър (без Google Fonts) */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1d6fe0;
  --blue-d: #1559b8;
  --sky: #eef4fd;
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #e2e8f0;
  --text: #14213d;
  --muted: #5b6b80;
  --buy: #f07f2d;
  --buy-d: #d9691a;
  --ok: #138a5b;
  --warn: #b45309;
  --r: 14px;
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 4px 14px rgba(11,37,69,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-feature-settings: 'locl' 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--buy); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 21px; flex: none; }

/* Инфо лента */
.infobar { background: var(--navy); color: #c9d6ea; font-size: 13px; }
.infobar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.infobar a { color: #fff; text-decoration: none; font-weight: 700; }
.infobar-r { display: flex; gap: 18px; white-space: nowrap; }

/* Хедър */
.hdr { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 76px; }
/* Лого Пи Теч */
.lg-mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 6px 12px rgba(29,111,224,.35)); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.logo:hover .lg-mark { transform: rotate(-8deg) scale(1.06); }
.lg-dot { animation: lgdot 3s ease-in-out infinite; transform-origin: 38.5px 35px; }
@keyframes lgdot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.lg-txt { display: flex; flex-direction: column; line-height: 1; }
.lg-txt b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.lg-txt b em { font-style: normal; margin-left: 5px; background: linear-gradient(90deg, var(--blue), #4f95f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-txt small { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.foot-brand .lg-mark { width: 34px; height: 34px; filter: none; vertical-align: middle; }
.logo img { height: 46px; max-width: 220px; object-fit: contain; display: block; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; text-decoration: none; color: var(--navy); white-space: nowrap; }
.search { position: relative; flex: 1; display: flex; align-items: center; background: var(--sky); border: 2px solid transparent; border-radius: 12px; transition: border-color .15s, background .15s; }
.search:focus-within { border-color: var(--blue); background: #fff; }
.s-ico { margin-left: 14px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; background: transparent; padding: 13px 12px; font: inherit; color: var(--text); min-width: 0; outline: none; }
.search > button { border: 0; background: var(--blue); color: #fff; font-weight: 700; padding: 0 22px; align-self: stretch; border-radius: 0 10px 10px 0; }
.search > button:hover { background: var(--blue-d); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(11,37,69,.16); overflow: hidden; z-index: 40; }
.sg-item { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.sg-item:hover, .sg-item.on { background: var(--sky); }
.sg-item .th { width: 48px; height: 48px; }
.sg-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.sg-price { font-weight: 800; white-space: nowrap; }
.sg-all { display: block; padding: 10px 14px; text-align: center; font-weight: 700; color: var(--blue); text-decoration: none; }
.sg-empty { padding: 14px; color: var(--muted); }
.cart-btn { position: relative; display: flex; align-items: center; gap: 10px; border: 0; background: var(--navy); color: #fff; padding: 9px 16px 9px 14px; border-radius: 12px; flex: none; }
.cart-btn:hover { background: var(--navy-2); }
.cart-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cart-l { font-size: 12px; color: #c9d6ea; }
.cart-txt b { font-size: 15px; white-space: nowrap; }
.cart-n { position: absolute; top: -6px; left: 24px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--buy); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.cart-btn.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.08); } }

/* Лента с категории и мега меню */
.catbar { background: var(--blue); position: relative; }
.catbar-in { display: flex; align-items: center; gap: 6px; height: 46px; }
.all-cats { display: flex; align-items: center; gap: 8px; border: 0; background: var(--blue-d); color: #fff; font-weight: 700; height: 46px; padding: 0 16px; flex: none; }
.all-cats[aria-expanded="true"] { background: var(--buy-d); }
.catlinks { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catlinks::-webkit-scrollbar { display: none; }
.catlinks a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.catlinks a svg { opacity: .85; flex: none; }
.catlinks a:hover svg, .catlinks a.on svg { opacity: 1; }
.catlinks a.nav-mi { padding: 4px 6px; display: flex; align-items: center; }
.catlinks a.nav-mi img { height: 26px; width: auto; display: block; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.catlinks a:hover, .catlinks a.on { background: rgba(255,255,255,.16); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 18px 40px rgba(11,37,69,.18); border-top: 1px solid var(--line); max-height: calc(100vh - 170px); overflow: auto; }
.mega-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 28px; padding-top: 22px; padding-bottom: 26px; }
.mega-col h4 { margin: 0 0 6px; font-size: 15px; }
.mega-col h4 a { text-decoration: none; color: var(--navy); }
.mega-col h4 a:hover { color: var(--blue); }
.mega-col a.sub { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 3px 0; }
.mega-col a.sub:hover { color: var(--blue); }
.mega-col .n { color: #9aa8b8; font-size: 12px; }

.demo-bar { background: #fff4e5; color: #8a4b0f; text-align: center; padding: 7px 16px; font-size: 13px; }
.view { flex: 1; padding-bottom: 48px; }

/* Начална страница */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 20px; }
.slider { position: relative; border-radius: 18px; overflow: hidden; min-height: 300px; background: var(--navy); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 40px 48px; color: #fff; opacity: 0; transition: opacity .6s; text-decoration: none; }
.slide.on { opacity: 1; z-index: 1; }
.slide > div:first-child { max-width: 56%; position: relative; z-index: 1; }
.slide h2 { font-size: 36px; line-height: 1.15; margin: 0 0 10px; max-width: 520px; }
.slide p { margin: 0 0 20px; color: rgba(255,255,255,.85); max-width: 460px; font-size: 16px; }
.slide .cta { display: inline-block; background: #fff; color: var(--navy); font-weight: 800; padding: 11px 20px; border-radius: 10px; }
.slide .art { position: absolute; right: 36px; bottom: 0; top: 0; width: 38%; display: flex; align-items: center; justify-content: center; }
.slide .art img { max-width: 100%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.25)); background: #fff; border-radius: 16px; padding: 12px; }
.dots { position: absolute; left: 48px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: width .2s; }
.dots button.on { width: 26px; background: #fff; }
.hero-side { display: grid; gap: 16px; }
.promo { border-radius: 18px; padding: 22px; color: var(--navy); text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.promo b { font-size: 19px; line-height: 1.25; }
.promo span { color: var(--muted); font-size: 14px; }
.promo.a { background: var(--sky); }
.promo.b { background: #fff1e6; background: color-mix(in srgb, var(--buy) 14%, white); }

.sec { margin-top: 36px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { font-size: 24px; margin: 0; line-height: 1.2; }
.sec-h a { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: box-shadow .15s, transform .15s, border-color .15s; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #c9d8ee; }
.tile .ti { width: 96px; height: 96px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; overflow: hidden; }
.tile .ti img { width: 78%; height: 78%; object-fit: contain; }
.tile b { font-size: 14px; line-height: 1.25; }
.tile span { font-size: 12px; color: var(--muted); }

.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 40%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 18px; color: var(--navy); z-index: 2; }
.rail-btn.l { left: -14px; } .rail-btn.r { right: -14px; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.svc .si { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.svc b { display: block; margin-bottom: 2px; }
.svc span { color: var(--muted); font-size: 14px; }

/* Продуктова карта */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #c9d8ee; }
.card-link { display: flex; flex-direction: column; text-decoration: none; flex: 1; }
.card .img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; }
.card .img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.card:hover .img img { transform: scale(1.04); }
.card .body { padding: 0 14px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.card .meta { font-size: 12px; color: var(--muted); }
.card .cf { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px 14px; min-height: 58px; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 1; pointer-events: none; }
.badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .02em; }
.badge.new { background: var(--blue); color: #fff; }
.badge.low { background: #fff4e5; color: var(--warn); }
.badge.out { background: #eef1f5; color: var(--muted); }
.price { font-weight: 800; font-size: 19px; color: var(--navy); white-space: nowrap; }
.stock { font-size: 12px; font-weight: 700; }
.stock.ok { color: var(--ok); }
.stock.no { color: var(--muted); }
.ph { width: 56px; height: 56px; color: #c3cfdd; }
.th { width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.th img { width: 100%; height: 100%; object-fit: contain; }
.th .ph { width: 28px; height: 28px; }

/* Бутон за количка / степер */
.add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--buy); color: #fff; font-size: 24px; font-weight: 700; line-height: 1; display: grid; place-items: center; flex: none; transition: background .15s, transform .1s; }
.add:hover { background: var(--buy-d); }
.add:active { transform: scale(.92); }
.step { display: inline-flex; align-items: center; background: var(--buy); color: #fff; border-radius: 21px; height: 42px; flex: none; }
.step button { width: 36px; height: 42px; border: 0; background: none; color: #fff; font-size: 20px; font-weight: 700; }
.step button:hover { background: rgba(0,0,0,.08); }
.step button:first-child { border-radius: 21px 0 0 21px; } .step button:last-child { border-radius: 0 21px 21px 0; }
.step span { min-width: 24px; text-align: center; font-weight: 800; }
.step.lg { height: 50px; border-radius: 25px; }
.step.lg button { width: 46px; height: 50px; font-size: 22px; }
.step.lg span { min-width: 36px; font-size: 17px; }
.step.sm { height: 34px; background: var(--sky); color: var(--navy); }
.step.sm button { width: 30px; height: 34px; color: var(--navy); font-size: 17px; }

/* Каталог */
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; margin-top: 20px; }
.side-toggle { display: none; }
.groups { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; }
.groups a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.groups a:hover { background: var(--sky); }
.groups a.active { background: var(--blue); color: #fff; font-weight: 700; }
.groups a .n { color: #9aa8b8; font-size: 12px; }
.groups a.active .n { color: #dbe7fb; }
.groups .sub { padding-left: 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.head h1 { font-size: 26px; line-height: 1.2; margin: 0; }
.head .count { color: var(--muted); font-size: 14px; }
.tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.tools select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tools label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.subcats a { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 6px 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.subcats a:hover { border-color: var(--blue); color: var(--blue); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.pager .cur { background: var(--blue); color: #fff; border-color: var(--blue); }
.empty, .msg { background: #fff; border: 1px dashed var(--line); border-radius: var(--r); padding: 40px; text-align: center; color: var(--muted); }

/* Продукт */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.gallery .big { aspect-ratio: 4 / 3; width: 100%; background: #fff; border-radius: 12px; display: grid; place-items: center; }
.gallery .big img { width: 100%; height: 100%; object-fit: contain; }
.gallery .big .ph { width: 96px; height: 96px; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 70px; height: 70px; padding: 4px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.thumbs button.on { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.info h1 { font-size: 26px; line-height: 1.25; margin: 0 0 10px; }
.meta-row { color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.buybox { background: var(--sky); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.buybox .price { font-size: 34px; }
.buybox .vat { color: var(--muted); font-size: 13px; margin-left: 6px; }
.buybox .stock { display: block; margin: 4px 0 14px; font-size: 14px; }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--buy); color: #fff; padding: 0 26px; height: 50px; border-radius: 25px; text-decoration: none; border: 0; font: inherit; font-weight: 800; }
.btn:hover { background: var(--buy-d); }
.btn.blue { background: var(--blue); } .btn.blue:hover { background: var(--blue-d); }
.btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn:disabled { opacity: .6; }
.perks { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.perks div { display: flex; gap: 8px; align-items: center; }
.perks svg { color: var(--blue); flex: none; }
.desc { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.desc h2 { font-size: 20px; margin: 0 0 12px; }
.desc p { margin: 0 0 10px; }
.desc ul { margin: 0 0 10px; padding-left: 20px; }
.desc li { margin-bottom: 4px; }

/* Странична количка */
.drawer-bg { position: fixed; inset: 0; background: rgba(11,37,69,.45); z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 51; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(11,37,69,.2); animation: slidein .2s ease-out; }
@keyframes slidein { from { transform: translateX(30px); opacity: .5; } }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 18px; }
.x { border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer-f { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; }
.dline { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dline:last-child { border-bottom: 0; }
.dline .nm { font-weight: 600; font-size: 14px; line-height: 1.3; text-decoration: none; }
.dline .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.dline .lt { font-weight: 800; }
.d-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; }
.d-empty { text-align: center; color: var(--muted); padding: 48px 10px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100% - 32px); }
.toast button { background: none; border: 0; color: #ffb37a; font-weight: 800; margin-left: 10px; text-decoration: underline; }

/* Поръчка */
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: start; margin-top: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.box h2 { font-size: 20px; margin: 0 0 14px; }
.cline { display: grid; grid-template-columns: 64px 1fr auto auto 28px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cline .th { width: 64px; height: 64px; }
.cline .nm { font-weight: 700; line-height: 1.3; text-decoration: none; }
.cline .sub { font-size: 13px; color: var(--muted); }
.cline .lt { font-weight: 800; white-space: nowrap; text-align: right; min-width: 90px; }
.cline .rm { border: 0; background: none; font-size: 22px; color: var(--muted); line-height: 1; }
.cline .rm:hover { color: #c0392b; }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; font-weight: 800; font-size: 22px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.form .err { color: #c0392b; font-size: 12px; font-weight: 600; }
.form .bad input { border-color: #c0392b; }
.flabel { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.form .opt { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; }
.form .opt:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.form .check { display: flex; flex-direction: row; align-items: center; gap: 8px; cursor: pointer; }
.form .check input, .form .opt input { width: auto; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 13px; color: var(--muted); }
.formerr { background: #fdecea; color: #8a1c13; padding: 10px 12px; border-radius: 10px; font-weight: 600; margin-bottom: 12px; }
.done-box { text-align: center; padding: 44px 24px; max-width: 640px; margin: 24px auto 0; }
.done-box .big-n { font-size: 44px; font-weight: 800; color: var(--blue); margin: 6px 0 14px; }
.done-box table { margin: 20px auto 0; border-collapse: collapse; text-align: left; font-size: 15px; }
.done-box td { padding: 6px 12px; border-bottom: 1px solid var(--line); }
.done-box td + td { white-space: nowrap; }

/* Футър */
.foot { background: var(--navy); color: #c9d6ea; font-size: 14px; margin-top: 40px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 36px; padding-bottom: 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.foot-h { color: #fff; font-weight: 800; margin-bottom: 10px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
#footCats a { display: block; padding: 2px 0; color: #c9d6ea; }
.foot-b { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; font-size: 13px; color: #8ea3c0; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .cat-layout { grid-template-columns: 1fr; gap: 12px; }
  .side-toggle { display: block; width: 100%; padding: 12px 14px; font-weight: 700; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .groups { display: none; position: static; max-height: none; margin-top: 8px; }
  .side.open .groups { display: block; }
  .product { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .checkout { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .infobar-in > span:first-child { display: none; }
  .infobar-r { justify-content: center; width: 100%; gap: 12px; }
  .hdr-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .search > button { padding: 0 14px; }
  .cart-btn { margin-left: auto; padding: 8px 12px; }
  .cart-l { display: none; }
  .slide { padding: 26px 24px 44px; }
  .slide > div:first-child { max-width: 56%; position: relative; z-index: 1; }
.slide h2 { font-size: 24px; }
  .slide .art { display: none; }
  .slide > div:first-child { max-width: 100%; }
  .slider { min-height: 230px; }
  .dots { left: 24px; }
  .hero-side { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rail { grid-auto-columns: 46%; }
  .rail-btn { display: none; }
  .card .body { padding: 0 10px 4px; }
  .card .cf { padding: 6px 10px 10px; }
  .price { font-size: 16px; }
  .add, .step { height: 38px; } .add { width: 38px; }
  .step button { width: 30px; height: 38px; }
  .head h1 { font-size: 21px; }
  .form { grid-template-columns: 1fr; }
  .cline { grid-template-columns: 52px 1fr auto; grid-template-areas: "t n x" "t q l"; gap: 6px 12px; }
  .cline .th { grid-area: t; width: 52px; height: 52px; }
  .cline > div:nth-child(2) { grid-area: n; }
  .cline .step { grid-area: q; justify-self: start; }
  .cline .lt { grid-area: l; }
  .cline .rm { grid-area: x; }
  .foot-in { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tile { padding: 10px 6px; }
  .tile .ti { width: 64px; height: 64px; }
  .tile b { font-size: 12px; }
}

.dline .rm { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; margin-top: 4px; }
.dline .rm:hover { color: #c0392b; }

.hero.single { grid-template-columns: 1fr; }

/* Информационни страници */
.pg { padding-top: 20px; padding-bottom: 40px; }
.pg p { margin: 0 0 10px; }
.pg .sec { margin-top: 64px; }
.pg-head { margin-bottom: 26px; }
.pg-head h2 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.pg-head p { color: var(--muted); font-size: 17px; }
.pg-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.pg-head.light h2 { color: #fff; } .pg-head.light p { color: rgba(255,255,255,.75); }
.pg-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pg-btns.center { justify-content: center; margin-top: 30px; }
.btn.big { height: 58px; padding: 0 30px; border-radius: 29px; font-size: 17px; }
.btn.buy { background: var(--buy); color: #fff; box-shadow: 0 8px 24px rgba(240,127,45,.35); }
.btn.buy:hover { background: var(--buy-d); }
.btn.ghost-d { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn.ghost-d:hover { background: var(--navy); color: #fff; }

/* Банер */
.pg-hero { position: relative; border-radius: 24px; overflow: hidden; color: #fff;
  background: radial-gradient(900px 420px at 85% 20%, rgba(29,111,224,.55), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(240,127,45,.18), transparent 60%), var(--navy); }
.pg-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.pg-hero-in { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding: 64px 56px; }
.pg-hero.has-side .pg-hero-in { grid-template-columns: 1.08fr 1fr; }
.pg-hero h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; letter-spacing: -.02em; }
.pg-hero p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 620px; }
.pg-hero .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.pg-hero .btn.ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.pg-badges { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pg-badges li { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: #dbe7fb; }
.pg-badges svg { color: #4ade80; flex: none; }
.pg-hero-img { width: 100%; max-height: 380px; object-fit: contain; border-radius: 16px; }

/* Илюстрация на програмата */
.mk { position: relative; padding: 26px 10px 96px 26px; }
.mk-win { background: #fff; color: var(--text); border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.mk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; } .mk-bar i:nth-child(2) { background: #fbbf24; } .mk-bar i:nth-child(3) { background: #4ade80; }
.mk-bar span { margin-left: 8px; }
.mk-body { padding: 16px; }
.mk-scan { display: flex; align-items: center; gap: 8px; background: var(--sky); border-radius: 10px; padding: 9px 12px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.mk-scan svg { color: var(--blue); } .mk-scan b { margin-left: auto; color: var(--ok); font-size: 12px; }
.mk-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mk-t td { padding: 9px 4px; border-bottom: 1px dashed var(--line); }
.mk-t td:nth-child(2) { text-align: center; color: var(--muted); width: 40px; } .mk-t td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.mk-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding: 12px 14px; background: var(--navy); color: #fff; border-radius: 10px; }
.mk-sum b { font-size: 22px; }
.mk-chip { position: absolute; display: flex; align-items: center; gap: 7px; background: #fff; color: var(--text); font-size: 13px; font-weight: 700; padding: 9px 13px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.25); white-space: nowrap; }
.mk-chip svg { color: #fff; background: var(--ok); border-radius: 50%; padding: 2px; width: 20px; height: 20px; }
.mk-chip.c1 { top: 0; right: 4px; animation: mkf 5s ease-in-out infinite; }
.mk-chip.c2 { bottom: 40px; left: 0; animation: mkf 5s ease-in-out 1.2s infinite; }
.mk-chip.c2 svg { background: var(--blue); }
.mk-card { position: absolute; right: -6px; bottom: -6px; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 34px rgba(0,0,0,.28); width: 150px; animation: mkf 6s ease-in-out .6s infinite; }
.mk-card small { color: var(--muted); font-weight: 700; display: block; } .mk-card b { font-size: 20px; }
.mk-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; margin-top: 6px; }
.mk-bars i { flex: 1; background: linear-gradient(var(--blue), #7fb0f5); border-radius: 3px 3px 0 0; }
.mk-t tr { animation: mkr .5s ease both; animation-delay: var(--d); }
@keyframes mkf { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mkr { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* Банер със слайдове */
.hs-track { display: grid; }
.hs-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; padding-bottom: 96px; }
.hs-slide.on { opacity: 1; visibility: visible; }
.hs-slide .pg-hero-txt > * { transition: transform .6s ease, opacity .6s ease; }
.hs-slide:not(.on) .pg-hero-txt > * { transform: translateY(14px); }
.hs-slide:not(.on) .mk { transform: translateX(24px); }
.hs-slide .mk { transition: transform .7s ease; }
.hs .h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; letter-spacing: -.02em; }
.hs-eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ffb37a; margin-bottom: 14px; }
.hs-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.hs-nav { position: absolute; left: 56px; right: 56px; bottom: 30px; display: flex; gap: 8px; z-index: 2; }
.hs-nav button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; flex: 1; justify-content: center; }
.hs-nav button:hover { background: rgba(255,255,255,.12); color: #fff; }
.hs-nav button.on { background: #fff; color: var(--navy); border-color: #fff; }
.hs-nav button.on svg { color: var(--buy); }
.hs-nav button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--buy); }
.hs-nav button.run i { animation: hsrun 7s linear forwards; }
@keyframes hsrun { to { width: 100%; } }
.mk-t tr.low td { color: #b42318; font-weight: 700; } .mk-t tr.low td:last-child { color: #b42318; }
.mk-chip.warn svg { background: var(--buy); }
.mk-dots { display: flex; gap: 4px; margin-top: 8px; } .mk-dots i { width: 14px; height: 14px; border-radius: 4px; background: #d1fadf; } .mk-dots i.r { background: #fecaca; }
.mk-tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.mk-tables span { text-align: center; font-size: 12px; font-weight: 700; padding: 9px 2px; border-radius: 8px; background: #f0faf4; color: var(--ok); border: 1px solid #cdeedd; }
.mk-tables span.busy { background: #fff5f4; color: #b42318; border-color: #fde0dc; }
.mk-tables span.sel { background: var(--navy); color: #fff; border-color: var(--navy); }
.mk-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.mk-shop > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 3px; animation: mkr .5s ease both; animation-delay: var(--d); }
.mk-shop i { display: block; height: 58px; border-radius: 7px; margin-bottom: 4px; }
.mk-shop span { font-size: 12px; font-weight: 700; } .mk-shop b { font-size: 14px; color: var(--navy); } .mk-shop em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ok); }
.mk-half { margin-bottom: 0; }
.mk-arrow { display: flex; align-items: center; justify-content: center; gap: 8px; color: #ffb37a; font-weight: 800; font-size: 13px; padding: 10px 0; }
.mk-arrow svg { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mk-again { display: grid; gap: 6px; }
.mk-again > div { display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; animation: mkr .5s ease both; animation-delay: var(--d); }
.mk-again span { font-size: 13px; font-weight: 700; } .mk-again small { grid-column: 1; color: var(--muted); font-size: 11.5px; }
.mk-again b { grid-row: 1 / 3; grid-column: 2; background: var(--buy); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 999px; }
.hs .mk-t td:nth-child(2) { width: auto; white-space: nowrap; font-size: 12.5px; }
@media (max-width: 960px) { .hs-nav { left: 32px; right: 32px; } }
@media (max-width: 700px) {
  .hs .h1 { font-size: 30px; }
  .hs-slide { padding-bottom: 80px; }
  .hs-nav { left: 12px; right: 12px; bottom: 44px; gap: 6px; }
  .hs-nav button { padding: 10px 6px; flex-direction: column; gap: 3px; font-size: 11.5px; }
  .hs .mk { display: none; }
}

/* Лента с факти */
.pg-stats { position: relative; z-index: 2; margin: -34px 32px 0; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(11,37,69,.12); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pg-stat { display: flex; gap: 14px; align-items: center; padding: 22px 24px; }
.pg-stat + .pg-stat { border-left: 1px solid var(--line); }
.pg-stat .si { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.pg-stat b { display: block; font-size: 20px; color: var(--navy); line-height: 1.2; }
.pg-stat span { color: var(--muted); font-size: 14px; line-height: 1.35; display: block; }

/* Проблем → решение */
.pain-cols, .pain-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pain-h { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 0 20px 8px; }
.pain-h.bad { color: #b42318; } .pain-h.good { color: var(--ok); }
.pain-list { display: grid; gap: 12px; }
.pain-row > div { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; font-size: 16px; line-height: 1.45; }
.pain-b { background: #fff5f4; color: #5c1d17; border: 1px solid #fde0dc; }
.pain-g { background: #f0faf4; color: #0f3d2a; border: 1px solid #cdeedd; font-weight: 600; position: relative; }
.pain-row > div svg { flex: none; margin-top: 2px; border-radius: 50%; padding: 3px; width: 24px; height: 24px; color: #fff; }
.pain-b svg { background: #e5484d; } .pain-g svg { background: var(--ok); }
.pain-g::before { content: '→'; position: absolute; left: -14px; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; color: var(--muted); font-weight: 800; }

/* Табове по бизнес */
.tabs-box { display: grid; grid-template-columns: 300px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.tabs-nav { background: var(--sky); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.tabs-nav button { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: transparent; padding: 14px 16px; border-radius: 12px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.tabs-nav button svg { color: var(--blue); flex: none; }
.tabs-nav button:hover { background: rgba(255,255,255,.7); }
.tabs-nav button.on { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(11,37,69,.25); }
.tabs-nav button.on svg { color: #ffb37a; }
.tab-p { padding: 34px 40px; animation: mkr .3s ease; }
.tab-ic { width: 60px; height: 60px; border-radius: 16px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.tab-p h3 { font-size: 26px; margin: 0 0 10px; }
.tab-txt { font-size: 16px; color: var(--muted); }
.tab-txt p { margin: 0 0 12px; }
.tab-txt ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.tab-txt li { position: relative; padding-left: 30px; color: var(--text); font-weight: 600; }
.tab-txt li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.tab-p .pg-btns { margin-top: 26px; }

/* Карти */
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pg-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,37,69,.10); border-color: #c9dbf6; }
.pg-card .si { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), #4f95f0); color: #fff; display: grid; place-items: center; margin-bottom: 14px; box-shadow: 0 8px 18px rgba(29,111,224,.3); }
.pg-card h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.pg-card p { color: var(--muted); font-size: 15px; }

/* Доработки */
.pg-show { margin-top: 64px; border-radius: 24px; background: radial-gradient(700px 300px at 50% 0%, rgba(29,111,224,.45), transparent 70%), var(--navy); color: #fff; }
.pg-show-in { padding: 56px 48px; }
.show-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.show-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px; transition: background .2s, transform .2s; }
.show-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.show-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; }
.show-card .si { width: 46px; height: 46px; border-radius: 12px; background: var(--buy); display: grid; place-items: center; }
.show-card .tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #cfe0fa; }
.show-card h3 { margin: 0 0 8px; font-size: 18px; }
.show-card p { color: rgba(255,255,255,.75); font-size: 15px; }

/* Стъпки */
.pg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; position: relative; }
.pg-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: relative; }
.pg-step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue); font-weight: 800; font-size: 19px; display: grid; place-items: center; margin-bottom: 12px; border: 2px solid var(--blue); }
.pg-step:first-child .num { background: var(--buy); border-color: var(--buy); color: #fff; }
.pg-step h3 { margin: 0 0 6px; font-size: 17px; }
.pg-step p { color: var(--muted); font-size: 15px; }
.pg-text { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.pg-text h2 { margin: 0 0 10px; font-size: 22px; }

/* Въпроси */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-list details[open] { border-color: #c9dbf6; box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 700; font-size: 16.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .fx { width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq-list details[open] .fx { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { padding: 0 22px 18px; color: var(--muted); font-size: 15.5px; }
.faq-a p { margin: 0 0 8px; }

/* Обадете ми се */
.pg-cb { margin-top: 64px; scroll-margin-top: 140px; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 140%); color: #fff; }
.pg-cb-in { display: grid; grid-template-columns: 1fr 440px; gap: 40px; padding: 52px 52px; align-items: center; }
.cb-info h2 { font-size: 34px; line-height: 1.15; margin: 0 0 14px; }
.cb-info p { color: rgba(255,255,255,.8); font-size: 17px; }
.cb-phone { display: inline-flex; align-items: center; gap: 16px; margin: 18px 0 22px; text-decoration: none; color: #fff; }
.cb-phone > svg { width: 64px; height: 64px; padding: 16px; background: var(--buy); border-radius: 50%; box-shadow: 0 0 0 0 rgba(240,127,45,.6); animation: ring 2.2s infinite; }
.cb-phone small { display: block; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 700; }
.cb-phone span { font-size: 36px; font-weight: 800; letter-spacing: .01em; line-height: 1.1; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(240,127,45,.55); } 70% { box-shadow: 0 0 0 18px rgba(240,127,45,0); } 100% { box-shadow: 0 0 0 0 rgba(240,127,45,0); } }
.cb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cb-list li { display: flex; gap: 10px; align-items: center; color: #dbe7fb; font-weight: 600; }
.cb-list svg { color: #ffb37a; flex: none; } .cb-list a { color: #fff; }
.cb-form { background: #fff; color: var(--text); border-radius: 20px; padding: 28px; box-shadow: 0 24px 50px rgba(0,0,0,.25); display: grid; gap: 12px; }
.cb-form h3 { margin: 0; font-size: 21px; }
.cb-sub { color: var(--muted); margin: 0 !important; font-size: 14.5px; }
.cb-form label { display: block; font-weight: 700; font-size: 14px; }
.cb-form label input, .cb-form label select, .cb-form label textarea { margin-top: 5px; }
.cb-form input, .cb-form select, .cb-form textarea { font: inherit; font-weight: 500; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); }
.cb-form input:focus, .cb-form select:focus, .cb-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,224,.15); }
.cb-form .bad { border-color: #e5484d; }
.cb-form .opt-l { color: var(--muted); font-weight: 500; }
.cb-form .btn { width: 100%; margin-top: 4px; }
.cb-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cb-msg { margin: 0 !important; font-size: 14px; color: var(--muted); min-height: 1em; } .cb-msg.err { color: #b42318; font-weight: 700; }
.cb-ok { text-align: center; padding: 20px 6px; }
.cb-ok > svg { width: 64px; height: 64px; padding: 12px; color: #fff; background: var(--ok); border-radius: 50%; }
.cb-ok h3 { margin: 12px 0 6px; } .cb-ok p { color: var(--muted); } .cb-ok a { color: var(--blue); font-weight: 800; }

/* Призив */
.pg-cta { margin-top: 48px; background: var(--sky); border-radius: 20px; padding: 32px 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pg-cta h2 { margin: 0 0 6px; font-size: 26px; }
.pg-cta p { color: var(--muted); }
.pg-cta .pg-btns { margin: 0; }

/* Плаващ бутон за обаждане */
.callbar { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; gap: 8px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s, transform .25s; }
.callbar.show { opacity: 1; transform: none; pointer-events: auto; }
.callbar a { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 22px; border-radius: 27px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(11,37,69,.3); }
.cb-call { background: var(--buy); color: #fff; } .cb-call:hover { background: var(--buy-d); }
.cb-back { background: var(--navy); color: #fff; }

/* Появяване при превъртане */
.pg.anim .rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.pg.anim .rv.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .pg-hero.has-side .pg-hero-in, .pg-cb-in { grid-template-columns: 1fr; }
  .pg-hero-in { padding: 44px 32px; }
  .mk { max-width: 520px; }
  .tabs-box { grid-template-columns: 1fr; }
  .tabs-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .tabs-nav button { white-space: nowrap; flex: none; }
  .pg-cards { grid-template-columns: 1fr 1fr; }
  .pg-stats { margin: -26px 16px 0; }
  .pg-stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 700px) {
  .pg .sec, .pg-show, .pg-cb { margin-top: 44px; }
  .pg-hero { border-radius: 18px; }
  .pg-hero-in { padding: 32px 20px 44px; gap: 26px; }
  .pg-hero h1 { font-size: 30px; }
  .pg-hero p { font-size: 16px; }
  .pg-btns .btn { width: 100%; }
  .mk { padding: 20px 0 34px 6px; }
  .mk-card { display: none; }
  .mk-chip { font-size: 12px; }
  .pg-head h2 { font-size: 25px; }
  .pg-stats { grid-template-columns: 1fr 1fr; margin: -22px 10px 0; }
  .pg-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
  .pg-stat + .pg-stat { border-left: 0; }
  .pg-stat:nth-child(even) { border-left: 1px solid var(--line); }
  .pg-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pg-stat b { font-size: 17px; }
  .pain-cols { display: none; }
  .pain-row { grid-template-columns: 1fr; gap: 0; }
  .pain-row > div { border-radius: 0; font-size: 15px; padding: 14px 16px; }
  .pain-b { border-radius: 14px 14px 0 0 !important; }
  .pain-g { border-radius: 0 0 14px 14px !important; }
  .pain-g::before { display: none; }
  .tab-p { padding: 24px 20px; }
  .tab-txt ul { grid-template-columns: 1fr; }
  .pg-cards { grid-template-columns: 1fr; gap: 10px; }
  .pg-card { display: grid; grid-template-columns: 46px 1fr; gap: 0 14px; padding: 16px; }
  .pg-card .si { width: 46px; height: 46px; grid-row: span 2; margin: 0; }
  .pg-show-in { padding: 36px 18px; }
  .pg-cb-in { padding: 32px 18px; gap: 24px; }
  .cb-info h2 { font-size: 26px; }
  .cb-phone span { font-size: 28px; }
  .cb-form { padding: 22px 18px; }
  .pg-cta { padding: 22px; }
  .pg { padding-bottom: 90px; }
  .callbar { left: 0; right: 0; bottom: 0; gap: 0; padding: 10px; background: #fff; box-shadow: 0 -6px 20px rgba(11,37,69,.12); }
  .callbar a { flex: 1; justify-content: center; height: 50px; box-shadow: none; padding: 0 12px; }
  .callbar a + a { margin-left: 8px; }
}

/* Заглавна лента на „Доработки“ и „Карта“ */
.sc-hero { position: relative; overflow: hidden; border-radius: 24px; color: #fff; display: grid; grid-template-columns: 1fr 260px; align-items: center;
  background: radial-gradient(800px 360px at 90% 10%, rgba(29,111,224,.55), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(240,127,45,.18), transparent 60%), var(--navy); }
.sc-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.sc-hero-in { position: relative; padding: 52px 56px; }
.sc-hero h1 { font-size: 42px; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; max-width: 760px; }
.sc-hero p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 680px; }
.sc-hero .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.sc-hero .btn.ghost:hover { background: #fff; color: var(--navy); }
.sc-hero-art { position: relative; justify-self: center; width: 200px; height: 200px; border-radius: 40px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.18); transform: rotate(-6deg); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.sc-hero-art svg { opacity: .9; }
.sc-hero-art::after { content: ''; position: absolute; right: -14px; top: -14px; width: 44px; height: 44px; border-radius: 50%; background: var(--buy); box-shadow: 0 10px 24px rgba(240,127,45,.5); }
.sc-stats { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.sc-stats div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 12px 18px; min-width: 140px; }
.sc-stats b { display: block; font-size: 30px; line-height: 1.1; }
.sc-stats span { color: rgba(255,255,255,.75); font-size: 13.5px; font-weight: 600; }
.hs-tag.dark { background: var(--sky); color: var(--blue); border-color: #d6e4fa; }

.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.sc-chips button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; padding: 9px 16px; border-radius: 999px; }
.sc-chips button b { background: var(--sky); color: var(--blue); border-radius: 999px; padding: 1px 8px; font-size: 12.5px; }
.sc-chips button i { width: 10px; height: 10px; border-radius: 50%; }
.sc-chips button:hover { border-color: var(--blue); }
.sc-chips button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.sc-chips button.on b { background: rgba(255,255,255,.18); color: #fff; }

/* Карти на доработки */
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 22px; }
.sc-chips + .pj-grid { margin-top: 0; }
.pj-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.pj-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(11,37,69,.12); }
.pj-cover { position: relative; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.pj-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pj-card:hover .pj-cover img { transform: scale(1.04); }
.pj-ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .04em;
  background: radial-gradient(300px 160px at 80% 0%, rgba(79,149,240,.7), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-2)); }
.pj-ph svg { color: #ffb37a; }
.pj-tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--navy); font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.pj-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pj-body h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.pj-body p { color: var(--muted); font-size: 15px; margin: 0 0 14px; flex: 1; }
.pj-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.pj-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pj-foot b { color: var(--blue); white-space: nowrap; }

/* Страница на доработка */
.pj-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; margin-top: 8px; }
.pj-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; cursor: zoom-in; }
.pj-main:disabled { cursor: default; }
.pj-main img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f1f5fb; }
.pj-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(11,37,69,.8); color: #fff; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; }
.pj-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pj-thumbs button { flex: none; width: 92px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; opacity: .7; }
.pj-thumbs button.on { border-color: var(--blue); opacity: 1; }
.pj-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-cap { color: var(--muted); font-size: 14px; margin: 8px 2px 0 !important; min-height: 1em; }
.pj-info h1 { font-size: 36px; line-height: 1.15; margin: 6px 0 12px; letter-spacing: -.02em; }
.pj-lead { font-size: 17.5px; color: var(--muted); }
.pj-meta { margin: 18px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.pj-meta div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; }
.pj-meta dt { color: var(--muted); font-weight: 700; font-size: 14px; }
.pj-meta dd { margin: 0; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; background: var(--sky); color: var(--blue); border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 700; }
.pj-more { display: inline-flex; margin-top: 16px; font-weight: 800; color: var(--blue); text-decoration: none; font-size: 16px; }
.pj-more:hover { text-decoration: underline; }
.pj-pr { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pj-box { border-radius: 18px; padding: 24px 26px; font-size: 16px; }
.pj-box.bad { background: #fff5f4; border: 1px solid #fde0dc; }
.pj-box.good { background: #f0faf4; border: 1px solid #cdeedd; }
.pj-bh { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pj-bh h2 { margin: 0; font-size: 21px; }
.pj-bh svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: #fff; flex: none; }
.pj-box.bad .pj-bh svg { background: #e5484d; } .pj-box.good .pj-bh svg { background: var(--ok); }
.pj-sol { margin-top: 16px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; font-size: 16px; }
.pj-sol .pj-bh svg { background: var(--blue); }
.pj-feats { background: var(--sky); border-radius: 14px; padding: 20px 22px; }
.pj-feats h3 { margin: 0 0 12px; font-size: 17px; }
.pj-feats ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pj-feats li { position: relative; padding-left: 30px; font-weight: 600; }
.pj-feats li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.pj-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pj-shots figure { margin: 0; }
.pj-shots button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; cursor: zoom-in; }
.pj-shots img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pj-shots button:hover img { transform: scale(1.04); }
.pj-shots figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Снимка на цял екран */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,15,30,.92); display: grid; place-items: center; padding: 50px 70px; animation: mkr .2s ease; }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 10px; max-width: 100%; max-height: 100%; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb figcaption { color: #dbe7fb; font-weight: 600; text-align: center; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb-x { right: 18px; top: 18px; } .lb-p { left: 14px; top: 50%; } .lb-n { right: 14px; top: 50%; }
.lb-c { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(255,255,255,.6); font-size: 14px; }

/* Карта на обектите */
.ob-map-wrap { position: relative; }
.ob-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 10px; flex-wrap: wrap; }
.sc-chips + .ob-tools { margin-top: 0; }
.ob-tools > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; }
.ob-zbtns { position: fixed; left: 22px; bottom: 22px; z-index: 40; display: flex; gap: 8px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s, transform .25s; }
.ob-zbtns.show { opacity: 1; transform: none; pointer-events: auto; }
.ob-zbtns button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 54px; height: 54px; padding: 0 18px; border: 0; background: var(--navy); color: #fff; border-radius: 27px; font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(11,37,69,.3); }
.ob-zbtns button[data-z="in"], .ob-zbtns button[data-z="out"] { padding: 0; width: 54px; background: #fff; color: var(--navy); }
.ob-zbtns button:hover { filter: brightness(1.1); }
.ob-zbtns button[data-z="in"]:hover, .ob-zbtns button[data-z="out"]:hover { color: var(--blue); }
.ob-zbtns button:active { transform: scale(.95); }

.ob-map { height: 560px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #eef4fd, #e3ecf9) !important; z-index: 0; box-shadow: var(--shadow); }
.ob-map .bg-land { filter: drop-shadow(0 10px 18px rgba(11,37,69,.14)); }
.ob-map.near .bg-land { fill-opacity: 0 !important; filter: none; }
.ob-detail { filter: grayscale(1) contrast(.9) brightness(1.06); opacity: .75; }
.ob-area span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #9fb3cc; }
.ob-city-l { position: relative; }
.ob-city-l i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #9fb3cc; }
.ob-city-l span { position: absolute; left: 7px; top: -8px; white-space: nowrap; font-size: 11.5px; font-weight: 700; color: #7f93ad; }
.ob-zoom { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--sky); color: var(--blue); font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 999px; }
.ob-zoom:hover { background: var(--blue); color: #fff; }
.ob-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 14px; padding: 16px 22px; font-weight: 700; color: var(--muted); box-shadow: var(--shadow); z-index: 500; }
.ob-pin span { display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(11,37,69,.35); font-weight: 800; font-size: 15px; transition: transform .15s; }
.ob-pin:hover span { transform: scale(1.12); }
.ob-pop h4 { margin: 0 0 8px; font-size: 16px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ob-pop h4 span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.ob-pop ul { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; display: grid; gap: 8px; }
.ob-pop li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: start; font-size: 13px; }
.ob-pop li > i { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; }
.ob-pop li b { display: block; } .ob-pop li small { display: block; color: var(--muted); }
.ob-pop li img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; }
.ob-pop p { margin: 8px 0 0 !important; color: var(--muted); }
.leaflet-container { font: inherit; }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.ob-grid { margin-top: 36px; }
.ob-grid .muted { color: var(--muted); font-weight: 600; font-size: 18px; }
.ob-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ob-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.ob-img { aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0b2545)); }
.ob-img button { width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; }
.ob-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-body { padding: 16px 18px 18px; }
.ob-type { display: inline-block; font-size: 12px; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); border-radius: 999px; padding: 3px 10px; }
.ob-body h3 { margin: 8px 0 4px; font-size: 17px; line-height: 1.3; }
.ob-city { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.ob-row { font-size: 14px; margin-top: 4px; } .ob-row b { display: inline-block; min-width: 76px; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.ob-note { color: var(--muted); font-size: 14px; margin: 8px 0 0 !important; }
.ob-proj { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--blue); font-weight: 800; text-decoration: none; font-size: 14px; }

@media (max-width: 960px) {
  .sc-hero { grid-template-columns: 1fr; }
  .sc-hero-art { display: none; }
  .pj-top, .pj-sol { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sc-hero-in { padding: 32px 20px; }
  .sc-hero h1 { font-size: 29px; }
  .sc-hero p { font-size: 16px; }
  .sc-stats div { min-width: 0; flex: 1; padding: 10px 12px; }
  .sc-stats b { font-size: 24px; }
  .sc-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .sc-chips button { flex: none; }
  .ob-map { height: 420px; border-radius: 16px; }
  .ob-zbtns { left: 10px; bottom: 82px; }
  .ob-zbtns button { height: 48px; min-width: 48px; }
  .ob-zbtns button[data-z="in"], .ob-zbtns button[data-z="out"] { width: 48px; }
  .pj-info h1 { font-size: 27px; }
  .pj-pr { grid-template-columns: 1fr; margin-top: 30px; }
  .pj-sol { padding: 20px; }
  .lb { padding: 50px 8px; } .lb-p, .lb-n { display: none !important; }
  .lg-txt b { font-size: 22px; } .lg-txt small { display: none; } .lg-mark { width: 40px; height: 40px; }
}

.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
.mega-all a { color: var(--blue); font-weight: 700; text-decoration: none; }

/* Профил */
.acc-btn { display: flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; padding: 8px 10px; border-radius: 12px; flex: none; }
.acc-btn:hover { background: var(--sky); }
.acc-t { display: flex; flex-direction: column; line-height: 1.15; }
.acc-t .cart-l { color: var(--muted); }
.acc-t b { font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; align-items: start; }
.auth .box h2 { margin-bottom: 6px; }
.auth .lead { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.perks-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.perks-list li::before { content: '✓ '; color: var(--ok); font-weight: 800; }
.prof { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; align-items: start; }
.ord-row { border-bottom: 1px solid var(--line); padding: 12px 0; }
.ord-row:last-child { border-bottom: 0; }
.ord-row .h { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.ord-row .s { color: var(--muted); font-size: 13px; }
.ord-row .again { margin-top: 6px; background: none; border: 0; color: var(--blue); font-weight: 700; padding: 0; }
.okmsg { color: var(--ok); font-weight: 700; }
.login-hint { background: var(--sky); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
@media (max-width: 960px) { .auth, .prof { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .acc-t { display: none; } .acc-btn { margin-left: auto; padding: 8px; } .cart-btn { margin-left: 0; } }

/* Голямо меню – ново */
.mega2 { display: grid; grid-template-columns: 290px 1fr; gap: 0; padding: 0 16px; min-height: 380px; }
.m-left { border-right: 1px solid var(--line); padding: 14px 10px 14px 0; display: flex; flex-direction: column; gap: 2px; }
.m-item { display: grid; grid-template-columns: 40px 1fr auto 14px; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 10px; color: var(--text); }
.m-item:hover, .m-item.on { background: var(--sky); }
.m-item.on .m-nm { color: var(--blue); }
.m-th { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.m-th img { width: 100%; height: 100%; object-fit: contain; }
.m-nm { font-weight: 700; font-size: 15px; }
.m-n { color: #9aa8b8; font-size: 12px; }
.m-ar { color: #9aa8b8; font-size: 18px; }
.m-all { margin-top: auto; padding: 12px 10px 4px; color: var(--blue); font-weight: 700; text-decoration: none; }
.m-right { padding: 18px 0 22px 26px; }
.m-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.m-head h3 { margin: 0; font-size: 20px; }
.m-head a { color: var(--blue); font-weight: 700; text-decoration: none; font-size: 14px; margin-left: auto; }
.m-back { display: none; border: 0; background: none; color: var(--blue); font-weight: 700; padding: 0; }
.m-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.m-sub { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.m-sub:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.m-si { width: 72px; height: 72px; border-radius: 50%; background: var(--sky); overflow: hidden; display: grid; place-items: center; }
.m-si img { width: 80%; height: 80%; object-fit: contain; }
.m-si .ph { width: 32px; height: 32px; }
.m-sub b { font-size: 14px; line-height: 1.25; }
.m-sub span { font-size: 12px; color: var(--muted); }
.m-toph { font-weight: 800; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.m-tops { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.m-more { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--blue, #1d4ed8); text-decoration: none; }
.m-more:hover { text-decoration: underline; }
.m-prod { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 4px 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; align-items: center; }
.m-pi { grid-row: 1 / 3; width: 56px; height: 56px; display: grid; place-items: center; }
.m-pi img { width: 100%; height: 100%; object-fit: contain; }
.m-pi .ph { width: 28px; height: 28px; }
.m-pn { font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-pf { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.m-pf .add { width: 32px; height: 32px; font-size: 20px; }
.m-pf .step { height: 32px; } .m-pf .step button { width: 26px; height: 32px; font-size: 16px; }
.freq-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 0 8px; color: var(--navy); background: #fff; text-decoration: none; font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 8px rgba(11,37,69,.18); }
.freq-pill svg { color: var(--buy); }
.freq-pill .fs { display: none; }
.freq-pill:hover { background: var(--sky); }
.om-link { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #fff; background: var(--buy); text-decoration: none; font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 10px; white-space: nowrap; box-shadow: 0 4px 12px rgba(240,127,45,.35); }
.om-link:hover, .om-link.on { background: var(--buy-d); }

/* Любими */
.fav-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--navy); flex: none; }
.fav-btn:hover { background: var(--sky); }
.fav-btn .cart-n { left: 26px; top: 0; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); display: grid; place-items: center; color: #9aa8b8; }
.fav svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav:hover { color: #e03131; }
.fav.on { color: #e03131; }
.fav.on svg path { fill: currentColor; }
.fav.big { position: static; width: auto; height: 50px; border-radius: 25px; padding: 0 18px; gap: 8px; display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--line); box-shadow: none; font-weight: 700; color: var(--navy); }
.fav.big.on { color: #e03131; border-color: #f5c2c2; }
.fq-row .fav { position: static; box-shadow: none; }

/* Често поръчвани */
.freq { padding: 8px 20px; }
.fq-row { display: grid; grid-template-columns: 56px 1fr auto auto auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fq-row:last-child { border-bottom: 0; }
.fq-row .nm { font-weight: 700; text-decoration: none; }
.fq-row .sub { font-size: 13px; color: var(--muted); }
.fq-usual { height: 38px; padding: 0 14px; font-size: 14px; }

@media (max-width: 700px) {
  .mega2 { grid-template-columns: 1fr; min-height: 0; padding: 0; }
  .m-left { border-right: 0; padding: 8px; }
  .m-right { display: none; padding: 14px; }
  .mega.show-right .m-left { display: none; }
  .mega.show-right .m-right { display: block; }
  .m-back { display: inline; }
  .m-head { flex-wrap: wrap; gap: 8px; }
  .m-head h3 { width: 100%; order: 2; }
  .m-head a { margin-left: 0; order: 3; }
  .m-subs { grid-template-columns: repeat(2, 1fr); }
  .m-tops { grid-template-columns: 1fr; }
  .freq-pill span, .om-link span { display: none; }
  .freq-pill { padding: 8px; margin: 0 4px; }
  .om-link { padding: 8px 10px; margin-left: 4px; }
  .fav-btn { width: 38px; }
  .fq-row { grid-template-columns: 48px 1fr auto; }
  .fq-row .fq-p, .fq-row .fav { display: none; }
  .fq-row .step { grid-column: 2; }
  .fq-row .fq-usual { grid-column: 3; grid-row: 1; }
}
@media (max-width: 700px) { .fav-btn { margin-left: auto; } .acc-btn { margin-left: 0; } }

.m-freq { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 0 10px; margin: 4px 6px 8px; padding: 10px 12px; border-radius: 12px; background: #fff4ec; color: var(--navy); text-decoration: none; font-weight: 800; border: 1px solid #ffd9bf; }
.m-freq svg { color: var(--buy); grid-row: span 2; }
.m-freq small { color: var(--muted); font-weight: 600; font-size: 12px; }
.m-freq:hover { background: #ffe9da; }

@media (min-width: 701px) {
  .catlinks a { padding: 8px 8px; gap: 6px; font-size: 13.5px; }
  .all-cats { padding: 0 12px; }
  .freq-pill { margin: 0 4px 0 6px; padding: 7px 10px; }
  .freq-pill .fl { display: none; } .freq-pill .fs { display: inline; }
  .catlinks a { padding: 8px 7px; }
  .om-link { padding: 8px 11px; }
}
@media (max-width: 1240px) and (min-width: 701px) { .catlinks a svg { display: none; } }

/* Падащо меню в синята лента */
.nav-grp { display: flex; align-items: center; gap: 7px; flex: none; border: 0; background: none; color: #fff; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav-grp svg { opacity: .85; } .nav-grp .car { transition: transform .2s; }
.nav-grp:hover, .nav-grp.on, .nav-grp[aria-expanded="true"] { background: rgba(255,255,255,.16); }
.nav-grp[aria-expanded="true"] .car { transform: rotate(180deg); }
.nav-drop { position: absolute; top: 100%; z-index: 35; width: 360px; background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 18px 40px rgba(11,37,69,.2); padding: 8px; display: grid; gap: 4px; animation: mkr .15s ease; }
.nd-item { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--navy); }
.nd-item:hover { background: var(--sky); }
.nd-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), #4f95f0); }
.nd-item:nth-child(2) .nd-ic { background: linear-gradient(135deg, var(--buy), #ffae6b); }
.nd-item b { display: block; font-size: 15px; } .nd-item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
@media (min-width: 701px) { .nav-grp { padding: 8px 8px; font-size: 13.5px; } }
@media (max-width: 1240px) and (min-width: 701px) { .nav-grp > svg:first-child { display: none; } }
@media (max-width: 700px) { .nav-drop { left: 8px !important; right: 8px; width: auto; } }

/* ===== Страница „Онлайн магазини“ ===== */
.fh { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 40px 8px 20px; }
.fh-eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--buy); background: #fff1e6; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.fh h1 { font-size: 58px; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 20px; color: var(--navy); }
.fh-txt > p { font-size: 19px; color: var(--muted); max-width: 600px; }
.fh-badges { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fh-badges li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 14px; color: var(--navy); }
.fh-badges svg { color: var(--ok); }
.fh-art { position: relative; background: radial-gradient(420px 300px at 70% 30%, #dceafd, transparent 70%), radial-gradient(300px 260px at 20% 90%, #ffe9da, transparent 70%); border-radius: 28px; padding: 26px; }
.fl-node { background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(11,37,69,.12); }
.fl-node.mi { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--navy); color: #cfe0fa; font-weight: 700; font-size: 14px; }
.fl-node.mi img { height: 34px; border-radius: 6px; }
.fl-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 6px 30px; }
.fl-lane { display: flex; align-items: center; gap: 12px; height: 150px; }
.fl-lane.up { justify-content: flex-end; text-align: right; }
.fl-line { position: relative; width: 4px; height: 100%; border-radius: 4px; background: repeating-linear-gradient(to bottom, #b9cff0 0 6px, transparent 6px 12px); flex: none; }
.fl-line i { position: absolute; left: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(29,111,224,.18); animation: fldown 2.4s linear infinite; }
.fl-line i:nth-child(2) { animation-delay: .8s; } .fl-line i:nth-child(3) { animation-delay: 1.6s; }
.fl-lane.up .fl-line i { background: var(--buy); box-shadow: 0 0 0 4px rgba(240,127,45,.2); animation-name: flup; }
@keyframes fldown { from { top: -6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 6px); opacity: 0; } }
@keyframes flup { from { top: calc(100% - 6px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: -6px; opacity: 0; } }
.fl-lab { display: grid; gap: 2px; font-size: 13px; }
.fl-lab svg { color: var(--blue); } .fl-lane.up .fl-lab svg { color: var(--buy); justify-self: end; }
.fl-lab b { color: var(--navy); font-size: 14px; } .fl-lab small { color: var(--muted); font-weight: 600; }
.fl-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.fl-bar i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; } .fl-bar i:nth-child(2) { background: #fbbf24; } .fl-bar i:nth-child(3) { background: #4ade80; }
.fl-bar span { margin-left: 6px; }
.fl-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.fl-prods div { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.fl-prods i { display: block; height: 46px; border-radius: 6px; margin-bottom: 6px; }
.fl-prods b { font-size: 13px; color: var(--navy); }
.fl-prods em { position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--buy); color: #fff; font-style: normal; font-weight: 800; font-size: 14px; display: grid; place-items: center; }

.pg-quote { margin-top: 56px; text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; padding: 48px 40px; background: var(--navy); color: #fff; border-radius: 28px; position: relative; overflow: hidden; }
.pg-quote::after { content: ""; position: absolute; right: -110px; bottom: -130px; width: 220px; height: 220px; border-radius: 50%; background: rgba(240,127,45,.18); }
.q-mark { font-size: 90px; line-height: .6; color: var(--buy); font-weight: 800; height: 40px; }
.pg-quote h2 { font-size: 34px; line-height: 1.2; margin: 0 0 14px; letter-spacing: -.02em; position: relative; z-index: 1; }
.pg-quote p { color: rgba(255,255,255,.8); font-size: 18px; max-width: 680px; margin: 0 auto 10px; position: relative; z-index: 1; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo-c { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.duo-c.dark { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff; border-color: transparent; }
.duo-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--sky); color: var(--blue); margin-bottom: 16px; }
.duo-c.dark .duo-ic { background: rgba(255,255,255,.1); color: #ffb37a; }
.duo-c h3 { font-size: 25px; line-height: 1.2; margin: 0 0 10px; }
.duo-t { color: var(--muted); font-size: 16px; flex: 1; } .duo-c.dark .duo-t { color: rgba(255,255,255,.8); }
.duo-t ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 9px; }
.duo-t li { position: relative; padding-left: 30px; font-weight: 700; color: var(--text); }
.duo-c.dark .duo-t li { color: #fff; }
.duo-t li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.duo-c .btn { align-self: flex-start; }

.cmp-t { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.cmp-h, .cmp-r { display: grid; grid-template-columns: 180px 1fr 1fr; }
.cmp-h > *, .cmp-r > * { padding: 16px 20px; }
.cmp-h b { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cmp-h .them { color: var(--muted); background: #f7f8fa; }
.cmp-h .us { background: var(--navy); color: #fff; } .cmp-h .us svg { color: #ffb37a; }
.cmp-r { border-top: 1px solid var(--line); }
.cmp-l { font-weight: 800; color: var(--navy); display: flex; align-items: center; }
.cmp-r .them, .cmp-r .us { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cmp-r .them { color: var(--muted); background: #fafbfc; }
.cmp-r .us { background: #f2f8ff; font-weight: 700; color: var(--navy); }
.cmp-r svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #fff; margin-top: 1px; }
.cmp-r .them svg { background: #cbd5e1; } .cmp-r .us svg { background: var(--ok); }

.tl-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.tl-row::before { content: ''; position: absolute; left: 8%; right: 8%; top: 66px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--buy)); border-radius: 3px; }
.tl-c { position: relative; text-align: center; padding: 0 8px; }
.tl-time { display: inline-block; font-weight: 800; font-size: 15px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }
.tl-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 12px auto 14px; background: #fff; color: var(--blue); border: 3px solid var(--blue); box-shadow: 0 8px 20px rgba(29,111,224,.2); }
.tl-c:nth-child(n+3) .tl-dot { color: var(--buy); border-color: var(--buy); }
.tl-c h3 { font-size: 18px; margin: 0 0 6px; }
.tl-c p { color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
  .fh { grid-template-columns: 1fr; padding-top: 24px; }
  .fh h1 { font-size: 42px; }
  .duo { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr 1fr; row-gap: 30px; } .tl-row::before { display: none; }
}
@media (max-width: 700px) {
  .fh { padding: 18px 0 0; gap: 26px; }
  .fh h1 { font-size: 34px; }
  .fh-txt > p { font-size: 16.5px; }
  .fh-art { padding: 14px; border-radius: 20px; }
  .fl-mid { padding: 4px 6px; gap: 8px; } .fl-lane { height: 130px; gap: 8px; } .fl-lab { font-size: 11.5px; } .fl-lab b { font-size: 12.5px; }
  .fl-prods { grid-template-columns: repeat(2, 1fr); }
  .pg-quote { padding: 34px 20px; border-radius: 20px; } .pg-quote h2 { font-size: 25px; } .pg-quote p { font-size: 16px; }
  .duo-c { padding: 24px 20px; } .duo-c h3 { font-size: 21px; } .duo-c .btn { align-self: stretch; }
  .cmp-h { display: none; }
  .cmp-r { grid-template-columns: 1fr; } .cmp-r > * { padding: 10px 16px; } .cmp-l { padding-top: 16px !important; background: #fff; }
  .tl-row { grid-template-columns: 1fr; }
}

/* „Офис консумативи“ – оранжев заоблен бутон */
.all-cats { height: 36px !important; padding: 0 16px !important; border-radius: 999px; background: var(--buy); box-shadow: 0 4px 12px rgba(240,127,45,.35); font-weight: 800; }
.all-cats:hover { background: var(--buy-d); }
.nd-item:nth-child(3) .nd-ic { background: linear-gradient(135deg, var(--ok), #4cc38a); }

/* ===== Начална страница ===== */
.hm { padding-top: 20px; }
.bento { display: grid; grid-template-columns: 1.9fr 1fr 1fr; grid-template-rows: 205px 205px; gap: 14px; }
.bt-main { grid-row: 1 / 3; border-radius: 24px; min-height: 0; background: #fff; }
.bslide { padding: 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 10px; color: var(--navy);
  background: radial-gradient(500px 340px at 85% 50%, color-mix(in srgb, var(--c) 22%, #fff), transparent 70%), linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--c) 9%, #fff) 100%); }
.bs-txt { padding: 40px 0 40px 44px; max-width: none !important; }
.bslide h2 { font-size: 38px; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 12px; color: var(--navy); }
.bslide p { color: var(--muted); font-size: 16.5px; margin: 0 0 22px; }
.bslide .cta { display: inline-flex; background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 800; }
.bslide:hover .cta { background: var(--c); }
.bs-art { height: 100%; display: grid; place-items: center; padding: 30px 30px 40px 0; }
.bs-art img { max-width: 100%; max-height: 300px; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(11,37,69,.22)); mix-blend-mode: multiply; }
.bt-main .dots { left: 44px; right: auto; bottom: 22px; }
.bt-main .dots button { background: rgba(11,37,69,.18); }
.bt-main .dots button.on { background: var(--navy); }
.bt { position: relative; overflow: hidden; border-radius: 22px; padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: transform .2s, box-shadow .2s; }
.bt:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,37,69,.14); }
.bt-k { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.bt b { font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.bt > span:not(.bt-k) { font-size: 14px; max-width: 70%; line-height: 1.35; }
.bt em { position: absolute; left: 22px; bottom: 18px; font-style: normal; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255,255,255,.25); }
.bt-cons { background: linear-gradient(140deg, #ff9a52, var(--buy)); color: #fff; }
.bt-cons img { position: absolute; right: -8px; bottom: -6px; width: 46%; max-height: 62%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.2)); background: #fff; border-radius: 16px; padding: 8px; transform: rotate(-6deg); }
.bt-again { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.bt-again > span:not(.bt-k) { color: var(--muted); }
.bt-again i { position: absolute; right: 18px; bottom: 16px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--sky); color: var(--blue); }
.bt-again em { background: var(--sky); color: var(--blue); }
.bt-mi { grid-column: 2 / 4; flex-direction: row; align-items: center; gap: 18px; color: #fff;
  background: radial-gradient(400px 220px at 100% 0%, rgba(29,111,224,.6), transparent 70%), var(--navy); }
.bt-mi > div:first-child { flex: 1; display: grid; gap: 6px; align-content: start; }
.bt-mi img { height: 30px; justify-self: start; border-radius: 5px; }
.bt-mi > div:first-child span { color: rgba(255,255,255,.75); font-size: 14px; max-width: 360px; }
.bt-num { text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 12px 14px; min-width: 96px; }
.bt-num b { display: block; font-size: 30px; color: #ffb37a; }
.bt-num span { font-size: 12px; color: rgba(255,255,255,.75); font-weight: 700; }
.bt-mi em { left: auto; right: 18px; top: 18px; bottom: auto; }

.perks { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.perk { display: flex; gap: 12px; align-items: center; padding: 16px 20px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk .si { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.perk b { display: block; font-size: 14.5px; color: var(--navy); } .perk span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; }

.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cat { text-decoration: none; text-align: center; display: grid; justify-items: center; gap: 4px; padding: 14px 10px 16px; border-radius: 20px; transition: transform .2s; }
.cat:hover { transform: translateY(-3px); }
.cat-i { width: 118px; height: 118px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; margin-bottom: 8px; transition: box-shadow .2s; }
.cat:hover .cat-i { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--bg), 0 12px 24px rgba(11,37,69,.12); }
.cat-i img { width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
.cat b { font-size: 14.5px; line-height: 1.25; color: var(--navy); } .cat span { font-size: 12.5px; color: var(--muted); }

.seg { display: inline-flex; background: #e9eef6; border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--muted); }
.seg button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(11,37,69,.12); }
.tabs-h { align-items: center; }

.more-g { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 14px; }
.mo { position: relative; border-radius: 22px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s; min-height: 230px; }
.mo:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(11,37,69,.14); }
.mo b { font-size: 20px; line-height: 1.2; } .mo span { font-size: 14.5px; line-height: 1.4; }
.mo em { margin-top: auto; font-style: normal; font-weight: 800; }
.mo-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 8px; }
.mo-shop { background: linear-gradient(150deg, #eaf2ff, #d8e7fd); color: var(--navy); } .mo-shop .mo-ic { background: var(--blue); color: #fff; } .mo-shop span { color: #3d5575; } .mo-shop em { color: var(--blue); }
.mo-dev { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff; } .mo-dev .mo-ic { background: var(--buy); color: #fff; } .mo-dev span { color: rgba(255,255,255,.75); } .mo-dev em { color: #ffb37a; }
.mo-map { background: #fff; border: 1px solid var(--line); color: var(--navy); flex-direction: row; align-items: center; gap: 18px; }
.mo-map > div:last-child { display: flex; flex-direction: column; gap: 6px; flex: 1; align-self: stretch; justify-content: center; }
.mo-map span { color: var(--muted); } .mo-map em { color: var(--blue); margin-top: 8px; }
.mo-mapart { width: 55%; flex: none; }
.mo-mapart svg { width: 100%; height: auto; display: block; }
.mo-mapart .bg { fill: var(--sky); stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.mo-mapart .dots circle { fill: var(--buy); stroke: #fff; stroke-width: 3; }

.hm-call { margin: 44px 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 26px 32px; border-radius: 22px; background: linear-gradient(120deg, #fff1e6, #eaf2ff); }
.hm-call b { display: block; font-size: 22px; color: var(--navy); } .hm-call span { color: var(--muted); }

@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 190px 170px; }
  .bt-main { grid-column: 1 / 3; grid-row: 1; }
  .bt-mi { grid-column: 1 / 3; }
  .more-g { grid-template-columns: 1fr 1fr; } .mo-map { grid-column: 1 / 3; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto 170px auto; gap: 10px; }
  .bt-main { min-height: 330px; border-radius: 20px; }
  .bslide { grid-template-columns: 1fr; align-content: start; }
  .bs-txt { padding: 26px 22px 0; }
  .bslide h2 { font-size: 27px; } .bslide p { font-size: 15px; margin-bottom: 16px; }
  .bs-art { position: absolute; right: 0; bottom: 0; width: 46%; height: 52%; padding: 0 14px 30px 0; }
  .bs-art img { max-height: 140px; }
  .bt-main .dots { left: 22px; bottom: 16px; }
  .bt { padding: 16px; border-radius: 18px; } .bt b { font-size: 18px; } .bt > span:not(.bt-k) { max-width: 100%; font-size: 12.5px; }
  .bt-cons img, .bt-again i { display: none; } .bt em { left: 16px; bottom: 14px; width: 30px; height: 30px; }
  .bt-mi { flex-wrap: wrap; } .bt-mi > div:first-child { flex-basis: 100%; } .bt-num { flex: 1; padding: 8px; } .bt-num b { font-size: 24px; }
  .perks { grid-template-columns: 1fr 1fr; } .perk { padding: 12px; align-items: flex-start; } .perk + .perk { border-left: 0; }
  .perk:nth-child(even) { border-left: 1px solid var(--line); } .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .perk .si { width: 36px; height: 36px; } .perk span { display: none; }
  .cats { grid-auto-columns: 112px; margin-right: -16px; padding-right: 16px; } .cat-i { width: 92px; height: 92px; } .cat b { font-size: 13px; }
  .seg button { padding: 8px 12px; font-size: 13.5px; }
  .more-g { grid-template-columns: 1fr; } .mo-map { grid-column: auto; flex-direction: column; align-items: stretch; } .mo-mapart { width: 100%; } .mo { min-height: 0; }
  .hm-call { padding: 20px; } .hm-call .btn { width: 100%; }
}
.perk > div { display: block; min-width: 0; }
.seg button { white-space: nowrap; }
.bt-cons > span:not(.bt-k) { max-width: 52%; } .bt-cons img { width: 40%; }

/* Блок „Нашата работа“ в синята лента */
.nw-box { margin-left: auto; display: flex; align-items: center; gap: 2px; background: rgba(11,37,69,.28); border-radius: 12px; padding: 3px 4px 3px 10px; flex: none; }
.nw-l { font-size: 9.5px; line-height: 1.1; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #bcd3f5; margin-right: 6px; white-space: nowrap; }
.catlinks .nw-box a { padding: 7px 10px; border-radius: 9px; font-weight: 700; font-size: 13.5px; }
.catlinks .nw-box a svg { color: #ffb37a; opacity: 1; display: inline; }
@media (max-width: 700px) { .nw-box { margin-left: 6px; } }
.catlinks { flex: 1; min-width: 0; }

.verify-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff7e6; border: 1px solid #ffd99a; color: #7a4a00; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; }
.verify-bar > svg { color: var(--buy); flex: none; } .verify-bar span { flex: 1; min-width: 220px; } .verify-bar .btn { height: 40px; }
.auth.one { grid-template-columns: minmax(0, 480px); justify-content: center; }

.lg-legal { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin-left: 5px; vertical-align: top; position: relative; top: 2px; }
@media (max-width: 700px) { .lg-legal { font-size: 9.5px; margin-left: 3px; } }
.lg-legal { font-size: 17px !important; letter-spacing: .02em; color: var(--navy); vertical-align: baseline; top: 0; margin-left: 6px; } @media (max-width: 700px) { .lg-legal { font-size: 14px !important; } }

/* Правни страници */
.pg.doc { max-width: 860px; }
.doc-h { font-size: 34px; margin: 6px 0 4px; letter-spacing: -.02em; }
.pg.doc .sec { margin-top: 18px; }
.pg.doc .pg-text h2 { font-size: 19px; }
.pg.doc .pg-text ul { margin: 6px 0 10px; padding-left: 20px; } .pg.doc .pg-text li { margin: 4px 0; }
.pg.doc .pg-text p { line-height: 1.6; }

.foot-in > div > div > a { display: block; padding: 2px 0; color: #c9d6ea; }

/* Фирмени цени */
.lp { color: var(--muted); font-weight: 600; font-size: .78em; margin-right: 6px; }
.lp.big { font-size: 18px; }
.my-price { display: inline-block; margin-left: 10px; background: #e9f8f0; color: var(--ok); font-weight: 800; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.acc-btn { position: relative; }
.price-chip { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; background: var(--ok); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }

/* Статус на поръчка в профила */
.ost { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 800; padding: 1px 9px; border-radius: 999px; background: var(--sky); color: var(--blue); vertical-align: 1px; }
.ost.st-new { background: #fff1e0; color: #b45309; } .ost.st-delivered, .ost.st-ready { background: #e6f6ec; color: var(--ok); } .ost.st-cancelled { background: #fdecec; color: #b42318; }
.buy { border-top: 1px solid var(--line); padding: 10px 0; }
.buy summary { display: flex; justify-content: space-between; cursor: pointer; font-weight: 700; list-style: none; }
.buy summary::-webkit-details-marker { display: none; }
.buy .s { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Контакти */
.ct-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.ct-info { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 4px; align-content: start; }
.ct-row { display: flex; gap: 14px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.ct-row:last-of-type { border-bottom: 0; }
.ct-row .si { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.ct-row small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.ct-row a, .ct-row b { font-size: 17px; font-weight: 800; color: var(--navy); text-decoration: none; }
.ct-row a:hover { color: var(--blue); }
.ct-co { color: var(--muted); font-size: 13.5px; margin: 10px 6px 0 !important; }
.ct-map { min-height: 380px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #e8eef6; z-index: 0; }
/* Отзиви */
.rvw { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rvw-c { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; }
.rvw-stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; margin-bottom: 8px; }
.rvw-c blockquote { margin: 0 0 14px; color: var(--text); font-size: 15.5px; flex: 1; }
.rvw-c figcaption b { display: block; color: var(--navy); } .rvw-c figcaption span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } .ct-map { min-height: 300px; } }

/* Човек за връзка */
.agent { position: fixed; right: 20px; bottom: 20px; z-index: 45; font-size: 14px; transition: bottom .25s; }
.agent.away { display: none; }
/* Над плаващия бутон за обаждане, когато той се покаже */
body:has(.callbar.show) .agent { bottom: 90px; }
.ag-bubble { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 3px solid #fff; padding: 0; overflow: visible; background: var(--navy); box-shadow: 0 10px 28px rgba(11,37,69,.35); cursor: pointer; transition: transform .2s; }
.ag-bubble:hover { transform: scale(1.06); }
.ag-bubble img, .ag-head img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.ag-mark { display: grid; place-items: center; width: 100%; height: 100%; } .ag-mark .lg-mark { width: 40px; height: 40px; filter: none; }
.ag-dot { position: absolute; right: -1px; bottom: 2px; width: 16px; height: 16px; border-radius: 50%; background: #94a3b8; border: 3px solid #fff; }
.agent.online .ag-dot { background: #22c55e; animation: agp 2s infinite; }
@keyframes agp { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.ag-card { position: absolute; right: 0; bottom: 76px; width: 320px; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 24px 60px rgba(11,37,69,.28); animation: mkr .25s ease; }
.ag-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.ag-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.ag-head > img, .ag-head > .ag-mark { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--navy); }
.ag-head b { display: block; font-size: 16px; color: var(--navy); } .ag-head span { color: var(--muted); font-size: 12.5px; }
.ag-msg { margin: 0 0 8px !important; color: var(--text); }
.ag-st { margin: 0 0 12px !important; font-size: 13px; font-weight: 700; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.ag-st i { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; flex: none; } .agent.online .ag-st { color: #15803d; } .agent.online .ag-st i { background: #22c55e; }
.ag-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ag-b { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 0; text-decoration: none; font-weight: 800; font-size: 12.5px; cursor: pointer; font-family: inherit; }
.ag-b.call { background: var(--buy); color: #fff; } .ag-b.viber { background: #7360f2; color: #fff; } .ag-b.cb { background: var(--sky); color: var(--navy); }
.ag-form { display: grid; gap: 8px; margin-top: 12px; }
.ag-form input:not(.hp) { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.ag-form .hp { position: absolute; left: -9999px; }
.ag-ok { display: flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 700; margin: 0 !important; }
/* „Наскоро внедрихме“ */
.rt { position: fixed; left: 20px; bottom: 96px; z-index: 44; display: flex; gap: 12px; align-items: center; max-width: 340px; background: #fff; color: var(--text); text-decoration: none; border-radius: 16px; padding: 12px 34px 12px 12px; box-shadow: 0 16px 40px rgba(11,37,69,.22); transform: translateY(20px); opacity: 0; transition: opacity .35s, transform .35s; font-size: 13.5px; }
.rt.in { opacity: 1; transform: none; }
.rt-ic { width: 40px; height: 40px; border-radius: 12px; background: #e9f8f0; color: var(--ok); display: grid; place-items: center; flex: none; }
.rt small { display: block; color: var(--ok); font-weight: 800; font-size: 11.5px; } .rt b { color: var(--navy); }
.rt button { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 18px; color: var(--muted); cursor: pointer; }
@media (max-width: 700px) {
  .agent { right: 12px; bottom: 82px; } body:has(.callbar.show) .agent { bottom: 82px; } .ag-bubble { width: 54px; height: 54px; }
  .ag-card { width: calc(100vw - 24px); bottom: 66px; }
  .rt { left: 12px; right: 12px; bottom: 146px; max-width: none; }
}
/* Калкулатор */
.calc-box { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.calc-in { padding: 30px 32px; display: grid; gap: 22px; }
.calc-in label { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; }
.calc-in label span { grid-column: 1 / -1; font-weight: 700; color: var(--navy); }
.calc-in label b { color: var(--blue); font-size: 17px; white-space: nowrap; min-width: 92px; text-align: right; }
.calc-in input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), #e2e8f0 var(--p, 50%)); outline: none; }
.calc-in input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 4px 10px rgba(29,111,224,.35); cursor: pointer; }
.calc-in input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: pointer; }
.calc-note { color: var(--muted); font-size: 13px; margin: 0 !important; }
.calc-out { background: radial-gradient(400px 260px at 100% 0%, rgba(240,127,45,.35), transparent 70%), var(--navy); color: #fff; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.calc-out small { color: rgba(255,255,255,.75); font-weight: 700; }
.calc-big { display: flex; align-items: baseline; gap: 8px; } .calc-big b { font-size: 54px; line-height: 1.05; letter-spacing: -.02em; } .calc-big span { font-size: 20px; color: rgba(255,255,255,.75); font-weight: 700; }
.calc-big.money b { color: #ffb37a; }
.calc-out p { color: rgba(255,255,255,.82); margin: 8px 0 16px !important; }
.calc-tel { color: #cfe0fa; margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 700; }
/* Тест */
.quiz-box { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; box-shadow: var(--shadow); }
.quiz-bar { height: 6px; border-radius: 6px; background: #e9eef6; overflow: hidden; margin-bottom: 20px; } .quiz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--buy)); transition: width .3s; }
.quiz-n { color: var(--buy); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.quiz-step h3 { font-size: 24px; margin: 6px 0 16px; color: var(--navy); }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.quiz-opts button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.quiz-opts button svg { color: var(--blue); flex: none; }
.quiz-opts button:hover { border-color: var(--blue); background: var(--sky); transform: translateY(-2px); }
.quiz-back { margin-top: 14px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.quiz-rec { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.quiz-rec li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #f0faf4; border: 1px solid #cdeedd; font-weight: 700; color: #0f3d2a; }
.quiz-rec svg { color: var(--ok); flex: none; }
.quiz-form p { margin: 0 0 10px !important; font-weight: 700; }
.quiz-f { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.quiz-f input { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.quiz-form .hp { position: absolute; left: -9999px; }
@media (max-width: 760px) { .calc-box { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 22px 20px; } .calc-big b { font-size: 42px; } .quiz-box { padding: 22px 18px; } .quiz-f { grid-template-columns: 1fr; } }
.quiz-f .btn { white-space: nowrap; padding: 0 22px; height: 48px; }

/* ===== Търсачка на тонери ===== */
.tn-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(240,127,45,.25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 6px 0 40px; margin-bottom: 26px; }
.tn-hero .crumbs, .tn-hero .crumbs a { color: rgba(255,255,255,.7); }
.tn-h { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: end; margin-top: 10px; }
.tn-kick { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.12); padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.tn-txt h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 14px 0 10px; letter-spacing: -.02em; }
.tn-txt p { color: rgba(255,255,255,.82); margin: 0 0 18px; font-size: 16px; }
.tn-form { display: flex; gap: 10px; }
.tn-in { flex: 1; position: relative; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--muted); border-radius: 14px; padding: 0 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.tn-in input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; padding: 16px 0; color: var(--text); background: transparent; min-width: 0; }
.tn-form .btn { padding: 0 26px; font-size: 16px; background: var(--buy); border-color: var(--buy); border-radius: 14px; }
.tn-sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px; box-shadow: var(--shadow), 0 16px 40px rgba(0,0,0,.18); padding: 6px; z-index: 30; }
.tn-sug button { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 8px; color: var(--text); }
.tn-sug button:hover, .tn-sug button.on { background: var(--sky); }
.tn-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tn-brands button { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; padding: 6px 14px; border-radius: 99px; font-weight: 600; font-size: 13.5px; }
.tn-brands button:hover { background: rgba(255,255,255,.18); }
.tn-help { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 20px; font-size: 14px; }
.tn-help b { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.tn-help p { margin: 6px 0 0; color: rgba(255,255,255,.8); }
.tn-help a { color: #ffd2b0; font-weight: 700; }
.tn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.tn-steps div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.tn-steps b { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 17px; }
.tn-rh { margin: 0; font-size: 22px; }
.tn-models { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; font-size: 13.5px; }
.tn-models span { color: var(--muted); margin-right: 4px; }
.tn-models a, .fit-chips a { text-decoration: none; border: 1px solid var(--line); background: #fff; padding: 5px 11px; border-radius: 99px; font-weight: 600; }
.tn-models a:hover, .fit-chips a:hover { border-color: var(--blue); color: var(--blue); }
.tn-fit { font-size: 12.5px; color: var(--muted); margin: 6px 0 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tn-k { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--sky); color: var(--blue); }
.tn-k.tn-drum { background: #f3eefe; color: #6d28d9; }
.tn-k.tn-ink { background: #e9f8f1; color: var(--ok); }
.tn-sub { display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, #fff4ea, #fff); border: 1px solid #ffd8bb; border-radius: 16px; padding: 18px 22px; margin: 26px 0 36px; color: var(--buy-d); }
.tn-sub div { flex: 1; color: var(--text); }
.tn-sub b { display: block; font-size: 17px; }
.tn-sub span { color: var(--muted); font-size: 14px; }
.tn-none { text-align: center; padding: 10px 0 0; }
.tn-none p { color: var(--muted); }
.tn-strip { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 16px; padding: 14px 16px; margin: 0 0 18px; }
.tn-s-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.tn-strip > div { flex: 1; min-width: 180px; }
.tn-strip b { display: block; }
.tn-strip small { color: rgba(255,255,255,.75); }
.tn-strip input { flex: 1.2; min-width: 0; border: 0; border-radius: 10px; padding: 11px 12px; font: inherit; }
.tn-strip .btn { background: var(--buy); border-color: var(--buy); }
.fits h2 { display: flex; gap: 8px; align-items: center; }
.fit-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }
.fit-note { color: var(--muted); font-size: 14px; margin-top: 12px; }
@media (max-width: 860px) {
  .tn-h { grid-template-columns: 1fr; }
  .tn-steps { grid-template-columns: 1fr; }
  .tn-strip { flex-wrap: wrap; }
  .tn-strip input { flex: 1 1 100%; order: 3; }
  .tn-strip .btn { order: 4; width: 100%; }
}
@media (max-width: 520px) {
  .tn-form { flex-direction: column; }
  .tn-form .btn { padding: 14px; }
  .tn-sub { flex-direction: column; align-items: flex-start; }
}
.hm-sup { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin: 8px 0 34px; }
.hm-sup > * { border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.hm-sup b { font-size: 21px; letter-spacing: -.01em; }
.hs-k { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.hs-toner { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.hs-toner > span:not(.hs-k) { color: rgba(255,255,255,.78); }
.hs-in { display: flex; gap: 8px; margin-top: 8px; }
.hs-in .tn-in { box-shadow: none; border-radius: 12px; }
.hs-in .tn-in input { padding: 12px 0; font-size: 15.5px; }
.hs-in .btn { background: var(--buy); border-color: var(--buy); border-radius: 12px; padding: 0 20px; }
.hs-sub { background: #fff4ea; border: 1px solid #ffd8bb; color: var(--text); }
.hs-sub .hs-k { color: var(--buy-d); }
.hs-sub > span:not(.hs-k) { color: var(--muted); }
.hs-sub em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 700; color: var(--buy-d); }
.hs-sub:hover { border-color: var(--buy); }
@media (max-width: 760px) { .hm-sup { grid-template-columns: 1fr; } }

/* ===== Абонамент ===== */
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 18px; }
.btn.ghost-w { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.sb-hero { background: radial-gradient(900px 380px at 90% 0%, rgba(240,127,45,.28), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 6px 0 46px; margin-bottom: 30px; }
.sb-hero .crumbs, .sb-hero .crumbs a { color: rgba(255,255,255,.7); }
.sb-h { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; margin-top: 12px; }
.sb-h h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.025em; margin: 14px 0 14px; }
.sb-h h1 em { font-style: normal; color: #ffb07a; }
.sb-h p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 560px; }
.sb-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.sb-cal { display: grid; gap: 12px; }
.sb-m { display: grid; grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 12px 16px; animation: sbIn .6s both; animation-delay: var(--d); }
.sb-m small { grid-column: 1; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.65); }
.sb-m b { grid-column: 1; grid-row: 2; font-size: 28px; line-height: 1; }
.sb-m span { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.sb-m i { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-size: 12px; font-weight: 700; color: #7ee2b0; display: flex; gap: 4px; align-items: center; background: rgba(19,138,91,.2); padding: 4px 9px; border-radius: 99px; }
@keyframes sbIn { from { opacity: 0; transform: translateY(10px); } }
.sb-how h2, .sb-mh { font-size: 26px; margin: 10px 0 16px; }
.sb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sb-steps > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.sb-steps b { width: 40px; height: 40px; border-radius: 50%; background: var(--buy); color: #fff; display: grid; place-items: center; font-size: 18px; }
.sb-steps h3 { margin: 14px 0 6px; font-size: 18px; }
.sb-steps p { margin: 0; color: var(--muted); }
.sb-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 40px; }
.sb-why > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; padding: 16px; border-radius: 16px; background: var(--sky); }
.sb-why svg { grid-row: 1 / 3; color: var(--blue); background: #fff; border-radius: 12px; padding: 10px; width: 44px; height: 44px; }
.sb-why b { font-size: 15.5px; }
.sb-why span { color: var(--muted); font-size: 14px; }
.sb-empty { display: flex; gap: 12px; align-items: center; background: #fff4ea; border: 1px solid #ffd8bb; color: var(--text); border-radius: 16px; padding: 16px 20px; margin-bottom: 26px; }
.sb-empty svg { color: var(--buy-d); flex: none; }
.sb-card { margin-bottom: 18px; }
.sb-card.off { opacity: .75; }
.sb-top { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: end; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sb-next small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.sb-next b { font-size: 24px; color: var(--navy); }
.sb-top label { display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); gap: 3px; }
.sb-top select, .sb-top input { font: inherit; font-size: 14.5px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: #fff; }
.sb-acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.sb-lines { padding: 6px 0; }
.sb-l { display: grid; grid-template-columns: 48px 1fr 74px 96px 32px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sb-l .th { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.sb-l .th img { width: 100%; height: 100%; object-fit: contain; }
.sb-l .nm { text-decoration: none; font-weight: 600; font-size: 14.5px; }
.sb-l input { width: 74px; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.sb-l .lt { text-align: right; font-weight: 700; }
.sb-l .rm { border: 0; background: none; color: var(--muted); padding: 4px; }
.sb-l.gone .nm { color: var(--muted); text-decoration: line-through; }
.sb-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; font-size: 14px; color: var(--muted); }
.sb-foot .link { color: #b42318; background: none; border: 0; text-decoration: underline; }
.sb-hist { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.sb-hist summary { cursor: pointer; font-weight: 600; }
.bad-t { color: #b42318; font-weight: 700; }
.sb-msg { margin: 6px 0 0; font-size: 13.5px; color: var(--ok); min-height: 1em; }
.sub-opt { background: #fff4ea; border: 1px solid #ffd8bb; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.sub-opt label b { display: inline-flex; gap: 6px; align-items: center; }
.sub-opt svg { color: var(--buy-d); vertical-align: -3px; }
.sub-per { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sub-per select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); }
.sub-per .note { flex: 1 1 100%; margin: 0; font-size: 13px; }
.sub-done { display: flex; gap: 14px; align-items: center; text-align: left; background: #fff4ea; border: 1px solid #ffd8bb; border-radius: 14px; padding: 14px 16px; margin-top: 18px; }
.sub-done svg { color: var(--buy-d); flex: none; }
.sub-done div { flex: 1; }
.sub-done b, .sub-done span { display: block; }
.sub-done span { color: var(--muted); font-size: 14px; }
.sub-done a { font-weight: 700; color: var(--buy-d); }
.sub-hint { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--buy-d); text-decoration: none; }
.sub-hint.on { background: #fff4ea; border-radius: 12px; padding: 8px 12px; }
.sub-hint select { font: inherit; font-size: 13px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); }
.sub-link { display: flex; gap: 14px; align-items: center; text-decoration: none; margin-bottom: 16px; background: #fff4ea; border-color: #ffd8bb; }
.sub-link svg { color: var(--buy-d); flex: none; }
.sub-link div { flex: 1; }
.sub-link b, .sub-link span { display: block; }
.sub-link span { color: var(--muted); font-size: 14px; }
.sub-link em { font-style: normal; font-weight: 800; color: var(--buy-d); }
@media (max-width: 860px) {
  .sb-h, .sb-steps, .sb-why { grid-template-columns: 1fr; }
  .sb-acts { margin-left: 0; }
  .sb-l { grid-template-columns: 40px 1fr 64px 30px; }
  .sb-l .lt { display: none; }
}

/* ===== AI асистент ===== */
.ag-ai { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; border-radius: 14px; padding: 12px 14px; margin: 4px 0 12px; background: linear-gradient(135deg, var(--navy), #1d4ed8); color: #fff; }
.ag-ai span { flex: 1; }
.ag-ai b, .ag-ai small { display: block; }
.ag-ai small { opacity: .8; font-size: 12.5px; }
.ag-ai em { font-style: normal; font-weight: 800; }
.ag-ai:hover { filter: brightness(1.1); }
.ai-launch { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; gap: 8px; align-items: center; border: 0; border-radius: 99px; padding: 13px 18px; background: linear-gradient(135deg, var(--navy), #1d4ed8); color: #fff; font-weight: 800; box-shadow: 0 12px 30px rgba(11,37,69,.3); }
.ai-chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 390px; height: min(600px, calc(100vh - 40px)); background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(11,37,69,.35); display: none; flex-direction: column; overflow: hidden; }
.ai-chat.open { display: flex; animation: mkr .25s ease; }
.ai-h { display: flex; gap: 10px; align-items: center; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.ai-av { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; color: #ffb07a; flex: none; }
.ai-h > div { flex: 1; min-width: 0; }
.ai-h b, .ai-h small { display: block; }
.ai-h small { opacity: .75; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-h a, .ai-h button { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; flex: none; font-size: 22px; line-height: 1; }
.ai-h a { background: var(--buy); }
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.ai-m { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.ai-m p { margin: 0 0 6px; } .ai-m p:last-child { margin: 0; }
.ai-m ul { margin: 4px 0 6px; padding-left: 18px; }
.ai-m a { color: var(--blue); font-weight: 700; }
.ai-m.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; white-space: pre-wrap; }
.ai-m.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ai-m.err { background: #fff4ea; border-color: #ffd8bb; }
.ai-m.typing { display: flex; gap: 4px; padding: 14px; }
.ai-m.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: aiT 1s infinite; }
.ai-m.typing i:nth-child(2) { animation-delay: .15s; } .ai-m.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aiT { 50% { opacity: .25; transform: translateY(-3px); } }
.ai-prods { display: grid; gap: 6px; margin-top: 8px; }
.ai-p { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; text-decoration: none; color: var(--text) !important; font-weight: 600 !important; font-size: 13px; padding: 6px; border-radius: 10px; background: var(--bg); }
.ai-p .th { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.ai-p .th img { width: 100%; height: 100%; object-fit: contain; }
.ai-p .th svg { width: 22px; height: 22px; }
.ai-p b { color: var(--navy); white-space: nowrap; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 99px; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.ai-chips button:hover { border-color: var(--blue); color: var(--blue); }
.ai-f { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.ai-f textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; max-height: 120px; outline: 0; }
.ai-f textarea:focus { border-color: var(--blue); }
.ai-f button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--buy); color: #fff; display: grid; place-items: center; flex: none; }
.ai-foot { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
  .ai-chat { left: 0; right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .ai-launch { right: 12px; bottom: 76px; padding: 11px 15px; }
}
