/*
Theme Name: Emberpine
Theme URI: https://example.com/emberpine
Author: Studio
Author URI: https://example.com
Description: Warm outdoor-retail WooCommerce theme with a moss green primary, sandy beige base and ember brick accent. Mountain-ridge section dividers, tent-line diagonal textures and peak-shaped markers drawn with pure CSS, 10px rounded cards, configurable homepage sections, generic spec tables with reusable presets, floating contact rail with QR modals. All copy and imagery is managed from the admin, so the theme fits any product category.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emberpine
Tags: e-commerce, custom-menu, custom-logo, featured-images, translation-ready

Fonts: Fraunces (headings) & Epilogue (body), both licensed under the
SIL Open Font License 1.1 (commercial web use permitted), loaded
from Google Fonts. https://fonts.google.com/specimen/Fraunces
https://fonts.google.com/specimen/Epilogue
*/

/* ================= Design tokens ================= */
:root {
	--bg: #ede5d3;
	--surface: #faf6eb;
	--ink: #2b3122;
	--ink-soft: #49523c;
	--muted: #757c64;
	--moss: #4a5d3a;
	--moss-deep: #3b4b2e;
	--moss-dark: #2a3521;
	--moss-ink: #f0ead9;
	--moss-muted: #a9b499;
	--ember: #c94f38;
	--ember-deep: #a93f2b;
	--ember-text: #a2402c;
	--danger: #a3372a;
	--line: rgba(43, 49, 34, 0.14);
	--line-dark: rgba(240, 234, 217, 0.16);
	--radius: 10px;
	--radius-sm: 7px;
	--shadow: 0 20px 40px -24px rgba(43, 49, 34, 0.38);
	--font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--font-body: "Epilogue", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1200px;
	/* fold-tag underside shade (dog-ear corner on the hero tag) */
	--fold-shade: #1f2818;
}

/* ================= Base ================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* clip, not hidden: hidden would break the sticky header */
html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
	background: var(--bg);
}

img,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

::selection {
	background: var(--moss);
	color: var(--moss-ink);
}

:focus-visible {
	outline: 3px solid var(--ember);
	outline-offset: 3px;
	border-radius: 6px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.14;
	margin: 0;
	color: var(--ink);
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 42px);
}

.section-pad {
	padding-block: clamp(54px, 7.5vw, 96px);
}

.sec {
	padding-block: clamp(54px, 7.5vw, 96px);
}

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -60px;
	left: 16px;
	z-index: 200;
	background: var(--moss-dark);
	color: var(--moss-ink);
	padding: 12px 20px;
	border-radius: var(--radius);
	transition: top 0.2s;
}

.skip-link:focus {
	top: 12px;
}

body.no-scroll {
	overflow: hidden;
}

/* ================= Reveal animation (content never hidden by default) ================= */
html.fx [data-rv] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.55s cubic-bezier(0.25, 0.7, 0.3, 1), transform 0.55s cubic-bezier(0.25, 0.7, 0.3, 1);
}

html.fx [data-rv].rv-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html.fx [data-rv] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ================= Buttons (rectangular, trailing triangle marker) ================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 52px;
	padding: 0 22px 0 26px;
	background: var(--moss);
	color: var(--moss-ink);
	border: 2px solid var(--moss);
	border-radius: 0;
	font-family: var(--font-display);
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.btn:hover {
	background: var(--moss-deep);
	border-color: var(--moss-deep);
}

/* trailing solid triangle: grows and shifts right on hover/focus */
.btn-tri {
	flex: none;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 8px solid currentColor;
	transition: transform 0.22s ease, border-left-width 0.22s ease, border-top-width 0.22s ease, border-bottom-width 0.22s ease;
}

.btn:hover .btn-tri,
.btn:focus-visible .btn-tri {
	transform: translateX(5px);
	border-left-width: 10px;
	border-top-width: 7px;
	border-bottom-width: 7px;
}

.btn-accent {
	background: var(--ember);
	border-color: var(--ember);
	color: #fdf6ea;
}

.btn-accent:hover {
	background: var(--ember-deep);
	border-color: var(--ember-deep);
	color: #fff;
}

.btn-ghost {
	background: transparent;
	border-color: rgba(43, 49, 34, 0.34);
	color: var(--ink);
}

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

.btn-ghost-light {
	background: rgba(240, 234, 217, 0.08);
	border-color: rgba(240, 234, 217, 0.55);
	color: #fff;
}

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

.btn-dark-on-accent {
	background: var(--moss-dark);
	border-color: var(--moss-dark);
	color: var(--moss-ink);
}

.btn-dark-on-accent:hover {
	background: transparent;
	color: #fdf6ea;
	border-color: rgba(253, 246, 234, 0.7);
	transform: translateY(-2px);
}

.btn-sm {
	height: 44px;
	padding: 0 16px 0 20px;
	font-size: 14px;
	border-radius: 0;
}

.btn-sm .btn-tri {
	border-top-width: 5px;
	border-bottom-width: 5px;
	border-left-width: 7px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 14.5px;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 2.5px solid rgba(201, 79, 56, 0.6);
	padding-bottom: 2px;
}

.text-link:hover {
	border-color: var(--ember-deep);
	color: var(--moss-deep);
}

/* ================= Section headings ================= */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ember-text);
	margin: 0 0 14px;
}

