/*
Theme Name: Cortado
Theme URI: https://example.com/cortado
Author: Studio
Author URI: https://example.com
Description: Dark-roast specialty retail WooCommerce theme. Deep espresso-brown base, steamed-milk ivory type and burnished amber-copper accents, built from solid colour panels, hairline rules and clipped-shape geometry (no gradient fills, no tiled patterns). Single-family serif type, a split copy-panel/photo hero, 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: cortado
Tags: e-commerce, custom-menu, custom-logo, featured-images, translation-ready

Fonts: Crimson Pro, one family for both display headings and body copy,
licensed under the SIL Open Font License 1.1 (commercial web use
permitted), loaded from Google Fonts.
https://fonts.google.com/specimen/Crimson+Pro
*/

/* ================= Design tokens ================= */
:root {
	--bg: #2b1d14;
	--surface: #37261a;
	--surface-2: #422e1f;
	--espresso: #1f130c;
	--espresso-deep: #180e08;
	--ink: #f2e9dd;
	--ink-soft: #ddccb9;
	--muted: #b29477;
	--amber: #c98a3d;
	--amber-bright: #e0a558;
	--amber-soft: #eec389;
	--amber-ink: #241403;
	--cream: #f2e9dd;
	--cream-surface: #fbf6ec;
	--cream-ink: #2b1d14;
	--cream-soft: #59463a;
	--cream-muted: #7d6a58;
	--cream-line: rgba(43, 29, 20, 0.15);
	--danger: #e07b62;
	--line: rgba(242, 233, 221, 0.14);
	--line-strong: rgba(242, 233, 221, 0.26);
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 24px 46px -26px rgba(8, 4, 1, 0.78);
	--font-display: "Crimson Pro", Georgia, "Times New Roman", serif;
	--font-body: "Crimson Pro", Georgia, "Times New Roman", serif;
	--wrap: 1200px;
	/* single gentle dip in the bottom edge of every button, rest stays rectangular */
	--wave-clip: polygon(0% 0%, 100% 0%, 100% 100%, 76% 100%, 69% 90%, 63% 82%, 56% 78%, 50% 77%, 44% 78%, 37% 82%, 31% 90%, 24% 100%, 0% 100%);
}

/* ================= 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(--amber);
	color: var(--amber-ink);
}

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

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

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(--amber);
	color: var(--amber-ink);
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	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(22px);
	transition: opacity 0.65s cubic-bezier(0.22, 0.8, 0.32, 1), transform 0.65s cubic-bezier(0.22, 0.8, 0.32, 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 ================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px 6px;
	background: transparent;
	color: var(--ink);
	border: 1.5px solid var(--line-strong);
	border-radius: 0;
	clip-path: var(--wave-clip);
	font-family: var(--font-body);
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0.015em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}

.btn:hover {
	background: var(--amber);
	border-color: var(--amber);
	color: var(--amber-ink);
	transform: translateY(-2px);
}

.btn-accent {
	background: var(--amber);
	border-color: var(--amber);
	color: var(--amber-ink);
}

.btn-accent:hover {
	background: var(--cream);
	border-color: var(--cream);
	color: var(--cream-ink);
}

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

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

.btn-ghost-light {
	background: rgba(242, 233, 221, 0.1);
	border-color: rgba(242, 233, 221, 0.5);
	color: var(--ink);
}

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

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

.btn-dark-on-accent:hover {
	background: var(--cream-surface);
	border-color: var(--cream-surface);
	color: var(--cream-ink);
	transform: translateY(-2px);
}

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

.btn .icon {
	flex: none;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--amber-soft);
	text-decoration: none;
	border-bottom: 2px solid rgba(201, 138, 61, 0.55);
	padding-bottom: 2px;
}

.text-link:hover {
	border-color: var(--amber);
	color: var(--amber-bright);
}

/* ================= Section headings ================= */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--amber-soft);
	margin: 0 0 14px;
}

/* short solid crema tick, flat colour, no gradient */
.kicker::before {
	content: "";
	width: 22px;
	height: 3px;
	flex: none;
	border-radius: 2px;
	background: var(--amber);
}

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

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

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

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

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

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

