/* ==========================================================================
   Biospectra Marketing – site styles (child of Kadence)
   Brand: plum (logo ribbon) + crimson (logo accent), clinical whites.
   ========================================================================== */

:root {
	--bsm-plum-950: #1c0b26;
	--bsm-plum-900: #2a1038;
	--bsm-plum-800: #3d1652;
	--bsm-plum-700: #561c75;
	--bsm-plum-600: #6d2593;
	--bsm-plum-100: #f1e9f6;
	--bsm-plum-50:  #f8f4fb;
	--bsm-crimson:  #c4122f;
	--bsm-crimson-700: #a10e26;
	--bsm-ink:      #1e1724;
	--bsm-text:     #403a47;
	--bsm-muted:    #6c6574;
	--bsm-line:     #e8e2ee;
	--bsm-bg:       #ffffff;
	--bsm-surface:  #faf8fc;
	--bsm-radius:   14px;
	--bsm-radius-sm: 10px;
	--bsm-shadow:   0 1px 2px rgba(42,16,56,.06), 0 8px 24px rgba(42,16,56,.06);
	--bsm-shadow-lg: 0 2px 4px rgba(42,16,56,.06), 0 18px 48px rgba(42,16,56,.12);
	--bsm-font-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bsm-font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bsm-wrap: 1240px;
	--bsm-white: #ffffff;
	--bsm-rose: #ffb3c0;
	--bsm-field: #cfc6d8;
	--bsm-on-dark: rgba(255,255,255,.82);
	--bsm-on-dark-muted: rgba(255,255,255,.72);
	--bsm-on-dark-line: rgba(255,255,255,.14);
	--bsm-ok-bg: #eef8f1;
	--bsm-ok-line: #c4e6cf;
	--bsm-ok-ink: #134b26;
	--bsm-err-bg: #fdecee;
	--bsm-ok-icon: #1a7a3a;
}

/* ---------- Base ---------- */
body { font-family: var(--bsm-font-body); color: var(--bsm-text); background: var(--bsm-bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6,
.entry-title, .product_title, .woocommerce-products-header__title { font-family: var(--bsm-font-head); color: var(--bsm-ink); letter-spacing: -0.015em; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
a { color: var(--bsm-plum-700); text-underline-offset: 3px; }
a:hover { color: var(--bsm-crimson); }
:focus-visible { outline: 3px solid var(--bsm-crimson); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--bsm-plum-100); color: var(--bsm-plum-900); }
.bsm-wrap { max-width: var(--bsm-wrap); margin: 0 auto; padding: 0 24px; }
.bsm-icon { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.bsm-btn, .wp-block-button.is-style-bsm-accent .wp-block-button__link,
.add-request-quote-button.button, .add-request-quote-button,
#yith-ywraq-form input[type=submit], .raq-send-request, .woocommerce .button.bsm-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--bsm-font-head); font-weight: 700; font-size: 1rem; line-height: 1;
	padding: .95em 1.4em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.bsm-btn:hover { transform: translateY(-1px); }
.bsm-btn--sm { font-size: .9rem; padding: .7em 1.1em; }
.bsm-btn.bsm-btn--accent, .add-request-quote-button.button, .add-request-quote-button,
#yith-ywraq-form input[type=submit], .raq-send-request {
	background: var(--bsm-crimson); color: var(--bsm-white); box-shadow: 0 6px 18px rgba(196,18,47,.25);
}
.bsm-btn--accent:hover, .add-request-quote-button:hover, #yith-ywraq-form input[type=submit]:hover, .raq-send-request:hover { background: var(--bsm-crimson-700); color: var(--bsm-white); }
.bsm-btn.bsm-btn--primary { background: var(--bsm-plum-700); color: var(--bsm-white); }
.bsm-btn--primary:hover { background: var(--bsm-plum-800); }
.bsm-btn.bsm-btn--outline { background: var(--bsm-white); color: var(--bsm-plum-700); border-color: var(--bsm-line); }
.bsm-btn--outline:hover { border-color: var(--bsm-plum-600); }
.bsm-btn.bsm-btn--ghost-light { color: var(--bsm-white); border-color: rgba(255,255,255,.35); }
.bsm-btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--bsm-white); }
.bsm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Core button block styles mapped to brand */
.wp-block-button__link { font-family: var(--bsm-font-head); font-weight: 700; border-radius: 999px; padding: .95em 1.4em; }
.wp-block-button.is-style-fill .wp-block-button__link, .wp-block-button:not([class*=is-style]) .wp-block-button__link { background: var(--bsm-crimson); color: var(--bsm-white); }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid var(--bsm-line); color: var(--bsm-plum-700); background: var(--bsm-white); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--bsm-plum-600); }

/* ---------- Eyebrow / chips ---------- */
.bsm-eyebrow { display: inline-block; font: 700 .74rem/1.2 var(--bsm-font-head); letter-spacing: .09em; text-transform: uppercase; color: var(--bsm-crimson); margin-bottom: .5rem; }
.bsm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bsm-chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--bsm-plum-50); color: var(--bsm-plum-700); font: 600 .8rem/1 var(--bsm-font-head); text-decoration: none; border: 1px solid var(--bsm-plum-100); }
.bsm-chip--brand { background: var(--bsm-plum-700); color: var(--bsm-white); border-color: var(--bsm-plum-700); }
.bsm-chip:hover { border-color: var(--bsm-plum-600); }
.bsm-chip--brand:hover { color: var(--bsm-white); background: var(--bsm-plum-800); }

