/*
Theme Name: Hadhrami Fashion
Theme URI: https://hadhramifashion.com
Author: House of Saquib Hadhrami
Description: A heritage tailoring house theme for suits and shirts on WooCommerce — made-to-measure in 24 hours, ready-to-wear shirts in 2 hours. Pairs with the Hadhrami Delivery plugin for the Google Maps checkout, rider app, dispatch and live tracking.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hadhramifashion
*/

/* ---------------------------------------------------------------------------
   Tokens
--------------------------------------------------------------------------- */
:root {
	--ink: #14161a;
	--ink-2: #22252b;
	--ink-3: #3a3d44;
	--paper: #fbf8f2;
	--ivory: #f3ede1;
	--stone: #e5dccb;
	--line: #d9cfbd;
	--muted: #6f6a60;
	--brass: #a6834b;
	--brass-2: #c8a86f;
	--oxblood: #5d1e24;
	--ok: #2f5d46;

	--serif: "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 48px);
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------------------
   Base
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
p { margin: 0 0 1.1em; }

.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; background: var(--ink); color: var(--paper); padding: 12px 18px; left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

.eyebrow {
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 1.2rem;
	display: inline-flex;
	align-items: center;
	gap: .9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.lede { font-size: 1.15rem; color: var(--ink-3); max-width: 60ch; }
.italic { font-style: italic; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow, .center .lede { margin-left: auto; margin-right: auto; }

.hf-icon { flex: none; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .7rem;
	padding: 1rem 2rem;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	font-size: .76rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: var(--radius);
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(251, 248, 242, .6); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: .76rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	border-bottom: 1px solid currentColor;
	padding-bottom: .35rem;
}
.link-arrow .hf-icon { transition: transform .35s var(--ease); }
.link-arrow:hover .hf-icon { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   Announcement + header
--------------------------------------------------------------------------- */
.announce {
	background: var(--ink);
	color: var(--stone);
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-align: center;
	padding: .65rem var(--gutter);
}
.announce a { color: var(--brass-2); border-bottom: 1px solid rgba(200, 168, 111, .4); }
.announce__sep { margin: 0 1rem; opacity: .4; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--line);
	transition: box-shadow .3s var(--ease);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile menu inside the header box. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(251, 248, 242, .94);
	backdrop-filter: saturate(1.2) blur(10px);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.nav-is-open .site-header { z-index: 65; }
.site-header.is-scrolled { box-shadow: 0 6px 30px rgba(20, 22, 26, .06); }
.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 86px;
	gap: 1rem;
}
.brand { text-align: center; line-height: 1; }
.brand__name {
	display: block;
	font-family: var(--serif);
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	font-weight: 500;
	letter-spacing: .32em;
	text-transform: uppercase;
	padding-left: .32em;
}
.brand__sub {
	display: block;
	margin-top: .45rem;
	font-size: .6rem;
	letter-spacing: .5em;
	text-transform: uppercase;
	color: var(--brass);
	padding-left: .5em;
}
.brand img { max-height: 56px; width: auto; margin: 0 auto; }

.hf-menu, .primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 1.6vw, 1.8rem); }
.primary-nav a { white-space: nowrap; }
.primary-nav a, .header-tools a, .header-tools button {
	font-size: .74rem;
	font-weight: 400;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.primary-nav a { position: relative; padding: .4rem 0; }
.primary-nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--brass);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after { transform: scaleX(1); }

.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 1.6rem; }
.header-tools a, .header-tools button { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; cursor: pointer; padding: 0; }
.bag-count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 20px;
	background: var(--ink);
	color: var(--paper);
	font-size: .66rem;
	letter-spacing: 0;
}
.bag-count:empty, .bag-count[data-count="0"] { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; min-height: 70px; }
	.nav-toggle { display: inline-flex; background: none; border: 0; padding: 6px; cursor: pointer; }
	.primary-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(86vw, 380px);
		background: var(--paper);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .45s var(--ease), visibility 0s linear .45s;
		padding: 90px 32px 32px;
		z-index: 60;
		box-shadow: -20px 0 60px rgba(0, 0, 0, .12);
	}
	.primary-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
	.primary-nav ul, .hf-menu { flex-direction: column; gap: 1.4rem; }
	.primary-nav a { font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0; text-transform: none; }
	.nav-close { position: absolute; top: 22px; right: 22px; background: none; border: 0; cursor: pointer; }
	.header-tools .label { display: none; }
	.brand { text-align: left; }
	.brand__name { letter-spacing: .22em; padding-left: 0; }
	.brand__sub { letter-spacing: .38em; padding-left: 0; }
}
@media (min-width: 1181px) { .nav-close { display: none; } }

