/* ============================================================
   Canpol Modern — design system + components
   ============================================================ */

:root {
	/* Canpol brand red (matched to logo) */
	--brand:      #b8211c;
	--brand-dark: #8a1813;
	--brand-soft: #e85950;

	/* Surfaces */
	--ink:        #1c0f0d;
	--ink-soft:   #3a2522;
	--mute:       #786662;
	--line:       #ebe4df;
	--line-soft:  #f4ede7;
	--paper:      #fbf7f2;
	--bone:       #f3ebe4;
	--white:      #ffffff;

	/* Legacy aliases — kept so older rules still resolve to the new red palette */
	--brass:      var(--brand);
	--brass-soft: var(--brand-soft);
	--accent:     var(--brand);
	--shadow-sm:  0 1px 2px rgba(28,15,13,.05);
	--shadow-md:  0 8px 28px rgba(28,15,13,.08);
	--shadow-lg:  0 24px 60px rgba(28,15,13,.14);
	--radius:     2px;
	--radius-lg:  4px;
	--ease:       cubic-bezier(.2,.7,.2,1);
	--container:  1320px;
	--gutter:     clamp(20px, 4vw, 56px);

	--font-display: "Cormorant Garamond", "Times New Roman", serif;
	--font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: static; width: auto; height: auto; clip: auto; padding: 8px 12px; background: var(--ink); color: var(--white); }

/* WCAG 2.4.7 Focus Visible (AA) — guarantee a strong, branded focus indicator on every
   interactive element by default (keyboard only, so mouse users see no change). */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible,
.mega__item:focus-visible,
.primary-nav__list a:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 2px;
	border-radius: 2px;
}
/* Form fields that intentionally drop the UA outline still need a visible focus ring
   (color-only border change is not sufficient for 2.4.7). */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 1px;
	box-shadow: 0 0 0 3px rgba(184, 33, 28, 0.25);
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */

.eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--brass);
	font-weight: 600;
	margin: 0 0 18px;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 .4em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.4vw, 76px); }
h2 { font-size: clamp(30px, 3.6vw, 52px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 18px; font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 26px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: var(--radius);
	transition: all .25s var(--ease);
	cursor: pointer;
	white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: 11.5px; }
.btn--lg { padding: 18px 34px; font-size: 13px; }

.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--brass); color: var(--ink); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn--brass { background: var(--brass); color: var(--white); }
.btn--brass:hover { background: var(--ink); color: var(--white); }

.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.topbar {
	background: var(--ink);
	color: var(--white);
	font-size: 12.5px;
	letter-spacing: .03em;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; opacity: .85; }
.topbar__item svg { width: 14px; height: 14px; opacity: .7; }
.topbar__item a:hover { color: var(--brass-soft); }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-soft); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.topbar__badge svg { color: var(--brass-soft); }
.topbar__lang { font-weight: 600; letter-spacing: .12em; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; gap: 7px; }
.topbar__lang a { color: rgba(255,255,255,.55); transition: color .15s var(--ease); }
.topbar__lang a:hover { color: #fff; }
.topbar__lang a.is-active { color: var(--brand-soft); }
.topbar__lang-sep { color: rgba(255,255,255,.3); }
@media (max-width: 720px) { .topbar__item--hide-sm { display: none; } .topbar__badge { display: none; } }

.header-main__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
	min-height: 88px;
	position: relative; /* anchor for the full-width mega menu */
}
/* Safety net: nothing should cause horizontal page scroll.
   Use `clip` (not `hidden`): `hidden` turns html/body into a scroll container
   and breaks `position: sticky` for descendants (e.g. the product gallery). */
html, body { max-width: 100%; overflow-x: clip; }
.brand__logo { flex: 0 0 auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
/* Never let the grid squeeze/stretch the logo: keep natural aspect at fixed height
   regardless of how wide the (longer) French nav gets. Overrides global img max-width:100%. */
.brand__logo { display: block; height: 58px; width: auto !important; max-width: none !important; object-fit: contain; mix-blend-mode: multiply; }
.brand__logo--light { background: transparent !important; padding: 0; border-radius: 0; height: 46px; mix-blend-mode: normal !important; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .01em; color: var(--brand); }
.brand__sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__sub { color: rgba(255,255,255,.6); }

.primary-nav { justify-self: center; }
.primary-nav--desktop { display: block; }

/* Mobile drawer (sibling of <header>) — hidden by default, shown only at ≤960px when toggled */
.mobile-drawer {
	position: fixed; top: 0; right: 0; bottom: 0;
	width: min(88vw, 380px);
	max-height: 100dvh; max-height: 100vh;
	background: var(--paper);
	box-shadow: -10px 0 40px rgba(28,15,13,.2);
	transform: translateX(100%);
	transition: transform .35s var(--ease);
	z-index: 9999;
	display: none;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 24px 24px 28px;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__brand { display: inline-block; margin: 0 0 28px; padding: 4px 0; align-self: flex-start; }
/* Flag in the drawer: align LEFT like the nav, not centered by the flex column. */
.mobile-drawer .wh-flag { align-self: flex-start !important; margin: 0 0 14px 0 !important; }
/* Language switcher inside the drawer (topbar one is hidden on mobile). */
.mobile-drawer__lang { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.mobile-drawer__lang-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mobile-drawer__lang-opts { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .08em; }
.mobile-drawer__lang-opts a { color: var(--mute); padding: 4px 6px; font-size: 14px; }
.mobile-drawer__lang-opts a.is-active { color: var(--brand); }
.mobile-drawer__lang-sep { color: var(--line); }
.mobile-drawer__brand img { display: block; height: 36px; width: auto; }
.mobile-drawer__list { list-style: none; margin: 0 0 26px; padding: 0; }
.mobile-drawer__list li { border-bottom: 1px solid var(--line-soft); }
.mobile-drawer__list li a {
	display: block;
	padding: 18px 4px;
	font-family: var(--font-display);
	font-size: 22px; font-weight: 500;
	color: var(--ink);
	-webkit-tap-highlight-color: rgba(184,33,28,.18);
	touch-action: manipulation;
}
.mobile-drawer__list li a:hover, .mobile-drawer__list li a:active { color: var(--brand); background: rgba(184,33,28,.06); }
.mobile-drawer__cart a { display: inline-flex; align-items: center; gap: 9px; }
.mobile-drawer__cart svg { width: 18px; height: 18px; }
/* Same red pill as the desktop cart badge — line-height = height centres the number. */
.mobile-drawer__cart-count { box-sizing: border-box; display: inline-block; min-width: 20px; height: 20px; padding: 0 6px; line-height: 20px; text-align: center; vertical-align: middle; background: var(--brand); color: var(--white); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.mobile-drawer__cta {
	margin-top: auto;
	width: 100%; justify-content: center;
	padding: 18px 24px; font-size: 13px;
	background: var(--brand) !important; border-color: var(--brand) !important; color: var(--white) !important;
}
.mobile-drawer .nav-close {
	position: absolute; top: 18px; right: 18px;
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: var(--bone); border: 1px solid var(--line);
	border-radius: 50%; cursor: pointer; color: var(--ink);
	-webkit-tap-highlight-color: transparent;
}
.mobile-drawer .nav-close:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }

/* Backdrop */
.mobile-drawer-backdrop {
	position: fixed; inset: 0;
	background: rgba(28,15,13,.55);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mobile-drawer-backdrop.is-visible { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s linear 0s; }
.primary-nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; flex-wrap: nowrap; }
.primary-nav__list > li > a {
	display: inline-block; white-space: nowrap;
	padding: 12px 9px;
	font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
	color: var(--ink); position: relative;
}
.primary-nav__list > li > a::after {
	content: ''; position: absolute; left: 9px; right: 9px; bottom: 8px; height: 1px;
	background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav__list > li > a:hover::after { transform: scaleX(1); }

/* Mega menu spans the header/footer container width (aligned to its edges),
   not the narrow Products <li>. Anchored to .header-main__inner (the container). */
.has-mega { position: static; }
.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	transform: translateY(8px);
	background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
	padding: 28px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 60;
}
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 6px 24px; padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100%; }
.mega__item { display: block; padding: 14px 16px; border-radius: var(--radius); transition: background .2s; }
.mega__item:hover { background: var(--bone); }
.mega__title { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink); }
.mega__tag { display: block; font-size: 12.5px; color: var(--mute); margin-top: 2px; }

.header-cta { display: flex; gap: 6px; align-items: center; justify-self: end; flex-wrap: nowrap; }
.header-cta .wh-pill { white-space: nowrap; }

/* Nav-area "Request a Quote" — always brand red */
.header-cta .btn--primary,
.drawer-quick .btn--primary {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
}
.header-cta .btn--primary:hover,
.drawer-quick .btn--primary:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	color: var(--white);
	transform: translateY(-1px);
}

/* Desktop icon buttons (Login / Cart) */
.icon-btn {
	position: relative;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 14px;
	color: var(--ink); text-decoration: none;
	font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
	border: 1px solid transparent;
	border-radius: var(--radius);
	transition: all .2s var(--ease);
}
.icon-btn svg { color: var(--brand); transition: color .2s var(--ease); }
.icon-btn:hover { background: var(--bone); border-color: var(--line); }
.icon-btn__label { line-height: 1; }
.icon-btn__badge {
	/* identical pill on desktop & mobile — grows to fit the number, never overflows */
	box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; height: 20px; padding: 0 6px;
	background: var(--brand); color: var(--white);
	border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 1; white-space: nowrap;
}
@media (max-width: 1100px) {
	.icon-btn__label { display: none; }
	.icon-btn { padding: 10px; }
	/* mobile: label hidden → badge back to the icon corner (this view is fine) */
	.icon-btn__badge { position: absolute; top: 4px; right: 4px; }
}

