/*
Theme Name: Caudex Collective
Theme URI: https://caudexcollective.co.za/
Author: Caudex Collective
Description: Premium botanical WooCommerce theme for Caudex Collective, a South African specialist nursery for rare Pachypodiums, caudiciforms, bonsai and collector plants. Pairs with the Caudex Core plugin.
Version: 1.0.3
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caudex
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, translation-ready
WC requires at least: 8.0
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--cc-forest: #1f4a2c;
	--cc-forest-700: #173a22;
	--cc-forest-900: #0f2818;
	--cc-ink: #0c1c12;
	--cc-moss: #3f7a2e;
	--cc-lime: #8cc63f;
	--cc-lime-soft: #c9e3a0;
	--cc-cream: #f7f3e8;
	--cc-cream-200: #efe9d8;
	--cc-paper: #fffdf8;
	--cc-text: #1d2a21;
	--cc-muted: #5b675e;
	--cc-line: #dfd8c4;
	--cc-danger: #a2321f;
	--cc-success: #2f6b2a;
	--cc-font-serif: "Libre Caslon Text", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--cc-font-sans: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--cc-radius: 8px;
	--cc-radius-lg: 14px;
	--cc-shadow: 0 1px 2px rgba(12, 28, 18, .06), 0 6px 18px rgba(12, 28, 18, .08);
	--cc-shadow-lg: 0 12px 34px rgba(12, 28, 18, .18);
	--cc-wrap: 1240px;
	--cc-gap: clamp(16px, 2vw, 24px);
	--cc-section: clamp(44px, 6vw, 80px);
}

/* ==========================================================================
   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: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--cc-font-sans); font-size: 16px; line-height: 1.6; color: var(--cc-text); background: var(--cc-paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cc-forest); text-underline-offset: 3px; }
a:hover { color: var(--cc-moss); }
h1, h2, h3, h4 { font-family: var(--cc-font-serif); font-weight: 400; line-height: 1.15; color: var(--cc-ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cc-lime); outline-offset: 2px; border-radius: 3px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: var(--cc-ink); display: block; height: auto; left: 8px; padding: 12px 18px; top: 8px; width: auto; z-index: 100000; }
.cc-wrap { width: min(100% - 2 * var(--cc-gap), var(--cc-wrap)); margin-inline: auto; }
.cc-section { padding-block: var(--cc-section); }
.cc-eyebrow { font-family: var(--cc-font-sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cc-lime); font-weight: 600; margin-bottom: .6rem; display: block; }
.cc-placeholder { background: #fff3c4; border: 1px dashed #b98d00; padding: 0 .3em; border-radius: 3px; font-style: normal; }
.cc-notice { padding: 14px 18px; border-radius: var(--cc-radius); margin: 0 0 1.2rem; border-left: 4px solid var(--cc-moss); background: #eef5e4; }
.cc-notice--error { border-color: var(--cc-danger); background: #fbeae6; }

/* Buttons */
.cc-btn, .button, button.button, input[type="submit"], .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .65em 1.4em; border-radius: 999px;
	background: var(--cc-moss); color: #fff; border: 1px solid transparent; font: 600 .95rem/1.2 var(--cc-font-sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.cc-btn:hover, .button:hover, input[type="submit"]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--cc-forest); color: #fff; }
.cc-btn--lime { background: var(--cc-lime); color: var(--cc-ink); }
.cc-btn--lime:hover { background: #a3d65b; color: var(--cc-ink); }
.cc-btn--ghost { background: transparent; border-color: currentColor; color: #fff; }
.cc-btn--ghost:hover { background: rgba(255,255,255,.12); }
.cc-btn--sm { min-height: 34px; padding: .35em 1em; font-size: .82rem; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--cc-forest); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--cc-forest-900); }
.cc-arrow::after { content: "\2192"; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="password"], input[type="url"], select, textarea {
	width: 100%; min-height: 44px; padding: .6em .9em; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); background: #fff; font: inherit; color: var(--cc-text);
}
textarea { min-height: 140px; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: .3em; }
.cc-field { margin-bottom: 1rem; }
.cc-check { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; font-size: .88rem; }
.cc-check input { margin-top: .3em; }
.cc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   3. Top bar + header
   ========================================================================== */
