/* PDP discovery variant of the canonical Woo card, using shared brand tokens. */
body.single-product .sp-hardcoded .bt-discovery {
	display: block;
	min-width: 0;
	margin: 56px 0 0;
	padding: 36px 0 0;
	border-top: 1px solid var(--bt-line);
}
.sp-hardcoded .bt-discovery__header { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:24px; }
.sp-hardcoded .bt-discovery__intro { min-width:0; }
.sp-hardcoded .bt-discovery__intro h2 { margin:0 0 6px; font:650 28px/1.2 var(--bt-font-body); letter-spacing:-.025em; color:var(--bt-ink); }
.sp-hardcoded .bt-discovery__intro p { margin:0; font-size:14px; line-height:1.5; color:var(--bt-muted); }
.sp-hardcoded .bt-discovery__controls { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.sp-hardcoded .bt-discovery__controls[hidden] { display:none; }
.sp-hardcoded .bt-discovery__range { min-width:65px; margin-right:8px; font-size:12px; font-variant-numeric:tabular-nums; color:var(--bt-muted); text-align:right; }
.sp-hardcoded .bt-discovery__controls button { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid var(--bt-line); border-radius:50%; background:var(--bt-surface); color:var(--bt-ink); cursor:pointer; }
.sp-hardcoded .bt-discovery__controls button:hover:not(:disabled) { border-color:var(--bt-primary); background:var(--bt-paper); color:var(--bt-primary); }
.sp-hardcoded .bt-discovery__controls button:active:not(:disabled) { background:var(--bt-line); }
.sp-hardcoded .bt-discovery__controls button:disabled { opacity:.35; cursor:default; }
.sp-hardcoded .bt-discovery__viewport { width:100%; min-width:0; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scroll-padding:2px; padding:3px 2px 16px; }
/* Override the legacy grid/column sizing only inside these native shelves. */
body.single-product .sp-hardcoded .bt-discovery ul.products { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:calc((100% - 60px) / 4); gap:20px; width:100%; margin:0; padding:0; align-items:stretch; }
body.single-product .sp-hardcoded .bt-discovery ul.products::before,
body.single-product .sp-hardcoded .bt-discovery ul.products::after { display:none; }
body.single-product .sp-hardcoded .bt-discovery ul.products>li.product { width:auto; min-width:0; max-width:none; height:auto; margin:0; padding:0; float:none; scroll-snap-align:start; border:1px solid var(--bt-line); border-radius:var(--bt-radius-card); background:var(--bt-surface); box-shadow:none; }
body.single-product .sp-hardcoded .bt-discovery ul.products>li.product:hover { border-color:var(--bt-primary); box-shadow:none; }
body.single-product .sp-hardcoded .bt-discovery .product-thumbnail { padding:40px 20px 18px; border-bottom:1px solid var(--bt-line); background:var(--bt-paper); }
body.single-product .sp-hardcoded .bt-discovery .woocommerce-loop-product__thumbnail img { width:100%; height:190px; max-height:190px; object-fit:contain; }
body.single-product .sp-hardcoded .bt-discovery .product-details { display:flex; flex-direction:column; padding:18px 18px 0; }
body.single-product .sp-hardcoded .bt-discovery .woocommerce-loop-product__category { margin:0 0 8px; font-size:11px; }
/* Full names stay readable; the shared theme's important title rule is scoped. */
body.single-product .sp-hardcoded .bt-discovery .woocommerce-loop-product__title { display:block; overflow:visible; height:auto; max-height:none; min-height:0; margin:0 0 16px; font-size:16px!important; line-height:1.45!important; font-weight:650; -webkit-line-clamp:unset; white-space:normal; }
.sp-hardcoded .bt-discovery .woocommerce-loop-product__title a { display:block; text-decoration:none; overflow-wrap:anywhere; }
.sp-hardcoded .bt-discovery .woocommerce-loop-product__title a:hover { color:var(--bt-primary); text-decoration:underline; text-underline-offset:3px; }
body.single-product .sp-hardcoded .bt-discovery .price { margin-top:auto; font-variant-numeric:tabular-nums; }
body.single-product .sp-hardcoded .bt-discovery .btllc-card-meta { padding:6px 0 18px; font-size:12px; }
body.single-product .sp-hardcoded .bt-discovery .btllc-product>.product-buttons { padding:0 18px 14px!important; }
body.single-product .sp-hardcoded .bt-discovery .product-buttons .button { min-height:46px; font-size:13px; }
/* Canonical card metadata already supplies the truthful stock badge. */
.sp-hardcoded .bt-discovery .agni-product-outofstock { display:none; }
.sp-hardcoded .bt-discovery__hint { display:none; margin:6px 0 0; color:var(--bt-muted); font-size:12px; }
.sp-hardcoded .bt-discovery__viewport:focus-visible { outline:3px solid var(--bt-focus); outline-offset:4px; }
@media (max-width:1100px) {
	body.single-product .sp-hardcoded .bt-discovery ul.products { grid-auto-columns:calc((100% - 36px) / 3); gap:18px; }
}
@media (max-width:767px) {
	body.single-product .sp-hardcoded .bt-discovery { margin-top:38px; padding-top:28px; }
	.sp-hardcoded .bt-discovery__header { align-items:flex-start; gap:12px; margin-bottom:20px; }
	.sp-hardcoded .bt-discovery__intro h2 { font-size:23px; margin-bottom:6px; }
	.sp-hardcoded .bt-discovery__intro p { font-size:13px; max-width:23ch; }
	.sp-hardcoded .bt-discovery__controls { gap:5px; }
	.sp-hardcoded .bt-discovery__range { display:none; }
	body.single-product .sp-hardcoded .bt-discovery ul.products { grid-auto-columns:76%; gap:14px; }
	body.single-product .sp-hardcoded .bt-discovery .product-thumbnail { padding:38px 22px 18px; }
	body.single-product .sp-hardcoded .bt-discovery .woocommerce-loop-product__thumbnail img { height:180px; max-height:180px; }
	body.single-product .sp-hardcoded .bt-discovery .woocommerce-loop-product__title { font-size:16px!important; line-height:1.45!important; }
	.sp-hardcoded .bt-discovery.has-overflow .bt-discovery__hint { display:block; }
	.sp-hardcoded .bt-discovery .bt-cart-status { padding-left:18px; padding-right:18px; font-size:11px; }
}
@media (max-width:359px) {
	.sp-hardcoded .bt-discovery__intro h2 { font-size:20px; }
	.sp-hardcoded .bt-discovery__controls { gap:4px; }
	body.single-product .sp-hardcoded .bt-discovery ul.products { grid-auto-columns:84%; gap:12px; }
}
@media (prefers-reduced-motion:reduce) {
	.sp-hardcoded .bt-discovery *, .sp-hardcoded .bt-discovery *::before, .sp-hardcoded .bt-discovery *::after { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
}
@media (forced-colors:active) {
	.sp-hardcoded .bt-discovery__controls button:disabled { opacity:1; color:GrayText; }
}