.scrim { position: fixed; inset: 0; background: rgba(20, 22, 26, .45); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 55; }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: min(92vh, 900px);
	display: grid;
	align-items: end;
	color: var(--paper);
	overflow: hidden;
	background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transform: scale(1.06);
	animation: hf-settle 2.4s var(--ease) forwards;
}
.hero::after {
	content: "";
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 22, 26, .15) 0%, rgba(20, 22, 26, .05) 40%, rgba(20, 22, 26, .78) 100%),
		linear-gradient(90deg, rgba(20, 22, 26, .55) 0%, rgba(20, 22, 26, 0) 60%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 110px); padding-top: 120px; }
.hero h1 { max-width: 14ch; color: var(--paper); font-weight: 400; }
.hero h1 em { color: var(--brass-2); }
.hero .lede { color: rgba(251, 248, 242, .82); max-width: 52ch; }
.hero .eyebrow { color: var(--brass-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__seal {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(48px, 9vh, 110px);
	z-index: 2;
	width: 150px; height: 150px;
	border: 1px solid rgba(200, 168, 111, .55);
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-align: center;
	font-family: var(--serif);
	color: var(--brass-2);
	line-height: 1.1;
}
.hero__seal strong { display: block; font-size: 2.4rem; font-weight: 500; }
.hero__seal span { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; font-family: var(--sans); }
@media (max-width: 760px) { .hero__seal { display: none; } }

@keyframes hf-settle { to { transform: scale(1); } }

/* ---------------------------------------------------------------------------
   Promise strip ("The Hadhrami Hours")
--------------------------------------------------------------------------- */
.promise { background: var(--ink); color: var(--stone); }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise__item { padding: 2.6rem 2rem; border-right: 1px solid rgba(229, 220, 203, .12); display: flex; gap: 1.2rem; align-items: flex-start; }
.promise__item:last-child { border-right: 0; }
.promise__num { font-family: var(--serif); font-size: 3rem; line-height: .9; color: var(--brass-2); min-width: 2.2ch; }
.promise__item h3 { color: var(--paper); font-size: 1.35rem; margin-bottom: .3rem; }
.promise__item p { font-size: .9rem; margin: 0; color: rgba(229, 220, 203, .7); }
@media (max-width: 860px) {
	.promise__grid { grid-template-columns: 1fr; }
	.promise__item { border-right: 0; border-bottom: 1px solid rgba(229, 220, 203, .12); padding: 1.8rem 0; }
}

/* ---------------------------------------------------------------------------
   Sections
--------------------------------------------------------------------------- */
.section { padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(72px, 11vw, 150px); }
.section--tight { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 90px); }
.section--ivory { background: var(--ivory); }
.section--ink { background: var(--ink); color: var(--stone); }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }

/* Collections */
.collections { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.tile { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 3 / 4; color: var(--paper); display: block; }
.tile:first-child { aspect-ratio: auto; grid-row: span 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.045); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 22, 26, .72)); }
.tile__label { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; }
.tile__label h3 { color: var(--paper); font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin: 0 0 .3rem; }
.tile__label span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); }
.tile:hover { color: var(--paper); }
@media (max-width: 860px) { .collections { grid-template-columns: 1fr; } .tile, .tile:first-child { aspect-ratio: 4 / 5; } }