.sec-dark .kicker {
	color: var(--amber-soft);
}

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

.site-header.scrolled {
	background: #1f130c;
	box-shadow: 0 14px 32px -22px rgba(0, 0, 0, 0.85);
}

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

.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);
}

.brand-mark {
	width: 40px;
	height: 40px;
	border-radius: var(--radius);
	background: var(--amber);
	color: var(--amber-ink);
	display: grid;
	place-items: center;
	flex: none;
}

.brand-name {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.005em;
	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-body);
	font-size: 14.5px;
	font-weight: 500;
	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(242, 233, 221, 0.07);
	box-shadow: inset 0 -2px 0 var(--amber);
}

.nav-list > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px 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-2);
	border: 1px solid var(--line-strong);
	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 13px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	border-radius: 8px;
}

.nav-list .sub-menu a:hover {
	background: rgba(242, 233, 221, 0.09);
	color: var(--amber-soft);
}

.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: 1px solid var(--line);
	border-radius: var(--radius-sm);
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hbtn:hover {
	border-color: var(--amber);
	color: var(--amber-soft);
	background: rgba(201, 138, 61, 0.1);
}

.cart-count {
	position: absolute;
	top: -6px;
	right: -7px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--amber);
	color: var(--amber-ink);
	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(12, 6, 2, 0.68);
	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(--espresso);
	color: var(--ink);
	padding: 20px 24px 40px;
	overflow-y: auto;
	transform: translateX(102%);
	transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.32, 1);
	border-radius: var(--radius) 0 0 var(--radius);
	border-left: 3px solid var(--amber);
}

.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: 600;
}

.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: 600;
	color: var(--ink);
	text-decoration: none;
}

.drawer-nav a:hover {
	color: var(--amber-soft);
}

.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(--surface);
}

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

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	padding: 5px 6px 5px 20px;
	border: 1.5px solid var(--amber);
	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(--amber);
	color: var(--amber-ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s;
}

.search-submit:hover {
	background: var(--amber-bright);
	color: var(--amber-ink);
}

/* ================= Hero (H-2S: split copy panel + brew-bar photo) ================= */
.hero {
	position: relative;
	background: var(--espresso);
	overflow: clip;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
	align-items: stretch;
	min-height: clamp(420px, 52vw, 640px);
}

/* left: solid espresso copy panel */
.hero-copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: var(--ink);
	padding: clamp(36px, 4.6vw, 56px) clamp(24px, 3.4vw, 44px) clamp(36px, 4.6vw, 52px) clamp(24px, 5vw, 56px);
}

.hero-kicker {
	color: var(--amber-soft);
}

.hero-title {
	max-width: 34ch;
	font-size: clamp(22px, 2.05vw, 29px);
	font-weight: 600;
	color: #fbf6ec;
	letter-spacing: 0;
	line-height: 1.26;
}

.hero-sub {
	margin-top: 16px;
	max-width: 40ch;
	font-size: 15.5px;
	line-height: 1.62;
	color: rgba(242, 233, 221, 0.86);
}

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

.hero-actions .btn-accent {
	background: var(--amber);
	border-color: var(--amber);
	color: var(--amber-ink);
}

.hero-actions .btn-accent:hover {
	background: var(--cream-surface);
	border-color: var(--cream-surface);
	color: var(--cream-ink);
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(18px, 2.6vw, 32px);
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(242, 233, 221, 0.28);
}

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

.hero-stats dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	color: #fbf6ec;
	line-height: 1.12;
}

/* bold typographic move: first stat reads as an oversized number against the panel */
.hero-stats .stat-big dd {
	font-size: clamp(36px, 3.6vw, 50px);
	line-height: 1;
}

.hero-stats dt {
	font-size: 11.5px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(242, 233, 221, 0.6);
	margin-top: 5px;
	max-width: 16ch;
}

/* right: full-height brew-bar photograph, one coherent image */
.hero-media {
	position: relative;
	overflow: clip;
}

.hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* the single signature accent: a solid amber corner tab flush on the seam
   where the photo meets the copy panel -- anchored to the edge, not
   floating in whitespace */
