/* BuyTrend quote-commerce layer — 2026-09-19
   Keeps the existing BuyTrend visual system and converts public product sales to RFQ. */
:root{--bt-quote-navy:#0b1f45;--bt-quote-blue:#073d91;--bt-quote-orange:#ff4b1f;--bt-quote-green:#087f5b;--bt-quote-border:#dfe6f0;--bt-quote-soft:#f7f9fc}

/* Compact product cards; preserve source image proportions. */
.bt-quote-product-card{min-width:0!important}
.bt-quote-product-card .btp-media,.bt-quote-product-card .bt-shop-card-img{aspect-ratio:1/1!important;height:auto!important;min-height:0!important;background:#f3f5f7!important;overflow:hidden!important}
.bt-quote-product-card .btp-media img,.bt-quote-product-card .bt-shop-card-img img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;box-sizing:border-box!important;padding:7px!important;background:#f3f5f7!important}
.bt-quote-product-card .btp-name,.bt-quote-product-card .bt-shop-card-body h3{margin-bottom:7px!important;line-height:1.28!important}
.bt-quote-product-card .btp-name{min-height:2.55em!important}
.bt-quote-product-card .bt-shop-card-body h3{min-height:2.55em!important}
.btp-quote-label,.bt-shop-quote-label{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:0 0 8px;padding:4px 8px;border-radius:5px;background:#eef4ff;color:var(--bt-quote-blue);font-size:10px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}

/* Two direct sales numbers requested by BuyTrend. */
.btp-contact-row,.bt-shop-contact-row,.bt-product-sales-phones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:6px 0}
.btp-phone,.bt-shop-phone,.bt-product-sales-phones a{display:flex;align-items:center;justify-content:center;gap:5px;min-height:31px;padding:5px 6px;border:1px solid var(--bt-quote-border);border-radius:6px;background:#fff;color:var(--bt-quote-navy);font-size:10px;font-weight:800;line-height:1.1;text-decoration:none;text-align:center}
.btp-phone svg,.bt-shop-phone svg,.bt-product-sales-phones svg{width:13px;height:13px;flex:0 0 13px;color:var(--bt-quote-blue)}
.btp-phone:hover,.bt-shop-phone:hover,.bt-product-sales-phones a:hover{border-color:#a9bde5;background:#f5f8ff;color:var(--bt-quote-blue)}

.btp-quote-actions,.bt-shop-quote-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}
.btp-quote-actions a,.btp-quote-actions button,.bt-shop-quote-actions a,.bt-shop-quote-actions button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:34px;padding:6px 5px;border:0;border-radius:6px;font:inherit;font-size:10px;font-weight:800;line-height:1.1;text-decoration:none;text-align:center;cursor:pointer}
.btp-quote-actions svg,.bt-shop-quote-actions svg{width:13px;height:13px;flex:0 0 13px}
.btp-get-quote,.bt-shop-get-quote{background:var(--bt-quote-orange);color:#fff}
.btp-whatsapp,.bt-shop-whatsapp{background:var(--bt-quote-green);color:#fff}
.btp-get-quote:hover,.bt-shop-get-quote:hover{background:#e73e16}
.btp-whatsapp:hover,.bt-shop-whatsapp:hover{background:#066b4c}
.bt-shop-view{margin-top:7px!important;min-height:30px!important;padding:6px 8px!important;font-size:11px!important}

/* Product page quote state. */
.bt-product-quote-state{display:flex;flex-direction:column;gap:3px;margin:14px 0;padding:12px 14px;border:1px solid #dbe7fa;border-left:4px solid var(--bt-quote-blue);border-radius:7px;background:#f6f9ff;color:#53617a}
.bt-product-quote-state strong{color:var(--bt-quote-navy);font-size:15px}
.bt-product-quote-state small{font-size:12px;line-height:1.45}
.bt-product-sales-phones{margin:12px 0 8px}
.bt-product-sales-phones a{min-height:42px;font-size:12px}
.bt-product-secondary-actions{gap:8px!important}

/* Long category lists stay tidy until requested. */
.bt-shop-category-filter .bt-category-extra[hidden]{display:none!important}
.bt-category-toggle{width:100%;margin-top:8px;padding:9px 10px;border:1px solid var(--bt-quote-border);border-radius:6px;background:#fff;color:var(--bt-quote-blue);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.bt-category-toggle:hover{background:#f4f7fc}

/* Quote cart / checkout: legacy JS may still calculate zero internally; never show it. */
.bt-cart-item-price,#bt-checkout-items [class*="price"],#bt-checkout-items [class*="total"],.bt-quote-legacy-total{display:none!important}
.bt-quote-pricing{padding:12px 0!important}
.bt-quote-pricing strong{color:var(--bt-quote-blue)!important;text-align:right}
.bt-quote-phone-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.bt-quote-phone-row a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 10px;border:1px solid var(--bt-quote-border);border-radius:7px;background:#fff;color:var(--bt-quote-navy);font-size:12px;font-weight:800;text-decoration:none;text-align:center}

@media (min-width:768px){
  .btp-section .btp-category{margin-top:26px!important}
  .btp-section .btp-category-head{margin-bottom:10px!important}
}
@media (max-width:1100px){
  .btp-quote-actions,.bt-shop-quote-actions{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  .btp-contact-row,.bt-shop-contact-row,.bt-product-sales-phones,.bt-quote-phone-row{grid-template-columns:1fr}
  .btp-quote-actions,.bt-shop-quote-actions{grid-template-columns:1fr 1fr}
  .bt-product-sales-phones a{min-height:38px}
}