/* Warehouse pill + text-only header buttons (login/register/logout) */
.wh-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 30px; font-size: 11px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; color: var(--white);
}
.wh-pill--ca { background: #c0392b; }
.wh-pill--usa { background: #2c5fa8; }
.wh-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); display: inline-block; }
.wh-pill__flag { font-size: 14px; line-height: 1; }
/* Logged-in market shown as a flag (no text) */
/* high specificity + !important so WooCommerce's `.woocommerce img` rule
   (which loads on shop/account/product pages) can't enlarge the header flag */
img.wh-flag,
.site-header img.wh-flag,
.mobile-drawer img.wh-flag,
.woocommerce img.wh-flag {
	display: inline-block !important;
	height: 13px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain !important; /* never stretch the flag if a box is forced */
	border: 0 !important; /* no frame around the warehouse flag */
	vertical-align: middle;
}
.icon-btn--logout, .icon-btn--register { padding: 8px 12px; }
.icon-btn--logout .icon-btn__label,
.icon-btn--register .icon-btn__label { display: inline !important; font-size: 12px; letter-spacing: .04em; }

/* WooCommerce pagination (product listings) */
.woocommerce nav.woocommerce-pagination { margin: 10px 0 60px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0 !important; margin: 0; padding: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line) !important; border-radius: var(--radius);
	font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white);
	transition: all .2s var(--ease);
}
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--ink) !important; background: var(--ink); color: var(--white); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--white); border-color: var(--ink) !important; }
.woocommerce .woocommerce-result-count { margin-bottom: 16px; }

/* My Account — two-column layout (left nav + content), full container width */
.page-content--wc { width: 100%; }
.woocommerce-account .woocommerce {
	display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { content: none !important; display: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none !important; width: auto !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--line-soft); margin: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block !important; padding: 15px 22px !important; font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
	text-transform: uppercase; color: var(--ink-soft) !important; text-decoration: none; border-left: 3px solid transparent; transition: all .15s var(--ease);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: var(--bone); color: var(--ink) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--ink); color: var(--white) !important; border-left-color: var(--brand); }
.woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
@media (max-width: 720px) {
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 22px; }
}

/* Orders / address tables full width, tidy */
.woocommerce-account .woocommerce table.shop_table,
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }

/* Wholesale order table on the single product page */
.canpol-order { margin: 22px 0 6px; }
.canpol-variant-pick { font-size: 14px; color: var(--ink-soft, #5a4d48); margin: 2px 0 14px; font-weight: 500; }
.canpol-variant-pick[hidden] { display: none; }
.canpol-order__wh { font-size: 13px; color: var(--ink-soft); margin: 0 0 10px; }
.canpol-order__wh strong { color: var(--brand); }
.canpol-login-note { margin: 18px 0; padding: 14px 18px; background: var(--bone); border-radius: var(--radius); font-size: 14px; }
.canpol-login-note a { color: var(--brand); text-decoration: underline; font-weight: 600; }
.canpol-order-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.canpol-order-table thead th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 8px 10px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.canpol-order-table td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.canpol-order-table tbody tr:hover { background: var(--bone); }
.canpol-order-table .woocommerce-Price-amount { font-weight: 600; color: var(--ink); }
.canpol-add { display: flex; gap: 8px; align-items: center; }
.canpol-add__qty { width: 68px; height: 42px; border: 1px solid var(--line); background: var(--bone); border-radius: var(--radius); text-align: center; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, background .2s; }
.canpol-add__qty:focus { outline: none; border-color: var(--ink); background: var(--white); }
/* −/+ quantity stepper (native number spinners are hidden on iOS/mobile). */
.canpol-qty { display: inline-flex; align-items: center; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bone); overflow: hidden; }
.canpol-qty:focus-within { border-color: var(--ink); background: var(--white); }
.canpol-qty__btn { width: 22px; height: 100%; border: 0; background: transparent; color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; user-select: none; -webkit-appearance: none; }
.canpol-qty__btn:hover { background: var(--line-soft); color: var(--brand); }
.canpol-qty input { width: 32px !important; min-width: 0 !important; height: 100%; border: 0 !important; background: transparent !important; border-radius: 0 !important; text-align: center; font: inherit; color: var(--ink); padding: 0 !important; margin: 0 !important; -moz-appearance: textfield; }
.canpol-qty input::-webkit-outer-spin-button, .canpol-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 900px) { .canpol-qty { height: 46px; } .canpol-qty__btn { width: 44px; font-size: 22px; } .canpol-qty input { width: 52px !important; font-size: 16px; } }
.canpol-add__btn { height: 42px; padding: 0 14px; background: var(--ink) !important; color: var(--white) !important; border: 0 !important; border-radius: var(--radius) !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background .2s; }
.canpol-add__btn:hover { background: var(--brand) !important; }
.canpol-add__warn { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.3; color: var(--brand, #b8211c); font-weight: 600; }
.canpol-add__warn[hidden] { display: none; }
@media (max-width: 900px) {
	.canpol-order-table thead { display: none; }
	.canpol-order-table, .canpol-order-table tbody, .canpol-order-table tr, .canpol-order-table td { display: block; width: 100%; }
	.canpol-order-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; padding: 8px 12px; }
	.canpol-order-table td { border: 0; padding: 6px 2px; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: right; }
	.canpol-order-table td::before { content: attr(data-th); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); font-weight: 600; text-align: left; flex: 0 0 auto; }
	.canpol-order-table td[data-th] .canpol-add { justify-content: flex-end; }
	.canpol-row-thumb { margin-right: 0; }
}

/* Drawer quick info (mobile) */
.drawer-quick { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); position: relative; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle__icon { display: grid; place-items: center; transition: opacity .25s var(--ease), transform .35s var(--ease); }
.nav-toggle__icon--close { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: rotate(-90deg) scale(.7); }
body.nav-open .nav-toggle__icon--open  { opacity: 0; transform: rotate(90deg) scale(.7); }
body.nav-open .nav-toggle__icon--close { opacity: 1; transform: rotate(0) scale(1); }

.nav-close { display: none; background: none; border: 0; padding: 8px; color: var(--ink); position: absolute; top: 18px; right: 18px; cursor: pointer; }

/* Tight desktop range: keep logo, warehouse flag, account & cart — drop the big
   "Request a Quote" button (still in the drawer/footer) so the row never overflows. */
@media (min-width: 1181px) and (max-width: 1380px) {
	.header-cta .btn--primary { display: none; }
	.primary-nav__list > li > a { padding: 12px 8px; }
}

@media (max-width: 1180px) {
	/* Mobile header layout: BRAND (left) · hamburger (right). All other CTAs hidden — they live in the bottom bar. */
	.header-main__inner {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 64px;
		grid-template-columns: none !important;
	}
	.brand { order: 1; margin: 0; }
	.brand__logo { height: 42px !important; }
	.brand__logo--light { height: 38px !important; }
	.nav-toggle { display: inline-flex !important; order: 2; margin-left: auto; }
	.header-cta { display: none !important; }
	.primary-nav--desktop { display: none !important; }

	/* Show the off-canvas drawer (sibling of <header>) */
	.mobile-drawer { display: flex; }

	body.nav-open { overflow: hidden; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
	position: relative;
	min-height: 88vh;
	background: var(--ink);
	overflow: hidden;
	display: flex;
	align-items: stretch;
}

.hero__slides { position: relative; flex: 1; display: block; width: 100%; }
.hero__slide {
	position: absolute; inset: 0;
	display: flex; align-items: center;
	padding-bottom: 96px; /* reserve space so CTA never overlaps the progress bar */
	opacity: 0; visibility: hidden;
	transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
	will-change: opacity;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s linear 0s; z-index: 2; }
.hero__slide > .container { position: relative; z-index: 3; width: 100%; }

.hero__media {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transform: scale(1.04);
	transition: transform 8s linear;
	z-index: 1;
}
.hero__slide.is-active .hero__media { transform: scale(1); }
.hero__media::after {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(95deg, rgba(28,15,13,.58) 0%, rgba(28,15,13,.30) 42%, rgba(28,15,13,.04) 100%),
		linear-gradient(0deg,  rgba(28,15,13,.28) 0%, rgba(28,15,13,0) 45%);
	z-index: 2;
}

.hero__inner {
	position: relative;
	z-index: 3;
	color: var(--white);
	max-width: 720px;
	padding: 64px 0 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .9s .25s var(--ease), transform .9s .25s var(--ease);
}
.hero__slide.is-active .hero__inner { opacity: 1; transform: translateY(0); }

.hero__inner .eyebrow { color: var(--brand-soft); }
.hero__title {
	font-size: clamp(34px, 4.6vw, 60px);
	font-weight: 400;
	color: var(--white);
	margin-bottom: 24px;
	line-height: 1.07;
}
.hero__title em { font-style: italic; color: var(--brand-soft); font-weight: 400; }
.hero__lede { color: rgba(255,255,255,.86); font-size: clamp(17px, 1.5vw, 21px); max-width: 56ch; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta .btn--primary { background: var(--brand); border-color: var(--brand); color: var(--white); }
.hero__cta .btn--primary:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* Arrows */
.hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 5; width: 56px; height: 56px;
	display: grid; place-items: center;
	background: rgba(255,255,255,.08); color: var(--white);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 50%;
	backdrop-filter: blur(8px);
	transition: all .25s var(--ease);
}
.hero__nav:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-50%) scale(1.05); }
.hero__nav--prev { left: clamp(16px, 3vw, 36px); }
.hero__nav--next { right: clamp(16px, 3vw, 36px); }
@media (max-width: 720px) { .hero__nav { width: 44px; height: 44px; } }

/* Promo bubble: floating CTA linking to the Promo category, same look as the
   hero's "Browse Coloured Glass" button (.btn--primary), just larger and set
   lower/further from the right edge so it reads as its own standalone offer. */
