/*
Theme Name: Container Commerce
Theme URI: https://example.com/
Author: US Containers Depot
Description: Industrial-luxury WooCommerce theme for a shipping container retailer. Charcoal, burnt orange and warm ivory; self-hosted DM Sans; Gutenberg-compatible; no page builder. Pairs with the Container Commerce Core plugin.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
License: GPL-2.0-or-later
Text Domain: container-commerce
*/

/* ==========================================================================
   0. Font — DM Sans variable (SIL OFL 1.1), self-hosted, Latin subset
   ========================================================================== */
@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dmsans-latin.woff") format("woff");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
/* Metric-matched fallback reduces layout shift while the font loads. */
@font-face {
	font-family: "DM Sans Fallback";
	src: local("Arial");
	size-adjust: 104%;
	ascent-override: 96%;
	descent-override: 30%;
	line-gap-override: 0%;
}

/* ==========================================================================
   1. Brand tokens
   --------------------------------------------------------------------------
   Orange matches the logo (#E06915, hue 25°). One hue, five shades, each
   chosen for where it sits so text always meets WCAG AA:
     --cc-orange        #E06915  logo orange: rules, icons, borders, accents
     --cc-orange-fill   #C2560F  button/badge fills with white text (4.5:1)
     --cc-orange-deep   #B04E0D  links and orange text on white/ivory (4.8:1)
     --cc-orange-light  #EF7E33  orange text on charcoal (5.5:1)
     stone sections     #9A440A  orange text on stone (5.2:1)
   ========================================================================== */
:root {
	--cc-charcoal: #252827;
	--cc-charcoal-2: #1c1e1d;
	--cc-charcoal-3: #2f3332;
	--cc-orange: #e06915;         /* logo orange */
	--cc-orange-fill: #c2560f;    /* fills with white text (4.5:1) */
	--cc-orange-fill-hover: #9a440a;
	--cc-orange-deep: #b04e0d;    /* text on white / ivory (4.8:1) */
	--cc-orange-light: #ef7e33;   /* orange text on charcoal (5.5:1) */
	--cc-orange-soft: #fae3d2;
	--cc-ivory: #f5f2ea;
	--cc-stone: #e5e4df;
	--cc-stone-2: #d6d3ca;
	--cc-white: #fff;
	--cc-ink: #252827;
	--cc-muted: #5f5e58;           /* 5.8:1 on ivory */
	--cc-muted-on-dark: #bdb9ae;   /* 8.4:1 on charcoal */
	--cc-success: #2e6b3f;
	--cc-warn: #8a5300;
	--cc-danger: #a3261b;

	--cc-radius: 4px;
	--cc-radius-lg: 10px;
	--cc-shadow-sm: 0 1px 2px rgba(37, 40, 39, .06);
	--cc-shadow: 0 1px 2px rgba(37, 40, 39, .05), 0 8px 24px -12px rgba(37, 40, 39, .18);
	--cc-shadow-lg: 0 2px 4px rgba(37, 40, 39, .05), 0 22px 44px -18px rgba(37, 40, 39, .32);
	--cc-ease: cubic-bezier(.2, .7, .2, 1);
	--cc-wrap: 1280px;
	--cc-gap: clamp(18px, 3vw, 32px);
	--cc-font: "DM Sans", "DM Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	accent-color: var(--cc-orange-deep);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
	margin: 0;
	font-family: var(--cc-font);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--cc-ink);
	background: var(--cc-ivory);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "kern", "liga";
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cc-orange-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--cc-ease), text-decoration-color .2s; }
a:hover { color: var(--cc-charcoal); text-decoration-color: var(--cc-orange); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--cc-font);
	color: var(--cc-charcoal);
	line-height: 1.12;
	margin: 1.7em 0 .55em;
	font-weight: 700;
	letter-spacing: -.022em;
	font-variation-settings: "opsz" 32;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); margin-top: 0; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); letter-spacing: -.015em; }
h4 { font-size: 1.1rem; }
p, ul, ol, table, figure { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; }
li::marker { color: var(--cc-orange); }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--cc-stone-2); margin: 2.2em 0; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; font-variant-numeric: tabular-nums; background: var(--cc-white); }
/* Tables written straight into posts have no scroll wrapper: let wide ones scroll on phones. */
@media (max-width: 760px) { .entry-content > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .entry-content > table td, .entry-content > table th { min-width: 110px; } }
th, td { padding: .75em .9em; border-bottom: 1px solid var(--cc-stone); text-align: left; vertical-align: top; }
thead th { color: var(--cc-ivory); background: var(--cc-charcoal); font-weight: 600; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; border-bottom: 0; }
tbody th { color: var(--cc-charcoal); font-weight: 600; background: transparent; }
blockquote { margin: 1.5em 0; padding: .5em 1.4em; border-left: 3px solid var(--cc-orange); }
::selection { background: var(--cc-orange); color: var(--cc-white); }
:focus-visible { outline: 3px solid var(--cc-orange); outline-offset: 2px; border-radius: 2px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
	margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; display: block;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--cc-white); color: var(--cc-charcoal); font-weight: 700;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */
.cc-wrap { width: 100%; max-width: var(--cc-wrap); margin: 0 auto; padding: 0 var(--cc-gap); }
.cc-main { padding: clamp(22px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); min-height: 50vh; }
.cc-content-narrow { max-width: 840px; }
.cc-grid-sidebar { display: grid; gap: var(--cc-gap); }
.cc-grid-sidebar > * { min-width: 0; }
@media (min-width: 960px) {
	.cc-grid-sidebar { grid-template-columns: 268px minmax(0, 1fr); align-items: start; }
	.cc-grid-sidebar--right { grid-template-columns: minmax(0, 1fr) 300px; }
}
.cc-home-section { margin: clamp(56px, 8vw, 104px) 0; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.cc-btn, .button, button.button, a.button, input[type="submit"], .wp-element-button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .75em 1.45em;
	font: 700 1rem/1.15 var(--cc-font); letter-spacing: .01em;
	color: var(--cc-white); background: var(--cc-orange-fill);
	border: 2px solid var(--cc-orange-fill); border-radius: var(--cc-radius);
	text-decoration: none; cursor: pointer;
	transition: background-color .22s var(--cc-ease), border-color .22s var(--cc-ease), color .22s var(--cc-ease), transform .22s var(--cc-ease), box-shadow .22s var(--cc-ease);
}
.cc-btn:hover, .button:hover, .wp-element-button:hover, .wp-block-button__link:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--cc-charcoal); border-color: var(--cc-charcoal); color: var(--cc-white);
	transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(37, 40, 39, .55);
}
.cc-btn:active, .button:active { transform: translateY(0); box-shadow: none; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .single_add_to_cart_button { background: var(--cc-orange-fill); border-color: var(--cc-orange-fill); color: var(--cc-white); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce .single_add_to_cart_button:hover { background: var(--cc-charcoal); border-color: var(--cc-charcoal); }
.button.cc-btn--dark, a.button.cc-btn--dark, button.button.cc-btn--dark, .cc-btn.cc-btn--dark { background: var(--cc-charcoal); border-color: var(--cc-charcoal); color: var(--cc-white); }
.button.cc-btn--dark:hover, a.button.cc-btn--dark:hover, button.button.cc-btn--dark:hover, .cc-btn.cc-btn--dark:hover { background: var(--cc-orange-fill); border-color: var(--cc-orange-fill); }
.button.cc-btn--ghost, .cc-btn.cc-btn--ghost, a.button.cc-btn--ghost, button.button.cc-btn--ghost, .is-style-outline .wp-block-button__link {
	background: transparent; color: var(--cc-charcoal); border-color: var(--cc-charcoal);
}
.button.cc-btn--ghost:hover, .cc-btn.cc-btn--ghost:hover, a.button.cc-btn--ghost:hover, button.button.cc-btn--ghost:hover, .is-style-outline .wp-block-button__link:hover {
	background: var(--cc-charcoal); color: var(--cc-ivory); border-color: var(--cc-charcoal);
}
.button.cc-btn--light, a.button.cc-btn--light, .cc-btn.cc-btn--light { background: var(--cc-ivory); color: var(--cc-charcoal); border-color: var(--cc-ivory); }
.button.cc-btn--light:hover, a.button.cc-btn--light:hover, .cc-btn.cc-btn--light:hover { background: var(--cc-white); color: var(--cc-charcoal); border-color: var(--cc-white); }
.cc-btn--block { width: 100%; }
.button.cc-btn--sm, button.button.cc-btn--sm, .cc-btn.cc-btn--sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cc-arrow::after { content: "→"; display: inline-block; margin-left: .35em; transition: transform .2s var(--cc-ease); }
a:hover .cc-arrow::after, .cc-arrow:hover::after { transform: translateX(3px); }

/* Dark surfaces: invert ghost buttons + links */
.has-charcoal-background-color .is-style-outline .wp-block-button__link,
.cc-hero .is-style-outline .wp-block-button__link,
.cc-cta-band .cc-btn--ghost, .cc-footer .cc-btn--ghost { color: var(--cc-ivory) !important; border-color: rgba(245, 242, 234, .7) !important; background: transparent !important; }
.has-charcoal-background-color .is-style-outline .wp-block-button__link:hover,
.cc-hero .is-style-outline .wp-block-button__link:hover,
.cc-cta-band .cc-btn--ghost:hover, .cc-footer .cc-btn--ghost:hover { background: var(--cc-ivory) !important; color: var(--cc-charcoal) !important; border-color: var(--cc-ivory) !important; }

/* ==========================================================================
   5. Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"],
input[type="password"], input[type="url"], select, textarea, .woocommerce form .form-row .input-text, .select2-container .select2-selection {
	width: 100%; min-height: 48px; padding: .65em .85em;
	font: inherit; font-size: 1rem; color: var(--cc-ink); background: var(--cc-white);
	border: 1px solid #b9b6ac; border-radius: var(--cc-radius);
	transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--cc-muted); }
input:focus, select:focus, textarea:focus { border-color: var(--cc-orange-deep); box-shadow: 0 0 0 3px rgba(224, 105, 21, .22); outline: none; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35em; color: var(--cc-charcoal); }
.cc-form-grid { display: grid; gap: 14px; }
.cc-form-grid p { margin: 0; }
@media (min-width: 640px) { .cc-form-grid--2 { grid-template-columns: 1fr 1fr; } .cc-form-grid .cc-span-2 { grid-column: 1 / -1; } }
.cc-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.cc-notice { padding: .9em 1.1em; border-radius: var(--cc-radius); margin: 0 0 1.25em; border-left: 3px solid var(--cc-orange); background: var(--cc-orange-soft); }
.cc-notice--ok { border-color: var(--cc-success); background: #e4efe6; }
.cc-notice--err { border-color: var(--cc-danger); background: #f7e3e0; }

/* ==========================================================================
   6. Header
   ========================================================================== */
.cc-topbar { background: var(--cc-charcoal-2); color: var(--cc-muted-on-dark); font-size: .84rem; letter-spacing: .01em; }
.cc-topbar .cc-wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.cc-topbar a { color: var(--cc-ivory); text-decoration: none; font-weight: 600; }
.cc-topbar a:hover { color: var(--cc-orange-light); }
.cc-topbar__items { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.cc-topbar__items li { margin: 0; }
.cc-topbar__usp::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--cc-orange); margin-right: 10px; vertical-align: middle; transform: rotate(45deg); }
@media (max-width: 640px) { .cc-topbar__usp { display: none; } }

.cc-header { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--cc-stone); position: sticky; top: 0; z-index: 50; }
.admin-bar .cc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cc-header { top: 0; position: relative; } }
.cc-header__inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }

