@charset "UTF-8";
/* TEDBG - idealclima.bg UX корекции (09.2026, v13 от 14.10.2026). Зарежда се от OCMOD tedbg_idealclima_ux. https://tedbg.com */
:root {
  --tedbg-orange: #f7941d;
  --tedbg-orange-dark: #e07b0a;
  --tedbg-blue: #1a9ad6;
  --tedbg-red: #e30613;
}

/* ---------- 1. Промоции - акцентен оранжев бутон в менюто ---------- */
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a,
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a:hover,
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo.active > a {
  background: var(--tedbg-orange) !important;
  border-radius: 6px;
  margin: 0 2px;
}
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a:hover { background: var(--tedbg-orange-dark) !important; }
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a .links-text,
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a .tedbg-mi { color: #fff !important; font-weight: 700; }
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a .menu-label { display: none !important; }
.desktop-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a .tedbg-mi { margin-right: 6px; font-size: 14px; }

/* ---------- 3. Мобилно меню ---------- */
.mobile-main-menu-wrapper .main-menu > .j-menu > li.menu-item > a {
  min-height: 48px;
  font-size: 17px;
  border-bottom: 1px solid #ececec;
}
.mobile-main-menu-wrapper .main-menu > .j-menu > li.menu-item > a .tedbg-mi {
  width: 26px; margin-right: 8px; text-align: center; color: var(--tedbg-blue); font-size: 17px; flex: 0 0 26px;
}
/* една иконка на ред: иконката на Journal (::before, 26px, черна) се скрива там, където е сложена нашата */
.mobile-main-menu-wrapper .main-menu > .j-menu > li.menu-item > a.tedbg-has-icon::before { display: none !important; }
/* телефоните като елементи на менюто (модул с телефони на телефон): удебелени, оранжева слушалка */
.mobile-main-menu-wrapper .main-menu > .j-menu > li.tedbg-phone-item > a { font-weight: 700; font-size: 18px; letter-spacing: .3px; }
.mobile-main-menu-wrapper .main-menu > .j-menu > li.tedbg-phone-item > a .tedbg-mi { color: var(--tedbg-orange); }
.mobile-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a { background: var(--tedbg-orange) !important; color: #fff !important; }
.mobile-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a .links-text,
.mobile-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a .tedbg-mi { color: #fff !important; font-weight: 700; }
.mobile-main-menu-wrapper .main-menu > .j-menu > li.tedbg-promo > a .menu-label { display: none !important; }
.tedbg-mobile-extra { padding: 10px 10px 100px; border-top: 6px solid #f1f1f1; margin-top: 8px; }
.tedbg-mobile-extra .tedbg-mx-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #8a8a8a; margin: 10px 2px 5px; font-weight: 700; }
.tedbg-mobile-extra a.tedbg-mx-row {
  display: flex; align-items: center; min-height: 46px; padding: 0 10px; margin-bottom: 6px;
  border-radius: 6px; background: #f5f7fa; color: #222 !important; font-size: 16px; text-decoration: none !important;
}
.tedbg-mobile-extra a.tedbg-mx-row i { width: 28px; text-align: center; margin-right: 8px; font-size: 18px; color: var(--tedbg-blue); flex: 0 0 28px; }
.tedbg-mobile-extra a.tedbg-mx-phone { font-weight: 700; font-size: 19px; background: #e8f4fb; letter-spacing: .3px; }
.tedbg-mobile-extra a.tedbg-mx-phone i { color: var(--tedbg-orange); }
.tedbg-mobile-extra a.tedbg-mx-login { background: var(--tedbg-blue); color: #fff !important; }
.tedbg-mobile-extra a.tedbg-mx-login i { color: #fff; }
.tedbg-mobile-extra .tedbg-mx-hours { font-size: 13px; color: #666; margin: 4px 2px 0; }

/* ---------- 4. Мобилна количка - страничен панел с цветове ---------- */
.mobile-container.mobile-cart-content-container {
  width: 88% !important;
  max-width: 420px;
  background: #fff;
  box-shadow: -6px 0 24px rgba(0, 0, 0, .28);
}
.mobile-cart-content-container .mobile-wrapper-header { background: var(--tedbg-blue); color: #fff; height: 50px; }
.mobile-cart-content-container .mobile-wrapper-header > span { font-weight: 700; font-size: 18px; color: #fff; }
.mobile-cart-content-container .mobile-wrapper-header > a,
.mobile-cart-content-container .mobile-wrapper-header > a::before { color: #fff; }
.mobile-cart-content-container .mobile-cart-content-wrapper { padding-bottom: 0; }
.mobile-cart-content-container .mobile-cart-content-wrapper > div#cart-content { display: none !important; }
.mobile-cart-content-container .cart-products { padding-bottom: 10px !important; }
.mobile-cart-content-container .cart-products tbody > tr > td { padding: 10px 6px; }
.mobile-cart-content-container .cart-products .td-name a { font-weight: 600; color: #222; }
.mobile-cart-content-container .cart-products .td-total { color: var(--tedbg-orange-dark); font-weight: 700; white-space: nowrap; }
.mobile-cart-content-container .cart-products .td-remove button { color: var(--tedbg-red); }
.mobile-cart-content-container .cart-totals { background: #f7f9fb; }
.mobile-cart-content-container .cart-totals .td-total-title { font-weight: 600; }
.mobile-cart-content-container .cart-totals tr:last-child td { font-size: 17px; font-weight: 700; color: var(--tedbg-orange-dark); }
.mobile-cart-content-container .cart-buttons { flex-direction: column; padding: 12px !important; border-top: 1px solid #e5e5e5 !important; }
.mobile-cart-content-container .cart-buttons a {
  width: 100%; margin: 0 0 8px !important; height: 46px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; border-radius: 6px; text-decoration: none !important;
}
.mobile-cart-content-container .cart-buttons a.btn-cart { background: #eef2f5 !important; color: #333 !important; border: 1px solid #dde3e8; }
.mobile-cart-content-container .cart-buttons a.btn-checkout { background: var(--tedbg-orange) !important; color: #fff !important; border: 0; }
.mobile-cart-content-container .cart-buttons a.btn-checkout:hover { background: var(--tedbg-orange-dark) !important; }
.mobile-cart-content-container .cart-empty { padding: 30px 15px; font-size: 16px; }

/* ---------- 5. Продукт на мобилно - количество вляво от "Добави в количка" ---------- */
@media (max-width: 767px) {
  .product-info .product-details .button-group-page { margin-top: 18px; }
  .product-info .product-details .button-group-page .stepper-group.cart-group { display: flex; flex-wrap: wrap; align-items: stretch; }
  .product-info .product-details .button-group-page .stepper.product-detail-qty-btn {
    flex: 0 0 118px; width: 118px; margin: 0 8px 0 0 !important; max-height: none;
  }
  .product-info .product-details .button-group-page .stepper.product-detail-qty-btn label { display: none; }
  .product-info .product-details .button-group-page .stepper.product-detail-qty-btn input { height: 48px; font-size: 18px; text-align: center; }
  .product-info .product-details .button-group-page #button-cart {
    flex: 1 1 0; width: auto; margin: 0 !important; min-height: 48px;
  }
  .product-info .product-details .button-group-page .boc_order_btn,
  .product-info .product-details .button-group-page .creditButtonToggle,
  .product-info .product-details .button-group-page .uniMain,
  .product-info .product-details .button-group-page .dskMain,
  .product-info .product-details .button-group-page .tbiMain,
  .product-info .product-details .button-group-page .extra-group { flex: 0 0 100%; width: 100%; }
  .product-info .product-details .button-group-page .boc_order_btn { margin-top: 10px; }
}

/* ---------- 7. Предупреждение за незбрана опция - по-видимо ---------- */
.product-options .form-group .text-danger {
  display: block;
  background: #fdecea;
  border-left: 4px solid var(--tedbg-red);
  color: #b3000c;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  padding: 8px 10px;
  margin-top: 8px;
  border-radius: 3px;
}
.product-options > .text-danger { display: none !important; }
.product-options .form-group.has-error .form-control { border-color: var(--tedbg-red) !important; box-shadow: 0 0 0 2px rgba(227, 6, 19, .18); }
.product-options .form-group.has-error .control-label { color: #b3000c; }

/* ---------- 8. Етикети - равни и правоъгълни ---------- */
.product-labels { padding: 6px; }
.product-labels .product-label { margin: 0 0 4px 0 !important; }
/* !important, защото Journal генерира .product-label.product-label-default b { min-width: 60px } с по-висока специфичност */
.product-label b, .product-label-default b {
  border-radius: 0 !important;
  min-width: 100px !important;
  height: 24px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .3px;
  box-shadow: none !important;
}
.product-labels .product-label.product-label-374 { border-radius: 0 !important; }
.product-labels .product-label.product-label-374 b { border-radius: 0 !important; }

/* ---------- 9. Предимства на началната страница - кутийки ---------- */
#bottom .grid-row-bottom-1 .module-info_blocks .module-body { display: flex; flex-wrap: wrap; }
#bottom .grid-row-bottom-1 .module-info_blocks .module-item { padding: 6px; }
#bottom .grid-row-bottom-1 .module-info_blocks .info-block {
  background: rgb(230 247 255);
  border: 1px solid #cfe6f2;
  border-radius: 6px;
  padding: 14px 14px 14px 12px;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 84px;
  transition: box-shadow .15s ease;
}
#bottom .grid-row-bottom-1 .module-info_blocks a.info-block:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-color: #a9d5ea; }
/* кръгчето с иконката е бяло, за да не се слива със светлосиния фон на кутийката */
#bottom .grid-row-bottom-1 .module-info_blocks .info-block::before { font-size: 34px !important; color: var(--tedbg-orange) !important; margin-right: 12px !important; margin-bottom: 0 !important; background: #fff !important; }
#bottom .grid-row-bottom-1 .module-info_blocks .info-block-title { font-size: 16px; font-weight: 700; color: #1d2b3a; line-height: 1.25; }
#bottom .grid-row-bottom-1 .module-info_blocks .info-block-text { font-size: 13px; color: #5a6672; line-height: 1.35; margin-top: 3px; }

/* ---------- 2 и 6. Бърза поръчка (Купи с 1 клик) - popup с опциите ---------- */
#boc_order .modal-dialog { max-width: 560px; margin: 20px auto; }
#boc_order .modal-content { border-radius: 8px; overflow: hidden; }
#boc_order .modal-header { background: var(--tedbg-blue); color: #fff; padding: 12px 16px; }
#boc_order .modal-header .modal-title { color: #fff; font-size: 20px; margin: 0; }
#boc_order .modal-header .close { color: #fff; opacity: .9; font-size: 28px; }
#boc_order .modal-body { padding: 16px; }
.tedbg-qo-product { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #eee; margin-bottom: 12px; }
.tedbg-qo-product img { width: 80px; height: 80px; object-fit: contain; flex: 0 0 80px; }
.tedbg-qo-product .tedbg-qo-name { font-weight: 700; font-size: 15px; line-height: 1.3; color: #222; }
.tedbg-qo-product .tedbg-qo-price { color: var(--tedbg-orange-dark); font-weight: 700; font-size: 18px; margin-top: 4px; }
.tedbg-qo-product .tedbg-qo-price .tedbg-qo-old { color: #999; font-weight: 400; font-size: 14px; text-decoration: line-through; margin-left: 6px; }
.tedbg-qo-option { margin-bottom: 12px; }
.tedbg-qo-option-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; color: #222; }
.tedbg-qo-option-title .tedbg-req { color: var(--tedbg-red); }
.tedbg-qo-choice { display: flex; align-items: center; padding: 9px 10px; border: 1px solid #dfe3e8; border-radius: 6px; margin-bottom: 6px; cursor: pointer; font-size: 14px; background: #fff; }
.tedbg-qo-choice input { margin: 0 10px 0 0; width: 18px; height: 18px; flex: 0 0 18px; }
.tedbg-qo-choice .tedbg-qo-choice-price { margin-left: auto; padding-left: 8px; font-weight: 700; color: var(--tedbg-orange-dark); white-space: nowrap; }
.tedbg-qo-choice.is-checked { border-color: var(--tedbg-blue); background: #f0f8fd; }
.tedbg-qo-error { display: none; background: #fdecea; border-left: 4px solid var(--tedbg-red); color: #b3000c; font-weight: 700; font-size: 13px; padding: 7px 10px; margin: 4px 0 8px; border-radius: 3px; }
.tedbg-qo-error.is-visible { display: block; }
.tedbg-qo-fields { border-top: 1px solid #eee; padding-top: 12px; margin-top: 4px; }
.tedbg-qo-field { margin-bottom: 10px; }
.tedbg-qo-field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.tedbg-qo-field input[type=text], .tedbg-qo-field input[type=tel], .tedbg-qo-field input[type=number] { width: 100%; height: 44px; border: 1px solid #cfd6dd; border-radius: 6px; padding: 0 12px; font-size: 16px; }
.tedbg-qo-field input:focus { outline: none; border-color: var(--tedbg-blue); box-shadow: 0 0 0 2px rgba(26, 154, 214, .18); }
.tedbg-qo-field.has-error input { border-color: var(--tedbg-red); }
.tedbg-qo-row { display: flex; gap: 10px; }
.tedbg-qo-row .tedbg-qo-field { flex: 1 1 0; }
.tedbg-qo-row .tedbg-qo-field.tedbg-qo-qty { flex: 0 0 96px; }
.tedbg-qo-agree { display: flex; align-items: flex-start; font-size: 13px; margin: 6px 0 12px; line-height: 1.35; cursor: pointer; }
.tedbg-qo-agree input { margin: 3px 8px 0 0; flex: 0 0 auto; }
.tedbg-qo-agree.has-error { color: #b3000c; }
.tedbg-qo-total { display: flex; justify-content: space-between; align-items: center; background: #f7f9fb; border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; font-size: 15px; }
.tedbg-qo-total b { font-size: 20px; color: var(--tedbg-orange-dark); }
.tedbg-qo-submit {
  display: block; width: 100%; height: 50px; border: 0; border-radius: 6px; background: var(--tedbg-orange); color: #fff;
  font-size: 17px; font-weight: 700; cursor: pointer; transition: background .15s ease;
}
.tedbg-qo-submit:hover { background: var(--tedbg-orange-dark); }
.tedbg-qo-submit[disabled] { opacity: .6; cursor: default; }
.tedbg-qo-note { text-align: center; font-size: 12px; color: #777; margin-top: 8px; }
.tedbg-qo-loading { text-align: center; padding: 40px 10px; color: #666; font-size: 15px; }
#boc_success .modal-dialog { max-width: 460px; }
#boc_success .modal-body { padding: 26px 20px; }
#boc_success .modal-body h4 { font-size: 18px; line-height: 1.4; color: #1d2b3a; }
@media (max-width: 767px) {
  #boc_order .modal-dialog { margin: 8px; }
  #boc_order .modal-body { padding: 12px; }
  .tedbg-qo-product img { width: 64px; height: 64px; flex-basis: 64px; }
}
/* десктоп: по-компактно, за да се събира на екран 768px - име/брой и телефон на един ред, по-тесни редове за опциите */
@media (min-width: 768px) {
  #boc_order .modal-dialog { margin: 12px auto; }
  .tedbg-qo-choice { padding: 7px 10px; margin-bottom: 5px; }
  .tedbg-qo-option { margin-bottom: 10px; }
  .tedbg-qo-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .tedbg-qo-fields > .tedbg-qo-row { grid-column: 1; }
  .tedbg-qo-fields > .tedbg-qo-field { grid-column: 2; }
  .tedbg-qo-fields > .tedbg-qo-error, .tedbg-qo-fields > .tedbg-qo-agree, .tedbg-qo-fields > .tedbg-qo-total,
  .tedbg-qo-fields > .tedbg-qo-submit, .tedbg-qo-fields > .tedbg-qo-note { grid-column: 1 / -1; }
}

/* ---------- Мултисплит конфигуратор (v6) - под основния блок на продукта ---------- */
.tedbg-ms { clear: both; margin: 20px 0 25px; padding: 20px; background: rgb(230 247 255); border: 1px solid #cfe6f2; border-radius: 8px; }
.tedbg-ms-title { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #0b2638; }
.tedbg-ms-sub { margin: 0 0 14px; font-size: 14px; color: #3a4a55; }
.tedbg-ms-units { display: flex; flex-direction: column; gap: 8px; }
.tedbg-ms-group { margin: 10px 0 2px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #1a9ad6; }
.tedbg-ms-group:first-child { margin-top: 0; }
.tedbg-ms-unit { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid #d9e8f0; border-radius: 6px; transition: border-color .15s, box-shadow .15s; }
.tedbg-ms-unit.is-selected { border-color: #1a9ad6; box-shadow: 0 0 0 1px #1a9ad6 inset; }
.tedbg-ms-unit.is-out { opacity: .6; }
.tedbg-ms-thumb { flex: 0 0 64px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #f4f8fb; border-radius: 4px; overflow: hidden; }
.tedbg-ms-thumb img { max-width: 100%; max-height: 100%; }
.tedbg-ms-thumb i { font-size: 22px; color: #1a9ad6; }
.tedbg-ms-info { flex: 1 1 auto; min-width: 0; }
.tedbg-ms-name { font-weight: 600; color: #0b2638; font-size: 14px; line-height: 1.3; }
.tedbg-ms-meta { font-size: 12px; color: #6b7a85; margin-top: 2px; }
.tedbg-ms-model { color: #9aa7b1; }
.tedbg-ms-price { flex: 0 0 auto; font-weight: 700; color: #ef7f1a; white-space: nowrap; font-size: 15px; }
.tedbg-ms-qty { flex: 0 0 auto; display: flex; align-items: center; border: 1px solid #cfd8de; border-radius: 4px; overflow: hidden; }
.tedbg-ms-qty button { width: 34px; height: 34px; border: 0; background: #f4f8fb; color: #0b2638; font-size: 18px; line-height: 1; cursor: pointer; }
.tedbg-ms-qty button:hover:not(:disabled) { background: #1a9ad6; color: #fff; }
.tedbg-ms-qty button:disabled { opacity: .35; cursor: default; }
.tedbg-ms-qty input { width: 38px; height: 34px; border: 0; text-align: center; font-weight: 700; color: #0b2638; background: #fff; }
.tedbg-ms-qty.tedbg-ms-out { border: 0; font-size: 12px; color: #9aa7b1; padding: 0 6px; }
.tedbg-ms-summary { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: flex-end; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid #cfe6f2; }
.tedbg-ms-lines { flex: 1 1 280px; }
.tedbg-ms-lines > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: #3a4a55; padding: 3px 0; }
.tedbg-ms-lines > div.tedbg-ms-total { font-size: 18px; color: #0b2638; border-top: 1px dashed #b9d7e6; margin-top: 4px; padding-top: 8px; }
.tedbg-ms-lines > div.tedbg-ms-total b { color: #ef7f1a; font-size: 20px; }
.tedbg-ms-note { display: block; font-size: 12px; color: #6b7a85; margin-top: 6px; }
.tedbg-ms-actions { flex: 0 1 320px; text-align: right; }
.tedbg-ms-add { display: inline-block; width: 100%; padding: 13px 18px; background: #f7941d; color: #fff; border: 0; border-radius: 6px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s; }
.tedbg-ms-add:hover:not(:disabled) { background: #e2830f; }
.tedbg-ms-add:disabled { background: #c9ced3; cursor: default; }
.tedbg-ms-add.is-loading { opacity: .7; }
.tedbg-ms-msg { min-height: 18px; margin-top: 8px; font-size: 13px; text-align: left; }
.tedbg-ms-msg.is-error { color: #d0021b; font-weight: 600; }
.tedbg-ms-msg.is-success { color: #1b8a3a; font-weight: 600; }
.tedbg-ms-msg.is-info { color: #1a9ad6; }
@media (max-width: 767px) {
  .tedbg-ms { padding: 14px; margin: 14px 0 18px; }
  .tedbg-ms-title { font-size: 18px; }
  .tedbg-ms-unit { flex-wrap: wrap; gap: 8px 10px; }
  .tedbg-ms-info { flex-basis: calc(100% - 82px); }
  .tedbg-ms-price { margin-left: 82px; }
  .tedbg-ms-qty { margin-left: auto; }
  .tedbg-ms-actions { flex-basis: 100%; }
}

/* 13. 06.10.2026 - popup за опции на Journal (iframe, отваря се при "Добави в количка" от списък за продукт със
   задължителна опция). Бутоните "Купи с 1 клик", "Купи на кредит" и калкулаторът на УниКредит са за
   продуктовата страница и в popup-а само пречат (1 клик би отворил модал вътре в iframe-а). */
html.popup-options .boc_order_btn,
html.popup-options .creditButtonToggle,
html.popup-options .uniMain,
html.popup-options .modalpayment_uni { display: none !important; }

/* ---------- 14. Чекаут v12 (14.10.2026) по макета "Ideal Clima Checkout Redesign": две колони (данни, доставка и монтаж, плащане
   като плочки вляво; "Вашата поръчка" с бутона вдясно), номерирани карти, на телефон сгъваема поръчка горе и лепкава лента долу.
   Journal рисува чекаута с Vue, затова DOM-ът не се мести: .left/.right/form са display: contents и секциите се подреждат с grid.
   Дясната колона: количката и потвърждението са в една grid клетка, потвърждението е отместено с височината на количката
   (--tedbg-cart-h, слага я JS-ът). Елементите извън Vue (горен ред, подзаглавие, "Вход", лента на телефона) ги прави JS-ът. ---------- */
html.tedbg-co-page #content { --tedbg-cart-h: 420px; }
html.tedbg-co-page .quick-checkout-wrapper { margin: 0; counter-reset: tco; }

/* горен ред и заглавие (извън Vue) */
.tedbg-co-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 12px; border-bottom: 1px solid #dde7ee; margin: 0 0 16px; }
.tedbg-co-back { display: inline-flex; align-items: center; gap: 8px; color: var(--tedbg-blue); font-weight: 600; font-size: 14px; text-decoration: none !important; }
.tedbg-co-back:hover { color: var(--tedbg-orange-dark); }
.tedbg-co-help { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: #1d2b3a; }
.tedbg-co-help i { color: var(--tedbg-blue); font-size: 20px; }
.tedbg-co-help b { display: block; color: var(--tedbg-blue); font-size: 16px; line-height: 1.1; }
.tedbg-co-help span { display: block; font-size: 12px; color: #6b7a85; margin-top: 2px; }
.tedbg-co-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 18px; }
.tedbg-co-head h1.page-title, .tedbg-co-head h1.page-title span { margin: 0; padding: 0; font-size: 28px; font-weight: 700; color: #0b2638; line-height: 1.2; }
.tedbg-co-head h1.page-title::after, .tedbg-co-head h1.page-title::before { display: none; }
.tedbg-co-sub { margin: 4px 0 0; font-size: 15px; color: #5a6672; }
.tedbg-co-account { font-size: 14px; color: #5a6672; padding-bottom: 4px; }
.tedbg-co-account button { background: none; border: 0; padding: 0; color: var(--tedbg-blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.tedbg-co-account button:hover { color: var(--tedbg-orange-dark); }

/* карти */
.quick-checkout-wrapper .checkout-section { background: #fff; border: 1px solid #d8e3ea; border-radius: 8px; padding: 16px 18px; margin: 0 0 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.quick-checkout-wrapper .checkout-section .title.section-title { display: flex !important; align-items: center; gap: 10px; font-size: 0; line-height: 0; border: 0; padding: 0; margin: 0 0 14px; text-transform: none; letter-spacing: 0; }
.quick-checkout-wrapper .checkout-section .title.section-title::after { position: static; transform: none; background: none; width: auto; height: auto; margin: 0; font-size: 17px; font-weight: 700; color: #0b2638; text-transform: none; letter-spacing: 0; line-height: 1.2; }
.quick-checkout-wrapper .section-register .section-title::before, .quick-checkout-wrapper .payment-address .section-title::before, .quick-checkout-wrapper .section-payment .section-title::before {
  counter-increment: tco; content: counter(tco); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--tedbg-blue); color: #fff;
  font-family: "Open Sans", Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1; text-align: center; position: static;
}
.quick-checkout-wrapper .section-login .section-title::after { content: "Вход / Регистрация"; }
.quick-checkout-wrapper .section-register .section-title::after { content: "Вашите данни"; }
.quick-checkout-wrapper .payment-address .section-title::after { content: "Доставка и монтаж"; }
.quick-checkout-wrapper .shipping-address .section-title::after { content: "Адрес за доставка"; }
.quick-checkout-wrapper .section-shipping .section-title::after { content: "Доставка"; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; color: #6b7a85; }
.quick-checkout-wrapper .section-payment .section-title::after { content: "Начин на плащане"; }
.quick-checkout-wrapper .section-cvr .section-title::after { content: "Промо код"; }
.quick-checkout-wrapper .checkout-payment-details .section-title::after { content: "Детайли за плащане"; font-size: 15px; }
.quick-checkout-wrapper .cart-section .section-title::before { content: "\f07a"; font-family: FontAwesome; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #e6f4fb; color: var(--tedbg-blue); font-size: 18px; line-height: 1; text-align: center; position: static; }
.quick-checkout-wrapper .cart-section .section-title::after { content: "Вашата поръчка"; }
.quick-checkout-wrapper .cart-section .table-responsive::before { content: attr(data-tedbg-count); display: block; font-size: 13px; color: #6b7a85; margin: -12px 0 10px 50px; }
.quick-checkout-wrapper .confirm-section .section-title { display: none; }

/* полета */
.quick-checkout-wrapper .form-group { display: block; margin: 0 0 10px; max-width: none !important; }
.quick-checkout-wrapper .form-group .control-label { display: block; width: auto; padding: 0 0 5px; font-size: 13px; font-weight: 600; color: #2b3a47; line-height: 1.3; }
.quick-checkout-wrapper .required .control-label::after { color: var(--tedbg-orange-dark); }
.quick-checkout-wrapper .form-group .form-control { width: 100% !important; max-width: none !important; height: 42px; border: 1px solid #cfd8de; border-radius: 6px; font-size: 14px; box-shadow: none; }
.quick-checkout-wrapper .form-control:focus { border-color: var(--tedbg-orange); box-shadow: 0 0 0 2px rgba(247, 148, 29, .18); }
.quick-checkout-wrapper .form-group.has-error .form-control { border-color: var(--tedbg-red); }
.quick-checkout-wrapper .text-danger { display: block; font-size: 12px; margin-top: 3px; line-height: 1.3; }
.quick-checkout-wrapper .section-register .section-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.quick-checkout-wrapper .section-register .account-customer-group { display: none !important; }
.quick-checkout-wrapper .section-register .account-firstname { order: 1; }
.quick-checkout-wrapper .section-register .account-lastname { order: 2; }
.quick-checkout-wrapper .section-register .account-telephone { order: 3; }
.quick-checkout-wrapper .section-register .account-email { order: 4; }
.quick-checkout-wrapper .section-register .account-pass { order: 5; }
.quick-checkout-wrapper .section-register .account-pass2 { order: 6; }
.quick-checkout-wrapper .section-register .section-body > .form-group:not([class*="account-"]), .quick-checkout-wrapper .section-register .section-body > .checkbox { order: 9; grid-column: 1 / -1; }
.quick-checkout-wrapper .payment-address .section-body > div:not(.checkbox) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 16px; }
.quick-checkout-wrapper .payment-address .address-country { order: 1; }
.quick-checkout-wrapper .payment-address .address-zone { order: 2; }
.quick-checkout-wrapper .payment-address .address-city { order: 3; }
.quick-checkout-wrapper .payment-address .address-postcode { order: 4; }
.quick-checkout-wrapper .payment-address .address-address-1 { order: 5; grid-column: 1 / -1; }
.quick-checkout-wrapper .payment-address .address-address-2 { display: none; }
.quick-checkout-wrapper .payment-address .address-company { order: 7; grid-column: 1 / -1; }
.quick-checkout-wrapper .payment-address .section-body > div:not(.checkbox) > .form-group:not([class*="address-"]) { order: 8; grid-column: 1 / -1; }
.quick-checkout-wrapper .payment-address .section-body > div:not(.checkbox)::after { content: "\24D8  Ще се свържем с Вас за доставка и монтаж."; order: 9; grid-column: 1 / -1; display: block; background: #e6f4fb; border: 1px solid #cfe6f2; border-radius: 6px; padding: 9px 12px; font-size: 13px; color: #1d2b3a; margin-top: 6px; }
.quick-checkout-wrapper .checkout-same-address { display: block; margin: 12px 0 0; }
.quick-checkout-wrapper .checkout-same-address label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #5a6672; }
.quick-checkout-wrapper .checkout-same-address input { position: static; margin: 0; }

/* вход - скрит, докато не се поиска ("Имате профил? Вход") или не е избрано вход/регистрация */
.quick-checkout-wrapper .section-login { display: none; }
html.tedbg-co-login .quick-checkout-wrapper .section-login, .quick-checkout-wrapper .section-login:has(input[name=account]:not([value=guest]):checked) { display: block; }
.quick-checkout-wrapper .login-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.quick-checkout-wrapper .login-options .radio { margin: 0; }
.quick-checkout-wrapper .login-options .radio label { border: 1px solid #d8e3ea; border-radius: 20px; padding: 6px 12px 6px 10px; background: #fff; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.quick-checkout-wrapper .login-options .radio label:has(input:checked) { border-color: var(--tedbg-orange); background: #fff7ec; font-weight: 600; }
.quick-checkout-wrapper .login-options .radio input { position: static; margin: 0; width: 17px; height: 17px; }
.quick-checkout-wrapper .login-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; margin-top: 10px; }
.quick-checkout-wrapper .login-form > :not(.form-group) { grid-column: 1 / -1; }
.quick-checkout-wrapper input[type=radio], .quick-checkout-wrapper input[type=checkbox] { accent-color: var(--tedbg-orange); width: 17px; height: 17px; }

/* доставка (един метод) + плащане като плочки - в една карта */
.quick-checkout-wrapper .shipping-payment { display: block; padding-bottom: 12px; }
.quick-checkout-wrapper .shipping-payment .section-shipping, .quick-checkout-wrapper .shipping-payment .section-payment { flex: none; width: auto; margin: 0; padding: 0; }
.quick-checkout-wrapper .shipping-payment .section-shipping { margin: 0 0 14px; padding: 0 0 12px; border-bottom: 1px dashed #e4ebf0; }
.quick-checkout-wrapper .section-shipping .section-title { margin-bottom: 6px; }
.quick-checkout-wrapper .section-shipping .section-body > div { padding: 0; border: 0; align-items: center; }
.quick-checkout-wrapper .section-shipping .section-body > div::before { font-size: 20px; width: 28px; color: var(--tedbg-blue); }
.quick-checkout-wrapper .section-shipping .ship-wrapper .radio { margin: 0; }
.quick-checkout-wrapper .section-shipping .ship-wrapper .radio label { font-size: 14px; color: #1d2b3a; }
.quick-checkout-wrapper .section-payment .section-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.quick-checkout-wrapper .section-payment .section-body > div {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: auto; min-height: 98px;
  padding: 12px 34px 10px 12px; border: 2px solid #d9e8f0; border-radius: 8px; background: #fff; transition: border-color .15s, background .15s;
}
.quick-checkout-wrapper .section-payment .section-body > div:hover { border-color: var(--tedbg-blue); }
.quick-checkout-wrapper .section-payment .section-body > div:has(input:checked) { border-color: var(--tedbg-orange); background: #fff8ef; box-shadow: 0 0 0 1px var(--tedbg-orange) inset; }
.quick-checkout-wrapper .section-payment .section-body > div::before { position: static; width: auto; height: 26px; font-size: 24px; line-height: 26px; color: var(--tedbg-blue); margin: 0 0 2px; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input:checked)::before { color: var(--tedbg-orange); }
.quick-checkout-wrapper .section-payment .radio { margin: 0; padding: 0; width: auto; position: static; }
.quick-checkout-wrapper .section-payment .radio label { display: block; padding: 0; position: static; font-size: 14px; font-weight: 700; color: #0b2638; line-height: 1.25; cursor: pointer; }
.quick-checkout-wrapper .section-payment .radio label::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; cursor: pointer; }
.quick-checkout-wrapper .section-payment .radio input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.quick-checkout-wrapper .section-payment .radio label::before { content: "\f00c"; font-family: FontAwesome; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfd8de; background: #fff; color: transparent; font-size: 11px; line-height: 16px; text-align: center; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input:checked) label::before { background: var(--tedbg-orange); border-color: var(--tedbg-orange); color: #fff; }
.quick-checkout-wrapper .section-payment .radio span { display: block; font-size: 14px; }
.quick-checkout-wrapper .section-payment .radio span::after { display: block; font-size: 12px; font-weight: 400; color: #6b7a85; margin-top: 3px; line-height: 1.3; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=cod]) span::after { content: "Плащате в брой или с карта при получаване"; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=bank_transfer]) span::after { content: "Ще получите банковите данни след поръчката"; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=tbibank]) span::after { content: "Плащане на вноски през tbi bank"; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=uni]) span::after { content: "Покупка на кредит с UniCredit"; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=tbibank]) span, .quick-checkout-wrapper .section-payment .section-body > div:has(input[value=uni]) span { font-size: 0; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=tbibank]) span::before { content: "tbi bank"; display: block; font-size: 14px; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=uni]) span::before { content: "UniCredit"; display: block; font-size: 14px; }
.quick-checkout-wrapper .section-payment .section-body > div:has(input[value=tbibank]) span img { display: none; }
@supports not (selector(:has(a))) {
  .quick-checkout-wrapper .section-payment .radio input { position: static; opacity: 1; width: 17px; height: 17px; margin: 0 6px 0 0; }
  .quick-checkout-wrapper .section-payment .radio label::before, .quick-checkout-wrapper .section-payment .radio label::after { display: none; }
  .quick-checkout-wrapper .section-payment .radio label { display: flex; align-items: center; }
}
.quick-checkout-wrapper .checkout-payment-details { padding: 14px 18px; }
.quick-checkout-wrapper .checkout-payment-details .section-title { margin-bottom: 8px; }
.quick-checkout-wrapper .quick-checkout-payment h2 { font-size: 16px; margin: 0 0 8px; }
.quick-checkout-wrapper .quick-checkout-payment .well { background: none; border: 0; box-shadow: none; padding: 0; margin: 6px 0 0; }
.quick-checkout-wrapper .quick-checkout-payment .well .btn-link { padding: 0; height: auto; background: transparent !important; border: 0; box-shadow: none; color: var(--tedbg-blue) !important; text-decoration: underline; font-weight: 600; }
.quick-checkout-wrapper .quick-checkout-payment .buttons { margin: 8px 0; }
.quick-checkout-wrapper .section-cvr .input-group .btn { border-radius: 0 6px 6px 0; background: var(--tedbg-blue); border-color: var(--tedbg-blue); }

/* дясна колона - поръчката */
.quick-checkout-wrapper .cart-section { padding: 16px 18px 10px; }
.quick-checkout-wrapper .cart-section .table-responsive { border: 0; margin: 0; overflow: visible; }
.quick-checkout-wrapper .cart-section .table-responsive .table, .quick-checkout-wrapper .cart-section .table-responsive tbody { display: block; width: 100%; margin: 0; border: 0; }
.quick-checkout-wrapper .cart-section .table-responsive thead { display: none; }
.quick-checkout-wrapper .cart-section .table-responsive tbody tr { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img name total" "img model total" "img qty qty"; column-gap: 12px; row-gap: 2px; padding: 10px 0; border: 0; border-bottom: 1px solid #e9eef2; background: none; }
.quick-checkout-wrapper .cart-section .table-responsive td { display: block !important; width: auto; padding: 0; border: 0; background: none; text-align: left; vertical-align: top; }
.quick-checkout-wrapper .cart-section .table-responsive td.td-price { display: none !important; }
.quick-checkout-wrapper .cart-section .td-image { grid-area: img; }
.quick-checkout-wrapper .cart-section .td-image img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #e4ebf0; border-radius: 6px; padding: 2px; background: #fff; }
.quick-checkout-wrapper .cart-section .td-product { grid-area: name; font-size: 14px; font-weight: 600; line-height: 1.3; }
.quick-checkout-wrapper .cart-section .td-product a { color: #0b2638; }
.quick-checkout-wrapper .cart-section .td-product small { display: block; font-weight: 400; color: #6b7a85; font-size: 12px; margin-top: 2px; }
.quick-checkout-wrapper .cart-section .td-model { grid-area: model; font-size: 12px; color: #6b7a85; }
.quick-checkout-wrapper .cart-section .td-qty { grid-area: qty; margin-top: 6px; }
.quick-checkout-wrapper .cart-section .td-qty .input-group { max-width: none !important; width: auto !important; display: inline-flex; align-items: center; gap: 4px; }
.quick-checkout-wrapper .cart-section .td-qty .stepper input { height: 30px; min-height: 30px; border-radius: 6px; }
.quick-checkout-wrapper .cart-section .td-qty .btn { width: 30px; min-height: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }
.quick-checkout-wrapper .cart-section .td-qty .btn-primary { background: var(--tedbg-blue); border-color: var(--tedbg-blue); }
.quick-checkout-wrapper .cart-section .td-price { display: none; }
.quick-checkout-wrapper .cart-section .td-total { grid-area: total; font-size: 15px; font-weight: 700; color: #0b2638; text-align: right; white-space: nowrap; }
.quick-checkout-wrapper .cart-section .section-body > .table { display: block; margin: 6px 0 0; border: 0; }
.quick-checkout-wrapper .cart-section tfoot { display: block; }
.quick-checkout-wrapper .cart-section tfoot tr { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border: 0; border-bottom: 1px dashed #e4ebf0; background: none; }
.quick-checkout-wrapper .cart-section tfoot td { display: block; padding: 0; border: 0; background: none; font-size: 14px; color: #3b4a57; text-align: left; }
.quick-checkout-wrapper .cart-section tfoot td strong { font-weight: 600; }
.quick-checkout-wrapper .cart-section tfoot tr:last-child { border: 0; margin-top: 6px; padding: 10px 12px; background: #fff7ec; border-radius: 6px; }
.quick-checkout-wrapper .cart-section tfoot tr:last-child td { font-size: 16px; font-weight: 700; color: var(--tedbg-orange-dark); }
.quick-checkout-wrapper .cart-section tfoot tr:last-child td:last-child { font-size: 20px; }
.quick-checkout-wrapper .confirm-section { padding: 10px 18px 18px; }
.quick-checkout-wrapper .confirm-section .section-comments textarea.form-control { height: 44px; min-height: 44px; resize: vertical; transition: height .15s; }
.quick-checkout-wrapper .confirm-section .section-comments textarea.form-control:focus { height: 90px; }
.quick-checkout-wrapper .confirm-section .checkbox { margin: 8px 0 0; }
.quick-checkout-wrapper .confirm-section .checkbox label { padding: 0 0 0 26px; font-size: 13px; line-height: 1.4; position: relative; display: block; }
.quick-checkout-wrapper .confirm-section .checkbox input { position: absolute; left: 0; top: 1px; margin: 0; }
.quick-checkout-wrapper .confirm-section .checkbox a { color: var(--tedbg-blue); }
.quick-checkout-wrapper .confirm-section .confirm-buttons { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e4ebf0; }
.quick-checkout-wrapper .confirm-buttons .pull-right { float: none !important; width: 100%; }
.quick-checkout-wrapper #quick-checkout-button-confirm {
  display: block; width: 100%; height: 52px; border-radius: 6px; font-size: 17px; font-weight: 700;
  background: var(--tedbg-orange) !important; border-color: var(--tedbg-orange) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(247, 148, 29, .3);
}
.quick-checkout-wrapper #quick-checkout-button-confirm:hover { background: var(--tedbg-orange-dark) !important; border-color: var(--tedbg-orange-dark) !important; }
.quick-checkout-wrapper .confirm-section .confirm-buttons::after { content: "Потвърждение по телефона. Ще се свържем с Вас за уточняване на доставката и монтажа."; display: block; text-align: center; font-size: 12px; color: #5a6672; margin-top: 12px; line-height: 1.4; }
.quick-checkout-wrapper .alert { border-radius: 6px; }

/* десктоп: две колони */
@media (min-width: 1025px) {
  .quick-checkout-wrapper > div { display: grid !important; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 24px; align-items: start; }
  .quick-checkout-wrapper > div > .left, .quick-checkout-wrapper > div > .left > form, .quick-checkout-wrapper > div > .right { display: contents !important; width: auto !important; padding: 0 !important; }
  .quick-checkout-wrapper .checkout-section { grid-column: 1; width: auto; order: 0 !important; }
  .quick-checkout-wrapper .cart-section, .quick-checkout-wrapper .confirm-section { grid-column: 2; grid-row: 1 / span 12; align-self: start; width: 100%; }
  .quick-checkout-wrapper .cart-section { margin-bottom: 0; border-radius: 8px 8px 0 0; border-bottom: 0; }
  .quick-checkout-wrapper .confirm-section { margin-top: var(--tedbg-cart-h); border-radius: 0 0 8px 8px; border-top: 0; }
  .tedbg-co-sum, .tedbg-co-bar { display: none; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .quick-checkout-wrapper > div { grid-template-columns: minmax(0, 1fr) 360px; }
  .quick-checkout-wrapper .section-payment .section-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* телефон и таблет: една колона, поръчката сгъната горе, лепкава лента долу */
@media (max-width: 1024px) {
  html.tedbg-co-page body { padding-bottom: 78px; }
  .tedbg-co-top { padding: 4px 0 10px; margin-bottom: 10px; }
  .tedbg-co-head { margin-bottom: 12px; }
  .tedbg-co-head h1.page-title, .tedbg-co-head h1.page-title span { font-size: 22px; }
  .tedbg-co-sub { font-size: 14px; }
  .tedbg-co-account { width: 100%; padding: 0; }
  .quick-checkout-wrapper > div { display: flex !important; flex-direction: column; }
  .quick-checkout-wrapper > div > .left, .quick-checkout-wrapper > div > .left > form, .quick-checkout-wrapper > div > .right { display: contents !important; width: auto !important; padding: 0 !important; }
  .quick-checkout-wrapper .checkout-section { width: auto; padding: 14px 14px 12px; margin-bottom: 12px; }
  .quick-checkout-wrapper .section-login { order: 0 !important; }
  .quick-checkout-wrapper .cart-section { order: 1 !important; display: none; margin-top: -12px; border-top: 0; border-radius: 0 0 8px 8px; }
  html.tedbg-co-sum-open .quick-checkout-wrapper .cart-section { display: block; }
  .quick-checkout-wrapper .checkout-section.cart-section .title.section-title, .quick-checkout-wrapper .cart-section .table-responsive::before { display: none !important; }
  .quick-checkout-wrapper .cart-section .table-responsive tbody tr:first-child { padding-top: 2px; }
  .quick-checkout-wrapper .section-register { order: 2 !important; }
  .quick-checkout-wrapper .payment-address { order: 3 !important; }
  .quick-checkout-wrapper .shipping-address { order: 4 !important; }
  .quick-checkout-wrapper .shipping-payment { order: 5 !important; }
  .quick-checkout-wrapper .checkout-payment-details { order: 6 !important; }
  .quick-checkout-wrapper .section-cvr { order: 7 !important; }
  .quick-checkout-wrapper .confirm-section { order: 8 !important; margin-top: 0; padding-top: 14px; }
  .tedbg-co-sum { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; background: #fff; border: 1px solid #d8e3ea; border-radius: 8px; margin: 0 0 12px; cursor: pointer; font: inherit; text-align: left; color: #0b2638; }
  html.tedbg-co-sum-open .tedbg-co-sum { border-radius: 8px 8px 0 0; margin-bottom: 0; border-bottom-color: #e9eef2; }
  .tedbg-co-sum .fa-shopping-cart { color: var(--tedbg-blue); font-size: 18px; }
  .tedbg-co-sum b { flex: 1; font-size: 14px; }
  .tedbg-co-sum .tedbg-co-sum-total { font-weight: 700; color: var(--tedbg-orange-dark); font-size: 16px; }
  .tedbg-co-sum .fa-angle-down { font-size: 18px; color: #6b7a85; transition: transform .2s; }
  html.tedbg-co-sum-open .tedbg-co-sum .fa-angle-down { transform: rotate(180deg); }
  .quick-checkout-wrapper .section-register .section-body, .quick-checkout-wrapper .login-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
  .quick-checkout-wrapper .payment-address .section-body > div:not(.checkbox) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
  .quick-checkout-wrapper .section-payment .section-body { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .quick-checkout-wrapper .section-payment .section-body > div { flex-direction: row; align-items: center; gap: 12px; min-height: 0; padding: 10px 40px 10px 12px; }
  .quick-checkout-wrapper .section-payment .section-body > div::before { margin: 0; }
  .quick-checkout-wrapper .section-payment .radio label::before { top: 50%; margin-top: -10px; right: 10px; }
  .tedbg-co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); }
  .tedbg-co-bar-total { min-width: 92px; }
  .tedbg-co-bar-total b { display: block; font-size: 18px; color: var(--tedbg-orange-dark); line-height: 1.1; }
  .tedbg-co-bar-total span { display: block; font-size: 11px; color: #6b7a85; }
  .tedbg-co-bar button { flex: 1; height: 46px; border: 0; border-radius: 6px; background: var(--tedbg-orange); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
  .tedbg-co-bar button:active { background: var(--tedbg-orange-dark); }
  html.tedbg-co-btn-visible .tedbg-co-bar { display: none; }
}
@media (max-width: 480px) {
  .tedbg-co-help span { display: none; }
  .tedbg-co-head h1.page-title, .tedbg-co-head h1.page-title span { font-size: 20px; }
}
@media (max-width: 359px) {
  .quick-checkout-wrapper .section-register .section-body, .quick-checkout-wrapper .login-form, .quick-checkout-wrapper .payment-address .section-body > div:not(.checkbox) { grid-template-columns: minmax(0, 1fr); }
  .tedbg-co-top { flex-wrap: wrap; }
}

/* 14б. Нищо не излиза извън екрана на телефон (14.10.2026 вечер, снимки от клиента при 360 px с избран UniCredit).
   Причина: Journal държи .quick-checkout-wrapper > div с flex-wrap: wrap. При flex-direction: column това прави реда широк
   колкото най-широката карта (калкулаторът на UniCredit е 389 px при екран 360) и ВСИЧКИ карти стърчат извън екрана.
   Поправка: nowrap + твърда ширина 100% на картите; чуждото съдържание в "Детайли за плащане" се подрежда едно под друго
   (таблицата на UniCredit) или се скролира вътре в картата, вместо да разширява страницата. Бутонът "нагоре" на Journal
   (.scroll-top, z-index 10001) покриваше "Потвърди поръчката" в лепкавата лента - на чекаута на телефон не се показва. */
.quick-checkout-wrapper .checkout-section { min-width: 0; max-width: 100%; box-sizing: border-box; }
.quick-checkout-wrapper .checkout-payment-details { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.quick-checkout-wrapper .checkout-payment-details .quick-checkout-payment { max-width: 100%; min-width: 0; }
.quick-checkout-wrapper .checkout-payment-details table { max-width: 100% !important; }
.quick-checkout-wrapper .checkout-payment-details img, .quick-checkout-wrapper .checkout-payment-details iframe, .quick-checkout-wrapper .checkout-payment-details select,
.quick-checkout-wrapper .checkout-payment-details input, .quick-checkout-wrapper .checkout-payment-details textarea, .quick-checkout-wrapper .checkout-payment-details .btn { max-width: 100% !important; box-sizing: border-box; }
.quick-checkout-wrapper .checkout-payment-details .uni_title, .quick-checkout-wrapper .checkout-payment-details .well { overflow-wrap: anywhere; }
@media (max-width: 1024px) {
  .quick-checkout-wrapper > div { flex-wrap: nowrap !important; align-items: stretch !important; width: 100% !important; max-width: 100%; }
  .quick-checkout-wrapper .checkout-section { width: 100% !important; flex: 0 0 auto; }
  /* калкулаторът на UniCredit: етикетът над полето, едно под друго */
  .quick-checkout-wrapper .checkout-payment-details .uni_table, .quick-checkout-wrapper .checkout-payment-details .uni_table > tbody,
  .quick-checkout-wrapper .checkout-payment-details .uni_table > tbody > tr, .quick-checkout-wrapper .checkout-payment-details .uni_table > tbody > tr > td { display: block !important; width: 100% !important; box-sizing: border-box; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table > tbody > tr > td.uni_row_title { padding: 8px 0 3px !important; font-weight: 600; color: #0b2638; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table > tbody > tr > td.uni_row_title:has(+ .uni_row_input .uni_btn_pre) { display: none !important; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table > tbody > tr > td.uni_row_input { padding: 0 0 4px !important; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table .uni_input { height: 38px !important; max-height: none !important; padding: 0 8px !important; border: 1px solid #c9d6df !important; border-radius: 6px; background: #fff; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table .uni_input.passive { background: #f3f6f8 !important; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table .uni_btn_pre { width: 100% !important; padding: 10px 0; margin: 6px 0 2px; border-radius: 6px; font-weight: 600; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table .uni_row_title table { width: 100% !important; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table .uni_row_title table td { padding: 0 6px 0 0 !important; vertical-align: middle; width: auto !important; }
  .quick-checkout-wrapper .checkout-payment-details .uni_table .uni_row_title table td:first-child { width: 28px !important; }
  .quick-checkout-wrapper .checkout-payment-details .uni_hr { display: none !important; }
  .quick-checkout-wrapper .checkout-payment-details .uni_text_cc { padding-top: 6px; }
  html.tedbg-co-page .scroll-top { display: none !important; }
}

/* ---------- 15. Мултисплит (14.10.2026) - плочки по тип тяло, списък под избрания тип, увеличаване на снимката ---------- */
.tedbg-ms-step { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #1a9ad6; margin: 0 0 8px; }
.tedbg-ms-step-2 { margin-top: 14px; display: none; }
.tedbg-ms-step-2.is-visible { display: block; }
.tedbg-ms-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tedbg-ms-type {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
  padding: 14px 10px 12px; background: #fff; border: 2px solid #d9e8f0; border-radius: 8px; cursor: pointer;
  font: inherit; color: #0b2638; transition: border-color .15s, box-shadow .15s, background .15s;
}
.tedbg-ms-type:hover { border-color: #1a9ad6; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.tedbg-ms-type:focus-visible { outline: 2px solid #1a9ad6; outline-offset: 2px; }
.tedbg-ms-type.is-active { border-color: #f7941d; background: #fff8ef; box-shadow: 0 0 0 1px #f7941d inset; }
.tedbg-ms-type-icon { display: block; width: 46px; height: 46px; color: #1a9ad6; }
.tedbg-ms-type-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tedbg-ms-type.is-active .tedbg-ms-type-icon { color: #f7941d; }
.tedbg-ms-type-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.tedbg-ms-type-count { font-size: 12px; color: #6b7a85; }
.tedbg-ms-type-cta { font-size: 12px; font-weight: 600; color: #1a9ad6; margin-top: 3px; }
.tedbg-ms-type.is-active .tedbg-ms-type-cta, .tedbg-ms-type.has-selected .tedbg-ms-type-cta { color: #e07b0a; }
.tedbg-ms-type-badge { position: absolute; top: -9px; right: -9px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #f7941d; color: #fff; font-size: 12px; font-weight: 700; display: none; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.tedbg-ms-type.has-selected .tedbg-ms-type-badge { display: flex; }
.tedbg-ms-units[hidden] { display: none; }
.tedbg-ms-units-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 2px 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #0b2638; }
.tedbg-ms-units-head .tedbg-ms-units-tip { font-weight: 400; text-transform: none; letter-spacing: 0; color: #6b7a85; font-size: 12px; }
.tedbg-ms-picked { font-size: 12px; color: #1b8a3a; padding: 2px 0 !important; display: block !important; }
.tedbg-ms-picked[hidden] { display: none !important; }
.tedbg-ms-thumb.has-zoom { cursor: zoom-in; border: 1px solid #e3edf3; padding: 0; position: relative; background: #fff; }
.tedbg-ms-thumb.has-zoom:hover { border-color: #1a9ad6; }
.tedbg-ms-thumb.has-zoom img { pointer-events: none; }
.tedbg-ms-thumb.has-zoom i { position: absolute; right: 2px; bottom: 2px; font-size: 11px; line-height: 1; color: #fff; background: rgba(26, 154, 214, .92); border-radius: 3px; padding: 3px 4px; }
.tedbg-zoom { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; background: rgba(11, 38, 56, .78); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.tedbg-zoom-box { position: relative; background: #fff; border-radius: 10px; padding: 16px; width: 100%; max-width: 640px; max-height: 92vh; display: flex; flex-direction: column; align-items: center; cursor: default; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.tedbg-zoom-box img { max-width: 100%; max-height: calc(92vh - 110px); object-fit: contain; }
.tedbg-zoom-title { font-size: 14px; font-weight: 600; color: #0b2638; margin-top: 10px; text-align: center; }
.tedbg-zoom-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f7941d; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.tedbg-zoom-close:hover { background: #e07b0a; }
html.tedbg-zoom-open { overflow: hidden; }
@media (max-width: 767px) {
  .tedbg-ms-types { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tedbg-ms-type { padding: 12px 8px 10px; }
  .tedbg-ms-type-icon { width: 40px; height: 40px; }
  .tedbg-ms-type-name { font-size: 14px; }
  .tedbg-ms-thumb { flex-basis: 72px; width: 72px; height: 72px; }
  .tedbg-zoom { padding: 10px; }
  .tedbg-zoom-box { padding: 12px; }
  .tedbg-zoom-close { top: -10px; right: -10px; }
}