.hero__promo-bubble {
	position: absolute; top: clamp(200px, 26vh, 280px); right: clamp(56px, 10vw, 120px);
	z-index: 6;
	background: var(--brand); border-color: var(--brand); color: var(--white);
	padding: clamp(18px, 3vw, 34px) clamp(32px, 6vw, 64px);
	font-size: clamp(15px, 1.8vw, 22px);
	box-shadow: 0 10px 26px rgba(0,0,0,.3);
}
.hero__promo-bubble:hover { background: var(--white); border-color: var(--white); color: var(--ink); transform: translateY(-2px); }
.hero__promo-bubble svg { width: 1.3em; height: 1.3em; }
@media (max-width: 720px) {
	.hero__promo-bubble { top: 130px; right: clamp(24px, 6vw, 40px); padding: 12px 22px; font-size: 12px; }
}

/* Meta + dots */
.hero__meta {
	position: absolute; bottom: 32px; left: 0; right: 0;
	z-index: 4; color: rgba(255,255,255,.7);
}
.hero__meta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

.hero__dots { display: flex; gap: 12px; align-items: center; }
.hero__dot {
	position: relative;
	width: 56px; height: 3px;
	padding: 14px 0; background: transparent; border: 0; cursor: pointer;
	overflow: visible;
}
.hero__dot::before {
	content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
	background: rgba(255,255,255,.25); transform: translateY(-50%);
}
.hero__dot-fill {
	position: absolute; left: 0; top: 50%; height: 2px; width: 0;
	background: var(--brand-soft); transform: translateY(-50%);
}
.hero__dot.is-active .hero__dot-fill {
	width: 100%;
	animation: heroDotFill 6s linear forwards;
}
@keyframes heroDotFill { from { width: 0; } to { width: 100%; } }

.hero__scroll { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); }
.hero__scroll::before { content: ''; width: 1px; height: 36px; background: var(--brand-soft); display: inline-block; }
.hero__scroll:hover { color: var(--white); }

@media (max-width: 720px) {
	.hero { min-height: 78vh; }
	.hero__inner { padding: 90px 0 130px; }
	.hero__dot { width: 36px; }
	.hero__scroll::before { display: none; }
	/* Move dots above the fixed bottom action bar */
	.hero__meta { bottom: 84px; }
	.hero__scroll { display: none; }
}

.hero--simple { min-height: auto; padding: 120px 0; background: var(--paper); display: block; }
.hero--simple .hero__title { color: var(--ink); }
.hero--simple .hero__lede { color: var(--ink-soft); }

/* ============================================================
   STRIP — value props
   ============================================================ */

.strip {
	background: var(--ink);
	color: var(--white);
	padding: 24px 0;
}
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: center; }
.strip__item { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .04em; }
.strip__item svg { color: var(--brass-soft); flex-shrink: 0; }
.strip__item strong { display: block; font-weight: 600; color: var(--white); font-size: 14px; margin-bottom: 2px; }
.strip__item span { color: rgba(255,255,255,.7); font-size: 12.5px; }
@media (max-width: 860px) { .strip__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 520px) { .strip__grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: clamp(48px, 6vw, 92px) 0; }
.section--tight { padding: clamp(34px, 4.2vw, 66px) 0; }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }

.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 18px; }

/* ============================================================
   CATEGORY GRID — uniform rounded cards (briklix-style)
   ============================================================ */

.cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.cat-card {
	position: relative;
	overflow: hidden;
	background: var(--bone);
	aspect-ratio: 4/5;
	display: block;
	color: var(--white);
	border-radius: 12px;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
	text-decoration: none;
}
.cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(28,15,13,.18);
}
.cat-card__img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transform: scale(1.02);
	transition: transform .8s var(--ease);
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.72) 100%);
	z-index: 1;
}
.cat-card__body { position: absolute; inset: auto 0 0 0; padding: 18px 20px 20px; z-index: 2; }
.cat-card__num { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.85); margin-bottom: 6px; display: block; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.cat-card__title {
	font-family: var(--font-display);
	font-size: 22px; font-weight: 600;
	color: var(--white);
	margin: 0 0 4px;
	text-shadow: 0 2px 8px rgba(0,0,0,.55);
	line-height: 1.15;
}
.cat-card__tag {
	font-size: 13px;
	color: rgba(255,255,255,.92);
	margin: 0 0 12px;
	text-shadow: 0 1px 4px rgba(0,0,0,.55);
	line-height: 1.35;
}
.cat-card__link {
	font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--white);
	display: inline-flex; gap: 8px; align-items: center;
	font-weight: 600;
	text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.cat-card__link svg { transition: transform .25s var(--ease); }
.cat-card:hover .cat-card__link svg { transform: translateX(4px); }

@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 720px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat-card__body { padding: 14px 16px 16px; } .cat-card__title { font-size: 18px; } .cat-card__tag { font-size: 12.5px; margin-bottom: 8px; } }
@media (max-width: 380px)  { .cat-grid { grid-template-columns: 1fr; } .cat-card { aspect-ratio: 16/10; } }

/* ============================================================
   STORY — about / split
   ============================================================ */

.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.story--reverse { grid-template-columns: 1fr 1.05fr; }
.story--reverse .story__media { order: -1; }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story__media-tag {
	position: absolute; bottom: 24px; left: -28px;
	background: var(--ink); color: var(--white);
	padding: 22px 26px; max-width: 260px;
	border-left: 3px solid var(--brass);
}
.story__media-tag strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--brass-soft); margin-bottom: 4px; }
.story__media-tag span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.story__body p { color: var(--ink-soft); font-size: 16.5px; }
.story__signature { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--ink); margin-top: 24px; }
.story__bullets { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.story__bullets li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.story__bullets svg { color: var(--brass); margin-top: 5px; }

@media (max-width: 820px) {
	.story, .story--reverse { grid-template-columns: 1fr; gap: 40px; }
	.story--reverse .story__media { order: 0; }
	.story__media-tag { left: 16px; bottom: 16px; }
}

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 460px) { .products-grid { grid-template-columns: 1fr; } }

.product {
	position: relative;
	display: block;
	background: var(--white);
	border: 1px solid var(--line-soft);
	transition: all .3s var(--ease);
}
.product:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product__media { aspect-ratio: 1/1; background: var(--bone); overflow: hidden; position: relative; }
.product__media img, .product__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__img { transform: scale(1.05); }
.product__badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--white); font-size: 10px; letter-spacing: .15em; padding: 6px 10px; text-transform: uppercase; }
.product__body { padding: 20px 22px 22px; }
.product__sku { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--mute); margin: 0 0 6px; }
.product__name { font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--ink); margin: 0 0 6px; }
.product__cat { font-size: 12.5px; color: var(--mute); margin: 0; }
.product__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.product__cta svg { color: var(--brass); }

/* ============================================================
   QUOTE BAND
   ============================================================ */

.quote-band {
	background: var(--ink);
	color: var(--white);
	padding: clamp(80px, 10vw, 140px) 0;
	position: relative;
	overflow: hidden;
}
.quote-band::before {
	content: '“';
	position: absolute;
	font-family: var(--font-display);
	font-size: 480px;
	color: rgba(232,89,80,.12);
	top: -120px; left: 4%;
	line-height: 1;
}
.quote-band__inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.quote-band__text { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; font-weight: 400; color: var(--white); margin: 0 0 32px; }
.quote-band__text em { color: var(--brass-soft); font-style: italic; }
.quote-band__author { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); }
.quote-band__author strong { display: block; font-size: 14px; color: var(--white); letter-spacing: .04em; text-transform: none; font-weight: 500; margin-bottom: 4px; }

/* ============================================================
   STATS
   ============================================================ */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat__value { font-family: var(--font-display); font-size: clamp(40px, 4vw, 64px); font-weight: 500; color: var(--ink); line-height: 1; display: block; }
.stat__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* ============================================================
   GALLERY mosaic (used on homepage teaser)
   ============================================================ */

.gallery-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-mosaic > div { overflow: hidden; cursor: pointer; }
.gallery-mosaic > div:hover img { transform: scale(1.05); }
.gallery-mosaic > div:nth-child(1) { grid-column: span 5; grid-row: span 2; aspect-ratio: 5/8; }
.gallery-mosaic > div:nth-child(2) { grid-column: span 7; aspect-ratio: 7/4; }
.gallery-mosaic > div:nth-child(3) { grid-column: span 4; aspect-ratio: 4/4; }
.gallery-mosaic > div:nth-child(4) { grid-column: span 3; aspect-ratio: 3/4; }
.gallery-mosaic > div:nth-child(5) { grid-column: span 4; aspect-ratio: 4/3; }
.gallery-mosaic > div:nth-child(6) { grid-column: span 8; aspect-ratio: 16/7; }
@media (max-width: 720px) {
	.gallery-mosaic > div { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
}

/* ============================================================
   GALLERY (full page) — masonry + filter chips + lightbox
   ============================================================ */

.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.gallery-toolbar__hint { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0; }
.chip__count { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 30px; background: rgba(255,255,255,.15); color: currentColor; font-size: 10px; font-weight: 700; }
.chip:not(.is-active) .chip__count { background: var(--bone); color: var(--mute); }

.masonry { column-count: 4; column-gap: 16px; }
.masonry__item {
	display: block; position: relative;
	break-inside: avoid;
	margin: 0 0 16px;
	overflow: hidden;
	background: var(--bone);
	transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.masonry__item.is-hidden { display: none; }
.masonry__item img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease); }
.masonry__item:hover img { transform: scale(1.06); }

.masonry__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(28,15,13,0) 50%, rgba(28,15,13,.85) 100%);
	display: flex; align-items: flex-end; justify-content: space-between;
	padding: 18px;
	opacity: 0;
	transition: opacity .3s var(--ease);
	color: var(--white);
}
.masonry__item:hover .masonry__overlay { opacity: 1; }
.masonry__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.masonry__zoom {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	background: var(--brand); color: var(--white);
	border-radius: 50%;
	flex-shrink: 0;
}