/* little ember peak, the mountain motif */
.kicker::before {
	content: "";
	width: 14px;
	height: 11px;
	flex: none;
	background: var(--ember);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.sec-head {
	max-width: 720px;
	margin-bottom: clamp(28px, 4.5vw, 48px);
}

.sec-title {
	font-size: clamp(30px, 3.9vw, 42px);
	font-weight: 800;
}

.sec-sub {
	margin-top: 12px;
	font-size: 16.5px;
	color: var(--muted);
	max-width: 620px;
}

.sec-dark {
	background: var(--moss-dark);
	color: var(--moss-ink);
}

.sec-dark .sec-title {
	color: var(--moss-ink);
}

.sec-dark .sec-sub {
	color: var(--moss-muted);
}

.sec-dark .kicker {
	color: #e0885f;
}

/* ================= Site header ================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(237, 229, 211, 0.94);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.25s, background 0.25s;
}

.site-header.scrolled {
	background: #ede5d3;
	box-shadow: 0 14px 30px -24px rgba(43, 49, 34, 0.55);
}

.header-bar {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 38px);
	min-height: 76px;
}

.brand {
	flex: none;
	display: flex;
	align-items: center;
}

.brand img {
	max-height: 44px;
	width: auto;
	display: block;
}

.brand-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
}

/* square moss chip with the pine mark */
.brand-mark {
	width: 40px;
	height: 40px;
	border-radius: var(--radius);
	background: var(--moss);
	color: var(--moss-ink);
	display: grid;
	place-items: center;
	flex: none;
}

.brand-name {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.main-nav {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: clamp(2px, 0.7vw, 8px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list > li {
	position: relative;
}

.nav-list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 13px;
	font-family: var(--font-display);
	font-size: 15.5px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink-soft);
	border-radius: var(--radius-sm);
	transition: color 0.2s, background 0.2s, box-shadow 0.2s;
	white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
	color: var(--ink);
	background: rgba(74, 93, 58, 0.12);
	box-shadow: inset 0 -2px 0 var(--moss);
}

.nav-list > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	flex: none;
}

.nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 4px;
	min-width: 230px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--moss);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	list-style: none;
	margin: 0;
	padding: 9px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
	z-index: 5;
}

.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav-list .sub-menu a {
	display: block;
	padding: 10px 14px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	border-radius: var(--radius-sm);
}

.nav-list .sub-menu a:hover {
	background: rgba(74, 93, 58, 0.12);
	color: var(--ink);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex: none;
}

.hbtn {
	position: relative;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	background: transparent;
	color: var(--ink);
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hbtn:hover {
	border-color: var(--moss);
	color: var(--moss-deep);
	background: rgba(74, 93, 58, 0.1);
}

.cart-count {
	position: absolute;
	top: -6px;
	right: -7px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ember);
	color: #fdf6ea;
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}

.nav-toggle {
	display: none;
}

/* ================= Drawer / search / QR overlays ================= */
.drawer,
.search-layer,
.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
}

/* keep hidden state truly hidden so transparent layers never eat clicks */
.drawer[hidden],
.search-layer[hidden],
.qr-modal[hidden] {
	display: none !important;
}

.drawer-scrim,
.search-scrim,
.qr-scrim {
	position: absolute;
	inset: 0;
	background: rgba(30, 38, 24, 0.58);
	opacity: 0;
	transition: opacity 0.24s;
}

.drawer.open .drawer-scrim,
.search-layer.open .search-scrim,
.qr-modal.open .qr-scrim {
	opacity: 1;
}

.drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(380px, 92vw);
	background: var(--bg);
	color: var(--ink);
	padding: 20px 24px 40px;
	overflow-y: auto;
	transform: translateX(102%);
	transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.3, 1);
	border-radius: var(--radius) 0 0 var(--radius);
	border-left: 3px solid var(--ember);
}

.drawer.open .drawer-panel {
	transform: none;
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.drawer-title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
}

.drawer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.drawer-nav > li {
	border-bottom: 1px solid var(--line);
}

.drawer-nav a {
	display: block;
	padding: 14px 4px;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}

.drawer-nav a:hover {
	color: var(--ember-deep);
}

.drawer-nav .sub-menu {
	list-style: none;
	margin: 0 0 12px;
	padding: 0 0 0 14px;
}

.drawer-nav .sub-menu a {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	padding: 8px 4px;
	color: var(--muted);
}

.drawer-links {
	display: flex;
	gap: 18px;
	margin-top: 22px;
}

.drawer-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.search-panel {
	position: absolute;
	left: 50%;
	top: 14vh;
	transform: translate(-50%, -14px);
	width: min(680px, calc(100vw - 40px));
	display: flex;
	align-items: center;
	gap: 12px;
	opacity: 0;
	transition: opacity 0.24s, transform 0.24s;
}

.search-layer.open .search-panel {
	opacity: 1;
	transform: translate(-50%, 0);
}

.search-layer .search-form {
	flex: 1;
	max-width: none;
	background: var(--bg);
}

.search-layer .hbtn {
	background: var(--bg);
}

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	padding: 5px 6px 5px 20px;
	border: 2px solid var(--moss);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
}

.search-field {
	flex: 1;
	min-width: 0;
	height: 46px;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	outline: none;
}

.search-field::placeholder {
	color: var(--muted);
}

.search-submit {
	flex: none;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--moss);
	color: var(--moss-ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s;
}

.search-submit:hover {
	background: var(--ember);
	color: #fdf6ea;
}

/* ================= Hero (deep moss dusk panel, ridgeline into the page) ================= */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(88vh, 800px);
	background: var(--moss-dark);
	color: #fff;
	overflow: clip;
}

.hero-media {
	position: absolute;
	inset: 0;
}

.hero-img,
.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-video {
	opacity: 0;
	transition: opacity 1.1s ease;
}

.hero-video.ready {
	opacity: 1;
}

/* single unidirectional pure-black darkening overlay so copy stays readable over the photo */
.hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 62%);
}

/* signature sand ridgeline separating hero from the page */
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(30px, 5vw, 66px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 66' preserveAspectRatio='none'%3E%3Cpath d='M0 66 L0 44 L170 24 L320 48 L500 14 L680 40 L840 20 L1030 50 L1200 26 L1350 46 L1440 34 L1440 66 Z' fill='%23ede5d3'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	pointer-events: none;
	z-index: 2;
}

.hero-in {
	position: relative;
	z-index: 1;
	padding-block: clamp(70px, 10vw, 120px) clamp(70px, 8.5vw, 110px);
}

.hero-kicker {
	color: #e8b48c;
}

.hero-title {
	max-width: 740px;
	font-size: clamp(38px, 5.4vw, 64px);
	font-weight: 800;
	color: #fbf6ea;
	letter-spacing: -0.015em;
	line-height: 1.05;
}

