/* Модерен вид – по-едри бутони и полета, ясна йерархия, системен шрифт.
   Зарежда се от functions.php (блок „Модерен вид“). Махни този файл или блока, за да се върне старият вид.

   ПРАВИЛО: всеки бутон и всяко поле е висок 48 px, със заобляне 10 px.
   Главен бутон – плътно черен; второстепенен – бял с черна рамка; изплащане – светлозелен. */

body, button, input, select, textarea { font-family: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif !important; }
h1 { text-transform: none !important; font-weight: 700 !important; letter-spacing: -.2px; line-height: 1.25 !important; }
.zz-home h1 { font-size: 21px !important; }

/* текстът в бутоните – оптически в средата (без празното място за ударения и опашки на буквите) */
.singlebuy, #zz-sticky a, .minelab-inline-action, form.zz-order button.formsubmit, form.zz-order input[type=submit] { text-box: trim-both cap alphabetic; }

/* търсачка */
input[name=s] { font-size: 16px !important; color: #111 !important; padding-left: 42px !important; border-color: #eee !important;
  background: #f5f5f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center !important; }
input[name=s]::placeholder { color: #777 !important; }

/* ---------- продукт ---------- */
.single-product-buy .singlebuy, .singlebuy.singlebuycart {
  display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important;
  height: 48px !important; line-height: 1.2 !important; padding: 0 16px !important; box-sizing: border-box !important; vertical-align: middle !important;
  border-radius: 10px !important; letter-spacing: 0 !important; font-weight: 600 !important; font-size: 16px !important; background-image: none !important; }
.single-product-buy .singlebuy { background: #111 !important; color: #fff !important; border: 1.5px solid #111 !important; font-size: 17px !important; }
.single-product-buy.zz-second .singlebuy { background: #fff !important; color: #111 !important; border: 1.5px solid #111 !important; font-size: 16px !important; }
.singlebuy.singlebuycart { background: #eef7f1 !important; color: #10633d !important; border: 1.5px solid #bfe3cd !important; }

/* лентата „Крайна цена с избраните добавки“ – като бутоните */
.single-product-price-buy .js-bundle-final-price-alert[style*="display: block"] { display: flex !important; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 6px 14px !important; box-sizing: border-box; border-radius: 10px !important; font-size: 15px; line-height: 1.25; }

@media (min-width: 768px) {
  /* една колона от 360 px: брояч, „любими/кошница“, бутони, полета */
  .single-product-buy .singlebuy, .singlebuy.singlebuycart { width: 360px !important; max-width: 100%; white-space: nowrap; }
  .single-product-price-buy .minelab-discount-countdown-single { width: 360px !important; max-width: 100% !important; margin: 12px 0 16px !important; box-sizing: border-box !important; }
  .single-product-price-buy .single-product-price { width: 360px !important; max-width: 100% !important; text-align: center !important; }
  .single-product-price-buy .single-product-price .eurprices { text-align: center !important; }
  .single-product-price-buy .minelab-product-secondary-actions { width: 360px !important; max-width: 100% !important; margin: 4px 0 24px !important; }
  .single-product-price-buy .js-bundle-final-price-alert { width: 360px !important; max-width: 100% !important; margin: 0 0 10px !important; }
  /* бутон за изплащане + „24 x 14.13 €“ на един ред */
  .singlebuy.singlebuycart { display: inline-flex !important; }
  .aboutmore .single-product-cart { white-space: nowrap; }
  .aboutmore .singlebuy.singlebuycart { width: min(360px, calc(100% - 115px)) !important; margin-right: 8px !important; }
}
@media (max-width: 767px) {
  .single-product-price-buy .js-bundle-final-price-alert { width: 90% !important; margin: 0 auto 10px !important; }
}

/* обратно позвъняване и промо код: поле + бутон с рамка, на един ред */
.minelab-inline-row.minelab-quick-row, .minelab-inline-row.minelab-promo-row { display: flex !important; flex-direction: row !important; gap: 8px; align-items: center; position: relative;
  width: 100% !important; max-width: 360px !important; box-sizing: border-box; margin: 8px 0 !important; }
.minelab-quick-row input.fastsubmit, .minelab-promo-row input.fastsubmit { flex: 1 1 auto; min-width: 0; width: auto !important; height: 48px !important; box-sizing: border-box !important;
  padding: 0 40px 0 14px !important; border: 1px solid #cfcfcf !important; border-radius: 10px !important; background: #fff !important; color: #111 !important;
  font-size: 16px !important; text-align: left !important; margin: 0 !important; box-shadow: none !important; }
.minelab-quick-row .minelab-inline-action, .minelab-promo-row .minelab-inline-action { flex: none; width: 120px; height: 48px; box-sizing: border-box; border: 1.5px solid #111 !important;
  border-radius: 10px !important; background: #fff !important; color: #111 !important; font-size: 15px !important; font-weight: 600 !important; text-decoration: none !important;
  cursor: pointer; padding: 0 !important; margin: 0 !important; display: flex !important; align-items: center; justify-content: center; }
.minelab-quick-row .minelab-product-clear-button, .minelab-promo-row .minelab-product-clear-button { left: auto !important; right: 136px !important; top: 50% !important; transform: translateY(-50%); }
@media (max-width: 767px) {
  .minelab-inline-row.minelab-quick-row, .minelab-inline-row.minelab-promo-row { width: 90% !important; max-width: none !important; margin: 8px auto !important; }
  .minelab-quick-row .minelab-inline-action, .minelab-promo-row .minelab-inline-action { width: 104px; font-size: 14px !important; }
  .minelab-quick-row input.fastsubmit, .minelab-promo-row input.fastsubmit { padding-right: 32px !important; font-size: 15px !important; }
  .minelab-quick-row .minelab-product-clear-button, .minelab-promo-row .minelab-product-clear-button { right: 118px !important; }
}

/* лента „Купи“ долу – само на телефон, когато главният бутон е извън екрана */
#zz-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; background: #fff; border-top: 1px solid #e5e5e5; display: none;
  align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
#zz-sticky.on { display: flex; }
#zz-sticky .p { flex: 1; line-height: 1.15; }
#zz-sticky .p s { color: #888; font-size: 13px; }
#zz-sticky .p b { display: block; font-size: 20px; color: #111; }
#zz-sticky a { background: #111; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 16px; padding: 0 24px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
@media (min-width: 768px) { #zz-sticky { display: none !important; } }
body.zz-sticky-on .viber { bottom: 84px !important; transition: bottom .2s; }
body.zz-sticky-on #back-top { bottom: 70px !important; transition: bottom .2s; }
@media (min-width: 768px) { body.zz-sticky-on .viber { bottom: 15px !important; } body.zz-sticky-on #back-top { bottom: 0 !important; } }

/* ---------- форми за поръчка (наложен платеж, банков път, карта, изплащане) ---------- */
.zz-page-title { max-width: 560px; margin-left: auto !important; margin-right: auto !important; text-align: left !important; font-weight: 700 !important; box-sizing: border-box; }
form.zz-order { max-width: 560px !important; margin-left: auto !important; margin-right: auto !important; float: none !important; }
form.zz-order h2 { text-align: left !important; font-size: 20px !important; font-weight: 600 !important; margin: 22px 0 10px !important; }
form.zz-order p, form.zz-order label { font-size: 14px !important; color: #444 !important; font-weight: 500 !important; }
form.zz-order input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]):not([name=hp_bot]),
form.zz-order select { height: 48px !important; border: 1px solid #cfcfcf !important; border-radius: 10px !important; padding: 0 14px !important; font-size: 16px !important;
  background-color: #fff !important; color: #111 !important; box-shadow: none !important; width: 100% !important; box-sizing: border-box !important; }
/* падащите менюта (куриер, период) – с ясна стрелка */
form.zz-order select { -webkit-appearance: none !important; appearance: none !important; padding-right: 44px !important; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 14px 14px !important; }
form.zz-order select:hover { border-color: #111 !important; }
form.zz-order textarea { min-height: 96px !important; padding: 12px 14px !important; border: 1px solid #cfcfcf !important; border-radius: 10px !important;
  font-size: 16px !important; width: 100% !important; box-sizing: border-box !important; }

/* обобщение: продукт (+ добавки) със снимка */
#zz-sum { display: flex; gap: 14px; align-items: center; border: 1px solid #e5e5e5; border-radius: 14px; padding: 12px; margin: 8px 0 4px; background: #fafafa; box-sizing: border-box; }
#zz-sum img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid #eee; flex: none; }
#zz-sum .n { font-size: 15px; line-height: 1.3; color: #111; }
#zz-sum .pr { margin-top: 6px; font-size: 18px; font-weight: 700; color: #111; }
#zz-sum .dl { font-size: 13px; color: #666; margin-top: 2px; }
#zz-sum.zz-multi { display: block; }
#zz-sum .zz-row { display: flex; gap: 14px; align-items: center; }
#zz-sum .zz-row + .zz-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; }
#zz-sum .zz-row.zz-addon img { width: 48px; height: 48px; margin-left: 12px; }
#zz-sum .zz-row.zz-addon .n { font-size: 14px; }
#zz-sum .zz-row.zz-addon .pr { font-size: 15px; margin-top: 2px; }
#zz-sum .zz-tag { display: inline-block; font-size: 11px; color: #10633d; background: #eef7f1; border-radius: 6px; padding: 1px 6px; margin-bottom: 3px; }
#zz-sum .zz-totrow { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; font-size: 15px; color: #111; }
#zz-sum .zz-totrow b { font-size: 18px; }
form.zz-order .minelab-bundle-summary.zz-merged { display: none !important; }

/* бутони във формата: помощните – с рамка; главният („Потвърди поръчката“ / „Преминете към плащане“) – черен */
form.zz-order button.formsubmit:not(.zz-primary) { background: #fff !important; background-image: none !important; color: #111 !important; border: 1.5px solid #111 !important;
  border-radius: 10px !important; height: 48px !important; padding: 0 18px !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important;
  box-shadow: none !important; cursor: pointer; display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; }
form.zz-order input[type=submit], form.zz-order .zz-primary { width: 100% !important; height: 48px !important; font-size: 17px !important; font-weight: 600 !important; border-radius: 10px !important;
  background: #111 !important; background-image: none !important; color: #fff !important; border: 1.5px solid #111 !important; margin-top: 6px !important; cursor: pointer;
  display: flex !important; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 16px !important; box-shadow: none !important; }

form.zz-order label.terms-consent, form.zz-order label.terms-consent span { font-weight: 400 !important; font-size: 13px !important; line-height: 1.45 !important; color: #555 !important; }
form.zz-order label.terms-consent a { color: #111; text-decoration: underline; }
#zz-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin: 16px 0 6px; color: #111; box-sizing: border-box; }
#zz-total b { font-size: 19px; }

/* добавки на продуктовата страница: търсачката и бутоните „Добави“ – по правилото за 48 px */
.minelab-addon-search-box input.js-addon-search-input { height: 48px !important; box-sizing: border-box !important; border-radius: 10px !important; font-size: 16px !important; }
.js-addon-search-results .js-addon-search-pick { height: 48px !important; min-width: 96px; padding: 0 16px !important; border-radius: 10px !important; font-size: 15px !important; font-weight: 600 !important;
  display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; text-box: trim-both cap alphabetic; }
/* лентата с крайната цена: и на два реда остава висока 48 px */
.single-product-price-buy .js-bundle-final-price-alert[style*="display: block"] { padding: 4px 12px !important; font-size: 14px; line-height: 1.2; }

/* промокод в картата на поръчката */
#zz-sum .zz-ico { width: 48px; height: 48px; margin-left: 12px; flex: none; border-radius: 10px; background: #eef7f1; color: #10633d; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
#zz-sum .zz-promo .pr { color: #10633d; }
/* полето на темата (ако не е слято с картата) – със същото заобляне */
form.zz-order .minelab-bundle-summary:not(.zz-merged) { border-radius: 10px !important; padding: 12px 14px !important; box-sizing: border-box; font-size: 14px; line-height: 1.5; }

/* падащият списък за населено място и офис – бял, като менюто за куриер */
form.zz-order .courier-results { background: #fff !important; border: 1px solid #cfcfcf !important; border-radius: 10px !important; box-shadow: 0 8px 24px rgba(0,0,0,.08) !important;
  margin-top: 6px !important; padding: 4px !important; max-height: 264px; overflow-y: auto; box-sizing: border-box; }
form.zz-order .courier-results button { display: flex !important; align-items: center; width: 100% !important; min-height: 44px; height: auto !important; padding: 8px 12px !important;
  background: #fff !important; background-image: none !important; color: #111 !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important;
  text-align: left !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1.3 !important; cursor: pointer; margin: 0 !important; text-transform: none !important; }
form.zz-order .courier-results button:hover, form.zz-order .courier-results button:focus { background: #f2f2f2 !important; outline: none; }
form.zz-order .courier-results { scrollbar-width: thin; scrollbar-color: #c8c8c8 transparent; }
form.zz-order .courier-results::-webkit-scrollbar { width: 8px; background: transparent; }
form.zz-order .courier-results::-webkit-scrollbar-thumb { background: #c8c8c8; border-radius: 8px; }
form.zz-order .courier-results::-webkit-scrollbar-track { background: transparent; }

/* брояч на офертата в продукта – светла карта с цифри в плочки */
.minelab-discount-countdown-single { background: #fff6ef !important; background-image: none !important; border: 1px solid #f7d4bd !important; border-radius: 12px !important;
  box-shadow: none !important; color: #9a3412 !important; padding: 10px 14px 12px !important; display: flex !important; flex-direction: column; align-items: center; gap: 8px; text-align: center !important; }
.minelab-discount-countdown-single .minelab-discount-countdown-label { display: flex; align-items: center; gap: 6px; margin: 0 !important; font-size: 13px !important; font-weight: 600 !important;
  text-transform: none !important; letter-spacing: 0 !important; color: #9a3412 !important; line-height: 1.2 !important; }
.minelab-discount-countdown-single .minelab-discount-countdown-label::before { content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2M9 2h6'/%3E%3C/svg%3E") no-repeat center; }
.minelab-discount-countdown-single .minelab-discount-countdown-values { display: flex !important; align-items: baseline; justify-content: center; margin: 0 !important; color: #9a3412 !important;
  font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1 !important; }
.minelab-discount-countdown-single .minelab-countdown-days, .minelab-discount-countdown-single .minelab-countdown-hours,
.minelab-discount-countdown-single .minelab-countdown-minutes, .minelab-discount-countdown-single .minelab-countdown-seconds {
  display: inline-block; min-width: 1.6em; padding: 5px 6px; box-sizing: border-box; background: #fff; border: 1px solid #f7d4bd; border-radius: 8px;
  font-size: 19px !important; font-weight: 700 !important; color: #c2410c !important; font-variant-numeric: tabular-nums; text-align: center; line-height: 1.1 !important; }
.minelab-discount-countdown-single .minelab-countdown-unit { margin: 0 9px 0 4px; font-size: 12px !important; color: #9a3412 !important; text-transform: none !important; }
.minelab-discount-countdown-single .minelab-countdown-unit:last-child { margin-right: 0; }
.minelab-discount-countdown-single .minelab-countdown-sep { display: none !important; }

/* брояч в категориите – същият стил, компактен: цифрите в плочки, единиците под тях */
.minelab-discount-countdown-card { background: #fff6ef !important; background-image: none !important; border: 1px solid #f7d4bd !important; border-radius: 10px !important;
  box-shadow: none !important; color: #9a3412 !important; padding: 6px 6px 7px !important; display: flex !important; flex-direction: column; align-items: center; gap: 5px; text-align: center !important; box-sizing: border-box; }
.minelab-discount-countdown-card .minelab-discount-countdown-label { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 !important; font-size: 11px !important; font-weight: 600 !important;
  text-transform: none !important; letter-spacing: 0 !important; color: #9a3412 !important; line-height: 1.2 !important; }
.minelab-discount-countdown-card .minelab-discount-countdown-label::before { content: ""; width: 12px; height: 12px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23c2410c' stroke-width='2.2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2M9 2h6'/%3E%3C/svg%3E") no-repeat center; }
.minelab-discount-countdown-card .minelab-discount-countdown-values { display: grid !important; grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 5px; row-gap: 2px;
  justify-content: center; align-items: center; margin: 0 !important; color: #9a3412 !important; letter-spacing: 0 !important; line-height: 1 !important; }
.minelab-discount-countdown-card .minelab-countdown-days, .minelab-discount-countdown-card .minelab-countdown-hours,
.minelab-discount-countdown-card .minelab-countdown-minutes, .minelab-discount-countdown-card .minelab-countdown-seconds {
  justify-self: center; min-width: 1.75em; padding: 3px 4px; box-sizing: border-box; background: #fff; border: 1px solid #f7d4bd; border-radius: 6px;
  font-size: 14px !important; font-weight: 700 !important; color: #c2410c !important; font-variant-numeric: tabular-nums; text-align: center; line-height: 1.1 !important; }
.minelab-discount-countdown-card .minelab-countdown-unit { justify-self: center; margin: 0 !important; font-size: 10px !important; font-weight: 500 !important; color: #9a3412 !important; text-transform: none !important; line-height: 1 !important; }
.minelab-discount-countdown-card .minelab-countdown-sep { display: none !important; }
/* тясна карта (телефон, 2 колони): без иконката и с по-дребен надпис, за да се събере на един ред */
@media (max-width: 767px) {
  .minelab-discount-countdown-card .minelab-discount-countdown-label { font-size: 10px !important; white-space: nowrap; }
  .minelab-discount-countdown-card .minelab-discount-countdown-label::before { display: none; }
}

/* адресът за доставка: по 3 полета на ред (номер, блок, вход / етаж, апартамент, пощенски код); на телефон – по 2 */
.minelab-courier .courier-address-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; align-items: end; }
.minelab-courier .courier-address-grid .courier-address-main { grid-column: span 3 !important; }
@media (max-width: 700px) {
  .minelab-courier .courier-address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .minelab-courier .courier-address-grid .courier-address-main { grid-column: span 2 !important; }
}

/* формите на голям екран – в две колони; обобщението вдясно остава видимо при превъртане */
@media (min-width: 1100px) {
  .zz-page-title.zz-wide { max-width: 1040px; }
  form.zz-order.zz-2col { max-width: 1040px !important; display: flex !important; gap: 48px; align-items: flex-start; }
  form.zz-order.zz-2col > .zz-main { flex: 1 1 auto; min-width: 0; }
  form.zz-order.zz-2col > .zz-side { flex: 0 0 380px; min-width: 0; order: 2; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
}

/* промокод във формата: поле + бутон на един ред */
form.zz-order .zz-inline { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
form.zz-order .zz-inline input { flex: 1 1 auto; min-width: 0; width: auto !important; }
form.zz-order .zz-inline button.formsubmit { flex: none; width: 120px; margin: 0 !important; padding: 0 !important; }

/* вноската в картите: сумата и € винаги заедно; на телефон – на отделен ред под „или на лизинг с вноска“ */
.product-price span.eurprices { white-space: nowrap; }
@media (max-width: 767px) { .product-price span.eurprices { display: block; } }

/* ---------- горна част: меню, лента за кампанията, заглавие на категорията ---------- */
/* лентата за кампанията (Black Weeks и др.) – по-едър текст, 44 px */
.black-bar { padding: 12px 0 !important; font-size: 15px !important; line-height: 20px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.black-bar .bb-more, .black-bar .bb-arrow { font-size: inherit !important; }
@media (max-width: 767px) { .black-bar { font-size: 14px !important; } }
/* телефон: лентата на кампанията започва точно под горното меню и тогава сянката на менюто се скрива; при превъртане сянката се връща */
.header-mob { transition: box-shadow .2s; }
body.zz-bar-attached .header-mob { box-shadow: none !important; border-bottom-color: transparent !important; }
/* менюто на десктоп – по-едри категории */
@media (min-width: 768px) {
  ul.topnav > li > a { font-size: 15px !important; font-weight: 600 !important; padding: 17px 10px !important; line-height: 20px !important; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  /* средни екрани: категориите с нормално разстояние; ако не се събират, менюто минава на два реда */
  ul.topnav > li { padding-left: 6px !important; padding-right: 6px !important; }
  ul.topnav > li > a { font-size: 13px !important; padding: 17px 4px !important; }
}
@media (min-width: 768px) and (max-width: 899px) {
  ul.topnav > li { padding-left: 4px !important; padding-right: 4px !important; }
  ul.topnav > li > a { font-size: 12px !important; padding: 17px 3px !important; }
}
/* тъмната лента със заглавието на категорията – еднаква височина на телефон и десктоп */
.content > h1:where(:not(.page-title)), .content-full > h1, .single-container > h1 { height: auto !important; min-height: 44px; padding-top: 6px !important; padding-bottom: 6px !important;
  box-sizing: border-box; display: flex !important; align-items: center; font-size: 15px !important; line-height: 1.3 !important; }

/* лизинг: „Месечна вноска“ – със същия размер и подравняване като „Цена на продукта“ */
form.zz-order .lease-monthly { font-size: 14px !important; margin-left: 15px !important; gap: 4px !important; color: #444; font-weight: 500; }
form.zz-order .lease-monthly__label { font-size: 14px !important; }
form.zz-order .lease-monthly__value { font-size: 14px !important; font-weight: 700 !important; color: #000 !important; gap: 4px !important; }
/* лентата на категорията – графит зад текста вляво, който се разтапя към светлосиво вдясно */
.content > h1:where(:not(.page-title)), .content-full > h1, .single-container > h1 { background: #3a3c41 linear-gradient(90deg, #303237 0%, #45484e 30%, #7c8087 62%, #c3c6cb 86%, #e9eaec 100%) !important;
  color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
@media (max-width: 767px) {
  /* на мобилно текстът стига по-надясно – преходът е по-кратък, за да остане четим */
  .content > h1:where(:not(.page-title)), .content-full > h1, .single-container > h1 { background: #3a3c41 linear-gradient(90deg, #303237 0%, #4a4d53 50%, #868a91 85%, #a4a8ae 100%) !important; }
}

/* балончетата за брой (любими, кошница): точни кръгчета, малко по-близо до иконата, с бял кант */
.minelab-favorites-count, .minelab-cart-count { box-sizing: border-box !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
.minelab-favorites-count-mobile, .minelab-cart-count-mobile { min-width: 18px !important; height: 18px !important; padding: 0 5px !important; line-height: 18px !important;
  top: -6px !important; right: -10px !important; font-size: 11px !important; box-shadow: 0 0 0 2px #fff; }

/* продукт: малко въздух между пътечката (Начало / …) и снимката */
body:has(.single-product-price-buy) nav.fbc-page { display: flow-root; padding-bottom: 6px; }
/* „Пишете ни“ до бутона на Viber – да не застъпва лентата „Купи“ на телефон */
/* балончето „Пишете ни“ е закачено с top/margin-top спрямо бутона – вдига се със същите 69px, с които се вдига бутонът над лентата „Купи“ */
.viber-nudge { transition: margin-top .2s, opacity .3s; }
@media (max-width: 767px) { body.zz-sticky-on .viber-nudge { margin-top: -91px !important; } }

/* хиксчетата за изчистване (търсене, бърза поръчка, промо код, добавки) – точно в средата на полето:
   знакът × стои ниско в реда, затова го рисуваме като иконка в центъра на бутона */
html body .minelab-search-clear, html body .minelab-product-clear-button { font-size: 0 !important; color: transparent !important; width: 28px !important; height: 28px !important; padding: 0 !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 1.5l9 9M10.5 1.5l-9 9'/%3E%3C/svg%3E") no-repeat center / 12px 12px !important; }
html body .minelab-search-clear:hover, html body .minelab-product-clear-button:hover { background-color: #f0f0f0 !important; border-radius: 50%; }

/* формите: малко въздух между надписа и полето под него */
form.zz-order input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]):not([name=hp_bot]),
form.zz-order select, form.zz-order textarea { margin-top: 6px !important; }
form.zz-order .zz-inline { margin-top: 6px !important; }
form.zz-order .zz-inline > input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]):not([name=hp_bot]) { margin-top: 0 !important; }

/* продукт без изплащане (под минималната сума): „Бърза поръчка“ – на същото разстояние като при продуктите с изплащане */
.minelab-quick-order-text.minelab-quick-order-text-no-lease { margin-top: 16px !important; }

/* началната страница: категориите – снимка без рамка, със заоблени ъгли, надпис вляво със стрелка */
.advbox .advbox-link { display: block; text-decoration: none !important; color: #111 !important; }
.advbox .advbox-link img { padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 14px !important; margin: 0 0 12px !important;
  width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s ease, box-shadow .25s ease; }
.advbox .advbox-link:hover img { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.14) !important; }
.advbox .advbox-title { display: block; margin: 0 !important; padding: 0 4px !important; text-align: left !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.3 !important; color: #111 !important; }
.advbox .advbox-title::after { content: "\00a0→"; display: inline; margin-left: 2px; transition: margin-left .2s ease; color: #555; }
.advbox .advbox-link:hover .advbox-title::after { margin-left: 6px; color: #111; }
@media (max-width: 767px) { .advbox .advbox-title { font-size: 14px !important; } .advbox .advbox-link img { border-radius: 12px !important; margin-bottom: 8px !important; } }

/* ---------- търсене с подсказки ---------- */
ul.ui-autocomplete.minelab-search-modal { background: #fff !important; border: 1px solid #e5e5e5 !important; border-radius: 12px !important; box-shadow: 0 16px 40px rgba(0,0,0,.14) !important;
  padding: 6px !important; overflow-y: auto !important; box-sizing: border-box !important; }
ul.ui-autocomplete.minelab-search-modal > li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none; }
ul.ui-autocomplete.minelab-search-modal .ui-menu-item-wrapper { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card { display: flex !important; align-items: center; gap: 12px; min-height: 64px; padding: 8px 10px !important; margin: 0 !important; box-sizing: border-box;
  border: 0 !important; border-radius: 10px !important; box-shadow: none !important; background: #fff !important; color: #111 !important; text-decoration: none !important; }
ul.ui-autocomplete.minelab-search-modal .ui-state-active .minelab-search-card, ul.ui-autocomplete.minelab-search-modal .minelab-search-card:hover { background: #f3f3f3 !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-image { flex: none; width: 48px !important; height: 48px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-image img { width: 48px !important; height: 48px !important; object-fit: contain; border-radius: 8px; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-info { display: flex !important; flex-direction: column; min-width: 0; gap: 2px; padding: 0 !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-title { font-size: 15px !important; font-weight: 500 !important; line-height: 1.3 !important; color: #111 !important;
  display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-title b { font-weight: 700; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-price { display: flex !important; align-items: baseline; gap: 8px; margin: 0 !important; font-size: 14px !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-price strong { font-size: 15px !important; color: #111 !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-price del { font-size: 12px !important; color: #888 !important; }
ul.ui-autocomplete.minelab-search-modal .minelab-search-card-price.zz-ask { font-size: 13px !important; color: #777 !important; font-weight: 400 !important; }
/* „Виж всички резултати“ – винаги видимо отдолу */
ul.ui-autocomplete.minelab-search-modal > li.zz-search-all { position: sticky; bottom: -6px; background: #fff !important; padding: 6px 0 !important; margin-top: 2px !important; }
ul.ui-autocomplete.minelab-search-modal > li.zz-search-all .minelab-search-card { justify-content: center; min-height: 44px; border: 1.5px solid #111 !important; }
ul.ui-autocomplete.minelab-search-modal > li.zz-search-all .minelab-search-card-title { font-weight: 600 !important; text-align: center; }
@media (min-width: 768px) { .minelab-search-overlay.is-visible { background: rgba(0,0,0,.1) !important; } }
html body ul.ui-autocomplete.minelab-search-modal > li { margin: 0 0 2px !important; }
html body ul.ui-autocomplete.minelab-search-modal .minelab-search-card { min-height: 64px !important; height: auto !important; }
html body ul.ui-autocomplete.minelab-search-modal > li.zz-search-all { margin: 2px 0 0 !important; }
html body ul.ui-autocomplete.minelab-search-modal > li.zz-search-all .minelab-search-card { min-height: 44px !important; }

/* продукт на десктоп: галерията (снимка + миниатюри) да се събира в екрана по височина; иначе на голям монитор долът се реже.
   Колоните не се пипат – само галерията се смалява и центрира в своята колона (плъзгачът сам се преоразмерява по ширината ѝ).
   Размерът се смята веднъж от скрипта (--zz-gal-max), а не с vh – в Safari vh караше страницата да подскача най-долу. */
@media (min-width: 1024px) {
  .content-full > .single-product .single-product-left .single-product-image { max-width: min(100%, var(--zz-gal-max, 640px)) !important; margin-left: auto; margin-right: auto; }
}

/* шапка на десктоп: малко по-голямо лого, центрирано на височината на търсачката */
@media (min-width: 768px) {
  .header-left .logo img { height: 60px !important; width: auto !important; max-width: none !important; aspect-ratio: 2 / 1; }
  /* темата слага opacity .8 при посочване; Safari създава слой чак при първото посочване и логото се измества с пиксел – слоят е постоянен от началото */
  /* без ефект при посочване – той караше Safari да мести логото при първото посочване */
  .header-left .logo img, .header-left .logo img:hover, .header-left a:hover .logo img { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; will-change: auto; }
}
/* заглавието на продукта – на нивото на галерията (десктоп, 2 колони) */
@media (min-width: 1100px) { .content-full > .single-product .single-product-desc h1.single-product-title { padding-top: 0 !important; } }

/* търсачката: текстът никога върху лупата (на средни екрани полето е тясно) */
html body input[name=s], html body #searchform input[name="s"].ui-autocomplete-input { padding-left: 42px !important; padding-right: 38px !important; }
/* продукт на средни екрани (таблет, свит прозорец): една колона като на телефон – голяма снимка отгоре, под нея цена и бутони */
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) {
  .content-full > .single-product { grid-template-columns: minmax(0, 1fr) !important; }
  .content-full > .single-product > .single-product-left { grid-area: 1 / 1 !important; }
  .header-right { min-width: 300px; }
  .content-full > .single-product > .single-product-right { grid-area: 2 / 1 !important; }
  .content-full > .single-product .single-product-left .single-product-image { max-width: min(100%, 520px) !important; margin-left: auto; margin-right: auto; }
  .content-full > .single-product > .single-product-right { justify-self: center; width: min(100%, 680px) !important; max-width: 680px !important; }
}

/* броячите: секундите се сменят всяка секунда – ограждаме ги, за да не карат браузъра (Safari) да преподрежда цялата страница при всяко тиктакане */
.minelab-discount-countdown-single { contain: layout paint style; }
.minelab-discount-countdown-single .minelab-countdown-days, .minelab-discount-countdown-single .minelab-countdown-hours,
.minelab-discount-countdown-single .minelab-countdown-minutes, .minelab-discount-countdown-single .minelab-countdown-seconds { width: 2.3em; min-width: 0; text-align: center; }

/* значките (black weeks, промоция) – в ъгъла на снимката, след като галерията е центрирана */
@media (min-width: 1024px) { .single-product-left > .minelab-product-badges { left: calc((100% - min(100%, var(--zz-gal-max, 640px))) / 2 + 8px) !important; } }
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) { .single-product-left > .minelab-product-badges { left: calc((100% - min(100%, 520px)) / 2 + 8px) !important; } }

/* ---------- долната част: марки и тъмен футър ---------- */
.topbrands a { border: 0 !important; background: none !important; box-shadow: none !important; }
.topbrands img { filter: grayscale(1); opacity: .55; transition: filter .2s ease, opacity .2s ease; }
.topbrands a:hover img { filter: none; opacity: 1; }
.navbottom { background: #17181b !important; box-shadow: none !important; margin-top: 32px !important; padding: 18px 0 8px !important; border: 0 !important; }
.navbottom a { color: #e9eaec !important; font-weight: 500 !important; font-size: 14px !important; text-decoration: none !important; }
.navbottom a:hover { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }
.footer { background: #17181b !important; color: #9ea3aa !important; padding: 20px 25px 32px !important; border-top: 1px solid #2a2c30; }
.footer, .footer > .wrapper { display: flow-root !important; height: auto !important; min-height: 0 !important; }
.footer, .footer p, .footer .copyright, .footer .design { font-size: 13px !important; line-height: 1.65 !important; color: #9ea3aa !important; }
.footer a { color: #c9ccd1 !important; text-decoration: none !important; }
.footer a:hover { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }
.footer .footer-company, .footer .footer-company strong { color: #fff !important; }
.footer .footer-company { margin-top: 10px; }
.footer .footer-payments img { background: none; padding: 0; height: 48px !important; width: auto !important; box-sizing: border-box; }

/* продукт на средни екрани: частта с цената и бутоните – центрирана като на телефон, под голямата снимка */
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) {
  .single-product-right .single-product-price-buy { text-align: center !important; }
  .single-product-price-buy .single-product-price, .single-product-price-buy .minelab-discount-countdown-single, .single-product-price-buy .minelab-product-secondary-actions,
  .single-product-price-buy .js-bundle-final-price-alert, .single-product-buy .singlebuy, .minelab-inline-row.minelab-quick-row, .minelab-inline-row.minelab-promo-row { margin-left: auto !important; margin-right: auto !important; }
  .aboutmore .single-product-cart { text-align: center !important; }
}
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) {
  html body .single-product-right h1.single-product-title { text-align: center !important; }
  html body .single-product-price-buy .single-product-buy-div, html body .single-product-price-buy .single-product-buy-div div, html body .single-product-price-buy .single-product-buy-div p,
  html body .single-product-price-buy .minelab-bank-choice, html body .single-product-price-buy .minelab-quick-order-text { text-align: center !important; }
  html body .single-product-price-buy .single-product-buy { float: none !important; width: 360px !important; max-width: 100%; margin-left: auto !important; margin-right: auto !important; }
  html body .single-product-price-buy .minelab-inline-row input.fastsubmit { text-align: left !important; }
}
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) {
  /* изплащане: бутонът на цял ред, вноската под него – като на телефон */
  html body .aboutmore .single-product-cart { white-space: normal !important; text-align: center !important; }
  html body .aboutmore .singlebuy.singlebuycart { display: flex !important; width: 360px !important; max-width: 100% !important; margin: 0 auto 6px !important; }
}

/* футър: и посетените връзки да са светли (Safari ги оцветяваше в черно) */
html body .navbottom a, html body .navbottom a:link, html body .navbottom a:visited { color: #e9eaec !important; }
html body .navbottom a:hover, html body .navbottom a:focus, html body .navbottom a:active { color: #fff !important; background: transparent !important; box-shadow: none !important; text-decoration: underline !important; text-underline-offset: 4px; }
html body .footer a, html body .footer a:link, html body .footer a:visited { color: #c9ccd1 !important; }
html body .footer a:hover { color: #fff !important; }
/* логата на марките: по 4 на ред и на средни екрани (по 2 на телефон остават от темата) */
@media (min-width: 601px) and (max-width: 1100px) { .brands-row { max-width: 740px !important; } .brands-row a { width: calc(25% - 15px) !important; max-width: 160px; } }

/* менюто горе: при посочване – само подчертаване, без сивото квадратче */
html body ul.topnav > li:hover, html body ul.topnav > li > a:hover, html body ul.topnav > li > a:focus, html body ul.topnav > li > a:active { background: transparent !important; box-shadow: none !important; }
html body ul.topnav > li > a:hover, html body ul.topnav > li > a:focus-visible { text-decoration: underline !important; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

/* 768–899 px: темата тук е с плаващи колони (снимката 30%) – правим ги една под друга, както над 900 px */
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) {
  html body .content-full > .single-product > .single-product-left { float: none !important; width: 100% !important; margin: 0 0 16px !important; }
  html body .content-full > .single-product > .single-product-right { float: none !important; margin-left: auto !important; margin-right: auto !important; }
}
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) { html body .single-product-left > .single-video { max-width: 680px; margin: 16px auto 0 !important; float: none !important; } }

/* ---------- мобилно меню: панел на цял ръст, затъмнен фон, редове с шеврон ---------- */
@media (max-width: 767px) {
  #menuToggle #menu { position: fixed !important; top: 0 !important; left: 0 !important; margin: 0 !important; width: min(86vw, 330px) !important;
    height: 100vh !important; height: 100dvh !important; box-sizing: border-box !important; padding: 76px 0 calc(24px + env(safe-area-inset-bottom)) !important;
    background: #fff !important; box-shadow: none !important; border-radius: 0 18px 18px 0; overflow-y: auto !important; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; list-style: none; transform: translateX(-105%) !important; transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s !important; }
  #menuToggle input:checked ~ #menu { transform: none !important; box-shadow: 0 0 0 100vmax rgba(0,0,0,.38) !important; }
  #menuToggle #menu::before { content: "Меню"; position: absolute; top: 25px; left: 72px; font-size: 19px; font-weight: 700; color: #111; line-height: 26px; }
  #menuToggle #menu li { padding: 0 !important; margin: 0 !important; list-style: none; }
  #menuToggle #menu li:last-child:not(:has(a)) { display: none; }
  #menuToggle #menu a.maincat { display: flex !important; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px !important; box-sizing: border-box;
    font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0 !important; color: #111 !important; text-decoration: none !important; border-bottom: 1px solid #f0f0f0; }
  #menuToggle #menu a.maincat::after { content: ""; margin-left: auto; width: 7px; height: 7px; flex: none; border-top: 2px solid #b5b5b5; border-right: 2px solid #b5b5b5; transform: rotate(45deg); }
  #menuToggle #menu a.maincat:active { background: #f5f5f5; }
  #menuToggle #menu a.maincat[href*="blackfriday"] { color: #d9480f !important; }
  #menuToggle #menu .minelab-favorites-count, #menuToggle #menu .minelab-cart-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px;
    background: #111; color: #fff !important; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
  #menuToggle #menu a:has(.minelab-favorites-count:not([style*="none"]))::after,
  #menuToggle #menu a:has(.minelab-cart-count:not([style*="none"]))::after { margin-left: 0; }
  html.zz-menu-open .viber-wrap { opacity: 0; pointer-events: none; }
  html.zz-menu-open, html.zz-menu-open body { overflow: hidden !important; }
}

/* ---------- кошница: редове с продукти, обобщение и колона с бутоните като в продукта ---------- */
.minelab-cart-page { max-width: 860px; margin: 0 auto; }
.minelab-cart-item { display: flex !important; align-items: center; gap: 16px; padding: 16px 0 !important; border-bottom: 1px solid #eee !important; }
.minelab-cart-thumb { flex: none; width: 80px !important; }
.minelab-cart-thumb img { width: 80px !important; height: 80px !important; object-fit: contain; border-radius: 10px; display: block; }
.minelab-cart-item-main { flex: 1; min-width: 0; }
.minelab-cart-title { color: #111 !important; text-decoration: none !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.35 !important; }
.minelab-cart-title:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.minelab-cart-item-side { flex: none; display: flex !important; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.minelab-cart-price { font-size: 17px !important; font-weight: 700 !important; white-space: nowrap; margin: 0 !important; }
.minelab-cart-quantity { display: inline-flex !important; align-items: center; height: 36px; border: 1px solid #ddd !important; border-radius: 999px !important; overflow: hidden; background: #fff; margin: 0 !important; }
.minelab-cart-quantity button { width: 36px !important; height: 36px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: #111 !important; font-size: 18px !important; line-height: 36px !important; cursor: pointer; }
.minelab-cart-quantity button:hover { background: #f3f3f3 !important; }
html body .minelab-cart-page .minelab-cart-quantity button { display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; font-family: Arial, Helvetica, sans-serif !important; font-weight: 400 !important; -webkit-appearance: none; appearance: none; flex: none !important; width: 36px !important; min-width: 36px !important; max-width: none !important; }
html body .minelab-cart-page .minelab-cart-remove { width: auto !important; min-width: 0 !important; height: auto !important; }
.minelab-cart-quantity-value { min-width: 26px; text-align: center; font-weight: 600; font-size: 15px; border: 0 !important; }
.minelab-cart-remove { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; color: #888 !important; font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.minelab-cart-remove:hover { color: #111 !important; }
.minelab-cart-summary { display: flex !important; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 18px 0 !important; margin: 0 !important; }
.minelab-cart-total-label { font-size: 17px !important; color: #333; }
.minelab-cart-total-price { font-size: 24px !important; font-weight: 700 !important; }
.minelab-cart-checkout { width: min(100%, 400px); margin: 0 0 0 auto !important; display: flex !important; flex-direction: column; gap: 10px; }
.minelab-cart-promo-form { display: flex !important; gap: 8px; margin: 0 0 6px !important; }
.minelab-cart-promo-form input.fastsubmit { flex: 1; min-width: 0; width: auto !important; height: 48px !important; margin: 0 !important; padding: 0 38px 0 14px !important; box-sizing: border-box !important;
  border: 1px solid #d9d9d9 !important; border-radius: 10px !important; background: #fff !important; font-size: 16px !important; text-align: left !important; }
.minelab-cart-promo-form .minelab-cart-text-action { flex: none; width: 120px; height: 48px; margin: 0 !important; padding: 0 !important; border: 1.5px solid #111 !important; border-radius: 10px !important;
  background: #fff !important; color: #111 !important; font-size: 15px !important; font-weight: 600 !important; text-decoration: none !important; cursor: pointer; }
.minelab-cart-promo-form .minelab-cart-text-action:hover { background: #111 !important; color: #fff !important; }
.minelab-cart-checkout .minelab-cart-actions { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px; margin: 0 !important; width: 100% !important; }
.minelab-cart-checkout .minelab-cart-actions a { display: block !important; width: 100% !important; flex: none !important; text-decoration: none !important; }
body:has(.minelab-cart-page) h1.page-title { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
html body .minelab-cart-checkout .minelab-cart-actions .singlebuy { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 50px !important;
  margin: 0 !important; padding: 0 16px !important; box-sizing: border-box !important; border-radius: 10px !important; background: #111 !important; background-image: none !important; color: #fff !important;
  border: 1.5px solid #111 !important; box-shadow: none !important; font-size: 17px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-align: center !important; }
html body .minelab-cart-checkout .minelab-cart-actions a + a .singlebuy { background: #fff !important; color: #111 !important; font-size: 16px !important; }
.minelab-cart-checkout .minelab-bank-choice { margin: 2px 0 !important; }
.minelab-cart-lease-title { margin: 6px 0 0 !important; font-size: 15px; color: #333; }
.minelab-cart-lease-actions { display: flex !important; flex-direction: column; gap: 10px; }
.minelab-cart-lease-actions > div { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; }
.minelab-cart-lease-actions > div > a { flex: 1; min-width: 0; text-decoration: none !important; }
html body .minelab-cart-lease-actions .singlebuy.singlebuycart { display: flex !important; width: 100% !important; max-width: none !important; height: 48px !important; margin: 0 !important; white-space: nowrap; }
.minelab-cart-lease-actions > div > span { flex: none; font-size: 14px; white-space: nowrap; }
.minelab-cart-lease-note { font-size: 13px; line-height: 1.5; color: #555; margin-top: 4px; }
@media (max-width: 767px) {
  .minelab-cart-item { flex-wrap: wrap; gap: 10px 14px; }
  .minelab-cart-thumb, .minelab-cart-thumb img { width: 64px !important; height: 64px !important; }
  .minelab-cart-title { font-size: 15px !important; }
  .minelab-cart-item-side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; padding-left: 78px; box-sizing: border-box; }
  .minelab-cart-summary { justify-content: space-between; }
  .minelab-cart-checkout { margin: 0 auto !important; }
}

/* кошница – плащането подредено точно като в продукта: 360px бутони; до 1099px всичко центрирано и вноската под бутона,
   на голям екран колоната е вдясно, а вноската – до бутона */
html body .minelab-cart-checkout { width: 360px !important; max-width: 100% !important; margin: 0 auto !important; }
html body .minelab-cart-checkout .minelab-bank-choice, html body .minelab-cart-checkout .minelab-cart-lease-title { text-align: center !important; }
html body .minelab-cart-lease-actions > div { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; }
html body .minelab-cart-lease-actions > div > span { text-align: center; font-size: 15px; }
html body .minelab-cart-lease-note { white-space: normal !important; width: auto !important; max-width: 100% !important; min-width: 0 !important; overflow-wrap: break-word; text-align: center; }
/* мобилно – на цялата ширина, като бутоните в продукта */
@media (max-width: 767px) { html body .minelab-cart-checkout { width: 100% !important; } }
html body .minelab-cart-checkout > *, html body .minelab-cart-lease-actions, html body .minelab-cart-lease-actions > div,
html body .minelab-cart-lease-actions > div > a { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
html body .minelab-cart-lease-actions > div > a { flex: none !important; display: block !important; }
/* темата слага content-box + 20px отстъп на тесен прозорец с мишка (Safari на компютър) – бутонът излизаше извън екрана */
html body .minelab-cart-page .minelab-cart-lease-actions .singlebuy.singlebuycart { box-sizing: border-box !important; padding: 0 16px !important; }
/* голям екран – колоната остава центрирана, вноската стои вдясно до бутона, без да го измества */
@media (min-width: 1100px) {
  html body .minelab-cart-checkout .minelab-bank-choice, html body .minelab-cart-checkout .minelab-cart-lease-title, html body .minelab-cart-lease-note { text-align: left !important; }
  html body .minelab-cart-lease-actions > div { position: relative !important; }
  html body .minelab-cart-lease-actions > div > span { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); text-align: left; }
}

/* ---------- любими: същият вид като кошницата (редове, центрирано в 860px) ---------- */
.minelab-favorites-page { max-width: 860px; margin: 20px auto 0 !important; }
body:has(.minelab-favorites-page) h1.page-title { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
html body .minelab-favorites-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
html body .minelab-favorite-card { display: grid !important; grid-template-columns: 80px 1fr auto; grid-template-areas: "thumb title price" "thumb title remove";
  column-gap: 16px; row-gap: 8px; align-items: center; padding: 16px 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid #eee !important;
  border-radius: 0 !important; box-shadow: none !important; background: none !important; text-align: left !important; }
.minelab-favorite-thumb { grid-area: thumb; width: 80px !important; display: block; }
.minelab-favorite-thumb img { width: 80px !important; height: 80px !important; max-width: none !important; object-fit: contain; border-radius: 10px; display: block; margin: 0 !important; }
html body .minelab-favorite-title { grid-area: title; color: #111 !important; text-decoration: none !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.35 !important; margin: 0 !important; }
html body .minelab-favorite-title:hover { text-decoration: underline !important; text-underline-offset: 3px; }
html body .minelab-favorite-price { grid-area: price; justify-self: end; align-self: end; font-size: 17px !important; font-weight: 700 !important; white-space: nowrap; margin: 0 !important; }
html body .minelab-favorite-remove { grid-area: remove; justify-self: end; align-self: start; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; width: auto !important; height: auto !important;
  color: #888 !important; font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body .minelab-favorite-remove:hover { color: #111 !important; }
@media (max-width: 767px) {
  html body .minelab-favorite-card { grid-template-columns: 64px 1fr auto; grid-template-areas: "thumb title title" "thumb price remove"; column-gap: 14px; }
  .minelab-favorite-thumb, .minelab-favorite-thumb img { width: 64px !important; height: 64px !important; }
  html body .minelab-favorite-title { font-size: 15px !important; }
  html body .minelab-favorite-price { justify-self: start; align-self: center; }
  html body .minelab-favorite-remove { align-self: center; }
}
/* празна кошница / празни любими – леко заоблена рамка като останалите */
html body .minelab-cart-empty, html body .minelab-favorites-empty { border-radius: 12px !important; border: 1px solid #eee !important; background: #fafafa !important; padding: 18px 20px !important; }

/* бутонът „Разгледайте“ в категориите – еднакъв бутон на всички екрани (темата го оформяше само на мобилно в портретна ориентация) */
html body .product .minelab-cat-view-btn, html body .product a.btn-main.minelab-cat-view-btn:visited {
  display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 42px; margin-top: 12px !important; padding: 0 12px !important; box-sizing: border-box !important;
  background: #fff !important; background-image: none !important; color: #111 !important; border: 1.5px solid #111 !important; border-radius: 10px !important; box-shadow: none !important;
  font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-decoration: none !important; text-shadow: none !important; }
html body .product .minelab-cat-view-btn:hover { background: #111 !important; color: #fff !important; }

/* брояч в продукта на тесен телефон: единиците под цифрите (като в категориите), за да се събере на един ред */
@media (max-width: 480px) {
  html body .minelab-discount-countdown-single .minelab-discount-countdown-values { display: grid !important; grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 8px !important; row-gap: 3px !important;
    justify-content: center; align-items: center; flex-wrap: nowrap !important; }
  html body .minelab-discount-countdown-single .minelab-countdown-unit { justify-self: center; margin: 0 !important; font-size: 11px !important; line-height: 1 !important; }
  html body .minelab-discount-countdown-single .minelab-countdown-sep { display: none !important; }
  html body .minelab-discount-countdown-single .minelab-countdown-days, html body .minelab-discount-countdown-single .minelab-countdown-hours,
  html body .minelab-discount-countdown-single .minelab-countdown-minutes, html body .minelab-discount-countdown-single .minelab-countdown-seconds { justify-self: center; margin: 0 !important; }
  html body .minelab-discount-countdown-single { padding-top: 10px !important; padding-bottom: 10px !important; }
}

/* брояч в тесни карти (таблет вертикално, 4 в ред): надписът се пренася, без иконка, по-плътни плочки – нищо не излиза извън картата */
@media (max-width: 1099px) {
  html body .minelab-discount-countdown-card { padding: 5px 4px 6px !important; max-width: 100%; overflow: hidden; }
  html body .minelab-discount-countdown-card .minelab-discount-countdown-label { font-size: 11px !important; white-space: normal !important; text-align: center !important; line-height: 1.2 !important; }
  html body .minelab-discount-countdown-card .minelab-discount-countdown-label::before { display: none !important; }
  html body .minelab-discount-countdown-card .minelab-discount-countdown-values { column-gap: 3px !important; }
  html body .minelab-discount-countdown-card .minelab-countdown-days, html body .minelab-discount-countdown-card .minelab-countdown-hours,
  html body .minelab-discount-countdown-card .minelab-countdown-minutes, html body .minelab-discount-countdown-card .minelab-countdown-seconds { min-width: 1.6em !important; padding: 2px 3px !important; }
}

/* вноската в тесни карти – на отделен ред, както на мобилно, за да не опира в ръба */
@media (max-width: 1099px) { html body .product .product-price span.eurprices { display: block !important; } }

/* „Бърза поръчка на … / Пишете ни на Viber…“ – със същата ширина като бутоните, когато са центрирани (до 1099px) */
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) {
  html body .single-product-price-buy .minelab-quick-order-text, html body .single-product-price-buy .minelab-quick-order-text-no-lease {
    max-width: 360px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; text-wrap: balance; }
}

/* нисък хоризонтален екран (телефон/сгъваем в landscape, 768–1099px широк, до 500px висок):
   продуктът е в две колони – снимката вляво, цената и бутоните вдясно, за да се вижда нещо от покупката веднага */
@media (min-width: 560px) and (max-width: 1099px) and (max-height: 500px) and (orientation: landscape) {
  html body .content-full > .single-product { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 24px !important; align-items: start; }
  html body .content-full > .single-product > .single-product-left { grid-area: 1 / 1 !important; float: none !important; width: auto !important; }
  html body .content-full > .single-product > .single-product-right { grid-area: 1 / 2 !important; float: none !important; width: auto !important; max-width: none !important; justify-self: stretch !important; }
  html body .content-full > .single-product .single-product-left .single-product-image { max-width: min(100%, 420px) !important; }
  html body .single-product-left > .minelab-product-badges { left: calc((100% - min(100%, 420px)) / 2 + 8px) !important; }
}

/* ---------- рекламация и отказ от договор: полета и бутони като в останалите форми ---------- */
html body #claim-form,
html body #cancel-form { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
html body #claim-form .claim-grid,
html body #cancel-form .cancel-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px !important; row-gap: 16px !important; margin: 0 0 18px !important; }
html body #claim-form .claim-grid > label, html body #claim-form .claim-full,
html body #cancel-form .cancel-grid > label, html body #cancel-form .cancel-full { display: block !important; margin: 0 !important; font-size: 14px !important; font-weight: 600 !important; color: #111 !important; line-height: 1.35 !important; }
html body #claim-form .claim-full,
html body #cancel-form .cancel-full { grid-column: 1 / -1; margin-bottom: 16px !important; }
html body #claim-form .claim-optional,
html body #cancel-form .cancel-optional { font-weight: 400 !important; color: #888 !important; font-size: 13px !important; }
html body #claim-form input[type=text], html body #claim-form input[type=tel], html body #claim-form input[type=email], html body #claim-form input:not([type]), html body #claim-form input[type=date], html body #claim-form select, html body #claim-form textarea,
html body #cancel-form input[type=text], html body #cancel-form input[type=tel], html body #cancel-form input[type=email], html body #cancel-form input:not([type]), html body #cancel-form input[type=date], html body #cancel-form select, html body #cancel-form textarea {
  display: block; width: 100% !important; max-width: 100% !important; height: 48px !important; margin: 7px 0 0 !important; padding: 0 14px !important; box-sizing: border-box !important;
  border: 1px solid #d9d9d9 !important; border-radius: 10px !important; background-color: #fff !important; box-shadow: none !important; font-size: 16px !important; font-weight: 400 !important; color: #111 !important; }
html body #claim-form textarea,
html body #cancel-form textarea { height: auto !important; min-height: 110px; padding: 12px 14px !important; line-height: 1.45 !important; resize: vertical; }
html body #claim-form select,
html body #cancel-form select { -webkit-appearance: none; appearance: none; padding-right: 40px !important; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center !important; }
html body #claim-form input:focus, html body #claim-form select:focus, html body #claim-form textarea:focus,
html body #cancel-form input:focus, html body #cancel-form select:focus, html body #cancel-form textarea:focus { outline: none !important; border-color: #111 !important; box-shadow: 0 0 0 3px rgba(0,0,0,.07) !important; }
html body #claim-form input::placeholder, html body #claim-form textarea::placeholder,
html body #cancel-form input::placeholder, html body #cancel-form textarea::placeholder { color: #9a9a9a; }
html body #claim-form .claim-date-controls,
html body #cancel-form .cancel-date-controls { display: flex !important; gap: 8px; margin-top: 7px; }
html body #claim-form .claim-date-controls input,
html body #cancel-form .cancel-date-controls input { margin-top: 0 !important; }
html body #claim-form .claim-date-controls input[type=date],
html body #cancel-form .cancel-date-controls input[type=date] { flex: none; width: 150px !important; padding: 0 10px !important; }
html body #claim-form small,
html body #cancel-form small { display: block; margin-top: 6px; font-size: 12.5px !important; font-weight: 400 !important; color: #777 !important; line-height: 1.4; }
html body #claim-form input[type=file],
html body #cancel-form input[type=file] { display: block; width: 100%; margin-top: 7px !important; padding: 10px !important; box-sizing: border-box; border: 1px dashed #cfcfcf !important; border-radius: 10px !important; background: #fafafa !important; font-size: 14px !important; }
html body #claim-form input[type=file]::file-selector-button,
html body #cancel-form input[type=file]::file-selector-button { margin-right: 12px; height: 36px; padding: 0 14px; border: 1.5px solid #111; border-radius: 8px; background: #fff; color: #111; font-weight: 600; cursor: pointer; }
html body #claim-form input[type=checkbox],
html body #cancel-form input[type=checkbox] { width: 18px !important; height: 18px !important; margin: 0 8px 0 0 !important; vertical-align: -3px; accent-color: #111; }
html body #claim-form .claim-action,
html body #cancel-form .cancel-action { display: inline-flex !important; align-items: center; justify-content: center; height: 48px !important; min-width: 200px; padding: 0 22px !important; box-sizing: border-box;
  border: 1.5px solid #111 !important; border-radius: 10px !important; background: #111 !important; background-image: none !important; color: #fff !important; box-shadow: none !important; text-shadow: none !important;
  font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0 !important; line-height: 1.2 !important; cursor: pointer; }
html body #claim-form .claim-action:hover,
html body #cancel-form .cancel-action:hover { background: #2a2a2a !important; }
html body #claim-form .claim-action.claim-lookup,
html body #cancel-form .cancel-action.cancel-lookup { background: #fff !important; color: #111 !important; min-width: 170px; }
html body #claim-form .claim-action.claim-lookup:hover,
html body #cancel-form .cancel-action.cancel-lookup:hover { background: #111 !important; color: #fff !important; }
html body #claim-form .claim-lookup-row,
html body #cancel-form .cancel-lookup-row { display: flex !important; align-items: center; gap: 14px; margin: 4px 0 20px !important; }
html body #claim-form .claim-lookup-row .claim-optional,
html body #cancel-form .cancel-lookup-row .cancel-optional { font-size: 13px !important; line-height: 1.45; }
html body #claim-form .claim-note,
html body #cancel-form .cancel-note { font-size: 13px; color: #555; line-height: 1.5; }
@media (max-width: 767px) {
  html body #claim-form .claim-grid,
html body #cancel-form .cancel-grid { grid-template-columns: 1fr; }
  html body #claim-form .claim-lookup-row,
html body #cancel-form .cancel-lookup-row { flex-direction: column; align-items: stretch; text-align: center; }
  html body #claim-form .claim-action,
html body #cancel-form .cancel-action { width: 100% !important; }
}

html body #claim-form .claim-action, html body #cancel-form .cancel-action { white-space: nowrap !important; flex: none; width: auto !important; max-width: none !important; }
@media (max-width: 767px) { html body #claim-form .claim-action, html body #cancel-form .cancel-action { width: 100% !important; } }
html body #claim-form .claim-note, html body #cancel-form .cancel-note { border-radius: 10px !important; }

/* телефон: бутоните и блоковете за покупка в продукта – на цялата ширина, като в кошницата (темата ги правеше 90%) */
@media (max-width: 767px) {
  html body .single-product-price-buy .single-product-buy .singlebuy, html body .single-product-price-buy .minelab-discount-countdown-single,
  html body .single-product-price-buy .minelab-inline-row.minelab-quick-row, html body .single-product-price-buy .minelab-inline-row.minelab-promo-row,
  html body .single-product-price-buy .minelab-product-secondary-actions, html body .single-product-price-buy .js-bundle-final-price-alert,
  html body .aboutmore .singlebuy.singlebuycart {
    width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box !important; }
}

@media (min-width: 560px) and (max-width: 1099px) and (max-height: 500px) and (orientation: landscape) {
  html body .single-product-price-buy .single-product-buy { float: none !important; width: 100% !important; max-width: 360px !important; margin-left: 0 !important; margin-right: 0 !important; }
  html body .single-product-price-buy .single-product-buy .singlebuy { width: 100% !important; max-width: 100% !important; }
}

/* нисък хоризонтален екран – брояч в продукта компактен (единиците под цифрите), за да е на един ред в тясната колона */
@media (min-width: 560px) and (max-width: 1099px) and (max-height: 500px) and (orientation: landscape) {
  html body .minelab-discount-countdown-single .minelab-discount-countdown-values { display: grid !important; grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 8px !important; row-gap: 3px !important;
    justify-content: center; align-items: center; flex-wrap: nowrap !important; }
  html body .minelab-discount-countdown-single .minelab-countdown-unit { justify-self: center; margin: 0 !important; font-size: 11px !important; line-height: 1 !important; }
  html body .minelab-discount-countdown-single .minelab-countdown-sep { display: none !important; }
  html body .minelab-discount-countdown-single .minelab-countdown-days, html body .minelab-discount-countdown-single .minelab-countdown-hours,
  html body .minelab-discount-countdown-single .minelab-countdown-minutes, html body .minelab-discount-countdown-single .minelab-countdown-seconds { justify-self: center; margin: 0 !important; }
}

/* нисък хоризонтален екран – дясната колона подредена като стария сайт: всичко вляво, бутоните еднакво широки, вноската ДО бутона (пести височина) */
@media (min-width: 560px) and (max-width: 1099px) and (max-height: 500px) and (orientation: landscape) {
  html body .single-product-right .single-product-price-buy, html body .single-product-price-buy .single-product-buy-div, html body .single-product-price-buy .single-product-buy-div div,
  html body .single-product-price-buy .single-product-buy-div p, html body .single-product-price-buy .minelab-bank-choice, html body .single-product-price-buy .minelab-quick-order-text,
  html body .aboutmore .single-product-cart, html body .single-product-right h1.single-product-title { text-align: left !important; }
  html body .single-product-price-buy .single-product-price, html body .single-product-price-buy .minelab-discount-countdown-single, html body .single-product-price-buy .minelab-product-secondary-actions,
  html body .single-product-price-buy .js-bundle-final-price-alert, html body .single-product-price-buy .single-product-buy,
  html body .single-product-price-buy .minelab-inline-row.minelab-quick-row, html body .single-product-price-buy .minelab-inline-row.minelab-promo-row, html body .single-product-price-buy .minelab-quick-order-text {
    width: min(300px, calc(100% - 110px)) !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  html body .single-product-price-buy .single-product-price { text-align: left !important; }
  html body .single-product-price-buy .minelab-product-secondary-actions { justify-content: flex-start !important; }
  html body .aboutmore .single-product-cart { white-space: nowrap !important; display: flex !important; align-items: center; gap: 10px; }
  html body .single-product-price-buy .single-product-buy .singlebuy { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  html body .aboutmore .single-product-cart > a { flex: none; display: block; width: min(300px, calc(100% - 110px)) !important; }
  html body .aboutmore .singlebuy.singlebuycart { display: flex !important; width: 100% !important; max-width: none !important; margin: 0 0 8px !important; }
}

@media (min-width: 560px) and (max-width: 1099px) and (max-height: 500px) and (orientation: landscape) {
  /* заглавието започва на нивото на горния ръб на галерията, както на десктоп */
  html body .content-full > .single-product .single-product-desc h1.single-product-title { padding-top: 16px !important; margin-top: 0 !important; }
  /* цената – вляво, подравнена с бутоните */
  html body .single-product-right .single-product-price-buy .single-product-price, html body .single-product-right .single-product-price-buy .single-product-price * { text-align: left !important; justify-content: flex-start !important; }
}

/* клипът под галерията винаги е широк точно колкото галерията (--zz-gal-w се мери от js), за да няма „зъб“ */
html body .single-product-left > .single-video { width: var(--zz-gal-w, 100%) !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; float: none !important; box-sizing: border-box; }

/* тесен нисък хоризонтален екран (под 720px): колоната е тясна – бутоните на цялата ѝ ширина, вноската под бутона */
@media (min-width: 560px) and (max-width: 719px) and (max-height: 500px) and (orientation: landscape) {
  html body .single-product-price-buy .single-product-price, html body .single-product-price-buy .minelab-discount-countdown-single, html body .single-product-price-buy .minelab-product-secondary-actions,
  html body .single-product-price-buy .js-bundle-final-price-alert, html body .single-product-price-buy .single-product-buy,
  html body .single-product-price-buy .minelab-inline-row.minelab-quick-row, html body .single-product-price-buy .minelab-inline-row.minelab-promo-row, html body .single-product-price-buy .minelab-quick-order-text,
  html body .aboutmore .single-product-cart > a { width: 100% !important; }
  html body .aboutmore .single-product-cart { flex-direction: column !important; align-items: flex-start !important; gap: 0 !important; white-space: normal !important; }
  html body .single-product-price-buy .minelab-inline-row .minelab-inline-action, html body .single-product-price-buy .minelab-inline-row button { white-space: nowrap; }
}

/* списъци с продукти (свързани, последно разгледани, най-продавани): винаги мрежа отляво надясно –
   темата на хоризонтален таблет/сгъваем минаваше към центрирани карти и непълният ред висеше в средата */
html body .products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; justify-content: stretch !important; justify-items: stretch;
  gap: 18px 16px !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; }
html body .products > .product { width: auto !important; max-width: none !important; margin: 0 !important; }
html body .products > .clear { display: none !important; }
@media (max-width: 767px) { html body .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 12px !important; padding-left: 10px !important; padding-right: 10px !important; } }

/* телефон: бутонът „сортиране“ в категориите и бутоните „любими/кошница“ в картите – по-голяма зона за натискане (вид без промяна) */
@media (max-width: 767px) {
  html body button.show_hide_about { min-height: 40px; padding-top: 8px !important; padding-bottom: 8px !important; }
  html body .minelab-cat-favorite-btn, html body .minelab-cat-cart-btn { min-height: 36px; }
}

/* карти в категориите: когато „Добавете в любими/кошница“ се пренесе на 2 реда, иконата стои плътно до текста (не в ъгъла), а редовете са подравнени */
html body .minelab-cat-favorite-btn, html body .minelab-cat-cart-btn { justify-content: center !important; align-items: center !important; gap: 7px !important; text-align: left !important; }
html body .minelab-cat-favorite-btn > span, html body .minelab-cat-cart-btn > span { text-align: left !important; line-height: 1.25 !important; }
html body .minelab-cat-favorite-btn > i, html body .minelab-cat-cart-btn > i { flex: none; }

/* новини: картите в стила на останалите (тънка рамка, без тежка сянка), „Прочети повече →“ като връзка */
html body .news-topic-box { border: 1px solid #e6e6e6 !important; border-radius: 12px !important; box-shadow: none !important; background: #fff !important; transition: box-shadow .2s ease, transform .2s ease; }
html body a.news-topic-link:hover .news-topic-box { box-shadow: 0 8px 22px rgba(0,0,0,.08) !important; transform: translateY(-2px); }
html body .news-topic-box .news-topic-date { font-size: 12.5px !important; color: #888 !important; font-weight: 500 !important; }
html body .news-topic-box .news-topic-title { font-size: 15px !important; font-weight: 600 !important; line-height: 1.35 !important; color: #111 !important; }
html body .news-topic-box .news-topic-more { font-size: 14px !important; font-weight: 600 !important; color: #111 !important; text-decoration: none !important; }
html body .news-topic-box .news-topic-more::after { content: "\00a0→"; }
html body a.news-topic-link:hover .news-topic-more { text-decoration: underline !important; text-underline-offset: 3px; }
html body a.news-topic-link, html body a.news-topic-link:visited { text-decoration: none !important; color: inherit !important; }

/* достъпност (PageSpeed): броячите – пълна плътност (темата ги правеше полупрозрачни и контрастът падаше под 4.5:1) */
html body .minelab-discount-countdown, html body .minelab-discount-countdown * { opacity: 1 !important; }
/* достъпност: връзките в текст във футъра и в лентата за бисквитки се различават не само по цвят – фино подчертаване */
html body .footer .copyright a, html body .footer p a, html body .footer .design a {
  text-decoration: underline !important; text-decoration-color: rgba(255,255,255,.35) !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html body .footer .copyright a:hover, html body .footer p a:hover, html body .footer .design a:hover { text-decoration-color: currentColor !important; }
html body .cc_message a, html body a.cc_more_info { text-decoration: underline !important; text-underline-offset: 2px; }

/* продукт с лентата „Купи“: долният край на футъра („разработено от …“) остава над лентата, не под нея */
body.zz-has-sticky .footer { padding-bottom: calc(32px + var(--zz-sticky-h, 90px) + env(safe-area-inset-bottom, 0px)) !important; }

/* бутонът „Към началото“: плътно бяло кръгче с тънка рамка и сянка – вижда се и върху текст, и върху тъмния футър, без да закрива */
html body #back-top a { width: 46px !important; height: 46px !important; margin-bottom: 5px; background: rgba(255,255,255,.94) !important; color: #111 !important;
  border: 1px solid rgba(0,0,0,.08); box-shadow: 0 4px 14px rgba(0,0,0,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-sizing: border-box; }
html body #back-top.show a { opacity: 1 !important; }
html body #back-top a svg { width: 20px !important; height: 20px !important; }
html body #back-top a:hover { background: #fff !important; color: #000 !important; }

/* „Към началото“ и Viber – еднакъв размер (52px), еднакво отстояние от ръба и от долу, симетрично */
html body .viber { width: 52px !important; height: 52px !important; right: 15px !important; }
html body #back-top { left: 15px !important; margin: 0 !important; padding: 0 !important; }
html body #back-top a { width: 52px !important; height: 52px !important; margin-bottom: 15px !important; }
body.zz-sticky-on #back-top { bottom: 69px !important; }
@media (min-width: 768px) { body.zz-sticky-on #back-top { bottom: 0 !important; } }

/* мобилно меню отворено: лентата „Купи“ се скрива, за да не закрива последните редове (Любими, Кошница) */
html.zz-menu-open #zz-sticky { display: none !important; }
@media (max-width: 767px) {
  /* посетените връзки в менюто не посивяват (Safari оцветяваше „Рекламация“ в сиво) */
  html body #menuToggle #menu a.maincat:visited { color: #111 !important; }
  html body #menuToggle #menu a.maincat[href*="blackfriday"]:visited { color: #d9480f !important; }
  html body #menuToggle #menu { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ===== Бисквитки – модерна плаваща карта (cookieconsent 1.0.9) ===== */
@keyframes zzCcIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html body .cc_banner-wrapper { height: 0 !important; }
html body .cc_banner-wrapper .cc_banner.cc_container {
  position: fixed !important; z-index: 2147483000 !important;
  top: auto !important; bottom: calc(15px + env(safe-area-inset-bottom, 0px)) !important;
  left: 82px !important; right: 82px !important; width: auto !important; max-width: 640px !important; margin: 0 auto !important;
  box-sizing: border-box !important; display: flex !important; align-items: center !important; gap: 18px !important;
  padding: 14px 14px 14px 22px !important; overflow: visible !important;
  background: rgba(255,255,255,.97) !important; color: #1d1d1f !important;
  border: 1px solid rgba(0,0,0,.08) !important; border-radius: 16px !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.16), 0 2px 6px rgba(0,0,0,.06) !important;
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  font-family: inherit !important; font-size: 14px !important; line-height: 1.45 !important;
  animation: zzCcIn .4s cubic-bezier(.2,.8,.2,1) both !important;
}
html body .cc_banner.cc_container .cc_message {
  order: 1; flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important; float: none !important;
  font-size: 14px !important; line-height: 1.45 !important; color: #1d1d1f !important; text-align: left !important;
  animation: none !important;
}
html body .cc_banner.cc_container .cc_message a,
html body .cc_banner.cc_container .cc_message a:visited {
  color: #1d1d1f !important; font-weight: 600; text-decoration: underline !important;
  text-decoration-color: rgba(0,0,0,.35) !important; text-underline-offset: 3px;
}
html body .cc_banner.cc_container .cc_message a:hover { text-decoration-color: #1d1d1f !important; }
html body .cc_banner.cc_container .cc_btn,
html body .cc_banner.cc_container .cc_btn:visited {
  order: 2; flex: none !important; float: none !important; display: inline-flex !important; align-items: center; justify-content: center;
  box-sizing: border-box; width: auto !important; max-width: none !important; min-width: 120px; height: 44px; margin: 0 !important; padding: 0 24px !important;
  background: #111 !important; color: #fff !important; border: 0 !important; border-radius: 12px !important;
  font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1 !important;
  text-decoration: none !important; white-space: nowrap; box-shadow: none !important; animation: none !important;
  transition: background .2s ease !important;
}
html body .cc_banner.cc_container .cc_btn:hover,
html body .cc_banner.cc_container .cc_btn:active { background: #3a3a3c !important; color: #fff !important; }
html body .cc_banner.cc_container .cc_btn:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
html body .cc_banner.cc_container .cc_logo { display: none !important; }

@media (max-width: 767px) {
  html body .cc_banner-wrapper .cc_banner.cc_container {
    left: 12px !important; right: 12px !important; max-width: none !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 12px !important; padding: 12px 12px 12px 16px !important; border-radius: 14px !important;
  }
  html body.zz-has-sticky .cc_banner-wrapper .cc_banner.cc_container {
    bottom: calc(var(--zz-sticky-h, 90px) + 10px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html body .cc_banner.cc_container .cc_message { font-size: 13.5px !important; }
  html body .cc_banner.cc_container .cc_btn { min-width: 104px; height: 42px; padding: 0 18px !important; }
  /* докато картата е отворена (до 10 сек.) кръгчетата се отдръпват */
  body:has(.cc_container--open) .viber,
  body:has(.cc_container--open) #back-top,
  body:has(.cc_container--open) .viber-nudge { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
}
@media print { html body .cc_banner-wrapper { display: none !important; } }

/* ===== Viber „Пишете ни“ – плътен цвят, плавно влизане, по-голяма зона за ✕ ===== */
html body .viber-nudge { transition: opacity .28s ease, transform .28s cubic-bezier(.2,1.2,.3,1), margin-top .2s ease !important; }
html body .viber-nudge.show { opacity: 1 !important; }
html body .viber-nudge .viber-close { position: relative; }
html body .viber-nudge .viber-close::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { html body .viber-nudge.show { animation: none !important; } }

/* ===== Продукт: еднакво разстояние под описанието/добавките до „Свързани“ / „Най-продавани“ (като между списъците) ===== */
html body .content-full > .single-product { margin-bottom: 0 !important; }
html body .content-full > .single-product .single-product-desc > div:last-of-type { margin-bottom: 0 !important; }
@media only screen and (min-width: 900px) { html body .content-full > .single-product > .clear { display: none !important; } }

/* ===== Таблет вертикално (една колона): видеото под покупката; „Важно“ колкото блока с бутоните ===== */
html body .single-product-desc > .single-video.zz-video-col { width: 100% !important; margin: 8px auto 24px !important; float: none !important; }
@media (min-width: 768px) and (max-width: 899px) and (min-height: 501px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) { html body .single-product-price-buy .aboutmore { max-width: 360px; margin-left: auto !important; margin-right: auto !important; } }

/* ===== 900–1099px: десктоп в две колони (като големите магазини); една колона остава само до 899px ===== */
@media (min-width: 900px) and (max-width: 1099px) { html body .content-full > .single-product .single-product-desc h1.single-product-title { padding-top: 0 !important; margin-top: 0 !important; } }

/* ===== 560–767px хоризонтално (десктоп прозорец, не телефон): същата една колона като 768–899; таймерът колкото бутоните ===== */
@media (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) { html body .single-product-price-buy .minelab-discount-countdown-single { width: fit-content !important; max-width: 360px !important; margin-left: auto !important; margin-right: auto !important; } }

/* ===== „← Върни се назад“ под бутона за поръчка ===== */
html body #zz-back { display: block; width: fit-content; margin: 14px auto 0; padding: 6px 4px; font-size: 14px; color: #555 !important; text-decoration: underline; text-decoration-color: rgba(0,0,0,.3); text-underline-offset: 3px; }
html body #zz-back:hover { color: #111 !important; text-decoration-color: #111; }
html body #zz-back.zz-back-side { margin: 14px 0 0; padding: 4px 0; }

/* ===== Новини: лентата със заглавието от ръб до ръб, като в категория ===== */
html body .content > h1.blog-title { width: calc(100% + 30px) !important; margin: 17px 0 12px -15px !important; padding: 6px 15px !important; box-sizing: border-box !important; }
/* ===== Спрян сайт (почивка/болница): съобщението вместо цена – на ширината на текста, не в 360px ===== */
html body .single-product-price-buy .single-product-price:has(> .stopped-notice) { width: fit-content !important; max-width: 100% !important; }

/* ===== Телефон: по-компактно „сортиране“ (18px над и под) и равни отстояния в картите (18px) и в продукта ===== */
@media (max-width: 767px) {
  html body .content > .sort { padding-top: 0 !important; margin-top: -4px !important; margin-bottom: 6px !important; }
  html body .sort button.show_hide_about { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 40px !important; }
  /* равни отстояния независимо дали текстът е на 1 или 2 реда (широк/тесен телефон): отстъпът е в самите бутони */
  html body .products .minelab-cat-secondary-actions { margin-top: 0 !important; padding-top: 3px !important; gap: 0 !important; row-gap: 0 !important; }
  html body .products .minelab-cat-secondary-actions .minelab-cat-favorite-btn,
  html body .products .minelab-cat-secondary-actions .minelab-cat-cart-btn { margin: 0 !important; min-height: 0 !important; padding-top: 10px !important; padding-bottom: 10px !important; }
  html body .products .minelab-cat-view-btn { margin-top: 10px !important; margin-bottom: 5px !important; }
  html body .single-product-price-buy .minelab-product-secondary-actions { margin-top: 6px !important; }
}

/* ===== Две колони (≥900): цена, доставка, „Любими“ и „Кошница“ – подравнени вляво като заглавието и бутоните ===== */
@media (min-width: 900px) {
  html body .single-product-right .single-product-price-buy .single-product-price,
  html body .single-product-right .single-product-price-buy .single-product-price .eurprices { text-align: left !important; }
  html body .single-product-price-buy .minelab-product-secondary-actions { align-items: flex-start !important; }
  html body .single-product-price-buy .minelab-product-secondary-actions .singlereq { padding-left: 0 !important; justify-content: flex-start !important; }
}

/* ===== Контакти – карти за телефон и имейл, кутия с данните на фирмата, карти една до друга ===== */
html body .zz-contacts { float: none !important; max-width: 980px; margin-left: auto !important; margin-right: auto !important; }
html body .zz-contacts > p { font-size: 15.5px; line-height: 1.65; color: #3a3a3c; }
html body .zz-contacts .zz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 24px 15px 26px; }
html body .zz-contacts .zz-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid #e4e4e7; border-radius: 14px; background: #fff; color: #111 !important; text-decoration: none !important; transition: border-color .2s ease, box-shadow .2s ease; }
html body .zz-contacts .zz-card:hover { border-color: #111; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
html body .zz-contacts .zz-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #f2f2f4; display: flex; align-items: center; justify-content: center; color: #111; }
html body .zz-contacts .zz-ico svg { width: 22px; height: 22px; }
html body .zz-contacts .zz-txt { min-width: 0; }
html body .zz-contacts .zz-txt small { display: block; font-size: 12.5px; color: #6b6b70; margin-bottom: 2px; }
html body .zz-contacts .zz-txt b { display: block; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
html body .zz-contacts > p.zz-legal { background: #f6f6f7; border-radius: 12px; margin-left: 15px; margin-right: 15px; padding: 14px 18px; font-size: 13.5px; line-height: 1.6; color: #55555a; }
html body .zz-contacts .zz-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 15px 18px; }
html body .zz-contacts .zz-maps.zz-one { grid-template-columns: 1fr; }
html body .zz-contacts .zz-maps iframe { display: block; width: 100% !important; height: 300px !important; border: 0 !important; border-radius: 14px; background: #f2f2f4; }
@media (max-width: 767px) {
  html body .zz-contacts .zz-maps { grid-template-columns: 1fr; }
  html body .zz-contacts .zz-maps iframe { height: 240px !important; }
  html body .zz-contacts .zz-card { padding: 16px; }
}

/* ===== Обща колона 860px за Кошница, Любими, Контакти, Рекламация и Отказ (заглавията от един и същ ръб) ===== */
html body .zz-contacts { max-width: 890px !important; }
body:has(#claim-form) h1.page-title, body:has(#cancel-form) h1.page-title { max-width: 860px; margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; padding-right: 0 !important; }
html body section.claim-form > :not(script), html body section.cancel-form > :not(script) { max-width: 860px; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
html body section.claim-form > p, html body section.cancel-form > p { padding-left: 0 !important; padding-right: 0 !important; }
html body #claim-form, html body #cancel-form { width: 100% !important; max-width: 860px !important; margin-left: auto !important; margin-right: auto !important; }
html body .content .claim-intro, html body .content .cancel-intro { max-width: 860px; margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; padding-right: 0 !important; box-sizing: border-box; }

/* ===== Категория: слоганът плътно под заглавието; над „сортиране“ – колкото под него ===== */
html body .category-intro > h2 { margin-bottom: 4px !important; padding-bottom: 0 !important; }
html body .category-intro > h2 + p { margin-top: 0 !important; }
html body .category-intro > p:last-child { margin-bottom: 6px !important; }

/* ===== Начална: слоганът плътно под заглавието, въздух до категориите; „Най-продавани“ – до продуктите както в продукт (18px) ===== */
html body .homeadverttxt h1.headclass { margin-bottom: 4px !important; }
html body .homeadverttxt .category-intro .home-intro { margin-top: 0 !important; margin-bottom: 18px !important; }
html body h2.home-bestsellers { padding-bottom: 0 !important; }
@media (max-width: 767px) {
  html body .homeadverttxt .category-intro .home-intro { margin-bottom: 5px !important; }
  html body h2.home-bestsellers { padding-bottom: 9px !important; }
}

/* ===== Категория: заглавието по-близо до лентата (21px / 18px – ритъмът на страницата) ===== */
html body .content > .category-intro > h2 { margin-top: 7px !important; }
@media (max-width: 767px) { html body .content > .category-intro > h2 { margin-top: 4px !important; } }


/* ===== Начална страница: еднакво (14px) разстояние до заглавието – от оранжевата лента/менюто на десктоп и от търсачката на телефон ===== */
html body .homeadverttxt h1.headclass { margin-top: 8px !important; }
@media (max-width: 767px) {
  html body .homeadverttxt h1.headclass { margin-top: 0 !important; }
}

/* ===== Етикет „-XX%“ горе вдясно, огледален на левите етикети (промоция, 0% лихва, black weeks) ===== */
/* Цифрите са с височина на главна буква и изглеждат по-високо от „black weeks“ – затова 1px повече отгоре (оптично центриране). */
.minelab-discount-wrap { position: absolute; top: 9px; right: 8px; z-index: 3; pointer-events: none; }
.minelab-discount-wrap .minelab-discount { display: inline-block; box-sizing: border-box; padding: 4px 10px 4px; line-height: 1.0; border-radius: 6px; font-size: 11px; letter-spacing: 0.5px; color: #fff; background: linear-gradient(45deg, #868d96, #aeb3ba); opacity: 0.9; white-space: nowrap; text-align: center; min-width: 48px; }
@media (max-width: 600px) { .minelab-discount-wrap .minelab-discount { padding-left: 12px; padding-right: 12px; } }
/* на карта с процент левите етикети не застъпват десния: стават колкото текста си */
.product:has(> .minelab-discount-wrap) > .minelab-product-badges { max-width: calc(100% - 76px); }
.product:has(> .minelab-discount-wrap) > .minelab-product-badges .product-orange,
.product:has(> .minelab-discount-wrap) > .minelab-product-badges .new-product-promo,
.product:has(> .minelab-discount-wrap) > .minelab-product-badges .product-black { min-width: 0; }
/* в продукта: огледално спрямо галерията и на същата височина като левия етикет */
@media (min-width: 1024px) { .single-product-left > .minelab-discount-wrap { right: calc((100% - min(100%, var(--zz-gal-max, 640px))) / 2 + 8px) !important; } }
@media (min-width: 768px) and (max-width: 899px), (min-width: 560px) and (max-width: 767px) and (orientation: landscape) and (min-height: 501px) { .single-product-left > .minelab-discount-wrap { right: calc((100% - min(100%, 520px)) / 2 + 8px) !important; } }
@media (min-width: 560px) and (max-width: 1099px) and (max-height: 500px) and (orientation: landscape) { html body .single-product-left > .minelab-discount-wrap { right: calc((100% - min(100%, 420px)) / 2 + 8px) !important; } }

/* ===== Таблетни екрани: менютата горе и долу на два реда – еднакъв въздух над, между и под редовете ===== */
@media (min-width: 768px) and (max-width: 1199px) {
  /* горе: бутон 7 + текст 20 + 7 = 34px; ul.topnav добавя 10px отгоре и отдолу => еднакъв въздух над, между и под редовете */
  html body ul.topnav { padding-top: 10px !important; padding-bottom: 10px !important; }
  html body ul.topnav > li > a { padding-top: 7px !important; padding-bottom: 7px !important; }
  html body ul.topnav li ul.subnav { top: 34px !important; }
  /* долу: бутон 34px (текст 16px + 9 + 9) и 9px отгоре и отдолу на лентата => 18px навсякъде */
  html body .navbottom { padding-top: 9px !important; padding-bottom: 9px !important; }
  html body .navbottom .wrapper > a { min-height: 34px !important; height: 34px !important; }
}

/* ===== Долно меню: 13px като горното (светъл текст на тъмно изглежда по-плътен, затова дебелината остава 500) ===== */
html body .navbottom .wrapper > a { font-size: 13px !important; }

/* ===== Шапка на десктоп: лого вляво, търсачка в средата, „Любими“ и „Кошница“ като иконки вдясно ===== */
@media (min-width: 768px) {
  html body .header > .wrapper { display: grid !important; grid-template-columns: minmax(150px, 1fr) minmax(220px, 560px) minmax(150px, 1fr); align-items: start; column-gap: 20px; }
  html body .header > .wrapper::before, html body .header > .wrapper::after { content: none !important; display: none !important; }
  html body .header > .wrapper > .header-left { grid-column: 1; grid-row: 1; justify-self: start; float: none !important; width: auto !important; margin: 0 !important; }
  html body .header > .wrapper > .header-left > br { display: none; }
  html body .header > .wrapper > .header-right { display: contents !important; }
  /* полето е 43px високо; отстъпът 28px го центрира спрямо логото (център на 50px) */
  html body .header > .wrapper > .header-right > .navverytopright-search { grid-column: 2; grid-row: 1; min-width: 0; float: none !important; width: 100% !important; margin: 28px 0 0 !important; padding: 0 !important; }
  html body .header #searchform { width: 100% !important; margin: 0 !important; }
  html body .header #searchform .minelab-search-field-wrap { width: 100% !important; margin: 0 !important; }
  /* иконките: на 27px от десния край – колкото логото от левия */
  html body .header > .wrapper > .header-right > .header-icons { grid-column: 3; grid-row: 1; justify-self: end; margin-top: 20px; height: 60px; padding-right: 27px; display: flex; align-items: center; gap: 22px; }
  html body .header .header-icons a { position: relative; display: inline-flex; color: #1E1E23 !important; text-decoration: none; }
  html body .header .header-icons .fa { font-size: 24px; line-height: 1; }
  /* „Любими“ и „Кошница“ вече са горе вдясно – в менюто не се повтарят */
  html body:has(.header-icons) ul.topnav > li.nav-favorites-desktop, html body:has(.header-icons) ul.topnav > li:has(> a.minelab-cart-header-link) { display: none !important; }
}
/* средни екрани (13" лаптоп, свит прозорец): менюто на един ред, разпределено равномерно (ако някъде не стигне – вторият ред остава центриран) */
@media (min-width: 980px) and (max-width: 1399px) {
  html body ul.topnav { display: flex !important; flex-wrap: wrap; justify-content: space-evenly; padding-left: 8px !important; padding-right: 8px !important; box-sizing: border-box; }
  html body ul.topnav > li { padding: 0 !important; margin: 0 !important; float: none !important; }
  html body ul.topnav > li > a { padding-left: 3px !important; padding-right: 3px !important; white-space: nowrap; }
}
/* ===== Начална: „Най-продавани…“ – височината следва текста (в Safari дълъг текст минава на 2 реда и застъпваше продуктите) + малко въздух ===== */
html body .content h2.home-bestsellers { height: auto !important; min-height: 33px; margin-top: 14px !important; margin-bottom: 14px !important; line-height: 1.5 !important; }

/* ===== Търсачка: еднаква на телефон и десктоп – 44px, 16px/400, заобление 10px, светлосив фон, фина вътрешна рамка, текстът точно в средата ===== */
html body #searchform input[name="s"], html body #searchform input[name="s"].ui-autocomplete-input, html body input.minelab-mobile-search-input { height: 44px !important; min-height: 44px !important; box-sizing: border-box !important; padding-top: 0 !important; padding-bottom: 0 !important; padding-left: 42px !important; padding-right: 42px !important; line-height: 44px !important; font-size: 16px !important; font-weight: 400 !important; border: 0 !important; border-radius: 10px !important; background-color: #f5f5f5 !important; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12) !important; color: #111 !important; }
html body #searchform input[name="s"]:focus, html body input.minelab-mobile-search-input:focus { box-shadow: inset 0 0 0 1px rgba(0,0,0,.28) !important; outline: none !important; }

/* ===== Заглавието под менюто: 24px въздух от лентата на десктоп (беше 14px – изглеждаше залепено) ===== */
@media (min-width: 768px) { html body .homeadverttxt h1.headclass { margin-top: 18px !important; } }

/* 2026-11-09: алерти за промо код — една система с полетата: мин. 48px, радиус 10, 15px текст.
   Поръчка (buy.php и др. форми): алертът е подравнен с реда „Промо код“ (вътрешен отстъп 15px на блока). */
html body div[style*="#fff5f5"]:has(+ .minelab-order-promo-code-block) {
  box-sizing: border-box !important; min-height: 48px; margin: 10px 15px 4px !important;
  padding: 13px 14px !important; border-radius: 10px !important; font-size: 15px; line-height: 22px; font-weight: 600 !important;
}
html body .js-promo-feedback {
  box-sizing: border-box; min-height: 48px; padding: 13px 14px !important; border-radius: 10px !important;
  font-size: 15px; line-height: 22px;
}
html body .minelab-cart-promo-error, html body .minelab-cart-promo-success {
  box-sizing: border-box; min-height: 48px; padding: 13px 14px !important; border-radius: 10px !important;
  font-size: 15px; line-height: 22px; font-weight: 600;
}

/* 2026-11-10: кошница — добавката е отделен ред под своя продукт (снимка, етикет, собствена цена). */
.minelab-cart-item.minelab-cart-item-has-addons { border-bottom: 0 !important; padding-bottom: 6px !important; }
.minelab-cart-addon-row { display: flex; align-items: center; gap: 12px; padding: 6px 0 6px 96px; }
.minelab-cart-addon-row.is-last { padding-bottom: 16px; border-bottom: 1px solid #eee; }
.minelab-cart-addon-thumb { flex: none; width: 44px; height: 44px; }
.minelab-cart-addon-thumb img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; display: block; }
.minelab-cart-addon-thumb img[hidden] { display: none; }
.minelab-cart-addon-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.minelab-cart-addon-tag { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: #eef7f0; color: #10633d; font-size: 12px; font-weight: 600; }
.minelab-cart-addon-title { font-size: 14px; line-height: 1.35; color: #333; }
.minelab-cart-addon-price { flex: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) {
  .minelab-cart-addon-row { padding-left: 78px; }
  .minelab-cart-addon-thumb, .minelab-cart-addon-thumb img { width: 36px; height: 36px; }
}

/* 2026-11-10: „Какво поръчвате“ от кошницата — статусът на доставката под продуктите. */
#zz-sum .dl.zz-cart-dl { margin: 0; padding: 10px 2px 2px; border-top: 1px solid #eee; font-size: 13px; color: #666; }
#zz-sum .dl.zz-cart-dl:empty { display: none; }

/* 2026-11-10: кошница — за кой продукт важи промо кодът. */
#zz-sum .zz-promo-note, .minelab-cart-promo-note { margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: #8a8a8a; }
#zz-sum .zz-promo-note.is-on, .minelab-cart-promo-note.is-on { color: #10633d; font-weight: 600; }
