/* Bybsa home page — final polish (loads last): one button system, even section rhythm, aligned cards. */

/* ---------- Buttons: 3 sizes, 3 styles, one shape ---------- */
.bybsa-home .bh-btn,
.bybsa-home .bh-tab-more a,
.bybsa-home .bh-seo-more,
.bybsa-home .bh-faq-more {
	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;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
	box-shadow: none !important;
}
.bybsa-home .bh-btn .bybsa-ico { width: 18px; height: 18px; }
/* primary */
.bybsa-home .bh-btn-main { background: var(--bh-blue) !important; color: #fff !important; border: 0 !important; }
.bybsa-home .bh-btn-main:hover { background: var(--bh-blue-d) !important; }
/* WhatsApp */
.bybsa-home .bh-btn-wa { background: #25d366 !important; color: #fff !important; border: 0 !important; }
.bybsa-home .bh-btn-wa:hover { background: #1faa55 !important; }
/* outline (secondary): View all, Read more, See all questions, Get a quote / View details on cards */
.bybsa-home .bh-btn-line,
.bybsa-home .bh-tab-more a,
.bybsa-home .bh-seo-more,
.bybsa-home .bh-faq-more { background: #fff !important; color: var(--bh-blue) !important; border: 1px solid #bfd7f7 !important; }
.bybsa-home .bh-btn-line:hover,
.bybsa-home .bh-tab-more a:hover,
.bybsa-home .bh-seo-more:hover,
.bybsa-home .bh-faq-more:hover { background: var(--bh-blue-soft) !important; border-color: var(--bh-blue) !important; }
/* small (inside product cards) */
.bybsa-home .bh-card .bh-btn { height: 38px; width: 100%; padding: 0 12px !important; font-size: 14px !important; margin-top: 10px !important; }
.bybsa-home .bh-card .bh-btn-cart { background: var(--bh-blue-soft) !important; color: var(--bh-blue) !important; border: 0 !important; }
.bybsa-home .bh-card .bh-btn-cart:hover { background: var(--bh-blue) !important; color: #fff !important; }
.bybsa-home .bh-card .added_to_cart { display: none !important; }
.bybsa-home .bh-btn[disabled] { opacity: .6; cursor: wait; }
/* full-width buttons inside the quote form */
.bybsa-home .bh-quote-form .bh-btn-main { width: 100%; height: 50px; font-size: 16px !important; }
/* button groups */
.bybsa-home .bh-slide-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.bh-tab-more, .bh-about { text-align: center; }
.bybsa-home .bh-faq-more { margin-top: 6px !important; align-self: flex-start; }
.bybsa-home .bh-seo-more { display: flex !important; width: max-content; margin: 16px auto 0 !important; }

/* Section-head links ("All products →", "Ask for a custom quote →") */
.bybsa-home .bh-head > a { font-size: 15px; font-weight: 700; color: var(--bh-blue); white-space: nowrap; }
.bybsa-home .bh-head > a:hover { text-decoration: underline; }

/* ---------- Even vertical rhythm ---------- */
.bybsa-home .bh-section { padding: 48px 0 0; }
.bybsa-home .bh-faqquote { padding-top: 56px; }
.bybsa-home .bh-about { padding: 48px 0 56px; }
.bybsa-home .bh-numbers { margin-top: 48px; }
.bybsa-home .bybsa-trust { margin-top: 20px; }
.bybsa-home .bh-numbers + .bh-section { padding-top: 48px; }
/* every section head: same height whether it has an eyebrow or not */
.bybsa-home .bh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 20px; min-height: 34px; }
.bybsa-home .bh-head > div:not(.bh-tablist) { display: flex; flex-direction: column; gap: 2px; }
.bybsa-home .bh-head > .bh-tablist { display: flex; flex-direction: row; flex-wrap: wrap; }
@media (max-width: 767px) { .bybsa-home .bh-tabs-head { flex-direction: column; align-items: stretch; } .bybsa-home .bh-head > .bh-tablist { flex-wrap: nowrap; overflow-x: auto; } }
.bybsa-home .bh-head h2,
.bybsa-home .bh-faq h2,
.bybsa-home .bh-quote-card h2,
.bybsa-home .bh-showcase-text h2 { font-size: 28px !important; line-height: 1.2 !important; font-weight: 800 !important; margin: 0 !important; letter-spacing: -.01em; }
.bybsa-home .bh-faq h2 { margin-bottom: 18px !important; }
.bybsa-home .bh-quote-card h2 { margin-bottom: 10px !important; }
.bybsa-home .bh-showcase-text h2 { margin: 4px 0 14px !important; }
.bybsa-home .bh-eyebrow { margin: 0; line-height: 1.4; }

/* ---------- Cards line up ---------- */
.bybsa-home .bh-card-body { gap: 5px; padding: 6px 14px 14px; }
.bybsa-home .bh-card-brand { min-height: 16px; line-height: 16px; display: block; }
.bybsa-home .bh-card-title { min-height: calc(1.4em * 2); }
.bybsa-home .bh-card-price { min-height: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.bybsa-home .bh-card-img { padding: 12px; }
.bybsa-home .bh-grid8 .bh-card-img { aspect-ratio: 1 / 1; }
/* category / solution / make cards: equal heights in a row */
.bybsa-home .bh-cats, .bybsa-home .bh-solutions { align-items: stretch; }
.bybsa-home .bh-cat { justify-content: flex-start; }
.bybsa-home .bh-cat strong { min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
/* showcase: checklist on one line each, equal columns */
.bybsa-home .bh-check { gap: 10px 18px; }
.bybsa-home .bh-check li { line-height: 1.35; }
/* FAQ and quote card same height */
.bybsa-home .bh-faqquote-grid { align-items: stretch; }
.bybsa-home .bh-faq { display: flex; flex-direction: column; }
.bybsa-home .bh-quote-card { display: flex; flex-direction: column; }
.bybsa-home .bh-quote-card .bh-quote-form { flex: 1; align-content: start; }
/* brands: chips all the same height, centred */
.bybsa-home .bh-brands { gap: 10px; }
.bybsa-home .bh-brands a { height: 46px; display: inline-flex; align-items: center; padding: 0 16px; }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	.bybsa-home .bh-section { padding-top: 32px; }
	.bybsa-home .bh-faqquote { padding-top: 36px; }
	.bybsa-home .bh-about { padding: 32px 0 36px; }
	.bybsa-home .bh-numbers { margin-top: 32px; }
	.bybsa-home .bh-head { margin-bottom: 14px; min-height: 0; align-items: flex-end; }
	.bybsa-home .bh-head h2, .bybsa-home .bh-faq h2, .bybsa-home .bh-quote-card h2, .bybsa-home .bh-showcase-text h2 { font-size: 21px !important; }
	.bybsa-home .bh-head > a { font-size: 13.5px; }
	.bybsa-home .bh-btn, .bybsa-home .bh-tab-more a, .bybsa-home .bh-seo-more, .bybsa-home .bh-faq-more { height: 44px; padding: 0 16px !important; font-size: 14.5px !important; }
	.bybsa-home .bh-slide-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.bybsa-home .bh-showcase .bh-slide-btns { grid-template-columns: 1fr; }
	.bybsa-home .bh-slide-btns .bh-btn { width: 100%; padding: 0 10px !important; }
	.bybsa-home .bh-card .bh-btn { height: 36px; font-size: 13px !important; }
	.bybsa-home .bh-card-body { padding: 4px 10px 10px; }
	.bybsa-home .bh-brands { gap: 8px; }
	.bybsa-home .bh-brands a { height: 40px; padding: 0 12px; font-size: 14px; }
	.bybsa-home .bh-cat strong { min-height: 2.6em; }
}

/* quote form: all single-line fields the same height (untyped inputs got the theme's taller style) */
.bybsa-home .bh-quote-form input:not(.bh-hp) { height: 46px !important; min-height: 46px !important; line-height: 1.2 !important; box-sizing: border-box !important; }

/* ---------- Phones: less text, fewer competing buttons (2026-10-16) ---------- */
@media (max-width: 767px) {
	/* banner: title, one line, two buttons — no chips, badges or arrows */
	.bybsa-home .bh-chiplist, .bybsa-home .bh-badges, .bybsa-home .bh-slider-btn { display: none !important; }
	.bybsa-home .bh-slide-lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.bybsa-home .bh-slide .bh-slide-btns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
	.bybsa-home .bh-slide .bh-slide-btns .bh-btn { height: 44px; font-size: 14px !important; }
	/* popular categories: 9 tiles (3 rows); "All products" link stays */
	.bybsa-home .bh-cats > *:nth-child(n+10) { display: none !important; }
	/* product cards: no brand line, no "Get a quote / View details" button — the card itself opens the product */
	.bybsa-home .bh-card-brand { display: none !important; }
	.bybsa-home .bh-card .bh-btn-line { display: none !important; }
	/* tabbed products: heading left, tabs under it, 4 per tab */
	.bybsa-home .bh-tabs-head { flex-direction: column; align-items: stretch !important; gap: 10px; }
	.bybsa-home .bh-tabs-head h2 { text-align: left; }
	.bybsa-home .bh-grid8 > .bh-card:nth-child(n+5), .bybsa-home .bh-grid8 > .bh-kcard.is-extra { display: none !important; }
	/* label showcase: 3 points, one button */
	.bybsa-home .bh-check li:nth-child(n+4) { display: none; }
	.bybsa-home .bh-showcase-text .bh-btn-wa { display: none !important; }
	/* brands: first 9 */
	.bybsa-home .bh-brands a:nth-child(n+10) { display: none !important; }
	.bybsa-home .bh-brands a small { display: none; }
	/* FAQ: 3 + "See all questions" */
	.bybsa-home .bh-faq-item:nth-of-type(n+4) { display: none; }
	/* quote form: only what we need to call back */
	.bybsa-home .bh-quote-form .bh-field:has(em) { display: none; }
	.bybsa-home .bh-quote-card > p:first-of-type { display: none; }
	/* about text: smaller heading */
	.bybsa-home .bh-seo h1, .bybsa-home .bh-seo h2 { font-size: 20px !important; line-height: 1.3 !important; text-align: left !important; }
}

/* ---------- About text, StarTech style: short intro, topic blocks, FAQ (2026-10-26, #w36) ---------- */
.bybsa-home .bh-about2 { text-align: left; }
.bybsa-home .bh-about2 h2 { font-size: 22px !important; line-height: 1.3 !important; margin: 0 0 10px !important; color: #0f172a; }
.bybsa-home .bh-about2 p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: #334155; }
.bybsa-home .bh-about2 .bh-about-intro { max-width: 980px; }
.bybsa-home .bh-about-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 14px; }
.bybsa-home .bh-about-block { padding: 16px 18px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; display: flex; flex-direction: column; }
.bybsa-home .bh-about-block h3 { margin: 0 0 6px !important; font-size: 16px !important; color: #0f172a; }
.bybsa-home .bh-about-block p { font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 8px; }
.bybsa-home .bh-about-block a { font-size: 14px; font-weight: 700; color: #0077ff; }
.bybsa-home .bh-about-links { font-size: 14px !important; }
.bybsa-home .bh-about-links a { color: #0077ff; font-weight: 600; }
.bybsa-home .bh-about-rest > h2 { margin-top: 22px !important; }
.bybsa-home .bh-about-faq { display: flex; flex-direction: column; gap: 8px; }
.bybsa-home .bh-about-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px 14px; }
.bybsa-home .bh-about-faq summary { cursor: pointer; font-weight: 700; color: #0f172a; font-size: 15px; }
.bybsa-home .bh-about-faq details p { margin: 8px 0 0; font-size: 14.5px; }
.bybsa-home .bh-about-more { margin-top: 6px; padding: 0 !important; min-height: 0 !important; border: 0 !important; background: none !important; color: #0077ff !important; font-weight: 700 !important; font-size: 15px !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; }
@media (max-width: 1024px) { .bybsa-home .bh-about-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.bybsa-home .bh-about2 h2 { font-size: 19px !important; }
	.bybsa-home .bh-about-blocks { grid-template-columns: 1fr; }
	.bybsa-home .bh-about2 .bh-about-intro { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
	.bybsa-home .bh-about2.is-open .bh-about-intro { display: block; }
}

/* Brands we supply: logo tiles (logo, or the name when a brand has none) — no product count (owner 2026-10-29) */
.bybsa-home .bh-brands.bh-brands-img { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bybsa-home .bh-brands.bh-brands-img a { height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; }
.bybsa-home .bh-brands-img .bh-brand-name { height: 48px; width: 100%; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1.1; }
.bybsa-home .bh-brands-img .bh-brand-name img { max-height: 44px; max-width: 120px; width: auto; height: auto; object-fit: contain; transition: transform .2s ease; }
.bybsa-home .bh-brands-img a:hover .bh-brand-name img { transform: scale(1.06); }
.bybsa-home .bh-brands-img a small { margin: 0; font-size: 12px; display: block !important; }
@media (max-width: 767px) {
	.bybsa-home .bh-brands.bh-brands-img { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.bybsa-home .bh-brands.bh-brands-img a { height: 66px; padding: 8px 6px; gap: 4px; }
	.bybsa-home .bh-brands-img .bh-brand-name { height: 38px; font-size: 14px; }
	.bybsa-home .bh-brands-img .bh-brand-name img { max-height: 34px; max-width: 90px; }
	.bybsa-home .bh-brands.bh-brands-img a:nth-child(n+10) { display: none !important; }
}

/* About article (StarTech style): headings + paragraphs, links inside the text */
.bybsa-home .bh-about-article .bh-wrap { max-width: 1100px; }
.bybsa-home .bh-about-article h3 { margin: 22px 0 8px !important; font-size: 18px !important; line-height: 1.35 !important; color: #0f172a; }
.bybsa-home .bh-about-article p { font-size: 15px; line-height: 1.75; }
.bybsa-home .bh-about-article p a { color: #0077ff; font-weight: 600; }
.bybsa-home .bh-about-article p a:hover { text-decoration: underline; }
.bybsa-home .bh-about-article .bh-about-faq { margin-top: 4px; }
.bybsa-home .bh-about-article h2 + p, .bybsa-home .bh-about-article p + h2 { margin-top: 0; }
.bybsa-home .bh-about-article p + h2 { margin-top: 28px !important; }

/* ---------- "Shop popular products" redesign (owner 2026-11-17) ---------- */
.bybsa-home .bh-tabs2-head { margin-bottom: 18px; }
.bh-tabs2-bar { display: flex; gap: 28px; align-items: flex-end; margin: 0 0 22px; }
.bh-tabs2-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 0; }
.bh-tabs2-glabel { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bh-muted, #64748b); padding-left: 2px; }
.bh-tabs2-row { display: flex; gap: 10px; }
.bh-tabs2-row > .bh-tab2 { flex: 1 1 0; }
.bybsa-home .bh-tab2 { display: flex !important; align-items: center; gap: 10px; height: 100% !important; min-width: 0; min-height: 0 !important; height: auto !important; padding: 10px 16px 10px 10px !important; margin: 0 !important; background: #fff !important; border: 1px solid var(--bh-line, #e2e8f0) !important; border-radius: 8px !important; color: var(--bh-ink, #0f172a) !important; text-align: left; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.bybsa-home .bh-tab2:hover { border-color: #9cc3f5 !important; }
.bybsa-home .bh-tab2:focus-visible { outline: 2px solid var(--bh-blue, #0077ff); outline-offset: 2px; }
.bybsa-home .bh-tab2[aria-selected="true"] { border-color: var(--bh-blue, #0077ff) !important; background: var(--bh-blue-soft, #eef5ff) !important; box-shadow: inset 0 0 0 1px var(--bh-blue, #0077ff) !important; }
.bh-tab2-ico { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; background: #f1f5f9; color: #475569; transition: background .15s, color .15s; }
.bh-tab2-ico svg { width: 22px; height: 22px; }
.bh-tab2[aria-selected="true"] .bh-tab2-ico { background: var(--bh-blue, #0077ff); color: #fff; }
.bh-tab2-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bh-tab2-txt strong { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.bh-tab2-txt small { font-size: 12.5px; font-weight: 500; color: var(--bh-muted, #64748b); line-height: 1.3; }
.bh-tab2[aria-selected="true"] .bh-tab2-txt strong { color: var(--bh-blue-dark, #005fd1); }

.bh-tabs2-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; min-height: 36px; }
.bybsa-home .bh-kinds.bh-seg { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 2px; margin: 0; padding: 3px; background: #fff; border: 1px solid var(--bh-line, #e2e8f0); border-radius: 8px; }
.bh-seg-label { font-size: 12.5px; font-weight: 600; color: var(--bh-muted, #64748b); padding: 0 8px 0 7px; }
.bybsa-home .bh-seg button { height: 30px; padding: 0 13px !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; color: var(--bh-text, #334155) !important; font-size: 13.5px !important; font-weight: 600 !important; box-shadow: none !important; }
.bybsa-home .bh-seg button:hover { color: var(--bh-blue, #0077ff) !important; background: #f1f5f9 !important; }
.bybsa-home .bh-seg button[aria-pressed="true"] { background: var(--bh-ink, #0f172a) !important; color: #fff !important; box-shadow: none !important; }
.bybsa-home .bh-tabs2-all { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--bh-blue, #0077ff); text-decoration: none; white-space: nowrap; }
.bybsa-home .bh-tabs2-all:hover { text-decoration: underline; }
.bybsa-home .bh-tabs2 .bh-tab-more { display: none; } /* "View all" is in the toolbar now */

@media (max-width: 1100px) {
	.bh-tabs2-bar { gap: 18px; }
	.bh-tab2-txt small { display: none; }
	.bybsa-home .bh-tab2 { padding: 8px 14px 8px 8px !important; }
	.bh-tab2-ico { width: 34px; height: 34px; }
}
@media (max-width: 767px) {
	.bh-tabs2-bar { overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding: 0 0 2px; gap: 16px; scroll-snap-type: x proximity; }
	.bh-tabs2-bar::-webkit-scrollbar { display: none; }
	.bh-tabs2-row { gap: 8px; }
	.bybsa-home .bh-tab2 { scroll-snap-align: start; }
	.bh-tabs2-group { flex: 0 0 auto; }
	.bh-tabs2-row > .bh-tab2 { flex: 0 0 auto; }
	.bh-tab2-txt strong { white-space: nowrap; }
	.bh-tab2-txt strong { font-size: 13.5px; }
	.bh-tabs2-tools { flex-wrap: wrap; }
	.bybsa-home .bh-kinds.bh-seg { max-width: 100%; overflow-x: auto; }
	.bh-seg-label { display: none; }
	.bybsa-home .bh-tabs2-all { font-size: 13.5px; }
}
