/* Brooklin Home Hardware — storefront theme. Tokens follow brand guideline v1.1 (pp. 5, 6, 12). */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/Archivo-wght.woff2") format("woff2");
	font-weight: 500 800;
	font-display: swap;
}

:root {
	--red: #E51B2B;        /* fills + large type only */
	--red-700: #B91C1C;    /* small red text + links on light */
	--red-800: #991B1B;
	--yellow: #FFD400;     /* never text on light */
	--ink: #181818;
	--ink-2: #242424;
	--paper: #FCFBF7;
	--canvas: #F5F1E8;
	--tan: #C9B79C;
	--steel: #6D7378;      /* borders, icons */
	--steel-700: #575D62;  /* secondary text */
	--rule: #DDD6C8;
	--white: #fff;

	--display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--r-input: 2px; --r-btn: 3px; --r-card: 4px;
	--wrap: 1280px;
	--gutter: 16px;
}
@media (min-width: 700px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-700); text-underline-offset: 2px; }
a:hover { color: var(--red-800); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.on-ink :focus-visible, .utility :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--yellow); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 var(--s3); }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 var(--s4); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: var(--s3) var(--s4); }
.skip-link:focus { top: var(--s4); }
.icon { width: 20px; height: 20px; flex: none; }

/* Labels + eyebrows (mono accent) */
.eyebrow, .label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-700); margin: 0 0 var(--s3); }
.eyebrow.on-dark { color: var(--yellow); }
.label { color: var(--steel-700); }

/* Buttons — one red per view */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border: 2px solid transparent; border-radius: var(--r-btn); font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-700); color: var(--white); }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn-secondary:hover { background: #000; color: var(--white); }
.btn-tertiary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-tertiary:hover { background: var(--ink); color: var(--white); }
.btn-tertiary-dark { background: transparent; color: var(--white); border-color: var(--white); }
.btn-tertiary-dark:hover { background: var(--white); color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffe14d; color: var(--ink); }
.btn-text, .btn-text-dark { padding: 0; min-height: 44px; background: none; color: var(--red-700); }
.btn-text-dark { color: var(--yellow); }
.btn-text:hover span, .btn-text-dark:hover span { text-decoration: underline; }
.btn-text.on-dark { color: var(--yellow); }
.btn-block { width: 100%; }

/* Utility bar */
.utility { background: var(--ink); color: #e9e7e2; font-size: 0.85rem; }
.utility-in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s5); min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.utility p { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.utility .icon { width: 16px; height: 16px; color: var(--tan); }
.utility a { color: inherit; text-decoration: none; }
.utility a:hover { color: var(--white); text-decoration: underline; }
.open-status.is-open .icon { color: #4ade80; }
.utility-note { margin-left: auto !important; color: var(--yellow); }
@media (max-width: 899px) { .utility-addr, .utility-note { display: none !important; } }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.header-bar { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 44px; height: auto; }
.logo-type { display: flex; flex-direction: column; font-family: var(--display); line-height: 1; }
.logo-local { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; text-transform: uppercase; }
.logo-hh { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-700); margin-top: 3px; }
.header-search { flex: 1; max-width: 640px; margin: 0 auto; }
.header-tools { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.tool { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 var(--s2); background: none; border: 0; color: var(--ink); font: inherit; font-size: 0.9rem; text-decoration: none; cursor: pointer; border-radius: var(--r-btn); }
.tool:hover { background: var(--canvas); color: var(--ink); }
.tool-cart { position: relative; }
.cart-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: var(--white); font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cart-count.is-empty { background: var(--canvas); color: var(--steel-700); }
.search-mobile { padding-bottom: var(--s3); }
.mobile-account { margin: 0 0 var(--s3); }
.mobile-account a { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); font-family: var(--display); font-weight: 600; text-decoration: none; min-height: 44px; }
@media (max-width: 599px) {
	/* Logo + four icons don't fit a phone header: account moves into the menu drawer. */
	.tool-account { display: none; }
	.header-bar { gap: var(--s2); }
	.logo { gap: var(--s2); }
	.logo-mark { width: 34px; }
	.logo-local { font-size: 1.05rem; }
	.logo-hh { font-size: 0.68rem; }
}
@media (max-width: 899px) {
	.header-search, .tool-label { display: none; }
	.logo-mark { width: 38px; }
	.logo-local { font-size: 1.15rem; }
}
@media (min-width: 900px) {
	.search-toggle, .menu-toggle, .search-mobile { display: none !important; }
}

/* Search form. Class is .site-search, not .search: WordPress adds "search" to <body> on results pages. */
.site-search { display: flex; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-input); overflow: hidden; }
.site-search input[type="search"] { flex: 1; min-width: 0; min-height: 44px; padding: 0 var(--s4); border: 0; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; }
.site-search input::placeholder { color: var(--steel-700); }
.site-search input:focus { outline: none; }
.site-search:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.site-search button { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; border: 0; background: var(--ink); color: var(--white); cursor: pointer; }
.site-search button:hover { background: #000; }
.site-search--hero { border-color: var(--white); max-width: 560px; }
.site-search--hero input[type="search"] { min-height: 56px; font-size: 1.05rem; }
.site-search--hero button { background: var(--red); min-width: 60px; }
.site-search--hero button:hover { background: var(--red-700); }

/* Category nav */
.catnav { border-top: 1px solid var(--rule); background: var(--white); }
.catnav-list { list-style: none; display: flex; align-items: stretch; gap: var(--s1); margin-top: 0; margin-bottom: 0; }
.catnav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 var(--s3); border: 0; background: none; font-family: var(--display); font-weight: 600; font-size: 0.98rem; color: var(--ink); text-decoration: none; cursor: pointer; border-bottom: 3px solid transparent; }
.catnav-link:hover, .catnav-link[aria-expanded="true"] { border-bottom-color: var(--red); color: var(--ink); }
.catnav-link .icon { width: 18px; height: 18px; }
.catnav-link .chev { transition: transform .15s; }
.catnav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.catnav-ask { margin-left: auto; }
.catnav-ask .catnav-link { color: var(--red-700); }
.shop-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--rule); border-bottom: 4px solid var(--red); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.shop-panel-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.2fr; gap: var(--s6); padding-top: var(--s6); padding-bottom: var(--s6); }
.shop-col ul { list-style: none; margin: 0; padding: 0; }
.shop-col li a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; }
.shop-col li a:hover { color: var(--red-700); text-decoration: underline; }
.shop-col-cta { background: var(--canvas); padding: var(--s5); border-radius: var(--r-card); }
@media (max-width: 899px) { .catnav { display: none; } }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 50; background: var(--white); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--rule); }
.mobile-body { flex: 1; padding-top: var(--s5); }
.m-list { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.m-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; }
.mobile-foot { padding-top: var(--s4); padding-bottom: var(--s5); border-top: 1px solid var(--rule); }
body.nav-open { overflow: hidden; }