/* Legacy split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media::before {
	content: "";
	position: absolute;
	inset: -18px 18px 18px -18px;
	border: 1px solid var(--brass);
	z-index: -1;
	opacity: .5;
}
.split--reverse .split__media::before { inset: -18px -18px 18px 18px; }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
	.split__media::before { display: none; }
}

blockquote.patron {
	margin: 2rem 0;
	padding: 0 0 0 1.6rem;
	border-left: 1px solid var(--brass);
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	line-height: 1.35;
	color: var(--ink-2);
}
blockquote.patron cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--sans);
	font-style: normal;
	font-size: .72rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--brass);
}
.signature { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--oxblood); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.8rem; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1; }
.stats span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Craft steps */
.craft { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(229, 220, 203, .15); }
.craft__step { padding: 2.2rem 1.6rem 0 0; position: relative; }
.craft__step::before {
	content: "";
	position: absolute;
	top: -5px; left: 0;
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--brass);
}
.craft__step small { display: block; font-size: .68rem; letter-spacing: .26em; color: var(--brass-2); margin-bottom: .8rem; text-transform: uppercase; }
.craft__step h3 { font-size: 1.5rem; }
.craft__step p { font-size: .92rem; color: rgba(229, 220, 203, .72); }
@media (max-width: 980px) { .craft { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; } }
@media (max-width: 560px) { .craft { grid-template-columns: 1fr; } }

/* Product grid */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px 22px; }
.products--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .products, .products--3 { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; } }

.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #efe9dd; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__swatch {
	position: absolute;
	right: 12px; bottom: 12px;
	width: 46px; height: 46px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--paper);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}
.card__swatch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
.card__badge {
	position: absolute;
	left: 12px; top: 12px;
	display: inline-flex; align-items: center; gap: .35rem;
	background: var(--paper);
	color: var(--ink);
	font-size: .62rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: .42rem .7rem;
}
.card__badge .hf-icon { width: 13px; height: 13px; color: var(--brass); }
.card__body { padding-top: 1rem; display: flex; flex-direction: column; gap: .15rem; }
.card__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.15; }
.card__sub { font-size: .82rem; color: var(--muted); }
.card__price { font-size: .9rem; margin-top: .35rem; letter-spacing: .04em; }
.card__quick {
	position: absolute;
	left: 12px; right: 12px; bottom: 12px;
	opacity: 0;
	transform: translateY(8px);
	transition: all .35s var(--ease);
	padding: .8rem;
	font-size: .66rem;
}
.card:hover .card__quick { opacity: 1; transform: none; }
.card--suit:hover .card__swatch { opacity: 0; }
@media (hover: none) { .card__quick { display: none; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.chip {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .55rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: .74rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: transparent;
	cursor: pointer;
}
.chip:hover, .chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip .hf-icon { width: 14px; height: 14px; }

/* Archive hero */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: .3em; }
.page-hero--image { position: relative; color: var(--paper); border: 0; background: var(--ink); overflow: hidden; padding: clamp(110px, 16vw, 200px) 0 clamp(56px, 7vw, 90px); }
.page-hero--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero--image .wrap { position: relative; }
.page-hero--image h1 { color: var(--paper); }
.page-hero--image .lede { color: rgba(251, 248, 242, .82); }

/* Cloth library */
.cloth-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cloth { display: block; text-align: center; }
.cloth__swatch { aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 1px solid var(--line); background: var(--stone); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cloth__swatch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); }
.cloth:hover .cloth__swatch { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 22, 26, .14); }
.cloth h4 { font-size: 1.15rem; margin: .9rem 0 .1rem; }
.cloth small { font-size: .74rem; color: var(--muted); display: block; line-height: 1.4; }
.section--ink .cloth small { color: rgba(229, 220, 203, .6); }
.section--ink .cloth__swatch { border-color: rgba(229, 220, 203, .2); }
@media (max-width: 1100px) { .cloth-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cloth-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } .cloth h4 { font-size: 1rem; } }