.hero-sub {
	margin-top: 18px;
	max-width: 560px;
	font-size: 17px;
	line-height: 1.75;
	color: rgba(240, 234, 217, 0.88);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hero-actions .btn-accent {
	background: var(--ember);
	border-color: var(--ember);
	color: #fdf6ea;
}

.hero-actions .btn-accent:hover {
	background: #fdf6ea;
	border-color: #fdf6ea;
	color: var(--moss-dark);
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 4vw, 56px);
	margin: 42px 0 0;
	padding-top: 24px;
	border-top: 1px solid rgba(240, 234, 217, 0.3);
}

.hero-stats .stat {
	display: flex;
	flex-direction: column-reverse;
}

.hero-stats dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(26px, 2.8vw, 34px);
	font-weight: 800;
	color: #e8b48c;
	line-height: 1.12;
}

.hero-stats dt {
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(240, 234, 217, 0.66);
	margin-top: 6px;
}

/* folded-corner tag: right-angle tag clipped into the hero's top-right corner,
   dog-eared at its inner corner like a torn-off price tag, holding one key stat */
.hero-tag {
	--fold: clamp(24px, 2.8vw, 38px);
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: clamp(210px, 25vw, 336px);
	background: var(--ember);
	color: #fdf6ea;
	padding: clamp(24px, 3vw, 36px) clamp(28px, 3.2vw, 44px) clamp(44px, 6vw, 62px) clamp(22px, 3vw, 32px);
	display: flex;
	flex-direction: column;
	gap: 4px;
	clip-path: polygon(0 0, 100% 0, 100% 100%, var(--fold) 100%, 0 calc(100% - var(--fold)));
}

/* the dog-eared flap: underside of the fold, peeled back from the tag body */
.hero-tag-fold {
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--fold);
	height: var(--fold);
	background: var(--fold-shade);
	clip-path: polygon(0 0, 100% 100%, 0 100%);
	box-shadow: 3px -3px 10px -4px rgba(10, 12, 7, 0.5);
}

.hero-tag-kicker {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(253, 246, 234, 0.78);
	margin: 0;
}

.hero-tag-num {
	font-family: var(--font-display);
	font-size: clamp(38px, 5.2vw, 68px);
	font-weight: 700;
	line-height: 1;
	margin: 6px 0 0;
}

.hero-tag-label {
	font-size: 13px;
	line-height: 1.42;
	color: rgba(253, 246, 234, 0.88);
	margin: 8px 0 0;
	max-width: 21ch;
}

/* industry shape constructs: canvas A-frame silhouette + firepit ring cross-section,
   isolated line-art instances (not a tiled pattern) */
.hero-shape {
	position: absolute;
	z-index: 1;
	fill: none;
	stroke: rgba(240, 234, 217, 0.8);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.hero-shape-tent {
	left: clamp(20px, 4vw, 60px);
	bottom: clamp(210px, 30vw, 350px);
	width: clamp(88px, 8vw, 124px);
	height: auto;
}

.hero-shape-firepit {
	right: clamp(26px, 6vw, 108px);
	bottom: clamp(150px, 20vw, 250px);
	width: clamp(84px, 7.6vw, 116px);
	height: auto;
	stroke: rgba(240, 234, 217, 0.5);
	stroke-width: 1.6;
}

.hero-shape-firepit .ember-dot {
	fill: var(--ember);
	stroke: none;
}

/* ================= Perks strip ================= */
.perks {
	background: var(--bg);
}

.perks-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding-block: clamp(42px, 6vw, 68px);
}

.perk {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 22px;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.perk:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(74, 93, 58, 0.55);
}

/* moss chip with a peak notch */
.perk-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius);
	background: rgba(74, 93, 58, 0.14);
	color: var(--moss-deep);
	margin-bottom: 15px;
}

.perk-title {
	font-size: 17.5px;
	margin-bottom: 7px;
}

.perk-text {
	font-size: 14px;
	color: var(--muted);
}

/* ================= Category grid ================= */
.cats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: clip;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s, box-shadow 0.25s;
}

.cat-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

.cat-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #e2d9c4;
	overflow: hidden;
}

.cat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.cat-card:hover .cat-media img {
	transform: scale(1.05);
}

.cat-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 18px;
	border-top: 3px solid rgba(201, 79, 56, 0.5);
	transition: border-color 0.25s;
}

.cat-card:hover .cat-meta {
	border-top-color: var(--ember);
}

.cat-name {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
}

.cat-count {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}

.cat-arrow {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: var(--radius);
	background: var(--ember);
	color: #fdf6ea;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s, transform 0.25s;
	box-shadow: 0 10px 20px -10px rgba(43, 49, 34, 0.55);
}

.cat-card:hover .cat-arrow,
.cat-card:focus-visible .cat-arrow {
	opacity: 1;
	transform: none;
}

/* ================= Featured product cards (deep moss panel) ================= */
.prod-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.prod-card {
	display: flex;
	flex-direction: column;
	background: rgba(240, 234, 217, 0.05);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	overflow: clip;
	transition: transform 0.25s, border-color 0.25s;
}

.prod-card:hover {
	transform: translateY(-5px);
	border-color: rgba(201, 79, 56, 0.65);
}

.prod-media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #e2d9c4;
	overflow: hidden;
}

.prod-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.prod-card:hover .prod-media img {
	transform: scale(1.05);
}

.badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: var(--radius-sm);
	background: var(--moss);
	color: var(--moss-ink);
	font-family: var(--font-display);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.badge-sale {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--ember);
	color: #fdf6ea;
}

.prod-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	flex: 1;
}