/* Sections */
.section { padding: var(--s8) 0; }
@media (min-width: 900px) { .section { padding: var(--s9) 0; } }
.section-head { margin-bottom: var(--s6); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.section-lede { color: var(--steel-700); margin: 0; max-width: 60ch; }
.on-ink { background: var(--ink); color: #eeece8; }
.on-ink h2, .on-ink h3 { color: var(--white); }
.on-canvas { background: var(--canvas); }

/* Hero */
.hero { display: grid; background: var(--ink); color: var(--white); }
.hero-copy { padding: var(--s7) var(--gutter); }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem); color: var(--white); margin-bottom: var(--s4); }
.hero-lede { font-size: 1.1rem; color: #e2e0db; max-width: 46ch; }
.hero-quick { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); font-size: 0.9rem; margin-top: var(--s4); color: #cfccc6; }
.hero-quick a { color: var(--white); }
.hero-quick a:hover { color: var(--yellow); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0 0; }
.rating-strip { margin: var(--s5) 0 0; font-size: 0.95rem; }
.rating-strip a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #e2e0db; text-decoration: none; }
.rating-strip a:hover strong, .rating-strip a:hover { color: var(--white); }
.rating-strip strong { color: var(--white); font-family: var(--display); }
.rating-stars { position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: 2px; color: #555; line-height: 1; }
.rating-stars::before { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--rating) / 5 * 100%); overflow: hidden; color: var(--yellow); }
.rating-count { color: #cfccc6; }
.visit-reviews { font-size: 0.95rem; }
.hero-media { position: relative; min-height: 260px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
	.hero { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); min-height: 560px; }
	.hero-copy { padding: var(--s8) var(--s7) var(--s8) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); align-self: center; }
	.hero-media { border-left: 6px solid var(--red); }
}

