/*
Theme Name: Hempcott
Theme URI: https://hempcott.com/
Author: Hempcott
Description: Custom WooCommerce theme for Hempcott, plant-based clothing with 0% plastic. Every homepage section is editable from Appearance > Customize > Hempcott Homepage. No paid plugins required.
Version: 1.2.0
Requires at least: 6.3
Tested up to: 7.1
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: hempcott
WC requires at least: 8.0
*/

/* ---------- Tokens ---------- */
:root {
	--hc-dark: #263022;
	--hc-deep: #1b2318;
	--hc-mid: #34412f;
	--hc-hemp: #4c5947;
	--hc-sage: #e9ece4;
	--hc-sage-2: #f2f5ee;
	--hc-sage-text: #b9c6ae;
	--hc-eyebrow-dark: #9fae95;
	--hc-mist: #dfe5d8;
	--hc-ink: #1d231b;
	--hc-muted: #4f5a4b;
	--hc-soft: #5e6859;
	--hc-paper: #fbfbf8;
	--hc-line: #e3e6dd;
	--hc-line-dark: #3b4837;
	--hc-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--hc-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--hc-script: 'Great Vibes', cursive;
	--hc-radius: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--hc-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--hc-ink);
	background: var(--hc-paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--hc-hemp); }
a:hover { color: var(--hc-dark); }
h1, h2, h3, h4 { font-family: var(--hc-display); font-weight: 800; text-transform: uppercase; line-height: 0.98; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.screen-reader-text:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 12px 18px; z-index: 1000;
	background: #fff; color: var(--hc-ink); top: 8px; left: 8px;
}
:focus-visible { outline: 3px solid var(--hc-hemp); outline-offset: 2px; }

.hc-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hc-container--narrow { max-width: 860px; }
.hc-container--mid { max-width: 1080px; }

.hc-section { padding: 96px 0; }
.hc-section.is-dark { background: var(--hc-dark); color: #fff; }
.hc-section.is-deep { background: var(--hc-deep); color: #fff; }
.hc-section.is-hemp { background: var(--hc-hemp); color: #fff; }
.hc-section.is-sage { background: var(--hc-sage); }
.hc-section.is-paper { background: var(--hc-paper); }

.hc-eyebrow {
	font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--hc-hemp); font-weight: 700; margin: 0 0 14px;
}
.is-dark .hc-eyebrow, .is-deep .hc-eyebrow { color: var(--hc-eyebrow-dark); }
.is-hemp .hc-eyebrow { color: var(--hc-mist); }
.hc-h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.95; margin: 0; }
.hc-lead { font-size: 18px; line-height: 1.6; color: var(--hc-muted); }
.is-dark .hc-lead, .is-deep .hc-lead { color: var(--hc-mist); }
.is-hemp .hc-lead { color: #eef1ea; }
.hc-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.hc-head--center { align-items: center; text-align: center; }
.hc-head--center .hc-lead { max-width: 640px; margin: 0; }
.hc-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.hc-head--split .hc-lead { max-width: 420px; margin: 0; }
.hc-head .hc-eyebrow { margin: 0; }

/* ---------- Buttons ---------- */
.hc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
	font-family: var(--hc-body); font-weight: 700; font-size: 16px; text-decoration: none;
	background: var(--hc-hemp); color: #fff; transition: background .2s, color .2s, transform .2s;
}
.hc-btn:hover { background: var(--hc-dark); color: #fff; }
.hc-btn--light { background: #fff; color: var(--hc-dark); }
.hc-btn--light:hover { background: var(--hc-sage); color: var(--hc-dark); }
.hc-btn--dark { background: var(--hc-dark); color: #fff; }
.hc-btn--dark:hover { background: var(--hc-deep); }
.hc-btn svg { flex: none; }
.hc-textlink { color: inherit; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.hc-header { background: var(--hc-paper); border-bottom: 1px solid var(--hc-line); position: relative; z-index: 50; }
.hc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.hc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hc-hemp); flex: none; }
.hc-brand img, .hc-brand .custom-logo { height: 46px; width: auto; display: block; }
.hc-brand__text { font-weight: 700; font-size: 22px; letter-spacing: 0.32em; color: var(--hc-hemp); }
.hc-nav ul { list-style: none; margin: 0; padding: 0; }
.hc-nav > ul { display: flex; gap: 6px; align-items: center; }
.hc-nav li { position: relative; }
.hc-nav a {
	display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
	color: var(--hc-ink); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 10px;
}
.hc-nav a:hover, .hc-nav .current-menu-item > a { color: var(--hc-hemp); }
.hc-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); margin-left: 2px;
}
.hc-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 190px; padding: 8px;
	background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; box-shadow: 0 14px 30px rgba(27,35,24,.12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.hc-nav li:hover > .sub-menu, .hc-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hc-nav .sub-menu a { padding: 0 12px; font-size: 15px; }
.hc-nav .sub-menu a:hover { background: var(--hc-sage-2); }
.hc-subtoggle { display: none; }
.hc-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.hc-iconbtn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; background: transparent; color: var(--hc-ink); cursor: pointer; border-radius: 999px; text-decoration: none;
}
.hc-iconbtn:hover { background: var(--hc-sage-2); color: var(--hc-ink); }
.hc-cartbtn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
	background: var(--hc-hemp); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}
