/* ==========================================================================
   Monceze — main stylesheet
   Palette: deep water, glacier, amber. Type: Bodoni Moda + Hanken Grotesk.
   ========================================================================== */

@font-face {
	font-family: "Bodoni Moda";
	src: url("../fonts/bodoni-moda-latin-standard-normal.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bodoni Moda";
	src: url("../fonts/bodoni-moda-latin-standard-italic.woff2") format("woff2");
	font-weight: 400 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--water: #0f2a2e;
	--water-deep: #0a1e21;
	--water-raised: #183b40;
	--glacier: #e7edea;
	--ice: #f4f7f5;
	--mist: #c5d3ce;
	--ink: #0f2a2e;
	--slate: #4a5e5a;
	--amber: #8a5a1c;
	--amber-light: #d8ac62;
	--on-dark: #e7edea;
	--on-dark-soft: rgba(231, 237, 234, 0.74);
	--line: rgba(15, 42, 46, 0.14);
	--line-dark: rgba(231, 237, 234, 0.16);

	--serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
	--sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1280px;
	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(80px, 11vw, 152px);
	--radius: 18px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--masthead-h: 72px;
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--masthead-h) + 12px);
}

body {
	margin: 0;
	background: var(--glacier);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
canvas,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	font-optical-sizing: auto;
	line-height: 1.06;
	letter-spacing: -0.012em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1, h2 { font-variation-settings: "opsz" 28; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

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

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ice);
	color: var(--ink);
	border-radius: 8px;
	transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons and links ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0.7em 1.6em;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.005em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:disabled { cursor: not-allowed; opacity: 0.45; }
.btn--light { background: var(--glacier); color: var(--water); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--water); color: var(--ice); }
.btn--dark:hover:not(:disabled) { background: var(--water-raised); }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(15, 42, 46, 0.35); min-height: 40px; padding: 0.5em 1.2em; }
.btn--line:hover:not(:disabled) { border-color: var(--ink); background: var(--ice); }
.btn--block { width: 100%; }

.link-under {
	color: inherit;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}
.link-under:hover { text-decoration-thickness: 2px; }
.link-under--light { color: var(--on-dark); }

/* ---------- Announcement and masthead ---------- */

.announce {
	margin: 0;
	padding: 9px var(--gutter);
	background: var(--water-deep);
	color: var(--on-dark-soft);
	font-size: 0.875rem;
	text-align: center;
}

.masthead {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--water);
	color: var(--on-dark);
	border-bottom: 1px solid var(--line-dark);
}
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 0; } }

.masthead__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--masthead-h);
}

.brand { margin-right: auto; }
.brand__word {
	font-family: var(--serif);
	font-variation-settings: "opsz" 28;
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: inherit;
	line-height: 1;
}
.brand .custom-logo { max-height: 44px; width: auto; }