.hero-media-tab {
	position: absolute;
	z-index: 3;
	left: 0;
	top: clamp(28px, 4vw, 48px);
	width: 7px;
	height: clamp(44px, 5.2vw, 68px);
	background: var(--amber);
	transform: translateX(-100%);
}

@media (max-width: 900px) {
	.hero-grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.hero-media {
		order: 1;
		height: clamp(220px, 46vw, 340px);
	}
	.hero-copy {
		order: 2;
	}
	.hero-media-tab {
		left: clamp(20px, 6vw, 40px);
		top: auto;
		bottom: 0;
		width: clamp(44px, 12vw, 68px);
		height: 7px;
		transform: translateY(100%);
	}
}

/* ================= 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-top: 3px solid var(--amber);
	border-radius: var(--radius);
	padding: 24px 22px;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.perk:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-top-color: var(--amber-bright);
}

.perk-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-sm);
	background: rgba(201, 138, 61, 0.14);
	color: var(--amber-soft);
	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, border-color 0.25s;
}

.cat-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: rgba(201, 138, 61, 0.45);
}

.cat-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #241812;
	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, 138, 61, 0.4);
	transition: border-color 0.25s;
}

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

.cat-name {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	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: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: var(--radius-sm);
	background: var(--amber);
	color: var(--amber-ink);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s, transform 0.25s;
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.7);
}

.cat-card:hover .cat-arrow,
.cat-card:focus-visible .cat-arrow {
	opacity: 1;
	transform: none;
}
/* ================= Featured product cards (darkest roast panel) ================= */
.prod-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.prod-card {
	display: flex;
	flex-direction: column;
	background: rgba(242, 233, 221, 0.045);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: clip;
	transition: transform 0.25s, border-color 0.25s;
}

.prod-card:hover {
	transform: translateY(-5px);
	border-color: rgba(201, 138, 61, 0.6);
}

.prod-media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #241812;
	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: 8px;
	background: var(--surface-2);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.badge-sale {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--amber);
	color: var(--amber-ink);
}

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

.prod-name {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.002em;
}

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

.prod-name a:hover {
	color: var(--amber-soft);
}

.prod-price {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--amber-soft);
}

.prod-price del {
	color: var(--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(242, 233, 221, 0.35);
	color: var(--ink);
}

.prod-btn:hover {
	background: var(--amber);
	border-color: var(--amber);
	color: var(--amber-ink);
	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;
}

.split-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border-bottom: 4px solid var(--amber);
}

.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 (steamed-milk ivory contrast band) ================= */
.steps {
	background: var(--cream);
	color: var(--cream-soft);
}

.steps .sec-title {
	color: var(--cream-ink);
}

.steps .sec-sub {
	color: var(--cream-muted);
}

.steps .kicker {
	color: #9a6f33;
}

.steps .kicker::before {
	background: #9a6f33;
}

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

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

.step-num {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: var(--radius-sm);
	background: var(--cream-ink);
	color: var(--amber-soft);
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 15px;
}

.step-title {
	font-size: 18px;
	margin-bottom: 7px;
	color: var(--cream-ink);
}

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

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

.quote {
	margin: 0;
	background: rgba(242, 233, 221, 0.045);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
}

.quote-mark {
	color: var(--amber);
	margin-bottom: 14px;
}

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

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