/* Shop by need */
.needs-grid { display: grid; gap: var(--s4); }
@media (min-width: 1000px) { .needs-grid { grid-template-columns: 3fr 1fr; } }
.need-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (min-width: 700px) { .need-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need-tile a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.need-tile a:hover { border-color: var(--ink); }
.need-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--canvas); }
.need-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.need-tile a:hover .need-img img { transform: scale(1.03); }
.need-text { display: flex; flex-direction: column; gap: 2px; padding: var(--s3) var(--s4) var(--s4); }
.need-text strong { font-family: var(--display); font-size: 1.1rem; }
.need-text span { font-size: 0.88rem; color: var(--steel-700); }
.seasonal { display: flex; flex-direction: column; background: var(--ink); color: var(--white); border-radius: var(--r-card); overflow: hidden; text-decoration: none; }
.seasonal-img { aspect-ratio: 4 / 3; overflow: hidden; }
@media (min-width: 1000px) { .seasonal-img { aspect-ratio: auto; flex: 1; min-height: 0; } }
.seasonal-img img { width: 100%; height: 100%; object-fit: cover; }
.seasonal-text { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); border-top: 4px solid var(--yellow); }
.seasonal-text strong { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.seasonal-text > span:not(.eyebrow):not(.btn) { color: #d8d5cf; font-size: 0.95rem; }
.seasonal .eyebrow { margin: 0; }
.seasonal:hover { color: var(--white); }
.seasonal:hover .btn-text span { text-decoration: underline; }

/* Trust strip */
.trust { background: var(--canvas); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust-list { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); padding-top: var(--s5); padding-bottom: var(--s5); }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-list li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 0.9rem; color: var(--steel-700); }
.trust-list .icon { color: var(--red-700); margin-top: 2px; }
.trust-list strong { display: block; font-family: var(--display); font-size: 1rem; color: var(--ink); }

/* Product row */
.product-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (min-width: 700px) { .product-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-product { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s3); display: flex; flex-direction: column; }
.card-product > a { display: flex; flex-direction: column; gap: var(--s2); flex: 1; text-decoration: none; color: var(--ink); }
.card-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--white); }
.card-img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.card-name { font-size: 0.95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-product > a:hover .card-name { text-decoration: underline; }
.card-price { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-top: auto; }
.card-price del { color: var(--steel-700); font-weight: 500; font-size: 0.9rem; }
.card-price ins { text-decoration: none; color: var(--red-700); }
.card-product .bhh-stock { margin: var(--s2) 0 0; }

/* Services */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: #3a3a3a; border: 1px solid #3a3a3a; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card { background: var(--ink); padding: var(--s5); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: var(--s4); }
.service-no { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); margin-bottom: var(--s3); }
.service-icon { width: 32px; height: 32px; color: var(--tan); grid-row: 2 / 4; }
.service-card h3 { margin: 0 0 var(--s2); font-size: 1.25rem; }
.service-card p { margin: 0; color: #cfccc6; font-size: 0.95rem; }
.services-also { margin: var(--s4) 0 0; color: #cfccc6; font-size: 0.95rem; }
.repair-band { display: grid; margin-top: var(--s7); background: var(--ink-2); border-top: 4px solid var(--red); }
@media (min-width: 900px) { .repair-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.repair-media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.repair-copy { padding: var(--s6) var(--s5); }
.repair-copy h3 { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); }
.repair-copy p { color: #d8d5cf; }
.repair-ctas { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }

/* Chainsaw bar finder */
.finder { background: var(--canvas); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.finder-in { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .finder-in { grid-template-columns: 1fr 1.1fr; } }
.finder-copy p { max-width: 52ch; }
.finder-note { font-size: 0.9rem; color: var(--steel-700); margin-top: var(--s4); }
.finder-figure { margin: 0; color: var(--ink); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s5); }
.finder-figure svg { width: 100%; height: auto; display: block; }

/* Why us */
.why-in { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .why-in { grid-template-columns: 1fr 2fr; gap: var(--s7); } }
.why-media img { border-radius: var(--r-card); width: 100%; }
.why-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s5); }
@media (min-width: 700px) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why-list li { border-top: 3px solid var(--ink); padding-top: var(--s4); }
.why-list p { color: var(--steel-700); margin: 0; }

/* Local story */
.story { padding-top: 0; }
.story-in { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .story-in { grid-template-columns: 1fr 1.2fr; gap: var(--s7); } }
.story-copy p { font-size: 1.05rem; }
.story-media { position: relative; padding-bottom: var(--s7); }
.story-media > img:first-child { border-radius: var(--r-card); width: 100%; }
.story-inset { position: absolute; right: calc(var(--s4) * -1); bottom: 0; width: 48%; border: 6px solid var(--paper); border-radius: var(--r-card); }
@media (max-width: 899px) { .story-inset { right: 0; } }

/* Visit */
.visit-in { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .visit-in { grid-template-columns: 1.2fr 1fr; } }
.visit-addr { color: var(--steel-700); }
.visit-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours caption { text-align: left; }
.hours th, .hours td { padding: 6px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-lg { font-size: 1.05rem; }
.hours-lg th { font-family: var(--display); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #d8d5cf; padding-top: var(--s8); font-size: 0.95rem; }
.site-footer a { color: #f1efea; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer .label { color: var(--yellow); }
.footer-grid { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin-bottom: 2px; }
.footer-name span { display: block; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; color: #ff8a8a; }
.footer-line { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tan); }
.site-footer address { font-style: normal; margin-bottom: var(--s5); line-height: 1.6; }
.site-footer .hours th, .site-footer .hours td { border-bottom-color: #333; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); padding-top: var(--s5); padding-bottom: var(--s5); border-top: 1px solid #333; font-size: 0.85rem; }
.footer-base p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: var(--s4); margin: 0; padding: 0; }

/* WooCommerce store notice: in the page flow and on-brand, not a fixed purple overlay. */
p.demo_store, .woocommerce-store-notice { display: block; position: static !important; margin: 0; padding: 10px var(--gutter); background: var(--yellow) !important; color: var(--ink) !important; font-size: 0.9rem; text-align: center; box-shadow: none; }
.woocommerce-store-notice a { color: var(--ink) !important; font-weight: 600; }
body.woocommerce-demo-store { padding-top: 0 !important; }
html.bhh-notice-off .woocommerce-store-notice { display: none !important; }

/* Generic pages + commerce wrapper */
.page-wrap, .commerce-wrap { padding-top: var(--s7); padding-bottom: var(--s8); }
.page-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: var(--s5); }
.prose { max-width: 75ch; }
.prose img { height: auto; }
.table-scroll { overflow-x: auto; }
.tool-page { min-height: 60vh; }

/* ─── WooCommerce: shared ─── */
.crumbs { font-size: 0.85rem; color: var(--steel-700); margin: 0 0 var(--s4); }
.crumbs a { color: var(--steel-700); }
.crumbs a:hover { color: var(--ink); }
.crumb-sep { margin: 0 6px; color: var(--rule); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 var(--s5); padding: var(--s3) var(--s4); background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--ink); border-radius: var(--r-input); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content: none !important; }
.woocommerce-error { border-left-color: var(--red-700); }
.woocommerce-message .button { margin-left: auto; order: 2; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s5); border: 0; border-radius: var(--r-btn); background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 600; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #000; color: var(--white); }
.woocommerce .button.alt, .woocommerce button.single_add_to_cart_button, .woocommerce a.checkout-button { background: var(--red) !important; color: var(--white) !important; }
.woocommerce .button.alt:hover, .woocommerce button.single_add_to_cart_button:hover, .woocommerce a.checkout-button:hover { background: var(--red-700) !important; }
.woocommerce a.added_to_cart { display: inline-block; margin-top: var(--s2); font-size: 0.9rem; }
.price del { color: var(--steel-700); font-weight: 500; }
.price ins { text-decoration: none; color: var(--red-700); }

/* ─── Catalogue (shop, categories, brands, search) ─── */
.catalog { padding-top: var(--s5); padding-bottom: var(--s8); }
.catalog-head { margin-bottom: var(--s5); max-width: 80ch; }
.catalog-head .page-title { margin-bottom: var(--s3); }
.catalog-desc summary { cursor: pointer; list-style: none; color: var(--steel-700); }
.catalog-desc summary::-webkit-details-marker { display: none; }
.catalog-desc .more { color: var(--red-700); font-weight: 600; white-space: nowrap; }
.catalog-desc[open] summary { display: none; }
.catalog-desc .prose { color: var(--steel-700); }
.catalog-layout { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); gap: var(--s6); } }
.catalog-filters-wrap { display: grid; gap: var(--s5); align-content: start; }
.catalog-filters { display: grid; gap: var(--s5); }
.filters-summary { display: none; }
@media (max-width: 899px) {
	.catalog-filters-wrap { gap: var(--s3); }
	.filters-summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 var(--s4); border: 1px solid var(--ink); border-radius: var(--r-btn); background: var(--white); font-family: var(--display); font-weight: 600; cursor: pointer; list-style: none; }
	.filters-summary::-webkit-details-marker { display: none; }
	.filters-summary::after { content: "+"; font-size: 1.3rem; }
	details[open] > .filters-summary::after { content: "–"; }
	.catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); padding-top: var(--s4); }
	.filter-help { display: none; }
}
.filter-group ul { list-style: none; margin: 0; padding: 0; }
.filter-group li a { display: flex; justify-content: space-between; gap: var(--s2); padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid var(--rule); }
.filter-group li a:hover { color: var(--red-700); }
.filter-group li a.is-on { font-weight: 700; color: var(--red-700); }
.filter-group li a.is-on::after { content: "✕"; margin-left: auto; padding-left: var(--s2); font-size: 0.8rem; }
.filter-group .count { color: var(--steel-700); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.filter-group li a.is-on .count { display: none; }
.filter-toggle { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; }
.filter-toggle .switch { width: 40px; height: 22px; border-radius: 11px; background: var(--rule); position: relative; flex: none; transition: background .15s; }
.filter-toggle .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.filter-toggle.is-on .switch { background: #15803d; }
.filter-toggle.is-on .switch::after { transform: translateX(18px); }
.filter-help { background: var(--canvas); border-radius: var(--r-card); padding: var(--s4); font-size: 0.9rem; }
.filter-help p { margin: 0 0 var(--s2); }
.filter-help a { font-weight: 600; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); margin-bottom: var(--s4); }
.catalog-toolbar .result-count { margin-right: auto; }
@media (max-width: 599px) { .catalog-toolbar .result-count { flex-basis: 100%; } .catalog-toolbar .woocommerce-ordering { margin-left: auto; } }
.result-count { margin: 0; color: var(--steel-700); font-size: 0.95rem; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 44px; padding: 0 36px 0 var(--s3); border: 1px solid var(--steel); border-radius: var(--r-input); background: var(--white); font: inherit; font-size: 0.95rem; color: var(--ink); }
.catalog-empty { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s6); }