.nav-list {
	display: flex;
	gap: clamp(16px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-list a {
	display: inline-block;
	padding: 6px 0;
	color: var(--on-dark-soft);
	font-size: 0.97rem;
	text-decoration: none;
	transition: color 0.2s;
}
.nav-list a:hover,
.nav-list .current-menu-item a { color: var(--on-dark); }

.masthead__toggle { display: none; }

.cart-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px 0 14px;
	border: 1px solid var(--line-dark);
	border-radius: 999px;
	background: transparent;
	color: var(--on-dark);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.cart-toggle:hover { border-color: rgba(231, 237, 234, 0.5); }
.cart-toggle__label { font-size: 0.97rem; }
.cart-toggle__count {
	min-width: 1.6em;
	padding: 0 0.4em;
	border-radius: 999px;
	background: var(--amber-light);
	color: var(--water-deep);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.cart-toggle__count.is-bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	display: grid;
	grid-template-rows: 1fr auto;
	min-height: min(calc(100svh - var(--masthead-h) - 38px), 880px);
	background: var(--water);
	color: var(--on-dark);
	overflow: hidden;
	isolation: isolate;
}

.hero__tin {
	--d: min(86vh, 60vw, 980px);
	position: absolute;
	z-index: -1;
	top: 50%;
	right: calc(var(--d) * -0.16);
	width: var(--d);
	aspect-ratio: 1;
	transform: translateY(-50%);
}
.hero__tin canvas { width: 100%; height: 100%; }

.hero__inner {
	display: flex;
	align-items: center;
	padding-block: clamp(56px, 9vh, 112px) 32px;
}

.hero__copy { max-width: min(36rem, 48vw); }

.hero__title {
	font-size: clamp(2.6rem, 5vw, 4.9rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin-bottom: 0.42em;
}

.hero__text {
	max-width: 31rem;
	color: var(--on-dark-soft);
	font-size: clamp(1.05rem, 1.25vw, 1.2rem);
	line-height: 1.6;
	margin-bottom: 2em;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
}

.hero__route { padding-block: 0 34px; }
.hero__route .route { max-width: min(38rem, 46vw); }
.route {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	font-size: 0.95rem;
	color: var(--on-dark-soft);
}
.route__end { white-space: nowrap; }
.route__line {
	position: relative;
	flex: 1;
	height: 1px;
	background: rgba(231, 237, 234, 0.32);
}
.route__line::before,
.route__line::after {
	content: "";
	position: absolute;
	top: -3.5px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--amber-light);
}
.route__line::before { left: 0; }
.route__line::after { right: 0; }
.route__label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 2px 16px;
	background: var(--water);
	border-radius: 999px;
	color: var(--amber-light);
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.15rem;
	white-space: nowrap;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 20px 72px;
	align-items: end;
	margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head h2 {
	font-size: clamp(2.2rem, 4.2vw, 3.75rem);
	margin: 0;
	max-width: 15ch;
}
.section-head p {
	margin: 0;
	max-width: 32rem;
	color: var(--slate);
	font-size: 1.1rem;
}
.section-head--dark p { color: var(--on-dark-soft); }

.admin-hint {
	margin: -32px 0 40px;
	padding: 12px 16px;
	border: 1px dashed var(--amber);
	border-radius: 10px;
	color: var(--amber);
	font-size: 0.92rem;
}

/* ---------- Collection ---------- */

.lots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.lot {
	display: grid;
	grid-template-columns: clamp(120px, 14vw, 196px) minmax(0, 1fr);
	gap: clamp(20px, 2.6vw, 36px);
	align-items: start;
	padding: clamp(22px, 2.6vw, 36px);
	background: var(--ice);
	border-radius: var(--radius);
}

.lot__visual { position: relative; }
.tin {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
}
.tin--photo { object-fit: cover; }

.lot__badge {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 12px;
	border: 1px solid rgba(138, 90, 28, 0.4);
	border-radius: 999px;
	color: var(--amber);
	font-size: 0.82rem;
	font-weight: 600;
}

.lot__name {
	font-size: clamp(1.7rem, 2.2vw, 2.15rem);
	margin: 0 0 4px;
}
.lot__name a { text-decoration: none; }
.lot__name a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.lot__latin {
	margin: 0 0 14px;
	color: var(--slate);
	font-family: var(--serif);
	font-size: 1.02rem;
}

.lot__notes {
	margin: 0 0 18px;
	max-width: 40ch;
}

.specs {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 6px 28px;
	margin: 0 0 22px;
	padding: 14px 0 0;
	border-top: 1px solid var(--line);
}
.specs dt { color: var(--slate); font-size: 0.82rem; }
.specs dd { margin: 0; font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.sizes {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.sizes legend {
	padding: 0;
	margin-bottom: 8px;
	color: var(--slate);
	font-size: 0.82rem;
}
.sizes__row { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.size span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(15, 42, 46, 0.22);
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.size input:hover + span { border-color: var(--ink); }
.size input:checked + span { background: var(--water); border-color: var(--water); color: var(--ice); }
.size input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.size input:disabled + span { opacity: 0.45; text-decoration: line-through; }
.size small { font-size: 0.75rem; }

.buy__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.buy__price {
	font-family: var(--serif);
	font-size: 1.9rem;
	font-weight: 500;
	font-variant-numeric: lining-nums;
	line-height: 1;
}
.buy__msg {
	min-height: 1.4em;
	margin: 10px 0 0;
	font-size: 0.9rem;
	color: var(--slate);
}
.buy__msg.is-error { color: #a2322a; }
.buy .btn.is-added { background: var(--water-raised); }

/* Accessories */
.extras {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	gap: 24px 48px;
	margin-top: clamp(56px, 7vw, 96px);
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.extras__title { font-size: 1.6rem; margin: 0; }
.extras__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.extra { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.extra__name { margin: 0 0 4px; font-weight: 600; }
.extra__notes { margin: 0; color: var(--slate); font-size: 0.95rem; }
.buy--compact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.buy--compact .buy__msg { flex-basis: 100%; margin: 0; min-height: 0; }
.extra__price { font-family: var(--serif); font-size: 1.35rem; }

/* ---------- Journey ---------- */

.journey { background: var(--water); color: var(--on-dark); }

.ruler { margin: 0 0 clamp(36px, 4vw, 56px); }
.ruler__track {
	display: flex;
	gap: 4px;
	height: 10px;
}
.ruler__seg { flex-basis: 0; border-radius: 999px; }
.ruler__seg--1, .step--1 { --c: #e3b86b; }
.ruler__seg--2, .step--2 { --c: #c9ab7d; }
.ruler__seg--3, .step--3 { --c: #8fb5ae; }
.ruler__seg--4, .step--4 { --c: #5f948d; }
.ruler__seg--5, .step--5 { --c: #e7edea; }
.ruler__seg { background: var(--c); }

.ruler__ticks {
	position: relative;
	height: 34px;
	margin-top: 8px;
}
.ruler__tick {
	position: absolute;
	top: 0;
	width: 1px;
	height: 6px;
	background: var(--line-dark);
}
.ruler__tick--major { height: 10px; background: rgba(231, 237, 234, 0.45); }
.ruler__tick span {
	position: absolute;
	top: 14px;
	left: 0;
	transform: translateX(-50%);
	color: var(--on-dark-soft);
	font-size: 0.82rem;
	white-space: nowrap;
}
.ruler__tick:first-child span { transform: none; }
.ruler__tick:last-child span { transform: translateX(-100%); }

.steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.step__day {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	color: var(--on-dark-soft);
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}
.step__day::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--c);
}
.step__title { font-size: 1.45rem; margin-bottom: 10px; }
.step__text { margin: 0; color: var(--on-dark-soft); font-size: 0.98rem; }

/* ---------- Sourcing ---------- */

.sourcing__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 120px);
	align-items: start;
}
.sourcing__lead h2 {
	font-size: clamp(2.4rem, 4.6vw, 4.1rem);
	max-width: 13ch;
}
.sourcing__lead p { max-width: 34rem; font-size: 1.1rem; color: var(--slate); }
.sourcing__lead .sourcing__origins {
	margin-top: 28px;
	color: var(--ink);
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.45;
}

.principles { margin: 0; padding: 0; list-style: none; }
.principle {
	padding: 28px 0;
	border-top: 1px solid var(--line);
}
.principle:first-child { padding-top: 6px; border-top: 0; }
.principle h3 { font-size: 1.6rem; margin-bottom: 10px; }
.principle p { margin: 0; color: var(--slate); max-width: 34rem; }

/* ---------- Delivery ---------- */

.delivery { background: var(--ice); }
.delivery__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(40px, 7vw, 120px);
	align-items: start;
}
.delivery__lead h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); max-width: 12ch; }
.delivery__status {
	margin: 0 0 18px;
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.3;
	max-width: 24ch;
}
.delivery__why { color: var(--slate); max-width: 30rem; }

.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 48px;
	margin: 0;
}
.fact dt {
	margin-bottom: 8px;
	padding-top: 16px;
	border-top: 2px solid var(--water);
	font-weight: 700;
	font-size: 1.05rem;
}
.fact dd { margin: 0; color: var(--slate); }

/* ---------- FAQ ---------- */

.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 40px clamp(40px, 7vw, 120px);
	align-items: start;
}
.faq__grid h2 {
	font-size: clamp(2.2rem, 4.2vw, 3.75rem);
	max-width: 10ch;
	position: sticky;
	top: calc(var(--masthead-h) + 32px);
}
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
	position: relative;
	padding: 24px 48px 24px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--serif);
	font-size: clamp(1.25rem, 1.6vw, 1.45rem);
	line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before,
.qa summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 16px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.25s var(--ease);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa p {
	margin: 0;
	padding: 0 48px 26px 0;
	max-width: 44rem;
	color: var(--slate);
}

/* ---------- Footer ---------- */

.footer { background: var(--water-deep); color: var(--on-dark); }

.newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 72px;
	align-items: end;
	padding-block: clamp(64px, 8vw, 112px);
	background: linear-gradient(var(--line-dark), var(--line-dark)) center bottom / calc(100% - var(--gutter) * 2) 1px no-repeat;
}
.newsletter h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 14px; max-width: 14ch; }
.newsletter__copy p { margin: 0; color: var(--on-dark-soft); max-width: 30rem; }
.newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.newsletter__form input[type="email"] {
	flex: 1 1 240px;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid rgba(231, 237, 234, 0.3);
	border-radius: 999px;
	background: transparent;
	color: var(--on-dark);
}
.newsletter__form input::placeholder { color: rgba(231, 237, 234, 0.55); }
.newsletter__form input:focus { border-color: var(--on-dark); outline: none; }
.newsletter__form .btn { min-height: 52px; }
.newsletter__msg { flex-basis: 100%; margin: 6px 0 0; color: var(--amber-light); }
.newsletter__msg--error { color: #f0a59c; }

.footer__main {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-block: 56px;
}
.footer__brand p { margin: 14px 0 0; max-width: 26rem; color: var(--on-dark-soft); }
.footer__title {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--on-dark-soft);
}
.footer__col ul { margin: 0; padding: 0; list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	padding-block: 24px 40px;
	background: linear-gradient(var(--line-dark), var(--line-dark)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat;
	color: rgba(231, 237, 234, 0.6);
	font-size: 0.85rem;
}
.footer__legal p { margin: 0; max-width: 60rem; }

/* ---------- Cart drawer ---------- */

.drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(440px, 100vw);
	max-width: 100vw;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--ice);
	color: var(--ink);
	box-shadow: -24px 0 60px rgba(10, 30, 33, 0.25);
	transform: translateX(100%);
	transition: transform 0.38s var(--ease), overlay 0.38s allow-discrete, display 0.38s allow-discrete;
}
.drawer[open] { transform: translateX(0); }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop {
	background: rgba(10, 30, 33, 0);
	transition: background-color 0.38s, overlay 0.38s allow-discrete, display 0.38s allow-discrete;
}
.drawer[open]::backdrop { background: rgba(10, 30, 33, 0.55); }
@starting-style { .drawer[open]::backdrop { background: rgba(10, 30, 33, 0); } }