/* Delivery zone checker */
.zone { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: stretch; }
.zone__map, .map {
	min-height: 440px;
	background: var(--stone) center / cover;
	border: 1px solid var(--line);
	position: relative;
}
.map-placeholder {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	text-align: center;
	padding: 2rem;
	color: var(--muted);
	font-size: .9rem;
	background:
		radial-gradient(circle at 50% 50%, rgba(166, 131, 75, .14) 0 22%, transparent 22.2%),
		radial-gradient(circle at 50% 50%, rgba(166, 131, 75, .08) 0 40%, transparent 40.2%),
		repeating-linear-gradient(0deg, transparent 0 39px, rgba(20, 22, 26, .05) 39px 40px),
		repeating-linear-gradient(90deg, transparent 0 39px, rgba(20, 22, 26, .05) 39px 40px),
		var(--ivory);
}
.zone__result { margin-top: 1.6rem; padding: 1.4rem 1.5rem; border: 1px solid var(--line); background: var(--paper); display: none; }
.zone__result.is-on { display: block; }
.zone__result h4 { font-size: 1.4rem; margin-bottom: .4rem; }
.zone__result ul { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .55rem; }
.zone__result li { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.zone__result li .hf-icon { color: var(--ok); margin-top: 3px; }
.zone__result li.is-off { color: var(--muted); }
.zone__result li.is-off .hf-icon { color: var(--line); }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } .zone__map, .map { min-height: 340px; } }

/* Forms */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.input, .field input, .field select, .field textarea, gmp-place-autocomplete {
	width: 100%;
	padding: .95rem 1rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 300;
	transition: border-color .25s var(--ease);
}
gmp-place-autocomplete { padding: 0; border: 0; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.address-search { display: flex; gap: .6rem; }
.address-search > :first-child { flex: 1; }
.btn-icon { display: inline-grid; place-items: center; width: 54px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; border-radius: var(--radius); }
.btn-icon:hover { border-color: var(--ink); }

/* Product page */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 120px); }
.product__gallery { display: grid; grid-template-columns: 1fr; gap: 14px; align-self: start; position: sticky; top: 110px; }
.product__gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #efe9dd; }
.product__gallery .product__swatch-big { aspect-ratio: 16 / 7; overflow: hidden; }
.product__gallery .product__swatch-big img { aspect-ratio: auto; height: 100%; transform: scale(1.3); }
.breadcrumbs { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumbs a:hover { color: var(--brass); }
.product h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin-bottom: .2em; }
.product__sub { color: var(--muted); margin-bottom: 1.2rem; }
.product__price { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.6rem; }
.product__price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-left: .6rem; }
.opt { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.opt__title { display: flex; justify-content: space-between; align-items: baseline; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .9rem; }
.opt__title a { font-weight: 300; letter-spacing: .08em; text-transform: none; font-size: .82rem; border-bottom: 1px solid var(--line); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
	display: block;
	padding: 1rem 1.1rem;
	border: 1px solid var(--line);
	cursor: pointer;
	height: 100%;
	transition: border-color .25s var(--ease), background .25s var(--ease);
}
.choice label strong { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .92rem; }
.choice label span { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; line-height: 1.45; }
.choice input:checked + label { border-color: var(--ink); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:disabled + label { opacity: .45; cursor: not-allowed; }
.sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.sizes .choice label { min-width: 62px; text-align: center; padding: .7rem .9rem; font-size: .88rem; }
.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.measure-grid .field { margin: 0; }
.measure-grid input { padding: .7rem .8rem; }
@media (max-width: 560px) { .measure-grid { grid-template-columns: 1fr 1fr; } .choices { grid-template-columns: 1fr; } }
.promise-note {
	display: flex; gap: .9rem; align-items: flex-start;
	background: var(--ivory);
	border-left: 2px solid var(--brass);
	padding: 1rem 1.2rem;
	font-size: .9rem;
	margin: 1.2rem 0;
}
.promise-note .hf-icon { color: var(--brass); margin-top: 2px; }
.product__desc { border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 1.6rem; color: var(--ink-3); }
.details-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; font-size: .9rem; }
.details-list li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding-bottom: .5rem; }
.details-list li span:first-child { color: var(--muted); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product__gallery { position: static; } }