/* ---------- Header (Kadence) ---------- */
.site-top-header-wrap .site-header-row-container-inner { background: var(--bsm-plum-900); }
.bsm-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; font-size: .82rem; color: var(--bsm-on-dark); }
.bsm-topbar a { color: var(--bsm-white); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.bsm-topbar a:hover { color: var(--bsm-rose); }
.bsm-topbar__tag { display: inline-flex; align-items: center; gap: 8px; }
.bsm-topbar__links { display: inline-flex; gap: 22px; }
.site-header-top-section-left, .site-header-top-section-left .site-header-item { flex: 1; }
.site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid var(--bsm-line); }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-family: var(--bsm-font-head); font-weight: 600; color: var(--bsm-ink); font-size: .95rem; }
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a { color: var(--bsm-plum-700); }
.header-navigation .header-menu-container ul ul.sub-menu { border-radius: var(--bsm-radius-sm); box-shadow: var(--bsm-shadow-lg); padding: 8px; background: var(--bsm-white); border: 1px solid var(--bsm-line); }
.header-navigation .header-menu-container ul ul li.menu-item > a { color: var(--bsm-text); border-radius: 8px; font-size: .92rem; padding-top: .6em; padding-bottom: .6em; }
.header-navigation .header-menu-container ul ul li.menu-item > a:hover { background: var(--bsm-plum-50); color: var(--bsm-plum-700); }
#masthead .header-button-wrap .header-button { background: var(--bsm-crimson); border: 0; border-radius: 999px; font-family: var(--bsm-font-head); font-weight: 700; }
#masthead .header-button-wrap .header-button:hover { background: var(--bsm-crimson-700); }
.search-toggle-open { color: var(--bsm-ink); }
@media (max-width: 1024px) {
	.bsm-topbar__tag { display: none; }
	.bsm-topbar { justify-content: center; }
}
@media (max-width: 600px) {
	.bsm-topbar__links a:last-child { display: none; }
}

/* ---------- Page header (Kadence title area) ---------- */
.entry-hero.page-hero-section .entry-hero-container-inner,
.entry-hero.product-archive-hero-section .entry-hero-container-inner { background: linear-gradient(180deg, var(--bsm-plum-50), var(--bsm-white)); border-bottom: 1px solid var(--bsm-line); }
.entry-hero .entry-header { min-height: 180px; }

/* ---------- Sections (used in page content) ---------- */
.bsm-section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.bsm-section--tint { background: var(--bsm-surface); }
.bsm-section--plum { background: var(--bsm-plum-900); color: var(--bsm-on-dark); }
.bsm-section--plum h2, .bsm-section--plum h3 { color: var(--bsm-white); }
.bsm-section--plum .bsm-section-head p { color: var(--bsm-on-dark-muted); }
.bsm-section--plum .bsm-eyebrow { color: var(--bsm-rose); }
.bsm-section-head { max-width: 720px; margin-bottom: 40px; }
.bsm-section-head.has-text-align-center, .bsm-section-head.is-centered { margin-left: auto; margin-right: auto; text-align: center; }
.bsm-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 .5rem; line-height: 1.15; }
.bsm-section-head p { font-size: 1.08rem; color: var(--bsm-muted); margin: 0; }
.bsm-section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.entry-content > .alignfull, .entry-content .alignfull { margin-top: 0; margin-bottom: 0; }
/* Full-width page layout: the content area already spans the viewport. */
.content-width-fullwidth .entry-content > .alignfull { margin-left: 0; margin-right: 0; max-width: none; width: auto; }
.content-width-fullwidth .entry-content > .alignfull > * { padding-left: 24px; padding-right: 24px; }

/* ---------- Hero ---------- */
.bsm-hero { position: relative; overflow: hidden; background:
	radial-gradient(900px 480px at 92% 10%, rgba(109,37,147,.10), transparent 60%),
	radial-gradient(600px 400px at 0% 100%, rgba(196,18,47,.06), transparent 60%),
	var(--bsm-white); padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 96px); }
.bsm-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bsm-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; margin: 0 0 20px; }
.bsm-hero h1 em { font-style: normal; color: var(--bsm-plum-700); }
.bsm-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--bsm-muted); max-width: 560px; margin: 0 0 28px; line-height: 1.6; }
.bsm-hero__proof { display: flex; flex-wrap: wrap; gap: 28px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--bsm-line); list-style: none; }
.bsm-hero__proof li { margin: 0; }
.bsm-hero__proof strong { display: block; font: 800 1.6rem/1 var(--bsm-font-head); color: var(--bsm-ink); }
.bsm-hero__proof span { font-size: .88rem; color: var(--bsm-muted); }
.bsm-hero__visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.bsm-hero__tile { background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: 20px; box-shadow: var(--bsm-shadow); padding: 18px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.bsm-hero__tile:hover { transform: translateY(-3px); box-shadow: var(--bsm-shadow-lg); }
.bsm-hero__tile img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: var(--bsm-surface); }
.bsm-hero__tile--big { grid-row: span 2; justify-content: center; }
.bsm-hero__tile small { font: 700 .7rem/1 var(--bsm-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--bsm-crimson); }
.bsm-hero__tile b { font: 700 .95rem/1.3 var(--bsm-font-head); color: var(--bsm-ink); }
.bsm-hero__badge { position: absolute; left: -18px; bottom: 24px; background: var(--bsm-plum-900); color: var(--bsm-white); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--bsm-shadow-lg); font-size: .85rem; max-width: 260px; }
.bsm-hero__badge b { font-family: var(--bsm-font-head); display: block; font-size: .95rem; }
.bsm-hero__badge .bsm-icon { color: var(--bsm-rose); }
@media (max-width: 900px) {
	.bsm-hero__grid { grid-template-columns: 1fr; }
	.bsm-hero__badge { left: 12px; bottom: -12px; }
}