.hc-cartbtn:hover { background: var(--hc-dark); color: #fff; }
.hc-menutoggle { display: none; }
.hc-search { display: none; border-top: 1px solid var(--hc-line); background: var(--hc-paper); }
.hc-search.is-open { display: block; }
.hc-search form { display: flex; gap: 10px; padding: 14px 0; }
.hc-search input[type=search] { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--hc-line); border-radius: 999px; padding: 0 20px; background: #fff; }
.hc-search button { min-height: 48px; }

@media (max-width: 1000px) {
	.hc-menutoggle { display: inline-flex; }
	.hc-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--hc-paper);
		border-bottom: 1px solid var(--hc-line); padding: 8px 16px 16px; max-height: calc(100vh - 80px); overflow-y: auto;
	}
	.hc-nav.is-open { display: block; }
	.hc-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.hc-nav li { border-bottom: 1px solid var(--hc-line); }
	.hc-nav li:last-child { border-bottom: 0; }
	.hc-nav a { min-height: 50px; font-size: 17px; }
	.hc-nav .menu-item-has-children > a::after { display: none; }
	.hc-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		padding: 0 0 8px 14px; display: none; background: transparent;
	}
	.hc-nav li.is-open > .sub-menu { display: block; }
	.hc-nav .sub-menu li { border: 0; }
	.hc-subtoggle {
		display: inline-flex; position: absolute; right: 0; top: 3px; width: 44px; height: 44px; align-items: center; justify-content: center;
		border: 0; background: transparent; cursor: pointer; color: var(--hc-ink);
	}
	.hc-subtoggle svg { transition: transform .2s; }
	.hc-nav li.is-open > .hc-subtoggle svg { transform: rotate(180deg); }
	.hc-cartbtn__label { display: none; }
	.hc-brand__text { font-size: 18px; letter-spacing: 0.24em; }
}
@media (max-width: 420px) {
	.hc-brand__text { display: none; }
	.hc-actions .hc-iconbtn--account { display: none; }
}