.drawer__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 24px 14px;
}
.drawer__head h2 { font-size: 1.9rem; margin: 0; }
.drawer__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}
.drawer__close:hover { background: var(--glacier); }

.drawer__ship {
	margin: 0 24px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--glacier);
	font-size: 0.92rem;
	line-height: 1.45;
}

.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__lines { margin: 0; padding: 0; list-style: none; }
.cart-line {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.cart-line__visual { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--glacier); }
.cart-line__visual img,
.cart-line__visual canvas { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { margin: 0; font-weight: 600; line-height: 1.3; }
.cart-line__variant { margin: 2px 0 10px; color: var(--slate); font-size: 0.9rem; }
.cart-line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line__total { font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-line__remove {
	padding: 0;
	border: 0;
	background: none;
	color: var(--slate);
	font-size: 0.85rem;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}
.stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(15, 42, 46, 0.22);
	border-radius: 999px;
}
.stepper button {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}
.stepper button:hover:not(:disabled) { background: var(--glacier); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.95rem; }

.drawer__empty { padding: 40px 0; text-align: center; color: var(--slate); }
.drawer__empty p { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; }

.drawer__foot {
	padding: 18px 24px 24px;
	border-top: 1px solid var(--line);
	background: var(--ice);
}
.drawer.is-empty .drawer__foot { display: none; }
.drawer:not(.is-empty) .drawer__empty { display: none; }

.freebar { margin-bottom: 16px; }
.freebar__text { margin: 0 0 8px; font-size: 0.92rem; }
.freebar__track { height: 4px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.freebar__fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--water); transition: width 0.4s var(--ease); }