/* ---------- Brand strip ---------- */
.bsm-brandstrip { border-top: 1px solid var(--bsm-line); border-bottom: 1px solid var(--bsm-line); background: var(--bsm-white); padding: 26px 0; }
.bsm-brandstrip__inner { display: flex; align-items: center; gap: 28px; }
.bsm-brandstrip__label { font: 700 .78rem/1.3 var(--bsm-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--bsm-muted); flex: none; max-width: 150px; }
.bsm-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bsm-brands li { margin: 0; }
.bsm-brands--chips a { display: inline-flex; padding: 9px 16px; border: 1px solid var(--bsm-line); border-radius: 999px; font: 700 .9rem/1 var(--bsm-font-head); color: var(--bsm-ink); text-decoration: none; background: var(--bsm-white); transition: border-color .15s, color .15s; }
.bsm-brands--chips a:hover { border-color: var(--bsm-plum-600); color: var(--bsm-plum-700); }
.bsm-brands--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.bsm-brands--cards a { display: flex; flex-direction: column; justify-content: center; min-height: 110px; padding: 18px; border: 1px solid var(--bsm-line); border-radius: var(--bsm-radius); background: var(--bsm-white); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.bsm-brands--cards a:hover { border-color: var(--bsm-plum-600); box-shadow: var(--bsm-shadow); }
.bsm-brands--cards span { font: 800 1.1rem/1.2 var(--bsm-font-head); color: var(--bsm-ink); }
.bsm-brands--cards small { color: var(--bsm-muted); margin-top: 6px; }
.bsm-brands img { max-height: 40px; width: auto; }
@media (max-width: 760px) { .bsm-brandstrip__inner { flex-direction: column; align-items: flex-start; gap: 14px; } .bsm-brandstrip__label { max-width: none; } }

/* ---------- Category grid ---------- */
.bsm-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bsm-cat-card { background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: var(--bsm-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.bsm-cat-card:hover { box-shadow: var(--bsm-shadow-lg); transform: translateY(-3px); border-color: transparent; }
.bsm-cat-card__media { display: block; background: var(--bsm-surface); aspect-ratio: 4/3; padding: 18px; }
.bsm-cat-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bsm-cat-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.bsm-cat-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 4px; }
.bsm-cat-card h3 a { color: var(--bsm-ink); text-decoration: none; }
.bsm-cat-card h3 a::after { content: ""; }
.bsm-cat-card h3 a:hover { color: var(--bsm-plum-700); }
.bsm-cat-card__count { font-size: .85rem; color: var(--bsm-muted); margin: 0 0 12px; }
.bsm-cat-card ul { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px dashed var(--bsm-line); display: grid; gap: 6px; }
.bsm-cat-card li { margin: 0; }
.bsm-cat-card li a { font-size: .88rem; color: var(--bsm-text); text-decoration: none; }
.bsm-cat-card li a:hover { color: var(--bsm-crimson); }
@media (max-width: 1100px) { .bsm-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .bsm-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .bsm-cat-card ul { display: none; } .bsm-cat-card__body { padding: 14px; } .bsm-cat-card h3 { font-size: .98rem; } }

/* ---------- Product cards (shortcode) ---------- */
.bsm-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bsm-prod-card a { display: flex; flex-direction: column; height: 100%; background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: var(--bsm-radius); overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.bsm-prod-card a:hover { box-shadow: var(--bsm-shadow-lg); transform: translateY(-3px); }
.bsm-prod-card__media { aspect-ratio: 1; background: var(--bsm-surface); padding: 16px; }
.bsm-prod-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bsm-prod-card__body { padding: 14px 16px 18px; }
.bsm-prod-card h3 { font-size: .98rem; line-height: 1.35; margin: 0 0 6px; color: var(--bsm-ink); }
.bsm-prod-card__cat { font-size: .82rem; color: var(--bsm-muted); }
@media (max-width: 1000px) { .bsm-prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .bsm-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Feature / industry cards (core Columns/Group with class) ---------- */
.bsm-cards--4 { --cols: 4; }
.bsm-cards--5 { --cols: 5; }
.bsm-section--tint .bsm-card { box-shadow: none; }
.bsm-card h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.bsm-card p { margin: 0; color: var(--bsm-muted); font-size: .96rem; line-height: 1.6; }
.bsm-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bsm-plum-50); color: var(--bsm-plum-700); }
.bsm-card--dark { background: rgba(255,255,255,.04); border-color: var(--bsm-on-dark-line); }
.bsm-card--dark p { color: var(--bsm-on-dark-muted); }
.bsm-card--dark .bsm-card__icon { background: rgba(255,255,255,.08); color: var(--bsm-rose); }
@media (max-width: 1000px) { .bsm-cards, .bsm-cards--4, .bsm-cards--5 { --cols: 2; } }
@media (max-width: 600px) { .bsm-cards, .bsm-cards--4, .bsm-cards--5 { --cols: 1; } }

/* ---------- Split (text + list) ---------- */
.bsm-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bsm-split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 16px; }
.bsm-split p { font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 900px) { .bsm-split { grid-template-columns: 1fr; } }
.bsm-ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.bsm-ticks li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.bsm-ticks .bsm-icon { color: var(--bsm-white); background: var(--bsm-plum-700); border-radius: 999px; padding: 3px; margin-top: 2px; width: 20px; height: 20px; }

/* ---------- Coverage ---------- */
.bsm-coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bsm-coverage__group { background: rgba(255,255,255,.05); border: 1px solid var(--bsm-on-dark-line); border-radius: var(--bsm-radius); padding: 24px; }
.bsm-coverage__group h3 { margin: 0 0 4px; font-size: 1.15rem; }
.bsm-coverage__group p { margin: 0 0 14px; font-size: .9rem; color: rgba(255,255,255,.6); }
.bsm-coverage__group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bsm-coverage__group li { margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--bsm-white); font: 600 .86rem/1 var(--bsm-font-head); }
@media (max-width: 700px) { .bsm-coverage { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.bsm-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.bsm-steps li { counter-increment: step; position: relative; padding: 24px; border-radius: var(--bsm-radius); background: var(--bsm-white); border: 1px solid var(--bsm-line); margin: 0; }
.bsm-steps li::before { content: counter(step, decimal-leading-zero); font: 800 .85rem/1 var(--bsm-font-head); color: var(--bsm-crimson); display: block; margin-bottom: 14px; letter-spacing: .06em; }
.bsm-steps b { display: block; font: 700 1.05rem/1.3 var(--bsm-font-head); color: var(--bsm-ink); margin-bottom: 6px; }
.bsm-steps span { color: var(--bsm-muted); font-size: .94rem; }
@media (max-width: 900px) { .bsm-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bsm-steps { grid-template-columns: 1fr; } }

/* ---------- Timeline (About) ---------- */
.bsm-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--bsm-plum-100); }
.bsm-timeline li { position: relative; padding: 0 0 26px 28px; margin: 0; }
.bsm-timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bsm-white); border: 3px solid var(--bsm-plum-700); }
.bsm-timeline b { display: block; font: 800 .9rem/1 var(--bsm-font-head); color: var(--bsm-crimson); margin-bottom: 6px; letter-spacing: .04em; }