/* ---------- Hero ---------- */
.hc-hero { background: var(--hc-dark); color: #fff; overflow: hidden; padding: 28px 0 64px; }
.hc-hero__titles { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 40px; }
.hc-hero__title {
	margin: 0; text-align: center; font-size: clamp(34px, 5.4vw, 76px); line-height: 0.92;
	letter-spacing: 0.005em; white-space: nowrap;
}
.hc-hero__title span { color: var(--hc-sage-text); }
.hc-hero__tagline {
	margin: 0; text-align: center; font-family: var(--hc-script); font-weight: 400;
	font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; color: var(--hc-sage-text); text-transform: none;
}
@media (max-width: 640px) { .hc-hero__title { white-space: normal; } }
.hc-hero-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "info img" "stats img"; column-gap: 56px; row-gap: 26px; align-items: start;
}
.hc-hero__info { grid-area: info; display: flex; flex-direction: column; gap: 18px; }
.hc-hero__img { grid-area: img; align-self: center; position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.hc-hero__stats { grid-area: stats; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 860px) {
	.hc-hero-grid { grid-template-columns: 1fr; grid-template-areas: "info" "img" "stats"; }
	.hc-hero__img { min-height: 0; }
}
.hc-hero__info .hc-eyebrow { margin: 0; color: var(--hc-eyebrow-dark); }
.hc-hero__product { font-size: clamp(36px, 4vw, 52px); line-height: 0.95; margin: 0; }
.hc-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hc-checklist li { display: flex; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--hc-mist); }
.hc-checklist svg { flex: none; margin-top: 3px; }
.hc-hero__circle { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--hc-mid); }
.hc-hero__watermark { position: absolute; width: 74%; opacity: .07; }
.hc-hero__tee { position: relative; width: 88%; max-width: 560px; display: block; }
.hc-tiles { display: flex; gap: 10px; flex-wrap: wrap; }
.hc-tile { background: var(--hc-hemp); border-radius: 12px; padding: 14px 18px; min-width: 120px; }
.hc-tile__num { font-family: var(--hc-display); font-weight: 700; font-size: 34px; line-height: 1; }
.hc-tile__label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hc-mist); margin-top: 4px; }
.hc-tile.is-highlight { background: #fff; color: var(--hc-dark); }
.hc-tile.is-highlight .hc-tile__label { color: var(--hc-hemp); font-weight: 600; }
.hc-lab { display: flex; gap: 12px; align-items: flex-start; background: var(--hc-mid); border-radius: 14px; padding: 14px 16px; }
.hc-lab svg { flex: none; margin-top: 2px; }
.hc-lab__text { font-size: 15px; line-height: 1.5; font-weight: 600; margin: 0 0 4px; }
.hc-lab a, .hc-lab span.hc-lab__link { font-size: 14px; color: var(--hc-sage-text); font-weight: 600; }
.hc-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hc-hero__ctas .hc-textlink { color: #fff; padding: 14px 8px; }
.hc-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--hc-mist); padding-top: 18px; border-top: 1px solid var(--hc-line-dark); }
.hc-trust span { display: flex; align-items: center; gap: 8px; }