/* Product grid + card (catalogue and related products) */
ul.products { list-style: none; margin: 0 0 var(--s6); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (min-width: 700px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); } }
@media (min-width: 1200px) { .catalog ul.products, .related ul.products, .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
ul.products::before, ul.products::after { content: none !important; display: none !important; }
ul.products li.card-product { width: auto !important; float: none !important; margin: 0 !important; position: relative; }
.card-link { display: flex; flex-direction: column; gap: 6px; flex: 1; text-decoration: none; color: var(--ink); }
.card-link:hover .card-name { text-decoration: underline; }
.card-brand { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-700); }
.card-flag { position: absolute; top: var(--s3); left: var(--s3); background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 0.75rem; padding: 2px 8px; border-radius: var(--r-input); }
.card-action { margin-top: var(--s3); }
.card-action .button, .woocommerce ul.products li.product .card-action .button { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0 !important; padding: 0 var(--s4) !important; line-height: 1.2; }
.card-product .bhh-stock { margin: var(--s2) 0 0; }
.woocommerce-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--rule); border-radius: var(--r-btn); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; }
.woocommerce-pagination span.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ─── Product page ─── */
.product-wrap { padding-top: var(--s5); padding-bottom: var(--s8); }
.product-wrap div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); position: relative; }
@media (min-width: 900px) { .product-wrap div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s7); align-items: start; } }
.product-wrap div.product > .woocommerce-tabs, .product-wrap div.product > .related, .product-wrap div.product > .upsells, .product-wrap div.product > .fits-saws { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.product-wrap .onsale { position: absolute; top: var(--s3); left: var(--s3); z-index: 5; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 0.85rem; padding: 4px 10px; border-radius: var(--r-input); min-height: 0; min-width: 0; line-height: 1.2; }
.woocommerce-product-gallery { position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s4); }
.woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 560px; object-fit: contain; }
/* Keep the gallery the same height from first paint through slider set-up:
   show only the first photo until the slider has sized its viewport (it sets
   an inline height), and reserve the thumbnail row until it's built. */