@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 720px)  { .masonry { column-count: 2; column-gap: 10px; } .masonry__item { margin-bottom: 10px; } }
@media (max-width: 460px)  { .masonry { column-count: 1; } }

/* Lightbox (created via JS) */
.lightbox {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(12,4,5,.94);
	display: none;
	align-items: center; justify-content: center;
	padding: 60px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
	position: absolute;
	background: rgba(255,255,255,.08); color: var(--white);
	border: 1px solid rgba(255,255,255,.2); cursor: pointer;
	width: 52px; height: 52px;
	display: grid; place-items: center;
	font-size: 28px; line-height: 1;
	border-radius: 50%;
	transition: background .25s var(--ease);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--brand); border-color: var(--brand); }
.lightbox__caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 720px) {
	.lightbox__close { top: 14px; right: 14px; width: 42px; height: 42px; }
	.lightbox__nav { width: 42px; height: 42px; }
	.lightbox__nav--prev { left: 8px; }
	.lightbox__nav--next { right: 8px; }
}

/* ============================================================
   FOOTER CTA
   ============================================================ */

.footer-cta {
	background: linear-gradient(115deg, var(--brand) 0%, var(--brand-dark) 100%);
	color: var(--white);
	padding: clamp(70px, 8vw, 110px) 0;
	position: relative;
	overflow: hidden;
}
.footer-cta::after {
	content: '';
	position: absolute;
	right: -120px; top: -80px;
	width: 460px; height: 460px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
}
.footer-cta__actions .btn--primary { background: var(--white) !important; color: var(--brand) !important; border-color: var(--white) !important; }
.footer-cta__actions .btn--primary:hover { background: var(--ink) !important; color: var(--white) !important; border-color: var(--ink) !important; }
.footer-cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.footer-cta__title { color: var(--white); font-size: clamp(28px, 3.4vw, 46px); margin: 0 0 20px; }
.footer-cta__desc { color: rgba(255,255,255,.75); font-size: 16px; max-width: 50ch; margin: 0; }
.footer-cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-cta__actions .btn--primary { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.footer-cta__actions .btn--primary:hover { background: var(--white); border-color: var(--white); }
@media (max-width: 820px) {
	.footer-cta__inner { grid-template-columns: 1fr; gap: 32px; }
	.footer-cta__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================================
   FOOTER
   ============================================================ */

/* Newsletter */
.newsletter {
	background: var(--bone);
	padding: clamp(60px, 7vw, 100px) 0;
	border-bottom: 1px solid var(--line);
	position: relative;
	overflow: hidden;
}
.newsletter::after {
	content: '';
	position: absolute;
	left: -160px; bottom: -120px;
	width: 380px; height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(184,33,28,.08) 0%, transparent 70%);
	pointer-events: none;
}
.newsletter__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.newsletter__eyebrow { color: var(--brand); margin: 0 0 14px; }
.newsletter__title { font-size: clamp(24px, 2.8vw, 36px); margin: 0 0 14px; color: var(--ink); }
.newsletter__desc { color: var(--ink-soft); margin: 0; font-size: 15.5px; max-width: 44ch; }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.newsletter__form input {
	background: var(--white); border: 1px solid var(--line);
	padding: 16px 18px;
	font: inherit; font-size: 15px; color: var(--ink);
	border-radius: var(--radius);
	min-width: 0;
	transition: border-color .2s var(--ease);
}
.newsletter__form input:focus { outline: none; border-color: var(--brand); }
.newsletter__form button {
	background: var(--brand); color: var(--white); border: 0;
	padding: 16px 24px;
	font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
	border-radius: var(--radius);
	cursor: pointer;
	display: inline-flex; align-items: center; gap: 10px;
	transition: background .25s var(--ease), transform .25s var(--ease);
}
.newsletter__form button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.newsletter__form button svg { transition: transform .25s var(--ease); }
.newsletter__form button:hover svg { transform: translateX(4px); }
.newsletter__note { grid-column: 1 / -1; margin: 8px 0 0; font-size: 12px; color: var(--mute); }
@media (max-width: 820px) {
	.newsletter__inner { grid-template-columns: 1fr; gap: 24px; }
	.newsletter__form { grid-template-columns: 1fr; }
}

.site-footer { background: var(--brand); color: rgba(255,255,255,.9); }
.footer-main { padding: 80px 0 60px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-main__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-col__desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.82); margin: 18px 0 22px; max-width: 38ch; }
.footer-col__title { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin: 6px 0 22px; font-family: var(--font-body); font-weight: 700; }
.footer-col__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col__list a { color: rgba(255,255,255,.92); font-size: 14px; transition: color .2s; }
.footer-col__list a:hover { color: var(--white); text-decoration: underline; }
.footer-col__list--contact li { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.92); }
.footer-col__list--contact svg { color: var(--white); margin-top: 3px; opacity: .9; }
.footer-col__hours { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 18px; line-height: 1.7; }
.footer-col__hours strong { color: var(--white); }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); color: var(--white); transition: all .2s; }
.socials a:hover { background: var(--white); border-color: var(--white); color: var(--brand); }

.footer-base { background: var(--brand-dark); padding: 22px 0; }
.footer-base__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.78); }
.footer-base__links { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; }
.footer-base__links a { color: rgba(255,255,255,.88); }
.footer-base__links a:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 900px) {
	.footer-main__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 520px) {
	.footer-main__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   PAGE-SPECIFIC
   ============================================================ */

/* ------------------------------------------------------------------
   Unified page hero — ONE consistent premium style on every page
   (shop, category, single product, about, contact, gallery, tradeshows).
   Dark ink base + subtle brand gradient, white headline, brand eyebrow.
   ------------------------------------------------------------------ */
.page-hero {
	position: relative;
	overflow: hidden;
	color: var(--white);
	background-color: var(--ink);
	background-image:
		radial-gradient(130% 150% at 12% -10%, rgba(184,33,28,.30) 0%, rgba(184,33,28,0) 48%),
		linear-gradient(120deg, #160b09 0%, var(--ink) 45%, #25130f 100%);
	border-bottom: 0;
	min-height: clamp(170px, 18vh, 210px);
	display: flex;
	align-items: center;
	padding: clamp(44px, 4.5vw, 64px) 0;
}
/* thin brass rule at the bottom for a finished, premium edge */
.page-hero::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, var(--brand) 0%, var(--brand-soft) 100%);
	z-index: 3;
}
/* container is a flex child of the hero — force full width so content sits at
   the left edge (otherwise it shrinks to content and margin:auto centres it). */
.page-hero > .container { width: 100%; flex: 1 1 100%; }
.page-hero__inner { max-width: 860px; margin: 0; text-align: left; position: relative; z-index: 2; }
.page-hero h1 { margin: 0 0 10px; color: var(--white); font-size: clamp(26px, 3vw, 40px); }
.page-hero p { color: rgba(255,255,255,.82); font-size: clamp(14px, 1.2vw, 16px); margin: 0; max-width: 58ch; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero .eyebrow { color: var(--brand-soft); }
.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 24px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--ink); }

/* Shop breadcrumb bar — light strip under the hero, above the catalogue. */
.shop-crumbs { background: var(--bone); border-bottom: 1px solid var(--line); }
.shop-crumbs .container { padding-top: 14px; padding-bottom: 14px; }
.shop-crumbs .woocommerce-breadcrumb {
	margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
}
.shop-crumbs .woocommerce-breadcrumb a { color: var(--ink-soft); border: 0; }
.shop-crumbs .woocommerce-breadcrumb a:hover { color: var(--brand); }
.shop-crumbs__sep { margin: 0 9px; color: var(--mute); opacity: .5; }
/* Breadcrumb left, product search right. */
.shop-crumbs__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.shop-search { display: flex; align-items: center; flex: 0 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; transition: border-color .15s; }
.shop-search:focus-within { border-color: var(--ink); }
.shop-search input[type="search"] { border: 0; background: transparent; padding: 8px 6px 8px 16px; font: inherit; font-size: 13px; width: 210px; max-width: 42vw; color: var(--ink); }
.shop-search input[type="search"]:focus { outline: none; }
.shop-search button { border: 0; background: transparent; color: var(--mute); padding: 8px 14px 8px 8px; cursor: pointer; display: flex; align-items: center; }
.shop-search button:hover { color: var(--brand); }
@media (max-width: 768px) {
	.shop-crumbs .woocommerce-breadcrumb { font-size: 11px; letter-spacing: .05em; }
	.shop-crumbs__sep { margin: 0 6px; }
	.shop-crumbs__inner { flex-wrap: wrap; gap: 10px; }
	.shop-search { width: 100%; }
	.shop-search input[type="search"] { flex: 1 1 auto; width: auto; max-width: none; }
}
/* Content starts right under the breadcrumb bar / hero — kill the big empty gap.
   (On shop pages the hero is followed by .shop-crumbs; on other subpages —
   about, tradeshows, contact, gallery, blog… — the hero is followed directly
   by .section.) */
.shop-crumbs + .section,
.page-hero + .section { padding-top: clamp(20px, 2.4vw, 32px); }

/* Subpages don't need breadcrumbs — eyebrow + h1 already orient the user. */
.page-hero .crumbs { display: none; }

/* Legacy per-page SVG variant now folds into the unified style:
   neutralise the individual background images so every hero matches. */