.quote-role {
	display: block;
	font-size: 13px;
	color: var(--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: #241812;
	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(--amber-soft);
	font-weight: 600;
}

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

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

.post-title a:hover {
	color: var(--amber-soft);
}

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

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

/* ================= CTA band (burnished amber) ================= */
.cta-band {
	background: var(--amber);
	color: var(--amber-ink);
	position: relative;
	overflow: clip;
}

.cta-band::after {
	content: "";
	position: absolute;
	top: -120px;
	right: -70px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	border: 2px solid rgba(251, 246, 236, 0.3);
	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: 600;
	color: #241403;
}

.cta-text {
	margin-top: 10px;
	font-size: 15.5px;
	color: rgba(36, 20, 3, 0.8);
	max-width: 560px;
}

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

.page-hero::after {
	content: "";
	position: absolute;
	top: -100px;
	right: -70px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	border: 2px solid rgba(201, 138, 61, 0.25);
	pointer-events: none;
}

.page-hero .kicker {
	color: var(--amber-soft);
}

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

.page-hero-sub {
	margin-top: 13px;
	font-size: 16.5px;
	color: var(--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: 28px;
	margin-top: 2em;
}

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

.entry-content a {
	color: var(--amber-soft);
	text-decoration: underline;
	text-decoration-color: rgba(201, 138, 61, 0.55);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--amber-bright);
}

.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: 3.5px solid var(--amber);
	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 th {
	color: var(--ink);
}

.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: 600;
	font-family: var(--font-display);
	font-size: 17px;
	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-body);
	font-size: 22px;
	color: var(--amber-soft);
}

.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: 1px solid var(--line);
	font-weight: 600;
	font-size: 14.5px;
}

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

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

.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(--amber);
	border-radius: var(--radius);
	padding: 26px 24px;
}

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

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

.contact-card a {
	color: var(--amber-soft);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid rgba(201, 138, 61, 0.5);
}

/* ================= 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(--amber);
	border-color: var(--amber);
	color: var(--amber-ink);
}

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

.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, border-color 0.2s;
}

.result-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	border-color: rgba(201, 138, 61, 0.4);
}

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

.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(201, 138, 61, 0.14);
	color: var(--amber-soft);
}

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

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

.result-title a:hover {
	color: var(--amber-soft);
}

.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(--amber-soft);
}

.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 (deepest roast, cup rings) ================= */
.site-footer {
	background: var(--espresso-deep);
	color: var(--ink-soft);
	border-top: 4px solid var(--amber);
}

.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(--ink);
	margin-bottom: 16px;
}

.f-brand .brand-mark {
	background: var(--amber);
	color: var(--amber-ink);
}

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

.f-title {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(242, 233, 221, 0.48);
	margin-bottom: 18px;
}

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

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

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

.f-menu a:hover {
	color: var(--amber-soft);
}

.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(--muted);
}

.f-contact-list .icon {
	flex: none;
	margin-top: 3px;
	color: var(--amber);
}

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

.f-contact-list a:hover {
	color: var(--amber-soft);
}

.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);
	border-radius: var(--radius-sm);
	color: var(--ink-soft);
	background: transparent;
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
	border-color: var(--amber);
	color: var(--amber-soft);
	transform: translateY(-2px);
}

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

.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(--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(--muted);
	text-decoration: none;
}

.policy-menu a:hover {
	color: var(--amber-soft);
}

/* ================= 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: 1px solid rgba(242, 233, 221, 0.2);
	border-radius: var(--radius);
	background: var(--surface-2);
	color: var(--ink);
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.8);
	transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.rail-btn:hover {
	background: var(--amber);
	border-color: var(--amber);
	color: var(--amber-ink);
	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(--cream-surface);
	color: var(--cream-ink);
	border-radius: var(--radius);
	border-top: 4px solid var(--amber);
	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-panel .qr-title {
	color: var(--cream-ink);
}

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

.qr-close:hover {
	border-color: var(--amber);
	color: #9a6f33;
	background: rgba(201, 138, 61, 0.12);
}

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

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

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

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

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

.woocommerce-breadcrumb a:hover {
	color: var(--amber-soft);
}

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

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

.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(--amber-soft);
}

.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;
}

/* dark-scheme select: pale chevron, roast surface */
.woocommerce-ordering select,
select {
	font: inherit;
	font-size: 14px;
	padding: 10px 38px 10px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--surface-2) 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='%23f2e9dd' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
	appearance: none;
	color: var(--ink);
}

select option {
	background: var(--surface-2);
	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, border-color 0.25s;
	min-width: 0;
}

ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: rgba(201, 138, 61, 0.4);
}

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: #241812;
}