.cc-topbar { background: var(--cc-forest-900); color: #e8efe2; font-size: .82rem; }
.cc-topbar .cc-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.cc-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.cc-topbar li { display: flex; align-items: center; gap: 6px; }
.cc-topbar svg { width: 16px; height: 16px; flex: none; color: var(--cc-lime); }
.cc-topbar a { color: inherit; text-decoration: none; }
.cc-topbar a:hover { color: #fff; text-decoration: underline; }
.cc-topbar__trust li:not(:first-child) { display: none; }
@media (min-width: 900px) { .cc-topbar__trust li:not(:first-child) { display: flex; } }
.cc-topbar__account { margin-left: auto; }

.cc-header { background: var(--cc-cream); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--cc-line); }
.admin-bar .cc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cc-header { top: 0; position: relative; } }
.cc-header .cc-wrap { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.cc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cc-ink); flex: none; }
.cc-brand img, .cc-brand svg { width: 58px; height: 58px; }
.cc-brand .custom-logo { width: auto; max-height: 64px; }
.cc-brand__name { font-family: var(--cc-font-serif); font-size: 1.65rem; line-height: .95; letter-spacing: .02em; text-transform: uppercase; display: block; }
.cc-brand__tag { display: block; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; color: var(--cc-muted); }

.cc-nav { flex: 1; }
.cc-nav ul { list-style: none; margin: 0; padding: 0; }
.cc-nav > ul { display: flex; gap: 4px; align-items: center; }
.cc-nav li { position: relative; }
.cc-nav a { display: flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 10px; color: var(--cc-ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; }
.cc-nav a:hover, .cc-nav .current-menu-item > a, .cc-nav .current-menu-ancestor > a { color: var(--cc-forest); border-bottom-color: var(--cc-moss); }
.cc-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border-radius: var(--cc-radius); box-shadow: var(--cc-shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.cc-nav .sub-menu a { border: 0; padding: 9px 12px; border-radius: 6px; }
.cc-nav .sub-menu a:hover { background: var(--cc-cream); }
.cc-nav li:hover > .sub-menu, .cc-nav li:focus-within > .sub-menu, .cc-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cc-subtoggle { background: none; border: 0; padding: 4px; cursor: pointer; color: inherit; display: inline-flex; }
.cc-subtoggle svg { width: 12px; height: 12px; transition: transform .2s; }
.is-open > .cc-subtoggle svg { transform: rotate(180deg); }
.cc-nav .menu-item-has-children { display: flex; align-items: center; flex-wrap: wrap; }

.cc-search { position: relative; width: clamp(170px, 15vw, 240px); flex: none; }
.cc-search input[type="search"] { border-radius: 999px; padding-right: 44px; min-height: 40px; font-size: .9rem; }
.cc-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; color: var(--cc-ink); display: grid; place-items: center; border-radius: 50%; }
.cc-search button svg { width: 18px; height: 18px; }
.cc-header__icons { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cc-iconlink { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--cc-ink); border-radius: 50%; text-decoration: none; }
.cc-iconlink:hover { background: var(--cc-cream-200); color: var(--cc-forest); }
.cc-iconlink svg { width: 22px; height: 22px; }
.cc-cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--cc-moss); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cc-menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--cc-ink); }
.cc-menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1180px) {
	.cc-search { display: none; }
	.cc-header .cc-search--mobile { display: block; width: 100%; margin: 8px 0 14px; }
}
@media (min-width: 1181px) { .cc-search--mobile { display: none; } }
@media (max-width: 1180px) {
	.cc-header .cc-wrap { min-height: 70px; gap: 10px; }
	.cc-brand img, .cc-brand svg { width: 44px; height: 44px; }
	.cc-brand__name { font-size: 1.25rem; }
	.cc-brand__tag { display: none; }
	.cc-menu-toggle { display: grid; place-items: center; margin-left: auto; }
	.cc-nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: var(--cc-cream); padding: 80px 20px 30px; transform: translateX(100%); transition: transform .25s; overflow-y: auto; z-index: 70; box-shadow: var(--cc-shadow-lg); visibility: hidden; }
	.cc-nav.is-open { transform: none; visibility: visible; }
	.cc-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.cc-nav a { padding: 13px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--cc-line); flex: 1; }
	.cc-nav .menu-item-has-children { flex-wrap: wrap; }
	.cc-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; width: 100%; padding: 0 0 0 14px; background: transparent; }
	.cc-nav li.is-open > .sub-menu { display: block; }
	.cc-subtoggle { width: 44px; height: 44px; justify-content: center; border-bottom: 1px solid var(--cc-line); }
	.cc-nav__close { position: absolute; top: 16px; right: 16px; }
	.cc-header__icons .cc-iconlink--account { display: none; }
	.cc-scrim { position: fixed; inset: 0; background: rgba(12,28,18,.45); z-index: 65; }
}
@media (min-width: 1181px) { .cc-nav__close, .cc-scrim { display: none !important; } }