.prod-name {
	font-family: var(--font-display);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.prod-name a {
	color: var(--moss-ink);
	text-decoration: none;
}

.prod-name a:hover {
	color: #e8b48c;
}

.prod-price {
	font-size: 14.5px;
	font-weight: 600;
	color: #e8b48c;
}

.prod-price del {
	color: var(--moss-muted);
	font-weight: 400;
	margin-right: 8px;
}

.prod-price ins {
	text-decoration: none;
}

.prod-btn {
	margin-top: auto;
	align-self: flex-start;
	background: transparent;
	border-color: rgba(240, 234, 217, 0.38);
	color: var(--moss-ink);
}

.prod-btn:hover {
	background: var(--ember);
	border-color: var(--ember);
	color: #fdf6ea;
	transform: none;
}

/* ================= Split sections ================= */
.split {
	background: var(--bg);
}

.split-in {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 68px);
	align-items: center;
}

/* photo sits on a tent-line striped panel */
.split-media {
	position: relative;
}

.split-media::before {
	content: "";
	position: absolute;
	inset: -16px -12px 12px -16px;
	border-radius: var(--radius);
	background: rgba(74, 93, 58, 0.12);
	z-index: 0;
}

.split-media img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	z-index: 1;
}

.split-flip .split-media {
	order: 2;
}

.split-body .sec-title {
	margin-bottom: 16px;
}

.split-text {
	font-size: 16px;
	line-height: 1.85;
	color: var(--muted);
	margin-bottom: 26px;
	white-space: pre-line;
}

/* ================= Steps ================= */
.steps {
	background: var(--bg);
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.step {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 22px;
	position: relative;
	overflow: clip;
}

.step-num {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	background: var(--moss);
	color: var(--moss-ink);
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 800;
	margin-bottom: 15px;
}

.step-title {
	font-size: 17.5px;
	margin-bottom: 7px;
}

.step-text {
	font-size: 14px;
	color: var(--muted);
}

/* ================= Quotes (deep moss panel) ================= */
.quotes-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.quote {
	margin: 0;
	background: rgba(240, 234, 217, 0.05);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
}

.quote-mark {
	color: #e0885f;
	margin-bottom: 14px;
}

.quote blockquote {
	margin: 0 0 18px;
	font-size: 15.5px;
	line-height: 1.78;
	color: var(--moss-ink);
	flex: 1;
}

.quote-name {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	color: #fff;
}

.quote-role {
	display: block;
	font-size: 13px;
	color: var(--moss-muted);
	margin-top: 2px;
}

/* ================= Post cards ================= */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: clip;
	transition: transform 0.25s, box-shadow 0.25s;
}

.post-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

.post-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #e2d9c4;
	overflow: hidden;
}

.post-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.post-card:hover .post-media img {
	transform: scale(1.045);
}

.post-body {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 22px;
	flex: 1;
}

.post-date {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ember-text);
	font-weight: 700;
}

.post-title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.38;
}

.post-title a {
	color: var(--ink);
	text-decoration: none;
}

.post-title a:hover {
	color: var(--ember-deep);
}

.post-excerpt {
	font-size: 14.5px;
	color: var(--muted);
	flex: 1;
}

.post-card .text-link {
	margin-top: 2px;
	align-self: flex-start;
}

/* ================= CTA band (ember brick, ridgeline peaks in the corner) ================= */
.cta-band {
	background: var(--ember);
	color: #fdf6ea;
	position: relative;
	overflow: clip;
}

/* faint mountain silhouette floating in the corner */
.cta-band::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -12px;
	width: 460px;
	height: 220px;
	background: rgba(42, 53, 33, 0.18);
	clip-path: polygon(0 100%, 18% 44%, 32% 68%, 52% 10%, 68% 52%, 84% 30%, 100% 100%);
	pointer-events: none;
}

.cta-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	padding-block: clamp(44px, 6vw, 72px);
	position: relative;
	z-index: 1;
}

.cta-title {
	font-size: clamp(28px, 3.7vw, 44px);
	font-weight: 800;
	color: #fdf6ea;
}

.cta-text {
	margin-top: 10px;
	font-size: 15.5px;
	color: rgba(253, 246, 234, 0.85);
	max-width: 560px;
}

/* ================= Inner page hero ================= */
.page-hero {
	background: var(--moss-dark);
	color: var(--moss-ink);
	padding: clamp(42px, 6vw, 70px) 0 clamp(58px, 7vw, 92px);
	position: relative;
	overflow: clip;
}

/* sand ridgeline into the page body */
.page-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(22px, 3.6vw, 46px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46 L0 30 L190 14 L380 34 L600 8 L820 30 L1030 16 L1240 34 L1440 22 L1440 46 Z' fill='%23ede5d3'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	pointer-events: none;
}

.page-hero .kicker {
	color: #e8b48c;
}

.page-hero-title {
	font-size: clamp(32px, 4.4vw, 52px);
	font-weight: 800;
	color: #fbf6ea;
	max-width: 880px;
}

.page-hero-sub {
	margin-top: 13px;
	font-size: 16.5px;
	color: var(--moss-muted);
	max-width: 640px;
}

/* ================= Entry content ================= */
.entry-content {
	max-width: 760px;
	font-size: 16.5px;
	line-height: 1.85;
	color: var(--ink-soft);
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2 {
	font-size: 27px;
	margin-top: 2em;
}

.entry-content h3 {
	font-size: 21px;
	margin-top: 1.7em;
}

.entry-content a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: rgba(201, 79, 56, 0.65);
	text-decoration-thickness: 2.5px;
	text-underline-offset: 3px;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content ul,
.entry-content ol {
	padding-left: 24px;
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--ember);
	font-style: italic;
	color: var(--ink);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.entry-content details {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
}

.entry-content details + details {
	margin-top: 12px;
}

.entry-content summary {
	cursor: pointer;
	padding: 16px 46px 16px 20px;
	font-weight: 700;
	font-family: var(--font-display);
	color: var(--ink);
	list-style: none;
	position: relative;
}

.entry-content summary::-webkit-details-marker {
	display: none;
}

.entry-content summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-display);
	font-size: 22px;
	color: var(--ember-deep);
}

.entry-content details[open] summary::after {
	content: "\2212";
}

.entry-content details > *:not(summary) {
	padding: 0 20px;
}

.entry-content details > p:last-child {
	padding-bottom: 18px;
}