/* Logo */
.cc-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cc-charcoal); margin-right: auto; }
.cc-logo:hover { color: var(--cc-charcoal); }
.cc-logo img { max-height: 48px; width: auto; }
.cc-logo__mark { width: 40px; height: 40px; flex: none; transition: transform .35s var(--cc-ease); }
.cc-logo:hover .cc-logo__mark { transform: rotate(-4deg) scale(1.04); }
.cc-logo__text { display: flex; flex-direction: column; line-height: 1; }
.cc-logo__name { font-weight: 800; font-size: 1.12rem; letter-spacing: .055em; text-transform: uppercase; }
.cc-logo__tag { font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--cc-orange-deep); margin-top: 5px; }

.cc-header__actions { display: flex; align-items: center; gap: 4px; }
.cc-icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--cc-radius); color: var(--cc-charcoal); background: transparent; border: 0; text-decoration: none; cursor: pointer; font: 600 .92rem var(--cc-font); position: relative; transition: background-color .2s, color .2s; }
.cc-icon-btn:hover { background: var(--cc-ivory); color: var(--cc-orange-deep); }
.cc-icon-btn svg { width: 22px; height: 22px; }
.cc-cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; font-size: .7rem; font-weight: 700; line-height: 19px; text-align: center; color: var(--cc-white); background: var(--cc-orange-fill); border-radius: 10px; }
.cc-header__phone { display: none; }
.cc-header__cta { display: none; margin-left: 6px; }
@media (min-width: 1180px) { .cc-header__phone, .cc-header__cta { display: inline-flex; } }

/* Primary nav */
.cc-nav { display: none; }
.cc-nav ul { list-style: none; margin: 0; padding: 0; }
.cc-nav li { margin: 0; position: relative; }
.cc-nav a { display: block; text-decoration: none; color: var(--cc-charcoal); font-weight: 600; }
@media (min-width: 1100px) {
	.cc-nav { display: block; }
	.cc-nav > ul { display: flex; gap: 2px; }
	.cc-nav > ul > li > a { padding: 27px 13px; font-size: .95rem; position: relative; }
	.cc-nav > ul > li > a::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 18px; height: 2px; background: var(--cc-orange); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--cc-ease); }
	.cc-nav > ul > li > a:hover::before, .cc-nav > ul > li.current-menu-item > a::before, .cc-nav > ul > li.current-menu-ancestor > a::before, .cc-nav > ul > li:focus-within > a::before { transform: scaleX(1); }
	.cc-nav .sub-menu {
		position: absolute; top: calc(100% - 6px); left: 0; min-width: 270px; padding: 10px; background: var(--cc-white);
		border: 1px solid var(--cc-stone); border-top: 2px solid var(--cc-orange); border-radius: 0 0 var(--cc-radius-lg) var(--cc-radius-lg); box-shadow: var(--cc-shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--cc-ease), transform .25s var(--cc-ease), visibility .2s;
	}
	.cc-nav li:hover > .sub-menu, .cc-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.cc-nav .sub-menu a { padding: 9px 12px; border-radius: var(--cc-radius); font-weight: 500; font-size: .95rem; transition: background-color .15s, color .15s, padding .2s var(--cc-ease); }
	.cc-nav .sub-menu a:hover { background: var(--cc-ivory); color: var(--cc-orange-deep); padding-left: 16px; }
	.cc-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; }
	.cc-menu-toggle { display: none !important; }
}

/* Mobile drawer */
.cc-drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.cc-drawer.is-open { display: block; }
.cc-drawer__overlay { position: absolute; inset: 0; background: rgba(28, 30, 29, .6); }
.cc-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 390px); background: var(--cc-ivory); overflow-y: auto; padding: 16px 20px 32px; }
.cc-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cc-drawer .cc-nav { display: block; }
.cc-drawer .cc-nav a { padding: 13px 4px; border-bottom: 1px solid var(--cc-stone); }
.cc-drawer .cc-nav .sub-menu { padding-left: 14px; }
.cc-drawer .cc-nav .sub-menu a { font-weight: 500; font-size: .97rem; }
body.cc-no-scroll { overflow: hidden; }

.cc-search-panel { display: none; border-top: 1px solid var(--cc-stone); background: var(--cc-ivory); }
.cc-search-panel.is-open { display: block; }
.cc-search-form { display: flex; gap: 8px; padding: 14px 0; }
.cc-search-form input { flex: 1; }

/* ==========================================================================
   7. Breadcrumbs, eyebrows, section heads
   ========================================================================== */
.cc-breadcrumbs, .woocommerce-breadcrumb { font-size: .86rem; color: var(--cc-muted); margin: 0 0 22px; }
.cc-breadcrumbs a, .woocommerce .woocommerce-breadcrumb a { color: var(--cc-muted); text-decoration: none; }
.cc-breadcrumbs a:hover, .woocommerce .woocommerce-breadcrumb a:hover { color: var(--cc-orange-deep); text-decoration: underline; }
.cc-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.cc-breadcrumbs li { margin: 0; }
.cc-breadcrumbs li + li::before { content: "/"; margin-right: 4px; color: var(--cc-stone-2); }

.cc-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cc-orange-deep); margin-bottom: .9em;
}
.cc-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cc-orange); }
.has-charcoal-background-color .cc-eyebrow, .cc-hero .cc-eyebrow { color: var(--cc-orange-light); }
.cc-lead { font-size: 1.15rem; color: var(--cc-muted); max-width: 760px; }
.cc-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cc-section-head h2 { margin: 0; }
.cc-section-head p { margin: 0; }
.cc-section-head a { font-weight: 700; text-decoration: none; }
.cc-section-head a:hover { text-decoration: underline; }

/* ==========================================================================
   8. Entry content / Gutenberg
   ========================================================================== */