/* ---------- Contact ---------- */
.bsm-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bsm-contact-card { background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: var(--bsm-radius); padding: 22px; }
.bsm-contact-card .bsm-icon { color: var(--bsm-plum-700); }
.bsm-contact-card h3 { font-size: 1rem; margin: 10px 0 6px; }
.bsm-contact-card div, .bsm-contact-card a { font-size: .94rem; color: var(--bsm-text); line-height: 1.6; text-decoration: none; }
.bsm-contact-card a:hover { color: var(--bsm-crimson); }
.bsm-hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; }
.bsm-hours dt { font-weight: 600; color: var(--bsm-ink); }
.bsm-hours dd { margin: 0; }
.bsm-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--bsm-radius); display: block; }
@media (max-width: 1000px) { .bsm-contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bsm-contact-cards { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.bsm-form-card { background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--bsm-shadow); }

.bsm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.bsm-form__grid p { margin: 0 0 16px; }
.bsm-form__full { grid-column: 1 / -1; }
.bsm-form label { display: block; font: 600 .9rem/1.3 var(--bsm-font-head); color: var(--bsm-ink); margin-bottom: 6px; }
.bsm-form input[type=text], .bsm-form input[type=email], .bsm-form input[type=tel], .bsm-form select, .bsm-form textarea {
	width: 100%; border: 1px solid var(--bsm-field); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 1rem; background: var(--bsm-white); color: var(--bsm-ink);
}
.bsm-form input:focus, .bsm-form select:focus, .bsm-form textarea:focus { outline: none; border-color: var(--bsm-plum-600); box-shadow: 0 0 0 3px var(--bsm-plum-100); }
.bsm-form__consent label { display: flex; gap: 10px; align-items: flex-start; font: 400 .86rem/1.5 var(--bsm-font-body); color: var(--bsm-muted); margin: 4px 0 18px; }
.bsm-form__consent input { margin-top: 3px; accent-color: var(--bsm-plum-700); }
.bsm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bsm-form-success { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--bsm-radius); background: var(--bsm-ok-bg); border: 1px solid var(--bsm-ok-line); color: var(--bsm-ok-ink); }
.bsm-form-success .bsm-icon { color: var(--bsm-ok-icon); flex: none; }
.bsm-form-success p { margin: 4px 0 0; }
.bsm-form-error { padding: 12px 16px; border-radius: 10px; background: var(--bsm-err-bg); color: var(--bsm-crimson-700); font-weight: 600; }
@media (max-width: 600px) { .bsm-form__grid { grid-template-columns: 1fr; } }

/* ---------- WooCommerce catalog ---------- */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: var(--bsm-radius); overflow: hidden; padding: 0; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.woocommerce ul.products li.product:hover { box-shadow: var(--bsm-shadow-lg); transform: translateY(-3px); }
.woocommerce ul.products li.product .woocommerce-loop-image-link, .woocommerce ul.products li.product a img { background: var(--bsm-surface); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; padding: 16px; mix-blend-mode: multiply; margin: 0; }
.woocommerce ul.products li.product .product-details { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; text-align: left; }
.woocommerce ul.products li.product h2.woocommerce-loop-product__title { font-family: var(--bsm-font-head); font-size: .98rem; line-height: 1.35; color: var(--bsm-ink); padding: 0; margin: 0 0 10px; }
.woocommerce ul.products li.product .product-action-wrap { margin-top: auto; }
.bsm-loop-link { display: inline-flex; align-items: center; gap: 6px; font: 700 .88rem/1 var(--bsm-font-head); color: var(--bsm-plum-700); text-decoration: none; }
.bsm-loop-link:hover { color: var(--bsm-crimson); }
.woocommerce ul.products li.product .add-request-quote-button { display: none; }
.woocommerce .woocommerce-result-count { color: var(--bsm-muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering select { border-radius: 10px; border-color: var(--bsm-line); }
.bsm-archive-intro { max-width: 760px; color: var(--bsm-muted); font-size: 1.04rem; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 10px; }

/* Shop sidebar filters */
.bsm-filters { display: grid; gap: 18px; font-size: .94rem; }
.bsm-filters__title { display: flex; align-items: center; gap: 8px; font: 700 .8rem/1 var(--bsm-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--bsm-muted); margin: 0 0 4px; cursor: pointer; }
.bsm-filters ul { list-style: none; padding: 0; margin: 0; }
.bsm-filters li { margin: 0; }
.bsm-filters a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--bsm-text); text-decoration: none; }
.bsm-filters a:hover { background: var(--bsm-plum-50); color: var(--bsm-plum-700); }
.bsm-filters a[aria-current] { background: var(--bsm-plum-700); color: var(--bsm-white); font-weight: 600; }
.bsm-filters a span { color: var(--bsm-muted); font-size: .82rem; }
.bsm-filters a[aria-current] span { color: rgba(255,255,255,.8); }
.bsm-filters__cats > li > a { font-weight: 600; color: var(--bsm-ink); }
.bsm-filters__cats ul { margin: 2px 0 6px 10px; padding-left: 8px; border-left: 2px solid var(--bsm-plum-100); }
.bsm-filters__brands ul { max-height: 280px; overflow: auto; margin-top: 8px; }
.bsm-filters__help { background: var(--bsm-plum-50); border-radius: var(--bsm-radius); padding: 18px; }
.bsm-filters__help p { margin: 6px 0 12px; color: var(--bsm-muted); font-size: .9rem; }
.bsm-filters__help .bsm-btn { display: inline-flex; padding: .7em 1.1em; color: var(--bsm-white); justify-content: center; }
.bsm-filters__help .bsm-btn:hover { background: var(--bsm-crimson-700); color: var(--bsm-white); }
.primary-sidebar .widget { margin-bottom: 0; }
@media (max-width: 1024px) {
	.bsm-filters__cats { display: flex; flex-wrap: wrap; gap: 6px; }
	.bsm-filters__cats > li > a { border: 1px solid var(--bsm-line); border-radius: 999px; padding: 7px 12px; font-size: .86rem; }
	.bsm-filters__cats ul, .bsm-filters__help { display: none; }
	.bsm-filters__cats li.is-open { flex-basis: 100%; }
	.bsm-filters__cats li.is-open ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 8px 0 0; padding: 0; }
	.bsm-filters__cats li.is-open ul a { border: 1px dashed var(--bsm-line); border-radius: 999px; padding: 6px 11px; font-size: .84rem; }
}