.entry-hero-img {
	margin: 0 auto 42px;
	max-width: 960px;
}

.entry-hero-img img {
	width: 100%;
	border-radius: var(--radius);
}

.entry-single .entry-content,
.entry-single .entry-hero-img {
	margin-inline: auto;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	max-width: 760px;
	margin: 56px auto 0;
	padding-top: 24px;
	border-top: 2px solid rgba(201, 79, 56, 0.4);
	font-weight: 600;
	font-size: 14.5px;
}

.post-nav a {
	color: var(--ink);
	text-decoration: none;
}

.post-nav a:hover {
	text-decoration: underline;
	text-decoration-color: var(--ember);
}

.post-nav-next {
	text-align: right;
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 8px;
}

.contact-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--moss);
	border-radius: var(--radius);
	padding: 26px 24px;
}

.contact-card h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.contact-card p {
	font-size: 14.5px;
	color: var(--muted);
	margin: 0 0 6px;
}

.contact-card a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2.5px solid rgba(201, 79, 56, 0.6);
}

/* ================= Archives / search / 404 ================= */
.pagination-nav {
	margin-top: 52px;
	text-align: center;
}

.pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	margin: 0 3px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	background: var(--surface);
}

.pagination-nav .page-numbers.current {
	background: var(--moss);
	border-color: var(--moss);
	color: var(--moss-ink);
}

.pagination-nav a.page-numbers:hover {
	border-color: var(--moss);
	color: var(--ink);
}

.search-again {
	margin-bottom: 34px;
}

.result-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 840px;
}

.result-card {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 20px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.result-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.result-media {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: #e2d9c4;
}

.result-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.result-body {
	flex: 1;
	min-width: 0;
}

.result-body .badge {
	margin-bottom: 8px;
	background: rgba(74, 93, 58, 0.14);
	color: var(--moss-deep);
}

.result-title {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
}

.result-title a {
	color: var(--ink);
	text-decoration: none;
}

.result-title a:hover {
	color: var(--ember-deep);
}

.result-excerpt,
.result-price {
	margin-top: 5px;
	font-size: 14px;
	color: var(--muted);
}

.result-price ins {
	text-decoration: none;
	font-weight: 600;
	color: var(--ink);
}

.result-arrow {
	flex: none;
	color: var(--ember-deep);
}

.empty-state {
	max-width: 560px;
	margin-inline: auto;
	text-align: center;
	padding: clamp(30px, 5vw, 60px) 20px;
}

.empty-state h2 {
	font-size: 28px;
	margin-bottom: 14px;
}

.empty-state p {
	color: var(--muted);
	margin-bottom: 26px;
}

.empty-search {
	margin: 0 auto 26px;
	max-width: 460px;
}

.empty-search .search-form {
	margin-inline: auto;
}

.empty-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* ================= Footer (deep moss, ember seam on top) ================= */
.site-footer {
	background: var(--moss-dark);
	color: var(--moss-ink);
	border-top: 3px solid var(--ember);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.3fr;
	gap: clamp(28px, 5vw, 72px);
	padding-block: clamp(46px, 6vw, 78px) clamp(30px, 4vw, 54px);
}

.f-brand .brand-text {
	color: var(--moss-ink);
	margin-bottom: 16px;
}

.f-brand .brand-mark {
	background: var(--ember);
	color: #fdf6ea;
}

.f-about {
	color: var(--moss-muted);
	font-size: 14.5px;
	max-width: 380px;
	margin-bottom: 22px;
	line-height: 1.75;
}

.f-title {
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(240, 234, 217, 0.5);
	margin-bottom: 18px;
}

.f-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.f-menu li {
	margin-bottom: 10px;
}

.f-menu a {
	color: var(--moss-ink);
	text-decoration: none;
	font-size: 15px;
}

.f-menu a:hover {
	color: #e8b48c;
}

.f-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.f-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 14.5px;
	color: var(--moss-muted);
}

.f-contact-list .icon {
	flex: none;
	margin-top: 3px;
	color: #e0885f;
}

.f-contact-list a {
	color: var(--moss-ink);
	text-decoration: none;
}

.f-contact-list a:hover {
	color: #e8b48c;
}

.social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.social-link {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	color: var(--moss-ink);
	background: transparent;
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
	border-color: var(--ember);
	color: #e8b48c;
	transform: translateY(-2px);
}

.footer-bottom {
	border-top: 1px solid var(--line-dark);
}

.footer-bottom-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 20px;
}

.copyright {
	font-size: 13px;
	color: var(--moss-muted);
}

.policy-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.policy-menu a {
	font-size: 13px;
	color: var(--moss-muted);
	text-decoration: none;
}

.policy-menu a:hover {
	color: #e8b48c;
}

/* ================= Contact rail / QR modal ================= */
.contact-rail {
	position: fixed;
	bottom: 26px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.contact-rail.rail-right {
	right: 22px;
}

.contact-rail.rail-left {
	left: 22px;
}

.rail-btn {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: var(--radius);
	background: var(--moss);
	color: var(--moss-ink);
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 14px 28px -12px rgba(43, 49, 34, 0.65);
	transition: transform 0.2s, background 0.2s, color 0.2s;
}

.rail-btn:hover {
	background: var(--ember);
	color: #fdf6ea;
	transform: translateY(-3px);
}

.qr-modal {
	z-index: 130;
	display: grid;
	place-items: center;
	padding: 20px;
}

.qr-panel {
	position: relative;
	width: min(360px, calc(100vw - 40px));
	max-height: calc(100vh - 60px);
	overflow: auto;
	background: var(--surface);
	color: var(--ink);
	border-radius: var(--radius);
	border-top: 4px solid var(--ember);
	padding: 32px 26px 26px;
	text-align: center;
	transform: translateY(16px);
	opacity: 0;
	transition: transform 0.24s, opacity 0.24s;
}

.qr-modal.open .qr-panel {
	transform: none;
	opacity: 1;
}

.qr-close {
	position: absolute;
	top: 12px;
	right: 12px;
	border-color: var(--line);
	color: var(--ink);
}

.qr-title {
	font-size: 22px;
	margin-bottom: 14px;
}

.qr-img {
	width: 210px;
	height: auto;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
}

.qr-text {
	margin-top: 12px;
	font-size: 14px;
	color: var(--muted);
}

.qr-btn {
	margin-top: 16px;
}

/* ================= WooCommerce: breadcrumb & shop head ================= */
.woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--moss-muted);
}

