/* Мебели Банко – подобрения на продуктовата страница (ноември 2026) */

/* Цена */
#content.banko-product-page .price .price-new { font-size: 28px; font-weight: 700; color: #1f1f1f; }
#content.banko-product-page .banko-delivery-line {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 0 4px; font-size: 14px; font-weight: 500; color: #2e6b3a;
}
#content.banko-product-page .banko-delivery-line::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z' fill='none' stroke='%232e6b3a' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='18' r='1.8' fill='%232e6b3a'/%3E%3Ccircle cx='17' cy='18' r='1.8' fill='%232e6b3a'/%3E%3C/svg%3E");
}

/* Кръгчета за цвят */
#content.banko-product-page .banko-select-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important; overflow: hidden !important;
}
#content.banko-product-page .banko-swatch-current { font-weight: 400; color: #444; margin-left: 6px; }
#content.banko-product-page .banko-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
#content.banko-product-page .banko-swatch {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px 0 6px; border-radius: 22px;
  background: #fff; border: 2px solid #d6d6d6; color: #1f1f1f;
  font: inherit; font-size: 14px; cursor: pointer; line-height: 1.2;
}
#content.banko-product-page .banko-swatch:hover { border-color: #9a9a9a; }
#content.banko-product-page .banko-swatch.is-selected { border-color: #1f1f1f; }
#content.banko-product-page .banko-swatch:focus-visible { outline: 3px solid #8e1b22; outline-offset: 2px; }
#content.banko-product-page .banko-swatch-dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
#content.banko-product-page .banko-swatch:not(:has(.banko-swatch-dot)) { padding-left: 14px; }
#content.banko-product-page .option.banko-attention { animation: banko-pulse 0.8s ease 2; }
@keyframes banko-pulse { 50% { background: #fff1f1; } }

/* Главен бутон и вторични бутони */
#content.banko-product-page #button-cart {
  width: 100%; min-height: 52px; border-radius: 8px;
  font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: 0;
}
#content.banko-product-page #jet-cart,
#content.banko-product-page #contact {
  min-height: 42px; border-radius: 8px; background: #fff !important;
  font-size: 14px; font-weight: 500; text-transform: none;
}
#content.banko-product-page #jet-cart { color: #2e7d5b !important; border: 1px solid #2e7d5b !important; }
#content.banko-product-page #contact { color: #444 !important; border: 1px solid #9a9a9a !important; margin-top: 8px !important; }

/* Телефон: закачена долна лента */
.banko-sticky-cart { display: none; }
@media (max-width: 767px) {
  body.banko-has-sticky { padding-bottom: 84px; }
  .banko-sticky-cart {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    height: 76px; padding: 0 14px 0 16px; box-sizing: border-box;
    background: #fff; border-top: 1px solid #e2e2e2;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
  }
  .banko-sticky-cart.is-hidden { transform: translateY(110%); }
  .banko-sticky-price { display: flex; flex-direction: column; font-family: inherit; }
  .banko-sticky-price small { font-size: 12px; color: #6b6b6b; }
  .banko-sticky-price strong { font-size: 19px; color: #1f1f1f; white-space: nowrap; }
  .banko-sticky-btn {
    flex: 1; height: 50px; border: 0; border-radius: 8px;
    background: #8e1b22; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  }
}

/* Компютър: всичко над първия екран (снимка, цена, цвят, бутони) */
#content.banko-product-page .banko-delivery-line { display: none !important; }
body #content.banko-product-page .banko-order-layout {
  display: flex !important; flex-direction: column !important; gap: 14px !important; grid-template-columns: none !important; margin-top: 0 !important;
}
body #content.banko-product-page .banko-purchase-buttons,
body #content.banko-product-page .banko-delivery-card { width: 100% !important; max-width: none !important; box-sizing: border-box; }
@media (min-width: 768px) {
  html body #content.banko-product-page .banko-gallery { flex: 0 0 56% !important; max-width: none !important; }
  html body #content.banko-product-page .banko-gallery .banko-main-image { max-width: min(600px, calc(100vh - 245px)) !important; max-height: min(600px, calc(100vh - 245px)) !important; }
  html body #content.banko-product-page .banko-thumbnails { max-height: min(600px, calc(100vh - 245px)) !important; overflow-y: auto; }
  html body #content.banko-product-page .product-info h1 { font-size: 22px !important; margin: 0 0 6px !important; line-height: 1.25 !important; }
  html body #content.banko-product-page .banko-product-intro { font-size: 13px !important; line-height: 1.45 !important; margin: 0 0 8px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html body #content.banko-product-page .product-info .price { margin: 0 0 8px !important; padding: 0 !important; }
  html body #content.banko-product-page .options { margin: 0 !important; padding: 8px 0 0 !important; border-top: 1px solid #ececec; }
  html body #content.banko-product-page .options > h2,
  html body #content.banko-product-page .options > br,
  html body #content.banko-product-page .options .option > br,
  html body #content.banko-product-page .cart_button br { display: none !important; }
  html body #content.banko-product-page .options .option { margin: 0 0 8px !important; padding: 0 !important; }
  html body #content.banko-product-page .options .option b { display: block; margin-bottom: 4px; font-size: 13px; }
  html body #content.banko-product-page .options .option .required { float: left; margin-right: 2px; }
  html body #content.banko-product-page .banko-swatch-current { display: inline !important; }
  html body #content.banko-product-page .banko-swatches { gap: 6px !important; margin: 0 !important; }
  html body #content.banko-product-page .banko-swatch { min-height: 36px !important; font-size: 12.5px !important; padding: 0 9px 0 4px !important; gap: 6px !important; }
  html body #content.banko-product-page .banko-swatch-dot { width: 24px !important; height: 24px !important; }
  html body #content.banko-product-page .cart_button > div { display: flex !important; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
  html body #content.banko-product-page .cart_button .disnone { margin: 0 !important; font-size: 0 !important; flex: 0 0 auto; }
  html body #content.banko-product-page .cart_button .disnone > * { font-size: 15px; }
  html body #content.banko-product-page .banko-quantity-control { height: 52px; display: inline-flex !important; align-items: center; }
  html body #content.banko-product-page .banko-order-layout { flex: 1 1 260px; }
  html body #content.banko-product-page .banko-purchase-buttons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
  html body #content.banko-product-page .banko-purchase-buttons #button-cart { grid-column: 1 / -1; margin: 0 !important; }
  html body #content.banko-product-page .banko-purchase-buttons #jet-cart,
  html body #content.banko-product-page .banko-purchase-buttons #contact {
    margin: 0 !important; width: 100% !important; font-size: 12.5px !important; padding: 0 6px !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
}