.entry-content > *:first-child { margin-top: 0; }
.entry-content .alignwide { max-width: var(--cc-wrap); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.cc-page--full .entry-content > .alignfull:first-child { margin-top: calc(-1 * clamp(22px, 4vw, 48px)); }
.entry-content .wp-block-group.alignfull > * { max-width: var(--cc-wrap); margin-left: auto; margin-right: auto; padding-left: var(--cc-gap); padding-right: var(--cc-gap); }
.wp-block-group.has-background { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); margin-top: 0; margin-bottom: 0; }
.wp-block-group.alignfull.has-background + .wp-block-group.alignfull.has-background { margin-top: 0; }
.wp-block-image img { border-radius: var(--cc-radius-lg); }
.wp-block-table table { border: 1px solid var(--cc-stone); }
.wp-block-table { overflow-x: auto; }
.wp-block-columns { gap: clamp(24px, 4vw, 56px); }

.has-charcoal-background-color { background-color: var(--cc-charcoal) !important; color: var(--cc-muted-on-dark); }
.has-burnt-orange-background-color { background-color: var(--cc-orange-fill) !important; }
.has-ivory-background-color { background-color: var(--cc-ivory) !important; }
.has-stone-background-color { background-color: var(--cc-stone) !important; }
.has-white-background-color { background-color: var(--cc-white) !important; }
.has-white-color { color: var(--cc-white) !important; }
.has-charcoal-background-color h1, .has-charcoal-background-color h2, .has-charcoal-background-color h3, .has-charcoal-background-color h4 { color: var(--cc-ivory); }
.has-charcoal-background-color p, .has-charcoal-background-color li { color: var(--cc-muted-on-dark); }
.has-charcoal-background-color a:not(.wp-block-button__link):not(.cc-btn) { color: var(--cc-orange-light); }
.has-charcoal-background-color .cc-lead { color: var(--cc-muted-on-dark); }

/* FAQ (core/details + plugin FAQs) */
.wp-block-details, .cc-faq details {
	border: 1px solid var(--cc-stone); border-radius: var(--cc-radius-lg); margin: 0 0 10px; background: var(--cc-white);
	transition: border-color .2s, box-shadow .25s var(--cc-ease);
}
.wp-block-details:hover, .cc-faq details:hover { border-color: var(--cc-stone-2); box-shadow: var(--cc-shadow-sm); }
.wp-block-details[open], .cc-faq details[open] { border-color: var(--cc-stone-2); box-shadow: var(--cc-shadow); }
.wp-block-details summary, .cc-faq summary {
	cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--cc-charcoal); list-style: none; position: relative; font-size: 1.03rem;
}
.wp-block-details summary::-webkit-details-marker, .cc-faq summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after, .cc-faq summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
	background: linear-gradient(var(--cc-orange), var(--cc-orange)) center/12px 2px no-repeat, linear-gradient(var(--cc-orange), var(--cc-orange)) center/2px 12px no-repeat;
	transition: transform .25s var(--cc-ease);
}
.wp-block-details[open] summary::after, .cc-faq details[open] summary::after { transform: rotate(135deg); }
.wp-block-details > *:not(summary), .cc-faq details > *:not(summary) { padding: 0 22px; color: var(--cc-muted); }
.wp-block-details > *:last-child:not(summary), .cc-faq details > *:last-child:not(summary) { padding-bottom: 18px; margin-bottom: 0; }

/* ==========================================================================
   9. Homepage components
   ========================================================================== */
.cc-hero { position: relative; background: var(--cc-charcoal); color: var(--cc-ivory); overflow: hidden; }
.cc-hero.wp-block-cover { min-height: min(86vh, 720px); padding: 0; align-items: center; }
.cc-hero .wp-block-cover__inner-container { max-width: var(--cc-wrap); width: 100%; margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--cc-gap); }
.cc-hero h1 { color: var(--cc-white); max-width: 820px; font-size: clamp(2.35rem, 1.3rem + 4vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .45em; }
.cc-hero p { color: #e6e1d4; max-width: 620px; font-size: 1.18rem; }
.cc-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(28, 30, 29, .9) 0%, rgba(28, 30, 29, .8) 45%, rgba(28, 30, 29, .5) 75%, rgba(28, 30, 29, .3) 100%) !important; opacity: 1 !important; }
/* The home hero sits directly under the header, with no gap. */
.home .cc-main { padding-top: 0; }
.cc-hero .wp-block-cover__image-background { object-position: center 30%; transform: scale(1.02); }
.cc-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--cc-orange); z-index: 3; }
.cc-hero-checks { list-style: none; padding: 0; margin: 1.8em 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; font-size: .95rem; }
.cc-hero-checks li { margin: 0; padding-left: 24px; position: relative; color: var(--cc-ivory); }
.cc-hero-checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 13px; height: 7px; border-left: 2px solid var(--cc-orange-light); border-bottom: 2px solid var(--cc-orange-light); transform: rotate(-45deg); }

.cc-trustbar { background: var(--cc-charcoal-2); color: var(--cc-ivory); }
.cc-trustbar ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
@media (min-width: 900px) { .cc-trustbar ul { grid-template-columns: repeat(4, 1fr); } }
.cc-trustbar li { margin: 0; display: flex; gap: 12px; align-items: center; font-size: .93rem; font-weight: 600; color: var(--cc-ivory); line-height: 1.35; }
.cc-trustbar svg { flex: none; width: 26px; height: 26px; color: var(--cc-orange-light); }
@media (min-width: 900px) { .cc-trustbar li + li { border-left: 1px solid rgba(245, 242, 234, .12); padding-left: 24px; } }

/* Category cards */
.cc-cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0 0 1em; }
@media (min-width: 760px) { .cc-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cc-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.cc-cat-card { margin: 0; }
.cc-cat-card a { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--cc-white); border-radius: var(--cc-radius-lg); overflow: hidden; box-shadow: var(--cc-shadow); transition: transform .35s var(--cc-ease), box-shadow .35s var(--cc-ease); }
.cc-cat-card a:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-lg); }
.cc-cat-card__img { aspect-ratio: 4 / 3; background: var(--cc-stone); display: block; overflow: hidden; }
.cc-cat-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--cc-ease); }
.cc-cat-card a:hover .cc-cat-card__img img { transform: scale(1.05); }
.cc-cat-card__body { padding: 14px 16px 16px; position: relative; }
.cc-cat-card__body::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translate(-4px, -50%); opacity: 0; color: var(--cc-orange-deep); font-weight: 700; transition: transform .3s var(--cc-ease), opacity .3s; }
.cc-cat-card a:hover .cc-cat-card__body::after { opacity: 1; transform: translate(0, -50%); }
.cc-cat-card__title { display: block; font-weight: 700; color: var(--cc-charcoal); line-height: 1.25; font-size: 1.04rem; }
.cc-cat-card__meta { display: block; font-size: .86rem; color: var(--cc-muted); margin-top: 3px; }

/* Steps */
.cc-steps { counter-reset: step; display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .cc-steps { grid-template-columns: repeat(4, 1fr); } }
.cc-steps li { counter-increment: step; margin: 0; padding: 26px 22px 24px; background: var(--cc-ivory); border-radius: var(--cc-radius-lg); color: var(--cc-muted); font-size: .97rem; position: relative; border-top: 3px solid var(--cc-charcoal); transition: border-color .3s, transform .35s var(--cc-ease); }
.cc-steps li:hover { border-top-color: var(--cc-orange); transform: translateY(-3px); }
.cc-steps li::before { content: "0" counter(step); display: block; font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em; color: var(--cc-orange); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.cc-steps strong { display: block; color: var(--cc-charcoal); margin-bottom: 6px; font-size: 1.08rem; }
.cc-steps br, .cc-feature-grid br { display: none; }

/* Feature grid (on charcoal) */
.cc-feature-grid { display: grid; gap: 1px; list-style: none; padding: 0; margin: 0; background: rgba(245, 242, 234, .1); border: 1px solid rgba(245, 242, 234, .1); border-radius: var(--cc-radius-lg); overflow: hidden; }
@media (min-width: 700px) { .cc-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.cc-feature-grid li { margin: 0; padding: 30px 28px; background: var(--cc-charcoal); color: var(--cc-muted-on-dark); font-size: .97rem; position: relative; transition: background-color .3s; }
.cc-feature-grid li::before { content: ""; display: block; width: 28px; height: 3px; background: var(--cc-orange); margin-bottom: 18px; transition: width .35s var(--cc-ease); }
.cc-feature-grid li:hover { background: var(--cc-charcoal-3); }
.cc-feature-grid li:hover::before { width: 48px; }
.cc-feature-grid strong { display: block; color: var(--cc-ivory); font-size: 1.12rem; margin-bottom: 8px; }
.cc-feature-grid a { color: var(--cc-orange-light); }
/* Feature grid on light backgrounds */
:not(.has-charcoal-background-color) > .cc-feature-grid { background: var(--cc-stone); border-color: var(--cc-stone); }
:not(.has-charcoal-background-color) > .cc-feature-grid li { background: var(--cc-white); color: var(--cc-muted); }
:not(.has-charcoal-background-color) > .cc-feature-grid strong { color: var(--cc-charcoal); }

/* New vs used */
.cc-compare-cols { gap: 20px !important; }
.cc-compare-cols > .wp-block-column { padding: 32px 30px; border-radius: var(--cc-radius-lg); background: var(--cc-white); box-shadow: var(--cc-shadow); }
.cc-compare-cols > .wp-block-column:first-child { border-top: 3px solid var(--cc-orange); }
.cc-compare-cols > .wp-block-column:last-child { border-top: 3px solid var(--cc-charcoal); }
.cc-compare-cols h3 { margin-top: 0; }
.cc-compare-cols a { font-weight: 700; }

/* CTA band */
.cc-cta-band { position: relative; overflow: hidden; background: var(--cc-charcoal); color: var(--cc-ivory); border-radius: var(--cc-radius-lg); padding: clamp(32px, 6vw, 64px); display: grid; gap: 22px; align-items: center; }
.cc-cta-band::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--cc-orange); }
.cc-cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 40px solid rgba(224, 105, 21, .12); transform: rotate(45deg); }
@media (min-width: 860px) { .cc-cta-band { grid-template-columns: 1fr auto; } }
.cc-cta-band h2 { color: var(--cc-ivory); margin: 0 0 .3em; }
.cc-cta-band p { color: var(--cc-muted-on-dark); margin: 0; }
.cc-cta-band > div { position: relative; z-index: 1; }