.drawer__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-weight: 600;
	font-size: 1.1rem;
}
.drawer__subtotal span:last-child { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.drawer__note { margin: 4px 0 16px; color: var(--slate); font-size: 0.88rem; }
.drawer__demo { margin: 12px 0 0; font-size: 0.88rem; color: var(--amber); }

html.has-drawer { overflow: hidden; }

/* ---------- Inner pages and WooCommerce ---------- */

.page-shell { padding-block: clamp(48px, 7vw, 96px) var(--section); min-height: 50vh; }
.page-shell--shop { max-width: calc(1180px + var(--gutter) * 2); }
.page-title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 0.6em; }
.entry__content { max-width: 46rem; }
.page-shell--shop .entry__content { max-width: none; }
.entry__content h2 { font-size: 2rem; margin-top: 1.5em; }
.entry__meta { color: var(--slate); font-size: 0.9rem; }
.post-list { display: grid; gap: 40px; max-width: 46rem; }
.post-card h2 { font-size: 2rem; margin-bottom: 4px; }
.post-card h2 a { text-decoration: none; }
.back-link { margin-bottom: 24px; }

.specs--single { margin-top: 18px; }

/* WooCommerce: classic templates */
.woocommerce .woocommerce-breadcrumb { color: var(--slate); font-size: 0.9rem; margin-bottom: 24px; }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--ink); font-family: var(--serif); font-size: 1.8rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 1.5rem; }
.woocommerce ul.products li.product .price { color: var(--ink); }
.woocommerce span.onsale { background: var(--amber); }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	border-radius: 999px;
	background: var(--water);
	color: var(--ice);
	font-weight: 600;
	padding: 0.85em 1.6em;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover { background: var(--water-raised); color: var(--ice); }