/* ---------- Value strip ---------- */
.hc-strip { background: var(--hc-hemp); color: #fff; }
.hc-strip__inner {
	display: flex; justify-content: space-around; gap: 16px 24px; flex-wrap: wrap; padding: 18px 24px;
	font-family: var(--hc-display); font-weight: 700; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hc-strip__sep { color: var(--hc-sage-text); }

/* ---------- Compare ---------- */
.hc-tablewrap { overflow-x: auto; border-radius: var(--hc-radius); border: 1px solid var(--hc-line); background: #fff; }
.hc-compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.hc-compare thead th { padding: 22px 24px; text-align: left; font-family: var(--hc-display); font-size: 24px; letter-spacing: 0.06em; text-transform: uppercase; color: #6a7465; }
.hc-compare thead th.is-us { background: var(--hc-hemp); color: #fff; }
.hc-compare tbody tr { border-top: 1px solid #edf0e8; }
.hc-compare tbody th { text-align: left; padding: 18px 24px; font-weight: 600; }
.hc-compare td { padding: 18px 24px; color: #6a7465; }
.hc-compare td.is-us { background: var(--hc-sage-2); color: var(--hc-dark); font-weight: 500; }
.hc-compare td span { display: inline-flex; gap: 10px; align-items: center; }
@media (max-width: 640px) {
	.hc-strip__sep { display: none; }
	.hc-strip__inner { font-size: 17px; gap: 8px 18px; justify-content: center; padding: 14px 16px; }
	.hc-compare { min-width: 0; font-size: 13px; table-layout: fixed; }
	.hc-compare thead th { padding: 14px 10px; font-size: 16px; }
	.hc-compare tbody th, .hc-compare td { padding: 12px 10px; }
	.hc-compare tbody th { width: 30%; }
	.hc-compare td span { gap: 6px; align-items: flex-start; }
	.hc-compare td span svg { flex: none; margin-top: 2px; }
}

/* ---------- Card grids ---------- */
.hc-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.hc-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .hc-grid-3 { grid-template-columns: 1fr; } }
.hc-card { background: var(--hc-paper); border-radius: var(--hc-radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.hc-card h3 { font-size: 28px; margin: 0; letter-spacing: 0.02em; }
.hc-card p { margin: 0; color: var(--hc-muted); }
.hc-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--hc-hemp); display: flex; align-items: center; justify-content: center; }

/* ---------- Split (story) ---------- */
.hc-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; }
@media (max-width: 420px) { .hc-split { grid-template-columns: 1fr; } }
.hc-split__media { background: var(--hc-dark); border-radius: 28px; aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hc-split__media img { width: 100%; height: 100%; object-fit: cover; }
.hc-split__media img.is-logo { width: 62%; height: auto; object-fit: contain; }
.hc-split__body { display: flex; flex-direction: column; gap: 20px; }
.hc-split__body p { margin: 0; font-size: 18px; line-height: 1.6; color: #eef1ea; }
.hc-split__body p strong { color: #fff; }
.hc-quote { margin: 0; padding: 18px 22px; background: var(--hc-dark); border-radius: 16px; font-size: 18px; line-height: 1.55; color: #fff; }
.hc-quote cite { display: block; margin-top: 8px; font-size: 14px; color: #c6cfbe; font-weight: 600; font-style: normal; }

/* ---------- Research ---------- */
.hc-research { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; }
@media (max-width: 420px) { .hc-research { grid-template-columns: 1fr; } }
.hc-research__body { display: flex; flex-direction: column; gap: 20px; }
.hc-research__body p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--hc-muted); }
.hc-research__body p strong { color: var(--hc-ink); }
.hc-rule { margin: 8px 0 0 !important; font-family: var(--hc-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.02 !important; text-transform: uppercase; color: var(--hc-dark) !important; }
.hc-rule span { color: var(--hc-hemp); }
.hc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hc-stat { background: #fff; border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.hc-stat__num { font-family: var(--hc-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--hc-dark); }
.hc-stat__label { font-size: 14px; line-height: 1.4; color: var(--hc-muted); }
@media (max-width: 480px) {
	.hc-stat { padding: 18px 16px; }
	.hc-stat__num { font-size: 36px; overflow-wrap: anywhere; }
	.hc-search button { flex: none; padding-left: 18px; padding-right: 18px; }
}

/* ---------- Science ---------- */
.hc-groups { display: flex; flex-direction: column; gap: 36px; }
.hc-group__title {
	display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-family: var(--hc-body);
	font-size: 14px; letter-spacing: 0.24em; color: var(--hc-sage-text); font-weight: 700;
}
.hc-group__title::after { content: ""; flex: 1; height: 1px; background: var(--hc-line-dark); }
.hc-sci { background: var(--hc-mid); border-radius: var(--hc-radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.hc-sci__tag { align-self: flex-start; background: var(--hc-sage); color: var(--hc-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hc-sci h3 { font-size: 30px; line-height: 1.05; margin: 0; color: #fff; }
.hc-sci p { margin: 0; color: var(--hc-mist); }
.hc-disclaimer { margin-top: 36px; border: 1px solid var(--hc-line-dark); border-radius: var(--hc-radius); padding: 26px 28px; }
.hc-disclaimer p { margin: 0 0 14px; font-size: 18px; line-height: 1.6; }
.hc-sources { margin: 0 !important; font-size: 13px !important; line-height: 1.7 !important; color: var(--hc-eyebrow-dark); }
.hc-sources a { color: #c6cfbe; }

/* ---------- Tri-blend ---------- */
.hc-triblend-head p { max-width: 760px; margin: 0; font-size: 18px; color: var(--hc-muted); line-height: 1.6; }
.hc-triblend-head p strong { color: var(--hc-ink); }
.hc-winner { font-size: 20px !important; font-weight: 700; color: var(--hc-ink) !important; line-height: 1.5 !important; }
.hc-script { font-family: var(--hc-script); font-size: clamp(34px, 4vw, 52px); line-height: 1.2; color: var(--hc-hemp); margin: 6px 0 0 !important; }
.hc-fibre { border-radius: 24px; overflow: hidden; display: flex; border: 1px solid var(--hc-line); background-size: cover; background-position: 70% center; background-repeat: no-repeat; }
.hc-fibre__inner {
	flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 30px 24px 32px; text-align: left;
	background: linear-gradient(90deg, rgba(251,251,248,.78) 0%, rgba(251,251,248,.62) 35%, rgba(251,251,248,.25) 70%, rgba(251,251,248,0) 100%);
	text-shadow: 0 0 10px rgba(255,255,255,.85), 0 0 2px rgba(255,255,255,.9);
}
.hc-fibre__name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hc-fibre__name h3 { font-size: 36px; margin: 0; line-height: 1; }
.hc-fibre__pct { font-family: var(--hc-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--hc-dark); }
.hc-fibre__sub { margin: 6px 0 0; font-size: 17px; font-weight: 700; color: #3b4a35; }
.hc-diamonds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hc-diamonds li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; font-weight: 500; }
.hc-diamonds li::before { content: "◆"; flex: none; color: var(--hc-hemp); font-size: 13px; line-height: 1.9; }

/* ---------- Reviews ---------- */
.hc-review { margin: 0; background: var(--hc-paper); border-radius: var(--hc-radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.hc-stars { display: flex; gap: 3px; }
.hc-review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.hc-review figcaption { font-size: 14px; color: var(--hc-soft); font-weight: 600; }
.hc-review figcaption small { display: block; font-weight: 500; }

/* ---------- FAQ ---------- */
.hc-faq { border-top: 1px solid #dfe3d8; }
.hc-faq details { border-bottom: 1px solid #dfe3d8; }
.hc-faq summary {
	list-style: none; cursor: pointer; min-height: 64px; padding: 20px 40px 20px 4px; position: relative;
	font-weight: 600; font-size: 18px;
}
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--hc-hemp); }
.hc-faq details[open] summary::after { content: "−"; }
.hc-faq__a { padding: 0 4px 24px; color: var(--hc-muted); line-height: 1.6; }
.hc-faq__a p:last-child { margin: 0; }

/* ---------- CTA / newsletter ---------- */
.hc-cta { text-align: center; }
.hc-cta h2 { font-size: clamp(44px, 6vw, 80px); line-height: 0.92; margin: 0 0 22px; }
.hc-cta p { color: var(--hc-sage); font-size: 18px; margin: 0 0 22px; }
.hc-newsletter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 520px; margin: 0 auto; }
.hc-newsletter input[type=email] { flex: 1 1 260px; height: 56px; border-radius: 999px; border: 0; padding: 0 22px; font-size: 16px; color: var(--hc-ink); }
.hc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hc-notice { margin: 16px auto 0; max-width: 520px; padding: 12px 18px; border-radius: 14px; font-weight: 600; }
.hc-notice.is-ok { background: #fff; color: var(--hc-dark); }
.hc-notice.is-err { background: #fde8e4; color: #8a2a17; }

/* ---------- Footer ---------- */
.hc-footer { background: var(--hc-deep); color: #c6cfbe; padding: 64px 0 32px; }
.hc-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 40px; }
.hc-footer__logo { width: 150px; height: auto; margin-bottom: 14px; }
.hc-footer p { font-size: 14px; line-height: 1.6; margin: 0; }
.hc-footer a { color: #c6cfbe; text-decoration: none; }
.hc-footer a:hover { color: #fff; text-decoration: underline; }
.hc-footer__title { color: #fff; font-family: var(--hc-body); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.hc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.hc-footer__bottom { border-top: 1px solid #2f3a2c; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Inner pages ---------- */
.hc-pagehero { background: var(--hc-dark); color: #fff; padding: 64px 0 56px; text-align: center; }
.hc-pagehero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 0.95; margin: 0; }
.hc-pagehero p { color: var(--hc-mist); font-size: 18px; max-width: 640px; margin: 16px auto 0; }
.hc-page { padding: 64px 0 96px; }
.hc-prose { font-size: 17px; line-height: 1.7; color: #2e382b; }
.hc-prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 1.6em 0 .5em; color: var(--hc-ink); }
.hc-prose h3 { font-size: 26px; margin: 1.4em 0 .4em; }
.hc-prose > *:first-child { margin-top: 0; }
.hc-prose ul, .hc-prose ol { padding-left: 1.3em; }
.hc-prose li { margin-bottom: .4em; }
.hc-prose blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--hc-sage); border-radius: 16px; border: 0; }
.hc-prose table { width: 100%; border-collapse: collapse; background: #fff; }
.hc-prose .wp-block-table { overflow-x: auto; border-radius: var(--hc-radius); border: 1px solid var(--hc-line); margin: 0 0 2em; }
.hc-prose .wp-block-table table { min-width: 520px; border: 0; }
.hc-prose th, .hc-prose td { padding: 14px 18px; text-align: left; border: 0; border-top: 1px solid #edf0e8; }
.hc-prose thead th { background: var(--hc-hemp); color: #fff; font-family: var(--hc-display); font-size: 19px; letter-spacing: .06em; text-transform: uppercase; border-top: 0; }
.hc-prose details { border-bottom: 1px solid #dfe3d8; padding: 4px 0; }
.hc-prose details summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 14px 0; }
.hc-prose details > *:not(summary) { color: var(--hc-muted); }
.hc-prose .wp-block-button__link { background: var(--hc-hemp); color: #fff; border-radius: 999px; padding: 14px 28px; font-weight: 700; text-decoration: none; }
.hc-prose img { border-radius: 16px; }

.hc-unit { display: inline-flex; background: var(--hc-sage); border-radius: 999px; padding: 4px; margin: 0 0 24px; }
.hc-unit button { min-width: 72px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; background: transparent; color: var(--hc-dark); }
.hc-unit button[aria-pressed="true"] { background: var(--hc-dark); color: #fff; }

.hc-form { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.hc-form label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
.hc-form input[type=text], .hc-form input[type=email], .hc-form textarea {
	width: 100%; min-height: 50px; border: 1px solid #cfd5c8; border-radius: 14px; padding: 12px 16px; background: #fff; font-size: 16px;
}
.hc-form textarea { min-height: 160px; resize: vertical; }
.hc-form .hc-notice { margin: 0; max-width: none; }
.hc-form .hc-notice.is-ok { background: var(--hc-sage); }

/* ---------- WooCommerce ---------- */
.hc-shop { padding: 48px 0 96px; }
.woocommerce .woocommerce-breadcrumb { color: var(--hc-soft); font-size: 14px; margin-bottom: 20px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--hc-hemp); }
.woocommerce-products-header__title, .woocommerce div.product .product_title { font-size: clamp(36px, 4.5vw, 60px); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a img { background: var(--hc-sage); border-radius: var(--hc-radius); aspect-ratio: 4 / 5; object-fit: contain; padding: 16px; margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--hc-body); text-transform: none; font-size: 17px; font-weight: 600; padding: 0; }
.woocommerce ul.products li.product .price { color: var(--hc-hemp); font-weight: 700; font-size: 16px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .wc-block-components-button:not(.is-link) {
	background: var(--hc-hemp) !important; color: #fff !important; border-radius: 999px !important; font-weight: 700 !important;
	padding: 14px 26px !important; border: 0 !important; line-height: 1.2 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover { background: var(--hc-dark) !important; }
.woocommerce span.onsale { background: var(--hc-hemp); border-radius: 999px; min-height: 0; min-width: 0; padding: 6px 12px; line-height: 1.2; }
.woocommerce div.product div.images img { border-radius: var(--hc-radius); background: var(--hc-sage); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--hc-dark); font-family: var(--hc-display); font-weight: 700; font-size: 34px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--hc-paper); }
/* Tabs: one clean row (underline style) on every screen. */
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 4px; margin: 0 0 22px; padding: 0; border-bottom: 1px solid var(--hc-line); overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after,
.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 { flex: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px; font-family: var(--hc-body); font-size: 15px; font-weight: 600; color: var(--hc-muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hc-dark); border-bottom-color: var(--hc-dark); }
@media (max-width: 600px) {
	.woocommerce div.product .woocommerce-tabs ul.tabs { gap: 0; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 12px; font-size: 14px; }
}
.woocommerce .quantity .qty { min-height: 50px; border-radius: 12px; border: 1px solid #cfd5c8; }
.woocommerce div.product form.cart .variations select { min-height: 48px; border-radius: 12px; border: 1px solid #cfd5c8; padding: 0 12px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--hc-hemp) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--hc-hemp) !important; }
.hc-sizelink { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 600; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--hc-hemp); }
.woocommerce-pagination ul { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 10px; padding: 10px 14px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--hc-hemp); color: #fff; }

/* ---------- 404 ---------- */
.hc-404 { padding: 120px 0; text-align: center; }
.hc-404 h1 { font-size: clamp(56px, 8vw, 120px); }

/* ---------- Size & colour swatches (product page) ---------- */
.woocommerce div.product form.cart .variations { width: 100%; margin: 6px 0 18px; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; border-top: 1px solid var(--hc-line); padding: 18px 0 4px; }
.woocommerce div.product form.cart .variations tr:last-child { border-bottom: 1px solid var(--hc-line); padding-bottom: 18px; }
.woocommerce div.product form.cart .variations th.label { display: none; }
.woocommerce div.product form.cart .variations td.value { display: block; padding: 0; }
.hc-swatchwrap select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.hc-varhead { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--hc-body); font-weight: 700; font-size: 18px; color: var(--hc-dark); }
.hc-varhead__value { font-weight: 500; color: var(--hc-muted); }
.hc-varhead__guide { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--hc-hemp); text-decoration: underline; text-underline-offset: 3px; }
.hc-varhint { margin: 4px 0 0; font-size: 14px; color: var(--hc-muted); }
.hc-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hc-swatches.is-text .hc-swatch {
	min-width: 64px; height: 56px; padding: 0 14px; border: 1.5px solid var(--hc-dark); border-radius: 4px; background: #fff;
	font-family: var(--hc-body); font-weight: 700; font-size: 17px; color: var(--hc-dark); cursor: pointer; transition: background .15s, color .15s;
}
.hc-swatches.is-text .hc-swatch:hover { background: var(--hc-sage); }
.hc-swatches.is-text .hc-swatch.is-selected { background: var(--hc-dark); border-color: var(--hc-dark); color: #fff; }
.hc-swatches.is-color .hc-swatch { width: 44px; height: 44px; padding: 3px; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; }
.hc-swatches.is-color .hc-swatch__dot { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.hc-swatches.is-color .hc-swatch:hover { border-color: #b9c0b2; }
.hc-swatches.is-color .hc-swatch.is-selected { border-color: var(--hc-dark); }
.hc-swatch:focus-visible { outline: 2px solid var(--hc-hemp); outline-offset: 2px; }
.hc-swatch.is-unavailable { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.woocommerce div.product form.cart .reset_variations.hc-reset { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--hc-muted); }
/* Hidden "Clear" link should not leave an empty gap. */
.woocommerce div.product form.cart .reset_variations[style*="hidden"] { display: none !important; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation:empty,
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-description:empty { display: none; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price { margin-bottom: 10px; }
@media (max-width: 600px) {
	/* All sizes on one line: buttons share the width equally. */
	.hc-swatches.is-text { display: flex; flex-wrap: nowrap; gap: 6px; }
	.hc-swatches.is-text .hc-swatch { flex: 1 1 0; min-width: 0; max-width: 64px; height: 44px; font-size: 14px; padding: 0 2px; }
	.hc-swatches { margin-top: 10px; }
	.hc-swatches.is-color .hc-swatch { width: 40px; height: 40px; }
	.hc-varhead { font-size: 16px; }
	.hc-varhead__guide, .hc-varhint { font-size: 13px; }
	.woocommerce div.product form.cart .variations { margin: 4px 0 12px; }
	.woocommerce div.product form.cart .variations tr { padding: 14px 0 2px; }
	.woocommerce div.product form.cart .variations tr:last-child { padding-bottom: 14px; }

	/* Product text: smaller so lines fit. */
	.woocommerce div.product .product_title { font-size: 30px; line-height: 1.05; }
	.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 26px; }
	.woocommerce div.product .woocommerce-product-details__short-description { font-size: 14px; line-height: 1.55; }
	.woocommerce div.product .woocommerce-product-details__short-description p { margin: 0 0 10px; }
	.woocommerce div.product .woocommerce-tabs .panel { font-size: 14px; line-height: 1.6; }
	.woocommerce div.product .product_meta { font-size: 13px; }
}
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--hc-hemp) !important; color: #fff !important; border-radius: 999px !important; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--hc-dark) !important; }