/* Single product */
.single-product div.product .woocommerce-product-gallery { background: var(--bsm-surface); border-radius: 20px; padding: 24px; border: 1px solid var(--bsm-line); }
.single-product div.product .woocommerce-product-gallery img { mix-blend-mode: multiply; }
.single-product div.product .product_title { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--bsm-text); font-size: 1.02rem; line-height: 1.7; }
.bsm-quote-panel { margin: 24px 0; padding: 22px; border-radius: var(--bsm-radius); background: var(--bsm-surface); border: 1px solid var(--bsm-line); }
.bsm-quote-panel__title { font: 700 1.05rem/1.3 var(--bsm-font-head); color: var(--bsm-ink); margin: 0 0 4px; }
.bsm-quote-panel > p { margin: 0 0 16px; color: var(--bsm-muted); font-size: .94rem; }
.bsm-quote-panel .yith-ywraq-add-to-quote { margin: 0; }
.bsm-quote-panel .yith_ywraq_add_item_response_message, .bsm-quote-panel .yith_ywraq_add_item_browse_message { font-size: .9rem; margin-top: 8px; }
.bsm-quote-panel .bsm-ticks { margin-top: 18px; font-size: .9rem; }
.bsm-quote-panel .bsm-ticks .bsm-icon { width: 18px; height: 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--bsm-font-head); }
.woocommerce div.product .woocommerce-tabs .panel { line-height: 1.75; }
.related.products > h2 { font-size: 1.5rem; }

/* YITH quote page */
#yith-ywrq-table-list, .shop_table.cart#yith-ywrq-table-list { border-radius: var(--bsm-radius); overflow: hidden; border: 1px solid var(--bsm-line); }
.ywraq-wrapper .raq-message, .ywraq_list_empty_message { font-size: 1.05rem; }
.woocommerce .return-to-shop a.button { background: var(--bsm-plum-700); color: var(--bsm-white); border-radius: 999px; }

/* ---------- Footer ---------- */
.bsm-footer { background: var(--bsm-plum-950); color: var(--bsm-on-dark-muted); font-size: .94rem; margin-top: 0; }
.bsm-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.bsm-footer a:hover { color: var(--bsm-white); text-decoration: underline; }
.bsm-footer h3 { color: var(--bsm-white); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.bsm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bsm-footer li { margin: 0; }
.bsm-footer__cta { background: linear-gradient(110deg, var(--bsm-plum-800), var(--bsm-plum-700)); padding: 44px 0; }
.bsm-footer__cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.bsm-footer__cta h2 { color: var(--bsm-white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 6px; }
.bsm-footer__cta p { margin: 0; color: rgba(255,255,255,.8); }
.bsm-footer__cta .bsm-btn:hover { text-decoration: none; }
.bsm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.bsm-footer__brand img { height: auto; max-width: 200px; margin-bottom: 16px; }
.bsm-footer__brand p { max-width: 340px; line-height: 1.65; }
.bsm-footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.bsm-footer__contact .bsm-icon { color: var(--bsm-rose); margin-top: 2px; }
.bsm-social { display: flex; gap: 10px; margin-top: 18px; }
.bsm-social a { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.bsm-social a:hover { background: var(--bsm-crimson); text-decoration: none; }
.bsm-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; color: rgba(255,255,255,.55); }
.bsm-footer__bottom .bsm-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1000px) { .bsm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bsm-footer__grid { grid-template-columns: 1fr; gap: 32px; } .bsm-footer { padding-bottom: 72px; } }

/* ---------- Mobile action bar + chat ---------- */
.bsm-actionbar { display: none; }
@media (max-width: 768px) {
	.bsm-actionbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0 0; z-index: 999; background: var(--bsm-white); border-top: 1px solid var(--bsm-line); box-shadow: 0 -6px 20px rgba(42,16,56,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
	.bsm-actionbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px; border-radius: 12px; color: var(--bsm-ink); text-decoration: none; font: 600 .75rem/1 var(--bsm-font-head); }
	.bsm-actionbar a.is-primary { background: var(--bsm-crimson); color: var(--bsm-white); flex-direction: row; justify-content: center; gap: 8px; font-size: .9rem; }
	body .bsm-chat { display: none; }
	body { padding-bottom: 68px; }
}
.bsm-chat { position: fixed; right: 22px; bottom: 22px; z-index: 998; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--bsm-plum-700); color: var(--bsm-white); text-decoration: none; font: 700 .92rem/1 var(--bsm-font-head); box-shadow: var(--bsm-shadow-lg); transition: opacity .2s, transform .2s, background .2s; }
.bsm-chat:hover { background: var(--bsm-plum-800); color: var(--bsm-white); transform: translateY(-2px); }
.bsm-chat.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ---------- Misc ---------- */
.wp-block-separator { border-color: var(--bsm-line); }
.bsm-note { background: var(--bsm-plum-50); border: 1px solid var(--bsm-plum-100); padding: 16px 20px; border-radius: var(--bsm-radius-sm); }


