/* Bybsa product page (inc/product-page.php, inc/product-engine.php): WooCommerce's own title / price / add to cart in a
   buy box, Quick overview + Key features, then every section as a card one after another, related products beside them.
   Radius scale: 4 badges · 6 buttons, inputs, thumbnails · 8 cards · 12 large media · 50% round icon buttons only. */

.bybsa-product {
	--bh-blue: #0077ff;
	--bh-blue-d: #005fd1;
	--bh-blue-soft: #eef5ff;
	--bh-ink: #0f172a;
	--bh-text: #334155;
	--bh-muted: #64748b;
	--bh-line: #e2e8f0;
	--bh-bg: #f4f6f9;
	--bh-r: 8px;
	--bh-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 18px rgba(15, 23, 42, .06);
}
.bybsa-product .main-page-wrapper, .bybsa-product .wd-page-content { background: var(--bh-bg) !important; padding-top: 0 !important; }
.bybsa-product .bp-i { width: 20px; height: 20px; flex: 0 0 auto; }
.bybsa-product .bh-ask { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--bh-blue-soft); color: var(--bh-blue); font-size: 12.5px; font-weight: 700; }

/* ---------- Breadcrumb ---------- */
.bybsa-product .single-breadcrumbs-wrapper { padding: 16px 0 12px; margin: 0 !important; }
.bybsa-product .single-breadcrumbs-wrapper .container { max-width: 1230px; padding: 0 15px; }
.bybsa-product .single-breadcrumbs-wrapper .wd-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--bh-muted); background: none !important; padding: 0; margin: 0; border: 0; }
.bybsa-product .single-breadcrumbs-wrapper .wd-breadcrumbs a { color: var(--bh-muted); text-decoration: none; font-weight: 400; }
.bybsa-product .single-breadcrumbs-wrapper .wd-breadcrumbs a:hover { color: var(--bh-blue); }
.bybsa-product .single-breadcrumbs-wrapper .wd-delimiter { color: #cbd5e1; }
.bybsa-product .single-breadcrumbs-wrapper .wd-delimiter::before { content: "/" !important; font-family: inherit !important; font-size: 13px; }
.bybsa-product .single-breadcrumbs-wrapper .wd-delimiter::after { display: none !important; }
.bybsa-product .single-breadcrumbs-wrapper .wd-last, .bybsa-product .single-breadcrumbs-wrapper .wd-delimiter:has(+ .wd-last) { display: none !important; }
.bybsa-product .single-breadcrumbs-wrapper .wd-products-nav, .bybsa-product .single-breadcrumbs-wrapper .wd-back-btn { display: none; }

/* ---------- Top: gallery + summary in one card ---------- */
.bybsa-product .single-product-content > .container,
.bybsa-product .product-tabs-wrapper > .container,
.bybsa-product .related-and-upsells.container { max-width: 1230px; padding-left: 15px; padding-right: 15px; }
.bybsa-product .product-image-summary-wrap { margin-bottom: 0 !important; }
.bybsa-product .product-image-summary { background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; padding: 24px; box-shadow: var(--bh-shadow); }
.bybsa-product .product-image-summary-inner { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important; gap: 40px !important; align-items: start; }
.bybsa-product .product-image-summary-inner > .wd-grid-col { grid-column: auto !important; width: auto !important; max-width: none !important; flex: none !important; }
.bybsa-product .product-images { position: sticky; top: calc(var(--bp-sticky, 0px) + 16px); }

/* gallery */
.bybsa-product .woocommerce-product-gallery { margin: 0 !important; gap: 0 !important; row-gap: 0 !important; }
.bybsa-product .wd-gallery-images { border: 1px solid var(--bh-line); border-radius: 8px; overflow: hidden; background: #fff; }
.bybsa-product .wd-gallery-images .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.bybsa-product .wd-gallery-images .wd-nav-pagin-wrap { display: none; }
.bybsa-product .wd-gallery-images, .bybsa-product .wd-gallery-images .wd-carousel-inner { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.bybsa-product .product-images .product-labels { width: auto !important; align-items: flex-start !important; left: 14px !important; top: 14px !important; right: auto !important; }
.bybsa-product .product-images .product-label.onsale { background: #ef4444; color: #fff; border-radius: 4px; font-size: 13px; font-weight: 700; padding: 3px 9px; min-height: 0; min-width: 0; }
.bybsa-product .wd-gallery-thumb { margin: 12px 0 0 !important; padding: 0 !important; width: 100% !important; }
.bybsa-product .wd-gallery-thumb .wd-carousel-inner, .bybsa-product .wd-gallery-thumb .wd-carousel { width: 100% !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; --wd-col-lg: unset !important; --wd-col-md: unset !important; --wd-col-sm: unset !important; }
.bybsa-product .wd-gallery-thumb .wd-carousel-wrap { display: flex !important; flex-wrap: wrap; gap: 8px !important; transform: none !important; width: 100% !important; padding: 0 !important; }
.bybsa-product .wd-gallery-thumb .wd-carousel-item { width: 68px !important; min-width: 68px !important; max-width: 68px !important; height: 68px !important; flex: 0 0 68px !important; margin: 0 !important; padding: 0 !important; border: 2px solid var(--bh-line); border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; opacity: .8; transition: border-color .15s ease, opacity .15s ease; }
.bybsa-product .wd-gallery-thumb .wd-carousel-item img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 5px; }
.bybsa-product .wd-gallery-thumb .wd-carousel-item:hover { opacity: 1; }
.bybsa-product .wd-gallery-thumb .wd-carousel-item.wd-thumb-active { border-color: var(--bh-blue); opacity: 1; }
.bybsa-product .wd-gallery-thumb .wd-thumb-nav { display: none !important; }

/* ---------- Summary ---------- */
.bybsa-product .summary-inner { padding: 0 !important; display: flex; flex-direction: column; gap: 16px; }
.bybsa-product .summary-inner > * { margin: 0 !important; }
.bybsa-product .summary-inner > .product_title { font-family: var(--wd-title-font, inherit); font-size: 27px !important; line-height: 1.25 !important; font-weight: 700 !important; color: var(--bh-ink) !important; letter-spacing: -.01em; }
.bybsa-product .wd-before-add-to-cart:empty, .bybsa-product .wd-after-add-to-cart:empty, .bybsa-product #gtx-trans { display: none !important; }
.bybsa-product .summary-inner > .wd-before-add-to-cart, .bybsa-product .summary-inner > .wd-after-add-to-cart { display: none !important; }

/* stock · code · brand · rating */
.bybsa-product .bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: -8px !important; font-size: 13.5px; color: var(--bh-muted); }
.bybsa-product .bp-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: #cbd5e1; vertical-align: middle; }
.bybsa-product .bp-meta strong { color: var(--bh-text); font-weight: 600; }
.bybsa-product .bp-meta a { color: var(--bh-text); text-decoration: none; font-weight: 600; }
.bybsa-product .bp-meta a:hover { color: var(--bh-blue); }
.bybsa-product .bp-meta-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.bybsa-product .bp-meta-stock::after { order: -1; content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bybsa-product .bp-meta-stock.is-in { color: #15803d; }
.bybsa-product .bp-meta-stock.is-out { color: #dc2626; }

/* "Used in" industry links (inc/industries.php) */
/* Owner 2026-11-07: title, this product's facts, price and buy buttons, then the contact row, then delivery and payment. */
.bybsa-product .summary-inner > .bp-overview { order: 3; }
.bybsa-product .summary-inner > .bp-features { order: 3; }
.bybsa-product .summary-inner > .bp-buybox { order: 4; }
.bybsa-product .summary-inner > .bp-actions, .bybsa-product .summary-inner > .bp-actions-alt { order: 5; margin: 0 !important; }
.bybsa-product .summary-inner > .bp-service { order: 6; margin: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.bybsa-product .summary-inner > :not(.product_title):not(.bp-meta):not(.bp-fits):not(.bp-buybox):not(.bp-overview):not(.bp-features):not(.bp-actions):not(.bp-actions-alt):not(.bp-service) { order: 7; }
.bybsa-product .summary-inner > .product_title { order: 1; }
.bybsa-product .summary-inner > .bp-meta { order: 2; }

/* buy box */
.bybsa-product .bp-buybox { display: flex; flex-direction: column; gap: 14px; background: #f8fafc; border: 1px solid var(--bh-line); border-radius: 8px; padding: 18px 20px; }
.bybsa-product .bp-buybox > * { margin: 0 !important; }
.bybsa-product .bp-buybox > .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--wd-title-font, inherit); font-size: 30px !important; line-height: 1.15; font-weight: 800; color: var(--bh-ink) !important; }
.bybsa-product .bp-buybox > .price .amount { color: inherit; }
.bybsa-product .bp-buybox > .price del { order: 2; font-size: 17px; font-weight: 500; color: #94a3b8; opacity: 1; }
.bybsa-product .bp-buybox > .price ins { text-decoration: none; }
.bybsa-product .bp-save { order: 3; align-self: center; padding: 3px 8px; border-radius: 4px; background: #fef2f2; color: #dc2626; font-family: var(--wd-text-font, inherit); font-size: 13px; font-weight: 700; line-height: 1.3; }
.bybsa-product .bp-ask-price { font-size: 24px; color: var(--bh-blue); }
.bybsa-product .bp-ask-sub { flex-basis: 100%; display: block; font-family: var(--wd-text-font, inherit); font-size: 13.5px; font-weight: 400; color: var(--bh-muted); line-height: 1.5; }
.bybsa-product .bp-lines { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.bybsa-product .bp-lines li { display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; font-size: 14px; line-height: 1.45; color: var(--bh-text); }
.bybsa-product .bp-lines .bp-i { color: var(--bh-blue); margin-top: 1px; }
.bybsa-product .bp-lines strong { color: var(--bh-ink); font-weight: 700; }
.bybsa-product .bp-lines span { color: var(--bh-muted); }
.bybsa-product .bp-lines small { display: block; font-size: 12.5px; color: var(--bh-muted); }
.bybsa-product .bp-note { font-size: 12.5px !important; line-height: 1.6; color: var(--bh-muted); }
.bybsa-product .bp-note strong { color: #b45309; }
.bybsa-product .bp-buybox .stock { font-size: 14px; font-weight: 600; }
.bybsa-product .bp-buybox .stock.in-stock { display: none; } /* the line under the title says it already */
.bybsa-product .bp-moq { font-size: 13px; font-weight: 600; color: var(--bh-muted); }

/* bulk prices (inc/product-fields.php) */
.bybsa-product .bp-tiers-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 8px; }
.bybsa-product .bp-tiers-head strong { font-size: 14px; color: var(--bh-ink); }
.bybsa-product .bp-tiers-head span { font-size: 12.5px; color: var(--bh-muted); }
.bybsa-product .bp-tiers ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.bybsa-product .bp-tiers li { margin: 0 !important; }
.bybsa-product .bp-tiers button { position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0 !important; height: auto; padding: 8px 10px !important; border: 1px solid var(--bh-line) !important; border-radius: 6px !important; background: #fff !important; color: var(--bh-text) !important; text-align: left; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; box-shadow: none !important; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.bybsa-product .bp-tiers button:hover { border-color: var(--bh-blue) !important; }
.bybsa-product .bp-tiers button.is-on { border-color: var(--bh-blue) !important; background: var(--bh-blue-soft) !important; box-shadow: inset 0 0 0 1px var(--bh-blue) !important; }
.bybsa-product .bp-tiers-qty { font-size: 12.5px; color: var(--bh-muted); font-weight: 600; }
.bybsa-product .bp-tiers-price { font-size: 16px; font-weight: 800; color: var(--bh-ink); line-height: 1.25; }
.bybsa-product .bp-tiers-price .amount { color: inherit; }
.bybsa-product .bp-tiers-off { position: absolute; top: 7px; right: 8px; padding: 1px 5px; border-radius: 4px; background: #dcfce7; color: #15803d; font-size: 11.5px; font-weight: 700; }
.bybsa-product .bp-tiers-bulk { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 10px; border: 1px dashed #bfd7f7; border-radius: 6px; background: #fff; color: var(--bh-blue) !important; text-decoration: none !important; }
.bybsa-product .bp-tiers-bulk .bp-tiers-qty { color: var(--bh-blue); }
.bybsa-product .bp-tiers-bulk .bp-tiers-price { font-size: 14px; color: var(--bh-blue); }
.bybsa-product .bp-tiers-bulk:hover { border-style: solid; background: var(--bh-blue-soft); }
.bybsa-product .bp-tiers.is-packs ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bybsa-product .bp-tiers-sum { margin: 8px 0 0 !important; font-size: 13.5px; color: var(--bh-text); }
.bybsa-product .bp-tiers-sum:empty { display: none; }
.bybsa-product .bp-tiers-sum span { margin-left: 6px; color: #15803d; font-weight: 700; }
.bybsa-product .bp-per { font-size: 13px; font-weight: 600; color: var(--bh-muted); }

/* quantity + Add to cart + Buy now */
.bybsa-product .bp-buybox form.cart { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.bybsa-product .bp-buybox form.cart .quantity { display: inline-flex !important; align-items: stretch; height: 48px; border: 1px solid #cbd5e1; border-radius: 6px; overflow: hidden; background: #fff; margin: 0 !important; }
.bybsa-product .bp-buybox form.cart .quantity input.minus,
.bybsa-product .bp-buybox form.cart .quantity input.plus { width: 38px !important; height: 100% !important; min-height: 0 !important; border: 0 !important; background: #fff !important; color: var(--bh-ink) !important; font-size: 18px !important; padding: 0 !important; border-radius: 0 !important; cursor: pointer; }
.bybsa-product .bp-buybox form.cart .quantity input.minus:hover,
.bybsa-product .bp-buybox form.cart .quantity input.plus:hover { background: var(--bh-blue-soft) !important; color: var(--bh-blue) !important; }
.bybsa-product .bp-buybox form.cart .quantity input.qty { width: 52px !important; height: 100% !important; border: 0 !important; border-left: 1px solid var(--bh-line) !important; border-right: 1px solid var(--bh-line) !important; border-radius: 0 !important; text-align: center; font-weight: 700; font-size: 15px; color: var(--bh-ink); padding: 0 !important; background: #fff !important; }
.bybsa-product .bp-buybox .single_add_to_cart_button,
.bybsa-product .bp-buybox .wd-buy-now-btn { flex: 1 1 140px; height: 48px !important; min-height: 0 !important; margin: 0 !important; padding: 0 18px !important; border-radius: 6px !important; font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; border: 0 !important; }
.bybsa-product .bp-buybox .single_add_to_cart_button { background: var(--bh-blue) !important; color: #fff !important; }
.bybsa-product .bp-buybox .single_add_to_cart_button:hover { background: var(--bh-blue-d) !important; }
.bybsa-product .bp-buybox .wd-buy-now-btn { background: var(--bh-ink) !important; color: #fff !important; }
.bybsa-product .bp-buybox .wd-buy-now-btn:hover { background: #1e293b !important; }
/* Buy row (owner 2026-10-27): quantity · Buy now · WhatsApp; "Add to cart" hidden (still in the form for WooCommerce),
   Buy now keeps its dark colour; RFQ / Call / Messenger row under it. */
.bybsa-product .bp-buybox form.cart .single_add_to_cart_button { display: none !important; }
.bybsa-product .bp-actions .bp-btn-call-line { background: #fff; color: var(--bh-ink) !important; border-color: #cbd5e1; }
.bybsa-product .bp-actions .bp-btn-call-line:hover { background: #f8fafc; border-color: var(--bh-ink); }
.bybsa-product .bp-call-num { display: none; white-space: nowrap; }
@media (min-width: 1025px) {
	.bybsa-product .bp-call-now { display: none; }
	.bybsa-product .bp-call-num { display: inline; }
}
.bybsa-product .bp-buybox form.cart .bp-form-wa { flex: 1 1 140px; height: 48px; margin: 0; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none !important; }
.bybsa-product .bp-btn-call { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin: 10px 0 0; border: 1px solid #cbd5e1 !important; border-radius: 6px !important; background: #fff !important; color: var(--bh-ink) !important; font-size: 15px; font-weight: 700; text-decoration: none !important; box-sizing: border-box; }
@media (max-width: 767px) {
	.bybsa-product .bp-buybox form.cart .wd-buy-now-btn, .bybsa-product .bp-buybox form.cart .bp-form-wa { flex: 1 1 0 !important; min-width: 0; white-space: nowrap; height: 46px; font-size: 14px !important; padding: 0 8px !important; }
}
.bybsa-product .bp-btn-call span { font-weight: 600; color: var(--bh-muted); }
.bybsa-product .bp-btn-call:hover { border-color: var(--bh-blue); color: var(--bh-blue) !important; }
.bybsa-product .bp-btn-call .bp-i { width: 18px; height: 18px; }

/* quote / WhatsApp / Messenger */
.bybsa-product .bp-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bybsa-product .bp-actions.is-ask { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bybsa-product .bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 6px; border: 1px solid transparent; font-size: 14.5px; font-weight: 700; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.bybsa-product .bp-btn svg { width: 18px !important; height: 18px !important; flex: 0 0 auto; }
.bybsa-product .bp-btn .bybsa-ico, .bybsa-product .bp-btn svg:not(.bp-i) { fill: currentColor; }
.bybsa-product .bp-btn-line { background: #fff; color: var(--bh-blue) !important; border-color: #bfd7f7; }
.bybsa-product .bp-btn-line:hover { background: var(--bh-blue-soft); border-color: var(--bh-blue); }
.bybsa-product .bp-btn-wa-line { background: #fff; color: #15803d !important; border-color: #bbf7d0; }
.bybsa-product .bp-btn-wa-line:hover { background: #f0fdf4; border-color: #22c55e; }
.bybsa-product .bp-btn-ms { background: #fff; color: #0866ff !important; border-color: #c7dcff; }
.bybsa-product .bp-btn-ms:hover { background: #eef4ff; border-color: #0866ff; }
.bybsa-product .bp-btn-main { height: 48px; background: var(--bh-blue); color: #fff !important; font-size: 15px; }
.bybsa-product .bp-btn-main:hover { background: var(--bh-blue-d); }
.bybsa-product .bp-btn-wa { height: 48px; background: #25d366; color: #fff !important; font-size: 15px; }
.bybsa-product .bp-btn-wa:hover { background: #1faa55; }
.bybsa-product .bp-actions-alt { margin-top: -4px !important; text-align: center; font-size: 13.5px; color: var(--bh-muted); }
.bybsa-product .bp-actions-alt a { color: var(--bh-text); font-weight: 700; text-decoration: none; }
.bybsa-product .bp-actions-alt a:hover { color: var(--bh-blue); }

/* Quick overview (inc/product-engine.php) */
.bybsa-product .bp-overview h3, .bybsa-product .bp-features h3 { margin: 0 0 10px !important; font-family: var(--wd-text-font, inherit); font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--bh-muted) !important; }
.bybsa-product .bp-overview dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.bybsa-product .bp-overview dl > div { background: #fff; border: 1px solid var(--bh-line); border-radius: 6px; padding: 8px 10px; min-width: 0; }
.bybsa-product .bp-overview dt { font-size: 12px; color: var(--bh-muted); font-weight: 500; margin: 0; }
.bybsa-product .bp-overview dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--bh-ink); line-height: 1.35; overflow-wrap: anywhere; }
.bybsa-product .bp-overview-all, .bybsa-product .bp-features .bp-more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--bh-blue) !important; text-decoration: none; }
.bybsa-product .bp-overview-all::after, .bybsa-product .bp-features .bp-more::after { content: " \2192"; }
.bybsa-product .bp-overview-all:hover, .bybsa-product .bp-features .bp-more:hover { text-decoration: underline; }
.bybsa-product .bp-overview + .bp-features .bp-more { display: none; } /* one link is enough */

/* Key features */
.bybsa-product .bp-features ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 20px; }
.bybsa-product .bp-features li { position: relative; margin: 0 !important; padding-left: 24px; font-size: 14px; line-height: 1.5; color: var(--bh-text); }
.bybsa-product .bp-features li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #dcfce7; }
.bybsa-product .bp-features li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 6px; height: 3.5px; border-left: 2px solid #16a34a; border-bottom: 2px solid #16a34a; transform: rotate(-45deg); }
.bybsa-product .bp-more-link { display: inline-flex; align-items: center; gap: 4px; margin: 8px 0 0; padding: 0 !important; min-height: 0 !important; border: 0 !important; background: none !important; color: var(--bh-blue) !important; font-size: 14px !important; font-weight: 700 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; }

/* ---------- Sections one after another (WoodMart tabs layout, all panels shown) ---------- */
.bybsa-product .product-tabs-wrapper { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 0 8px !important; }
.bybsa-product .product-tabs-inner { padding-top: 0; }
.bybsa-product .woocommerce-tabs { margin: 0 !important; }
.bybsa-product .woocommerce-tabs .woocommerce-Tabs-panel { display: block !important; opacity: 1 !important; padding: 0 !important; margin: 0 !important; }
.bybsa-product .woocommerce-tabs .wc-tab-inner { max-height: none !important; overflow: visible !important; padding: 0 !important; color: var(--bh-text); font-size: 15px; line-height: 1.7; }
.bybsa-product .woocommerce-tabs .wd-accordion-item { background: #fff; border: 1px solid var(--bh-line) !important; border-radius: 8px; box-shadow: var(--bh-shadow); padding: 22px 26px; margin: 0 0 16px; }
.bybsa-product .woocommerce-tabs .wd-accordion-title { display: block !important; pointer-events: none; cursor: default; padding: 0 0 12px !important; margin: 0 0 18px !important; border: 0 !important; border-bottom: 1px solid var(--bh-line) !important; background: none !important; font-family: var(--wd-title-font, inherit); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--bh-ink); text-transform: none; letter-spacing: -.01em; }
.bybsa-product .woocommerce-tabs .wd-accordion-title .wd-accordion-opener,
.bybsa-product .woocommerce-tabs .wd-accordion-title::after,
.bybsa-product .woocommerce-tabs .wd-accordion-title::before { display: none !important; }
.bybsa-product .woocommerce-tabs .wd-accordion-title * { font: inherit !important; color: inherit !important; text-transform: none !important; }
.bybsa-product .woocommerce-tabs .wc-tab-inner > :last-child { margin-bottom: 0 !important; }
.bybsa-product .woocommerce-tabs .woocommerce-Reviews-title, .bybsa-product .woocommerce-tabs .wc-tab-inner > h2:first-child { display: none; } /* the card has the heading */

/* button row: jumps to a section; sticks under the header */
.bybsa-product .woocommerce-tabs .wd-nav-tabs-wrapper { display: block !important; position: sticky; top: var(--bp-tabs-top, 0px); z-index: 20; margin: 0 0 14px !important; padding: 8px 0; text-align: left; background: transparent; box-shadow: none; transition: box-shadow .2s; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs-wrapper.is-stuck { background: var(--bh-bg); box-shadow: -100vmax 0 0 var(--bh-bg), 100vmax 0 0 var(--bh-bg), 0 6px 8px -6px rgba(15, 23, 42, .18); clip-path: inset(0 -100vmax -14px -100vmax); }
.bybsa-product .woocommerce-tabs .wd-nav-tabs { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin: 0 !important; padding: 0; border: 0; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs::before, .bybsa-product .woocommerce-tabs .wd-nav-tabs::after { display: none !important; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs li { flex: none; margin: 0 !important; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs li > a { display: block; padding: 0 12px !important; line-height: 36px; border: 1px solid var(--bh-line); border-radius: 6px !important; background: #fff; color: var(--bh-text) !important; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs li > a:hover { border-color: var(--bh-blue); color: var(--bh-blue) !important; background: var(--bh-blue-soft); }
.bybsa-product .woocommerce-tabs .wd-nav-tabs li.bybsa_rfq_tab > a { background: var(--bh-blue); border-color: var(--bh-blue); color: #fff !important; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs li.bybsa_rfq_tab > a:hover { background: var(--bh-blue-d); }
.bybsa-product .woocommerce-tabs .wd-nav-tabs li > a::after, .bybsa-product .woocommerce-tabs .wd-nav-tabs li > a::before { display: none !important; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs .nav-link-text { color: inherit !important; font: inherit !important; text-transform: none !important; }
.bybsa-product .woocommerce-tabs .wd-nav-tabs .nav-link-text::after { display: none !important; }

/* description */
.bybsa-product #tab-description h2, .bybsa-product #tab-description h3 { font-size: 18px !important; line-height: 1.35 !important; font-weight: 700 !important; color: var(--bh-ink); margin: 20px 0 8px !important; }
.bybsa-product #tab-description p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--bh-text); }
.bybsa-product #tab-description ul, .bybsa-product #tab-description ol { margin: 0 0 12px 20px; }
.bybsa-product #tab-description li { font-size: 15px; line-height: 1.7; margin-bottom: 4px; }
.bybsa-product #tab-description a { color: var(--bh-blue); }
.bybsa-product #tab-description img { border-radius: 6px; height: auto; max-width: 100%; }
.bybsa-product #tab-description .wc-tab-inner > :first-child { margin-top: 0 !important; }

/* specifications: assets/css/specs.css */

/* compatible paper */
.bybsa-product .bp-compat-note { color: var(--bh-muted) !important; font-size: 14.5px !important; margin: -4px 0 14px !important; }
.bybsa-product .bp-compat-block + .bp-compat-block { margin-top: 20px; }
.bybsa-product .bp-compat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.bybsa-product .bp-compat-head h3 { margin: 0 !important; font-size: 16px !important; font-weight: 700; color: var(--bh-ink); }
.bybsa-product .bp-compat-head a { font-size: 14px; font-weight: 700; color: var(--bh-blue) !important; white-space: nowrap; }
.bybsa-product .bp-compat-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.bybsa-product .bp-compat-item { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--bh-line); border-radius: 8px; padding: 8px; color: var(--bh-ink) !important; text-decoration: none !important; transition: border-color .15s ease; }
.bybsa-product .bp-compat-item:hover { border-color: var(--bh-blue); }
.bybsa-product .bp-compat-item img { width: 100% !important; aspect-ratio: 1 / 1; height: auto !important; object-fit: contain; border-radius: 6px; }
.bybsa-product .bp-compat-item > span { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bybsa-product .bp-compat-item strong { font-size: 13px; margin-top: auto; white-space: nowrap; }
.bybsa-product .bp-compat-item strong .amount { color: var(--bh-ink); }
.bybsa-product .bp-compat-item .bh-ask { font-size: 11.5px; padding: 2px 6px; }

/* request a quote (inc/rfq.php) */
.bybsa-product .woocommerce-tabs .wd-accordion-item:has(#section-rfq-inline) { background: linear-gradient(135deg, #eef5ff 0%, #fff 70%); border-color: #cfe3ff !important; }
.bybsa-product .rfq-inline-wrap { background: none !important; padding: 0 !important; max-width: none !important; border-radius: 0; }
.bybsa-product .rfq-inline-wrap > h2 { display: none; }
.bybsa-product .rfq-inline-wrap > p { margin: 0 0 4px !important; font-size: 14.5px !important; color: var(--bh-text) !important; }
.bybsa-product .rfq-inline-wrap > p[id^="rfqInlineProductName"] { font-weight: 700 !important; color: var(--bh-ink) !important; margin: 0 0 16px !important; }
.bybsa-product .rfq-inline-wrap form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bybsa-product .rfq-inline-wrap input:not([type=hidden]):not([name=rfq_website]), .bybsa-product .rfq-inline-wrap textarea { height: 46px; margin: 0 !important; padding: 0 14px !important; border: 1px solid #cbd5e1 !important; border-radius: 6px !important; background: #fff !important; color: var(--bh-ink) !important; opacity: 1 !important; font-size: 15px; box-shadow: none !important; }
.bybsa-product .rfq-inline-wrap input:focus { border-color: var(--bh-blue) !important; box-shadow: 0 0 0 3px rgba(0, 119, 255, .12) !important; }
.bybsa-product .rfq-inline-wrap input[name=product] { display: none !important; }
.bybsa-product .rfq-inline-wrap .rfq-message, .bybsa-product .rfq-inline-wrap .rfq-buttons-container { grid-column: 1 / -1; }
.bybsa-product .rfq-inline-wrap .rfq-message:empty { display: none; }
.bybsa-product .rfq-inline-wrap .rfq-buttons-container { margin: 2px 0 0 !important; gap: 10px !important; }
.bybsa-product .rfq-inline-wrap .rfq-buttons-container button { height: 48px; border-radius: 6px !important; font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 0 16px !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--bh-blue) !important; color: #fff !important; box-shadow: none !important; }
.bybsa-product .rfq-inline-wrap .rfq-buttons-container button:hover { background: var(--bh-blue-d) !important; }
.bybsa-product .rfq-inline-wrap .rfq-buttons-container .rfq-whatsapp-btn { background: #25d366 !important; }
.bybsa-product .rfq-inline-wrap .rfq-buttons-container .rfq-whatsapp-btn:hover { background: #1faa55 !important; }

/* questions: assets/css/qa.css */
.bybsa-product .bybsa-qa-form h3 { font-size: 16px !important; line-height: 1.4 !important; margin: 0 0 2px !important; }

/* reviews: one header row (score + Write a review), form opens on demand */
.bybsa-product .bp-rev-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.bybsa-product .bp-rev-score { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 auto; font-size: 14px; color: var(--bh-muted); }
.bybsa-product .bp-rev-score strong { font-size: 20px; color: var(--bh-ink); }
.bybsa-product .bp-rev-score .star-rating { margin: 0; }
.bybsa-product .bp-rev-write { height: 40px; min-height: 0 !important; padding: 0 18px !important; border-radius: 6px !important; border: 1px solid #bfd7f7 !important; background: #fff !important; color: var(--bh-blue) !important; font-weight: 700 !important; font-size: 14px !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; }
.bybsa-product .bp-rev-write:hover, .bybsa-product .bp-rev-write[aria-expanded="true"] { background: var(--bh-blue-soft) !important; border-color: var(--bh-blue) !important; }
.bybsa-product .bp-rev .star-rating span::before, .bybsa-product .bp-rev .stars a { color: #f59e0b; }
.bybsa-product .bp-rev #reviews { margin-top: 14px !important; display: flex; flex-direction: column; gap: 14px; }
.bybsa-product .bp-rev #reviews, .bybsa-product .bp-rev #comments, .bybsa-product .bp-rev .wd-reviews-content, .bybsa-product .bp-rev .wd-rating-summary-wrap { padding: 0 !important; margin-left: 0 !important; margin-right: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.bybsa-product .bp-rev #comments { margin: 0 !important; }
.bybsa-product .bp-rev #comments > h2, .bybsa-product .bp-rev .wd-reviews-heading { display: none !important; }
.bybsa-product .bp-rev #review_form_wrapper { display: none; order: -1; margin: 0 !important; padding: 16px 18px !important; background: #f8fafc; border: 1px solid var(--bh-line); border-radius: 8px; }
.bybsa-product .bp-rev.is-writing #review_form_wrapper { display: block; }
.bybsa-product .bp-rev #review_form_wrapper .comment-reply-title { display: none; }
.bybsa-product .bp-rev .comment-notes { font-size: 13px; color: var(--bh-muted); margin-bottom: 8px; }
.bybsa-product .bp-rev .comment-form p { margin-bottom: 10px; }
.bybsa-product .bp-rev .comment-form input[type=text], .bybsa-product .bp-rev .comment-form input[type=email], .bybsa-product .bp-rev .comment-form textarea { border: 1px solid #cbd5e1 !important; border-radius: 6px !important; background: #fff !important; box-shadow: none !important; }
.bybsa-product .bp-rev .comment-form input[type=text], .bybsa-product .bp-rev .comment-form input[type=email] { height: 44px; }
.bybsa-product .bp-rev .comment-form textarea { min-height: 96px; height: 96px; }
.bybsa-product .bp-rev .comment-form .comment-form-author, .bybsa-product .bp-rev .comment-form .comment-form-email { display: inline-block; width: calc(50% - 6px); vertical-align: top; }
.bybsa-product .bp-rev .comment-form .comment-form-author { margin-right: 8px; }
.bybsa-product .bp-rev .comment-form .submit { height: 44px; padding: 0 24px !important; border-radius: 6px !important; background: var(--bh-ink) !important; color: #fff !important; text-transform: none !important; font-weight: 700 !important; }
.bybsa-product .bp-rev .wd-rating-summary { display: grid !important; grid-template-columns: 1fr !important; max-width: 520px; gap: 4px; padding: 14px 18px !important; margin: 0 !important; background: #f8fafc; border: 1px solid var(--bh-line); border-radius: 8px; }
.bybsa-product .bp-rev .wd-rating-summary-heading { display: none !important; }
.bybsa-product .bp-rev .wd-rating-summary-item { margin: 0 0 4px !important; gap: 10px; }
.bybsa-product .bp-rev .wd-rating-progress-bar .progress-area { height: 6px !important; }
.bybsa-product .bp-rev .wd-rating-summary-cont .wd-rating-progress-bar .progress-bar { background: #f59e0b; }
.bybsa-product .bp-rev .commentlist { margin: 0 !important; padding: 0 !important; border: 0 !important; display: grid; gap: 10px; }
.bybsa-product .bp-rev .commentlist > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.bybsa-product .bp-rev .commentlist .comment_container { border: 1px solid var(--bh-line); border-radius: 8px; padding: 14px 16px; }
.bybsa-product .bp-rev-none .wd-rating-summary-wrap, .bybsa-product .bp-rev-none #comments { display: none !important; }
.bybsa-product .bp-rev-none #reviews { margin-top: 0 !important; }
.bybsa-product .bp-rev-none.is-writing #reviews { margin-top: 14px !important; }

/* FAQ */
.bybsa-product .bp-faq { display: flex; flex-direction: column; gap: 8px; }
.bybsa-product .bp-faq details { border: 1px solid var(--bh-line); border-radius: 6px; background: #fff; }
.bybsa-product .bp-faq details[open] { border-color: #bfd7f7; }
.bybsa-product .bp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--bh-ink); line-height: 1.45; }
.bybsa-product .bp-faq summary::-webkit-details-marker { display: none; }
.bybsa-product .bp-faq summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--bh-muted); border-bottom: 2px solid var(--bh-muted); transform: rotate(45deg); transition: transform .15s ease; }
.bybsa-product .bp-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.bybsa-product .bp-faq details p { margin: 0 !important; padding: 0 16px 14px; font-size: 14.5px; line-height: 1.7; color: var(--bh-text); }

/* shipping & delivery */
.bybsa-product .bp-shipping ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.bybsa-product .bp-shipping li { display: flex; align-items: flex-start; gap: 12px; margin: 0 !important; }
.bybsa-product .bp-shipping .bp-i { width: 38px; height: 38px; padding: 8px; border-radius: 6px; background: var(--bh-blue-soft); color: var(--bh-blue); }
.bybsa-product .bp-shipping li div { display: flex; flex-direction: column; line-height: 1.5; }
.bybsa-product .bp-shipping strong { font-size: 15px; color: var(--bh-ink); }
.bybsa-product .bp-shipping span { font-size: 14px; color: var(--bh-muted); }

/* ---------- Related products: column beside the sections (desktop), carousel below (smaller screens) ---------- */
.bybsa-product .bp-side { display: none; }
@media (min-width: 1025px) {
	.bybsa-product .product-tabs-inner:has(> .bp-side) { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 24px; align-items: start; }
	.bybsa-product .product-tabs-inner:has(> .bp-side) > * { grid-column: 1; min-width: 0; }
	.bybsa-product .product-tabs-inner > .bp-side { display: block; grid-column: 2; grid-row: 1 / span 20; align-self: stretch; padding-top: 8px; }
	.bybsa-product .bp-side-box { position: sticky; top: calc(var(--bp-tabs-top, 0px) + 8px); background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; box-shadow: var(--bh-shadow); padding: 16px 16px 6px; }
	.bybsa-product .bp-side h3 { margin: 0 !important; padding-bottom: 12px; border-bottom: 1px solid var(--bh-line); font-size: 16px !important; font-weight: 700; color: var(--bh-ink); }
	.bybsa-product .bp-side ul { list-style: none; margin: 0; padding: 0; }
	.bybsa-product .bp-side li { margin: 0; border-bottom: 1px solid var(--bh-line); }
	.bybsa-product .bp-side li:last-child { border-bottom: 0; }
	.bybsa-product .bp-side a { display: flex; gap: 12px; align-items: center; padding: 12px 0; color: var(--bh-ink); text-decoration: none; }
	.bybsa-product .bp-side img { flex: none; width: 64px !important; height: 64px !important; object-fit: contain; border: 1px solid var(--bh-line); border-radius: 6px; background: #fff; }
	.bybsa-product .bp-side a > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
	.bybsa-product .bp-side-name { font-size: 13.5px; line-height: 1.4; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.bybsa-product .bp-side a:hover .bp-side-name { color: var(--bh-blue); }
	.bybsa-product .bp-side-price { font-size: 14px; font-weight: 800; color: var(--bh-ink); line-height: 1.2; }
	.bybsa-product .bp-side-price .amount { color: inherit; }
	.bybsa-product:has(.bp-side) .related-and-upsells .related-products { display: none; }
	.bybsa-product:has(.bp-side) .related-and-upsells:not(:has(.upsells-products)) { display: none; }
}
.bybsa-product .related-and-upsells { padding-top: 24px; padding-bottom: 48px; }
.bybsa-product .related-and-upsells .title, .bybsa-product .related-and-upsells .wd-el-title { font-family: var(--wd-title-font, inherit); font-size: 24px !important; font-weight: 700 !important; color: var(--bh-ink); margin-bottom: 16px !important; }
.bybsa-product .related-and-upsells .wd-carousel-item { height: auto; }
.bybsa-product .related-and-upsells .wd-product { height: 100%; }

/* ---------- Sticky buy bar (phones / tablets; markup in inc/pages.php) ---------- */
.bp-buybar { display: none; }
@media (max-width: 1024px) {
	.bp-buybar { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9991; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--bh-line); box-shadow: 0 -6px 20px rgba(15, 23, 42, .10); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; font-family: var(--wd-text-font, inherit); }
	.bp-buybar.is-on { transform: none; opacity: 1; pointer-events: auto; }
	.bp-buybar-img { width: 42px !important; height: 42px !important; object-fit: contain; border: 1px solid var(--bh-line); border-radius: 6px; background: #fff; flex: 0 0 auto; }
	.bp-buybar-price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 0 1 auto; }
	.bp-buybar-price strong { font-size: 16px; font-weight: 800; color: var(--bh-ink); white-space: nowrap; }
	.bp-buybar-price strong .amount { color: inherit; }
	.bp-buybar-price .bp-buybar-ask { font-size: 14px; color: var(--bh-blue); }
	.bp-buybar-price small { font-size: 11px; font-weight: 600; color: var(--bh-muted); }
	.bp-buybar-price small.is-in { color: #15803d; }
	.bp-buybar-price small.is-out { color: #dc2626; }
	.bp-buybar-wa { flex: 0 0 44px; height: 44px; border-radius: 6px; border: 1px solid #bbf7d0; background: #f0fdf4; color: #16a34a !important; display: flex; align-items: center; justify-content: center; }
	.bp-buybar-wa svg { width: 22px; height: 22px; fill: currentColor; }
	.bybsa-product .bp-buybar-main { flex: 1 1 auto; height: 44px; min-height: 0 !important; margin: 0 !important; padding: 0 14px !important; border: 0 !important; border-radius: 6px !important; background: var(--bh-blue) !important; color: #fff !important; font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; display: flex !important; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 12px rgba(0, 119, 255, .25) !important; text-decoration: none !important; cursor: pointer; }
	.bp-buybar-main svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
	.bc-bottombar { transition: transform .25s ease; }
	body.bp-buybar-on .bc-bottombar { transform: translateY(110%); }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
	.bybsa-product .bp-compat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.bybsa-product .product-image-summary-inner { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
	.bybsa-product .product-images { position: static; }
}
@media (max-width: 767px) {
	.scrollToTop { display: none !important; }
	/* top area: plain white, edge to edge — no boxes inside boxes */
	.bybsa-product .single-breadcrumbs-wrapper { background: #fff; margin: 0 -15px !important; padding: 8px 15px 6px !important; }
	.bybsa-product .single-breadcrumbs-wrapper .wd-breadcrumbs { font-size: 12.5px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	.bybsa-product .product-image-summary { margin: 0 -15px !important; padding: 0 15px 20px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
	.bybsa-product .product-image-summary-inner { gap: 14px !important; }
	.bybsa-product .wd-gallery-images { border: 0 !important; background: #f8fafc; }
	.bybsa-product .wd-gallery-thumb .wd-carousel-wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.bybsa-product .wd-gallery-thumb .wd-carousel-item { width: 52px !important; min-width: 52px !important; max-width: 52px !important; height: 52px !important; flex-basis: 52px !important; border-width: 1.5px; }
	.bybsa-product .summary-inner { gap: 14px; }
	.bybsa-product .summary-inner > .product_title { font-size: 20px !important; line-height: 1.3 !important; }
	.bybsa-product .bp-meta { margin-top: -6px !important; font-size: 12.5px; }
	/* buy box: flat, no panel */
	.bybsa-product .bp-buybox { background: none; border: 0; border-radius: 0; padding: 0; gap: 12px; }
	.bybsa-product .bp-buybox > .price { font-size: 26px !important; }
	.bybsa-product .bp-ask-price { font-size: 20px; }
	.bybsa-product .bp-ask-sub { font-size: 13px; }
	.bybsa-product .bp-lines { gap: 6px; padding: 10px 12px !important; background: #f8fafc; border-radius: 6px; }
	.bybsa-product .bp-lines li { font-size: 13px; }
	.bybsa-product .bp-lines small { display: none; }
	.bybsa-product .bp-lines .bp-i { width: 18px; height: 18px; }
	.bybsa-product .bp-tiers ul, .bybsa-product .bp-tiers.is-packs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bybsa-product .bp-tiers.is-packs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.bybsa-product .bp-note { order: 9; text-align: center; font-size: 12px !important; }
	.bybsa-product .bp-buybox form.cart { flex-wrap: nowrap; gap: 8px; }
	.bybsa-product .bp-buybox form.cart .quantity { flex: 0 0 auto; height: 46px; }
	.bybsa-product .bp-buybox form.cart .quantity input.minus, .bybsa-product .bp-buybox form.cart .quantity input.plus { width: 30px !important; }
	.bybsa-product .bp-buybox form.cart .quantity input.qty { width: 36px !important; }
	.bybsa-product .bp-buybox .single_add_to_cart_button, .bybsa-product .bp-buybox .wd-buy-now-btn { flex: 1 1 0 !important; height: 46px !important; padding: 0 8px !important; font-size: 14px !important; }
	.bybsa-product .bp-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
	.bybsa-product .bp-actions .bp-btn-ms { display: none; }
	.bybsa-product .bp-btn { height: 42px; font-size: 14px; }
	.bybsa-product .bp-actions.is-ask .bp-btn { height: 48px; font-size: 15px; }
	/* overview: 2 columns; key features: 4 + "Show all" */
	.bybsa-product .bp-overview dl { grid-template-columns: 1fr 1fr; gap: 6px; }
	.bybsa-product .bp-overview dl > div { padding: 7px 10px; }
	.bybsa-product .bp-overview dd { font-size: 13.5px; }
	.bybsa-product .bp-features ul { grid-template-columns: 1fr; gap: 5px; }
	.bybsa-product .bp-features li { font-size: 13.5px; }
	.bybsa-product .bp-features ul.bp-clip li:nth-child(n+5) { display: none; }
	/* sections: flat white blocks on the grey page, button row scrolls */
	.bybsa-product .product-tabs-wrapper { padding-top: 10px !important; }
	.bybsa-product .woocommerce-tabs .wd-nav-tabs-wrapper { margin: 0 -15px 10px !important; padding: 8px 15px; background: var(--bh-bg); }
	.bybsa-product .woocommerce-tabs .wd-nav-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.bybsa-product .woocommerce-tabs .wd-nav-tabs::-webkit-scrollbar { display: none; }
	.bybsa-product .woocommerce-tabs .wd-nav-tabs li > a { line-height: 34px; padding: 0 12px !important; font-size: 13.5px; }
	.bybsa-product .woocommerce-tabs .wd-accordion-item { margin: 0 -15px 10px; padding: 16px 15px; border: 0 !important; border-radius: 0; box-shadow: none; }
	.bybsa-product .woocommerce-tabs .wd-accordion-title { font-size: 17px; margin-bottom: 14px !important; padding-bottom: 10px !important; }
	.bybsa-product .woocommerce-tabs .wc-tab-inner, .bybsa-product #tab-description p, .bybsa-product #tab-description li { font-size: 14.5px; }
	.bybsa-product .bp-compat-row { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -15px; padding: 0 15px 2px; }
	.bybsa-product .bp-compat-row::-webkit-scrollbar { display: none; }
	.bybsa-product .bp-compat-item { flex: 0 0 132px; }
	.bybsa-product .rfq-inline-wrap form { grid-template-columns: 1fr; }
	.bybsa-product .rfq-inline-wrap .rfq-buttons-container { flex-direction: column; }
	.bybsa-product .bp-rev-score { flex-basis: 100%; order: 3; }
	.bybsa-product .bp-rev-write { margin-left: auto; }
	.bybsa-product .bp-rev .comment-form .comment-form-author, .bybsa-product .bp-rev .comment-form .comment-form-email { width: 100%; margin-right: 0; }
	.bybsa-product .bp-faq summary { font-size: 14.5px; padding: 11px 14px; }
	.bybsa-product .bp-shipping ul { grid-template-columns: 1fr; gap: 12px; }
	.bybsa-product .bp-shipping .bp-i { width: 34px; height: 34px; padding: 7px; }
	/* long description folded (product.js) */
	.bybsa-product .bp-fold { max-height: 460px; overflow: hidden !important; position: relative; }
	.bybsa-product .bp-fold::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 70%); pointer-events: none; }
	.bybsa-product .bp-fold .bp-fold-btn { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1; background: #fff !important; border: 1px solid #bfd7f7 !important; border-radius: 6px; padding: 8px 18px !important; margin: 0; }
	.bybsa-product .related-and-upsells { padding-top: 14px; }
	.bybsa-product .related-and-upsells .title, .bybsa-product .related-and-upsells .wd-el-title { font-size: 20px !important; }
}
.bybsa-product .bp-tiers.is-packs .bp-tiers-off { position: static; align-self: flex-start; margin-top: 2px; }

/* Pieces per roll + quote mode (inc/product-fields.php) */
.bybsa-product .bp-pcs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bybsa-product .bp-pcs button { min-height: 0 !important; height: 38px; padding: 0 14px !important; border: 1px solid var(--bh-line) !important; border-radius: 6px !important; background: #fff !important; color: var(--bh-text) !important; font-size: 14px !important; font-weight: 700 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; }
.bybsa-product .bp-pcs button:hover { border-color: var(--bh-blue) !important; }
.bybsa-product .bp-pcs button.is-on { border-color: var(--bh-blue) !important; background: var(--bh-blue-soft) !important; color: var(--bh-blue) !important; box-shadow: inset 0 0 0 1px var(--bh-blue) !important; }
/* Custom pieces per roll (owner 2026-11-13) */
.bybsa-product .bp-pcs-custom { grid-column: 1 / -1; margin: 0 0 12px; padding: 12px; border: 1px solid var(--bh-line); border-radius: 8px; background: #fff; }
.bybsa-product .bp-pcs-custom[hidden], .bybsa-product .bp-tiers [hidden] { display: none !important; }
.bybsa-product .bp-pcs-custom-size { margin: 0 0 10px !important; font-size: 13.5px; color: var(--bh-text); }
.bybsa-product .bp-pcs-custom-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bybsa-product .bp-pcs-custom-fields label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 12.5px; font-weight: 600; color: var(--bh-text); }
.bybsa-product .bp-pcs-custom-fields input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--bh-line); border-radius: 6px; font-size: 15px; font-weight: 700; color: var(--bh-ink); background: #fff; }
.bybsa-product .bp-pcs-custom-fields input:focus { border-color: var(--bh-blue); outline: none; box-shadow: 0 0 0 2px var(--bh-blue-soft); }
.bybsa-product .bp-pcs-custom-fields input.is-bad { border-color: #dc2626; }
.bybsa-product .bp-pcs-custom-note { margin: 8px 0 0 !important; font-size: 12px; color: #64748b; }
.bybsa-product .bp-pcs-one { margin: 0 0 10px !important; font-size: 13.5px; font-weight: 600; color: var(--bh-text); }
.bybsa-product .bp-tiers.is-quote button[data-min] { justify-content: center; align-items: center; height: 100% !important; min-height: 56px !important; }
.bybsa-product .bp-tiers.is-quote .bp-tiers-qty { font-size: 14.5px; font-weight: 700; color: var(--bh-ink); }
.bybsa-product .bp-tiers.is-quote button.is-on .bp-tiers-qty { color: var(--bh-blue); }
.bybsa-product .bp-tiers.is-quote .bp-tiers-bulk { justify-content: center; align-items: center; gap: 0; min-height: 56px; box-sizing: border-box; line-height: 1.2; }
.bybsa-product .bp-tiers.is-quote .bp-tiers-bulk .bp-tiers-price { font-size: 13px; font-weight: 600; line-height: 1.2; }
/* Priced packs: every box in a row the same height, "Bulk · Get a quote" included (2026-10-27) */
.bybsa-product .bp-tiers.is-packs:not(.is-quote) li { display: flex; }
.bybsa-product .bp-tiers.is-packs:not(.is-quote) li > button, .bybsa-product .bp-tiers.is-packs:not(.is-quote) .bp-tiers-bulk { height: 100% !important; min-height: 64px !important; box-sizing: border-box; justify-content: center; }
.bybsa-product .bp-tiers.is-packs:not(.is-quote) .bp-tiers-bulk { gap: 2px; }
.bybsa-product .bp-tiers.is-quote .bp-tiers-sum span { color: var(--bh-muted); font-weight: 500; }
.bybsa-product .bp-rfq-choice { margin: 0 0 12px !important; padding: 8px 12px; border-radius: 6px; background: #fff; border: 1px solid #cfe3ff; font-size: 14px; font-weight: 600; color: var(--bh-ink); }
.bybsa-product .bp-rfq-choice:empty { display: none; }
.bybsa-product #section-rfq-inline input[name="quantity"] { text-align: left; }
.bybsa-product .bp-tiers .bp-pcs button { width: auto !important; flex-direction: row !important; align-items: center !important; }

/* "Used in" industry links (inc/industries.php): one quiet line under the sections, mainly for search engines */
.bybsa-product .bp-usedin { margin: 4px 0 16px !important; font-size: 13px; line-height: 1.7; color: var(--bh-muted); }
.bybsa-product .bp-usedin span { font-weight: 600; }
.bybsa-product .bp-usedin a { color: var(--bh-muted) !important; text-decoration: none; }
.bybsa-product .bp-usedin a:hover { color: var(--bh-blue) !important; text-decoration: underline; }
.bybsa-product .bp-usedin i { font-style: normal; color: #cbd5e1; }
.bybsa-product .bp-pcs button em { margin-left: 6px; padding: 0 5px; border-radius: 4px; background: var(--bh-blue-soft); color: var(--bh-blue); font-size: 11px; font-style: normal; font-weight: 700; }
.bybsa-product .bp-pcs button.is-on em { background: #fff; }
@media (max-width: 767px) { .bybsa-product .bp-pcs { gap: 6px; } .bybsa-product .bp-tiers .bp-pcs button { height: 36px; padding: 0 10px !important; font-size: 13.5px !important; } }

/* Quick overview = facts + key features in one checklist (inc/product-page.php) */
.bybsa-product .bp-features .bp-fact { color: var(--bh-muted); }
.bybsa-product .bp-features .bp-more-link, .bybsa-product .bp-features .bp-more { display: inline-block; margin: 10px 18px 0 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; border: 0 !important; background: none !important; box-shadow: none !important; font-family: inherit; font-size: 14px !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: 0; text-transform: none; vertical-align: baseline; color: var(--bh-blue) !important; }
.bybsa-product .bp-features .bp-more-link:hover { text-decoration: underline; }

/* Industrial printers: media facts + parts (inc/printer-parts.php) */
.bybsa-product .bp-ind-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.bybsa-product .bp-ind-media > div { border: 1px solid var(--bh-line); border-radius: 6px; padding: 8px 10px; background: #f8fafc; min-width: 0; }
.bybsa-product .bp-ind-media dt { font-size: 12px; color: var(--bh-muted); margin: 0; }
.bybsa-product .bp-ind-media dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--bh-ink); line-height: 1.4; }
.bybsa-product .bp-compat-sub { margin: -4px 0 10px !important; font-size: 13.5px; color: var(--bh-muted); }
.bybsa-product .bp-parts-group + .bp-parts-group { margin-top: 18px; }
.bybsa-product .bp-parts-group h3 { margin: 0 0 8px !important; font-size: 16px !important; font-weight: 700; color: var(--bh-ink); }
.bybsa-product .bp-parts { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bybsa-product .bp-parts li { margin: 0 !important; }
.bybsa-product .bp-parts a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--bh-line); border-radius: 6px; color: var(--bh-ink) !important; text-decoration: none !important; }
.bybsa-product .bp-parts a:hover { border-color: var(--bh-blue); }
.bybsa-product .bp-parts img { flex: none; width: 48px !important; height: 48px !important; object-fit: contain; border-radius: 4px; background: #fff; }
.bybsa-product .bp-parts a > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bybsa-product .bp-parts a > span.bp-parts-icon { flex: none; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 6px; background: var(--bh-soft, #eef5ff); color: var(--bh-blue, #0077ff); }
.bybsa-product .bp-parts-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.bybsa-product .bp-parts small { font-size: 12px; color: var(--bh-muted); }
.bybsa-product .bp-fits { order: 2; margin-top: -6px !important; font-size: 13.5px; color: var(--bh-text); }
.bybsa-product .bp-fits-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bybsa-product .bp-fits-links a { padding: 3px 10px; border-radius: 6px; background: var(--bh-blue-soft); color: var(--bh-blue) !important; font-weight: 600; text-decoration: none; }
@media (max-width: 767px) { .bybsa-product .bp-ind-media, .bybsa-product .bp-parts { grid-template-columns: 1fr; } }
.bybsa-product .bp-meta-stock.is-ask { color: var(--bh-blue); }
.bybsa-product .bp-rev .comment-form-rating { padding-left: 0 !important; margin-left: 0 !important; gap: 10px; align-items: center; }

/* Out of stock: in-stock alternatives box in the buy area */
.bybsa-product .bp-oos { margin: 6px 0 16px; padding: 14px 16px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 10px; }
.bybsa-product .bp-oos-head { margin: 0 0 10px !important; font-size: 15px; color: var(--bh-ink); }
.bybsa-product .bp-oos-head strong { color: #15803d; }
.bybsa-product .bp-oos-head strong::before { content: "✓ "; }
.bybsa-product .bp-oos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bybsa-product .bp-oos li a { display: flex; gap: 10px; align-items: center; padding: 8px; background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; text-decoration: none !important; height: 100%; box-sizing: border-box; }
.bybsa-product .bp-oos li a:hover { border-color: var(--bh-blue); }
.bybsa-product .bp-oos li img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.bybsa-product .bp-oos-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 600; color: var(--bh-ink); line-height: 1.3; }
.bybsa-product .bp-oos-price { display: block; margin-top: 3px; font-size: 13px; font-weight: 700; color: var(--bh-ink); }
.bybsa-product .bp-oos-price em { font-style: normal; font-weight: 600; color: #15803d; }
.bybsa-product .bp-oos-note { margin: 10px 0 0 !important; font-size: 13px; color: var(--bh-muted); }
@media (max-width: 767px) { .bybsa-product .bp-oos ul { grid-template-columns: 1fr; } }

/* Bulk prices: wholesale / distributor line at the end of the box (owner 2026-10-27) */
.bybsa-product .bp-tiers-trade { margin: 10px 0 0 !important; padding-top: 10px; border-top: 1px dashed var(--bh-line); font-size: 13.5px; color: var(--bh-muted); }
.bybsa-product .bp-tiers-trade a { font-weight: 700; color: var(--bh-blue); text-decoration: none; white-space: nowrap; }
.bybsa-product .bp-tiers-trade a:hover { text-decoration: underline; }
.bybsa-product .bp-tiers:not(.is-packs) .bp-tiers-off { position: static; display: block; width: max-content; margin-top: 4px; }
.bybsa-product .bp-tiers-trade.bp-trade-only { margin: 4px 0 14px !important; padding: 10px 12px; border: 1px dashed var(--bh-line); border-radius: 8px; background: #fff; }
.bybsa-product .bp-tiers-trade a.bp-trade-wa { display: inline-flex; align-items: center; gap: 5px; color: #15803d; }
.bybsa-product .bp-tiers-trade a.bp-trade-wa svg { width: 15px; height: 15px; fill: currentColor; }

/* pack boxes on a sale: old price per roll struck through (owner 2026-10-27) */
.bybsa-product .bp-tiers .bp-tiers-was { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; color: var(--bh-muted); text-decoration: line-through; }
.bybsa-product .bp-tiers .bp-tiers-was .woocommerce-Price-amount { color: inherit; font-weight: inherit; }

/* availability: made to order / pre-order (bybsa_pp_availability) */
.bybsa-product .bp-meta-stock.is-mto, .bp-buybar-price small.is-mto { color: #b45309; }
.bybsa-product .bp-meta-stock.is-pre, .bp-buybar-price small.is-pre { color: #7c3aed; }
.bybsa-product .bp-tiers-qty .bp-tiers-rolls { display: block; font-size: 12px; font-weight: 500; color: var(--bh-muted); }

/* Quick overview as tiles (owner 2026-11-07). */
.bybsa-product .bp-features-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bybsa-product .bp-features-head h3 { margin: 0 !important; }
.bybsa-product .bp-features .bp-features-head .bp-more { margin: 0; font-size: 13px; white-space: nowrap; }
.bybsa-product .bp-features ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bybsa-product .bp-features li { display: flex; align-items: center; gap: 8px; padding: 6px 9px; background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; transition: border-color .15s ease, box-shadow .15s ease; }
.bybsa-product .bp-features li:hover { border-color: #b9d8ff; box-shadow: 0 2px 8px rgba(0, 119, 255, .08); }
.bybsa-product .bp-features li::before, .bybsa-product .bp-features li::after { display: none; content: none; }
.bybsa-product .bp-features li.is-wide { grid-column: 1 / -1; }
.bybsa-product .bp-features li.is-two { grid-column: span 2; }
.bybsa-product .bp-features li > div { min-width: 0; }
.bybsa-product .bp-fact-i { flex: 0 0 26px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--bh-blue-soft); color: var(--bh-blue); }
.bybsa-product .bp-fact-i svg { width: 15px; height: 15px; }
.bybsa-product .bp-features .bp-fact { display: block; font-size: 11px; line-height: 1.25; color: var(--bh-muted); }
.bybsa-product .bp-features li strong { display: block; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--bh-ink); overflow-wrap: anywhere; }
@media (max-width: 767px) {
	.bybsa-product .bp-features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.bybsa-product .bp-features li.is-two { grid-column: 1 / -1; }
}

/* Label and POS roll pages (owner 2026-11-07: "still looks huge options"): each choice is one row of small chips with its name
   on the left; the minimum order sits next to the quantity. */
.bybsa-product .bp-buybox.is-media { gap: 10px; padding: 14px 16px; }
.bybsa-product .bp-buybox.is-media > .price { order: 1; font-size: 26px !important; }
.bybsa-product .bp-buybox.is-media > * { order: 2; }
.bybsa-product .bp-buybox.is-media > .bp-moq { order: 3; font-size: 12.5px; }
.bybsa-product .bp-buybox.is-media > form.cart, .bybsa-product .bp-buybox.is-media > .bp-actions { order: 4; }
.bybsa-product .bp-buybox.is-media .bp-ask-price { font-size: 22px; }
.bybsa-product .bp-buybox.is-media .bp-ask-sub { font-size: 12.5px; }
.bybsa-product .bp-buybox.is-media .bp-tiers { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.bybsa-product .bp-buybox.is-media .bp-tiers-head { margin: 0 !important; display: block; }
.bybsa-product .bp-buybox.is-media .bp-tiers-head strong { font-size: 13px; font-weight: 600; white-space: nowrap; }
.bybsa-product .bp-buybox.is-media .bp-tiers-head span { display: none; }
.bybsa-product .bp-buybox.is-media .bp-tiers-sum, .bybsa-product .bp-buybox.is-media .bp-tiers-trade, .bybsa-product .bp-buybox.is-media .bp-pcs-one { grid-column: 1 / -1; margin: 0 !important; font-size: 12.5px; }
.bybsa-product .bp-buybox.is-media .bp-tiers-trade { padding-top: 8px; }
.bybsa-product .bp-buybox.is-media .bp-tiers ul, .bybsa-product .bp-buybox.is-media .bp-tiers.is-packs ul, .bybsa-product .bp-buybox.is-media .bp-pcs { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 !important; }
.bybsa-product .bp-buybox.is-media .bp-tiers li { display: block !important; margin: 0 !important; grid-column: auto !important; }
.bybsa-product .bp-buybox.is-media .bp-tiers button, .bybsa-product .bp-buybox.is-media .bp-tiers .bp-pcs button, .bybsa-product .bp-buybox.is-media .bp-tiers-bulk {
	display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 5px !important;
	width: auto !important; height: 30px !important; min-height: 0 !important; padding: 0 10px !important; border-radius: 6px !important; font-size: 12.5px !important; line-height: 1 !important; white-space: nowrap; box-sizing: border-box;
}
.bybsa-product .bp-buybox.is-media .bp-tiers.is-packs:not(.is-quote) li > button, .bybsa-product .bp-buybox.is-media .bp-tiers.is-packs:not(.is-quote) .bp-tiers-bulk, .bybsa-product .bp-buybox.is-media .bp-tiers.is-quote button[data-min], .bybsa-product .bp-buybox.is-media .bp-tiers.is-quote .bp-tiers-bulk { height: 30px !important; min-height: 0 !important; }
.bybsa-product .bp-buybox.is-media .bp-tiers-qty, .bybsa-product .bp-buybox.is-media .bp-tiers.is-quote .bp-tiers-qty { font-size: 12.5px !important; font-weight: 600; color: var(--bh-ink); white-space: nowrap; }
.bybsa-product .bp-buybox.is-media .bp-tiers button.is-on .bp-tiers-qty { color: var(--bh-blue); }
.bybsa-product .bp-buybox.is-media .bp-tiers-price { font-size: 12.5px !important; font-weight: 700; line-height: 1; }
.bybsa-product .bp-buybox.is-media .bp-tiers-was, .bybsa-product .bp-buybox.is-media .bp-tiers-rolls, .bybsa-product .bp-buybox.is-media .bp-tiers-off { display: none !important; }
.bybsa-product .bp-buybox.is-media .bp-tiers-bulk .bp-tiers-qty { color: var(--bh-blue); }
.bybsa-product .bp-buybox.is-media .bp-tiers-bulk .bp-tiers-price { display: none; }
.bybsa-product .bp-buybox.is-media .bp-tiers-bulk .bp-tiers-qty::after { content: " quote"; }
@media (max-width: 767px) {
	.bybsa-product .bp-buybox.is-media { padding: 0; }
	.bybsa-product .bp-buybox.is-media .bp-tiers { grid-template-columns: minmax(0, 1fr); gap: 5px; }
	.bybsa-product .bp-buybox.is-media .bp-tiers ul, .bybsa-product .bp-buybox.is-media .bp-pcs { margin-bottom: 5px !important; }
}

/* Phones: the facts (Quick overview) above the price and buy buttons, as on computers (owner 2026-11-13: "move this to
   upper"; on 2026-11-07 the price came first). */
@media (max-width: 767px) {
	.bybsa-product .summary-inner > .bp-overview, .bybsa-product .summary-inner > .bp-features { order: 3; }
	.bybsa-product .summary-inner > .bp-buybox { order: 4; }
	.bybsa-product .summary-inner > .bp-actions, .bybsa-product .summary-inner > .bp-actions-alt { order: 5; }
}

/* Top of the product page: white across the full page width, not a card on grey (owner 2026-11-07). The content keeps its width. */
.bybsa-product .single-breadcrumbs-wrapper { background: #fff; }
.bybsa-product .product-image-summary { border: 0; border-radius: 0; background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }

/* Discontinued models and alternatives (inc/discontinued.php). */
.bybsa-product .bp-meta-stock.is-disc { color: #dc2626; }
.bp-is-discontinued .product-images .product-labels { display: none !important; }
.bybsa-product .bp-disc-title { margin: 0 !important; font-size: 16px; font-weight: 700; color: var(--bh-ink); }
.bybsa-product .bp-disc-sub { margin: 2px 0 10px !important; font-size: 13.5px; color: var(--bh-muted); }
.bybsa-product .bp-alts { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.bybsa-product .bp-alts li { margin: 0 !important; }
.bybsa-product .bp-alts a { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; text-decoration: none !important; }
.bybsa-product .bp-alts a:hover { border-color: #b9d8ff; }
.bybsa-product .bp-alts img { flex: 0 0 48px; width: 48px !important; height: 48px !important; object-fit: contain; }
.bybsa-product .bp-alts span { flex: 1; min-width: 0; }
.bybsa-product .bp-alts strong { display: block; font-size: 13.5px; line-height: 1.3; font-weight: 600; color: var(--bh-ink); }
.bybsa-product .bp-alts em { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: var(--bh-ink); }
.bybsa-product .bp-alts b { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--bh-blue); }

/* Model / size choice on variable products (owner 2026-11-12: "variations under one product"). Full-width list, label above. */
.bybsa-product .bp-buybox form.variations_form table.variations, .bybsa-product .bp-buybox form.variations_form table.variations tbody, .bybsa-product .bp-buybox form.variations_form table.variations tr, .bybsa-product .bp-buybox form.variations_form table.variations th, .bybsa-product .bp-buybox form.variations_form table.variations td { display: block; width: 100%; padding: 0; border: 0; }
.bybsa-product .bp-buybox form.variations_form table.variations { margin: 0 0 10px; }
.bybsa-product .bp-buybox form.variations_form table.variations th { margin-bottom: 5px; font-size: 13px; font-weight: 600; }
.bybsa-product .bp-buybox form.variations_form table.variations select { width: 100% !important; max-width: none !important; height: 42px; font-size: 14px; color: var(--bh-ink); }
.bybsa-product .bp-buybox form.variations_form .reset_variations { display: none !important; }
/* Chips instead of the dropdown (product.js); the dropdown stays hidden for WooCommerce */
.bybsa-product form.variations_form select.bp-var-hidden { display: none !important; }
.bybsa-product form.variations_form .bp-var-chips { margin: 0; }
.bybsa-product form.variations_form .wd-reset-var { display: none !important; } /* holds only the hidden "Clear options" link, but took a 22 px line */
/* No big gap between the chips, the model note and the buttons (owner 2026-11-12: "huge gap"): the theme leaves the note 20 px
   lower after its fade-in, and the note and the (often empty) stock line each had 20 px below */
.bybsa-product .bp-buybox form.variations_form table.variations { margin-bottom: 0 !important; }
.bybsa-product form.variations_form .single_variation { transform: none !important; animation: none !important; }
.bybsa-product form.variations_form .single_variation_wrap .woocommerce-variation-description { margin: 0 0 10px !important; }
.bybsa-product form.variations_form .single_variation_wrap .woocommerce-variation-description p { margin: 0 !important; }
.bybsa-product form.variations_form .single_variation_wrap .woocommerce-variation-availability { display: block; margin: 0 0 10px !important; }
.bybsa-product form.variations_form .single_variation_wrap .woocommerce-variation-availability:not(:has(p)), .bybsa-product form.variations_form .single_variation_wrap .woocommerce-variation-description:not(:has(*)) { display: none !important; }
.bybsa-product form.variations_form .single_variation_wrap .woocommerce-variation-availability p { margin: 0 !important; }
.bybsa-product form.variations_form .bp-var-chips button { height: auto; min-height: 38px !important; padding: 7px 14px !important; line-height: 1.3; text-align: left; font-weight: 600 !important; }
.bybsa-product form.variations_form .bp-var-chips button.is-on { font-weight: 700 !important; }
.bybsa-product form.variations_form .bp-var-chips button:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.bybsa-product .bp-buybox form.variations_form .woocommerce-variation-description p { margin: 0 0 6px; font-size: 13.5px; color: #475569; }
.bybsa-product .bp-buybox form.variations_form .woocommerce-variation-availability p { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #0f7b3f; }
.bybsa-product .bp-buybox form.variations_form .woocommerce-variation-availability p.available-on-backorder { color: #b45309; }
.bybsa-product .bp-buybox form.variations_form .woocommerce-variation-price { display: none; } /* the price above already changes */
/* Model comparison table in the description */
.bp-models { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.bp-models th, .bp-models td { padding: 8px 10px; border: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.bp-models th { background: #f8fafc; font-weight: 600; }
@media (max-width: 767px) { .bp-models { display: block; overflow-x: auto; white-space: nowrap; } }

/* No grey band between the menu bar and the breadcrumb strip (owner 2026-11-13, "why this gap?"): the theme's 20 px top padding
   on the content showed the grey page background there. */
body.single-product main.wd-content-layout { padding-top: 0 !important; }

/* Share buttons on the breadcrumb row (inc/product-page.php, product.js) */
.single-breadcrumbs-wrapper .wd-grid-f { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.bp-share { display: flex; align-items: center; gap: 6px; margin-left: auto; position: relative; }
.bp-share[hidden] { display: none !important; }
.bp-share-label { margin-right: 2px; font-size: 13px; font-weight: 600; color: #64748b; }
.bp-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-height: 0 !important; padding: 0 !important; border: 1px solid var(--bh-line, #e2e8f0) !important; border-radius: 50% !important; background: #fff !important; color: #475569 !important; font-size: 15px; line-height: 1; box-shadow: none !important; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.bp-share-btn:hover { background: #f8fafc !important; }
.bp-share-wa:hover { color: #25d366 !important; border-color: #25d366 !important; }
.bp-share-ms:hover { color: #0084ff !important; border-color: #0084ff !important; }
.bp-share-link:hover { color: var(--bh-blue, #0077ff) !important; border-color: var(--bh-blue, #0077ff) !important; }
.bp-share-done { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; white-space: nowrap; font-size: 12px; font-weight: 600; color: #0f7b3f; }
.bp-share-done:empty { display: none; }
@media (max-width: 767px) { .bp-share-label { display: none; } .bp-share-btn { width: 30px; height: 30px; font-size: 14px; } }

/* Variable products on phones (owner 2026-11-13, "total broken"): the form also has the "cart" class, so the one-line
   quantity + buttons rule put the choices, note and buttons side by side. Stack the form; only the button row stays one line. */
.bybsa-product .bp-buybox form.variations_form { display: block !important; }
.bybsa-product .bp-buybox form.variations_form table.variations { margin: 0 0 10px !important; }
.bybsa-product .bp-buybox form.variations_form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
@media (max-width: 767px) {
	.bybsa-product .bp-buybox form.variations_form .woocommerce-variation-add-to-cart { flex-wrap: nowrap; gap: 8px; }
	.bybsa-product .bp-buybox form.variations_form .bp-var-chips { gap: 6px; }
}

/* Phones, product page polish (owner 2026-11-13: "look the mobile version and make it more better experience") */
@media (max-width: 767px) {
	/* share icons on the breadcrumb line, not a row of their own above the photo */
	.single-breadcrumbs-wrapper .wd-grid-f { flex-wrap: nowrap; gap: 10px; }
	.single-breadcrumbs-wrapper .wd-grid-f > .wd-breadcrumbs { flex: 1 1 auto; min-width: 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent); }
	/* "Home" goes (the logo does that), so the category and brand fit beside the share icons */
	.bybsa-product .single-breadcrumbs-wrapper .wd-breadcrumbs > a:first-child, .bybsa-product .single-breadcrumbs-wrapper .wd-breadcrumbs > a:first-child + .wd-delimiter { display: none !important; }
	.bp-share { flex: 0 0 auto; gap: 5px; }
	.bp-share-btn { width: 28px; height: 28px; font-size: 13px; }

	/* Quick overview: one tidy list (label left, value right) instead of tiles with holes */
	.bybsa-product .bp-features ul { display: block !important; border: 1px solid var(--bh-line); border-radius: 10px; background: #fff; overflow: hidden; }
	.bybsa-product .bp-features li, .bybsa-product .bp-features li.is-wide, .bybsa-product .bp-features li.is-two { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 9px 12px; border: 0; border-bottom: 1px solid #eef2f7; border-radius: 0; box-shadow: none !important; }
	.bybsa-product .bp-features li:last-child { border-bottom: 0; }
	.bybsa-product .bp-features li > div { flex: 1 1 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
	.bybsa-product .bp-features .bp-fact { flex: 0 0 auto; max-width: 42%; font-size: 12.5px; line-height: 1.35; }
	.bybsa-product .bp-features li strong { flex: 1 1 auto; text-align: right; font-size: 13.5px; line-height: 1.35; }
	.bybsa-product .bp-features li > div:not(:has(.bp-fact)) strong { text-align: left; }
	.bybsa-product .bp-features .bp-fact-i { flex: 0 0 auto; }
}

/* Share area as one box (owner 2026-11-14: "share area make a box"): a pill with a light background; the icons inside
   have no rings of their own. */
.bp-share { padding: 4px 6px 4px 12px; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 999px; background: #f8fafc; gap: 2px; }
.bp-share-label { margin-right: 4px; }
.bp-share-btn { border-color: transparent !important; background: transparent !important; }
.bp-share-btn:hover { background: #fff !important; }
@media (max-width: 767px) { .bp-share { padding: 3px 4px; } .bp-share-btn { width: 28px; height: 28px; } }
/* Slimmer share box (owner 2026-11-14: "reduce the top, bottom space") */
.bp-share { padding: 1px 4px 1px 12px; }
.bp-share-btn { width: 28px !important; height: 28px !important; }
@media (max-width: 767px) { .bp-share { padding: 1px 3px; } .bp-share-btn { width: 26px !important; height: 26px !important; } }

/* Hand-picked alternatives: their own box at the top of the right sidebar, above Related products (owner 2026-11-14) */
.bp-side .bp-side-box + .bp-side-box { margin-top: 14px; }
.bp-side .bp-side-alts { border-color: #cfe3ff; }
.bp-side .bp-side-alts h3 { margin-bottom: 0 !important; }
.bp-side .bp-side-sub { margin: 2px 0 10px; font-size: 12.5px; color: #64748b; }
.bybsa-product .bp-side .bp-side-alts { position: relative; top: auto; } /* only Related products stays pinned while scrolling */