.woocommerce-product-gallery:not(:has(.flex-viewport[style*="height"])) .woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
.woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(2)):not(:has(.flex-control-thumbs))::after { content: ""; display: block; margin-top: var(--s3); aspect-ratio: 5 / 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: var(--s3); right: var(--s3); z-index: 5; width: 40px; height: 40px; display: flex !important; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--rule); border-radius: 50%; font-size: 0; text-decoration: none; }
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; color: var(--ink); }
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
.flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; background: var(--white); border: 2px solid transparent; border-radius: var(--r-input); opacity: 1 !important; cursor: pointer; }
.flex-control-thumbs img.flex-active { border-color: var(--ink); }
.flex-control-thumbs img:hover { border-color: var(--steel); }
.product-brand { margin: 0 0 var(--s2); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.product-brand a { color: var(--steel-700); text-decoration: none; }
.product-brand a:hover { color: var(--red-700); text-decoration: underline; }
.summary .product_title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: var(--s3); }
.product-wrap div.product p.price, .product-wrap div.product span.price, .summary .price { font-family: var(--display); font-weight: 700; font-size: 1.75rem; margin: 0 0 var(--s3); color: var(--ink); }
.woocommerce ul.products li.product .price, .card-price { color: var(--ink); }
.summary .price del { font-size: 1.1rem; }
.summary .woocommerce-product-details__short-description { color: #333; margin-bottom: var(--s3); }
.summary .woocommerce-product-details__short-description ul { padding-left: 1.2em; }
/* Imported manufacturer copy often uses big headings; keep them subordinate to the product title. */
.summary .woocommerce-product-details__short-description :is(h1, h2, h3, h4) { font-size: 1.1rem; line-height: 1.3; margin: var(--s3) 0 var(--s2); }
.summary form.cart { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: stretch; margin: var(--s4) 0; }
.summary form.variations_form { display: block; }
.summary .quantity input.qty { width: 76px; min-height: 52px; border: 1px solid var(--steel); border-radius: var(--r-input); font: inherit; font-size: 1.05rem; text-align: center; }
.summary .single_add_to_cart_button { min-height: 52px !important; flex: 1; font-size: 1.05rem !important; }
.summary .variations { width: 100%; border-collapse: collapse; margin-bottom: var(--s3); }
.summary .variations th, .summary .variations td { display: block; text-align: left; padding: 0 0 var(--s2); }
.summary .variations label { font-weight: 700; }
.summary .variations select { width: 100%; min-height: 48px; padding: 0 var(--s3); border: 1px solid var(--steel); border-radius: var(--r-input); font: inherit; background: var(--white); }
.summary .reset_variations { font-size: 0.85rem; }
.summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s3); }
.summary .woocommerce-variation-price .price { font-size: 1.4rem; }
.summary .bhh-stock--single { padding: var(--s3) var(--s4); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); }
.local-panel { list-style: none; margin: 0 0 var(--s5); padding: 0; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--canvas); }
.local-panel li { display: flex; gap: var(--s3); padding: var(--s3) var(--s4); font-size: 0.92rem; color: var(--steel-700); }
.local-panel li + li { border-top: 1px solid var(--rule); }
.local-panel .icon { color: var(--ink); margin-top: 2px; }
.local-panel strong { display: block; color: var(--ink); }
.product_meta { font-family: var(--mono); font-size: 0.78rem; color: var(--steel-700); display: grid; gap: 4px; }
.product_meta a { color: var(--steel-700); }
.woocommerce-tabs { margin-top: var(--s5); }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); padding: 0; border-bottom: 2px solid var(--ink); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { content: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { content: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: var(--s3) var(--s4); font-family: var(--display); font-weight: 600; color: var(--steel-700) !important; text-decoration: none; }
.woocommerce-tabs ul.tabs li.active a { background: var(--ink); color: var(--white) !important; border-radius: var(--r-btn) var(--r-btn) 0 0; }
.woocommerce-tabs .panel { max-width: 80ch; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs table.shop_attributes { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.woocommerce-tabs table.shop_attributes th, .woocommerce-tabs table.shop_attributes td { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--rule); text-align: left; font-style: normal; }
.woocommerce-tabs table.shop_attributes th { width: 35%; font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--steel-700); }
.related > h2, .upsells > h2 { font-size: 1.6rem; margin-top: var(--s6); }
/* Finder page: the template's hero carries the H1, so the widget's own heading is hidden. */
.finder-page { padding-top: var(--s6); padding-bottom: var(--s8); }
.finder-page .csf-head { display: none; }

/* Chainsaw finder's "Fits these saws" block on bar/chain product pages */
.fits-saws { background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s5); }
.fits-saws h2 { font-size: 1.4rem; margin-bottom: var(--s2); }
.fits-note { color: var(--steel-700); font-size: 0.95rem; }
.fits-brands { display: grid; gap: var(--s5); }
@media (min-width: 700px) { .fits-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fits-brand-name { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-700); border-bottom: 1px solid var(--rule); padding-bottom: 4px; margin-bottom: var(--s2); }
.fits-brand ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s4); }
.fits-brand li { padding: 3px 0; break-inside: avoid; }