.woocommerce-breadcrumb a {
	color: var(--moss-ink);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: #e8b48c;
}

.bc-sep {
	margin: 0 8px;
	opacity: 0.5;
}

.page-hero-shop {
	padding-top: 24px;
}

.page-hero-shop .woocommerce-breadcrumb {
	padding-bottom: 20px;
}

.single-bc {
	padding-top: 22px;
}

.single-bc .woocommerce-breadcrumb {
	color: var(--muted);
}

.single-bc .woocommerce-breadcrumb a {
	color: var(--ink-soft);
}

.single-bc .woocommerce-breadcrumb a:hover {
	color: var(--ember-deep);
}

.wc-page .page-title {
	font-size: clamp(32px, 4.4vw, 48px);
	margin-bottom: 8px;
}

.shop-sub {
	color: var(--muted);
	max-width: 640px;
	margin-bottom: 8px;
}

.woocommerce-result-count {
	font-size: 14px;
	color: var(--muted);
	margin: 0;
	display: inline-block;
}

.woocommerce-ordering {
	margin: 0 0 0 12px;
	display: inline-block;
}

.woocommerce-ordering select,
select {
	font: inherit;
	font-size: 14px;
	padding: 10px 38px 10px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232b3122' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
	appearance: none;
	color: var(--ink);
}

.wc-page .woocommerce-notices-wrapper:not(:empty) {
	display: block;
	margin-bottom: 22px;
}

/* ================= Product grid (kills Woo clearfix / floats) ================= */
ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
}

ul.products::before,
ul.products::after {
	content: none !important;
	display: none !important;
}

ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: clip;
	transition: transform 0.25s, box-shadow 0.25s;
	min-width: 0;
}

ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}

ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	background: #e2d9c4;
}

ul.products li.product .onsale {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 5px 13px;
	border-radius: var(--radius-sm);
	background: var(--ember);
	color: #fdf6ea;
	font-family: var(--font-display);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-display);
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.35;
	color: var(--ink);
	padding: 18px 18px 0;
}

ul.products li.product .price {
	padding: 8px 18px 0;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-soft);
	display: block;
}

ul.products li.product .price del {
	color: var(--muted);
	font-weight: 400;
	margin-right: 8px;
}

ul.products li.product .price ins {
	text-decoration: none;
	color: var(--ember-text);
}

ul.products li.product .button {
	margin: 14px 18px 18px;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 20px;
	background: transparent;
	border: 2px solid var(--moss);
	border-radius: var(--radius-sm);
	color: var(--moss-deep);
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	margin-top: auto;
}

ul.products li.product .button:hover {
	background: var(--moss);
	border-color: var(--moss);
	color: var(--moss-ink);
}

ul.products li.product .button.loading {
	opacity: 0.6;
}

ul.products li.product .added_to_cart {
	margin: -8px 18px 18px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ember-text);
	text-decoration: underline;
}

.woocommerce-pagination {
	margin-top: 52px;
	text-align: center;
}

.woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-pagination .page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.woocommerce-pagination .page-numbers li .page-numbers.current {
	background: var(--moss);
	border-color: var(--moss);
	color: var(--moss-ink);
}

.woocommerce-no-products-found {
	max-width: 560px;
	padding: clamp(30px, 5vw, 60px) 20px;
	margin-inline: auto;
	text-align: center;
	color: var(--muted);
}

/* ================= Notices ================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--moss);
	border-radius: var(--radius-sm);
	padding: 15px 20px;
	margin: 0 0 18px;
	font-size: 14.5px;
	color: var(--ink-soft);
	list-style: none;
}

.woocommerce-error {
	border-left-color: var(--danger);
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	order: 2;
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 18px;
	border: 2px solid var(--moss);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--moss-deep);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-message .button:hover {
	background: var(--moss);
	color: var(--moss-ink);
}

/* ================= Single product ================= */
.wc-page div.product {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(30px, 4.5vw, 64px);
	align-items: start;
}

.wc-page div.product .woocommerce-product-gallery,
.wc-page div.product .summary {
	min-width: 0;
}

.wc-page div.product > .onsale {
	display: none;
}

.woocommerce-product-gallery {
	position: relative;
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
}

.woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	background: #e2d9c4;
}

.woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.woocommerce-product-gallery .flex-control-thumbs li {
	width: 84px;
	cursor: pointer;
}

.woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	opacity: 0.7;
	transition: opacity 0.2s, border-color 0.2s;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--moss);
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: var(--radius);
	background: rgba(250, 246, 235, 0.94);
	color: var(--ink);
	text-decoration: none;
	font-size: 18px;
	border: 1px solid var(--line);
}

.summary .product_title {
	font-size: clamp(30px, 3.6vw, 42px);
	margin-bottom: 14px;
}

.summary .price {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 16px;
	display: block;
}

.summary .price del {
	color: var(--muted);
	font-weight: 400;
	font-size: 19px;
	margin-right: 10px;
}

.summary .price ins {
	text-decoration: none;
	color: var(--ember-text);
}

.summary .woocommerce-product-details__short-description {
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-soft);
	margin-bottom: 10px;
}

.summary form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 24px 0 22px;
}

.summary .quantity .qty {
	width: 92px;
	height: 52px;
	border: 2px solid var(--moss);
	border-radius: var(--radius);
	text-align: center;
	font: inherit;
	font-weight: 600;
	background: var(--surface);
	color: var(--ink);
}

.summary .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 34px;
	background: var(--ember);
	color: #fdf6ea;
	border: 2px solid var(--ember);
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.summary .single_add_to_cart_button:hover {
	background: var(--ember-deep);
	border-color: var(--ember-deep);
	color: #fff;
}