/* Bag drawer */
.drawer {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: min(100vw, 440px);
	background: var(--paper);
	z-index: 70;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .45s var(--ease), visibility 0s linear .45s;
	display: flex;
	flex-direction: column;
	box-shadow: -20px 0 60px rgba(0, 0, 0, .14);
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__head button { background: none; border: 0; cursor: pointer; }
.drawer__body { flex: 1; overflow: auto; padding: 1rem 1.6rem; }
.drawer__foot { padding: 1.4rem 1.6rem; border-top: 1px solid var(--line); background: var(--ivory); }
.drawer__foot .row { display: flex; justify-content: space-between; margin-bottom: 1rem; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; background: #efe9dd; }
.line__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.line__meta { font-size: .78rem; color: var(--muted); }
.line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: .5rem; }
.line__qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; }
.line__qty span { min-width: 22px; text-align: center; font-size: .85rem; }
.line__remove { background: none; border: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; padding: 0; margin-left: .8rem; }
.line__price { font-size: .92rem; white-space: nowrap; }
.empty-bag { text-align: center; padding: 3rem 0; color: var(--muted); }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 120px); }
.checkout__panel { border: 1px solid var(--line); background: var(--paper); padding: clamp(20px, 3vw, 36px); margin-bottom: 1.6rem; }
.checkout__panel h3 { display: flex; align-items: center; gap: .8rem; font-size: 1.6rem; }
.checkout__panel h3 .step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass); font-family: var(--sans); font-size: .8rem; }
.checkout .map { min-height: 340px; margin: .4rem 0 1rem; }
.summary { position: sticky; top: 110px; align-self: start; background: var(--ivory); padding: clamp(20px, 3vw, 36px); }
.summary .row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.summary .row--total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: 1rem; font-family: var(--serif); font-size: 1.6rem; }
.tiers { display: grid; gap: .7rem; }
.tiers .choice label { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; }
.tiers .choice label em { font-style: normal; font-size: .88rem; white-space: nowrap; }
.tiers .choice label span { grid-column: 1 / -1; }
.distance-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); }
.notice { padding: 1rem 1.2rem; background: #f6e9e6; color: var(--oxblood); font-size: .9rem; margin: 1rem 0; display: none; }
.notice.is-on { display: block; }
.notice--ok { background: #e7efe9; color: var(--ok); }
@media (max-width: 980px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

/* Tracking */
.track { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 120px); }
.track .map { min-height: 520px; }
.track__eta { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin: .4rem 0 1.4rem; }
.timeline { list-style: none; margin: 1.6rem 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.5rem 2.2rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done::before { background: var(--brass); border-color: var(--brass); }
.timeline li.is-current::before { box-shadow: 0 0 0 6px rgba(166, 131, 75, .18); animation: hf-pulse 1.8s infinite; }
.timeline time { display: block; font-size: .78rem; color: var(--muted); }
@keyframes hf-pulse { 50% { box-shadow: 0 0 0 10px rgba(166, 131, 75, 0); } }
.rider-card { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); padding: 1rem 1.2rem; margin-top: 1rem; }
.rider-card .hf-icon { width: 28px; height: 28px; color: var(--brass); }
@media (max-width: 900px) { .track { grid-template-columns: 1fr; } .track .map { min-height: 380px; } }

/* Rider app */
.rider-app { max-width: 520px; margin: 0 auto; padding: 2rem var(--gutter) 4rem; }
.rider-app .map { min-height: 300px; margin: 1rem 0; }
.rider-app .btn { width: 100%; margin-top: .8rem; padding: 1.3rem; }
.rider-status { font-size: .9rem; color: var(--muted); }

/* Heritage timeline */
.eras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.era { border-top: 1px solid var(--brass); padding-top: 1.4rem; }
.era small { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.era h3 { margin-top: .6rem; }
@media (max-width: 860px) { .eras { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--oxblood); color: var(--paper); text-align: center; }
.cta-band h2 { color: var(--paper); max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { color: rgba(251, 248, 242, .78); margin-left: auto; margin-right: auto; }
.cta-band .eyebrow { color: var(--brass-2); }
.cta-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Generic content */
.entry-content { font-size: 1.05rem; }
.entry-content > * { max-width: 72ch; }
.entry-content a { border-bottom: 1px solid var(--brass); }

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(229, 220, 203, .72); font-size: .92rem; padding: clamp(64px, 8vw, 110px) 0 2rem; }
.site-footer a:hover { color: var(--brass-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.4rem; }
.footer-grid h4 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1.2rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-brand .brand__name { color: var(--paper); text-align: left; padding-left: 0; }
.footer-brand .brand__sub { padding-left: 0; }
.footer-brand p { margin-top: 1.4rem; max-width: 36ch; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid rgba(229, 220, 203, .12); font-size: .76rem; letter-spacing: .08em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* WhatsApp float */
.wa-float {
	position: fixed;
	right: 20px; bottom: 20px;
	z-index: 40;
	display: inline-flex; align-items: center; gap: .6rem;
	background: var(--ink);
	color: var(--paper);
	padding: .85rem 1.2rem;
	border-radius: 40px;
	font-size: .72rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	box-shadow: 0 10px 30px rgba(20, 22, 26, .25);
}
.wa-float:hover { background: var(--brass); color: var(--paper); }

/* Toast */
.toast {
	position: fixed;
	left: 50%; bottom: 28px;
	transform: translate(-50%, 20px);
	background: var(--ink);
	color: var(--paper);
	padding: .9rem 1.4rem;
	font-size: .82rem;
	letter-spacing: .08em;
	opacity: 0;
	pointer-events: none;
	transition: all .35s var(--ease);
	z-index: 90;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Pagination */
.pagination { margin-top: 4rem; display: flex; justify-content: center; gap: .5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line); font-size: .85rem; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------------------------------------------------------------------------
   WooCommerce: cart, checkout, account, notices
--------------------------------------------------------------------------- */
.woocommerce-page .entry-content > *, .woocommerce .entry-content > * { max-width: none; }
.woocommerce-page .entry-content { font-size: 1rem; padding-bottom: clamp(56px, 7vw, 110px); }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	list-style: none;
	margin: 0 0 1.6rem;
	padding: 1rem 1.2rem 1rem 1.4rem;
	background: var(--ivory);
	border: 0;
	border-left: 2px solid var(--brass);
	color: var(--ink);
	font-size: .95rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
}
.woocommerce-error { border-left-color: var(--oxblood); background: #f6e9e6; color: var(--oxblood); display: block; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.8rem;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	font-family: var(--sans);
	font-size: .74rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background .3s var(--ease), border-color .3s var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--brass); border-color: var(--brass); color: var(--paper); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--ink); color: var(--paper); border-color: var(--ink); opacity: .35; padding: 1rem 1.8rem; }
.woocommerce #place_order { width: 100%; padding: 1.2rem; font-size: .8rem; }

/* Forms */
.woocommerce form .form-row { margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.woocommerce form .form-row label { font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--oxblood); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single, .woocommerce-cart table.cart td.actions .coupon .input-text {
	width: 100%;
	min-height: 50px;
	padding: .8rem 1rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	font-weight: 300;
	color: var(--ink);
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 32px; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 12px; right: 8px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--ink); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 640px) {
	.woocommerce form .woocommerce-billing-fields__field-wrapper, .woocommerce form .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper {
		display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem;
	}
	.woocommerce form .form-row-wide, .woocommerce form #billing_address_1_field, .woocommerce form #billing_address_2_field { grid-column: 1 / -1; }
}

/* Checkout layout */
.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	column-gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1; }
/* The "Your order" heading is drawn inside the summary panel so the two never drift apart. */
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 1; background: var(--ivory); padding: clamp(20px, 3vw, 32px); position: sticky; top: 110px; }
.woocommerce-checkout #order_review::before { content: "Your order"; display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-bottom: .6rem; }
.woocommerce form .form-row.woocommerce-validated input.input-text, .woocommerce form .form-row.woocommerce-validated select, .woocommerce form .form-row.woocommerce-validated .select2-selection { border-color: var(--line); }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: var(--oxblood); }
.woocommerce-page .page-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); margin-bottom: 0; }
.woocommerce-page .site-main > .section--tight { padding-top: clamp(28px, 4vw, 48px); }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout h3 { font-size: 1.7rem; margin: 0 0 1.2rem; }
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 1.4rem; }
@media (max-width: 900px) {
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-checkout #order_review { position: static; margin-top: 2rem; }
}