/* Testimonials */
.cc-testimonials { display: grid; gap: 18px; }
@media (min-width: 860px) { .cc-testimonials { grid-template-columns: repeat(3, 1fr); } }
.cc-testimonial { margin: 0; padding: 28px; background: var(--cc-white); border-radius: var(--cc-radius-lg); box-shadow: var(--cc-shadow); }
.cc-testimonial blockquote { margin: 0 0 14px; padding: 0; border: 0; font-size: 1.04rem; color: var(--cc-ink); }
.cc-testimonial blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .8; color: var(--cc-orange); font-weight: 700; }
.cc-testimonial figcaption { font-weight: 700; color: var(--cc-charcoal); font-size: .93rem; }
.cc-testimonial figcaption span { display: block; font-weight: 400; color: var(--cc-muted); }

/* ==========================================================================
   10. Blog
   ========================================================================== */
.cc-post-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .cc-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-post-grid { grid-template-columns: repeat(3, 1fr); } }
.cc-post-card { border-radius: var(--cc-radius-lg); overflow: hidden; background: var(--cc-white); display: flex; flex-direction: column; box-shadow: var(--cc-shadow); transition: transform .35s var(--cc-ease), box-shadow .35s var(--cc-ease); }
.cc-post-card:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-lg); }
.cc-post-card__img { aspect-ratio: 16 / 9; background: var(--cc-stone); display: block; overflow: hidden; }
.cc-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--cc-ease); }
.cc-post-card:hover .cc-post-card__img img { transform: scale(1.04); }
.cc-post-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cc-post-card h2 { font-size: 1.22rem; margin: 0 0 .45em; }
.cc-post-card h2 a { text-decoration: none; color: var(--cc-charcoal); }
.cc-post-card h2 a:hover { color: var(--cc-orange-deep); }
.cc-post-card p { color: var(--cc-muted); font-size: .97rem; flex: 1; }
.cc-post-card__body > a:last-child { font-weight: 700; text-decoration: none; }
.cc-meta { font-size: .86rem; color: var(--cc-muted); }
.cc-cat-pill { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cc-orange-deep); text-decoration: none; margin-bottom: 10px; }
.cc-article { max-width: 780px; }
.cc-article .entry-content { font-size: 1.08rem; }
.cc-article .entry-content h2 { padding-top: .2em; }
.cc-article .entry-content h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--cc-orange); margin-bottom: 16px; }
.cc-article-cta { margin: 2.4em 0; padding: 30px 32px; border-radius: var(--cc-radius-lg); background: var(--cc-charcoal); color: var(--cc-muted-on-dark); border-left: 4px solid var(--cc-orange); }
.cc-article-cta h2 { margin-top: 0; font-size: 1.45rem; color: var(--cc-ivory); }
.cc-pagination { margin-top: 36px; }
.cc-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--cc-white); border: 1px solid var(--cc-stone); border-radius: var(--cc-radius); text-decoration: none; padding: 0 12px; color: var(--cc-charcoal); font-weight: 600; transition: border-color .2s, background-color .2s; }
.cc-pagination a.page-numbers:hover { border-color: var(--cc-orange); }
.cc-pagination .page-numbers.current { background: var(--cc-charcoal); color: var(--cc-ivory); border-color: var(--cc-charcoal); }
.cc-sidebar-box { padding: 24px; border-radius: var(--cc-radius-lg); margin-bottom: 18px; background: var(--cc-white); box-shadow: var(--cc-shadow-sm); border: 1px solid var(--cc-stone); }
.cc-sidebar-box h2, .cc-sidebar-box h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .9em; }
.cc-sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.cc-sidebar-box li { padding: 9px 0; border-bottom: 1px solid var(--cc-stone); margin: 0; }
.cc-sidebar-box li:last-child { border-bottom: 0; }
.cc-sidebar-box a { text-decoration: none; color: var(--cc-charcoal); font-weight: 600; transition: color .2s, padding .2s var(--cc-ease); display: block; }
.cc-sidebar-box a:hover { color: var(--cc-orange-deep); padding-left: 4px; }
.cc-sidebar-box a.cc-btn { color: var(--cc-white); padding-left: 1.45em; }

/* ==========================================================================
   11. WooCommerce — archives
   ========================================================================== */
.woocommerce .woocommerce-products-header { margin-bottom: 6px; }
.woocommerce .woocommerce-products-header__title { margin-bottom: .3em; }
.term-description, .cc-shop-intro { color: var(--cc-muted); font-size: 1.08rem; max-width: 860px; }
.term-description p:last-child { margin-bottom: 0; }
.cc-shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin: 22px 0 20px; padding: 12px 0; border-top: 1px solid var(--cc-stone-2); border-bottom: 1px solid var(--cc-stone-2); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; margin: 0; font-size: .92rem; color: var(--cc-muted); }
.woocommerce .woocommerce-ordering select { min-height: 42px; width: auto; }
@media (min-width: 960px) { button.button.cc-filter-toggle, .cc-filter-toggle { display: none !important; } }

