/* Bybsa inner pages (inc/pages.php). Prefix bp-; product cards reuse the home page's bh-card. Loads with the new header + footer. */
.bybsa-pages {
	--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);
	--bh-shadow-h: 0 10px 28px rgba(0, 119, 255, .16);
	/* WoodMart's own buttons, links and fields follow the same look (was green, pill-shaped) */
	--btn-accented-bgcolor: #0077ff;
	--btn-accented-bgcolor-hover: #005fd1;
	--btn-accented-brd-radius: 6px;
	--btn-default-brd-radius: 6px;
	--wd-form-brd-radius: 6px;
	--wd-brd-radius: 8px;
	--wd-link-color-hover: #0077ff;
	--wd-title-color: #0f172a;
	--wd-text-color: #334155;
}
.bybsa-pages .bp-wrap { max-width: 1230px; margin: 0 auto; padding: 0 15px; }
.bybsa-pages .bp-head *, .bybsa-pages .bh-card *, .bybsa-pages .bp-empty * { box-sizing: border-box; }

/* ---------- Buttons (same system as the home page) ---------- */
.bybsa-pages .bh-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	height: 46px; min-height: 0 !important; padding: 0 22px !important; margin: 0 !important;
	border-radius: 6px !important; font-family: var(--wd-text-font, inherit) !important;
	font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: 0 !important;
	text-transform: none !important; white-space: nowrap; cursor: pointer; text-decoration: none !important;
	box-shadow: none !important; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bybsa-pages .bh-btn-main { background: var(--bh-blue) !important; color: #fff !important; border: 0 !important; }
.bybsa-pages .bh-btn-main:hover { background: var(--bh-blue-d) !important; }
.bybsa-pages .bh-btn-wa { background: #25d366 !important; color: #fff !important; border: 0 !important; }
.bybsa-pages .bh-btn-wa:hover { background: #1faa55 !important; }
.bybsa-pages .bh-btn-line { background: #fff !important; color: var(--bh-blue) !important; border: 1px solid #bfd7f7 !important; }
.bybsa-pages .bh-btn-line:hover { background: var(--bh-blue-soft) !important; border-color: var(--bh-blue) !important; }

/* ---------- Product card ---------- */
.bybsa-pages .bh-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--bh-line); border-radius: var(--bh-r); overflow: hidden; box-shadow: var(--bh-shadow); transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; text-align: left; }
.bybsa-pages .bh-card:hover { border-color: #b9d8ff; box-shadow: var(--bh-shadow-h); transform: translateY(-2px); }
.bybsa-pages .bh-card-img { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 12px; }
.bybsa-pages .bh-card-img img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.bybsa-pages .bh-badge { position: absolute; top: 10px; left: 10px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 2px 7px; line-height: 1.5; }
.bybsa-pages .bh-badge-out { left: auto; right: 10px; background: #64748b; }
.bybsa-pages .bh-card-body { display: flex; flex-direction: column; flex: 1; gap: 5px; padding: 6px 14px 14px; }
.bybsa-pages .bh-card-brand { display: block; min-height: 16px; line-height: 16px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--bh-muted); font-weight: 600; }
.bybsa-pages .bh-card-colours { display: flex; align-items: center; gap: 4px; margin: 2px 0 6px; }
.bybsa-pages .bh-card-colours .bh-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .2); }
.bybsa-pages .bh-card-colours .bh-dot.is-on { box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px #0077ff; }
.bybsa-pages .bh-card-colours small { margin-left: 4px; font-size: 12px; color: var(--bh-muted); }
.bybsa-pages .bh-card-title { margin: 0 !important; font-family: var(--wd-text-font, inherit) !important; font-size: 14.5px !important; line-height: 1.4 !important; font-weight: 600 !important; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bybsa-pages .bh-card-title a { color: var(--bh-ink); text-decoration: none; }
.bybsa-pages .bh-card-title a:hover { color: var(--bh-blue); }
.bybsa-pages .bh-card-price { margin-top: auto; min-height: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-weight: 700; font-size: 17px; color: var(--bh-ink); }
.bybsa-pages .bh-card-price del { color: #94a3b8; font-weight: 500; font-size: 13px; margin-right: 2px; opacity: 1; }
.bybsa-pages .bh-card-price ins { text-decoration: none; }
.bybsa-pages .bh-card-price .amount { color: inherit; }
.bybsa-pages .bh-ask { display: inline-block; font-size: 13px; font-weight: 600; color: var(--bh-blue); background: var(--bh-blue-soft); border-radius: 4px; padding: 3px 9px; }
.bybsa-pages .bh-card .bh-btn { height: 38px; width: 100%; padding: 0 12px !important; font-size: 14px !important; margin-top: 10px !important; }
.bybsa-pages .bh-card .bh-btn-cart { background: var(--bh-blue-soft) !important; color: var(--bh-blue) !important; border: 0 !important; }
.bybsa-pages .bh-card .bh-btn-cart:hover { background: var(--bh-blue) !important; color: #fff !important; }
.bybsa-pages .bh-card .bh-btn-cart.loading { opacity: .6; }
.bybsa-pages .bh-card .bh-btn-cart.added::after { content: " ✓"; }
.bybsa-pages .bh-card .added_to_cart { display: none !important; }

/* WoodMart's product grid around our cards: no tile borders / backgrounds, even gaps, equal heights */
.bybsa-pages .wd-products .wd-product { border: 0 !important; background: none !important; box-shadow: none !important; }
.bybsa-pages .wd-products .wd-product::before, .bybsa-pages .wd-products .wd-product::after { display: none !important; }
.bybsa-pages .wd-products .wd-product > .bh-card { width: 100%; }
.bybsa-pages .wd-products .wd-product:hover { z-index: 2; }
/* listings: 4 per row on desktop = 3 full rows of WoodMart's 12 per page (page URLs stay the same) */
.bybsa-listing .wd-products.elements-grid { --wd-col-lg: 4 !important; }
.bybsa-pages .products-bordered-grid-ins, .bybsa-pages .wd-products-with-bg { --wd-bordered-brd: transparent; --wd-prod-bg: transparent; }

/* ---------- Listing pages: heading band ---------- */
.bybsa-listing .main-page-wrapper, .bybsa-listing .wd-page-content { background: var(--bh-bg) !important; padding-top: 0 !important; }
.bybsa-listing .wd-page-title { display: none !important; }
.bp-head { background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--bh-bg) 100%); border-bottom: 1px solid var(--bh-line); padding: 18px 0 22px; margin-bottom: 22px; font-family: var(--wd-text-font, inherit); }
.bp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--bh-muted); margin-bottom: 12px; }
.bp-crumbs a { color: var(--bh-muted); text-decoration: none; }
.bp-crumbs a:hover { color: var(--bh-blue); }
.bp-crumbs .bp-sep, .bp-crumbs .wd-delimiter { color: #cbd5e1; }
.bp-crumbs .wd-delimiter::before { content: "/" !important; font-family: inherit !important; font-size: 13px; margin: 0; }
.bp-crumbs .wd-delimiter::after { display: none !important; }
.bp-crumbs .wd-last { color: var(--bh-ink); font-weight: 600; }
.bp-head-row { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: center; }
.bybsa-pages .bp-title { font-family: var(--wd-title-font, inherit); font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--bh-ink); margin: 0 0 8px; }
.bp-lead { font-size: 15.5px; line-height: 1.6; color: var(--bh-text); margin: 0 0 12px; max-width: 720px; }
.bp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-facts li { margin: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--bh-text); background: #fff; border: 1px solid var(--bh-line); border-radius: 6px; padding: 5px 12px; }
.bp-facts li strong { color: var(--bh-blue); }
.bp-help { background: var(--bh-blue-soft); border: 1px solid #cfe3ff; border-radius: var(--bh-r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.bp-help strong { font-family: var(--wd-title-font, inherit); font-size: 17px; color: var(--bh-ink); line-height: 1.3; }
.bp-help small { font-size: 13.5px; color: var(--bh-text); line-height: 1.5; }
.bp-help-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.bp-help .bh-btn { flex: 1 1 0; height: 42px; padding: 0 14px !important; font-size: 14.5px !important; }

/* sub-category chips with photos */
.bp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bp-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; padding: 5px 14px 5px 5px; color: var(--bh-ink) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; transition: border-color .15s ease, box-shadow .15s ease, color .15s ease; }
.bp-chip:hover { border-color: var(--bh-blue); color: var(--bh-blue) !important; box-shadow: var(--bh-shadow); }
.bp-chip.is-active { border-color: var(--bh-blue); background: var(--bh-blue); color: #fff !important; }
.bp-chip-img { width: 44px !important; height: 44px !important; border-radius: 6px; object-fit: contain; background: #fff; display: block; flex: 0 0 auto; }
.bp-chip.is-active .bp-chip-img { background: #fff; }

/* ---------- Listing pages: toolbar, grid, pagination, description ---------- */
.bybsa-listing .wd-content-layout { padding-top: 0 !important; padding-bottom: 48px !important; }
.bybsa-listing .shop-loop-head { background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; padding: 8px 8px 8px 16px; margin-bottom: 16px !important; min-height: 0; align-items: center; }
.bybsa-listing .shop-loop-head .wd-breadcrumbs,
.bybsa-listing .wd-products-shop-view,
.bybsa-listing .wd-products-per-page { display: none !important; }
.bybsa-listing .woocommerce-result-count { display: block !important; margin: 0 !important; font-size: 14px; color: var(--bh-muted); }
.bybsa-listing .shop-loop-head .wd-shop-tools { margin: 0 !important; }
/* sort dropdown (owner board "fix this"): the theme squashed it to a thin strip — a full-height box with a "Sort by" label */
@media (min-width: 768px) { /* phones keep the theme's sort icon */
.bybsa-listing .woocommerce-ordering { display: flex; align-items: center; gap: 10px; margin: 0 !important; }
.bybsa-listing .woocommerce-ordering::before { content: "Sort by"; font-size: 13.5px; font-weight: 600; color: var(--bh-muted); white-space: nowrap; }
.bybsa-listing .woocommerce-ordering select { height: 40px !important; min-height: 40px !important; line-height: 38px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; padding: 0 36px 0 14px !important; font-size: 14px !important; font-weight: 600; color: var(--bh-ink) !important; min-width: 210px; cursor: pointer;
	appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px !important; }
.bybsa-listing .woocommerce-ordering select:hover { border-color: var(--bh-blue) !important; }
.bybsa-listing .woocommerce-ordering select:focus { border-color: var(--bh-blue) !important; box-shadow: 0 0 0 3px rgba(0, 119, 255, .12) !important; outline: none; }
}
.bybsa-listing .woocommerce-notices-wrapper .woocommerce-message { border-radius: 8px; }
.bybsa-pages .wd-pagination { margin-top: 28px; }
.bybsa-pages .wd-pagination .page-numbers li { margin: 0 3px; }
.bybsa-pages .wd-pagination .page-numbers a, .bybsa-pages .wd-pagination .page-numbers span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: #fff; border: 1px solid var(--bh-line); color: var(--bh-ink); font-weight: 700; padding: 0 12px; }
.bybsa-pages .wd-pagination .page-numbers a:hover { border-color: var(--bh-blue); color: var(--bh-blue); }
.bybsa-pages .wd-pagination .page-numbers .current { background: var(--bh-blue); border-color: var(--bh-blue); color: #fff; }
.bybsa-listing .term-description, .bybsa-listing .wd-term-desc, .bybsa-listing .woocommerce-products-header__description { background: #fff; border: 1px solid var(--bh-line); border-radius: var(--bh-r); padding: 24px 28px; margin-top: 32px; color: var(--bh-text); font-size: 15px; line-height: 1.7; }
.bybsa-listing .term-description h2, .bybsa-listing .term-description h3 { font-size: 20px; margin: 18px 0 8px; color: var(--bh-ink); }
.bybsa-listing .term-description > :first-child { margin-top: 0; }

/* nothing found */
.bybsa-listing .woocommerce-no-products-found { display: none; }
.bp-empty { background: #fff; border: 1px solid var(--bh-line); border-radius: var(--bh-r); padding: 32px; text-align: center; box-shadow: var(--bh-shadow); max-width: 760px; margin: 0 auto; }
.bp-empty strong { display: block; font-family: var(--wd-title-font, inherit); font-size: 22px; color: var(--bh-ink); margin-bottom: 8px; }
.bp-empty p { color: var(--bh-text); margin: 0 auto 6px; max-width: 560px; }
.bp-empty .bp-help-btns { justify-content: center; }

@media (max-width: 1024px) {
	.bp-head-row { grid-template-columns: 1fr; gap: 16px; }
	.bp-help { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
	.bp-help > strong, .bp-help > small { flex: 1 1 100%; }
	.bp-help-btns { margin-top: 6px; }
}
@media (max-width: 767px) {
	.bp-head { padding: 12px 0 16px; margin-bottom: 14px; }
	.bp-crumbs { font-size: 12.5px; margin-bottom: 8px; }
	.bybsa-pages .bp-title { font-size: 24px; }
	.bp-lead { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.bp-facts li { font-size: 12.5px; padding: 4px 10px; }
	.bp-facts li:nth-child(n+3) { display: none; }
	.bp-help { padding: 14px; }
	.bp-help small { display: none; }
	.bp-help .bh-btn { height: 40px; }
	.bp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -15px 0; padding: 0 15px 2px; }
	.bp-chips::-webkit-scrollbar { display: none; }
	.bp-chip { flex: 0 0 auto; font-size: 13.5px; }
	.bp-chip-img { width: 32px !important; height: 32px !important; }
	.bybsa-listing .shop-loop-head { padding: 6px 6px 6px 12px; }
	.bybsa-listing .woocommerce-ordering select { min-width: 0; }
	.bybsa-pages .bh-card-body { padding: 4px 10px 10px; }
	.bybsa-pages .bh-card-title { font-size: 13.5px !important; }
	.bybsa-pages .bh-card-price { font-size: 15.5px; }
	.bybsa-pages .bh-card .bh-btn { height: 36px; font-size: 13px !important; }
	.bybsa-pages .bh-card-img { padding: 8px; }
	.bp-empty { padding: 22px 16px; }
	.bp-empty .bh-btn { flex: 1 1 100%; }
}

/* Same content width as the header, footer and home page (1200px of content) */
.bybsa-pages .main-page-wrapper > .container, .bybsa-pages .wd-content-layout.container { max-width: 1230px; padding-left: 15px; padding-right: 15px; }
.bybsa-listing .shop-loop-head:not(:has(.woocommerce-result-count)) { display: none !important; }
.bybsa-listing .no-products-footer { display: none; } /* the header search is right above */
.bybsa-listing .bp-empty { margin-top: 4px; }

/* ---------- Phones: category / search / brand pages (2026-10-16) ---------- */
@media (max-width: 767px) {
	.bp-head .bp-lead, .bp-head .bp-facts { display: none !important; }
	.bp-head .bp-title { margin-bottom: 10px; }
	/* bulk box: one slim row */
	.bp-help { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 10px !important; padding: 10px 12px !important; }
	.bp-help > strong { flex: 1 1 auto !important; font-size: 13.5px; line-height: 1.3; }
	.bp-help > small { display: none !important; }
	.bp-help .bp-help-btns { margin: 0 !important; flex: 0 0 auto; flex-wrap: nowrap; gap: 6px; }
	.bp-help .bh-btn { height: 36px !important; padding: 0 12px !important; font-size: 13px !important; flex: 0 0 auto !important; }
	.bp-help .bh-btn-wa { display: none !important; }
	/* cards: no brand line, no "Get a quote" button (the card opens the product) */
	.bybsa-pages .bh-card-brand { display: none !important; }
	.bybsa-pages .wd-products .bh-card .bh-btn-line { display: none !important; }
	.bybsa-pages .bh-card-title { min-height: 0; }
}

/* "/ roll" after prices of products sold per roll (inc/product-fields.php) */
.bp-per { font-size: 13px; font-weight: 600; color: #64748b; }

/* SEO text under a category's products (inc/seo/seo-content.php) */
.bp-seo-text { position: relative; margin: 32px 0 8px; padding: 24px 28px; background: #fff; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; color: var(--bh-text, #334155); font-size: 15px; line-height: 1.75; }
.bp-seo-text[data-collapsed="1"] .bp-seo-text-inner { max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.bp-seo-text h2 { font-size: 20px; margin: 18px 0 8px; color: var(--bh-ink, #0f172a); }
.bp-seo-text h2:first-child { margin-top: 0; }
.bp-seo-text h3 { font-size: 17px; margin: 16px 0 6px; color: var(--bh-ink, #0f172a); }
.bp-seo-table { overflow-x: auto; margin: 12px 0; }
.bp-seo-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bp-seo-table th, .bp-seo-table td { padding: 8px 12px; border-bottom: 1px solid var(--bh-line, #e2e8f0); text-align: left; }
.bp-seo-table th { background: #f8fafc; font-weight: 700; color: var(--bh-ink, #0f172a); }
.bp-seo-table td:last-child { white-space: nowrap; font-weight: 700; }
.bp-seo-updated { font-size: 13px; color: var(--bh-muted, #64748b); }
.bp-seo-faq { display: flex; flex-direction: column; gap: 8px; }
.bp-seo-faq details { border: 1px solid var(--bh-line, #e2e8f0); border-radius: 6px; padding: 10px 14px; }
.bp-seo-faq summary { cursor: pointer; font-weight: 700; color: var(--bh-ink, #0f172a); }
.bp-seo-faq p { margin: 8px 0 0; }
.bp-seo-more { margin-top: 10px; padding: 0 !important; min-height: 0 !important; border: 0 !important; background: none !important; color: var(--bh-blue, #0077ff) !important; font-weight: 700 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; }
@media (max-width: 767px) { .bp-seo-text { padding: 16px 14px; font-size: 14.5px; } }
/* Category text parts (2026-10-26, #w32): lead line, linked type cards, check lists, two-column compare, brand pills, help box */
.bp-seo-text .bp-seo-lead { font-size: 16px; color: var(--bh-ink, #0f172a); }
.bp-seo-text h2 { font-size: 21px !important; line-height: 1.3 !important; margin: 26px 0 8px !important; letter-spacing: -.01em; }
.bp-seo-text h2:first-child { margin-top: 0 !important; }
.bp-seo-text h3 { font-size: 16.5px !important; line-height: 1.35 !important; margin: 0 0 6px !important; }
@media (max-width: 767px) { .bp-seo-text h2 { font-size: 18.5px !important; margin-top: 22px !important; } }
.bp-seo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 12px 0 4px; }
.bp-seo-cards a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; background: #f8fafc; color: var(--bh-text, #334155) !important; text-decoration: none !important; font-size: 14px; line-height: 1.5; transition: border-color .15s ease, background-color .15s ease; }
.bp-seo-cards a:hover { border-color: var(--bh-blue, #0077ff); background: #fff; }
.bp-seo-cards strong { color: var(--bh-ink, #0f172a); font-size: 15px; }
.bp-seo-cards a::after { content: "See products \2192"; margin-top: 2px; color: var(--bh-blue, #0077ff); font-weight: 700; font-size: 13px; }
.bp-seo-text ul.bp-seo-checks { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 6px; }
.bp-seo-text ul.bp-seo-checks li { position: relative; margin: 0; padding-left: 26px; }
.bp-seo-text ul.bp-seo-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 17px; height: 17px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.bp-seo-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.bp-seo-compare > div { padding: 14px 16px; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; }
.bp-seo-compare h3 { margin-top: 0 !important; }
.bp-seo-compare ul { margin: 6px 0 0; padding-left: 18px; }
.bp-seo-brands { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; padding: 0; list-style: none; }
.bp-seo-brands li { margin: 0; padding: 4px 11px; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 6px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--bh-ink, #0f172a); }
.bp-seo-help { margin: 16px 0 0; padding: 14px 16px; border-radius: 8px; background: var(--bh-blue-soft, #eef5ff); color: var(--bh-ink, #0f172a); }
@media (max-width: 767px) { .bp-seo-compare { grid-template-columns: 1fr; } .bp-seo-cards { grid-template-columns: 1fr; } }

/* Made-to-order landing (inc/made-to-order.php, #w34): photo cards, options, steps, quote bar */
.bp-mto { display: flex; flex-direction: column; gap: 18px; margin: 4px 0 8px; }
.bp-mto-sec { padding: 24px 28px; background: #fff; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; }
.bp-mto-sec h2 { margin: 0 0 14px !important; font-size: 21px !important; line-height: 1.3 !important; color: var(--bh-ink, #0f172a); }
.bp-mto-eyebrow { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bh-blue, #0077ff); }
.bp-mto-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bp-mto-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bp-mto-photos a { display: block; aspect-ratio: 1; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; overflow: hidden; background: #fff; }
.bp-mto-photos img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
@media (max-width: 767px) { .bp-mto-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bybsa-listing .bp-mto { margin-top: 28px; }
.bp-mto-card { margin: 0; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; overflow: hidden; background: #fff; }
.bp-mto-card-img { aspect-ratio: 4 / 3; background: #f1f5f9; }
.bp-mto-card-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.bp-mto-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; }
.bp-mto-card strong { font-size: 15px; color: var(--bh-ink, #0f172a); }
.bp-mto-card span { font-size: 13.5px; color: var(--bh-muted, #64748b); line-height: 1.45; }
.bp-mto-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.bp-mto-options > div { padding: 12px 14px; border-radius: 8px; background: #f8fafc; border: 1px solid var(--bh-line, #e2e8f0); }
.bp-mto-options dt { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--bh-muted, #64748b); }
.bp-mto-options dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--bh-ink, #0f172a); line-height: 1.45; }
.bp-mto-steps { list-style: none; counter-reset: mto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.bp-mto-steps li { counter-increment: mto; position: relative; margin: 0; padding: 44px 14px 14px; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; display: flex; flex-direction: column; gap: 4px; }
.bp-mto-steps li::before { content: counter(mto); position: absolute; top: 12px; left: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--bh-blue, #0077ff); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bp-mto-steps strong { font-size: 15px; color: var(--bh-ink, #0f172a); }
.bp-mto-steps span { font-size: 13.5px; color: var(--bh-text, #334155); line-height: 1.5; }
.bp-mto-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-radius: 8px; background: var(--bh-blue-soft, #eef5ff); border: 1px solid #cfe2ff; }
.bp-mto-cta > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.bp-mto-cta strong { font-size: 17px; color: var(--bh-ink, #0f172a); }
.bp-mto-cta span { font-size: 14px; color: var(--bh-text, #334155); }
.bp-mto-sub { margin: 18px 0 8px !important; font-size: 15px !important; color: var(--bh-ink, #0f172a); }
.bp-mto-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.bp-mto-tags li { margin: 0; padding: 5px 11px; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 6px; background: #f8fafc; font-size: 13.5px; font-weight: 600; color: var(--bh-ink, #0f172a); }
.bp-mto-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bp-mto-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.bp-mto-check li { position: relative; margin: 0; padding-left: 26px; font-size: 14.5px; color: var(--bh-text, #334155); }
.bp-mto-check li::before { content: ""; position: absolute; left: 0; top: .25em; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--bh-blue, #0077ff); background: #fff; }
.bp-mto-note { margin: 10px 0 0; font-size: 13.5px; color: var(--bh-muted, #64748b); }
.bp-mto-wind { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; }
.bp-mto-wind li { margin: 0; padding: 10px; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13.5px; color: var(--bh-ink, #0f172a); }
.bp-mto-wind svg { max-width: 100%; height: auto; }
.bp-mto-wind strong { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--bh-blue, #0077ff); color: #fff; font-size: 12px; align-items: center; justify-content: center; margin-right: 4px; }
@media (max-width: 1024px) { .bp-mto-cards, .bp-mto-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp-mto-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp-mto-split { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
	.bp-mto-sec { padding: 16px 14px; }
	.bp-mto-sec h2 { font-size: 18.5px !important; }
	.bp-mto-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.bp-mto-card figcaption { padding: 10px; }
	.bp-mto-options, .bp-mto-steps { grid-template-columns: 1fr; }
	.bp-mto-cta { flex-direction: column; align-items: stretch; padding: 16px 14px; }
	.bp-mto-cta .bp-help-btns { display: grid; grid-template-columns: 1fr; gap: 8px; }
	.bp-mto-cta .bh-btn { width: 100%; justify-content: center; }
}

/* Header band artwork (owner 2026-10-27): own line drawings per page (assets/img/hero-*.svg, corporate-hero.svg), on a
   faint grid, right side; body class bp-art bp-art-<name> (inc/pages.php). */
.bp-art .bp-head { position: relative; overflow: hidden; padding-bottom: 34px;
	background-color: #f5f9ff;
	background-image: linear-gradient(90deg, #f5f9ff 0%, rgba(245, 249, 255, .92) 38%, rgba(245, 249, 255, 0) 62%),
		linear-gradient(rgba(0, 119, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 119, 255, .06) 1px, transparent 1px);
	background-size: 100% 100%, 28px 28px, 28px 28px; }
.bp-art .bp-head::after { content: ""; position: absolute; right: max(16px, calc(50% - 640px)); bottom: 0; width: min(560px, 44vw); aspect-ratio: 900 / 260;
	background: no-repeat right bottom / contain; pointer-events: none; }
.bp-art .bp-head .bp-wrap { position: relative; z-index: 1; }
.bp-art .bp-head .bp-lead { max-width: 560px; }
.bp-art-corporate .bp-head::after { background-image: url(../img/corporate-hero.svg); }
.bp-art-contact .bp-head::after { background-image: url(../img/hero-contact.svg); }
.bp-art-about .bp-head::after { background-image: url(../img/hero-about.svg); }
.bp-art-faq .bp-head::after { background-image: url(../img/hero-faq.svg); }
.bp-art-track .bp-head::after { background-image: url(../img/hero-track.svg); }
.bp-art-industries .bp-head::after { background-image: url(../img/hero-industries.svg); }
.bp-art-policy .bp-head::after { background-image: url(../img/hero-policy.svg); }
@media (max-width: 900px) { .bp-art .bp-head::after { width: 92vw; opacity: .35; } }
.bp-art-cat-pos .bp-head::after { background-image: url(../img/hero-cat-pos.svg); }
.bp-art-cat-labels .bp-head::after { background-image: url(../img/hero-cat-labels.svg); }
.bp-art-cat-ribbons .bp-head::after { background-image: url(../img/hero-cat-ribbons.svg); }
.bp-art-cat-printers .bp-head::after { background-image: url(../img/hero-cat-printers.svg); }
.bp-art-cat-scanners .bp-head::after { background-image: url(../img/hero-cat-scanners.svg); }
.bp-art-cat-hardware .bp-head::after { background-image: url(../img/hero-cat-hardware.svg); }
.bp-art-cat-packaging .bp-head::after { background-image: url(../img/hero-cat-packaging.svg); }
.bp-art-cat-parts .bp-head::after { background-image: url(../img/hero-cat-parts.svg); }
/* category pages: the "Buying in bulk?" box sits on the right, so the drawing goes between the title and the box */
.bp-art-cat .bp-head::after { right: calc(max(16px, 50% - 640px) + 420px); width: min(240px, 18vw); aspect-ratio: 560 / 260; top: 64px; bottom: auto; } /* level with the title: clear of the subcategory buttons below */
.bp-art-cat .bp-head .bp-lead { max-width: 520px; }
@media (max-width: 1100px) { .bp-art-cat .bp-head::after { display: none; } }

/* "Top pick" on product pages and theme grids (inc/top-pick.php) */
.product-label.bp-top-pick { background: linear-gradient(135deg, #f59e0b, #f97316) !important; color: #fff !important; }

/* Key features on cards (inc/card.php); home.css has the same for the home page */
.bybsa-pages .bh-card-feats { list-style: disc; margin: 4px 0 8px 16px !important; padding: 0 !important; font-size: 12.5px; line-height: 1.4; color: #475569; }
.bybsa-pages .bh-card-feats li { margin: 0 0 3px; padding: 0; overflow-wrap: anywhere; }
.bybsa-pages .bh-card-feats li::marker { color: #94a3b8; }
@media (max-width: 767px) {
	.bybsa-pages .bh-card-feats { font-size: 12px; margin-left: 14px !important; }
	.bybsa-pages .bh-card-feats li:nth-child(n+4) { display: none; }
}

/* Bangla guides (apply-polish-69-bangla-articles.php) */
.bb-article { font-family: "Noto Sans Bengali", var(--wd-text-font, sans-serif); font-size: 17px; line-height: 1.85; color: #334155; max-width: 860px; margin: 0 auto; }
.bb-article p { margin: 0 0 16px; }
.bb-article a { color: var(--bh-blue, #0077ff); font-weight: 600; }
.bb-article h2, .bb-article h3 { font-family: inherit !important; color: #0f1f3d; line-height: 1.4; }
.bb-article h2 { font-size: 25px; margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--bh-blue, #0077ff); }
.bb-article h3 { font-size: 19px; margin: 24px 0 8px; }
.bb-lead { font-size: 19.5px; line-height: 1.8; color: #0f1f3d; }
.bb-note, .bb-tip { border-radius: 12px; padding: 16px 20px; margin: 22px 0; }
.bb-note { background: #eaf3ff; border: 1px solid #cfe2ff; }
.bb-tip { background: #fff7ed; border: 1px solid #fed7aa; }
.bb-small { font-size: 14px; color: #64748b; }
.bb-fig { margin: 26px auto; max-width: 520px; text-align: center; }
.bb-fig img { display: block; width: 100%; height: auto; border: 1px solid #e2e8f0; border-radius: 14px; }
.bb-fig figcaption { margin-top: 8px; font-size: 14px; color: #64748b; }
.bb-cards, .bb-paths { display: grid; gap: 14px; margin: 20px 0 26px; }
.bb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-card, .bb-path { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; }
.bb-card strong, .bb-path strong { display: block; color: #0f1f3d; font-size: 17px; line-height: 1.45; margin-bottom: 6px; }
.bb-card p, .bb-path p { margin: 0; font-size: 15.5px; line-height: 1.7; }
.bb-num { display: flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--bh-blue, #0077ff); color: #fff; font-weight: 700; margin-bottom: 10px; }
.bb-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.bb-table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid #e2e8f0; border-radius: 12px; }
.bb-table { width: 100%; min-width: 520px; border-collapse: collapse; margin: 0 !important; font-size: 15px; }
.bb-table th { background: #0f1f3d; color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; white-space: nowrap; }
.bb-table td { padding: 9px 12px; border-top: 1px solid #e2e8f0; }
.bb-table tbody tr:nth-child(even) { background: #f8fafc; }
.bb-list { margin: 10px 0 20px 20px !important; padding: 0 !important; }
.bb-list li { margin-bottom: 8px; }
.bb-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 26px; }
.bb-col { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; }
.bb-col.is-mid { background: #eaf3ff; border-color: #bfd7f7; }
.bb-col strong { display: block; color: #0f1f3d; margin-bottom: 8px; }
.bb-col ul { margin: 0 0 0 18px !important; padding: 0 !important; font-size: 15px; line-height: 1.65; }
.bb-col li { margin-bottom: 5px; }
.bb-steps { list-style: none; counter-reset: bb; margin: 18px 0 26px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bb-steps li { counter-increment: bb; position: relative; margin: 0; background: #f8fafc; border-radius: 12px; padding: 44px 16px 16px; }
.bb-steps li::before { content: counter(bb, bengali); position: absolute; top: 12px; left: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--bh-blue, #0077ff); color: #fff; text-align: center; line-height: 26px; font-weight: 700; font-size: 15px; }
.bb-steps strong { display: block; color: #0f1f3d; margin-bottom: 4px; }
.bb-steps p { margin: 0; font-size: 15px; line-height: 1.65; }
.bb-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 24px; }
.bb-vs-col { border: 1px solid #e2e8f0; border-top: 4px solid var(--bh-blue, #0077ff); border-radius: 12px; padding: 18px 20px; }
.bb-vs-col + .bb-vs-col { border-top-color: #f97316; }
.bb-vs-col h3 { margin: 0 0 10px; }
.bb-vs-col ul { list-style: none; margin: 0 !important; padding: 0 !important; font-size: 15.5px; line-height: 1.65; }
.bb-vs-col li { margin-bottom: 8px; }
.bb-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #0f1f3d; border-radius: 14px; margin: 16px 0 24px; }
.bb-facts div { padding: 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.bb-facts div:first-child { border-left: 0; }
.bb-facts strong { display: block; color: #fff; font-size: 20px; line-height: 1.3; }
.bb-facts span { color: #93c5fd; font-size: 14px; }
.bb-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.bb-flow-item { position: relative; background: #0f1f3d; color: #fff; border-radius: 10px; padding: 14px 12px; text-align: center; }
.bb-flow-item span { display: block; color: #93c5fd; font-weight: 700; }
.bb-flow-item strong { color: #fff; font-size: 16px; line-height: 1.35; }
.bb-faq { margin: 12px 0 28px; }
.bb-faq details { border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; padding: 12px 16px; background: #fff; }
.bb-faq summary { cursor: pointer; font-weight: 700; color: #0f1f3d; }
.bb-faq details p { margin: 10px 0 0; font-size: 16px; }
.bb-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: linear-gradient(120deg, #eaf3ff, #f6faff); border: 1px solid #cfe2ff; border-radius: 14px; padding: 22px 24px; margin: 30px 0 10px; }
.bb-cta > div { flex: 1 1 280px; }
.bb-cta strong { display: block; color: #0f1f3d; font-size: 19px; line-height: 1.4; }
.bb-cta p { margin: 4px 0 0; font-size: 15.5px; }
.bb-article .bb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--bh-blue, #0077ff); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.bb-article .bb-btn-line { background: #fff; color: #0f1f3d !important; border: 1px solid #bfd7f7; }
@media (max-width: 767px) {
	.bb-article { font-size: 16px; line-height: 1.8; }
	.bb-lead { font-size: 17.5px; }
	.bb-article h2 { font-size: 21px; }
	.bb-cards, .bb-paths, .bb-compare, .bb-steps, .bb-versus { grid-template-columns: 1fr; }
	.bb-facts, .bb-flow { grid-template-columns: 1fr 1fr; }
	.bb-facts div:nth-child(3) { border-left: 0; }
	.bb-article .bb-btn { width: 100%; }
}
/* Single blog post: one title (the page head's), full width, the photo at a sensible size */
.single-post .wd-single-post-header { display: none; }
.single-post main.wd-content-layout { display: block; }
.single-post .wd-sidebar { display: none; }
.single-post .wd-content-area { width: 100%; max-width: 100%; }
.single-post .bp-title { font-family: "Noto Sans Bengali", var(--wd-title-font, sans-serif) !important; }
.single-post .post-single-page img.wp-post-image { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.single-post .wd-entry-content { background: #fff; border-radius: 14px; padding: 28px 24px; margin-top: 18px; }

/* Card, owner 2026-11-06: one-line facts, discount beside the price, nothing on the photo's corners. */
.bybsa-pages .bh-card-title { -webkit-line-clamp: 3 !important; }
.bybsa-pages .bh-card-feats { list-style: none !important; margin: 6px 0 8px !important; padding: 0 !important; }
.bybsa-pages .bh-card-feats li { position: relative; margin: 0 0 3px !important; padding: 0 0 0 11px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.bybsa-pages .bh-card-feats li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: #94a3b8; }
.bybsa-pages .bh-card-price { display: flex; align-items: center; flex-wrap: wrap; column-gap: 6px; }
.bybsa-pages .bh-card-off { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #fee2e2; color: #b91c1c; font-size: 12px; font-weight: 700; line-height: 1.5; }
.bybsa-pages .bh-badge-pre { background: #0f1f3d !important; color: #fff !important; }
@media (max-width: 767px) {
	.bybsa-pages .bh-card-feats li { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Card spacing (owner 2026-11-13, "gap is huge"): price right under the facts, spare space above the button (see home.css). */
.bybsa-pages .bh-card .bh-card-feats { margin-bottom: 4px !important; }
.bybsa-pages .bh-card .bh-card-price { margin-top: 0 !important; min-height: 26px; margin-bottom: 10px; }
.bybsa-pages .bh-card .bh-card-body > .bh-btn, .bybsa-pages .bh-card .bh-card-body > a.button { margin-top: auto !important; }

/* Category descriptions with sections (owner 2026-11-14): heading, sub-headings, lists and links */
.bybsa-listing .term-description h2 { font-size: 22px; line-height: 1.3; margin: 0 0 12px; }
.bybsa-listing .term-description h3 { font-size: 17px; line-height: 1.35; margin: 22px 0 8px; color: var(--bh-blue); }
.bybsa-listing .term-description p { margin: 0 0 12px; }
.bybsa-listing .term-description ul { margin: 0 0 12px 20px; padding: 0; }
.bybsa-listing .term-description li { margin: 0 0 6px; }
.bybsa-listing .term-description a { color: var(--bh-blue); text-decoration: underline; text-underline-offset: 2px; }
.bybsa-listing .term-description > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
	.bybsa-listing .term-description { padding: 18px 16px; font-size: 14.5px; }
	.bybsa-listing .term-description h2 { font-size: 19px; }
	.bybsa-listing .term-description h3 { font-size: 16px; }
}

/* ---------- Listing header v2 (owner 2026-11-14, "A + D"): title row with the buttons, a full-sentence lead with
   "Read more", facts as one quiet line, sub-categories as one scrolling row of chips, or as guide cards with a hint
   on main categories. No drawing on category pages. ---------- */
.bp-head-v2 { padding: 16px 0 18px; margin-bottom: 18px; }
.bp-art-cat .bp-head-v2::after { display: none !important; }
.bp-head-v2 .bp-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.bybsa-pages .bp-head-v2 .bp-title { margin: 0 0 6px; font-size: 32px; }
.bp-head-v2 .bp-head-btns { display: flex; gap: 8px; flex: 0 0 auto; padding-top: 2px; }
.bp-head-v2 .bp-head-btns .bh-btn { height: 40px; padding: 0 18px !important; font-size: 14px !important; white-space: nowrap; }
.bp-head-v2 .bp-lead, .bp-art-cat .bp-head-v2 .bp-lead { max-width: 820px; margin: 0 0 6px; font-size: 15px; }
.bp-lead-more { color: var(--bh-blue) !important; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.bp-lead-more:hover { text-decoration: underline !important; }
.bp-head-v2 .bp-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; font-size: 13px; color: var(--bh-muted); }
.bp-head-v2 .bp-facts span + span::before { content: "·"; margin: 0 8px; color: #cbd5e1; }
/* chips: one row, scrolls sideways, arrow when there are more */
.bp-chips-wrap { position: relative; margin-top: 14px; }
.bp-head-v2 .bp-chips { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; scroll-behavior: smooth; }
.bp-head-v2 .bp-chips::-webkit-scrollbar { display: none; }
.bp-chips-wrap.has-more .bp-chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent); }
.bp-head-v2 .bp-chip { flex: 0 0 auto; border-radius: 999px; padding: 3px 14px 3px 3px; font-size: 13.5px; gap: 8px; }
.bp-head-v2 .bp-chip-img { width: 30px !important; height: 30px !important; border-radius: 50%; }
.bp-chips-wrap .bp-chips-next { position: absolute !important; left: auto !important; right: 0 !important; top: 50% !important; transform: translateY(-50%); width: 32px !important; min-width: 0 !important; height: 32px !important; min-height: 0 !important; border-radius: 50% !important; border: 1px solid var(--bh-line) !important; background: #fff !important; color: var(--bh-ink) !important; font-size: 20px !important; line-height: 1 !important; padding: 0 0 2px !important; margin: 0 !important; cursor: pointer; box-shadow: var(--bh-shadow); display: flex; align-items: center; justify-content: center; }
.bp-chips-wrap .bp-chips-next:hover { border-color: var(--bh-blue) !important; color: var(--bh-blue) !important; }
.bp-chips-wrap .bp-chips-next[hidden] { display: none !important; }
/* guide cards on main categories */
.bp-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 10px; margin-top: 14px; }
.bp-guide-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--bh-line); border-radius: 10px; padding: 8px 12px 8px 8px; text-decoration: none !important; transition: border-color .15s ease, box-shadow .15s ease; }
.bp-guide-card:hover { border-color: var(--bh-blue); box-shadow: var(--bh-shadow); }
.bp-guide-card.is-active { border-color: var(--bh-blue); background: var(--bh-blue-soft); }
.bp-guide-img { width: 48px !important; height: 48px !important; border-radius: 8px; object-fit: contain; background: #fff; flex: 0 0 auto; display: block; }
.bp-guide-txt { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.bp-guide-txt strong { font-size: 14.5px; font-weight: 600; color: var(--bh-ink); line-height: 1.3; }
.bp-guide-card:hover strong { color: var(--bh-blue); }
.bp-guide-txt small { font-size: 12.5px; color: var(--bh-text); line-height: 1.35; }
@media (max-width: 767px) {
	.bp-head-v2 { padding: 10px 0 12px; margin-bottom: 12px; }
	.bp-head-v2 .bp-head-top { gap: 10px; align-items: center; }
	.bybsa-pages .bp-head-v2 .bp-title { font-size: 21px; margin: 0; }
	.bp-head-v2 .bp-head-btns { padding-top: 0; }
	.bp-head-v2 .bp-head-btns .bh-btn { height: 32px; padding: 0 12px !important; font-size: 12.5px !important; }
	.bp-head-v2 .bp-head-btns .bh-btn-wa { display: none !important; } /* the floating WhatsApp button is always there */
	.bp-chips-wrap { margin: 10px -15px 0; }
	.bp-head-v2 .bp-chips { padding: 0 15px; }
	.bp-chips-next { display: none !important; }
	.bp-guide { display: flex; overflow-x: auto; scrollbar-width: none; margin: 10px -15px 0; padding: 0 15px 2px; gap: 8px; }
	.bp-guide::-webkit-scrollbar { display: none; }
	.bp-guide-card { flex: 0 0 210px; padding: 6px 10px 6px 6px; }
	.bp-guide-img { width: 40px !important; height: 40px !important; }
}

/* ---------- Quick filters in the header (owner 2026-11-14, "option B"; inc/filters.php bybsa_fx_quick) ---------- */
.bp-has-fx .bp-head-v2, .bp-has-fx.bp-art .bp-head-v2 { overflow: visible; position: relative; z-index: 20; }
.bp-qf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--bh-line); }
.bp-qf-lbl { font-size: 13px; font-weight: 600; color: var(--bh-muted); margin-right: 2px; }
.bp-qf-dd { position: relative; }
.bp-qf-dd > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--bh-ink); cursor: pointer; user-select: none; }
.bp-qf-dd > summary::-webkit-details-marker { display: none; }
.bp-qf-dd > summary:hover, .bp-qf-dd[open] > summary { border-color: var(--bh-blue); color: var(--bh-blue); }
.bp-qf-dd.has-on > summary { border-color: var(--bh-blue); background: var(--bh-blue-soft); color: var(--bh-blue); }
.bp-qf-dd > summary b { min-width: 18px; height: 18px; border-radius: 9px; background: var(--bh-blue); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.bp-qf-caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 2px; }
.bp-qf-dd[open] .bp-qf-caret { transform: rotate(225deg) translate(-2px, -2px); }
.bp-qf-menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 50; min-width: 230px; max-width: min(320px, calc(100vw - 30px)); max-height: 320px; overflow-y: auto; background: #fff; border: 1px solid var(--bh-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); padding: 6px; }
.bp-qf-opt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 13.5px; color: var(--bh-ink) !important; text-decoration: none !important; }
.bp-qf-opt:hover { background: var(--bh-blue-soft); }
.bp-qf-opt span:nth-child(2) { flex: 1 1 auto; }
.bp-qf-opt em { font-style: normal; font-size: 12px; color: var(--bh-muted); }
.bp-qf-opt.is-zero { opacity: .45; }
.bp-qf-box { width: 16px; height: 16px; border: 1.5px solid #cbd5e1; border-radius: 4px; flex: 0 0 auto; position: relative; }
.bp-qf-opt.is-on .bp-qf-box { background: var(--bh-blue); border-color: var(--bh-blue); }
.bp-qf-opt.is-on .bp-qf-box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bp-qf-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--bh-blue); color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.bp-qf-chip span { font-size: 15px; line-height: 1; opacity: .85; }
.bp-qf-chip:hover span { opacity: 1; }
.bp-qf-clear { font-size: 13px; font-weight: 600; color: var(--bh-muted) !important; text-decoration: underline !important; margin-left: 2px; }
@media (max-width: 767px) {
	.bp-qf { gap: 6px; margin-top: 10px; padding-top: 10px; }
	.bp-qf-lbl { display: none; }
	.bp-qf-dd > summary { height: 32px; padding: 0 10px; font-size: 12.5px; }
	.bp-qf-menu { max-height: 60vh; }
}

/* Phones: the theme's sort icon makes the select text transparent, and the options inherited it, so the list
   showed blank rows (owner 2026-11-14). The options get their own colour. */
.woocommerce-ordering select option { color: #0f172a !important; -webkit-text-fill-color: #0f172a !important; background: #fff !important; }
.woocommerce-ordering select option:checked { color: #fff !important; -webkit-text-fill-color: #fff !important; background: #1d6fe8 !important; }

/* Category drawing back in the header (owner 2026-11-14): in its own column under the buttons, so it never covers the
   text or the chips. Same drawings as before (assets/img/hero-cat-*.svg). */
.bp-head-v2 .bp-head-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.bp-head-v2 .bp-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bp-head-art { display: none; }
.bp-art-cat .bp-head-art { display: block; width: 270px; aspect-ratio: 560 / 260; background: no-repeat right center / contain; }
.bp-art-cat-pos .bp-head-art { background-image: url(../img/hero-cat-pos.svg); }
.bp-art-cat-labels .bp-head-art { background-image: url(../img/hero-cat-labels.svg); }
.bp-art-cat-ribbons .bp-head-art { background-image: url(../img/hero-cat-ribbons.svg); }
.bp-art-cat-printers .bp-head-art { background-image: url(../img/hero-cat-printers.svg); }
.bp-art-cat-scanners .bp-head-art { background-image: url(../img/hero-cat-scanners.svg); }
.bp-art-cat-hardware .bp-head-art { background-image: url(../img/hero-cat-hardware.svg); }
.bp-art-cat-packaging .bp-head-art { background-image: url(../img/hero-cat-packaging.svg); }
.bp-art-cat-parts .bp-head-art { background-image: url(../img/hero-cat-parts.svg); }
@media (max-width: 1024px) { .bp-art-cat .bp-head-art { display: none; } }
@media (max-width: 767px) { .bp-head-v2 .bp-head-top { align-items: center; } }

/* Hand-picked alternatives on product pages (owner 2026-11-14; inc/product-page.php) */
.bp-handpicked { margin: 8px 0 28px; }
.bp-handpicked-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.bp-handpicked-head h2 { margin: 0 !important; font-size: 22px !important; font-weight: 700; color: var(--bh-ink); }
.bp-handpicked-head p { margin: 0; font-size: 14px; color: var(--bh-muted); }
.bp-handpicked-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.bp-handpicked-grid .bh-card { height: 100%; }
@media (min-width: 1025px) { .bp-handpicked-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.bp-handpicked-head h2 { font-size: 19px !important; }
	.bp-handpicked-grid { display: flex; overflow-x: auto; scrollbar-width: none; gap: 10px; margin: 0 -15px; padding: 0 15px 4px; }
	.bp-handpicked-grid::-webkit-scrollbar { display: none; }
	.bp-handpicked-grid .bh-card { flex: 0 0 62%; }
}

/* Buying guide table and "ask for today's price" box in the article under the products (owner 2026-11-14;
   inc/seo/seo-content.php bybsa_seo_buying_guide / bybsa_seo_price_list_short) */
.bp-guide-table { margin: 6px 0 22px; border: 1px solid var(--bh-line); border-radius: 12px; overflow: hidden; background: #fff; }
.bp-guide-table table { width: 100%; border-collapse: collapse; margin: 0 !important; }
.bp-guide-table th { background: #f1f6ff; color: var(--bh-ink); font-size: 13px; font-weight: 700; text-align: left; padding: 10px 14px; border: 0 !important; text-transform: none; }
.bp-guide-table td { padding: 12px 14px; border: 0 !important; border-top: 1px solid var(--bh-line) !important; vertical-align: top; font-size: 14px; color: var(--bh-text); }
.bp-guide-table td:first-child { width: 34%; color: var(--bh-ink); font-weight: 500; }
.bp-guide-table td:nth-child(2) { width: 26%; }
.bp-guide-table td strong { display: block; color: var(--bh-ink); font-weight: 700; }
.bp-guide-table td small { display: block; font-size: 12.5px; color: var(--bh-muted); line-height: 1.4; margin-top: 2px; }
.bp-guide-pick { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--bh-ink) !important; }
.bp-guide-pick img { width: 46px !important; height: 46px !important; object-fit: contain; border: 1px solid var(--bh-line); border-radius: 8px; background: #fff; flex: 0 0 auto; }
.bp-guide-pick span { display: flex; flex-direction: column; min-width: 0; }
.bp-guide-pick strong { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.bp-guide-pick em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--bh-blue); }
.bp-guide-pick:hover strong { color: var(--bh-blue); }
.bp-guide-all { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--bh-blue) !important; text-decoration: none !important; }
.bp-guide-all:hover { text-decoration: underline !important; }
.bp-seo-group th { background: #f8fafc !important; font-size: 12.5px !important; color: var(--bh-muted) !important; text-transform: none !important; }
.bp-seo-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 8px 0 18px; padding: 14px 16px; background: var(--bh-blue-soft); border: 1px solid #cfe3ff; border-radius: 12px; }
.bp-seo-ask p { margin: 0 !important; flex: 1 1 320px; font-size: 14px; color: var(--bh-ink); }
.bp-seo-ask-btns { display: flex; gap: 8px; }
.bp-seo-ask .bh-btn { height: 38px; padding: 0 16px !important; font-size: 14px !important; text-decoration: none !important; }
@media (max-width: 767px) {
	.bp-guide-table thead { display: none; }
	.bp-guide-table tr { display: block; padding: 12px 14px; border-top: 1px solid var(--bh-line); }
	.bp-guide-table tr:first-child { border-top: 0; }
	.bp-guide-table td { display: block; width: auto !important; padding: 0 0 8px; border: 0 !important; }
	.bp-guide-table td::before { content: attr(data-l); display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--bh-muted); margin-bottom: 2px; }
	.bp-seo-ask-btns { width: 100%; }
	.bp-seo-ask .bh-btn { flex: 1 1 0; }
}
.bp-seo-table .bp-seo-askp { color: var(--bh-muted); font-weight: 500; }
.bp-seo-table tr.bp-seo-group th { padding-top: 12px !important; color: var(--bh-ink) !important; font-weight: 700 !important; font-size: 13px !important; }
.bp-guide-none { display: block; font-size: 13px; color: var(--bh-muted); }
.bp-seo-table tr.bp-seo-group { scroll-margin-top: calc(var(--bp-sticky, 80px) + 16px); }
.bp-seo-table tr.bp-seo-more-row td { padding-top: 6px !important; padding-bottom: 10px !important; }
.bp-seo-table tr.bp-seo-more-row a { font-weight: 600; color: var(--bh-blue) !important; text-decoration: none !important; }

/* Chips: logos in a wide slot so brand logos read (owner 2026-11-14); chips without an image get none */
.bp-head-v2 .bp-chip { padding: 3px 14px 3px 4px; }
.bp-head-v2 .bp-chip-img { width: 58px !important; height: 28px !important; border-radius: 6px !important; object-fit: contain; background: #fff; padding: 2px 4px; }
.bp-head-v2 span.bp-chip-img:empty { display: none; }
.bp-head-v2 .bp-chip:has(span.bp-chip-img:empty) { padding-left: 14px; }
@media (max-width: 767px) { .bp-head-v2 .bp-chip-img { width: 48px !important; height: 24px !important; } }
/* chips are text only now (owner 2026-11-14) */
.bp-head-v2 .bp-chip { padding: 7px 16px !important; }