/* YITH quote list table */
#yith-ywrq-table-list .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; background: var(--bsm-surface); border-radius: 8px; padding: 4px; }
#yith-ywrq-table-list td, #yith-ywrq-table-list th { vertical-align: middle; padding: 12px; }
#yith-ywrq-table-list .product-name a { font-family: var(--bsm-font-head); font-weight: 600; color: var(--bsm-ink); text-decoration: none; }
.yith-ywraq-mail-form-wrapper { margin-top: 28px; background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--bsm-shadow); }
.yith-ywraq-mail-form-wrapper h3 { margin-top: 0; }
#yith-ywraq-form .update-list, #yith-ywraq-form input[name=update_raq] { border-radius: 999px; }

/* Hero visual on phones: compact tiles, badge below */
@media (max-width: 600px) {
	.bsm-hero__visual { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.bsm-hero__tile, .bsm-hero__tile--big { grid-row: auto; padding: 8px; border-radius: 14px; }
	.bsm-hero__tile small, .bsm-hero__tile b { display: none; }
	.bsm-hero__badge { position: static; grid-column: 1 / -1; max-width: none; }
	.bsm-hero__proof { gap: 18px; }
	.bsm-hero__proof li { flex: 1 1 40%; }
}

/* Catalog on tablets/phones: filters above products, 2-column grid */
@media (max-width: 1024px) {
	.has-sidebar.woocommerce .content-container, .has-sidebar.woocommerce-page .content-container { display: flex; flex-direction: column; }
	.has-sidebar.woocommerce #secondary, .has-sidebar.woocommerce-page #secondary { order: -1; margin: 0 0 8px; padding: 0; border: 0; }
	.has-sidebar.woocommerce #secondary .sidebar-inner-wrap { padding: 0; }
	.bsm-filters { gap: 12px; }
	.bsm-filters__title .bsm-icon { display: none; }
}
@media (max-width: 767px) {
	.woocommerce ul.products.content-wrap.grid-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.woocommerce ul.products li.product a img { padding: 8px; }
	.woocommerce ul.products li.product .product-details { padding: 10px 12px 14px; }
	.woocommerce ul.products li.product h2.woocommerce-loop-product__title { font-size: .88rem; }
	.entry-hero .entry-header { min-height: 120px; }
}

/* Quote list included in the form */
.bsm-form__items { background: var(--bsm-plum-50); border: 1px solid var(--bsm-plum-100); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.bsm-form__items strong { display: flex; align-items: center; gap: 8px; font-family: var(--bsm-font-head); color: var(--bsm-plum-800); font-size: .92rem; }
.bsm-form__items ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.bsm-form__items li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; margin: 0; }
.bsm-form__items b { white-space: nowrap; color: var(--bsm-ink); }
.bsm-quote-next { margin: 18px 0 0; text-align: right; }

/* Quote count badge */
.header-button, .bsm-actionbar .is-primary { position: relative; }
.bsm-badge { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bsm-plum-900); color: var(--bsm-white); font: 700 .72rem/22px var(--bsm-font-head); text-align: center; box-shadow: 0 0 0 2px var(--bsm-white); }

/* Hero search */
.bsm-hero__search { display: flex; align-items: center; gap: 12px; margin-top: 26px; max-width: 520px; }
.bsm-hero__search > span { font: 600 .88rem/1 var(--bsm-font-head); color: var(--bsm-muted); white-space: nowrap; }
.bsm-hero__search .dgwt-wcas-search-wrapp { flex: 1; max-width: none; }
.bsm-hero__search .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input { border-radius: 999px; border: 1px solid var(--bsm-line); height: 46px; padding-left: 44px; background: var(--bsm-white); }
@media (max-width: 600px) { .bsm-hero__search { flex-direction: column; align-items: stretch; gap: 8px; } }

/* FAQ */
.bsm-faq { display: grid; gap: 10px; }
.bsm-faq__item { border: 1px solid var(--bsm-line); border-radius: var(--bsm-radius); background: var(--bsm-white); padding: 0 20px; }
.bsm-faq__item[open] { border-color: var(--bsm-plum-100); box-shadow: var(--bsm-shadow); }
.bsm-faq__item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font: 700 1rem/1.4 var(--bsm-font-head); color: var(--bsm-ink); }
.bsm-faq__item summary::-webkit-details-marker { display: none; }
.bsm-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--bsm-plum-700); }
.bsm-faq__item[open] summary::after { content: "–"; }
.bsm-faq__item p { margin: 0 0 18px; color: var(--bsm-muted); line-height: 1.65; }

/* Category description on archives */
.term-description { max-width: 820px; color: var(--bsm-muted); font-size: 1.02rem; margin-bottom: 18px; }

/* ==========================================================================
   Audit fixes: tap targets (min 44px on touch layouts) and search contrast
   ========================================================================== */