ul.products, .woocommerce ul.products { display: grid !important; gap: 20px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0 0 1.5em; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 560px) { ul.products, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cc-shop-main ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .entry-content ul.products, .related ul.products, .upsells ul.products, .cross-sells ul.products { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) and (max-width: 1023px) { .entry-content ul.products { grid-template-columns: repeat(3, 1fr); } }

/* Product card: white on ivory, soft shadow, lift on hover */
.woocommerce ul.products li.product, ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0;
	display: flex; flex-direction: column; background: var(--cc-white);
	border-radius: var(--cc-radius-lg); overflow: hidden; position: relative; box-shadow: var(--cc-shadow);
	transition: transform .35s var(--cc-ease), box-shadow .35s var(--cc-ease);
}
ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-lg); }
ul.products li.product .woocommerce-LoopProduct-link { display: block; text-decoration: none; color: inherit; flex: 1; }
.cc-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--cc-stone); overflow: hidden; }
.cc-card__media img, .woocommerce ul.products li.product a img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; display: block; transition: transform .7s var(--cc-ease); }
ul.products li.product:hover .cc-card__media img { transform: scale(1.045); }
.cc-card__body { padding: 18px 18px 0; display: flex; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .cc-card__title {
	font-size: 1.08rem !important; padding: 0 !important; margin: 0 0 10px !important; color: var(--cc-charcoal); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; transition: color .2s;
}
ul.products li.product:hover .woocommerce-loop-product__title { color: var(--cc-orange-deep); }
.cc-card__specs { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-card__specs li { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-charcoal); background: var(--cc-ivory); border: 1px solid var(--cc-stone); border-radius: 3px; padding: 3px 8px; }
.cc-card__dims { font-size: .86rem; color: var(--cc-muted); margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.woocommerce ul.products li.product .price, .cc-card__price {
	display: block; margin: 0 !important; padding: 14px 0 16px; border-top: 1px solid var(--cc-stone); color: var(--cc-charcoal) !important; font-size: 1.45rem !important; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.woocommerce ul.products li.product .price del { color: var(--cc-muted); font-size: .95rem; font-weight: 500; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--cc-orange-deep); }
.cc-price-note { display: block; font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--cc-muted); margin-top: 2px; }
.cc-price-quote { font-size: 1.08rem; color: var(--cc-charcoal); }
.cc-card__actions { display: flex; gap: 10px; padding: 0 18px 18px; flex-wrap: wrap; align-items: center; }
.cc-card__actions .button { flex: 1 1 auto; min-height: 44px; margin: 0 !important; font-size: .94rem; }
.woocommerce ul.products li.product .button { margin-top: 0; }
.woocommerce a.added_to_cart { display: block; width: 100%; padding: 6px 0 0; font-size: .88rem; font-weight: 700; text-align: center; }
.cc-badge, .woocommerce span.onsale {
	position: absolute; top: 12px; left: 12px; z-index: 2; min-height: 0; min-width: 0; line-height: 1.2; margin: 0 !important;
	padding: 5px 10px; border-radius: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	background: var(--cc-charcoal); color: var(--cc-ivory);
}
.cc-badge--new { background: var(--cc-orange-fill); color: var(--cc-white); }
.cc-badge--cw { background: var(--cc-charcoal); }
.cc-badge--wwt, .cc-badge--used { background: var(--cc-white); color: var(--cc-charcoal); box-shadow: inset 0 0 0 1px var(--cc-stone-2); }
.woocommerce span.onsale { left: auto; right: 12px; background: var(--cc-orange-fill); color: var(--cc-white); }
.cc-stock { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 600; }
.cc-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.cc-stock--in { color: var(--cc-success); }
.cc-stock--low, .cc-stock--backorder { color: var(--cc-warn); }
.cc-stock--out { color: var(--cc-danger); }

/* Filters */
.cc-filters__group { background: var(--cc-white); border: 1px solid var(--cc-stone); border-radius: var(--cc-radius-lg); padding: 16px 18px; margin: 0 0 12px; }
.cc-filters__title { font-weight: 700; color: var(--cc-charcoal); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.cc-filters__group label { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--cc-ink); padding: 6px 0; margin: 0; cursor: pointer; transition: color .15s; }
.cc-filters__group label:hover { color: var(--cc-orange-deep); }
.cc-filters__group input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.cc-filters__count { margin-left: auto; color: var(--cc-muted); font-size: .8rem; background: var(--cc-ivory); border-radius: 10px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.cc-filters__actions { display: flex; gap: 8px; }
.cc-filters__actions .button { flex: 1; }
.cc-filters__cats a { display: block; padding: 6px 0; text-decoration: none; color: var(--cc-ink); font-size: .96rem; transition: color .15s, padding .2s var(--cc-ease); }
.cc-filters__cats a:hover { color: var(--cc-orange-deep); padding-left: 4px; }
.cc-filters__cats a.is-current { color: var(--cc-orange-deep); font-weight: 700; box-shadow: inset 2px 0 0 var(--cc-orange); padding-left: 10px; }
@media (max-width: 959px) {
	.cc-filters { position: fixed; inset: 0; z-index: 120; padding: 18px; overflow-y: auto; background: var(--cc-ivory); transform: translateX(-100%); transition: transform .28s var(--cc-ease); }
	.cc-filters.is-open { transform: none; }
	.cc-filters__mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
}
@media (min-width: 960px) { .cc-filters__mobile-head, .cc-hide-desktop { display: none !important; } .cc-filters { position: sticky; top: 100px; } }
.cc-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.cc-active-filters a { font-size: .84rem; background: var(--cc-charcoal); color: var(--cc-ivory); padding: 5px 12px; border-radius: 20px; text-decoration: none; font-weight: 600; transition: background-color .2s; }
.cc-active-filters a:hover { background: var(--cc-orange-fill); color: var(--cc-white); }
.cc-active-filters a::after { content: " ×"; }

.cc-term-content { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--cc-stone-2); max-width: 900px; }
.cc-related-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.8em; }
.cc-related-cats li { margin: 0; }
.cc-related-cats a { display: inline-block; padding: 8px 16px; background: var(--cc-white); border: 1px solid var(--cc-stone-2); border-radius: 30px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--cc-charcoal); transition: border-color .2s, color .2s, background-color .2s; }
.cc-related-cats a:hover { border-color: var(--cc-orange); color: var(--cc-orange-deep); }

/* ==========================================================================
   12. WooCommerce — single product
   ========================================================================== */
.woocommerce div.product { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .related, .woocommerce div.product > .upsells, .woocommerce div.product > .cc-product-section { grid-column: 1 / -1; }
.woocommerce div.product div.images img { border-radius: var(--cc-radius-lg); background: var(--cc-stone); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--cc-radius-lg); overflow: hidden; box-shadow: var(--cc-shadow); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px !important; list-style: none; padding: 0; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: var(--cc-radius); opacity: .6; transition: opacity .2s, box-shadow .2s; cursor: pointer; }
.woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px var(--cc-orange); }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); margin-bottom: .35em; letter-spacing: -.03em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cc-charcoal); font-size: 2.3rem; font-weight: 700; letter-spacing: -.03em; margin: 0 0 .2em; font-variant-numeric: tabular-nums; }
.woocommerce div.product p.price del { font-size: 1.1rem; color: var(--cc-muted); font-weight: 500; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--cc-orange-deep); }
.woocommerce div.product p.price .cc-price-note { font-size: .84rem; letter-spacing: 0; }
.cc-key-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cc-stone); border: 1px solid var(--cc-stone); border-radius: var(--cc-radius-lg); overflow: hidden; margin: 18px 0 20px; padding: 0; list-style: none; }
.cc-key-facts li { margin: 0; background: var(--cc-white); padding: 12px 14px; font-size: .95rem; }
.cc-key-facts span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cc-muted); font-weight: 700; margin-bottom: 2px; }
.cc-key-facts strong { color: var(--cc-charcoal); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.woocommerce div.product form.cart .quantity { margin: 0 !important; }
.woocommerce .quantity .qty { width: 84px; min-height: 54px; text-align: center; font-weight: 700; }
.woocommerce div.product form.cart .button { min-height: 54px; flex: 1 1 170px; font-size: 1.05rem; float: none; margin: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button { background: var(--cc-charcoal); border-color: var(--cc-charcoal); }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--cc-charcoal-3); border-color: var(--cc-charcoal-3); }
button.button.cc-buy-now, .cc-buy-now { background: var(--cc-orange-fill) !important; border-color: var(--cc-orange-fill) !important; }
button.button.cc-buy-now:hover, .cc-buy-now:hover { background: var(--cc-orange-fill-hover) !important; border-color: var(--cc-orange-fill-hover) !important; }
.cc-quote-link { width: 100%; margin-top: 2px; }
.cc-summary-box { border-radius: var(--cc-radius-lg); padding: 20px 22px; margin: 18px 0; background: var(--cc-white); border: 1px solid var(--cc-stone); font-size: .96rem; }
.cc-summary-box h2, .cc-summary-box h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .8em; }
.cc-summary-box ul { list-style: none; padding: 0; margin: 0; }
.cc-summary-box li { padding-left: 24px; position: relative; margin-bottom: 8px; color: var(--cc-muted); }
.cc-summary-box li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--cc-orange); border-bottom: 2px solid var(--cc-orange); transform: rotate(-45deg); }
.cc-summary-box a { font-weight: 700; }
.cc-secure { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--cc-muted); margin: 10px 0 0; }
.cc-secure svg { width: 18px; height: 18px; color: var(--cc-success); flex: none; }
.woocommerce div.product .product_meta { font-size: .86rem; color: var(--cc-muted); border-top: 1px solid var(--cc-stone-2); padding-top: 14px; }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--cc-muted); font-size: 1.05rem; }