/* ==========================================================================
   4. Hero slider
   ========================================================================== */
.cc-hero { position: relative; background: var(--cc-forest-900); color: #fff; overflow: hidden; }
.cc-hero__track { position: relative; min-height: clamp(420px, 52vw, 560px); }
.cc-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.cc-slide.is-active { opacity: 1; visibility: visible; }
/* Built-in placeholder image is small: keep it to the right half on wide screens. Replace in Customizer with a 1920px photo. */
@media (min-width: 701px) { .cc-slide__media.is-placeholder img { position: absolute; right: 0; top: 0; width: 55%; } .cc-slide__media.is-placeholder::after { background: linear-gradient(90deg, rgba(10,24,15,1) 0%, rgba(10,24,15,1) 44%, rgba(10,24,15,.2) 62%, rgba(10,24,15,0) 100%); } }
.cc-slide__media { position: absolute; inset: 0; }
.cc-slide__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cc-slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,24,15,.92) 0%, rgba(10,24,15,.78) 36%, rgba(10,24,15,.15) 70%, rgba(10,24,15,0) 100%); }
.cc-slide__body { position: relative; z-index: 2; max-width: 620px; padding-block: 60px 80px; }
.cc-slide__body h1, .cc-slide__body h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: .35em; }
.cc-slide__body p { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: #eef3ea; max-width: 520px; margin-bottom: 1.6em; }
.cc-hero__controls { position: absolute; z-index: 5; bottom: 22px; left: 0; right: 0; }
.cc-hero__controls .cc-wrap { display: flex; align-items: center; gap: 14px; }
.cc-dots { display: flex; gap: 10px; }
.cc-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.55); border: 0; padding: 0; cursor: pointer; }
.cc-dot[aria-current="true"] { background: var(--cc-lime); }
.cc-hero__btn { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.cc-hero__btn:hover { background: rgba(255,255,255,.26); }
.cc-hero__btn svg { width: 16px; height: 16px; }
.cc-hero__badge { position: absolute; z-index: 3; right: 3%; bottom: 14%; transform: rotate(-8deg); background: var(--cc-cream); color: var(--cc-ink); font-family: var(--cc-font-serif); padding: 10px 18px; border-radius: 4px; box-shadow: var(--cc-shadow-lg); font-size: 1.05rem; line-height: 1.1; display: none; }
.cc-hero__badge small { display: block; font-family: var(--cc-font-sans); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cc-moss); }
@media (min-width: 900px) { .cc-hero__badge { display: block; } }
@media (max-width: 700px) {
	.cc-slide__media::after { background: linear-gradient(180deg, rgba(10,24,15,.55) 0%, rgba(10,24,15,.92) 55%); }
	.cc-slide { align-items: flex-end; }
	.cc-slide__media img { object-position: center top; }
}

/* ==========================================================================
   5. Category cards
   ========================================================================== */