/* Whole product card is one tap target; "View details" stays as the visible cue. */
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product .bsm-loop-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--bsm-radius); }
.woocommerce ul.products li.product:focus-within { box-shadow: var(--bsm-shadow-lg); }
.bsm-loop-link { min-height: 24px; }

/* Header controls */
.search-toggle-open, .menu-toggle-open, .drawer-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.bsm-social a { width: 44px; height: 44px; }
.woocommerce .woocommerce-ordering select { min-height: 44px; }
.bsm-faq__item summary { min-height: 44px; }

@media (max-width: 1024px) {
	.bsm-topbar a { min-height: 38px; padding: 0 6px; }
	.bsm-brands--chips a { min-height: 44px; align-items: center; padding: 0 16px; }
	.bsm-filters__cats > li > a, .bsm-filters__cats li.is-open ul a { min-height: 44px; align-items: center; padding-top: 0; padding-bottom: 0; }
	.bsm-filters__brands a, .bsm-filters__title { min-height: 44px; align-items: center; }
	.bsm-footer ul { gap: 0; }
	.bsm-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
	.bsm-footer__contact li { align-items: center; min-height: 44px; }
	.bsm-footer__contact li:last-child { align-items: flex-start; padding-top: 10px; }
	.bsm-cat-card h3 a { display: block; padding: 6px 0; }
	.bsm-section p[style] > a:not(.bsm-btn) { display: inline-flex; align-items: center; min-height: 44px; }
	.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
	.kadence-breadcrumbs a, .woocommerce-breadcrumb a { display: inline-block; padding: 10px 0; }
	.bsm-quote-panel .yith_ywraq_add_item_browse_message a, .bsm-form__consent a { display: inline-block; padding: 10px 0; }
	.mobile-navigation ul li a, .drawer-nav-drop-wrap .drawer-sub-toggle { min-height: 44px; }
}