/* ─── Cart, checkout, account: full width, two columns ─── */
.woocommerce-cart .prose, .woocommerce-checkout .prose, .woocommerce-account .prose { max-width: none; }
.woocommerce-cart .page-wrap .woocommerce, .woocommerce-checkout .page-wrap .woocommerce { display: grid; gap: var(--s5) var(--s7); align-items: start; }
@media (min-width: 1000px) {
	.woocommerce-cart .page-wrap .woocommerce { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); }
	.woocommerce-cart .page-wrap .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
	.woocommerce-cart .cart-collaterals { position: sticky; top: var(--s5); }
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr); gap: 0 var(--s7); align-items: start; }
	.woocommerce-checkout form.checkout > * { grid-column: 1; }
	.woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; }
	.woocommerce-checkout form.checkout > #order_review { grid-column: 2; grid-row: 2 / span 8; position: sticky; top: var(--s5); }
}
.woocommerce-cart .page-wrap .woocommerce::before, .woocommerce-cart .page-wrap .woocommerce::after,
.woocommerce-checkout form.checkout::before, .woocommerce-checkout form.checkout::after { content: none !important; display: none !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals,
.woocommerce #customer_details .col-1, .woocommerce #customer_details .col-2 { width: 100% !important; float: none !important; }
.woocommerce #customer_details { display: grid; gap: var(--s5); }
.cart-collaterals .cart_totals { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s5); }
.cart-collaterals .cart_totals h2, #order_review_heading { font-size: 1.4rem; margin: 0 0 var(--s4); }
#order_review { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s5); }
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--white); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: var(--s3) var(--s4); border-top: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.cart_totals table.shop_table, #order_review table.shop_table { border: 0; }
.woocommerce table.shop_table td.product-name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.woocommerce table.shop_table td.product-name a:hover { text-decoration: underline; }
.woocommerce table.cart img { width: 64px; height: 64px; object-fit: contain; }
.woocommerce a.remove { color: var(--red-700) !important; font-size: 1.4rem; }
.woocommerce a.remove:hover { background: var(--red-700); color: var(--white) !important; }
.woocommerce table.cart td.actions .coupon { display: inline-flex; gap: var(--s2); flex-wrap: wrap; }
.woocommerce table.cart td.actions { text-align: right; }
.woocommerce table.cart td.actions .coupon { float: left; }
.woocommerce .quantity input.qty, .woocommerce #coupon_code,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
	min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--steel); border-radius: var(--r-input); background: var(--white); font: inherit; color: var(--ink);
}
.woocommerce form .form-row textarea { padding: var(--s3); min-height: 96px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce .quantity input.qty { width: 72px; text-align: center; padding: 0 var(--s2); }
.woocommerce #coupon_code { width: 180px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce #coupon_code:focus, .woocommerce .quantity input.qty:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.woocommerce form .form-row label { font-weight: 600; font-size: 0.92rem; }
.woocommerce form .form-row { margin: 0 0 var(--s3); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce button.button.disabled { background: var(--canvas) !important; color: var(--steel-700) !important; opacity: 1; cursor: not-allowed; padding: 0 var(--s5); }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px !important; font-size: 1.1rem !important; }
.woocommerce-checkout #payment { background: var(--canvas); border-radius: var(--r-card); }
.woocommerce-checkout #payment div.form-row { padding: var(--s4); }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px !important; font-size: 1.1rem !important; }
.woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; }
/* Phones: WooCommerce's small-screen sheet is dequeued (it fights the product
   grid), so stack responsive tables here: one card per cart line, labels from data-title. */
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); padding: var(--s2) 0; }
	.woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: var(--s3); border: 0; padding: 6px var(--s4); text-align: right; }
	.woocommerce table.shop_table_responsive tr td[data-title]::before { content: attr(data-title); font-weight: 600; text-align: left; }
	.woocommerce table.shop_table_responsive tr td.product-remove, .woocommerce table.shop_table_responsive tr td.product-thumbnail { justify-content: flex-start; }
	.woocommerce table.shop_table_responsive tr td.product-thumbnail::before, .woocommerce table.shop_table_responsive tr td.product-remove::before { content: none; }
	.woocommerce table.cart td.actions { display: grid; gap: var(--s3); text-align: left; }
	.woocommerce table.cart td.actions .coupon { float: none; display: grid; grid-template-columns: 1fr auto; }
	.woocommerce table.cart td.actions .coupon #coupon_code { width: 100%; }
	.woocommerce table.cart td.actions > .button { width: 100%; }
	/* Totals rows already have a <th> label: show label and value side by side, no duplicate. */
	.woocommerce table.shop_table_responsive tr:has(> th) { grid-template-columns: auto 1fr; align-items: baseline; }
	.woocommerce table.shop_table_responsive tr:has(> th) th { border: 0; padding: 6px var(--s4); }
	.woocommerce table.shop_table_responsive tr:has(> th) td[data-title]::before { content: none; }
}
.woocommerce ul#shipping_method li { margin: 0 0 6px; }