.summary .product_meta {
	font-size: 13.5px;
	color: var(--muted);
	border-top: 2px solid rgba(201, 79, 56, 0.35);
	padding-top: 18px;
}

.summary .product_meta > span {
	display: block;
	margin-bottom: 6px;
}

.summary .product_meta a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2.5px solid rgba(201, 79, 56, 0.6);
}

.summary .stock.in-stock {
	color: #3c6b34;
	font-weight: 600;
	font-size: 14px;
}

.summary .stock.out-of-stock {
	color: var(--danger);
	font-weight: 600;
	font-size: 14px;
}

.wc-page div.product .woocommerce-tabs,
.wc-page div.product .prod-specs,
.wc-page div.product .related.products,
.wc-page div.product .up-sells {
	grid-column: 1 / -1;
}

.woocommerce-tabs {
	margin-top: clamp(28px, 4vw, 52px);
}

.woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 2px solid var(--line);
}

.woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 13px 22px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--ink);
	border-bottom-color: var(--ember);
}

.woocommerce-tabs .panel {
	padding: 26px 0 0;
	max-width: 840px;
	font-size: 16px;
	line-height: 1.85;
	color: var(--ink-soft);
}

.woocommerce-tabs .panel > h2:first-child {
	display: none;
}

.prod-specs {
	margin-top: clamp(28px, 4vw, 52px);
}

.prod-specs-title {
	font-size: 25px;
	margin-bottom: 18px;
}

.prod-specs-scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.prod-specs-table {
	width: 100%;
	min-width: 460px;
	border-collapse: collapse;
	font-size: 15px;
}

.prod-specs-table th {
	width: 30%;
	text-align: left;
	padding: 14px 20px;
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
	background: rgba(74, 93, 58, 0.07);
}

.prod-specs-table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
}

.prod-specs-table tr:last-child th,
.prod-specs-table tr:last-child td {
	border-bottom: 0;
}

.related.products > h2,
.up-sells > h2 {
	font-size: 27px;
	margin: clamp(30px, 5vw, 56px) 0 6px;
}

.related.products ul.products,
.up-sells ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ================= Forms / cart / checkout / account ================= */
.woocommerce form .form-row {
	margin: 0 0 16px;
	padding: 0;
}

.woocommerce form .form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--ink);
}

.input-text,
.woocommerce textarea,
.woocommerce select {
	width: 100%;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 13px 16px;
	transition: border-color 0.2s;
}

.input-text:focus,
.woocommerce textarea:focus {
	border-color: var(--moss);
	outline: none;
}

.woocommerce .required {
	color: var(--danger);
	text-decoration: none;
}

table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

table.shop_table th,
table.shop_table td {
	padding: 15px 16px;
	text-align: left;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

table.shop_table thead th {
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	background: rgba(74, 93, 58, 0.07);
}

table.shop_table tbody tr:last-child td,
table.shop_table tbody tr:last-child th {
	border-bottom: 0;
}

table.shop_table .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	display: block;
}

table.shop_table .product-name a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

table.shop_table .product-remove a {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--muted);
	font-size: 18px;
	text-decoration: none;
	line-height: 1;
}

table.shop_table .product-remove a:hover {
	border-color: var(--danger);
	color: var(--danger);
}

table.shop_table .quantity .qty {
	width: 74px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-align: center;
	font: inherit;
	background: var(--surface);
}

.woocommerce-cart-form {
	margin-bottom: 34px;
}

.woocommerce-cart-form .coupon {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.woocommerce-cart-form .coupon .input-text {
	width: 200px;
	border-radius: var(--radius-sm);
	padding: 12px 18px;
}

.woocommerce-cart-form td.actions {
	padding-top: 18px;
}

.woocommerce-cart-form td.actions > .button,
.woocommerce-cart-form .coupon .button,
.wc-proceed-to-checkout .checkout-button,
.woocommerce #payment #place_order,
.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-address-fields .button,
.woocommerce-EditAccountForm .button,
.woocommerce form.checkout_coupon .button,
.woocommerce-form-track-order .button,
.woocommerce-ResetPassword .button,
button.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 28px;
	background: var(--moss);
	color: var(--moss-ink);
	border: 2px solid var(--moss);
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.woocommerce-cart-form td.actions > .button:hover,
.wc-proceed-to-checkout .checkout-button:hover,
.woocommerce #payment #place_order:hover {
	background: var(--ember);
	border-color: var(--ember);
	color: #fdf6ea;
}

.woocommerce-cart-form td.actions > .button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.cart-collaterals {
	display: flex;
	justify-content: flex-end;
}

.cart-collaterals .cart_totals {
	width: min(460px, 100%);
}

.cart-collaterals .cart_totals > h2 {
	font-size: 25px;
	margin-bottom: 14px;
}

.wc-proceed-to-checkout {
	margin-top: 18px;
}

.wc-proceed-to-checkout .checkout-button {
	width: 100%;
	height: 56px;
}

.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.woocommerce-checkout form.checkout > #customer_details {
	min-width: 0;
	grid-row: 1 / span 2;
}

.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout form.checkout > #order_review {
	grid-column: 2;
	min-width: 0;
}

.woocommerce-checkout #order_review_heading {
	grid-row: 1;
	font-size: 25px;
	margin-bottom: 0;
	align-self: end;
}

.woocommerce-checkout #order_review {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	margin-top: 14px;
}

.woocommerce-checkout #order_review table.shop_table {
	border: 0;
}

.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3 {
	font-size: 23px;
	margin: 0 0 16px;
}

.woocommerce-additional-fields > h3 {
	margin-top: 26px;
}

#payment ul.wc_payment_methods {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

#payment ul.wc_payment_methods li {
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14.5px;
}

#payment ul.wc_payment_methods input[type="radio"],
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
	accent-color: var(--ember-deep);
	width: 16px;
	height: 16px;
	margin-right: 8px;
}