ul.products li.product .onsale {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 5px 13px;
	border-radius: 8px;
	background: var(--amber);
	color: var(--amber-ink);
	font-family: var(--font-body);
	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: 17px;
	font-weight: 600;
	letter-spacing: 0.002em;
	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(--amber-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(--amber-bright);
}

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 6px;
	background: transparent;
	border: 1.5px solid rgba(201, 138, 61, 0.75);
	border-radius: 0;
	clip-path: var(--wave-clip);
	color: var(--amber-soft);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	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(--amber);
	border-color: var(--amber);
	color: var(--amber-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(--amber-soft);
	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(--amber);
	border-color: var(--amber);
	color: var(--amber-ink);
}

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

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

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

.woocommerce-error li {
	margin: 0;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: var(--amber-soft);
}

.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 5px;
	border: 1.5px solid var(--amber);
	border-radius: 0;
	clip-path: var(--wave-clip);
	background: transparent;
	color: var(--amber-soft);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-message .button:hover {
	background: var(--amber);
	color: var(--amber-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: #241812;
}

.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: 1.5px 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(--amber);
}

.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-sm);
	background: rgba(31, 19, 12, 0.9);
	color: var(--ink);
	text-decoration: none;
	font-size: 18px;
	border: 1px solid var(--line-strong);
}

.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: 600;
	color: var(--amber-soft);
	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(--amber-bright);
}

.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: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	text-align: center;
	font: inherit;
	font-weight: 600;
	background: var(--surface-2);
	color: var(--ink);
}

.summary .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 34px 6px;
	background: var(--amber);
	color: var(--amber-ink);
	border: 1.5px solid var(--amber);
	border-radius: 0;
	clip-path: var(--wave-clip);
	font-family: var(--font-body);
	font-size: 15px;
	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(--amber-bright);
	border-color: var(--amber-bright);
	color: var(--amber-ink);
}

.summary .product_meta {
	font-size: 13.5px;
	color: var(--muted);
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

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

.summary .product_meta a {
	color: var(--amber-soft);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid rgba(201, 138, 61, 0.5);
}

.summary .stock.in-stock {
	color: #9ecf8d;
	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: 1.5px solid var(--line);
}

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

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

.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-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
	background: rgba(242, 233, 221, 0.03);
}

.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-2);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	padding: 13px 16px;
	transition: border-color 0.2s;
}

.input-text::placeholder,
.woocommerce textarea::placeholder {
	color: var(--muted);
}

.input-text:focus,
.woocommerce textarea:focus {
	border-color: var(--amber);
	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;
	color: var(--ink-soft);
}

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

table.shop_table thead th {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	background: rgba(242, 233, 221, 0.03);
}

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

table.shop_table .amount {
	color: var(--ink);
}

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-strong);
	border-radius: var(--radius-sm);
	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-strong);
	border-radius: var(--radius-sm);
	text-align: center;
	font: inherit;
	background: var(--surface-2);
	color: var(--ink);
}

.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 16px;
}

.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 6px;
	background: var(--amber);
	color: var(--amber-ink);
	border: 1.5px solid var(--amber);
	border-radius: 0;
	clip-path: var(--wave-clip);
	font-family: var(--font-body);
	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(--cream);
	border-color: var(--cream);
	color: var(--cream-ink);
}

.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;
	color: var(--ink);
}

#payment ul.wc_payment_methods input[type="radio"],
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
	accent-color: var(--amber);
	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(201, 138, 61, 0.12);
	color: var(--amber-soft);
	border-left-color: var(--amber);
}

.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 a {
	color: var(--amber-soft);
}

.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: 600;
	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(--amber);
	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(--amber-soft);
}

.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(--amber);
	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: 600;
	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;
	color: var(--ink-soft);
}

/* ================= 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;
	}
	.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-stats {
		gap: 22px 34px;
		margin-top: 30px;
	}
	.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 + 4 header buttons must fit a 390px viewport */
	.header-bar {
		gap: 10px;
		min-height: 64px;
	}
	.brand-mark {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}
	.brand-name {
		font-size: 16.5px;
	}
	.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%;
	}
	/* reserve clearance so the hero copy (full-width buttons included)
	   never runs under the fixed contact rail at this viewport */
	.hero-copy {
		padding-right: 84px;
	}
	.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;
	}
}