.cc-cats { padding-block: 22px 10px; }
.cc-cats__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .cc-cats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cc-cats__grid { grid-template-columns: repeat(6, 1fr); } }
.cc-catcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; border-radius: var(--cc-radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--cc-forest-900); box-shadow: var(--cc-shadow); isolation: isolate; }
.cc-catcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.cc-catcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,15,0) 35%, rgba(10,24,15,.88) 100%); }
.cc-catcard:hover img { transform: scale(1.05); }
.cc-catcard__body { text-align: center; padding: 14px 10px 16px; }
.cc-catcard h3 { color: #fff; font-size: 1.22rem; margin: 0 0 2px; }
.cc-catcard p { font-size: .82rem; color: #e3ebde; margin: 0 0 10px; }
.cc-catcard .cc-btn--ghost { min-height: 32px; padding: .3em 1em; font-size: .8rem; border-radius: 6px; }
.cc-catcard:hover .cc-btn--ghost { background: var(--cc-lime); color: var(--cc-ink); border-color: var(--cc-lime); }

/* ==========================================================================
   6. Section headings + product grid
   ========================================================================== */
.cc-sechead { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.cc-sechead h2 { margin: 0; white-space: nowrap; }
.cc-sechead__rule { flex: 1; height: 1px; background: var(--cc-moss); max-width: 110px; }
.cc-sechead__link { margin-left: auto; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cc-sechead__link:hover { text-decoration: underline; }

.woocommerce ul.products, ul.products { list-style: none; margin: 0; padding: 0; display: grid !important; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 760px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1100px) { .woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } .woocommerce ul.products.columns-6, .cc-featured ul.products { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.woocommerce ul.products li.product, ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(12,28,18,.04); transition: box-shadow .2s, transform .2s; }
.woocommerce ul.products li.product:hover { box-shadow: var(--cc-shadow); transform: translateY(-2px); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img { margin: 0 !important; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--cc-cream); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--cc-font-sans); font-size: .98rem !important; font-weight: 600; padding: 12px 12px 2px !important; margin: 0; color: var(--cc-ink); }
.cc-loop-botanical { display: block; padding: 0 12px; font-size: .8rem; font-style: italic; color: var(--cc-muted); }
.woocommerce ul.products li.product .star-rating { margin: 6px 12px 0 !important; font-size: .8em; color: #c79a1e; }
.woocommerce ul.products li.product .price { padding: 6px 12px 0; margin: 0 !important; color: var(--cc-ink) !important; font-weight: 700; font-size: 1.05rem !important; }
.woocommerce ul.products li.product .price del { color: var(--cc-muted); font-weight: 400; font-size: .85em; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--cc-danger); }
.cc-stock { display: inline-block; margin: 6px 12px 0; font-size: .78rem; font-weight: 600; }
.cc-stock--in { color: var(--cc-success); }
.cc-stock--out { color: var(--cc-danger); }
.cc-stock--backorder { color: #8a6200; }
.woocommerce ul.products li.product .button { margin: auto 12px 12px !important; border-radius: 6px; min-height: 40px; font-size: .86rem; background: var(--cc-forest); }
.woocommerce ul.products li.product .button:hover { background: var(--cc-forest-900); }
.woocommerce ul.products li.product .added_to_cart { margin: -6px 12px 12px; font-size: .82rem; text-align: center; }
.woocommerce span.onsale { background: var(--cc-danger); border-radius: 4px; min-height: 0; min-width: 0; line-height: 1; padding: 6px 9px; top: 10px; left: 10px; right: auto; margin: 0; font-size: .75rem; }
.cc-empty { padding: 32px; text-align: center; background: var(--cc-cream); border-radius: var(--cc-radius-lg); border: 1px dashed var(--cc-line); }

/* ==========================================================================
   7. Trust strip, about, promo, newsletter
   ========================================================================== */
.cc-trust { background: var(--cc-forest-700); color: #fff; }
.cc-trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cc-trust ul { grid-template-columns: repeat(var(--cc-trust-cols, 4), 1fr); } .cc-trust li + li { border-left: 1px solid rgba(255,255,255,.18); } }
.cc-trust li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 12px; }
.cc-trust svg { width: 38px; height: 38px; color: var(--cc-lime-soft); flex: none; }
.cc-trust strong { display: block; font-size: .95rem; }
@media (max-width: 599px) { .cc-trust li { flex-direction: column; text-align: center; gap: 6px; padding: 0 4px; } .cc-trust svg { width: 30px; height: 30px; } }
.cc-trust span { font-size: .82rem; color: #d3dfcd; }

.cc-about { background: var(--cc-cream); }
.cc-about__grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 1000px) { .cc-about__grid { grid-template-columns: 1fr 1.25fr .95fr; } }
@media (min-width: 700px) and (max-width: 999px) { .cc-about__grid { grid-template-columns: 1fr 1fr; } .cc-why { grid-column: 1 / -1; } }
.cc-about__img { border-radius: var(--cc-radius-lg); overflow: hidden; min-height: 260px; }
.cc-about__img img { width: 100%; height: 100%; object-fit: cover; }
.cc-about__text { align-self: center; }
.cc-about__text p { color: #3a463d; }
.cc-why { background: #fff; border-radius: var(--cc-radius-lg); padding: 24px; border: 1px solid var(--cc-line); align-self: center; }
.cc-why h3 { margin-bottom: .7em; }
.cc-why ul { list-style: none; margin: 0; padding: 0; }
.cc-why li { position: relative; padding: 6px 0 6px 28px; font-size: .92rem; }
.cc-why li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--cc-moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.cc-promo { position: relative; border-radius: var(--cc-radius-lg); overflow: hidden; color: #fff; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; text-decoration: none; background: var(--cc-ink); isolation: isolate; }
.cc-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cc-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,18,12,.85) 0%, rgba(8,18,12,.15) 55%, rgba(8,18,12,.7) 100%); }
.cc-promo h3 { color: #fff; margin-bottom: .2em; }
.cc-promo p { color: #e8efe2; font-size: .92rem; }
.cc-promo .cc-btn { align-self: center; }
.cc-promos { display: grid; gap: 20px; }
@media (min-width: 760px) { .cc-promos--wide { grid-template-columns: 1fr 1fr; } }

.cc-newsletter { background: var(--cc-forest); color: #fff; padding-block: 26px; }
.cc-newsletter__grid { display: grid; gap: 18px; align-items: center; }
@media (min-width: 980px) { .cc-newsletter__grid { grid-template-columns: 1.1fr 1.3fr auto; } }
.cc-newsletter h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.cc-newsletter p { margin: 0; font-size: .88rem; color: #d9e5d3; }
.cc-newsletter__head { display: flex; gap: 14px; align-items: center; }
.cc-newsletter__head svg { width: 42px; height: 42px; flex: none; color: #fff; }
.cc-newsletter form { display: grid; gap: 8px; }
.cc-newsletter__row { display: flex; }
.cc-newsletter__row input { border-radius: 6px 0 0 6px; border: 0; }
.cc-newsletter__row button { border-radius: 0 6px 6px 0; background: var(--cc-forest-900); color: #fff; border: 1px solid var(--cc-lime); padding: 0 22px; font-weight: 700; cursor: pointer; }
.cc-newsletter__row button:hover { background: var(--cc-ink); }
.cc-newsletter .cc-check { color: #d9e5d3; font-size: .78rem; }
.cc-newsletter .cc-check a { color: #fff; }
.cc-newsletter__msg { font-size: .88rem; padding: 8px 12px; border-radius: 6px; background: rgba(255,255,255,.12); }
.cc-social { display: flex; align-items: center; gap: 10px; }
.cc-social a { color: #fff; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.cc-social a:hover { background: rgba(255,255,255,.14); }
.cc-social svg { width: 22px; height: 22px; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.cc-footer { background: var(--cc-ink); color: #cdd8c8; font-size: .92rem; }
.cc-footer__grid { display: grid; gap: 30px; padding-block: 48px 34px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cc-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; } }
.cc-footer h2 { font-family: var(--cc-font-sans); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cc-footer ul { list-style: none; margin: 0; padding: 0; }
.cc-footer li { margin-bottom: 7px; }
.cc-footer a { color: #cdd8c8; text-decoration: none; }
.cc-footer a:hover { color: #fff; text-decoration: underline; }
.cc-footer .cc-brand { color: #fff; }
.cc-footer .cc-brand__tag { color: var(--cc-lime); font-size: .55rem; letter-spacing: .14em; }
.cc-footer__about { margin-top: 14px; max-width: 320px; }
.cc-payments { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.cc-payments span { background: #fff; color: var(--cc-ink); border-radius: 5px; padding: 4px 10px; font-weight: 700; font-size: .8rem; }
.cc-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.cc-footer__bottom .cc-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px; font-size: .82rem; }
.cc-footer__motto { font-family: var(--cc-font-serif); color: #fff; font-size: 1rem; }

/* ==========================================================================
   9. Content pages, breadcrumbs, blog
   ========================================================================== */
.cc-pagehead { background: var(--cc-cream); padding-block: 34px 28px; border-bottom: 1px solid var(--cc-line); }
.cc-pagehead h1 { margin: 6px 0 0; }
.cc-pagehead p { margin: 10px 0 0; color: var(--cc-muted); max-width: 760px; }
.cc-crumbs, .woocommerce .woocommerce-breadcrumb { font-size: .84rem; color: var(--cc-muted); margin: 0; }
.cc-crumbs a, .woocommerce .woocommerce-breadcrumb a { color: var(--cc-forest); }
.cc-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.cc-crumbs li + li::before { content: "/"; margin-right: 6px; color: #aab3a8; }
.cc-content { max-width: 820px; }
.cc-content > * + h2 { margin-top: 1.6em; }
.cc-content ul, .cc-content ol { padding-left: 1.3em; }
.cc-content li { margin-bottom: .35em; }
.cc-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.cc-content th, .cc-content td { border: 1px solid var(--cc-line); padding: 10px; text-align: left; vertical-align: top; }
.cc-content details { border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 0 16px; margin-bottom: 10px; background: #fff; }
.cc-content summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.cc-content details[open] summary { border-bottom: 1px solid var(--cc-line); margin-bottom: 12px; }
.cc-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .cc-layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; } }
.cc-posts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cc-postcard { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.cc-postcard__img { aspect-ratio: 16 / 10; background: var(--cc-cream-200); }
.cc-postcard__img img { width: 100%; height: 100%; object-fit: cover; }
.cc-postcard__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cc-postcard h2, .cc-postcard h3 { font-size: 1.25rem; margin: 0; }
.cc-postcard h2 a, .cc-postcard h3 a { color: var(--cc-ink); text-decoration: none; }
.cc-postcard h2 a:hover, .cc-postcard h3 a:hover { color: var(--cc-moss); }
.cc-meta { font-size: .8rem; color: var(--cc-muted); }
.cc-pagination, .woocommerce nav.woocommerce-pagination { margin-top: 32px; text-align: center; }
.cc-pagination .nav-links, .woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0 !important; flex-wrap: wrap; }
.cc-pagination .page-numbers, .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 10px; border: 1px solid var(--cc-line) !important; border-radius: 8px; text-decoration: none; background: #fff; }
.cc-pagination .current, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--cc-forest) !important; color: #fff !important; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.cc-widget { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 20px; margin-bottom: 20px; }
.cc-widget h2 { font-size: 1.15rem; }
.cc-widget ul { list-style: none; margin: 0; padding: 0; }
.cc-widget li { padding: 6px 0; border-bottom: 1px solid var(--cc-cream-200); }
.cc-article__meta { color: var(--cc-muted); font-size: .88rem; margin-top: 10px; }
.cc-related { border-top: 1px solid var(--cc-line); margin-top: 40px; padding-top: 30px; }
.cc-404 { text-align: center; padding-block: 80px; }
.cc-404 .cc-search { margin: 20px auto; width: min(100%, 420px); display: block; }

/* Care hub */
.cc-topics { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 24px 0 36px; }
.cc-topic { display: block; padding: 18px; border-radius: var(--cc-radius); background: #fff; border: 1px solid var(--cc-line); text-decoration: none; color: var(--cc-ink); }
.cc-topic:hover { border-color: var(--cc-moss); box-shadow: var(--cc-shadow); }
.cc-topic strong { display: block; font-family: var(--cc-font-serif); font-size: 1.12rem; font-weight: 400; }
.cc-topic span { font-size: .84rem; color: var(--cc-muted); }

/* ==========================================================================
   10. WooCommerce: shop, filters, single product, cart, checkout
   ========================================================================== */
.cc-shop { display: grid; gap: 30px; }
@media (min-width: 1000px) { .cc-shop { grid-template-columns: 270px minmax(0, 1fr); } }
.cc-filters { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 20px; align-self: start; }
@media (min-width: 1000px) { .cc-filters { position: sticky; top: 110px; } }
.cc-filters h2 { font-family: var(--cc-font-sans); font-size: 1rem; font-weight: 700; margin: 0 0 14px; }
.cc-filters fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.cc-filters legend { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-muted); margin-bottom: 8px; }
.cc-filters .cc-price { display: flex; gap: 8px; }
.cc-filters__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cc-filters__toggle { display: none; }
@media (max-width: 999px) {
	.cc-filters__toggle { display: inline-flex; margin-bottom: 14px; }
	.cc-filters[hidden] { display: none; }
}
.cc-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--cc-cream-200); font-size: .82rem; text-decoration: none; color: var(--cc-ink); }
.cc-chip:hover { background: var(--cc-lime-soft); }
.woocommerce .woocommerce-result-count { margin: 10px 0 18px; color: var(--cc-muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering { margin-bottom: 18px; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; }
.cc-cat-intro { max-width: 860px; margin-bottom: 26px; color: #3a463d; }
.cc-cat-extra { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--cc-line); }

.woocommerce div.product { display: grid; gap: 40px; margin-top: 10px; }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product div.images img { border-radius: var(--cc-radius-lg); background: var(--cc-cream); }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 4px; }
.cc-botanical { font-style: italic; color: var(--cc-muted); font-size: 1.05rem; margin: 0 0 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cc-ink); font-size: 1.6rem; font-weight: 700; }
.woocommerce div.product .stock { font-weight: 600; }
.woocommerce div.product .stock.in-stock { color: var(--cc-success); }
.woocommerce div.product .stock.out-of-stock { color: var(--cc-danger); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }
.woocommerce .quantity .qty { width: 84px; min-height: 48px; text-align: center; }
.woocommerce div.product form.cart .button { min-height: 48px; padding-inline: 2em; }
.cc-keyfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.cc-keyfacts li { background: var(--cc-cream); border-radius: var(--cc-radius); padding: 10px 12px; font-size: .86rem; }
.cc-keyfacts strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-muted); }
.cc-assurance { border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 14px 16px; font-size: .88rem; background: #fff; }
.cc-assurance p { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.cc-assurance svg { width: 18px; height: 18px; flex: none; color: var(--cc-moss); }
.cc-quote-box { background: #fff7e0; border: 1px solid #e5c76b; border-radius: var(--cc-radius); padding: 16px; margin: 16px 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 -1px; display: flex; flex-wrap: wrap; gap: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .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 { background: var(--cc-cream) !important; border: 1px solid var(--cc-line) !important; border-radius: 8px 8px 0 0 !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 18px !important; color: var(--cc-ink) !important; font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff !important; border-bottom-color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { background: #fff; border: 1px solid var(--cc-line); border-radius: 0 var(--cc-radius) var(--cc-radius) var(--cc-radius); padding: 26px; margin: 0 0 30px; }
.cc-spec { width: 100%; border-collapse: collapse; }
.cc-spec th, .cc-spec td { padding: 10px 12px; border-bottom: 1px solid var(--cc-cream-200); text-align: left; vertical-align: top; }
.cc-spec th { width: 38%; color: var(--cc-muted); font-weight: 600; }
.woocommerce table.shop_table { border-radius: var(--cc-radius-lg); border-color: var(--cc-line); background: #fff; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 20px; }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--cc-moss); background: var(--cc-cream); border-radius: var(--cc-radius); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cc-moss); }
.woocommerce-error { border-top-color: var(--cc-danger); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); overflow: hidden; background: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--cc-cream-200); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--cc-forest); color: #fff; }

/* Print */
@media print { .cc-topbar, .cc-header, .cc-newsletter, .cc-footer, .cc-hero__controls { display: none !important; } }