.page-hero--image {
	background-image:
		radial-gradient(130% 150% at 12% -10%, rgba(184,33,28,.30) 0%, rgba(184,33,28,0) 48%),
		linear-gradient(120deg, #160b09 0%, var(--ink) 45%, #25130f 100%) !important;
	background-color: var(--ink) !important;
	background-size: cover; background-position: center; background-repeat: no-repeat;
	min-height: clamp(190px, 21vh, 240px);
	display: flex; align-items: center;
	padding: clamp(56px, 6vw, 84px) 0 clamp(32px, 3.5vw, 48px);
}
.page-hero--image::before { display: none; }
.page-hero--image .container { position: relative; z-index: 2; width: 100%; }
.page-hero--image h1 { color: var(--white); }
.page-hero--image p { color: rgba(255,255,255,.86); }
.page-hero--image .eyebrow { color: var(--brand-soft); }

/* Category page filters */
.cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; padding: 9px 16px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); border-radius: 30px; cursor: pointer; transition: all .2s; background: var(--white); }
.chip:hover, .chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sort-select { background: var(--white); border: 1px solid var(--line); padding: 9px 16px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); border-radius: 30px; cursor: pointer; }

/* Single product */
.product-detail { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(36px, 4vw, 70px); align-items: start; padding-top: 50px; }
.product-detail__gallery { display: block; position: sticky; top: 110px; }
.product-detail__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.product-detail__thumb { aspect-ratio: 1/1; background: var(--bone); border: 1px solid var(--line); cursor: pointer; overflow: hidden; transition: border-color .2s; border-radius: 4px; }
.product-detail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__thumb.is-active { border-color: var(--brand); }
.product-detail__main {
	aspect-ratio: 1/1;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
	display: grid;
	place-items: center;
	padding: 24px;
	box-shadow: 0 8px 28px rgba(28,15,13,.06);
}
.product-detail__main img { width: 100%; height: 100%; object-fit: contain; max-width: 100%; max-height: 100%; }
.product-detail__info .eyebrow { margin-bottom: 14px; }
.product-detail__title { font-size: clamp(32px, 3.4vw, 48px); margin: 0 0 14px; }
.product-detail__sku { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.product-detail__price { font-family: var(--font-display); font-size: 32px; color: var(--ink); margin: 0 0 22px; }
.product-detail__price small { font-size: 13px; color: var(--mute); font-family: var(--font-body); }
.product-detail__desc { color: var(--ink-soft); margin-bottom: 28px; }
.spec-list { list-style: none; padding: 22px 0; margin: 0 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.spec-list li { display: grid; grid-template-columns: 160px 1fr; font-size: 14px; }
.spec-list strong { color: var(--ink); font-weight: 500; letter-spacing: .02em; }
.spec-list span { color: var(--ink-soft); }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.qty-input { display: inline-flex; align-items: center; border: 1px solid var(--ink); height: 48px; }
.qty-input button { width: 44px; height: 100%; background: none; border: 0; font-size: 18px; color: var(--ink); }
.qty-input input { width: 56px; height: 100%; border: 0; text-align: center; font-size: 15px; font-weight: 500; }
@media (max-width: 820px) {
	.product-detail { grid-template-columns: 1fr; padding-top: 30px; }
	.product-detail__gallery { position: static; top: auto; }
	.product-detail__main { padding: 16px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 26px; }
.contact-info__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-info__list svg { width: 22px; height: 22px; color: var(--brass); margin-top: 4px; }
.contact-info__list strong { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; font-weight: 600; }
.contact-info__list span { color: var(--ink); font-size: 16px; line-height: 1.5; }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: 40px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.contact-form label { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--bone); font: inherit; font-size: 15px; color: var(--ink); border-radius: var(--radius); transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .field { margin-bottom: 18px; }
.map-embed { aspect-ratio: 16/9; background: var(--bone); border: 1px solid var(--line); margin-top: 50px; display: grid; place-items: center; color: var(--mute); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Maps grid (Mississauga + Suwanee) */
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.map-card { background: var(--white); border: 1px solid var(--line); }
.map-card__title { font-family: var(--font-display); font-size: 22px; padding: 22px 24px 16px; margin: 0; color: var(--ink); }
.map-card__embed { aspect-ratio: 16/10; background: var(--bone); }
.map-card__embed iframe { width: 100%; height: 100%; display: block; border: 0; }
.map-card__addr { padding: 16px 24px 22px; margin: 0; font-size: 13.5px; color: var(--ink-soft); border-top: 1px solid var(--line-soft); }
.map-card__addr a { color: var(--brand); border-bottom: 1px solid var(--brand); padding-bottom: 1px; }
.map-card__addr a:hover { color: var(--brand-dark); border-color: var(--brand-dark); }
@media (max-width: 820px) { .maps-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
	.contact-grid { grid-template-columns: 1fr; }
	.contact-form .row { grid-template-columns: 1fr; }
	.contact-form { padding: 28px; }
}

/* ============================================================
   TRADESHOWS
   ============================================================ */

.shows-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .shows-grid { grid-template-columns: 1fr; } }

.show-card {
	position: relative;
	padding: clamp(32px, 4vw, 56px);
	border-radius: var(--radius-lg);
	color: var(--white);
	overflow: hidden;
	display: flex; flex-direction: column;
	min-height: 480px;
}
.show-card--brand { background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%); }
.show-card--dark  { background: linear-gradient(140deg, var(--ink) 0%, #2c1815 100%); }
.show-card::after {
	content: ''; position: absolute; right: -120px; top: -100px;
	width: 360px; height: 360px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
	pointer-events: none;
}
.show-card--dark::after { background: radial-gradient(circle, rgba(232,89,80,.18) 0%, transparent 70%); }

.show-card__chip {
	display: inline-block;
	padding: 7px 14px;
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 30px;
	margin-bottom: 28px;
	width: fit-content;
}

.show-card__name {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 500;
	color: var(--white);
	margin: 0 0 10px;
	line-height: 1.05;
}
.show-card__city {
	font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	color: rgba(255,255,255,.78);
	margin: 0 0 32px;
	font-weight: 500;
}

.show-card__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; flex: 1; }
.show-card__meta li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.show-card__meta li:last-child { border-bottom: 0; }
.show-card__meta-label {
	font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
	color: rgba(255,255,255,.6); font-weight: 600;
	padding-top: 3px;
}
.show-card__meta-value { color: var(--white); font-size: 15px; line-height: 1.45; }

.show-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.show-card--dark .show-card__actions .btn--primary { background: var(--brand); border-color: var(--brand); }
.show-card--dark .show-card__actions .btn--primary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.show-card--dark .show-card__actions .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.show-card--dark .show-card__actions .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

@media (max-width: 520px) {
	.show-card__meta li { grid-template-columns: 1fr; gap: 6px; }
}

/* Virtual showroom split */
.virtual-showroom { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.virtual-showroom__text .eyebrow { color: var(--brand); }
.virtual-showroom__text h2 { margin: 0 0 18px; }
.virtual-showroom__text p { color: var(--ink-soft); margin: 0 0 28px; max-width: 48ch; }
.virtual-showroom__hint { font-size: 12px; letter-spacing: .08em; color: var(--mute); margin-top: 12px; }
.virtual-showroom__embed {
	position: relative;
	aspect-ratio: 16/10;
	background: var(--ink);
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.virtual-showroom__embed iframe { width: 100%; height: 100%; display: block; border: 0; }
.virtual-showroom__embed--link { display: block; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease); }
.virtual-showroom__embed--link:hover { transform: scale(1.01); box-shadow: 0 24px 60px rgba(28,15,13,.24); }
.virtual-showroom__embed--link img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .3s var(--ease); }
.virtual-showroom__embed--link:hover img { opacity: 1; }
.virtual-showroom__embed--link::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(28,15,13,.45) 0%, rgba(28,15,13,.15) 60%);
	z-index: 1;
}
.virtual-showroom__play {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 86px; height: 86px;
	display: grid; place-items: center;
	background: var(--brand); color: var(--white);
	border-radius: 50%;
	box-shadow: 0 12px 32px rgba(28,15,13,.4);
	z-index: 2;
	transition: transform .25s var(--ease), background .25s var(--ease);
}
.virtual-showroom__embed--link:hover .virtual-showroom__play { transform: translate(-50%, -50%) scale(1.08); }
.virtual-showroom__play svg { transform: translateX(2px); }
.virtual-showroom__label {
	position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
	background: rgba(255,255,255,.92); color: var(--ink);
	padding: 8px 18px; border-radius: 30px;
	font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
	z-index: 2; white-space: nowrap;
}
@media (max-width: 820px) {
	.virtual-showroom { grid-template-columns: 1fr; }
}

/* Show CTA band */
.show-cta {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
	background: var(--bone); padding: clamp(32px, 4vw, 56px);
	border-radius: var(--radius-lg); border-left: 4px solid var(--brand);
}
.show-cta h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 8px 0 10px; }
.show-cta p { color: var(--ink-soft); margin: 0; max-width: 44ch; }
.show-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px) {
	.show-cta { grid-template-columns: 1fr; }
	.show-cta__actions { justify-content: flex-start; }
}

/* Banner accent for sections with separator */
.divider { height: 1px; background: var(--line); margin: clamp(40px, 6vw, 80px) 0; }

/* Animations on scroll-in */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
/* Never fade-gate the single-product container (tall on mobile → could stay hidden). */
.single-product div.product { opacity: 1 !important; transform: none !important; }

/* ============================================================
   MOBILE STICKY ACTION BAR (Call / Email / Quote)
   Only visible ≤720px. Pinned to the bottom, respects iOS safe-area.
   ============================================================ */

.mobile-bar { display: none; }