.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt.disabled:hover {
	background: var(--water);
	color: var(--ice);
	opacity: 0.4;
	padding: 0.85em 1.6em;
}
.woocommerce div.product div.images { margin-bottom: 40px; }
.monceze-tin-gallery { padding: 8%; background: var(--ice); border-radius: var(--radius); }
.woocommerce ul.products li.product canvas.tin { margin-bottom: 1em; }
.woocommerce div.product form.cart { margin-top: 28px; }
.woocommerce div.product form.cart .variations th.label { padding-right: 16px; vertical-align: middle; }
.woocommerce .quantity .qty {
	min-height: 48px;
	width: 4.2em;
	border: 1px solid rgba(15, 42, 46, 0.3);
	border-radius: 999px;
	background: var(--ice);
	text-align: center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--glacier); border-color: var(--line); border-radius: 10px 10px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ice); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 600; }
.woocommerce div.product form.cart .variations select {
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid rgba(15, 42, 46, 0.3);
	border-radius: 10px;
	background: var(--ice);
}
.woocommerce-message,
.woocommerce-info { border-top-color: var(--water); background: var(--ice); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--water); }

/* WooCommerce: block cart and checkout */
.wc-block-components-button:not(.is-link),
.wp-element-button.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	border-radius: 999px !important;
	background: var(--water) !important;
	color: var(--ice) !important;
	font-weight: 600;
}
.wc-block-components-button:not(.is-link):hover { background: var(--water-raised) !important; }
.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wp-block-woocommerce-cart .wc-block-cart__totals-title { font-family: var(--serif) !important; font-weight: 500 !important; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select { border-radius: 10px !important; }
.wc-block-components-product-name { font-weight: 600; text-decoration: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.hero__tin { right: calc(var(--d) * -0.27); }
	.hero__copy { max-width: 46vw; }
	.lots { grid-template-columns: 1fr; }
	.lot { grid-template-columns: 196px minmax(0, 1fr); }
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
	.footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 761px) and (max-aspect-ratio: 4/5) {
	.hero { min-height: min(68vh, 820px); }
}

@media (max-width: 960px) {
	:root { --masthead-h: 64px; }
	.masthead__toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 0 6px;
		border: 0;
		background: none;
		color: var(--on-dark);
		cursor: pointer;
		order: 2;
	}
	.cart-toggle { order: 3; }
	.masthead__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 8px var(--gutter) 24px;
		background: var(--water);
		border-bottom: 1px solid var(--line-dark);
	}
	.masthead__nav.is-open { display: block; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line-dark); }

	.section-head,
	.sourcing__grid,
	.delivery__grid,
	.faq__grid,
	.newsletter,
	.extras { grid-template-columns: 1fr; }
	.section-head h2,
	.sourcing__lead h2,
	.delivery__lead h2,
	.faq__grid h2 { max-width: 18ch; }
	.faq__grid h2 { position: static; }
	.extras__list { grid-template-columns: 1fr; gap: 0; }
	.extra { flex-direction: row; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
	.extra:first-child { padding-top: 0; }
	.buy--compact { flex-wrap: nowrap; }
}