/* Product search: readable placeholder and field on every background */
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input { background: var(--bsm-white); border: 1px solid var(--bsm-field); color: var(--bsm-ink); min-height: 44px; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder { color: var(--bsm-muted); opacity: 1; font-style: normal; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus { border-color: var(--bsm-plum-600); box-shadow: 0 0 0 3px var(--bsm-plum-100); }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier { fill: var(--bsm-muted); }
#search-drawer .drawer-inner input.search-field::placeholder { opacity: 1; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit { min-width: 44px; min-height: 44px; top: 0; }
@media (max-width: 1024px) {
	.bsm-topbar a { min-height: 44px; }
	.site-top-header-wrap .site-header-row-container-inner, .site-top-header-wrap .site-top-header-inner-wrap { min-height: 44px; }
	.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers, .woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers { min-width: 44px; }
}

/* ==========================================================================
   Audit round 2: de-templated sections, type, motion, browser surfaces
   ========================================================================== */

/* Type */
h1, h2, h3, .bsm-section-head h2, .bsm-split h2, .woocommerce-loop-product__title, .product_title { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
h1, h2 { letter-spacing: -0.02em; }
.bsm-hero h1 { font-weight: 700; letter-spacing: -0.03em; }
.bsm-hero__lead, .bsm-section-head p, .bsm-archive-intro, .term-description { max-width: 68ch; }
body { font-size: 1.0625rem; }

/* Browser surfaces */
html { scrollbar-color: var(--bsm-plum-700) var(--bsm-plum-50); accent-color: var(--bsm-plum-700); }
input, textarea { caret-color: var(--bsm-crimson); }
a { text-decoration-thickness: 1px; }

/* Brand label on product cards: plain metadata, not a tracked-caps kicker */
.bsm-eyebrow { font: 600 .82rem/1.2 var(--bsm-font-body); letter-spacing: 0; text-transform: none; color: var(--bsm-plum-700); margin-bottom: .35rem; }
.bsm-card .bsm-meta, .bsm-meta { font-size: .88rem; color: var(--bsm-muted); margin: 4px 0 10px; }

/* Flat surfaces: no purple gradients */
.bsm-hero { background: var(--bsm-white); border-bottom: 1px solid var(--bsm-line); }
.bsm-footer__cta { background: var(--bsm-plum-800); }
.entry-hero.page-hero-section .entry-hero-container-inner,
.entry-hero.product-archive-hero-section .entry-hero-container-inner { background: var(--bsm-plum-50); }

/* Hero facts: one plain sentence instead of a stat row */
.bsm-hero__facts { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--bsm-line); color: var(--bsm-text); max-width: 560px; }
.bsm-hero__facts b { font-family: var(--bsm-font-head); color: var(--bsm-ink); }

/* Note: tinted box with a full border (no side stripe) */


/* Feature lists: ruled rows with an inline icon, replacing icon-tile cards */
.bsm-cards, .bsm-cards--2, .bsm-cards--4, .bsm-cards--5 { display: block; border-top: 1px solid var(--bsm-line); }
.bsm-card { display: grid; grid-template-columns: 26px minmax(170px, 1fr) 2.2fr; column-gap: 20px; align-items: baseline; padding: 20px 0; margin: 0; border: 0; border-bottom: 1px solid var(--bsm-line); border-radius: 0; background: none; }
.bsm-card__icon { width: auto; height: auto; background: none; border-radius: 0; display: block; align-self: start; padding-top: 2px; color: var(--bsm-crimson); }
.bsm-card__icon .bsm-icon { width: 22px; height: 22px; }
.bsm-card h3 { margin: 0; font-size: 1.1rem; }
.bsm-card p { margin: 0; color: var(--bsm-text); font-size: 1rem; }
.bsm-cards--2 .bsm-card { grid-template-columns: 26px 1fr; row-gap: 4px; }
.bsm-cards--2 .bsm-card p { grid-column: 2; }
.bsm-card:not(:has(.bsm-card__icon)) { display: block; }
.bsm-card:not(:has(.bsm-card__icon)) h3 { font-size: 1.25rem; }
.bsm-section--tint .bsm-cards, .bsm-section--tint .bsm-card { border-color: var(--bsm-field); }
@media (max-width: 700px) {
	.bsm-card { grid-template-columns: 26px 1fr; row-gap: 4px; }
	.bsm-card p { grid-column: 2; }
}

/* Contact details: one ruled row of labelled items */
.bsm-contact-cards { gap: 0; border-top: 1px solid var(--bsm-line); border-bottom: 1px solid var(--bsm-line); }
.bsm-contact-card { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-content: start; border: 0; border-radius: 0; background: none; padding: 22px 20px 22px 0; }
.bsm-contact-card .bsm-icon { color: var(--bsm-crimson); margin-top: 2px; }
.bsm-contact-card h3 { margin: 0; }
.bsm-contact-card > div { grid-column: 2; }

/* Motion: keep colour feedback, drop movement for people who ask for less */
@media (prefers-reduced-motion: reduce) {
	.bsm-btn:hover, .bsm-hero__tile:hover, .bsm-cat-card:hover, .bsm-prod-card a:hover,
	.woocommerce ul.products li.product:hover, .bsm-chat:hover { transform: none; }
	.bsm-chat.is-hidden { transform: none; }
	html { scroll-behavior: auto; }
}
.bsm-section-head.is-centered p { margin-inline: auto; }
.bsm-hero__lead, .bsm-section-head p, .bsm-archive-intro, .term-description, .woocommerce-products-header p { max-width: 58ch; }
.bsm-card h2 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.bsm-card:not(:has(.bsm-card__icon)) h2 { font-size: 1.25rem; }
.bsm-card p { max-width: 62ch; }
.bsm-contact-card h2 { margin: 0; font-size: 1rem; line-height: 1.4; }
.woocommerce div.product .woocommerce-tabs .panel > *, .single-product .woocommerce-product-details__short-description > * { max-width: 72ch; }
@media (max-width: 1024px) {
	.bsm-topbar .bsm-topbar__links a { display: inline-flex; align-items: center; min-height: 44px; }
	.bsm-contact-card a, .entry-content p > a[href*="m.me"] { display: inline-flex; align-items: center; min-height: 44px; }
	.bsm-contact-card > div br { display: none; }
	.bsm-contact-card > div a { display: flex; }
}
@media (max-width: 1024px) {
	.bsm-topbar .bsm-topbar__links a { white-space: nowrap; }
	.bsm-contact-card > div br { display: initial; }
	.bsm-contact-card > div > a + br { display: none; }
	.bsm-contact-card > div a { display: block; min-height: 0; padding: 11px 0; }
	.bsm-form__consent a { display: inline; padding: 0; }
}
@media (max-width: 600px) {
	.bsm-topbar .bsm-topbar__links a:last-child { display: none; }
}
.mobile-html-inner > p, .header-html-inner > p { display: none; }

/* ==========================================================================
   Audit round 3: product page, blog meta, reading width
   ========================================================================== */

/* Product zoom button: drawn icon (not an emoji), 44px target */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { width: 44px; height: 44px; top: 12px; right: 12px; background: var(--bsm-white); border: 1px solid var(--bsm-line); border-radius: 999px; font-size: 0; text-indent: 0; display: grid; place-items: center; box-shadow: var(--bsm-shadow); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger > span { display: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before { content: ""; position: static; width: 20px; height: 20px; border: 0; border-radius: 0; background: var(--bsm-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after { display: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover { border-color: var(--bsm-plum-600); }

/* Reading width for long product copy */
.woocommerce div.product .woocommerce-tabs .panel > *, .single-product .woocommerce-product-details__short-description > * { max-width: 60ch; }
.single-post .entry-content > * { max-width: 68ch; }

/* Tap targets on product pages and posts */
.woocommerce div.product .woocommerce-tabs ul.tabs li a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1024px) {
	.bsm-chip { min-height: 44px; align-items: center; padding: 0 14px; }
	.kadence-breadcrumbs a { min-width: 44px; }
	.entry-taxonomies a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; }
	.bsm-note a { display: inline-block; padding: 10px 0; }
}

/* Posts: company blog, no per-author byline */
.entry-meta .posted-by { display: none; }
.entry-meta-divider-dot > *:nth-child(2)::before { display: none; }
.single-post .entry-content > * { max-width: 50ch; }
.entry-taxonomies a { min-width: 44px; justify-content: center; padding-inline: 4px; }

/* 404 page */
.bsm-404 { max-width: 760px; padding: clamp(48px, 8vw, 96px) 0; }
.bsm-404 h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 14px; }
.bsm-404__lead { font-size: 1.1rem; color: var(--bsm-text); max-width: 52ch; margin: 0 0 26px; }
.bsm-404__search { max-width: 520px; margin-bottom: 40px; }
.bsm-404 h2 { font-size: 1.15rem; margin: 0 0 12px; }
.bsm-404__cats { list-style: none; padding: 0; margin: 0 0 36px; columns: 2; column-gap: 32px; border-top: 1px solid var(--bsm-line); }
.bsm-404__cats li { margin: 0; break-inside: avoid; border-bottom: 1px solid var(--bsm-line); }
.bsm-404__cats a { display: flex; align-items: center; min-height: 48px; color: var(--bsm-ink); text-decoration: none; font-weight: 600; }
.bsm-404__cats a:hover { color: var(--bsm-crimson); }
@media (max-width: 600px) { .bsm-404__cats { columns: 1; } }

/* Legal pages */
.bsm-legal { max-width: 68ch; }
.bsm-legal h2 { font-size: 1.35rem; margin: 2.2em 0 .5em; }
.bsm-legal .bsm-legal__updated { color: var(--bsm-muted); font-size: .92rem; }