@media (max-width: 720px) {
	.mobile-bar {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1.4fr;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 80;
		background: var(--white);
		border-top: 1px solid var(--line);
		box-shadow: 0 -8px 24px rgba(28,15,13,.08);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.mobile-bar__item {
		display: flex; flex-direction: column; align-items: center; justify-content: center;
		gap: 4px;
		padding: 10px 6px;
		color: var(--ink);
		font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
		border-right: 1px solid var(--line-soft);
		text-decoration: none;
		min-height: 60px;
		text-align: center;
	}
	.mobile-bar__item:last-child { border-right: 0; }
	.mobile-bar__icon { color: var(--brand); display: grid; place-items: center; position: relative; }
	.mobile-bar__icon svg { width: 20px; height: 20px; }
	.mobile-bar__badge {
		position: absolute; top: -6px; right: -8px;
		min-width: 16px; height: 16px; padding: 0 4px;
		background: var(--brand); color: var(--white);
		border-radius: 30px;
		font-size: 9px; font-weight: 700; letter-spacing: 0;
		display: grid; place-items: center; line-height: 1;
		border: 1.5px solid var(--white);
	}
	.mobile-bar__label { line-height: 1; }
	.mobile-bar__item:active { background: var(--bone); }
	.mobile-bar__item--primary {
		background: var(--brand);
		color: var(--white);
		gap: 6px;
	}
	.mobile-bar__item--primary .mobile-bar__icon { color: var(--white); }
	.mobile-bar__item--primary .mobile-bar__icon svg { width: 18px; height: 18px; }
	.mobile-bar__item--primary:active { background: var(--brand-dark); }

	/* Hide the mobile bar when the drawer is open — otherwise it overlays the bottom menu links and steals their taps. */
	body.nav-open .mobile-bar {
		transform: translateY(110%);
		pointer-events: none;
		transition: transform .25s var(--ease);
	}
	.mobile-bar { transition: transform .25s var(--ease); }

	/* Very narrow screens — primary CTA gets icon-only-ish layout */
	@media (max-width: 360px) {
		.mobile-bar { grid-template-columns: 1fr 1fr 1fr 1.2fr; }
		.mobile-bar__item { font-size: 9.5px; padding: 8px 4px; }
	}

	/* (mobile bottom bar removed — actions live in the hamburger drawer) */

	/* Hide topbar phone/email row on mobile — bottom bar replaces it */
	.topbar { display: none; }

	/* Tighter header on mobile */
	.header-main__inner { min-height: 70px; }
	.brand__logo { height: 38px; }
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

.wc-section { padding-top: clamp(50px, 6vw, 80px); }

/* ---- Notices (classic + block), themed to match Canpol Modern ---- */
.woocommerce-notices-wrapper { margin-bottom: 30px; }
.woocommerce-notices-wrapper:empty { margin: 0; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-error li,
ul.woocommerce-error {
	--note: var(--brass);
	position: relative;
	display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 3px solid var(--note);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	color: var(--ink-soft);
	padding: 16px 22px 16px 54px;
	margin: 0 0 16px;
	font-family: var(--font-body); font-size: 14px; line-height: 1.5;
	list-style: none;
}
/* Type accents */
.woocommerce-message { --note: #3f7d63; }   /* success */
.woocommerce-info    { --note: var(--ink);  }   /* neutral info */
.woocommerce-error   { --note: var(--brand); }   /* error */

/* Round icon badge */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--note) no-repeat center / 13px 13px;
	flex: none;
}
.woocommerce-message::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.woocommerce-info::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8h.01M11 12h1v5h1'/%3E%3C/svg%3E"); }
.woocommerce-error::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v6m0 4h.01'/%3E%3C/svg%3E"); }

.woocommerce-error { flex-direction: column; align-items: flex-start; }
.woocommerce-error li { all: unset; display: block; font-size: 14px; color: var(--ink-soft); }

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	color: var(--brass); border-bottom: 1px solid currentColor; font-weight: 600;
}

/* Inline action button ("View cart", "Continue", etc.) styled like .btn */
.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: auto;
	display: inline-flex; align-items: center;
	background: var(--ink); color: var(--white);
	border: 1px solid var(--ink); border-radius: var(--radius);
	padding: 10px 20px; font-size: 11.5px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase; line-height: 1;
	transition: all .25s var(--ease);
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }

/* WooCommerce BLOCK notices (cart/checkout block fallbacks) */
.wc-block-components-notice-banner {
	border: 1px solid var(--line) !important; border-left: 3px solid var(--brass) !important;
	border-radius: var(--radius-lg) !important; background: var(--white) !important;
	box-shadow: var(--shadow-sm); color: var(--ink-soft) !important;
	font-family: var(--font-body) !important; padding: 14px 18px !important;
}
.wc-block-components-notice-banner.is-success { border-left-color: #3f7d63 !important; }
.wc-block-components-notice-banner.is-error   { border-left-color: var(--brand) !important; }
.wc-block-components-notice-banner.is-info     { border-left-color: var(--ink) !important; }
.wc-block-components-notice-banner svg { fill: var(--brass); }

/* Shop toolbar */
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering {
	font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.woocommerce .woocommerce-ordering select {
	background: var(--white); border: 1px solid var(--line); padding: 9px 30px 9px 16px;
	font: inherit; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
	color: var(--ink-soft); border-radius: 30px; cursor: pointer;
}

/* Product loop */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 30px 0 50px !important; padding: 0 !important; list-style: none; }
/* WooCommerce's default clearfix ::before/::after would become GRID ITEMS in a
   grid container and steal the first/last cell (first product disappears from
   column 1). Neutralise them on every grid we override. */
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce div.product::before, .woocommerce div.product::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product {
	position: relative;
	width: auto !important; margin: 0 !important; padding: 0 !important;
	background: var(--white); border: 1px solid var(--line-soft); transition: all .3s var(--ease);
	float: none !important;
	overflow: hidden; border-radius: 10px;
	/* Cards in the same row can have a different number of colour-swatch rows, which
	   used to push the "Select options"/"Out of stock" button to a different height on
	   each card. Flex-column + margin-top:auto on the button pins it to the bottom of
	   every card consistently, whatever content sits above it. */
	display: flex; flex-direction: column;
}
/* keep the image zoom clipped inside its own frame so the whole card reacts as one */
.woocommerce ul.products li.product a:first-child { overflow: hidden; }
.woocommerce ul.products li.product:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.woocommerce ul.products li.product a { display: block; }
.woocommerce ul.products li.product img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; margin: 0 !important; transition: transform .6s var(--ease); }
.woocommerce ul.products li.product:hover img { transform: scale(1.05); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	font-family: var(--font-display); font-size: 21px !important; font-weight: 500 !important;
	padding: 14px 22px 4px !important; margin: 0 !important; color: var(--ink) !important;
	text-align: center;
}
.woocommerce ul.products li.product .price {
	padding: 0 22px 14px !important; color: var(--ink) !important;
	font-family: var(--font-display) !important; font-size: 18px !important; font-weight: 500 !important;
	text-align: center;
}
.woocommerce ul.products li.product .price ins { background: transparent; font-weight: 600; }
.woocommerce ul.products li.product .price del { color: var(--mute); font-size: 14px !important; margin-right: 6px; }
/* Product code, smaller and quieter than the title, directly beneath it. */
.woocommerce ul.products li.product .cg-sku {
	text-align: center; font-size: 12px; color: var(--mute); letter-spacing: .03em;
	padding: 0 22px; margin-top: -4px;
}
/* Card meta: availability + dimensions on one centred line, colour swatches below. */
.woocommerce ul.products li.product .cg-meta { text-align: center; padding: 8px 18px 14px; }
.woocommerce ul.products li.product .cg-meta__line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.woocommerce ul.products li.product .cg-meta__line .canpol-stock,
.woocommerce ul.products li.product .cg-meta__line .canpol-dim-badge {
	display: inline-block; width: auto !important; max-width: none !important; margin: 0 !important;
}
.woocommerce ul.products li.product .cg-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.woocommerce ul.products li.product .cg-sw { width: 22px; height: 22px; border-radius: 5px; background-size: cover; background-position: center; border: 1px solid #e0d8d0; background-color: #f3ebe4; cursor: pointer; transition: transform .12s var(--ease), box-shadow .12s var(--ease); }
.woocommerce ul.products li.product .cg-sw[data-href]:hover { transform: scale(1.18); box-shadow: 0 0 0 2px var(--brand, #b8211c); border-color: var(--brand, #b8211c); position: relative; z-index: 1; }
.woocommerce ul.products li.product .cg-sw--more { display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--ink, #1c0f0d); background: #f1ece6; }
.woocommerce ul.products li.product .button {
	display: block !important; margin: auto 22px 22px !important;
	background: var(--ink) !important; color: var(--white) !important;
	padding: 12px 18px !important; font-size: 11.5px !important; letter-spacing: .14em !important;
	text-transform: uppercase !important; font-weight: 600 !important; border-radius: var(--radius) !important;
	text-align: center;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product:hover .button { background: var(--brass) !important; color: var(--ink) !important; }
.woocommerce ul.products li.product .onsale {
	background: var(--brass) !important; color: var(--ink) !important; min-height: auto !important; min-width: auto !important;
	padding: 6px 12px !important; font-size: 10px !important; letter-spacing: .15em !important; text-transform: uppercase !important;
	border-radius: 0 !important; line-height: 1 !important; top: 14px !important; left: 14px !important; right: auto !important;
	font-weight: 600 !important; margin: 0 !important; position: absolute !important;
}

/* Shop landing: category tiles styled like the home-page category mosaic. */
.woocommerce ul.products li.product-category {
	position: relative; background: var(--ink); border: 0 !important;
	border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
}
.woocommerce ul.products li.product-category a {
	display: block !important; height: 100%; position: relative;
}
.woocommerce ul.products li.product-category img {
	width: 100% !important; height: 100% !important; aspect-ratio: auto !important;
	object-fit: cover !important; transition: transform .6s var(--ease);
}
.woocommerce ul.products li.product-category:hover img { transform: scale(1.06); }
.woocommerce ul.products li.product-category::after {
	content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to top, rgba(20,8,6,.82) 0%, rgba(20,8,6,.30) 42%, rgba(20,8,6,0) 70%);
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 18px 20px 20px !important; margin: 0 !important; color: var(--white) !important;
	font-family: var(--font-display); font-size: 22px !important; font-weight: 500 !important;
	text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title .count {
	display: inline-block; background: var(--brand); color: #fff; font-family: var(--font-body);
	font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 30px; margin-left: 8px; vertical-align: middle;
}
.woocommerce ul.products li.product-category:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
/* Mobile: always a single column (phones report up to ~760px CSS width). */
@media (max-width: 768px)  { .woocommerce ul.products { grid-template-columns: 1fr !important; gap: 18px; } }

/* Single product */
/* Original-style layout: narrow image column (left) + wide table column (right). */
.woocommerce div.product { display: grid; grid-template-columns: minmax(280px, 34%) 1fr; gap: clamp(28px, 3.2vw, 56px); margin-top: 30px; align-items: start; }
/* Sticky on the OUTER gallery (flexslider overrides position on __wrapper, which
   broke sticky there). Left column stays visible while the order table scrolls. */
/* WC's template hard-codes style="opacity:0" and relies on its gallery JS to
   reveal it; we disabled that JS, so force the gallery visible. The gallery
   fills the row height; the IMAGE + thumbnails sit in a short sticky box
   (.cp-gallery-sticky) so they stay visible while the order table scrolls. */
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; position: static; align-self: stretch; }
.cp-gallery-sticky { position: sticky; top: 96px; z-index: 3; background: var(--paper, #fbf7f2); }
.woocommerce div.product .woocommerce-product-gallery__wrapper { margin: 0; }
/* Native WC thumbnails hidden — we use a per-variant strip instead. */
.woocommerce div.product .flex-control-thumbs { display: none !important; }
/* Force the single image full-width (WC's --columns-4 CSS otherwise floats/sizes
   the figure as a thumbnail grid → off-screen / broken on mobile). */
.woocommerce div.product .woocommerce-product-gallery__image { border: 0 !important; border-radius: var(--radius, 8px); padding: 12px; background: #fff; width: 100% !important; float: none !important; margin: 0 !important; max-width: 100%; }
.woocommerce div.product .woocommerce-product-gallery__image img { width: 100% !important; height: auto !important; max-width: 100%; border-radius: 4px; border: 0 !important; box-shadow: none !important; }
.cp-gallery-sticky, .cp-vthumbs { max-width: 100%; box-sizing: border-box; }
/* Click = open the full image in the lightbox (no hover loupe). Hint it. */
.woocommerce div.product .woocommerce-product-gallery__image a { cursor: zoom-in; display: block; }
.woocommerce div.product .woocommerce-product-gallery__trigger {
	position: absolute; top: 20px; right: 20px; z-index: 5;
	width: 40px; height: 40px; border-radius: 50%; background: rgba(28,15,13,.78);
	display: flex; align-items: center; justify-content: center; text-indent: 0; font-size: 0;
	box-shadow: var(--shadow-sm); transition: background .2s var(--ease);
}
.woocommerce div.product .woocommerce-product-gallery__trigger:hover { background: var(--brand); }
.woocommerce div.product .woocommerce-product-gallery__trigger::before {
	content: ""; width: 18px; height: 18px; background: no-repeat center / contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E");
}
.woocommerce div.product .woocommerce-product-gallery__trigger img { display: none; }
/* Per-variant thumbnail strip — below the main image, breathing room + a left
   inset matching the other left-column elements (so it doesn't touch the edge). */
.cp-vthumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0 13px 18px; }
.cp-vthumbs[hidden] { display: none; }
.cp-vthumb { width: calc(25% - 6px); aspect-ratio: 1 / 1; border: 1px solid var(--line, #ece4dc); border-radius: 6px; background: #fff no-repeat center / contain; cursor: pointer; padding: 0; opacity: .75; transition: opacity .15s, border-color .15s; }
.cp-vthumb:hover { opacity: 1; }
.cp-vthumb.is-active { opacity: 1; border-color: var(--brand, #b8211c); border-width: 2px; }
/* Custom click-to-enlarge lightbox (whole image, centered). */
.cp-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(20,12,10,.92); display: none; align-items: center; justify-content: center; padding: 4vw; cursor: zoom-out; }
.cp-lightbox.is-open { display: flex; }
.cp-lightbox img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.cp-lightbox img { cursor: pointer; }
.cp-lightbox__close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; border: 0; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; z-index: 2; }
.cp-lightbox__close:hover { background: var(--brand, #b8211c); }
.cp-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; border: 0; font-size: 34px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.cp-lightbox__nav:hover { background: var(--brand, #b8211c); }
.cp-lightbox__prev { left: 20px; }
.cp-lightbox__next { right: 20px; }
.cp-lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; opacity: .85; }
@media (max-width: 600px) { .cp-lightbox__nav { width: 44px; height: 44px; font-size: 26px; } .cp-lightbox__prev { left: 8px; } .cp-lightbox__next { right: 8px; } }
.woocommerce div.product .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.woocommerce div.product .flex-control-thumbs li { width: calc(25% - 6px); }
.woocommerce div.product .flex-control-thumbs img { border: 1px solid var(--line, #ece4dc); border-radius: 6px; cursor: pointer; opacity: .7; transition: opacity .15s; }
.woocommerce div.product .flex-control-thumbs img.flex-active, .woocommerce div.product .flex-control-thumbs img:hover { opacity: 1; border-color: var(--ink, #1c0f0d); }
.woocommerce div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .summary .product_title { margin-top: 0; }
/* PDP info panel sits UNDER the image, in the left column */
.woocommerce div.product .woocommerce-product-gallery .canpol-pdp-info { margin-top: 26px; padding-top: 22px; padding-left: 13px; padding-right: 13px; border-top: 1px solid #ece4dc; }
/* Per-card mini-gallery thumbnails — desktop hidden (top gallery handles it). */
.cp-card-thumbs { display: none; }

@media (max-width: 900px) {
	/* Single-column flow on mobile. The TOP product gallery (image + strip) is
	   removed — each variant card below is its own mini-gallery instead. */
	.woocommerce div.product { display: block; }
	/* Hide the whole top gallery (image + info panel) + the redundant title /
	   stock / variant-pick caption — the variant cards below carry everything. */
	.woocommerce div.product .woocommerce-product-gallery { display: none !important; }
	.woocommerce div.product .summary { width: 100% !important; }
	.woocommerce div.product .summary .product_title,
	.woocommerce div.product .canpol-stock-line,
	.woocommerce div.product .canpol-variant-pick { display: none !important; }

	/* Each variant CARD = mini-gallery: variant image + its thumbnails + tap-to-zoom. */
	.canpol-order-table .cp-cell-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
	.canpol-order-table .cp-cell-item::before { display: none; }
	.canpol-order-table .cp-cell-item .canpol-row-thumb { width: 150px !important; height: 150px !important; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; margin: 0 0 2px !important; }
	.canpol-order-table .cp-cell-item strong { font-size: 16px; }
	.cp-card-thumbs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 6px; }
	.cp-card-thumb { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; background: #fff no-repeat center / contain; cursor: pointer; padding: 0; opacity: .72; transition: opacity .15s, border-color .15s; }
	.cp-card-thumb:hover { opacity: 1; }
	.cp-card-thumb.is-active { opacity: 1; border-color: var(--brand, #b8211c); border-width: 2px; }
}
.woocommerce div.product .product_title { font-size: clamp(32px, 3.4vw, 48px); margin: 0 0 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	font-family: var(--font-display); font-size: 32px !important; color: var(--ink) !important; margin: 0 0 22px !important;
}
.woocommerce div.product .stock { color: var(--brass); font-size: 13px; letter-spacing: .04em; }
.woocommerce div.product form.cart { margin: 28px 0 30px; }
.woocommerce div.product form.cart .quantity { float: none; margin-right: 10px; display: inline-flex !important; align-items: center; border: 1px solid var(--ink); height: 48px; vertical-align: middle; }
.woocommerce div.product form.cart .quantity input.qty { width: 60px !important; height: 100% !important; border: 0 !important; text-align: center; font-size: 15px; padding: 0 !important; background: transparent !important; }
.woocommerce div.product form.cart .button {
	background: var(--ink) !important; color: var(--white) !important;
	padding: 16px 30px !important; font-size: 13px !important; letter-spacing: .12em !important;
	text-transform: uppercase !important; font-weight: 600 !important; border-radius: var(--radius) !important;
	vertical-align: middle;
}
.woocommerce div.product form.cart .button:hover { background: var(--brass) !important; color: var(--ink) !important; }
.woocommerce div.product .product_meta { padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 6px; }
.woocommerce div.product .product_meta a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* Order table sits in the right column (summary), beside the gallery. */
.woocommerce div.product .summary .canpol-order { margin-top: 18px; }

/* Related products — full width, same-category strip (like the original) */
.woocommerce div.product .canpol-related { grid-column: 1 / -1; margin-top: 50px; padding-top: 40px; padding-left: 13px; padding-right: 13px; border-top: 1px solid var(--line); }
.canpol-related__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.canpol-related__title { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); margin: 0; letter-spacing: .02em; text-transform: uppercase; }
.canpol-related__nav { display: flex; gap: 8px; }
.canpol-related__arrow { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line, #d8cfc7); background: #fff; color: var(--ink, #1c0f0d); border-radius: 50%; cursor: pointer; transition: all .15s var(--ease); }
.canpol-related__arrow:hover { background: var(--brand, #b8211c); color: #fff; border-color: var(--brand, #b8211c); }
.canpol-related__arrow:disabled { opacity: .3; cursor: default; background: #fff; color: var(--ink, #1c0f0d); border-color: var(--line, #d8cfc7); }
.canpol-related__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
.canpol-related__row::-webkit-scrollbar { display: none; height: 0; }
@media (max-width: 720px) { .canpol-related__row { grid-auto-columns: minmax(130px, 70%); } }
.canpol-related__card { scroll-snap-align: start; border: 1px solid var(--line, #ece4dc); border-radius: 10px; overflow: hidden; background: #fff; transition: transform .15s var(--ease), box-shadow .15s var(--ease); text-align: center; }
.canpol-related__card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(28,15,13,.1); }
.canpol-related__img { display: block; aspect-ratio: 1/1; background: #f3ebe4; overflow: hidden; }
.canpol-related__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.canpol-related__name { display: block; padding: 10px 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink, #1c0f0d); }

/* AI product description — full-width, under the order table, above the tabs */
.woocommerce div.product .canpol-ai-desc { grid-column: 1 / -1; margin-top: 48px; padding-top: 40px; padding-left: 13px; padding-right: 13px; border-top: 1px solid var(--line); }
.canpol-ai-desc__title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 16px; color: var(--ink); }
.canpol-ai-desc p { max-width: none; margin: 0 0 14px; color: var(--ink-soft, #4a3d39); line-height: 1.75; }

/* ---- Legal documents (privacy / terms) ---- */
.legal-doc { max-width: none; width: 100%; margin: 0; }
.legal-doc__intro { font-size: 17px; line-height: 1.7; color: var(--ink, #1c0f0d); margin: 0 0 28px; }
.legal-doc h2 { font-family: var(--font-display); font-size: 22px; margin: 30px 0 8px; color: var(--ink, #1c0f0d); }
.legal-doc p { color: var(--ink-soft, #5a4d48); line-height: 1.75; margin: 0 0 14px; }
.legal-doc__note { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line, #ece4dc); font-size: 13px; color: var(--mute, #8a7f78); }

/* ---- Cookie consent notice ---- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: var(--ink, #1c0f0d); color: #fff; border-radius: 12px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.28); max-width: 720px; margin: 0 auto; }
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { flex: 1 1 320px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 0; }
.cookie-bar__text a { color: var(--brand-soft, #ff8a85); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; }
.cookie-bar__btn { padding: 10px 18px; border-radius: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; }
.cookie-bar__btn--ok { background: var(--brand, #b8211c); border-color: var(--brand, #b8211c); }

/* ---- Blog listing ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; background: var(--white, #fff); border: 1px solid var(--line, #ece4dc); border-radius: 12px; overflow: hidden; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(28,15,13,.12); }
.blog-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f3ebe4; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.blog-card__img--ph { display: block; background-size: cover; background-position: center; }
.blog-card:hover .blog-card__img { transform: scale(1.05); }
.blog-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute, #8a7f78); margin: 0 0 10px; }
.blog-card__title { font-family: var(--font-display); font-size: 21px; line-height: 1.25; margin: 0 0 12px; }
.blog-card__title a { color: var(--ink, #1c0f0d); }
.blog-card__title a:hover { color: var(--brand, #b8211c); }
.blog-card__excerpt { color: var(--ink-soft, #5a4d48); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.blog-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--brand, #b8211c); }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.blog-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line, #ece4dc); border-radius: 8px; color: var(--ink, #1c0f0d); }
.blog-pagination .page-numbers.current { background: var(--brand, #b8211c); color: #fff; border-color: var(--brand, #b8211c); }

/* ---- Single post ---- */
.post-single__wrap { max-width: none; width: 100%; margin: 0; }
.post-single__hero { margin: 0 0 34px; border-radius: 14px; overflow: hidden; }
.post-single__img { width: 100%; height: auto; display: block; }
.post-single__content { font-size: 17px; line-height: 1.8; color: var(--ink-soft, #4a3d39); }
.post-single__content h2 { font-family: var(--font-display); font-size: 28px; margin: 38px 0 14px; color: var(--ink, #1c0f0d); }
.post-single__content h3 { font-size: 21px; margin: 28px 0 10px; color: var(--ink, #1c0f0d); }
.post-single__content p { margin: 0 0 18px; }
.post-single__content ul, .post-single__content ol { margin: 0 0 18px 22px; }
.post-single__content li { margin-bottom: 8px; }
.post-single__content table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.post-single__content th, .post-single__content td { border: 1px solid var(--line, #ece4dc); padding: 10px 12px; text-align: left; }
.post-single__content th { background: #faf6f1; }
.post-single__content a { color: var(--brand, #b8211c); border-bottom: 1px solid currentColor; }
.post-single__back { margin-top: 40px; }

/* Product tabs */
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 30px !important; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent !important; border: 0 !important; border-radius: 0 !important;
	padding: 0 !important; margin: 0 30px 0 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 14px 0 !important; font-size: 12px !important; letter-spacing: .14em !important;
	text-transform: uppercase !important; color: var(--mute) !important; border-bottom: 2px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; border-color: var(--brass); }

/* Related products */
.woocommerce .related, .woocommerce .upsells { grid-column: 1 / -1; margin-top: 60px; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 28px; margin-bottom: 30px; }

@media (max-width: 820px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
}

/* Cart */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 0; font-size: 14px; }
.woocommerce table.shop_table th { background: var(--bone); padding: 16px 18px !important; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.woocommerce table.shop_table td { padding: 16px 18px !important; border-top: 1px solid var(--line); }
.woocommerce table.shop_table .product-name a { color: var(--ink); font-weight: 500; }
.woocommerce-cart .cart_totals { background: var(--bone); padding: 30px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--ink) !important; color: var(--white) !important;
	padding: 14px 26px !important; font-size: 13px !important; letter-spacing: .12em !important;
	text-transform: uppercase !important; font-weight: 600 !important; border-radius: var(--radius) !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--brass) !important; color: var(--ink) !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--brass) !important; color: var(--ink) !important; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--ink) !important; color: var(--white) !important; }

/* Checkout form */
.woocommerce form .form-row label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 600; margin-bottom: 8px; display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	background: var(--bone); border: 1px solid var(--line); padding: 14px 16px !important;
	font: inherit; font-size: 15px; color: var(--ink); border-radius: var(--radius);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--ink); outline: none; background: var(--white); }

/* My account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation ul li a { display: block; padding: 14px 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.woocommerce-MyAccount-navigation ul li.is-active a, .woocommerce-MyAccount-navigation ul li a:hover { color: var(--brass); }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	border: 1px solid var(--line); padding: 12px 16px !important; min-width: 44px; text-align: center; font-size: 13px; color: var(--ink); background: var(--white) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink) !important; color: var(--white) !important; border-color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--brass) !important; color: var(--ink) !important; border-color: var(--brass); }

/* ============================================================
   ADD-TO-CART TOAST (AJAX add — stay on page)
   ============================================================ */
.cp-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 100000; background: var(--ink); color: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 13px 16px; display: flex; align-items: center; gap: 16px; max-width: 92vw; font-family: var(--font-body); font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.cp-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cp-toast--err { background: var(--brand); }
.cp-toast__msg { line-height: 1.35; }
.cp-toast__msg b { color: #6fcf97; margin-right: 5px; }
.cp-toast--err .cp-toast__msg b { color: #fff; }
.cp-toast__btn { background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cp-toast__btn:hover { background: var(--brass); color: #fff; }
@media (max-width: 600px) {
	.cp-toast { left: 12px; right: 12px; bottom: 12px; transform: translateY(20px); max-width: none; }
	.cp-toast.is-show { transform: translateY(0); }
}

/* Cart: "Continue shopping" link (left) next to Update cart (right). */
.woocommerce .cart .actions .canpol-continue { float: left; background: transparent !important; color: var(--ink) !important; border: 1px solid var(--ink) !important; }
.woocommerce .cart .actions .canpol-continue:hover { background: var(--ink) !important; color: #fff !important; }
@media (max-width: 600px) { .woocommerce .cart .actions .canpol-continue { float: none; display: block; width: 100%; margin-bottom: 10px; text-align: center; } }

/* Cart auto-update: subtle loading state while qty change is applied. */
.cp-cart-updating { opacity: .5; pointer-events: none; transition: opacity .15s; }

/* --- KA Newsletter plugin form embedded in the footer "Stay in touch" section --- */
.newsletter__form--ka .rownewsletter { display: grid; grid-template-columns: 1fr; gap: 10px; }
.newsletter__form--ka .form-group { margin: 0; }
.newsletter__form--ka .form-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px; font-weight: 700; }
.newsletter__form--ka .form-control { width: 100%; background: var(--white); border: 1px solid var(--line); padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink); border-radius: var(--radius); transition: border-color .2s var(--ease); }
.newsletter__form--ka .form-control:focus { outline: none; border-color: var(--brand); }
.newsletter__form--ka .form-check { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; }
.newsletter__form--ka .form-check-input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--brand); }
.newsletter__form--ka .form-check-label { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.newsletter__form--ka .btn, .newsletter__form--ka button[type="submit"] { display: inline-flex; width: auto; align-items: center; background: var(--brand); color: var(--white); border: 0; padding: 12px 22px; margin-top: 4px; font-size: 12px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; border-radius: var(--radius); cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease); }
.newsletter__form--ka .btn:hover, .newsletter__form--ka button[type="submit"]:hover { background: var(--brand-dark); transform: translateY(-1px); }
.newsletter__form--ka .ka-newsletter-message { padding: 10px 14px; border-radius: var(--radius); margin-bottom: 12px; font-size: 14px; }
.newsletter__form--ka .ka-newsletter-success { background: #e7f6ec; color: #1c6b3a; }
.newsletter__form--ka .ka-newsletter-error, .newsletter__form--ka .ka-newsletter-warning { background: #fdeceb; color: #9a261f; }
.newsletter__form--ka .help-block { display: none; }

/* --- A11y (WCAG 1.4.1): in-text links must be distinguishable by more than colour --- */
.woocommerce-breadcrumb a, .crumbs a { text-decoration: underline; }