/* ─── Content pages (About, Services, Delivery, Contact) ─── */
.page-hero { padding: var(--s7) 0; border-bottom: 4px solid var(--red); }
.page-hero-in { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .page-hero.has-media .page-hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); color: var(--white); margin-bottom: var(--s4); }
.page-hero-lede { font-size: 1.1rem; color: #e2e0db; max-width: 58ch; margin: 0; }
.page-hero-media img { width: 100%; border-radius: var(--r-card); aspect-ratio: 3 / 2; object-fit: cover; }
.crumbs-dark, .crumbs-dark a { color: #cfccc6; }
.crumbs-dark .crumb-sep { color: #555; }
.page-section h2 { margin-bottom: var(--s5); }
.page-section .prose { font-size: 1.05rem; }
.page-section .prose p { max-width: 70ch; }
.page-section + .page-section { padding-top: 0; }
.detail-grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.detail-card { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: var(--r-card); padding: var(--s5); scroll-margin-top: var(--s5); }
.detail-card:target { border-top-color: var(--red); box-shadow: 0 0 0 3px var(--yellow); }
.detail-no { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-700); margin-bottom: var(--s3); }
.detail-icon { width: 30px; height: 30px; color: var(--ink); margin-bottom: var(--s3); }
.detail-card h3 { margin-bottom: var(--s2); }
.detail-card p { color: var(--steel-700); margin-bottom: var(--s3); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.95rem; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 10px; height: 6px; border-left: 2px solid #15803d; border-bottom: 2px solid #15803d; transform: rotate(-45deg); }
.section-note { margin-top: var(--s5); color: var(--steel-700); }
.faq { border-top: 1px solid var(--rule); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red-700); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 var(--s4); color: #333; max-width: 70ch; }
.faq-a p { margin-bottom: var(--s3); }
.contact-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.contact-ways { display: grid; gap: var(--s3); }
.contact-way { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4) var(--s5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); color: var(--steel-700); text-decoration: none; }
.contact-way:hover { border-color: var(--ink); color: var(--steel-700); }
.contact-way .icon { width: 26px; height: 26px; color: var(--red-700); margin-top: 2px; }
.contact-way strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
.map-embed { margin-top: var(--s6); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 7; background: var(--canvas); }
@media (max-width: 699px) { .map-embed { aspect-ratio: 4 / 3; } }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); background: var(--canvas); border: 1px solid var(--rule); border-left: 4px solid var(--red); border-radius: var(--r-card); padding: var(--s5) var(--s6); }
.cta-band > p:first-child { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0; }