@media (max-width: 760px) {
	.hero { min-height: 0; }
	.hero__tin {
		--d: 118vw;
		top: -42vw;
		right: -34vw;
		transform: none;
	}
	.hero__inner { padding-top: 84vw; padding-bottom: 36px; }
	.hero__route { padding-top: 22px; }
	.route__label { top: auto; bottom: 10px; transform: translateX(-50%); background: none; }
	.hero__copy { max-width: none; }
	.hero__title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
	.route { font-size: 0.85rem; gap: 12px; }
	.route__label { font-size: 1rem; padding-inline: 10px; }
	.cart-toggle__label { display: none; }
	.cart-toggle { padding: 0 12px; }
	.masthead__toggle span { display: none; }

	.lot { grid-template-columns: 1fr; gap: 18px; }
	.lot__visual { width: 132px; }
	.specs { grid-template-columns: repeat(3, minmax(0, auto)); gap: 4px 18px; }
	.specs dd { white-space: normal; }
	.steps { grid-template-columns: 1fr; gap: 28px; }
	.facts { grid-template-columns: 1fr; gap: 28px; }
	.footer__main { grid-template-columns: 1fr 1fr; }
	.ruler__tick span { font-size: 0.75rem; }
	.qa summary { padding-right: 40px; }
	.qa p { padding-right: 0; }
}

@media (max-width: 420px) {
	.brand__word { font-size: 1.5rem; }
	.buy__row { flex-wrap: wrap; }
	.buy__row .btn { flex: 1; }
	.extra { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.cart-line__visual--plain { background: radial-gradient(circle at 32% 30%, #ffffff 0, #e4ebe7 45%, #c5d3ce 100%); }