#payment div.payment_box {
	font-size: 13.5px;
	color: var(--muted);
	padding: 10px 0 0;
}

.woocommerce #payment #place_order {
	width: 100%;
	height: 56px;
}

.woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 16px;
	font-size: 13.5px;
	color: var(--muted);
}

/* ================= My account / order confirmation ================= */
.woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
}

body.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(26px, 4vw, 52px);
	align-items: start;
}

body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce > .woocommerce-form-login,
body.woocommerce-account .woocommerce > .woocommerce-form-register,
body.woocommerce-account .woocommerce > .woocommerce-ResetPassword,
body.woocommerce-account .woocommerce > h2 {
	grid-column: 1 / -1;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 13px 18px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-soft);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation li:last-child a {
	border-bottom: 0;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
	background: rgba(74, 93, 58, 0.1);
	color: var(--ink);
	border-left-color: var(--ember);
}

.woocommerce-MyAccount-content {
	min-width: 0;
	font-size: 15.5px;
	color: var(--ink-soft);
}

.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3 {
	font-size: 23px;
	margin-bottom: 16px;
}

.woocommerce-MyAccount-content fieldset {
	border: 0;
	padding: 0;
	margin: 22px 0 0;
}

.woocommerce-MyAccount-content legend {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--ink);
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword {
	max-width: 460px;
	margin-inline: auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 4px solid var(--moss);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 36px);
}

.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-ResetPassword .button {
	width: 100%;
	margin-top: 6px;
}

.woocommerce-LostPassword {
	font-size: 13.5px;
	margin-top: 12px;
}

.woocommerce-LostPassword a,
.woocommerce-privacy-policy-text a {
	color: var(--ink);
}

.woocommerce-privacy-policy-text {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 14px;
}

.show-password-input {
	display: none;
}

.woocommerce-order ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	list-style: none;
	margin: 0 0 26px;
	padding: 20px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--moss);
	border-radius: var(--radius);
	font-size: 13.5px;
	color: var(--muted);
}

.woocommerce-order ul.order_details li strong {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	color: var(--ink);
}

.woocommerce-order .woocommerce-notice {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 20px;
}

.woocommerce-customer-details address {
	font-style: normal;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 24px;
}

/* ================= Responsive ================= */
@media (max-width: 1200px) {
	.prod-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.related.products ul.products,
	.up-sells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.main-nav {
		display: none;
	}
	.nav-toggle {
		display: grid;
	}
	.cats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.perks-grid,
	.steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.prod-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.quotes-grid {
		grid-template-columns: 1fr;
	}
	.split-in {
		grid-template-columns: 1fr;
	}
	.split-flip .split-media {
		order: 0;
	}
	.hero-shape-tent {
		display: none;
	}
	.wc-page div.product {
		grid-template-columns: 1fr;
	}
	.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
	}
	.woocommerce-checkout form.checkout > #customer_details,
	.woocommerce-checkout form.checkout > #order_review_heading,
	.woocommerce-checkout form.checkout > #order_review {
		grid-column: 1;
		grid-row: auto;
	}
	.contact-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}
	.hero {
		min-height: 72vh;
	}
	/* the tag overlays the top-right corner: push the title block below it
	   instead of letting wrapped lines run underneath */
	.hero-in {
		padding-top: clamp(240px, 42vw, 310px);
	}
	.hero-stats {
		gap: 22px 34px;
		margin-top: 38px;
	}
	.hero-tag {
		width: clamp(172px, 44vw, 250px);
		padding: 18px 20px 34px 16px;
	}
	.hero-tag-num {
		font-size: clamp(32px, 8.6vw, 46px);
	}
	.hero-shape-firepit {
		width: 78px;
		bottom: 128px;
		right: 18px;
	}
	.cta-in {
		flex-direction: column;
		align-items: flex-start;
	}
	table.shop_table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	table.shop_table > tbody,
	table.shop_table > thead {
		min-width: 560px;
	}
	.woocommerce-cart-form td.actions {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
	}
	.contact-rail {
		bottom: 18px;
	}
	.contact-rail.rail-right {
		right: 14px;
	}
	.contact-rail.rail-left {
		left: 14px;
	}
	.rail-btn {
		width: 47px;
		height: 47px;
	}
	.rail-no-mobile {
		display: none;
	}
}

@media (max-width: 560px) {
	/* long brand name + header buttons must fit a 390px viewport:
	   drop the account button (drawer keeps My Account) and let the
	   brand name ellipsize instead of pushing buttons off-screen */
	.header-bar {
		gap: 10px;
		min-height: 64px;
	}
	.brand {
		flex: 0 1 auto;
		min-width: 0;
	}
	.brand-text {
		gap: 8px;
		min-width: 0;
	}
	.brand-mark {
		width: 32px;
		height: 32px;
	}
	.brand-name {
		font-size: 15px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.header-actions > a.hbtn:not(.cart-btn) {
		display: none;
	}
	.hbtn {
		width: 38px;
		height: 38px;
	}
	.header-actions {
		gap: 6px;
	}
	.perks-grid,
	.steps-grid,
	.cats-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-bottom-in {
		flex-direction: column;
		align-items: flex-start;
	}
	.hero-actions .btn {
		width: 100%;
	}
	.hero-shape-firepit {
		display: none;
	}
	.hero-in {
		padding-top: clamp(200px, 54vw, 250px);
	}
	.hero-tag {
		width: clamp(150px, 56vw, 210px);
		padding: 16px 18px 30px 14px;
	}
	.hero-tag-num {
		font-size: clamp(28px, 11vw, 38px);
	}
	.hero-tag-label {
		font-size: 12px;
	}
	.split-media::before {
		inset: -10px -8px 8px -10px;
	}
	.summary form.cart {
		align-items: stretch;
	}
	.summary form.cart .single_add_to_cart_button {
		flex: 1;
	}
}

@media (max-width: 400px) {
	.prod-grid,
	ul.products {
		grid-template-columns: 1fr;
	}
	.related.products ul.products,
	.up-sells ul.products {
		grid-template-columns: 1fr;
	}
}