.woocommerce div.product .woocommerce-tabs ul.tabs { list-style: none; padding: 0 !important; margin: 0 0 26px !important; display: flex; flex-wrap: wrap; gap: 4px 6px; border-bottom: 1px solid var(--cc-stone-2); overflow: visible; }
.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: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 0 -1px !important; padding: 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 { display: block; padding: 14px 16px !important; font-weight: 700; color: var(--cc-muted) !important; border-bottom: 2px solid transparent; text-decoration: none; transition: color .2s, border-color .2s; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--cc-charcoal) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--cc-charcoal) !important; border-bottom-color: var(--cc-orange); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 2em; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 1.5rem; margin-top: 0; }
.cc-spec-table { border-radius: var(--cc-radius-lg); overflow: hidden; box-shadow: var(--cc-shadow-sm); border: 1px solid var(--cc-stone); }
.cc-spec-table th { width: 40%; }
.cc-spec-table tr:nth-child(even) td, .cc-spec-table tr:nth-child(even) th { background: #faf8f3; }
.cc-spec-note { font-size: .86rem; color: var(--cc-muted); margin-top: 10px; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 1.7rem; margin-top: 1.2em; }

/* Sticky mobile purchase bar */
.cc-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--cc-charcoal); color: var(--cc-ivory); box-shadow: 0 -8px 24px rgba(28, 30, 29, .25); padding: 10px var(--cc-gap) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .3s var(--cc-ease); }
.cc-sticky-buy.is-visible { transform: none; }
.cc-sticky-buy__price { font-weight: 700; color: var(--cc-ivory); font-size: 1.2rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cc-sticky-buy__price small { display: block; font-size: .74rem; color: var(--cc-muted-on-dark); font-weight: 500; }
.cc-sticky-buy .button, .cc-sticky-buy .button.cc-btn--dark { margin-left: auto; min-height: 48px; background: var(--cc-orange-fill); border-color: var(--cc-orange-fill); }
@media (min-width: 900px) { .cc-sticky-buy { display: none; } }
body.single-product { padding-bottom: 72px; }
@media (min-width: 900px) { body.single-product { padding-bottom: 0; } }

/* Quote dialog + form box */
.cc-quote-dialog { border: 0; border-radius: var(--cc-radius-lg); padding: 0; width: min(94vw, 640px); max-height: 92vh; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); background: var(--cc-ivory); }
.cc-quote-dialog[open] { animation: cc-pop .28s var(--cc-ease); }
@keyframes cc-pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.cc-quote-dialog::backdrop { background: rgba(28, 30, 29, .65); }
.cc-quote-dialog__inner { padding: 26px 28px 30px; border-top: 4px solid var(--cc-orange); }
.cc-quote-dialog__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.cc-quote-dialog__head h2 { margin: 0 0 .3em; font-size: 1.5rem; }
.cc-form-box { padding: clamp(22px, 3vw, 34px); border-radius: var(--cc-radius-lg); background: var(--cc-white); box-shadow: var(--cc-shadow); border-top: 3px solid var(--cc-orange); }
.cc-form-box h2 { font-size: 1.6rem; }
.cc-form-small { font-size: .84rem; color: var(--cc-muted); }

/* Compare */
.cc-compare-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--cc-muted); cursor: pointer; margin: 0; transition: color .15s; }
.cc-compare-toggle:hover { color: var(--cc-charcoal); }
.cc-compare-toggle input { width: 16px; height: 16px; margin: 0; }
.cc-compare-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 70; background: var(--cc-charcoal); color: var(--cc-ivory); border-radius: 40px; padding: 8px 8px 8px 22px; display: none; align-items: center; gap: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .3); font-weight: 600; font-size: .93rem; }
.cc-compare-bar.is-visible { display: flex; animation: cc-pop .3s var(--cc-ease); }
.cc-compare-bar .button { min-height: 40px; border-radius: 30px; }
.cc-compare-bar button.cc-compare-clear { background: none; border: 0; color: var(--cc-muted-on-dark); cursor: pointer; font: inherit; text-decoration: underline; }
body.single-product .cc-compare-bar { bottom: 86px; }
@media (min-width: 900px) { body.single-product .cc-compare-bar { bottom: 18px; } }
.cc-compare-table-wrap { overflow-x: auto; border-radius: var(--cc-radius-lg); box-shadow: var(--cc-shadow); background: var(--cc-white); }
.cc-compare-table { min-width: 660px; margin: 0; }
.cc-compare-table th:first-child { position: sticky; left: 0; z-index: 1; width: 180px; background: var(--cc-white); }
.cc-compare-table thead th { background: var(--cc-white); color: var(--cc-charcoal); text-transform: none; letter-spacing: 0; font-size: 1rem; }
.cc-compare-table thead a { text-decoration: none; color: var(--cc-charcoal); }
.cc-compare-table td { min-width: 200px; }
.cc-compare-table img { border-radius: var(--cc-radius); aspect-ratio: 4/3; object-fit: cover; margin-bottom: 8px; }

/* ==========================================================================
   13. Cart / checkout / account — classic and block versions
   ========================================================================== */
