.bpl { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.bpl-heading { font-size: 21px; margin: 0 0 4px; color: #232323; }
.bpl-item { border: 1px solid #e0e0e0; border-radius: 10px; padding: 12px; background: #fff; }
.bpl-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-height: 44px; }
.bpl-image { flex: 0 0 86px; }
.bpl-image img { width: 86px; height: 86px; object-fit: contain; }
.bpl-info { flex: 1 1 180px; min-width: 0; }
.bpl-name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.bpl .bpl-name a:not(.btn):not(.add-to-cart-btn),
.bpl .bpl-name a:not(.btn):not(.add-to-cart-btn):hover { color: #232323 !important; text-decoration: none !important; }
.bpl-ref { font-size: 12px; color: #5c6470; }
.bpl-ref strong { color: #232323; }
.bpl-price { font-size: 16px; font-weight: 700; color: #232323; }
.bpl-numbers { flex: 0 0 150px; font-size: 13px; }
.bpl-stock { font-weight: 600; color: #1d6b35; }
.bpl-stock-short { color: #9a5200; }
.bpl-stock-none { color: #b3261e; }
.bpl-actions { flex: 0 0 230px; display: flex; flex-direction: column; gap: 6px; }
.bpl-buy { display: flex; gap: 6px; }
.bpl-qty { display: flex; border: 1px solid #ccc; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.bpl-qty button { width: 30px; height: 42px; border: 0; background: #f5f5f5; cursor: pointer; font-size: 18px; }
.bpl-input { width: 46px; height: 42px; border: 0; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.bpl-input::-webkit-outer-spin-button,
.bpl-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.bpl .bpl-add { flex: 1; padding: 0 8px; font-size: 13px; text-transform: uppercase; }
.bpl-status { font-size: 12px; color: #1d6b35; }
.bpl-status:empty { display: none; }
.bpl-status-error { color: #b3261e; }
.bpl-colors-toggle { min-height: 38px; border: 1px solid #ccc; border-radius: 10px; background: #fff; color: #232323; font-size: 12px; font-weight: 600; cursor: pointer; }
.bpl-colors-toggle.bpl-highlight { border: 2px solid #9a5200; background: #fff4e5; color: #7a4100; }
.bpl-missing { font-size: 13px; font-weight: 600; color: #b3261e; }
.bpl-colors { border-top: 1px solid #e0e0e0; margin-top: 12px; }
.bpl-colors[hidden] { display: none; }

/* Компактні картки, як у блоці "інші кольори" на сторінці товару */
.bpl-colors .similar-products-wrap { margin-top: 12px; }
.bpl-colors .similar-products-title { font-size: 17px; margin-bottom: 14px; }
.bpl-colors .products.row { display: flex !important; flex-wrap: wrap !important; align-items: stretch !important; margin: 0 -6px !important; }
.bpl-colors .products.row > [class*="col-"] { float: none !important; display: flex !important; margin-bottom: 10px !important; padding: 0 6px !important; flex: 0 0 16.666% !important; max-width: 16.666% !important; }
.bpl-colors .products.row .js-product,
.bpl-colors .product-miniature,
.bpl-colors .thumbnail-container { width: 100% !important; margin: 0 !important; }
.bpl-colors .thumbnail-container { height: auto !important; min-height: 0 !important; }
.bpl-colors .thumbnail-top { text-align: center; }
.bpl-colors .thumbnail-top img { width: 100% !important; height: auto !important; max-height: 95px; object-fit: contain; }
.bpl-colors .product-description { position: static !important; width: 100% !important; padding: 4px 6px 6px !important; box-shadow: none !important; text-align: center; }
.bpl-colors .product-title a { font-size: 0.65rem !important; line-height: 1.3 !important; }
.bpl-colors .price { font-size: 0.9rem !important; }
.bpl-colors .qty-cart-row { flex-direction: column !important; gap: 4px !important; align-items: stretch !important; }
.bpl-colors .qty-controls { width: 100% !important; justify-content: center !important; }
.bpl-colors .qty-btn { width: 24px !important; height: 26px !important; font-size: 0.85rem !important; }
.bpl-colors .qty-input { flex: 1 !important; min-width: 0; height: 26px !important; font-size: 0.75rem !important; }
.bpl-colors .qty-cart-row .add-to-cart-btn { width: 100% !important; height: auto !important; min-height: 28px !important; padding: 10px 4px !important; font-size: 0.65rem !important; line-height: 1.2 !important; }
.bpl-colors .product-availability-inline { font-size: 0.6rem !important; }
.bpl-colors .product-flags { display: none !important; }

@media (max-width: 991px) {
  .bpl-colors .products.row > [class*="col-"] { flex-basis: 25% !important; max-width: 25% !important; }
  .bpl-actions { flex: 1 1 100%; }
}
@media (max-width: 575px) {
  .bpl-colors .products.row > [class*="col-"] { flex-basis: 50% !important; max-width: 50% !important; }
  .bpl-numbers { flex: 1 1 100%; }
}
