/* =====================================================================
   Магазин: хедър с логото, търсене, банери, количка, поръчка, профил,
   информационни страници, футър, бисквитки
   ===================================================================== */
:root {
    --s-text: #1c1f27;
    --s-muted: #6b7280;
    --s-line: #e3e5e9;
    --s-soft: #f3f4f6;
    --s-accent: var(--mm-accent, #e11d2a);
    --s-accent-dark: #b9141f;
    --s-green: #15803d;
    --s-radius: 6px;
    --hdr-h: 130px;
}
[hidden] { display: none !important; }
html { scroll-padding-top: 200px; }
.visually-hidden, .skip-link:not(:focus) {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 2000; padding: 10px 14px; background: #fff; color: var(--s-text); border-radius: 4px; }
.muted { color: var(--s-muted); }

/* ---------- Бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 4px;
    border: 1px solid #cfd3da; background: #fff; color: var(--s-text); font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--s-text); }
.btn--dark { background: var(--s-text); border-color: var(--s-text); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--accent { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.btn--accent:hover { background: var(--s-accent-dark); border-color: var(--s-accent-dark); }
.btn--lg { min-height: 50px; font-size: 15px; padding: 0 22px; }
.btn--block { display: flex; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }

/* =====================================================================
   ХЕДЪР – изображението с логото остава горе при превъртане (sticky)
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; }
.hdr { background: linear-gradient(#f7f7f5 0%, #fcfcfc 25%, #fafafa 50%, #f1f1ef 70%, #eeeeec 85%, #eeeeec 100%); color: var(--s-text);
    border-bottom: 1px solid #e2e2e0; transition: box-shadow .2s; }
.site-header.is-stuck .hdr { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.hdr__row { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.hdr__left { flex: none; margin-left: -10px; color: var(--s-text); }
.hdr__brand { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }
.hdr__home { display: block; max-width: 100%; }
.hdr__img { display: block; height: 40px; width: auto; max-width: 100%; }
.hs { display: none; }
.hdr__icons { flex: none; display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.hdr__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 44px;
    padding: 0 8px; border-radius: 4px; color: var(--s-text); text-decoration: none; }
.hdr__icon:hover, .hdr__icon[aria-expanded="true"] { background: rgba(0,0,0,.06); }
.hdr__icon:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 1px; }
.hdr__label { display: none; font-size: 13px; font-weight: 600; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr__disc { position: absolute; top: 2px; right: -2px; padding: 1px 4px; border-radius: 8px; background: var(--s-green); color: #fff; font-size: 10px; font-weight: 800; line-height: 1.3; }
.hdr__count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--s-accent);
    color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.hdr__count.is-bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Търсене – отваря се от иконата с лупа */
.hdr__search { background: #fff; border-top: 1px solid var(--s-line); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
html.search-on .hdr__search[hidden] { display: block; }     /* запомнено отворено – още преди shop.js (без примигване) */
.site-search { display: flex !important; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; max-width: 900px !important; }
.site-search > svg { flex: none; color: var(--s-muted); }
.site-search input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #cfd3da; border-radius: 4px; background: #fff; color: var(--s-text); font: inherit; font-size: 16px; }
.site-search input:focus { outline: 2px solid var(--s-text); outline-offset: -1px; }
.site-search .btn { min-height: 46px; }
.site-search__close { flex: none; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--s-muted); cursor: pointer; border-radius: 4px; }
.site-search__close:hover { background: var(--s-soft); color: var(--s-text); }

@media (min-width: 768px) {
    .hdr__row { min-height: 0; padding-top: 0; padding-bottom: 0; }
    .hdr__img { height: auto; max-height: var(--hdr-h); }
    /* „горещи“ зони върху стандартното изображение на Makeya Motors */
    .hs { display: block; position: absolute; z-index: 1; overflow: hidden; color: transparent; font-size: 1px; border-radius: 3px; }
    .hs:focus-visible, .hs:hover { outline: 2px solid rgba(225, 29, 42, .55); outline-offset: 1px; }
    .hs--contact { left: 84.3%; top: 8%; width: 11.8%; height: 20%; }
    .hs--phone { left: 83.9%; top: 51%; width: 12.2%; height: 14%; }
    .hs--mail { left: 84.2%; top: 66%; width: 11.9%; height: 16%; }
}
@media (min-width: 1024px) {
    .hdr__left { display: none; }
    .hdr__row { gap: 16px; }
    /* поправка 38: при превъртане редът с логото се скрива нагоре, менюто (и под него филтрите) остава горе.
       --hdr-row – височината на реда (shop.js); top отрицателен = хедърът „залепва“ едва когато редът е излязъл */
    .site-header { top: calc(var(--hdr-row, 0px) * -1); }
    .site-header.is-stuck .hdr { box-shadow: none; }
    .site-header.is-stuck .mm-bar { box-shadow: 0 2px 10px rgba(0,0,0,.18); }
}
@media (min-width: 1280px) {
    .hdr__label { display: inline; }
    .hdr__label + .hdr__disc { position: static; }
}

/* ---------- Банери ---------- */
.bnr { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: #111; }
.bnr img { display: block; width: 100%; height: auto; }
.bnr__cap { position: absolute; left: 0; bottom: 0; right: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 18px clamp(16px, 4vw, 48px) clamp(18px, 4vw, 44px); background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.bnr__title { font-size: clamp(20px, 3.2vw, 40px); font-weight: 900; line-height: 1.1; text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.bnr__sub { font-size: clamp(14px, 1.6vw, 18px); max-width: 60ch; }
.bnr__btn { margin-top: 6px; padding: 10px 18px; border-radius: 4px; background: var(--s-accent); font-weight: 800; font-size: 14px; }
.bnr:hover .bnr__btn { background: var(--s-accent-dark); }

.slider { --pv: 1; --gap: 0px; position: relative; background: #111; }
.slider--multi { --gap: 8px; padding: var(--gap) 0; }
.slider__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 calc((100% - (var(--pv) - 1) * var(--gap)) / var(--pv)); min-width: 0; scroll-snap-align: start; }
.slider__img { width: 100%; max-height: 600px; object-fit: cover; }
.slider--multi .bnr__title { font-size: clamp(17px, 2vw, 26px); }
/* няколко банера наведнъж (Админ -> Банери): на таблет най-много 2, на телефон – 1 */
.slider[data-per-view="2"] { --pv: 2; }
.slider[data-per-view="3"] { --pv: 3; }
.slider[data-per-view="4"] { --pv: 4; }
@media (max-width: 1023px) { .slider[data-per-view="3"], .slider[data-per-view="4"] { --pv: 2; } }
@media (max-width: 767px) { .slider.slider--multi { --pv: 1; --gap: 0px; padding: 0; } }
@media (max-width: 767px) { .slider--tiles.slider--multi { --pv: 2; --gap: 12px; } }
@media (max-width: 599px) { .slider--tiles.slider--multi { --pv: 1; } }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.85); color: var(--s-text); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
.slider__arrow:hover { background: #fff; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.slider__dot { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slider__dot.is-active { background: #fff; }
.slider__dots:empty, .slider.is-static .slider__arrow, .slider.is-static .slider__dots { display: none; }
@media (max-width: 767px) { .slider__arrow { width: 36px; height: 36px; } .slider__arrow--prev { left: 6px; } .slider__arrow--next { right: 6px; } }

/* малките банери („всички“): винаги с размера при 4 на ред, центрирани (и непълният последен ред) */
.bnr-tiles { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.bnr-tiles > .bnr { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); min-width: 0; }
@media (max-width: 1023px) { .bnr-tiles { --cols: 2; } }
@media (max-width: 599px) { .bnr-tiles { --cols: 1; } }
.bnr--tile { border-radius: var(--s-radius); }
.bnr--tile::before { content: ""; display: block; padding-top: 62.5%; }   /* малките банери – винаги 16:10 (800 × 500), каквато и да е снимката */
.bnr--tile picture, .bnr--tile > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.bnr--tile img { width: 100%; height: 100%; object-fit: cover; }
.bnr--tile .bnr__title { font-size: clamp(17px, 2vw, 22px); }
.bnr-top { display: grid; gap: 10px; margin: 0 0 14px; }
.bnr--top { border-radius: var(--s-radius); }
/* малките банери и банерът над продуктите, когато се въртят (Админ -> Банери, 5.1) */
.bnr-wrap { margin-top: 16px; }
.bnr-wrap--hero > .slider { border-radius: var(--s-radius); overflow: hidden; }   /* големият слайдер – центриран, с ширината на страницата */
.bnr-wrap--w1200 { max-width: 1232px; }
.bnr-wrap--w1000 { max-width: 1032px; }
.slider--tiles, .slider--top { background: transparent; }
.slider--tiles { --gap: 12px; --cols: 4; max-width: 100%; margin-inline: auto;   /* малките банери – с размера при 4 на ред, колкото и да се виждат наведнъж; центрирани */
    width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols) * var(--pv) + (var(--pv) - 1) * var(--gap)); }
@media (max-width: 1023px) { .slider--tiles { --cols: 2; } }
@media (max-width: 599px) { .slider--tiles { --cols: 1; } }
.slider--top { --gap: 10px; margin: 0 0 14px; }
.slider--tiles.slider--multi, .slider--top.slider--multi { padding: 0; }
.slider--tiles .slider__arrow, .slider--top .slider__arrow { width: 38px; height: 38px; }
.slider--top .slider__dots { bottom: 6px; }

/* ---------- Продукт: опции и бутон за поръчка ---------- */
.product__personal { margin: -4px 0 14px; padding: 8px 12px; border-radius: 4px; background: #ecfdf3; color: #065f2c; font-size: 14px; }
.buy { display: grid; gap: 12px; margin: 6px 0 22px; }
.opt { margin: 0; padding: 0; border: 0; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.opt__req { color: var(--s-accent); }
.opt__chosen { font-weight: 400; color: var(--s-muted); }
.opt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt.is-missing .size-opt span, .opt.is-missing .color-opt__sw { border-color: var(--s-accent); }
.color-opt { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1px solid #cfd3da; border-radius: 22px; cursor: pointer; font-size: 13px; }
.color-opt input { position: absolute; opacity: 0; }
.color-opt__sw { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0,0,0,.15); }
.color-opt:has(input:checked) { border-color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-text); }
.color-opt:has(input:focus-visible) { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.buy__row { display: flex; gap: 8px; }
/* 8.0 поправка 1: количеството, после „Добави в количката“, „Поръчай сега“ и „Добави в любими“ – всички на един ред (текстът – на 2 реда, ако не се събира) */
.buy__row > .qty { flex: none; }
.buy__btns { display: flex; flex: 1 1 0; gap: 8px; min-width: 0; }
.buy__btns > .btn, .buy__btns > .fav-btn { flex: 1 1 auto; min-width: 0; padding-left: 10px; padding-right: 10px; text-align: center; font-size: 14px; line-height: 1.15; }
.buy__btns > .buy__add { gap: 6px; }
.buy__btns > .buy__add svg { flex: none; width: 18px; height: 18px; }
@media (max-width: 1299px) {        /* по-тясна колона: „Любими“ – само сърцето, количеството – по-тясно */
    .buy__btns > .fav-btn { flex: 0 0 50px; padding: 0; }
    .buy__btns > .fav-btn [data-fav-text] { display: none; }
    .buy__btns > .buy__add svg { display: none; }
    .buy__row .qty__btn { width: 30px; font-size: 18px; }
    .buy__row .qty__input { width: 36px; }
}
.buy__btns > .buy__add { flex-grow: 1.25; }
.buy__btns > * > span { min-width: 0; }
/* 5.1.5: опциите – редове (размер гума, с цена), падащо меню с търсене, доставка, „Първо изберете“ */
/* поправка 30: много редове – една колона с фиксирана височина и превъртане (без flex-wrap се пренасяха във втора колона встрани) */
.opt__list--rows { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; border: 1px solid #d1d5db; border-radius: 8px;
    max-height: 420px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; }
.opt__list--rows.is-scroll { height: 420px; box-shadow: inset 0 -14px 12px -12px rgba(17, 24, 39, .18); }
.row-opt { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eef0f3; cursor: pointer; font-size: 14px; background: #fff; }
.opt__count { font-weight: 400; color: var(--s-muted); font-size: 12px; margin-left: 6px; }
@media (max-width: 640px) { .opt__list--rows, .opt__list--rows.is-scroll { max-height: 340px; } .opt__list--rows.is-scroll { height: 340px; } }
.row-opt:last-child { border-bottom: 0; }
.row-opt:hover { background: #fafafa; }
.row-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--s-accent, #b8141c); }
.row-opt__name { flex: 1; min-width: 0; }
.row-opt__del { flex: none; color: var(--s-muted); font-size: 12px; white-space: nowrap; }
.row-opt__price { flex: none; font-weight: 700; white-space: nowrap; }
.row-opt__price s { font-weight: 400; color: var(--s-muted); font-size: 12px; }
.row-opt:has(input:checked) { background: #fff5f5; box-shadow: inset 3px 0 0 var(--s-accent, #b8141c); }
.opt.is-missing .opt__list--rows, .opt.is-missing .osel__btn { border-color: var(--s-accent); }
.osel { position: relative; }
.osel__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.osel__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 8px 36px 8px 12px; border: 1px solid #cfd3da;
    border-radius: 6px; background: #fff; font: inherit; font-size: 14px; text-align: left; cursor: pointer; position: relative; }
.osel__btn::after { content: ''; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #6b7280; border-bottom: 2px solid #6b7280; transform: translateY(-70%) rotate(45deg); }
.osel__btn.is-empty span { color: var(--s-muted); }
.osel__btn b, .osel__item b { white-space: nowrap; }
.osel__pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid #cfd3da; border-radius: 8px; box-shadow: 0 12px 30px rgba(17, 24, 39, .15); }
.osel__q { width: 100%; height: 40px; padding: 0 12px; border: 0; border-bottom: 1px solid #eef0f3; border-radius: 8px 8px 0 0; font: inherit; font-size: 14px; outline: none; }
.osel__list { margin: 0; padding: 4px 0; list-style: none; max-height: 320px; overflow-y: auto; }
.osel__item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.osel__item:hover, .osel__item.is-cur { background: #f3f4f6; }
.osel__item.is-on { font-weight: 600; color: var(--s-accent, #b8141c); }
.buy__delivery { margin: 0; font-size: 14px; color: #065f46; font-weight: 600; }
.buy__first { margin: 0; padding: 10px 12px; border-radius: 6px; background: #fff7ed; color: #9a3412; font-weight: 600; font-size: 14px; }
.buy button[disabled] { opacity: .55; cursor: not-allowed; }
.product__range { margin: -4px 0 10px; font-size: 14px; color: var(--s-muted); }
.pcard__opt { margin: 2px 0 4px; font-size: 13px; font-weight: 600; color: #065f46; }
.buy__add { flex: 1; }
.buy__error { margin: 0; color: var(--s-accent); font-weight: 600; font-size: 14px; }
.buy__out { margin: 0; padding: 12px; border-radius: 4px; background: var(--s-soft); }
.qty { display: inline-flex; align-items: stretch; border: 1px solid #cfd3da; border-radius: 4px; background: #fff; }
.qty__btn { width: 40px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--s-text); }
.qty__btn:hover { background: var(--s-soft); }
.qty__input { width: 46px; border: 0; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 32px; font-size: 17px; }
.qty--sm .qty__input { width: 38px; height: 34px; }

.toast { position: fixed; left: 50%; bottom: 20px; z-index: 1500; transform: translateX(-50%); display: flex; align-items: center; gap: 14px;
    max-width: calc(100vw - 32px); padding: 12px 14px 12px 16px; border-radius: 6px; background: var(--s-text); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; }
.toast a { color: #fff; font-weight: 800; white-space: nowrap; }
.toast.is-error { background: var(--s-accent); }

/* ---------- Страници на магазина ---------- */
.shop-page { padding-top: 20px; padding-bottom: 56px; }
.shop-page--narrow { max-width: 560px; }
.shop-page__title { margin: 0 0 16px; font-size: clamp(22px, 3vw, 30px); }
.shop-page__lead { margin: -6px 0 18px; color: var(--s-muted); max-width: 70ch; }
.notice { margin: 0 0 14px; padding: 12px 14px; border-radius: 4px; background: var(--s-soft); font-size: 14px; }
.notice--ok { background: #ecfdf3; color: #065f2c; }
.notice--error { background: #fdecee; color: #9b1119; }
.notice--info { background: #eef4ff; color: #1e3a8a; }

.cart { display: grid; gap: 20px; align-items: start; }
.cart__lines { display: grid; gap: 10px; }
.cline { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "img info del" "img price price" "img qty total"; gap: 6px 12px;
    padding: 12px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; align-items: center; }
.cline.is-out { opacity: .6; }
.cline__img { grid-area: img; align-self: start; }
.cline__img img, .cline__img svg { display: block; width: 72px; height: 72px; object-fit: contain; border-radius: 4px; background: #fff; }
.cline__info { grid-area: info; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cline__brand { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--s-muted); }
.cline__name { color: var(--s-text); font-weight: 700; text-decoration: none; }
.cline__name:hover { text-decoration: underline; }
.cline__opts { font-size: 13px; }
.cline__sku { font-size: 12px; color: var(--s-muted); }
.cline__price { grid-area: price; font-size: 14px; }
.cline__price s { margin-left: 6px; color: var(--s-muted); font-size: 12px; }
.cline .qty { grid-area: qty; justify-self: start; }
.cline__total { grid-area: total; font-weight: 800; text-align: right; }
.cline__del { grid-area: del; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: var(--s-muted); cursor: pointer; }
.cline__del:hover { background: var(--s-soft); color: var(--s-accent); }
@media (min-width: 768px) {
    .cline { grid-template-columns: 80px 1fr 110px auto 100px 36px; grid-template-areas: "img info price qty total del"; }
    .cline__img img, .cline__img svg { width: 80px; height: 80px; }
    .cline__price { text-align: right; }
}
@media (min-width: 1024px) { .cart { grid-template-columns: 1fr 340px; } }

.cart__sum, .co-card { padding: 18px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; }
.cart__sum h2, .co-card h2 { margin: 0 0 14px; font-size: 17px; }
.co-card h2 small { font-weight: 400; color: var(--s-muted); }
.co-card h3 { margin: 18px 0 10px; font-size: 15px; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 14px; font-size: 14px; }
.sum dt { color: var(--s-muted); }
.sum dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.sum__disc { color: var(--s-green) !important; }
.sum__total { padding-top: 10px; border-top: 1px solid var(--s-line); color: var(--s-text) !important; font-size: 18px; font-weight: 800 !important; }
.sum__free { margin: -4px 0 12px; padding: 8px 10px; border-radius: 4px; background: #fff8e6; font-size: 13px; }
.sum__note { font-size: 13px; color: var(--s-muted); margin: 0 0 12px; }
.sum__back { display: block; margin-top: 12px; text-align: center; color: var(--s-muted); font-size: 14px; }
.empty-cart { display: grid; justify-items: center; gap: 10px; padding: 48px 16px; border: 1px dashed #cfd3da; border-radius: var(--s-radius); background: #fff; color: var(--s-muted); text-align: center; }

/* ---------- Поръчка ---------- */
.checkout { display: grid; gap: 16px; align-items: start; }
.checkout__main { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 1024px) {
    .checkout { grid-template-columns: 1fr 380px; }
    .checkout__side { position: sticky; top: 64px; }   /* поправка 38: под менюто */
}
.co-card__who { margin: -6px 0 12px; font-size: 14px; color: var(--s-muted); }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; font-size: 14px; font-weight: 600; min-width: 0; }
.field small { font-weight: 400; color: var(--s-muted); }
.field input, .field textarea, .field select { height: 44px; padding: 0 12px; border: 1px solid #cfd3da; border-radius: 4px; background: #fff; font: inherit; font-weight: 400; font-size: 16px; color: var(--s-text); }
.field textarea { height: auto; padding: 10px 12px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--s-text); outline-offset: -1px; }
.field-hint { margin: 0 0 12px; font-size: 13px; color: var(--s-muted); }
.grid-2, .grid-3 { display: grid; gap: 0 12px; align-items: end; }     /* полетата в един ред – на една височина, и с пояснение до името */
.field__label small { font-size: 12px; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 2fr 1fr; } }
.choices { display: grid; gap: 8px; margin-bottom: 14px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #cfd3da; border-radius: 4px; cursor: pointer; font-size: 15px; }
.choice:has(input:checked) { border-color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-text); background: #fafafa; }
.choice input { flex: none; width: 18px; height: 18px; accent-color: var(--s-text); }
.choice__label { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.choice__label small { font-weight: 400; color: var(--s-muted); font-size: 13px; }
.choice__price { font-weight: 700; white-space: nowrap; }
.choice.is-hidden { display: none; }
.check { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 12px; font-size: 14px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--s-text); }
.check--terms { padding: 10px 12px; border-radius: 4px; background: var(--s-soft); }
.co-lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.co-lines li { display: flex; justify-content: space-between; gap: 10px; }
.co-lines li b { white-space: nowrap; }
.co-lines small { display: block; color: var(--s-muted); }
.js .co-fields[data-for] { display: none; }
.js .co-fields[data-for].is-on { display: block; }

.econt-list { list-style: none; margin: -6px 0 12px; padding: 4px; max-height: 300px; overflow: auto; border: 1px solid #cfd3da; border-radius: 4px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.econt-list li { padding: 8px 10px; border-radius: 3px; cursor: pointer; font-size: 14px; }
.econt-list li small { display: block; color: var(--s-muted); font-size: 12px; }
.econt-list li:hover, .econt-list li.is-active { background: var(--s-soft); }
.econt-list li b { font-weight: 700; }
.econt-list .econt-list__empty { cursor: default; color: var(--s-muted); }
.econt-chosen { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; padding: 10px 12px; border-radius: 4px; background: #ecfdf3; color: #065f2c; font-size: 14px; font-weight: 600; }

/* ---------- Вход / профил ---------- */
.auth-grid { display: grid; gap: 16px; align-items: start; }
/* 5.1.5: поръчка без вход – „Изберете“ */
.co-choose { max-width: 640px; margin: 8px auto 24px; padding: 22px 22px 16px; background: #fff; border: 1px solid var(--s-line, #e5e7eb); border-radius: 12px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .08); }
.co-choose h2 { margin: 0 0 4px; font-size: 22px; }
.co-choose__lead { margin: 0 0 16px; color: var(--s-muted); }
.co-choose__lead span { display: block; margin-top: 2px; font-size: 13px; }
.co-choose__list { display: grid; gap: 10px; }
.co-choose__opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #d1d5db; border-radius: 10px; color: inherit;
    text-decoration: none; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.co-choose__opt:hover, .co-choose__opt:focus-visible { border-color: #b8141c; background: #fff7f7; box-shadow: 0 0 0 3px rgba(184, 20, 28, .12); outline: none; }
.co-choose__opt svg { flex: none; color: #b8141c; }
.co-choose__opt span { flex: 1; min-width: 0; }
.co-choose__opt b { display: block; font-size: 16px; }
.co-choose__opt small { display: block; margin-top: 2px; color: var(--s-muted); font-size: 13px; line-height: 1.35; }
.co-choose__opt i { font-style: normal; font-size: 20px; color: #9ca3af; }
.co-choose__opt:hover i { color: #b8141c; }
.co-choose__back { margin: 14px 0 0; text-align: center; font-size: 14px; }
.co-back { margin: 0 0 6px; font-size: 14px; }
.co-back a { color: inherit; }
.auth-grid--one { max-width: 640px; }
@media (max-width: 480px) { .co-choose { padding: 16px 14px 12px; } .co-choose__opt { padding: 12px; gap: 10px; } }
@media (min-width: 900px) { .auth-grid.auth-grid--one { grid-template-columns: 1fr; } }
.auth-guest { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; border: 1px dashed #cfd3da; border-radius: 8px; background: #fafafa; }
.auth-guest .small { color: var(--s-muted); }
.co-card__guest { padding: 8px 10px; border-radius: 6px; background: #f3f4f6; color: inherit; }
@media (min-width: 900px) { .auth-grid { grid-template-columns: 1fr 1.3fr; } }
.auth-card__links { margin: 12px 0 0; font-size: 14px; }
.acc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.acc-head .shop-page__title { margin: 0; }
.acc-head__actions { display: flex; gap: 8px; }
.acc-head__actions form { margin: 0; }
.acc-discount { display: flex; align-items: center; gap: 14px; margin: 12px 0 8px; padding: 14px 16px; border-radius: var(--s-radius); background: #ecfdf3; color: #065f2c; }
.acc-discount b { font-size: 26px; }
.acc-h2 { margin: 24px 0 12px; font-size: 19px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; }
.otbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.otbl th, .otbl td { padding: 10px 12px; border-bottom: 1px solid var(--s-line); text-align: left; vertical-align: top; }
.otbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--s-muted); background: #fafafb; }
.otbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.otbl td small { display: block; margin-top: 2px; }
.otbl tfoot td { border-bottom: 0; padding-top: 6px; padding-bottom: 6px; }
.otbl tfoot .sum__total td { font-size: 17px; font-weight: 800; border-top: 1px solid var(--s-line); }
.otbl a { color: var(--s-text); }
.ostatus { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; background: #fef3c7; color: #92400e; white-space: nowrap; }
.ostatus--completed { background: #dcfce7; color: #166534; }
.ostatus--cancelled { background: #fde2e4; color: #b91c1c; }
.thanks { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding: 18px; border-radius: var(--s-radius); background: #ecfdf3; color: #065f2c; }
.thanks h1 { margin: 0 0 4px; font-size: clamp(19px, 2.6vw, 24px); }
.thanks p { margin: 0; }
.order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 16px; }
.order-meta > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; font-size: 14px; }
.order-meta span { color: var(--s-muted); font-size: 12px; text-transform: uppercase; }
.order-meta small { color: var(--s-muted); }

/* ---------- Информационни страници (текст от MySQL) ---------- */
.page { padding-top: 16px; padding-bottom: 56px; }
.page__body { max-width: 860px; padding: clamp(18px, 3vw, 36px); border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-line); }
.rt { font-size: 16px; line-height: 1.65; }
.rt h1 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; text-wrap: balance; }
.rt h2 { margin: 28px 0 10px; font-size: 20px; line-height: 1.3; }
.rt h3 { margin: 22px 0 8px; font-size: 17px; }
.rt p, .rt ul, .rt ol { margin: 0 0 12px; max-width: 75ch; }
.rt ul, .rt ol { padding-left: 22px; }
.rt li { margin-bottom: 4px; }
.rt a { color: var(--s-accent); }
.rt blockquote { margin: 0 0 14px; padding: 12px 16px; border-left: 4px solid #cfd3da; background: var(--s-soft); font-size: 15px; }
.rt hr { border: 0; border-top: 1px solid var(--s-line); margin: 24px 0; }
.rt-table { overflow-x: auto; margin: 0 0 16px; }
.rt table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.rt th, .rt td { padding: 8px 10px; border: 1px solid var(--s-line); text-align: left; vertical-align: top; }
.rt th { background: var(--s-soft); }
.rt .num { text-align: right; white-space: nowrap; }
.rt code { padding: 1px 5px; border-radius: 3px; background: var(--s-soft); font-size: 13px; }
.rt-note { padding: 10px 14px; border-radius: 4px; background: #fff8e6; }

/* ---------- Футър ---------- */
.site-footer { padding: 36px 0 0 !important; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 28px; }
.footer__h { margin: 0 0 12px; color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer .footer-menu { display: grid !important; gap: 8px !important; }
.footer__link-btn { margin-top: 10px; padding: 0; border: 0; background: none; color: #c9ccd4; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.footer__link-btn:hover { color: #fff; }
.footer__contacts { font-style: normal; font-size: 14px; line-height: 1.7; }
.footer__contacts a { color: #fff; }
.footer__hours { margin: 10px 0 0; font-size: 13px; line-height: 1.6; }
.footer__social { display: flex; gap: 8px; margin: 12px 0 0; }
.footer__social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.1); color: inherit; transition: background .15s; }
.footer__social a:hover, .footer__social a:focus-visible { background: #d7141d; color: #fff; }
.owner-contacts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 0 0 18px; }
.oc__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fafafb; }
.oc__item > svg { flex: none; color: #d7141d; margin-top: 2px; }
.oc__item > div { display: grid; gap: 3px; min-width: 0; }
.oc__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.oc__val { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.oc__val a { color: inherit; font-weight: 600; text-decoration: none; }
.oc__val a:hover { color: #d7141d; text-decoration: underline; }
.oc__map { font-size: 13px; font-weight: 600; color: #d7141d; text-decoration: none; margin-top: 2px; }
.oc__map:hover { text-decoration: underline; }
.rt-social { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-social .soc { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #d9dce3; border-radius: 4px;
    text-decoration: none; color: #1c1f27; font-weight: 600; font-size: 14px; }
.rt-social .soc:hover { border-color: #d7141d; color: #d7141d; }
.footer__bottom { padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* ---------- Бисквитки ---------- */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400; display: flex; justify-content: center; padding: 12px; pointer-events: none; }
.cc__box { pointer-events: auto; width: 100%; max-width: 760px; padding: 18px 20px; border-radius: 8px; background: #fff; color: var(--s-text);
    box-shadow: 0 -2px 30px rgba(0,0,0,.25); border: 1px solid var(--s-line); max-height: calc(100vh - 24px); overflow: auto; }
.cc__title { margin: 0 0 6px; font-size: 17px; }
.cc__text { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.cc__text a { color: var(--s-accent); font-weight: 600; }
.cc__prefs { display: grid; gap: 8px; margin: 0 0 14px; }
.cc__opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--s-line); border-radius: 6px; font-size: 14px; cursor: pointer; }
.cc__opt input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--s-text); }
/* Всички бутони са еднакво видими – отказът е толкова лесен, колкото съгласието */
.cc__btns { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .cc__btns { grid-template-columns: repeat(3, 1fr); } }
.cc__btn { min-height: 44px; padding: 0 14px; border: 2px solid var(--s-text); border-radius: 4px; background: var(--s-text); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.cc__btn:hover { background: #000; border-color: #000; }
.cc__btn:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .slider__track { scroll-behavior: auto; }
    .hdr__count.is-bump { animation: none; }
}
@media print {
    .site-header, .site-footer, .promo-strip, .cc, .toast { display: none !important; }
}

/* ---------- Продукт: описанието е отдолу, под снимката и опциите ---------- */
.product__details { margin-top: 24px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; }
.product__details-h { margin: 0 0 12px; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.product__details .product__desc { max-width: 90ch; font-size: 15px; line-height: 1.7; }
/* 7.0 поправка 15: описанието с HTML (от редактора в админа) */
.product__desc--html { overflow-wrap: anywhere; }
.product__desc--html > :first-child { margin-top: 0; }
.product__desc--html > :last-child { margin-bottom: 0; }
.product__desc--html p { margin: 0 0 .8em; }
.product__desc--html h2, .product__desc--html h3, .product__desc--html h4, .product__desc--html h5, .product__desc--html h6 { margin: 1.2em 0 .5em; line-height: 1.3; }
.product__desc--html h2 { font-size: 20px; } .product__desc--html h3 { font-size: 17px; } .product__desc--html h4, .product__desc--html h5, .product__desc--html h6 { font-size: 15px; }
.product__desc--html ul, .product__desc--html ol { margin: 0 0 .8em; padding-left: 1.5em; }
.product__desc--html li { margin: .15em 0; }
.product__desc--html a { color: var(--s-accent); text-decoration: underline; text-underline-offset: 2px; }
.product__desc--html img { max-width: 100%; height: auto; border-radius: 4px; vertical-align: middle; }
.product__desc--html blockquote { margin: 0 0 .8em; padding: 6px 0 6px 14px; border-left: 3px solid var(--s-line); color: var(--s-muted); }
.product__desc--html hr { border: 0; border-top: 1px solid var(--s-line); margin: 1.2em 0; }
.product__desc--html pre { padding: 10px 12px; background: var(--s-soft); border-radius: 4px; overflow-x: auto; white-space: pre-wrap; }
.product__desc--html table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1em; font-size: 14px; line-height: 1.5; }
.product__desc--html th, .product__desc--html td { border: 1px solid var(--s-line); padding: 6px 10px; text-align: left; vertical-align: top; }
.product__desc--html th { background: var(--s-soft); font-weight: 600; }
.product__desc--html iframe { display: block; width: 100%; max-width: 640px; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 0 0 1em; }
.product__details + .product__docs { margin-top: 16px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.doc-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--s-line); border-radius: var(--s-radius);
    color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.doc-link:hover, .doc-link:focus-visible { border-color: #d7141d; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.doc-link__txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.doc-link__txt b { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.doc-link__txt small { color: #6b7280; font-size: 12px; }
.doc-link__act { flex: none; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #d7141d; letter-spacing: .03em; }
.doc-ic { flex: none; display: inline-grid; place-items: center; width: 40px; height: 48px; border-radius: 3px 12px 3px 3px;
    background: var(--doc, #555); color: #fff; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .03em; }

/* ---------- Любими ---------- */
.pcard { position: relative; }
.fav-form { margin: 0; }
.fav-form--card { position: absolute; top: 6px; right: 6px; z-index: 2; }
.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--s-text); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .15s; }
.fav-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.fav-btn:hover { color: var(--s-accent); transform: scale(1.08); }
.fav-btn.is-on { color: var(--s-accent); }
.fav-btn.is-on svg { fill: currentColor; }
.fav-btn:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.fav-form--page { margin: -10px 0 18px; }
.fav-form--page .fav-btn { width: auto; height: 44px; padding: 0 16px; border-radius: 4px; border: 1px solid #cfd3da; background: #fff; box-shadow: none; font: inherit; font-weight: 700; font-size: 14px; }
.fav-form--page .fav-btn:hover { transform: none; border-color: var(--s-accent); }
/* 8.0 поправка 1: продукт – „Добави в любими“ на реда с „Добави в количката“ и „Поръчай сега“ (бутонът е с form= към празната форма след количката) */
.fav-form--buy { display: none; }
.buy__btns .fav-btn { width: auto; height: auto; min-height: 50px; border-radius: 4px; border: 1px solid #cfd3da; background: #fff; box-shadow: none;
    font-family: inherit; font-weight: 700; }      /* размерът и flex – при .buy__btns > … (горе и в @media) */
.buy__btns .fav-btn:hover { transform: none; border-color: var(--s-accent); }
.hdr__count--fav { background: var(--s-text); }

/* ---------- Бързо търсене ---------- */
.live-wrap { position: relative; max-width: 900px !important; }
.live { position: absolute; left: 16px; right: 16px; top: -4px; z-index: 5; max-height: min(70vh, 560px); overflow: auto; padding: 8px; border: 1px solid var(--s-line);
    border-radius: 6px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.live.is-loading { opacity: .7; }
.live__hint { margin: 8px; color: var(--s-muted); font-size: 14px; }
.live__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 4px 10px; border-bottom: 1px solid var(--s-line); margin-bottom: 6px; }
.live__chip { padding: 5px 10px; border-radius: 14px; background: var(--s-soft); color: var(--s-text); font-size: 13px; font-weight: 600; text-decoration: none; }
.live__chip--brand { background: #fff4e5; }
.live__chip:hover, .live__chip.is-active { background: var(--s-text); color: #fff; }
.live__list { list-style: none; margin: 0; padding: 0; }
.live__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 4px; color: var(--s-text); text-decoration: none; }
.live__item:hover, .live__item.is-active { background: var(--s-soft); }
.live__item img, .live__noimg { width: 48px; height: 48px; object-fit: contain; border-radius: 4px; background: var(--s-soft); display: block; }
.live__text { display: flex; flex-direction: column; min-width: 0; }
.live__name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live__text small { color: var(--s-muted); font-size: 12px; }
.live__price { text-align: right; font-weight: 800; font-size: 14px; white-space: nowrap; }
.live__price s { display: block; font-weight: 400; font-size: 12px; color: var(--s-muted); }
.live__all { display: block; margin-top: 6px; padding: 10px; border-radius: 4px; text-align: center; font-weight: 700; color: var(--s-accent); text-decoration: none; }
.live__all:hover, .live__all.is-active { background: var(--s-soft); }
.site-search input.is-bad { outline: 2px solid var(--s-accent); }

@media (max-width: 559px) {
    .cc__box { padding: 14px 14px 12px; }
    .cc__title { font-size: 16px; margin-bottom: 4px; }
    .cc__text { font-size: 13px; margin-bottom: 10px; }
    .cc__btns { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .cc__btn { min-height: 44px; padding: 0 6px; font-size: 13px; line-height: 1.15; }
    .buy__add { font-size: 14px; padding: 0 12px; white-space: nowrap; }
    .buy__add svg { display: none; }
    /* 8.0 поправка 1: на телефон – трите на един ред: текстът на два реда, „Любими“ – само сърцето */
    .buy__row, .buy__btns { gap: 6px; }
    .buy__row .qty__btn { width: 28px; font-size: 18px; }
    .buy__row .qty__input { width: 34px; }
    .buy__btns > .btn, .buy__btns > .fav-btn { min-height: 48px; padding: 4px 6px; font-size: 12.5px; line-height: 1.15; white-space: normal; }
    .buy__btns > .buy__add, .buy__btns > .buy__now { flex: 1 1 0; }
    .buy__btns > .fav-btn { flex: 0 0 46px; padding: 0; }
}

@media (max-width: 379px) {          /* 8.0 поправка 1: много тесен телефон – количеството и сърцето по-тесни */
    .buy__row .qty__btn { width: 24px; }
    .buy__row .qty__input { width: 30px; }
    .buy__btns > .fav-btn { flex-basis: 42px; }
    .buy__btns > .btn { padding: 4px 4px; font-size: 12px; }
}

/* 7.0: доставка с цена 0 (не е въведена в админа) – „Изчислява се според теглото и начина на доставка!“ */
.ship-calc { color: #dc2626; font-weight: 700; }
.co-card > .ship-calc { margin: -6px 0 14px; font-size: 14px; }
.ship-calc[hidden] { display: none; }
.ship-calc--sm { font-size: 13px; }
.otbl .ship-calc { white-space: normal; }
.sum dd.ship-calc { font-size: 14px; }
/* 7.0: „Подходящите модели са в раздела „Подходящ за“ …“ – под описанието, само когато има таблица „Подходящ за“ */
.product__details .product__fitnote { max-width: 90ch; margin: 0; font-size: 15px; line-height: 1.7; }
.product__details .product__desc + .product__fitnote { margin-top: 0; }