/* Live chat widget (employee-scheduling-plugin) in the brand system. Overrides
   live here, not in the plugin, so they ship with the theme and the staff app's
   plugin needs no release. Colours per guideline v1.1; corners 2-4px. */
#bhh-livechat-root { font-family: var(--body); }
#bhh-livechat-root .bhhwgt-bubble { background: var(--ink); border-radius: var(--r-btn); width: auto; min-width: 56px; height: 52px; padding: 0 16px; gap: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.28); border-bottom: 3px solid var(--red); }
#bhh-livechat-root .bhhwgt-bubble:hover { background: #000; transform: none; }
#bhh-livechat-root .bhhwgt-bubble:focus-visible { outline: 3px solid var(--yellow); }
#bhh-livechat-root .bhhwgt-bubble svg { width: 22px; height: 22px; }
@media (min-width: 700px) {
	#bhh-livechat-root .bhhwgt-bubble::after { content: "Ask the store"; color: var(--white); font-family: var(--display); font-weight: 600; font-size: 15px; }
}
#bhh-livechat-root .bhhwgt-panel { border-radius: var(--r-card); border: 1px solid var(--rule); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
#bhh-livechat-root .bhhwgt-header { background: var(--ink); border-bottom: 3px solid var(--red); }
#bhh-livechat-root .bhhwgt-header-title { font-family: var(--display); font-size: 16px; }
#bhh-livechat-root .bhhwgt-close-btn:focus-visible { outline: 2px solid var(--yellow); }
#bhh-livechat-root .bhhwgt-input, #bhh-livechat-root .bhhwgt-textarea, #bhh-livechat-root .bhhwgt-reply-input { border-color: var(--steel); border-radius: var(--r-input); }
#bhh-livechat-root .bhhwgt-input:focus, #bhh-livechat-root .bhhwgt-textarea:focus, #bhh-livechat-root .bhhwgt-reply-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
#bhh-livechat-root .bhhwgt-label { color: var(--ink); }
#bhh-livechat-root .bhhwgt-send-btn { background: var(--red); border-radius: var(--r-btn); font-family: var(--display); }
#bhh-livechat-root .bhhwgt-send-btn:hover { background: var(--red-700); }
#bhh-livechat-root .bhhwgt-send-btn:disabled { background: #e8a0a6; }
#bhh-livechat-root .bhhwgt-messages .bhh-lc-msg-body { border-radius: var(--r-card); }
#bhh-livechat-root .bhhwgt-messages .bhh-lc-msg-customer .bhh-lc-msg-body { background: var(--canvas); color: var(--ink); }
#bhh-livechat-root .bhhwgt-messages .bhh-lc-msg-customer .bhh-lc-msg-body a { color: var(--red-700); }
#bhh-livechat-root .bhhwgt-messages .bhh-lc-msg-agent .bhh-lc-msg-body { background: var(--ink); color: var(--white); }
#bhh-livechat-root .bhhwgt-messages .bhh-lc-msg-agent-name { color: var(--steel-700); }
#bhh-livechat-root .bhhwgt-offline-note { background: #FFF6CC; border-left-color: var(--yellow); color: var(--ink); border-radius: var(--r-input); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Flyer page */
.flyer-hero { padding: var(--s7) 0; border-bottom: 4px solid var(--red); }
.flyer-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); color: var(--white); }
.flyer-hero p { color: #d8d5cf; max-width: 60ch; }
.flyer-hero-in { display: grid; gap: var(--s5); align-items: end; }
@media (min-width: 900px) { .flyer-hero-in { grid-template-columns: 1.4fr 1fr; } }
.flyer-hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; margin: 0; }
@media (min-width: 900px) { .flyer-hero-ctas { justify-content: flex-end; } }