/* Tables (cart, review, orders) */
.woocommerce table.shop_table { width: 100%; border: 0; border-collapse: collapse; border-radius: 0; margin: 0 0 1.6rem; font-size: .95rem; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: .95rem .6rem; border: 0; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table thead th { font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.woocommerce table.shop_table tfoot th { font-weight: 400; }
.woocommerce table.shop_table .order-total th, .woocommerce table.shop_table .order-total td { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.woocommerce table.shop_table td.product-name { font-family: var(--serif); font-size: 1.15rem; }
.woocommerce table.shop_table td.product-name dl.variation, .woocommerce table.shop_table .wc-item-meta { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin: .3rem 0 0; }
.woocommerce table.shop_table dl.variation dt, .woocommerce table.shop_table dl.variation dd { display: inline; margin: 0; float: none; }
.woocommerce table.shop_table dl.variation dd p { display: inline; margin: 0; }
.woocommerce table.shop_table dl.variation dd::after { content: ""; display: block; }
.woocommerce table.cart img, .woocommerce-checkout-review-order-table img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; }
.woocommerce table.cart td.product-remove a.remove { color: var(--muted) !important; font-size: 1.4rem; }
.woocommerce table.cart td.product-remove a.remove:hover { background: none; color: var(--oxblood) !important; }
.woocommerce .quantity .qty { width: 64px; min-height: 44px; border: 1px solid var(--line); text-align: center; background: var(--paper); }
.woocommerce-cart table.cart td.actions { padding-top: 1.4rem; }
.woocommerce-cart table.cart td.actions .coupon { display: inline-flex; gap: .6rem; }
.woocommerce-cart .cart-collaterals { display: flex; justify-content: flex-end; }
.woocommerce-cart .cart-collaterals .cart_totals { width: min(100%, 460px); background: var(--ivory); padding: clamp(20px, 3vw, 32px); float: none; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 1.7rem; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; font-size: .8rem; padding: 1.2rem; }
@media (max-width: 760px) {
	.woocommerce table.shop_table_responsive tr td { display: block; text-align: right; }
	.woocommerce table.shop_table_responsive tr td::before { content: attr(data-title) ": "; float: left; font-weight: 500; }
	.woocommerce table.shop_table_responsive thead { display: none; }
}

/* Delivery promise chooser (Hadhrami Delivery plugin) inside the order review */
.woocommerce-checkout-review-order-table tr.hfd-promise th { vertical-align: top; }
.hfd-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hfd-tier label { display: block; padding: .8rem .9rem; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: .92rem; }
.hfd-tier input { margin-right: .4rem; accent-color: var(--ink); }
.hfd-tier strong { font-weight: 500; }
.hfd-tier small { display: block; margin: .25rem 0 0 1.5rem; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.hfd-tier label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hfd-tier.is-off label { opacity: .55; cursor: not-allowed; }
.hfd-pin { margin: 1.6rem 0; padding: 1.2rem; border: 1px solid var(--line); background: var(--paper); }

/* Payment box */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 0 1rem; border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); color: var(--ink-3); font-size: .88rem; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--paper); }
.woocommerce-checkout #payment div.form-row { padding: 1rem 0 0; }
.woocommerce-privacy-policy-text { font-size: .8rem; color: var(--muted); }

/* Thank-you & account */
.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin: 0 0 2rem; }
.woocommerce-order-overview li { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; }
.hfd-track-cta { margin: 1.4rem 0 2rem; padding: 1.4rem; background: var(--ivory); border-left: 2px solid var(--brass); }
.hfd-track-cta .button { margin-top: .8rem; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 64px); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--brass); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
@media (max-width: 760px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }

/* Product page price from WooCommerce */
.product__price del { color: var(--muted); font-size: .7em; margin-right: .4rem; }
.product__price ins { text-decoration: none; }

/* Drawer: WooCommerce mini bag */
.hf-mini-bag { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.hf-mini-bag .drawer__body { flex: 1; overflow: auto; }
.hf-mini-bag .line img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; background: #efe9dd; }
.hf-mini-bag .link-arrow { display: inline-flex; }