.woocommerce-cart .cc-main, .woocommerce-checkout .cc-main, .woocommerce-account .cc-main { background: var(--cc-ivory); }
.woocommerce-cart h1, .woocommerce-checkout h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); }
.woocommerce table.shop_table { border-radius: var(--cc-radius-lg); border: 1px solid var(--cc-stone); background: var(--cc-white); box-shadow: var(--cc-shadow-sm); overflow: hidden; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 16px 14px; border-color: var(--cc-stone); }
.woocommerce table.shop_table thead th { background: var(--cc-charcoal); color: var(--cc-ivory); }
.woocommerce-cart table.cart img { width: 84px; border-radius: var(--cc-radius); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .wc-block-components-sidebar, .wc-block-checkout__sidebar, .wc-block-cart__sidebar {
	background: var(--cc-white); border-radius: var(--cc-radius-lg); padding: 24px; box-shadow: var(--cc-shadow); border-top: 3px solid var(--cc-orange);
}
.woocommerce-checkout #customer_details { background: var(--cc-white); border-radius: var(--cc-radius-lg); padding: 24px; box-shadow: var(--cc-shadow-sm); margin-bottom: 24px; }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top: 0 !important; border-left: 3px solid var(--cc-orange) !important; background: var(--cc-white) !important; border-radius: var(--cc-radius); color: var(--cc-ink) !important; box-shadow: var(--cc-shadow-sm); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cc-orange-deep) !important; }
.woocommerce-error { border-left-color: var(--cc-danger) !important; }
.woocommerce-checkout #payment { background: var(--cc-ivory) !important; border-radius: var(--cc-radius-lg) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--cc-white) !important; color: var(--cc-ink) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--cc-white) !important; }
#place_order { width: 100%; min-height: 56px; font-size: 1.08rem; }
/* Block cart & checkout */
.wc-block-components-button:not(.is-link) { background: var(--cc-orange-fill) !important; color: var(--cc-white) !important; border-radius: var(--cc-radius) !important; min-height: 54px; font-weight: 700 !important; transition: background-color .2s !important; }
.wc-block-components-button:not(.is-link):hover { background: var(--cc-charcoal) !important; }
.wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus { border-color: var(--cc-orange-deep) !important; box-shadow: 0 0 0 1px var(--cc-orange-deep) !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title { font-weight: 700 !important; letter-spacing: -.01em; color: var(--cc-charcoal); }
.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--cc-orange-deep) !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700; font-size: 1.15rem; }
.wc-block-checkout__main, .wc-block-cart__main { background: var(--cc-white); border-radius: var(--cc-radius-lg); padding: clamp(18px, 3vw, 30px) !important; box-shadow: var(--cc-shadow-sm); }
/* Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 20px; border-radius: var(--cc-radius-lg); overflow: hidden; background: var(--cc-white); box-shadow: var(--cc-shadow-sm); }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; border-bottom: 1px solid var(--cc-stone); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 13px 18px; text-decoration: none; color: var(--cc-charcoal); font-weight: 600; transition: background-color .15s, padding .2s var(--cc-ease); }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--cc-ivory); padding-left: 22px; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--cc-charcoal); color: var(--cc-ivory); box-shadow: inset 3px 0 0 var(--cc-orange); }
.woocommerce-account .woocommerce-MyAccount-content { background: var(--cc-white); border-radius: var(--cc-radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--cc-shadow-sm); }
@media (min-width: 900px) {
	.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px 1fr; gap: 32px; }
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
}
.cc-checkout-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 0; padding: 14px 16px; background: var(--cc-ivory); border-radius: var(--cc-radius-lg); font-size: .88rem; color: var(--cc-muted); }
.cc-checkout-trust span { display: inline-flex; align-items: center; gap: 7px; }
.cc-checkout-trust svg { width: 18px; height: 18px; color: var(--cc-orange-deep); }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.cc-footer { background: var(--cc-charcoal); color: var(--cc-muted-on-dark); font-size: .96rem; position: relative; }
.cc-footer a { color: var(--cc-ivory); text-decoration: none; transition: color .2s; }
.cc-footer a:hover { color: var(--cc-orange-light); }
.cc-footer__cta { background: var(--cc-orange-fill); }
.cc-footer__cta .cc-wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.cc-footer__cta h2 { color: var(--cc-white); margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.cc-footer__cta p { margin: 6px 0 0; color: var(--cc-white); }
.cc-footer__cta .cc-btn--light { background: var(--cc-charcoal); color: var(--cc-ivory); border-color: var(--cc-charcoal); }
.cc-footer__cta .cc-btn--light:hover { background: var(--cc-white); color: var(--cc-charcoal); border-color: var(--cc-white); }
.cc-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cc-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.cc-footer h2 { color: var(--cc-ivory); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.cc-footer h2::after { content: ""; display: block; width: 22px; height: 2px; background: var(--cc-orange); margin-top: 10px; }
.cc-footer ul { list-style: none; padding: 0; margin: 0; }
.cc-footer li { margin: 0 0 10px; }
.cc-footer address { font-style: normal; line-height: 1.85; }
.cc-footer__brand .cc-logo { color: var(--cc-ivory); margin-bottom: 16px; }
.cc-footer__brand .cc-logo:hover { color: var(--cc-ivory); }
.cc-footer__brand .cc-logo__tag { color: var(--cc-orange-light); }
.cc-footer__brand p { max-width: 340px; }
.cc-footer__bottom { border-top: 1px solid rgba(245, 242, 234, .1); padding: 20px 0; font-size: .85rem; background: var(--cc-charcoal-2); }
.cc-footer__bottom .cc-wrap { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; }
.cc-pay-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cc-pay-icons span { border: 1px solid rgba(245, 242, 234, .22); border-radius: 3px; padding: 3px 9px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-ivory); }

/* Editor-only placeholder marker */
.cc-placeholder { background: #fff1d6; color: #6e4300; padding: 0 4px; border-radius: 3px; font-weight: 600; outline: 1px dashed #c98a00; }

/* Utilities */
.cc-mt-0 { margin-top: 0 !important; }
.cc-center { text-align: center; }
.cc-muted { color: var(--cc-muted); }
.cc-hide-mobile { display: none; }
@media (min-width: 768px) { .cc-hide-mobile { display: initial; } }

/* ==========================================================================
   15. Core block layout fallbacks (mirror wp-block-library; harmless when it loads)
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wp-block-columns { display: flex; flex-wrap: wrap; }
.wp-block-column { flex: 1 1 100%; min-width: 0; }
@media (min-width: 782px) { .wp-block-columns { flex-wrap: nowrap; } .wp-block-column { flex-basis: 0; flex-grow: 1; } }
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background-position: center; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; border: 0; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: 1; }
.wp-block-cover__inner-container { position: relative; z-index: 2; }

@media print {
	.cc-header, .cc-footer, .cc-topbar, .cc-sticky-buy, .cc-compare-bar, .cc-filters { display: none !important; }
	body { background: #fff; }
}

/* Brand mark colours (inline SVG) */
.cc-mark-bg { fill: var(--cc-charcoal); }
.cc-mark-line { stroke: var(--cc-ivory); }
.cc-mark-accent { fill: var(--cc-orange); }
.cc-mark-rib { stroke: var(--cc-orange-deep); }
.cc-footer .cc-mark-bg, .cc-drawer .cc-mark-bg { fill: var(--cc-ivory); }
.cc-footer .cc-mark-line { stroke: var(--cc-charcoal); }
.cc-drawer .cc-mark-line { stroke: var(--cc-charcoal); }

/* ==========================================================================
   16. Layout refinements
   ========================================================================== */
/* Full-width group children: boxed to the wrap without padding, so cards and
   grids with their own backgrounds don't show side strips. */
.entry-content .wp-block-group.alignfull > * {
	width: min(calc(100% - 2 * var(--cc-gap)), calc(var(--cc-wrap) - 2 * var(--cc-gap)));
	max-width: none; padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto;
}
.entry-content .wp-block-group.alignfull > .cc-eyebrow { display: flex; }
.cc-eyebrow + h1, .cc-eyebrow + h2, .cc-eyebrow + h3 { margin-top: 0; }
.cc-section-head .wp-block-group > *:last-child { margin-bottom: 0; }
.cc-section-head .cc-eyebrow { margin-bottom: .7em; }

/* Header: keep items on one line */
.cc-nav a, .cc-header__phone, .cc-header__cta { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1279px) { .cc-nav > ul > li > a { padding-left: 7px; padding-right: 7px; font-size: .9rem; } .cc-nav > ul > li > a::before { left: 7px; right: 7px; } }
@media (min-width: 1280px) { .cc-nav > ul > li > a { padding-left: 10px; padding-right: 10px; } .cc-nav > ul > li > a::before { left: 10px; right: 10px; } }
.cc-header__phone { display: none !important; }
/* The phone number is always in the top bar; repeat it in the header only where the 8-item menu leaves room. */
/* Header-row phone removed: the full logo needs the room and the phone is already in the top bar. */

/* Footer CTA heading is a real heading, not a column label */
.cc-footer .cc-footer__cta h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.02em; text-transform: none; margin: 0; color: var(--cc-white); }
.cc-footer .cc-footer__cta h2::after { display: none; }
@media (max-width: 781px) { .cc-hero .wp-block-cover__background { background: rgba(28, 30, 29, .86) !important; } }
/* Light-gray sections: deeper orange keeps text links/eyebrows at AA (5.6:1) */
.has-stone-background-color .cc-eyebrow, .has-stone-background-color a:not(.wp-block-button__link):not(.cc-btn) { color: #9a440a; }
/* Two-line wordmark: last word as a tracked burnt-orange line */
.cc-logo__tag--word { font-size: .82rem; font-weight: 800; letter-spacing: .42em; margin-top: 4px; color: var(--cc-orange-deep); }
.cc-footer__brand .cc-logo__tag--word { color: var(--cc-orange-light); }
.cc-logo__name { white-space: nowrap; }
@media (max-width: 480px) {
	.cc-header__inner { gap: 8px; }
	.cc-logo { gap: 9px; }
	.cc-logo__mark { width: 34px; height: 34px; }
	.cc-logo__name { font-size: .95rem; letter-spacing: .03em; }
	.cc-logo__tag--word { font-size: .7rem; letter-spacing: .38em; }
	.cc-header__actions { gap: 0; }
	.cc-icon-btn { min-width: 40px; padding: 0 8px; }
}

/* ==========================================================================
   17. Quieter details: no decorative dashes, bars or numbered badges
   ========================================================================== */
.cc-eyebrow::before, .cc-feature-grid li::before, .cc-article .entry-content h2::before,
.cc-footer h2::after, .cc-cta-band::before, .cc-hero::after, .cc-topbar__usp::before { display: none !important; content: none !important; }
.cc-eyebrow { letter-spacing: .04em; text-transform: none; font-size: .95rem; font-weight: 600; }
.cc-footer h2 { letter-spacing: .02em; text-transform: none; font-size: 1rem; }
.cc-filters__title, .cc-sidebar-box h2, .cc-sidebar-box h3, .cc-summary-box h2, .cc-summary-box h3 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.cc-key-facts span { letter-spacing: .02em; text-transform: none; font-size: .8rem; font-weight: 600; }
.cc-card__specs li { letter-spacing: 0; text-transform: none; font-size: .8rem; }
.cc-badge, .woocommerce span.onsale { letter-spacing: .02em; text-transform: none; font-size: .78rem; }
thead th { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.cc-cat-pill { letter-spacing: .02em; text-transform: none; font-size: .88rem; }
.cc-pay-icons span { letter-spacing: 0; text-transform: none; }
.cc-steps li { border-top: 0; }
.cc-steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cc-charcoal); color: var(--cc-ivory); font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }
.cc-steps li:hover { transform: none; }
.cc-feature-grid li { padding: 26px 26px; }
.cc-compare-cols > .wp-block-column:first-child, .cc-compare-cols > .wp-block-column:last-child,
.cc-form-box, .cc-quote-dialog__inner, .cc-article-cta,
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .wc-block-components-sidebar, .wc-block-checkout__sidebar, .wc-block-cart__sidebar { border-top: 0; border-left: 0; }

/* ==========================================================================
   18. Price table
   ========================================================================== */
