/*
Theme Name: Black Rock Equipment
Theme URI: https://www.blackrockequip.co.za
Description: Lead-focused theme for Black Rock Equipment — services, component rebuilds, exchange units, gallery and a stock catalogue with quote requests. Use with the "Black Rock Stock & Quote" plugin.
Version: 2.0.4
Requires at least: 6.2
Requires PHP: 7.4
Author: Black Rock Equipment
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackrock
Update URI: false
*/

/* ---------- Tokens ---------- */
:root {
	--bre-accent: #ECB100;
	--bre-accent-dark: #8A6700;
	--bre-ink: #0A1626;
	--bre-ink-2: #13233A;
	--bre-ink-3: #061018;
	--bre-text: #3A3D42;
	--bre-muted: #50545B;
	--bre-soft: #C9CDD4;
	--bre-ground: #FFFFFF;
	--bre-grey: #F4F5F7;
	--bre-sand: #F4F5F7;
	--bre-paper: #FFFFFF;
	--bre-border: #E3E5E9;
	--bre-brown: #8A6700;
	--bre-radius: 4px;
	--bre-max: 1200px;
	--bre-display: 'Raleway', 'Segoe UI', sans-serif;
	--bre-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--bre-wa: #25D366;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bre-ground); color: var(--bre-text); font-family: var(--bre-body); font-size: 16px; line-height: 1.7; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--bre-ink); text-underline-offset: 3px; }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--bre-accent); outline-offset: 2px; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bre-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--bre-accent); color: var(--bre-ink); padding: 12px 16px; font-weight: 700; }
.bre-skip:focus { top: 12px; }
[id] { scroll-margin-top: 100px; }

.bre-wrap { max-width: var(--bre-max); margin: 0 auto; padding: 0 20px; }
.bre-wrap--wide { max-width: 1320px; }

/* Type */
.bre-display { margin: 0; font-family: var(--bre-display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; color: #fff; }
.bre-display--md { font-size: clamp(1.9rem, 4vw, 3rem); }
.bre-h1 { margin: 0; font-family: var(--bre-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; color: #fff; }
.bre-h2 { margin: 0; font-family: var(--bre-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; color: var(--bre-ink); }
.bre-h2--sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.bre-h3 { margin: 0; font-family: var(--bre-display); font-weight: 800; font-size: 1.3rem; line-height: 1.25; color: var(--bre-ink); }
.bre-h3 a { color: inherit; text-decoration: none; }
.bre-kick, .bre-eyebrow { display: inline-block; margin: 0 0 4px; align-self: flex-start; background: var(--bre-accent); color: var(--bre-ink); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 12px; line-height: 1.6; }
.bre-eyebrow--accent { background: var(--bre-accent); }
.bre-lead { margin: 0; font-size: 18px; color: var(--bre-muted); max-width: 680px; }
.bre-mt { margin-top: 36px !important; }
.bre-tag { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--bre-muted); }
.bre-tag--accent { color: var(--bre-accent); }
.bre-note { margin-top: 20px; padding: 14px 18px; background: var(--bre-grey); border-left: 4px solid var(--bre-accent); }

/* Buttons (shared with plugin) */
.bre-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border: 2px solid transparent; border-radius: 3px; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.bre-btn--lg { min-height: 52px; padding: 0 28px; }
.bre-btn--block { width: 100%; }
.bre-btn--accent { background: var(--bre-accent); color: var(--bre-ink); }
.bre-btn--accent:hover { background: #F5C322; color: var(--bre-ink); }
.bre-btn--line { border-color: var(--bre-accent); color: #fff; background: transparent; }
.bre-btn--line:hover { background: var(--bre-accent); color: var(--bre-ink); }
.bre-btn--ink { background: var(--bre-ink); color: #fff; }
.bre-btn--ink:hover { background: #000; color: #fff; }
.bre-btn--inkline { border-color: var(--bre-ink); color: var(--bre-ink); background: transparent; }
.bre-btn--inkline:hover { background: var(--bre-ink); color: #fff; }
.bre-btnrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.bre-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: 14px; color: var(--bre-brown); text-decoration: none; }
.bre-more .bre-ico { transition: transform .15s; }
a:hover .bre-more .bre-ico, .bre-more:hover .bre-ico { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.bre-topbar { background: var(--bre-ink-3); color: var(--bre-soft); font-size: 13px; }
.bre-topbar__in { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.bre-topbar__addr { display: inline-flex; align-items: center; gap: 6px; }
.bre-topbar__addr .bre-ico { color: var(--bre-accent); }
.bre-topbar__group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.bre-topbar a { color: #E2E5EA; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.bre-topbar a:hover { color: var(--bre-accent); }
.bre-telwa { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bre-wa-icon { color: var(--bre-wa) !important; display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; }
.bre-wa-icon:hover { color: #128C7E !important; }

.bre-header { background: var(--bre-ink); border-bottom: 4px solid var(--bre-accent); position: sticky; top: 0; z-index: 50; }
.admin-bar .bre-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bre-header { top: 0; } }
.bre-header__in { display: flex; align-items: center; gap: 16px 28px; min-height: 80px; }
.bre-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.bre-brand__mark { height: 58px; width: auto; max-width: 84px; object-fit: contain; border-radius: 6px; background: #fff; padding: 3px; }
.bre-brand__logo { max-height: 58px; width: auto; }
.bre-brand__word { font-family: var(--bre-display); font-weight: 800; font-size: 18px; color: #fff; line-height: 1.1; }
.bre-brand__word b { color: var(--bre-accent); }
.bre-brand__word small { display: block; font-weight: 700; font-size: 11px; letter-spacing: 2.2px; color: var(--bre-soft); margin-top: 2px; }
.bre-header__nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 16px 24px; }
.bre-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 4px 22px; }
.bre-menu > li { position: relative; }
.bre-menu a { display: inline-flex; align-items: center; min-height: 44px; color: #EEF0F3; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.bre-menu a:hover, .bre-menu .current-menu-item > a, .bre-menu .current-menu-ancestor > a, .bre-menu .current-page-ancestor > a { color: var(--bre-accent); }
.bre-menu .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.bre-menu .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: -12px; min-width: 240px; background: #fff; border-top: 3px solid var(--bre-accent); box-shadow: 0 10px 30px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.bre-menu .sub-menu a { display: flex; padding: 0 16px; color: var(--bre-ink); }
.bre-menu .sub-menu a:hover, .bre-menu .sub-menu .current-menu-item > a { background: var(--bre-accent); color: var(--bre-ink); }
.bre-menu li:hover > .sub-menu, .bre-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bre-header__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bre-cartlink { gap: 8px; padding: 0 14px; border-width: 1px; border-color: #3A4A60; }
.bre-cartlink__n { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--bre-accent); color: var(--bre-ink); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.bre-cartlink__n[data-count="0"] { background: #24344B; color: var(--bre-soft); }
.bre-navtoggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid #3A4A60; border-radius: 4px; background: transparent; color: var(--bre-accent); cursor: pointer; align-items: center; justify-content: center; }
.bre-navtoggle__close { display: none; }

@media (max-width: 1100px) {
	.bre-navtoggle { display: inline-flex; }
	.bre-header__in { flex-wrap: wrap; }
	.bre-header__nav { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; padding: 4px 0 16px; }
	.bre-nav-open .bre-header__nav { display: flex; }
	.bre-nav-open .bre-navtoggle__open { display: none; }
	.bre-nav-open .bre-navtoggle__close { display: inline; }
	.bre-menu { flex-direction: column; flex-wrap: wrap; gap: 0; }
	.bre-menu > li { border-bottom: 1px solid #1E2E44; }
	.bre-menu a { min-height: 50px; font-size: 17px; }
	.bre-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 16px; min-width: 0; }
	.bre-menu .sub-menu a { min-height: 42px; font-size: 15px; padding: 0; color: var(--bre-soft); }
	.bre-menu .sub-menu a:hover { background: transparent; color: var(--bre-accent); }
	.bre-header__actions .bre-btn { flex: 1 1 auto; }
	.bre-nav-open .bre-wa { display: none; }
}

/* ---------- Hero ---------- */
.bre-hero { background: linear-gradient(90deg, rgba(10,22,38,.93), rgba(10,22,38,.62)), var(--bre-hero-bg, none) center / cover no-repeat; color: #fff; }
.bre-hero > .bre-wrap { padding-top: 64px; padding-bottom: 56px; }
.bre-hero__in { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.bre-hero__text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bre-hero__logo { width: 170px; height: auto; border-radius: 12px; box-shadow: 0 0 0 5px var(--bre-accent); background: #fff; }
.bre-hero__tag { margin: 0; font-family: var(--bre-display); font-weight: 700; font-size: 18px; color: var(--bre-accent); letter-spacing: .5px; }
.bre-hero__lead { margin: 0; font-size: 18px; color: #DCE0E6; max-width: 600px; }
.bre-hero h1, .bre-hero__lead { text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.bre-hero__form { flex: 1 1 380px; min-width: 0; max-width: 460px; }
.bre-hero__form .bre-form { box-shadow: 0 24px 48px rgba(0,0,0,.4); border-top: 5px solid var(--bre-accent); }
.bre-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.bre-tiles--hero { margin-top: 44px; }
.bre-tile { background: rgba(255,255,255,.06); border: 1px solid rgba(236,177,0,.55); padding: 22px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 112px; text-decoration: none; color: #fff; transition: background-color .2s, color .2s; }
.bre-tile__name { font-family: var(--bre-display); font-weight: 800; font-size: 17px; line-height: 1.2; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.bre-tile__more { color: var(--bre-accent); font-weight: 600; font-size: 14px; }
.bre-tile:hover { background: var(--bre-accent); color: var(--bre-ink); }
.bre-tile:hover .bre-tile__more { color: var(--bre-ink); }
.bre-tile--light { background: #fff; border: 1px solid var(--bre-border); border-bottom: 4px solid var(--bre-accent); color: var(--bre-ink); }
.bre-tile--light .bre-tile__more { color: var(--bre-brown); }

/* Component page hero */
.bre-hero--component > .bre-wrap { padding-top: 36px; padding-bottom: 72px; }
.bre-hero--component .bre-hero__in { align-items: flex-start; margin-top: 24px; }
.bre-hero__photo { flex: 1 1 400px; min-width: 0; }
.bre-hero__photo .bre-hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bre-radius); box-shadow: 12px 12px 0 var(--bre-accent); }
.bre-graphic { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 260px; background: var(--bre-grey); color: #C5C9D0; }
.bre-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding-top: 8px; }
.bre-facts div { border-left: 3px solid var(--bre-accent); padding-left: 14px; display: flex; flex-direction: column; }
.bre-facts strong { font-family: var(--bre-display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.bre-facts span { color: var(--bre-soft); font-size: 14px; }

/* Breadcrumbs + page hero */
.bre-crumbs { font-size: 14px; color: #C9CDD4; }
.bre-crumbs a { color: var(--bre-accent); text-decoration: none; }
.bre-crumbs a:hover { text-decoration: underline; }
.bre-crumbs [aria-current] { color: #fff; }
.bre-hero--component .bre-crumbs { margin-bottom: 4px; }
.bre-pagehero { background: linear-gradient(rgba(10,22,38,.86), rgba(10,22,38,.9)), var(--bre-page-bg, none) center / cover no-repeat; color: #fff; }
.bre-pagehero .bre-wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 12px; }
.bre-pagehero__lead { margin: 6px 0 0; font-size: 18px; color: #DCE0E6; max-width: 720px; }

/* Component tabs */
.bre-tabs { background: var(--bre-ink-2); border-bottom: 1px solid #1E2E44; }
.bre-tabs__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.bre-tabs a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 16px; white-space: nowrap; font-weight: 600; font-size: 15px; color: var(--bre-soft); text-decoration: none; border-bottom: 3px solid transparent; }
.bre-tabs a:hover { color: #fff; }
.bre-tabs a[aria-current] { color: #fff; border-bottom-color: var(--bre-accent); }

/* Flag band: one repeating background, scrolled sideways */
.bre-flagband { height: 42px; width: 100%; background: #007749 url("assets/img/sa-flag.svg") 0 0 / 63px 42px repeat-x; animation: bre-flagrun 12s linear infinite; }
@keyframes bre-flagrun { from { background-position: 0 0; } to { background-position: -630px 0; } }

/* ---------- Trust strip ---------- */
.bre-trust { background: var(--bre-ink); color: #fff; border-bottom: 1px solid #1E2E44; }
.bre-trust__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 32px; padding-top: 28px; padding-bottom: 28px; }
.bre-trust__item { display: flex; gap: 14px; align-items: center; }
.bre-trust__item .bre-ico { flex: none; color: var(--bre-accent); }
.bre-trust__item div { display: flex; flex-direction: column; line-height: 1.35; }
.bre-trust__item strong { font-family: var(--bre-display); font-weight: 800; font-size: 17px; }
.bre-trust__item span { color: var(--bre-soft); font-size: 14px; }

/* ---------- Sections ---------- */
.bre-section { padding: 80px 0; }
.bre-section--tight { padding: 48px 0; }
.bre-section--top { padding-top: 48px; }
.bre-section--grey, .bre-section--sand { background: var(--bre-grey); }
.bre-section--white { background: #fff; border-top: 1px solid var(--bre-border); }
.bre-head { display: flex; flex-direction: column; gap: 10px; max-width: 780px; margin-bottom: 32px; }
.bre-headrow { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.bre-headrow .bre-head { margin-bottom: 0; }
.bre-headrow__aside { margin: 0; max-width: 440px; color: var(--bre-muted); }
.bre-stack { display: flex; flex-direction: column; gap: 64px; }

/* Boxes */
.bre-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.bre-boxes--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 28px; }
.bre-boxes--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.bre-boxes--photo { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.bre-box { background: #fff; border-top: 4px solid var(--bre-accent); box-shadow: 0 6px 24px rgba(10,22,38,.07); padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--bre-text); }
.bre-box > p { margin: 0; color: var(--bre-muted); }
.bre-box ul { margin: 0; padding-left: 20px; color: var(--bre-muted); }
.bre-box .bre-more { margin-top: auto; }
.bre-box > .bre-ico { color: var(--bre-ink); }
.bre-box--dark { background: var(--bre-ink); color: #fff; }
.bre-box--dark .bre-h3, .bre-box--dark > .bre-ico { color: #fff; }
.bre-box--dark > p, .bre-box--dark ul { color: var(--bre-soft); }
.bre-box--dark .bre-more { color: var(--bre-accent); }
.bre-box--ring { outline: 3px solid var(--bre-accent); }
.bre-box--photo { padding: 0; border-top: 0; border-bottom: 4px solid var(--bre-accent); text-decoration: none; overflow: hidden; transition: transform .2s; }
.bre-box--photo:hover { transform: translateY(-5px); color: var(--bre-text); }
.bre-box__img { width: 100%; height: 210px; object-fit: cover; }
.bre-box__body { padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bre-box__body p { margin: 0; font-size: 15px; color: var(--bre-muted); }
.bre-box__body .bre-more { margin-top: auto; }
.bre-box__thumb { margin: -28px -28px 8px; overflow: hidden; }
.bre-box__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bre-chiplist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bre-chiplist li { padding: 8px 14px; background: #fff; border: 1px solid var(--bre-border); font-weight: 600; }
.bre-chiplist li.is-ask { border-style: dashed; }

/* Dark band + split */
.bre-dark { background: var(--bre-ink); color: var(--bre-soft); padding: 80px 0; }
.bre-dark .bre-h2 { color: #fff; }
.bre-dark .bre-lead { color: var(--bre-soft); }
.bre-dark-box { background: var(--bre-ink); padding: 8px; margin-top: 12px; }
.bre-split { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; }
.bre-split--center { align-items: center; }
.bre-split__a, .bre-split__b { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bre-split > .bre-steps, .bre-split > .bre-panel { flex: 1 1 440px; min-width: 0; }

.bre-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bre-steps li { display: flex; gap: 18px; padding: 20px 22px; background: var(--bre-ink-2); }
.bre-steps li > div { display: flex; flex-direction: column; gap: 2px; }
.bre-steps strong { font-size: 17px; color: #fff; }
.bre-steps span:not(.bre-steps__n) { color: var(--bre-soft); }
.bre-steps__n { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bre-accent); color: var(--bre-ink); font-family: var(--bre-display); font-weight: 800; font-size: 20px; }

.bre-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.bre-process li { background: #fff; border-top: 4px solid var(--bre-ink); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.bre-process li.is-last { border-top-color: var(--bre-accent); }
.bre-process strong { font-family: var(--bre-display); font-size: 18px; color: var(--bre-ink); }
.bre-process span:not(.bre-process__n) { color: var(--bre-muted); font-size: 15px; }
.bre-process__n { font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--bre-brown); text-transform: uppercase; }

/* Panels (component page) */
.bre-panel { background: #fff; border-top: 4px solid var(--bre-accent); box-shadow: 0 6px 24px rgba(10,22,38,.07); padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.bre-panel--dark { background: var(--bre-ink); color: #fff; }
.bre-panel--dark .bre-h2 { color: #fff; }
.bre-panel__foot { margin: 0; padding-top: 12px; border-top: 1px solid var(--bre-border); color: var(--bre-muted); }
.bre-panel__foot a { font-weight: 700; }
.bre-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bre-list li { display: flex; gap: 12px; align-items: flex-start; }
.bre-list .bre-ico { flex: none; margin-top: 3px; }
.bre-list--warn .bre-ico { color: #B42318; }
.bre-list--ok .bre-ico { color: var(--bre-accent); }
.bre-panel--dark .bre-list span { color: #E6E8EC; }

/* Tick list (as on the current site) */
.bre-tick { list-style: none; margin: 0; padding: 0; }
.bre-tick li { position: relative; padding: 6px 0 6px 32px; }
.bre-tick li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bre-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ECB100' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.bre-tick--cols { columns: 2 220px; column-gap: 32px; }
.bre-tick--cols li { break-inside: avoid; }

/* Service page */
.bre-svc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.bre-svc__main { min-width: 0; }
.bre-svc__tag { margin: 26px 0 8px; font-family: var(--bre-display); font-weight: 700; font-size: 20px; color: var(--bre-brown); }
.bre-svc__side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.bre-side { background: var(--bre-grey); padding: 22px; }
.bre-side__h { margin: 0 0 10px; font-family: var(--bre-display); font-weight: 800; font-size: 18px; color: var(--bre-ink); }
.bre-side > a:not(.bre-btn) { display: block; background: #fff; padding: 11px 14px; margin: 6px 0; font-weight: 600; text-decoration: none; border-left: 4px solid transparent; }
.bre-side > a:not(.bre-btn):hover, .bre-side > a[aria-current] { border-color: var(--bre-accent); background: var(--bre-ink); color: #fff; }
.bre-side--dark { background: var(--bre-ink); color: var(--bre-soft); }
.bre-side--dark .bre-side__h { color: var(--bre-accent); }
.bre-side--dark p { margin: 0 0 8px; }
.bre-side--dark a:not(.bre-btn):not(.bre-wa-icon) { color: #fff; text-decoration: none; }
.bre-side--dark .bre-btn { margin-top: 8px; }
@media (max-width: 900px) { .bre-svc { grid-template-columns: 1fr; } .bre-svc__side { position: static; } }

/* FAQ */
.bre-faq details { background: #fff; border: 1px solid var(--bre-border); border-left: 4px solid var(--bre-accent); margin: 10px 0; padding: 14px 18px; }
.bre-faq summary { font-family: var(--bre-display); font-weight: 700; font-size: 17px; cursor: pointer; color: var(--bre-ink); }
.bre-faq details p { margin: 10px 0 0; color: var(--bre-muted); }

/* Quote + photo + values */
.bre-quote { margin: 0; background: var(--bre-ink); color: #fff; padding: 40px; border-left: 6px solid var(--bre-accent); display: flex; flex-direction: column; gap: 14px; }
.bre-quote blockquote { margin: 0; }
.bre-quote blockquote p { margin: 0; font-family: var(--bre-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.3; }
.bre-quote blockquote p::before { content: "“"; }
.bre-quote blockquote p::after { content: "”"; }
.bre-quote figcaption { color: var(--bre-soft); }
.bre-photo__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bre-radius); }
.bre-photo__img--wide { aspect-ratio: 16 / 9; max-height: 440px; }
.bre-photo--offset .bre-photo__img { box-shadow: 12px 12px 0 var(--bre-accent); }
.bre-photo--sticky { position: sticky; top: 110px; }
@media (max-width: 900px) { .bre-photo--sticky { position: static; } }
.bre-values { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bre-values li { background: var(--bre-accent); color: var(--bre-ink); font-family: var(--bre-display); font-weight: 700; font-size: 14px; padding: 7px 14px; }

/* Contact page */
.bre-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bre-contact li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 16px 18px; background: var(--bre-grey); }
.bre-contact > li > span:first-child { flex: 0 0 110px; color: var(--bre-muted); font-weight: 600; }
.bre-contact a { font-weight: 700; }
.bre-map iframe, .bre-footer__map iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.3); }

/* Detail list (stock / job) */
.bre-dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; background: var(--bre-grey); padding: 24px; border-top: 4px solid var(--bre-accent); }
.bre-dl dt { color: var(--bre-muted); font-weight: 600; }
.bre-dl dd { margin: 0; font-weight: 700; color: var(--bre-ink); }
.bre-featured { margin-bottom: 24px; width: 100%; }

/* Prose (editor content) */
.bre-prose { max-width: 820px; }
.bre-prose--intro { margin-bottom: 32px; }
.bre-prose--narrow { max-width: 760px; margin-top: 48px; }
.bre-prose h2 { font-family: var(--bre-display); font-weight: 800; font-size: 1.8rem; line-height: 1.2; margin: 1.4em 0 .5em; color: var(--bre-ink); }
.bre-prose h3 { font-family: var(--bre-display); font-weight: 800; font-size: 1.25rem; margin: 1.2em 0 .4em; color: var(--bre-ink); }
.bre-prose ul, .bre-prose ol { padding-left: 22px; }
.bre-prose li { margin-bottom: .4em; }
.bre-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--bre-accent); font-size: 19px; }
.bre-prose table { width: 100%; border-collapse: collapse; }
.bre-prose th, .bre-prose td { border-bottom: 1px solid var(--bre-border); padding: 10px 8px; text-align: left; }
.bre-prose > *:first-child { margin-top: 0; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-button__link { background: var(--bre-accent); color: var(--bre-ink); border-radius: 3px; font-weight: 700; padding: 12px 22px; text-decoration: none; }
.bre-pager .nav-links { display: flex; gap: 8px; margin-top: 32px; }
.bre-pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--bre-border); text-decoration: none; }
.bre-pager .current { background: var(--bre-ink); color: #fff; }

/* ---------- CTA band ---------- */
.bre-cta { background: var(--bre-accent); color: var(--bre-ink); }
.bre-cta__in { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.bre-cta__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bre-cta__text .bre-h2 { color: var(--bre-ink); }
.bre-cta__text p { margin: 0; font-size: 18px; max-width: 580px; }
.bre-cta__actions { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bre-cta__link { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--bre-ink); font-weight: 700; }

/* ---------- Footer ---------- */
.bre-footer { background: var(--bre-ink-3); color: #AEB3BB; font-size: 15px; border-top: 5px solid var(--bre-accent); }
.bre-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 60px; padding-bottom: 48px; }
.bre-footer__col p { margin: 0 0 6px; }
.bre-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bre-footer a { color: #D2D6DC; text-decoration: none; }
.bre-footer a:hover { color: var(--bre-accent); }
.bre-footer__col li a { display: inline-flex; min-height: 30px; align-items: center; }
.bre-footer__logo { width: 168px; height: auto; border-radius: 8px; background: #fff; padding: 6px; margin-bottom: 14px; }
.bre-footer__badge { display: inline-block; margin-top: 6px !important; padding: 4px 10px; border: 1px solid #2A3A50; color: #fff; font-weight: 600; font-size: 13px; }
.bre-footer__h { font-family: var(--bre-display); font-weight: 800; font-size: 17px; color: var(--bre-accent) !important; margin-bottom: 12px !important; }
.bre-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.bre-socials a { background: var(--bre-accent); color: var(--bre-ink) !important; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 3px; }
.bre-socials a:hover { background: #F5C322; }
.bre-footer__map { padding-bottom: 32px; }
.bre-footer__legal { border-top: 1px solid #1E2A3A; font-size: 13px; color: #8E949D; }
.bre-footer__legal-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; padding-right: 96px; }
.bre-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bre-legal a { color: #AEB3BB; }
@media (max-width: 900px) { .bre-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bre-footer__cols { grid-template-columns: 1fr; } .bre-footer__legal-in { padding-right: 20px; padding-bottom: 84px; } }

/* Floating WhatsApp */
.bre-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--bre-wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .15s; }
.bre-wa:hover { background: #1EBE57; color: #fff; transform: scale(1.06); }

/* ---------- Plugin parts in this theme's style ---------- */
.bre-form__title, .bre-cart__title, .bre-card__title, .bre-job__title { font-family: var(--bre-display) !important; text-transform: none !important; font-weight: 800 !important; }
.bre-card__title, .bre-job__title { font-size: 19px !important; }
.bre-card, .bre-job { border-radius: 0 !important; border: 0 !important; border-bottom: 4px solid var(--bre-accent) !important; box-shadow: 0 6px 24px rgba(10,22,38,.07); }
.bre-card__type { color: var(--bre-brown) !important; }
.bre-chip { border-radius: 3px !important; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
	.bre-section, .bre-dark { padding: 56px 0; }
	.bre-section--tight { padding: 36px 0; }
	.bre-hero > .bre-wrap { padding-top: 40px; padding-bottom: 40px; }
	.bre-hero__logo { width: 130px; }
	.bre-hero__form { max-width: none; }
	.bre-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
	.bre-tile { padding: 16px 12px; min-height: 96px; }
	.bre-tile__name { font-size: 16px; }
	.bre-panel, .bre-box { padding: 22px; }
	.bre-box--photo { padding: 0; }
	.bre-box__thumb { margin: -22px -22px 8px; }
	.bre-quote { padding: 26px; }
	.bre-btnrow .bre-btn--lg { width: 100%; }
	.bre-topbar__addr { display: none; }
	.bre-topbar__in { justify-content: center; }
	.bre-topbar__group { justify-content: center; gap: 4px 14px; }
	.bre-dl { grid-template-columns: 1fr; gap: 2px; }
	.bre-dl dd { margin-bottom: 10px; }
	.bre-flagband { height: 34px; background-size: 51px 34px; animation-name: bre-flagrun-sm; }
	@keyframes bre-flagrun-sm { from { background-position: 0 0; } to { background-position: -510px 0; } }
	.bre-photo--offset .bre-photo__img, .bre-hero__photo .bre-hero__img { box-shadow: 8px 8px 0 var(--bre-accent); }
}

@media print {
	.bre-topbar, .bre-header, .bre-wa, .bre-cta, .bre-footer__map, .bre-flagband { display: none; }
}