.cc-price-matrix-wrap { overflow-x: auto; border-radius: var(--cc-radius-lg); box-shadow: var(--cc-shadow); background: var(--cc-white); margin: 0 0 1.4em; }
.cc-price-matrix { margin: 0; min-width: 520px; font-variant-numeric: tabular-nums; }
.cc-price-matrix caption { caption-side: bottom; text-align: left; padding: 12px 18px; font-size: .88rem; color: var(--cc-muted); background: var(--cc-white); }
.cc-price-matrix thead th { background: var(--cc-charcoal); color: var(--cc-ivory); text-align: center; font-size: .98rem; padding: 14px 12px; }
.cc-price-matrix thead th:first-child { text-align: left; }
.cc-price-matrix thead th span { display: block; font-weight: 400; font-size: .8rem; color: var(--cc-muted-on-dark); margin-top: 2px; }
.cc-price-matrix tbody th { font-weight: 700; color: var(--cc-charcoal); white-space: nowrap; padding: 14px 18px; }
.cc-price-matrix td { text-align: center; padding: 0; white-space: nowrap; }
.cc-price-matrix td a { display: block; padding: 14px 12px; font-weight: 700; font-size: 1.1rem; color: var(--cc-charcoal); text-decoration: none; transition: background-color .2s, color .2s; }
.cc-price-matrix td a:hover { background: var(--cc-orange-soft); color: var(--cc-orange-deep); }
.cc-price-matrix td.is-empty a { font-weight: 500; font-size: .92rem; color: var(--cc-muted); }
.cc-price-matrix tbody tr:nth-child(even) th, .cc-price-matrix tbody tr:nth-child(even) td { background: #faf8f3; }
.cc-price-matrix tbody tr:last-child th, .cc-price-matrix tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
	.cc-price-matrix { min-width: 0; font-size: .9rem; }
	.cc-price-matrix thead th { padding: 10px 6px; font-size: .84rem; }
	.cc-price-matrix thead th span { display: none; }
	.cc-price-matrix tbody th { padding: 12px 10px; white-space: normal; }
	.cc-price-matrix td a { padding: 12px 4px; font-size: .98rem; }
}
.cc-price-matrix th, .cc-price-matrix td { vertical-align: middle; }
.cc-price-from { font-size: .62em; font-weight: 600; color: var(--cc-muted); letter-spacing: 0; vertical-align: .15em; margin-right: 2px; }
.cc-delivery-prices { min-width: 0; }
.cc-delivery-prices td { text-align: right; padding-right: 8px; }
.cc-delivery-prices td a { display: inline-block; }

/* =========================================================
   19. Container color choice (product page)
   ========================================================= */
.cc-colors { border: 0; padding: 0; margin: 4px 0 18px; min-width: 0; }
.cc-colors__legend { font-weight: 700; font-size: .95rem; padding: 0; margin-bottom: 10px; color: var(--cc-charcoal); }
.cc-colors__current { font-weight: 500; color: var(--cc-muted); margin-left: 6px; }
.cc-colors__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .cc-colors__options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cc-color { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin: 0; border: 1px solid var(--cc-stone); border-radius: var(--cc-radius); background: var(--cc-white); cursor: pointer; font-size: .9rem; line-height: 1.25; color: var(--cc-charcoal); transition: border-color .15s, box-shadow .15s; }
.cc-color:hover { border-color: #b9b6ad; }
.cc-color input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-color__swatch { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--cc-swatch, transparent); box-shadow: inset 0 0 0 1px rgba(37, 40, 39, .25); }
.cc-color--none .cc-color__swatch { background: linear-gradient(135deg, transparent 45%, #b9b6ad 45%, #b9b6ad 55%, transparent 55%), var(--cc-white); }
.cc-color:has(input:checked) { border-color: var(--cc-charcoal); box-shadow: inset 0 0 0 1px var(--cc-charcoal); font-weight: 600; }
.cc-color:has(input:focus-visible) { outline: 3px solid var(--cc-orange); outline-offset: 2px; }
.cc-colors__note { margin: 10px 0 0; font-size: .85rem; color: var(--cc-muted); }
/* Fallback for browsers without :has() */
.cc-color input:checked + .cc-color__swatch { box-shadow: 0 0 0 2px var(--cc-white), 0 0 0 4px var(--cc-charcoal); }
.single-product form.cart .cc-colors, form.cart .cc-colors { flex: 0 0 100%; width: 100%; order: -1; }

/* =========================================================
   20. Page banner (photo behind the title on every page but home)
   ========================================================= */
.cc-banner { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(190px, 22vw, 300px); margin: calc(-1 * clamp(22px, 4vw, 48px)) 0 clamp(28px, 4vw, 48px); background: var(--cc-charcoal); color: var(--cc-white); overflow: hidden; }
.cc-banner__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
/* Overlay: darkest behind the text (left and bottom), so white text keeps AA contrast over the bright containers. */
.cc-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(37, 40, 39, .84) 0%, rgba(37, 40, 39, .72) 40%, rgba(37, 40, 39, .5) 70%, rgba(37, 40, 39, .3) 100%), linear-gradient(0deg, rgba(37, 40, 39, .45) 0%, rgba(37, 40, 39, 0) 70%); }
@media (max-width: 700px) { .cc-banner::before { background: linear-gradient(0deg, rgba(37, 40, 39, .86) 0%, rgba(37, 40, 39, .7) 100%); } }
.cc-banner__inner { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(26px, 3.5vw, 44px); }
.cc-banner__title { margin: 0; max-width: 920px; color: var(--cc-white); font-size: clamp(1.9rem, 1.15rem + 2.6vw, 3.2rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.cc-banner__intro { margin: 12px 0 0; max-width: 720px; color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.cc-banner .cc-breadcrumbs, .cc-banner .woocommerce-breadcrumb { margin: 0 0 12px; color: rgba(255, 255, 255, .8); }
.cc-banner .cc-breadcrumbs a, .woocommerce .cc-banner .woocommerce-breadcrumb a { color: var(--cc-white); text-decoration: none; }
.cc-banner .cc-breadcrumbs a:hover, .woocommerce .cc-banner .woocommerce-breadcrumb a:hover { color: var(--cc-white); text-decoration: underline; }
.cc-banner a:focus-visible { outline: 3px solid var(--cc-orange-light); outline-offset: 2px; }
/* Product pages: shorter banner; the product name stays the H1 beside the price. */
.cc-banner--slim { min-height: clamp(130px, 13vw, 180px); }
.cc-banner--slim .cc-banner__title { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; }
@media print { .cc-banner { min-height: 0; background: none; color: inherit; } .cc-banner__img, .cc-banner::before { display: none; } .cc-banner__title { color: inherit; } }
.cc-hero .cc-hero-checks li { text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }

/* Delivery truck photo (transparent background). Aspect ratio reserved to avoid layout shift. */
.wp-block-image.cc-delivery-photo { margin: 0 0 22px; }
.wp-block-image.cc-delivery-photo img { display: block; width: 100%; max-width: 620px; height: auto; aspect-ratio: 667 / 374; }

/* =========================================================
   21. Image logo (assets/brand)
   ========================================================= */
.cc-logo--image { display: inline-flex; align-items: center; line-height: 0; }
.cc-logo--image img { display: block; width: auto; height: 66px; max-height: none; max-width: 100%; object-fit: contain; }
@media (max-width: 1279px) { .cc-header .cc-logo--image img { height: 62px; } }
@media (max-width: 600px) { .cc-header .cc-logo--image img { height: 52px; } }
@media (max-width: 380px) { .cc-header .cc-logo--image img { height: 46px; } }
.cc-footer .cc-logo--image img { height: 86px; }
.cc-drawer .cc-logo--image img { height: 54px; }
/* Footer: the same logo as the header, on a white panel so the dark wordmark stays readable on the charcoal footer. */
.cc-footer .cc-footer__brand .cc-logo--image { background: var(--cc-white); padding: 12px 16px; border-radius: var(--cc-radius); margin-bottom: 18px; }
.cc-footer .cc-footer__brand .cc-logo--image img { height: 78px; }

/* Footer photo: the container-yard photo behind the footer links (same image as the page banner, so it is usually already cached). */
.cc-footer__photo { position: relative; isolation: isolate; overflow: hidden; }
.cc-footer__photo-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cc-footer__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(37, 40, 39, .86) 0%, rgba(37, 40, 39, .9) 100%); }
.cc-footer__photo .cc-footer__bottom { background: rgba(28, 30, 29, .72); }

/* Ghost button inside the dark article CTA */
.cc-article-cta .cc-btn--ghost, .cc-article-cta a.button.cc-btn--ghost { color: var(--cc-ivory); border-color: var(--cc-ivory); }
.cc-article-cta .cc-btn--ghost:hover, .cc-article-cta a.button.cc-btn--ghost:hover { background: var(--cc-ivory); color: var(--cc-charcoal); border-color: var(--cc-ivory); }

/* Complete logo: never squeezed by the nav */
.cc-header .cc-logo--image { flex: none; }

/* ==========================================================================
   22. Real photos (yard, open side) with captions
   ========================================================================== */
.wp-block-image.cc-photo { margin: 8px 0 28px; }
.wp-block-image.cc-photo img { display: block; width: 100%; max-width: 760px; height: auto; border-radius: var(--cc-radius); }
.wp-block-image.cc-photo figcaption { margin-top: 8px; font-size: .9rem; color: var(--cc-muted, #5b605d); text-align: left; }
.wp-block-image.cc-photo--portrait img { max-width: 380px; }
.cc-photo-pair { display: grid; grid-template-columns: 4fr 3fr; gap: 18px; align-items: start; margin: 8px 0 28px; }
.cc-photo-pair .wp-block-image.cc-photo { margin: 0; }
.cc-photo-pair img { aspect-ratio: auto; }
@media (max-width: 700px) { .cc-photo-pair { grid-template-columns: 1fr; } }
@media (min-width: 701px) { .cc-photo-pair img { height: 380px; object-fit: cover; } }
