/* ==========================================================================
   AUTURE  ·  design system v3
   Ivory ground, ink type, generous air. Cormorant Garamond (light) for names
   and statements; Jost in small tracked capitals for everything functional.
   Built phone-first: every measure below is the phone value, widened later.
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-300.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-300i.woff") format("woff");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-400.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-500.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-300.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-400.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-500.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
	--bg: #f7f4ef;
	--surface: #eee9e1;
	--white: #fff;
	--ink: #1a1714;
	--mute: #6e665d;
	--line: #dcd4c8;
	--dark: #14110f;
	--dark-text: #ede7de;
	--dark-mute: #a39a8e;
	--dark-line: #2f2a25;
	--wine: #6b1f2e;

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

	--gutter: 20px;
	--header-h: 60px;
	--topbar-h: 34px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 900px) {
	:root {
		--gutter: 48px;
		--header-h: 80px;
	}
}

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

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--serif);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: 0;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
	border-radius: 0;
}

button {
	cursor: pointer;
}

fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

:focus-visible {
	outline: 1px solid var(--ink);
	outline-offset: 3px;
}

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

[hidden] {
	display: none !important;
}

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

.skip-link {
	position: absolute;
	top: -80px;
	left: 12px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--ink);
	color: var(--bg);
}

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

.hp-field,
.autre-hidden {
	display: none !important;
}

.only-wide {
	display: none !important;
}

@media (min-width: 1000px) {
	.only-wide {
		display: inline-flex !important;
	}

	.only-small {
		display: none !important;
	}
}

/* The small tracked capitals used for every label on the site */

.opt__label,
.sheet__title,
.toolbar__filter,
.site-footer__col h2,
.acc summary,
.card__tag,
.product-tag,
form.checkout h3,
.checkout-heading,
.woocommerce-order h2,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
table.variations th label,
.prose th,
.field > span,
.rail__all,
.insta__head a,
.link-btn,
.bag__view,
.quick__more,
.toolbar__clear,
.opt__guide,
.reset_variations,
.wish--text,
.track-page__again a {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* ---------- Form controls ---------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="url"],
select,
textarea {
	width: 100%;
	min-height: 50px;
	padding: 13px 16px;
	border: 1px solid var(--line);
	background: var(--white);
	font-size: 16px; /* keeps iOS from zooming the page on focus */
	line-height: 1.4;
	appearance: none;
	transition: border-color 0.25s;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--ink);
	outline: none;
}

select {
	padding-inline-end: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none' stroke='%231a1714' stroke-width='1.1'%3E%3Cpath d='M1 1l4.5 4.5L10 1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

[dir="rtl"] select {
	background-position: left 16px center;
}

textarea {
	min-height: 84px;
	resize: vertical;
}

::placeholder {
	color: #9a9187;
	opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ink);
	flex: none;
}

/* ---------- Buttons ---------- */

.btn,
.button,
button.button,
a.button,
input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 14px 34px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--bg);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.25s;
}

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

.btn--light {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.btn--block {
	display: flex;
	width: 100%;
}

@media (hover: hover) {
	.btn:hover,
	.button:hover {
		background: transparent;
		color: var(--ink);
	}

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

	.btn--light:hover {
		background: #fff;
		color: var(--ink);
	}
}

.btn[disabled],
.button[disabled],
.button.disabled,
.btn.is-busy {
	opacity: 0.4;
	cursor: not-allowed;
}

.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: none;
	flex: none;
}

.link-btn {
	padding: 10px 0;
	border: 0;
	background: none;
	text-decoration: underline;
	text-underline-offset: 6px;
}

.badge {
	position: absolute;
	top: 7px;
	right: 0;
	min-width: 15px;
	height: 15px;
	padding: 0 4px;
	border-radius: 8px;
	background: var(--ink);
	color: var(--bg);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 15px;
	text-align: center;
}

[dir="rtl"] .badge {
	right: auto;
	left: 0;
}

/* ---------- Top bar and header ---------- */

.topbar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--topbar-h);
	padding: 0 64px;
	background: var(--dark);
	color: var(--dark-text);
	font-size: 10.5px;
	letter-spacing: 0.2em;
	text-align: center;
	text-transform: uppercase;
}

.topbar p {
	margin: 0;
}

.topbar__cur {
	position: absolute;
	inset-inline-end: var(--gutter);
	top: 50%;
	transform: translateY(-50%);
	color: var(--dark-mute);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 4px;
	height: var(--header-h);
	padding: 0 calc(var(--gutter) - 10px);
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.site-header__start,
.site-header__end {
	display: flex;
	align-items: center;
}

.site-header__end {
	justify-content: flex-end;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-logo__word {
	font-family: var(--serif);
	font-size: 23px;
	font-weight: 400;
	letter-spacing: 0.34em;
	line-height: 1;
	margin-inline-end: -0.34em; /* optically re-centre the tracked wordmark */
}

.site-logo__img {
	display: block;
	width: auto;
	max-width: 124px;
	max-height: 30px;
	transition: filter 0.45s var(--ease);
}

/* Keep the wordmark centred on phones when all five icons are showing. */
@media (max-width: 479px) {
	.site-header .icon-btn {
		width: 36px;
	}

	.site-logo__word {
		font-size: 20px;
		letter-spacing: 0.26em;
		margin-inline-end: -0.26em;
	}
}

@media (max-width: 379px) {
	.site-header .icon-btn {
		width: 34px;
	}

	.site-logo__word {
		font-size: 17px;
		letter-spacing: 0.2em;
		margin-inline-end: -0.2em;
	}
}

@media (max-width: 339px) {
	.site-logo__word {
		font-size: 15px;
		letter-spacing: 0.16em;
		margin-inline-end: -0.16em;
	}
}

.site-nav {
	display: none;
}

/* On the homepage the header floats over the hero until the page is scrolled. */

.js .is-home .site-header:not(.is-solid) {
	background: transparent;
	border-bottom-color: transparent;
	color: #fff;
}

.js .is-home .site-header:not(.is-solid) .badge {
	background: #fff;
	color: var(--ink);
}

.js .is-home .site-header:not(.is-solid) .site-logo__img {
	filter: brightness(0) invert(1);
}

@media (min-width: 1000px) {
	.site-header {
		padding: 0 var(--gutter);
	}

	.site-header__menu {
		display: none;
	}

	.site-logo__word {
		font-size: 28px;
	}

	.site-logo__img {
		max-width: 190px;
		max-height: 40px;
	}

	.site-nav {
		display: block;
	}

	.site-nav .menu {
		display: flex;
		gap: 36px;
		list-style: none;
	}

	.site-nav .menu > li {
		position: relative;
	}

	.site-nav a {
		display: block;
		padding: 30px 0;
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.2em;
		text-decoration: none;
		text-transform: uppercase;
	}

	.site-nav .menu > li > a {
		background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 24px) / 0 1px;
		transition: background-size 0.4s var(--ease);
	}

	.site-nav .menu > li > a:hover,
	.site-nav .menu > .current-menu-item > a,
	.site-nav .menu > li:focus-within > a {
		background-size: 100% 1px;
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: -28px;
		min-width: 240px;
		padding: 14px 28px 18px;
		list-style: none;
		background: var(--bg);
		color: var(--ink);
		border: 1px solid var(--line);
		border-top: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	}

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

	.site-nav .sub-menu a {
		padding: 10px 0;
	}

	.site-nav .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: 5px;
		height: 5px;
		margin-inline-start: 9px;
		border-right: 1px solid;
		border-bottom: 1px solid;
		transform: translateY(-3px) rotate(45deg);
	}
}

/* ---------- Sheets (menu, search, bag, quick add, filter, size guide) ---------- */

dialog.sheet {
	position: fixed;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	width: min(460px, 100vw);
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	background: var(--bg);
	color: var(--ink);
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.5s var(--ease);
}

dialog.sheet[open] {
	display: flex;
}

dialog::backdrop {
	background: rgba(20, 17, 15, 0.5);
	opacity: 0;
	transition: opacity 0.45s var(--ease);
}

dialog.is-open::backdrop {
	opacity: 1;
}

dialog.sheet--end {
	left: auto;
	transform: translateX(100%);
}

dialog.sheet--start {
	right: auto;
	transform: translateX(-100%);
}

[dir="rtl"] dialog.sheet--end {
	left: 0;
	right: auto;
	transform: translateX(-100%);
}

[dir="rtl"] dialog.sheet--start {
	right: 0;
	left: auto;
	transform: translateX(100%);
}

dialog.sheet--top {
	bottom: auto;
	width: 100vw;
	height: auto;
	transform: translateY(-100%);
}

dialog.sheet--bottom {
	top: auto;
	width: 100vw;
	height: auto;
	max-height: 90vh;
	max-height: 90dvh;
	transform: translateY(100%);
}

@media (min-width: 700px) {
	dialog.sheet--bottom {
		top: 0;
		left: auto;
		width: min(460px, 100vw);
		height: 100vh;
		height: 100dvh;
		max-height: none;
		transform: translateX(100%);
	}

	[dir="rtl"] dialog.sheet--bottom {
		left: 0;
		right: auto;
		transform: translateX(-100%);
	}
}

dialog.sheet.is-open {
	transform: none;
}

dialog:focus {
	outline: none;
}

.sheet > form {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 8px 14px 8px 24px;
	border-bottom: 1px solid var(--line);
	flex: none;
}

.sheet__title {
	margin: 0;
}

.sheet__title--logo {
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 400;
	letter-spacing: 0.34em;
}

.sheet__body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 26px 24px;
	-webkit-overflow-scrolling: touch;
}

.sheet__foot {
	flex: none;
	padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
}

.sheet__foot--row {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 10px;
}

.sheet__foot--row .btn {
	padding-inline: 12px;
}

.sheet__note {
	margin: 14px 0 0;
	font-size: 10.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mute);
	text-align: center;
}

.sheet__loading {
	padding: 48px 0;
	color: var(--mute);
	text-align: center;
}

/* Menu drawer */

.drawer-nav .menu {
	list-style: none;
}

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

.drawer-nav a {
	display: block;
	padding: 18px 0;
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 300;
	line-height: 1.15;
	text-decoration: none;
}

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

.drawer-nav .sub-menu a {
	padding: 9px 0;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.drawer-links {
	list-style: none;
	margin-top: 26px;
}

.drawer-links a {
	display: block;
	padding: 11px 0;
	font-size: 11.5px;
	letter-spacing: 0.18em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Search */

.sheet--top .sheet__head {
	min-height: 96px;
	padding-inline-start: var(--gutter);
	border-bottom: 0;
}

.search-form {
	display: flex;
	align-items: center;
	flex: 1;
	border-bottom: 1px solid var(--ink);
}

.search-form input[type="search"] {
	padding-inline: 0;
	border: 0;
	background: transparent;
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 300;
}

/* ---------- Product options: chips and swatches ---------- */

.opt {
	position: relative;
}

.opt + .opt {
	margin-top: 26px;
}

.opt__legend {
	display: flex;
	align-items: baseline;
	gap: 10px;
	width: 100%;
	margin-bottom: 12px;
	padding: 0;
}

.opt__label {
	display: block;
}

.opt__value {
	color: var(--mute);
	font-size: 13px;
}

.opt__guide {
	margin-inline-start: auto;
	font-weight: 400;
	text-underline-offset: 6px;
}

.opt__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	position: relative;
	display: block;
}

.chip input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.chip__face,
.chip-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 48px;
	height: 44px;
	padding: 0 15px;
	border: 1px solid var(--line);
	background: transparent;
	font-size: 13.5px;
	letter-spacing: 0.04em;
	transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.chip input:checked + .chip__face,
.chip-btn[aria-pressed="true"] {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--bg);
}

@media (hover: hover) {
	.chip:hover .chip__face,
	.chip-btn:hover {
		border-color: var(--ink);
	}
}

.chip input:focus-visible + .chip__face {
	outline: 1px solid var(--ink);
	outline-offset: 3px;
}

.chip input:disabled + .chip__face,
.chip-btn[disabled] {
	color: #b3aba0;
	border-color: var(--line);
	background: linear-gradient(to top right, transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px));
	cursor: not-allowed;
}

.chip__dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--c, #ccc);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
	flex: none;
}

.chip input:checked + .chip__face .chip__dot {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.opt__error,
.form-error {
	margin: 10px 0 0;
	color: var(--wine);
	font-size: 13.5px;
}

.check {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 14.5px;
}

.price-range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.price-range span {
	display: block;
	margin-bottom: 6px;
	font-size: 12.5px;
	color: var(--mute);
}

.note-field {
	display: block;
}

.note-field .opt__label {
	margin-bottom: 12px;
}

.note-field textarea {
	background: transparent;
}

/* Quantity: – 1 + */

.quantity {
	display: inline-flex;
	align-items: stretch;
	width: max-content;
	height: 46px;
	border: 1px solid var(--line);
}

.quantity input.qty {
	width: 48px;
	min-height: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 15px;
	text-align: center;
	-moz-appearance: textfield;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	border: 0;
	background: none;
}

.qty-row {
	margin-top: 26px;
}

.qty-row .opt__label {
	margin-bottom: 12px;
}

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

ul.products {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px 10px;
	margin: 0;
	padding: 0 calc(var(--gutter) - 8px);
}

@media (min-width: 768px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 56px 20px;
		padding: 0 var(--gutter);
	}
}

@media (min-width: 1200px) {
	ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 64px 24px;
	}
}

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

.card {
	position: relative;
}

.card__media {
	position: relative;
	aspect-ratio: 2 / 3;
	background: var(--surface);
	overflow: hidden;
}

.card__link {
	display: block;
	width: 100%;
	height: 100%;
}

.card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease), opacity 0.7s var(--ease);
}

.card__photo--alt {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.card__tag,
.product-tag {
	display: inline-block;
	font-size: 9.5px;
	letter-spacing: 0.2em;
}

.card__tag {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	padding: 5px 9px 4px;
	background: var(--bg);
	color: var(--ink);
}

.product-tag {
	margin: 0 0 14px;
	color: var(--mute);
	font-size: 10.5px;
}

.wish {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
}

.card .wish {
	position: absolute;
	top: 2px;
	inset-inline-end: 2px;
	width: 44px;
	height: 44px;
}

.card .wish svg {
	width: 30px;
	height: 30px;
	padding: 7px;
	border-radius: 50%;
	background: rgba(247, 244, 239, 0.88);
	color: var(--ink);
}

.wish[aria-pressed="true"] svg {
	fill: currentColor;
}

.wish--text {
	min-height: 44px;
	font-weight: 400;
	align-self: flex-start;
}

.wish--text span {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.card__quick {
	position: absolute;
	bottom: 8px;
	inset-inline-end: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(247, 244, 239, 0.92);
	color: var(--ink);
	text-decoration: none;
}

.card__quick-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

a.card__quick {
	display: none; /* "View product" is the card itself on phones */
}

.card__body {
	padding-top: 14px;
}

.card__name {
	margin: 0;
	font-family: var(--sans);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
}

.card__name a {
	text-decoration: none;
}

.card__price {
	margin: 3px 0 0;
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: var(--mute);
}

.card__price del {
	opacity: 0.6;
	margin-inline-end: 6px;
}

.card__price ins {
	text-decoration: none;
	color: var(--wine);
}

.card__colours {
	display: flex;
	gap: 6px;
	margin-top: 10px;
	list-style: none;
}

.card__colours li {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

@media (hover: hover) and (min-width: 900px) {
	.card:hover .card__photo {
		transform: scale(1.035);
	}

	.card:hover .card__photo--alt {
		opacity: 1;
	}

	.card__quick,
	a.card__quick {
		display: flex;
		inset-inline: 12px;
		bottom: 12px;
		width: auto;
		height: 46px;
		border-radius: 0;
		background: rgba(247, 244, 239, 0.94);
		font-size: 10.5px;
		font-weight: 500;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
	}

	.card__quick svg {
		display: none;
	}

	.card__quick-text {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
	}

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

	.card__quick:hover {
		background: var(--ink);
		color: var(--bg);
	}
}

/* ---------- Page heads ---------- */

.site-main {
	display: block;
	min-height: 52vh;
	padding-bottom: 96px;
}

.site-main--home {
	padding-bottom: 0;
}

.page-head,
.woocommerce-products-header {
	padding: 52px var(--gutter) 34px;
	text-align: center;
}

.page-head h1,
.woocommerce-products-header__title {
	margin: 0;
	font-size: clamp(38px, 8vw, 64px);
}

.woocommerce-products-header .term-description,
.woocommerce-products-header .page-description {
	max-width: 52ch;
	margin: 16px auto 0;
	color: var(--mute);
}

@media (min-width: 900px) {
	.page-head,
	.woocommerce-products-header {
		padding: 84px var(--gutter) 52px;
	}
}

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

.toolbar {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 54px;
	margin-bottom: 26px;
	padding: 0 var(--gutter);
	border-block: 1px solid var(--line);
}

.toolbar__filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
}

.toolbar__count {
	min-width: 17px;
	height: 17px;
	border-radius: 9px;
	background: var(--ink);
	color: var(--bg);
	font-size: 10px;
	letter-spacing: 0;
	line-height: 17px;
	text-align: center;
}

.toolbar__clear {
	display: none; /* on phones "Clear" lives inside the filter sheet */
	font-weight: 400;
	white-space: nowrap;
}

@media (min-width: 600px) {
	.toolbar__clear {
		display: inline;
	}
}

.toolbar__sort {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: auto;
}

.toolbar__sort label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.toolbar__sort select {
	width: auto;
	min-height: 44px;
	padding-block: 8px;
	padding-inline-start: 0;
	padding-inline-end: 22px;
	border: 0;
	background-color: transparent;
	background-position: right 2px center;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

[dir="rtl"] .toolbar__sort select {
	background-position: left 2px center;
}

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

.woocommerce-pagination ul,
.pagination .nav-links {
	display: inline-flex;
	gap: 4px;
	list-style: none;
}

.page-numbers a,
.page-numbers span,
.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	font-size: 13px;
	text-decoration: none;
}

.page-numbers .current,
.nav-links .current {
	border-bottom: 1px solid var(--ink);
}

.empty-state {
	padding: 40px var(--gutter) 24px;
	text-align: center;
}

.empty-state h2 {
	font-size: clamp(30px, 6vw, 44px);
}

.empty-state p {
	max-width: 40ch;
	margin: 0 auto 28px;
	color: var(--mute);
}

/* ---------- Product page ---------- */

div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.pgallery {
	position: relative;
}

.pgallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.pgallery__track::-webkit-scrollbar {
	display: none;
}

.pgallery__slide {
	position: relative;
	flex: 0 0 100%;
	margin: 0;
	aspect-ratio: 2 / 3; /* full-length pieces: never cut the hem */
	background: var(--surface);
	scroll-snap-align: center;
	overflow: hidden;
}

.pgallery__zoom {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.pgallery__slide img,
.pgallery__slide video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pgallery__zoom-ico {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(247, 244, 239, 0.88);
	pointer-events: none;
}

.pgallery__dots {
	position: absolute;
	inset-inline: 0;
	bottom: 14px;
	display: flex;
	justify-content: center;
	gap: 7px;
	pointer-events: none;
}

.pgallery__dots span {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ink);
	opacity: 0.22;
	transition: opacity 0.3s, transform 0.3s;
}

.pgallery__dots .is-active {
	opacity: 0.9;
	transform: scale(1.25);
}

.summary {
	padding: 30px var(--gutter) 0;
}

.product_title {
	margin: 0 0 10px;
	font-size: clamp(34px, 8.6vw, 48px);
}

.summary .price {
	margin: 0;
	font-size: 15px;
	letter-spacing: 0.06em;
}

.summary .price del {
	color: var(--mute);
	margin-inline-end: 8px;
}

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

.summary .stock {
	margin: 14px 0 0;
	font-size: 13.5px;
	color: var(--mute);
}

.summary .stock.out-of-stock {
	color: var(--wine);
}

.sold-out-help {
	margin: 18px 0 0;
}

form.cart,
.woocommerce-variation-add-to-cart {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

form.cart {
	margin: 30px 0 0;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

form.cart .opt + .opt {
	margin-top: 0;
}

.opt__label--qty {
	margin-bottom: -14px;
}

.single_add_to_cart_button {
	width: 100%;
	min-height: 56px;
	margin-top: 4px;
}

.buy-now {
	min-height: 56px;
	margin-top: -16px;
}

.trust {
	list-style: none;
	display: grid;
	gap: 9px;
	font-size: 13.5px;
	color: var(--mute);
}

.trust li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.trust svg {
	flex: none;
	color: var(--ink);
}

/* WooCommerce's own variation table, shown as chips by the theme's script */

table.variations {
	width: 100%;
	border-collapse: collapse;
}

table.variations,
table.variations tbody,
table.variations tr,
table.variations th,
table.variations td {
	display: block;
	padding: 0;
	text-align: start;
}

table.variations tr + tr {
	margin-top: 26px;
}

table.variations th label {
	display: block;
	margin-bottom: 12px;
}

table.variations td.value {
	position: relative;
}

table.variations select.is-chipped {
	position: absolute;
	width: 1px;
	height: 1px;
	min-height: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}

.reset_variations {
	position: absolute;
	top: -30px;
	inset-inline-end: 0;
	font-weight: 400;
}

.woocommerce-variation-price {
	margin-bottom: 4px;
	font-size: 15px;
}

.single_variation_wrap {
	margin-top: 26px;
}

.woocommerce-variation:empty {
	display: none;
}

/* Product information */

.accordions {
	margin-top: 40px;
}

.acc,
.prose .wp-block-details {
	border-top: 1px solid var(--line);
}

.acc:last-child,
.prose .wp-block-details:last-of-type {
	border-bottom: 1px solid var(--line);
}

.acc summary,
.prose .wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 14px 0;
	cursor: pointer;
	list-style: none;
}

.prose .wp-block-details summary {
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.3;
}

.acc summary::-webkit-details-marker,
.prose .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.acc summary svg {
	flex: none;
	transition: transform 0.4s var(--ease);
}

.acc[open] summary svg {
	transform: rotate(45deg);
}

.prose .wp-block-details summary::after {
	content: "+";
	font-family: var(--sans);
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	transition: transform 0.4s var(--ease);
}

.prose .wp-block-details[open] summary::after {
	transform: rotate(45deg);
}

.acc__body {
	padding: 2px 0 24px;
	font-size: 14.5px;
	color: #3d3832;
}

.acc__body p:last-child {
	margin-bottom: 0;
}

.facts {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
}

.facts div {
	display: flex;
	gap: 12px;
}

.facts dt {
	min-width: 132px;
	color: var(--mute);
}

.facts dd {
	margin: 0;
}

.related,
.upsells {
	margin-top: 96px;
}

.related > h2,
.upsells > h2 {
	margin-bottom: 34px;
	padding: 0 var(--gutter);
	font-size: clamp(32px, 6vw, 48px);
	text-align: center;
}

@media (min-width: 900px) {
	div.product {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
		column-gap: 72px;
		align-items: start;
		padding: 28px var(--gutter) 0;
	}

	.pgallery__track {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 6px;
		overflow: visible;
	}

	.pgallery__slide:first-child:nth-last-child(odd) {
		grid-column: 1 / -1;
	}

	.pgallery__dots {
		display: none;
	}

	.summary {
		position: sticky;
		top: calc(var(--header-h) + 28px);
		padding: 12px 0 0;
	}

	.related,
	.upsells {
		grid-column: 1 / -1;
		margin-top: 140px;
	}

	.related ul.products,
	.upsells ul.products {
		padding: 0;
	}
}

/* Sticky "Add to bag" on phones, shown while the real button is off screen */

.sticky-buy {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: var(--bg);
	border-top: 1px solid var(--line);
	transform: translateY(105%);
	transition: transform 0.45s var(--ease);
}

.sticky-buy.is-visible {
	transform: none;
}

.sticky-buy__info {
	flex: 1;
	min-width: 0;
	line-height: 1.35;
}

.sticky-buy__name {
	display: block;
	font-family: var(--serif);
	font-size: 18px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sticky-buy__price {
	font-size: 12.5px;
	color: var(--mute);
}

.sticky-buy .btn {
	min-height: 48px;
	padding-inline: 22px;
}

@media (min-width: 900px) {
	.sticky-buy {
		display: none;
	}
}

@media (max-width: 899px) {
	.single-product .site-footer {
		padding-bottom: calc(100px + env(safe-area-inset-bottom));
	}
}

/* Zoom view */

dialog.zoom {
	position: fixed;
	inset: 0;
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--bg);
}

.zoom__close {
	position: fixed;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	width: 44px;
	border-radius: 50%;
	background: rgba(247, 244, 239, 0.92);
}

.zoom__stage {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: auto;
	cursor: zoom-in;
	touch-action: pan-x pan-y pinch-zoom;
}

.zoom__stage img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.zoom__stage.is-zoomed {
	display: block;
	cursor: zoom-out;
}

.zoom__stage.is-zoomed img {
	width: 220%;
	max-width: none;
	max-height: none;
}

@media (min-width: 900px) {
	.zoom__stage.is-zoomed img {
		width: 160%;
	}
}

/* ---------- Bag ---------- */

.bag {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.bag--drawer {
	flex: 1;
}

.bag--drawer .bag__items {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 24px;
}

.bag--drawer .bag__foot {
	padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
}

.bag--page {
	width: min(720px, 100%);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.bag--page .bag__items {
	border-top: 1px solid var(--line);
}

.bag--page .bag__foot {
	padding-top: 26px;
	border-top: 1px solid var(--ink);
}

.bag--page .bag__view {
	display: none;
}

.bag-item {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.bag__items .bag-item:last-child {
	border-bottom: 0;
}

.bag-item__row {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 18px;
}

.bag-item__img {
	aspect-ratio: 2 / 3;
	background: var(--surface);
	overflow: hidden;
}

.bag-item__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bag-item__name {
	margin: -2px 0 6px;
	font-size: 23px;
	font-weight: 400;
}

.bag-item__name a {
	text-decoration: none;
}

.bag-item__meta {
	list-style: none;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--mute);
}

.bag-item__note {
	overflow-wrap: anywhere;
}

.bag-item__price {
	margin: 8px 0 0;
	font-size: 14px;
	letter-spacing: 0.04em;
}

.bag-item__actions {
	display: flex;
	gap: 22px;
	margin-top: 4px;
}

.bag-item__actions .link-btn {
	font-weight: 400;
}

.bag-edit {
	margin-top: 18px;
	padding: 22px 20px;
	background: var(--surface);
}

.bag-edit .note-field {
	margin-top: 26px;
}

.bag-edit .note-field textarea {
	background: var(--white);
}

.bag-edit__actions {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 10px;
	margin-top: 24px;
}

.bag-edit__actions .btn {
	min-height: 48px;
	padding-inline: 10px;
}

.bag__totals {
	margin: 0;
}

.bag__totals div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.bag__totals dt {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.bag__totals dd {
	margin: 0;
	font-size: 16px;
	letter-spacing: 0.04em;
}

.bag__hint {
	margin: 6px 0 20px;
	font-size: 12.5px;
	color: var(--mute);
}

.bag__view {
	display: block;
	margin-top: 16px;
	font-weight: 400;
	text-align: center;
}

.bag__empty {
	padding: 72px 24px;
	text-align: center;
}

.bag__empty p {
	margin-bottom: 26px;
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 300;
	line-height: 1.15;
}

.bag-notices,
.bag-express {
	width: min(720px, 100%);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.bag-express {
	margin-top: 12px;
}

/* Quick add */

.quick__head {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	margin-bottom: 28px;
}

.quick__img {
	aspect-ratio: 2 / 3;
	background: var(--surface);
	overflow: hidden;
}

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

.quick__name {
	margin: 0 0 4px;
	font-size: 28px;
}

.quick__price {
	margin: 0;
	font-size: 13.5px;
	letter-spacing: 0.04em;
	color: var(--mute);
}

.quick .btn {
	margin-top: 30px;
}

.quick__more {
	display: block;
	margin-top: 18px;
	font-weight: 400;
	text-align: center;
}

/* ---------- Toast ---------- */

.toast {
	position: fixed;
	left: 50%;
	bottom: calc(22px + env(safe-area-inset-bottom));
	z-index: 2147483647;
	max-width: calc(100vw - 32px);
	padding: 13px 22px;
	background: var(--ink);
	color: var(--bg);
	font-size: 12.5px;
	letter-spacing: 0.06em;
	opacity: 0;
	transform: translate(-50%, 12px);
	transition: opacity 0.35s, transform 0.35s var(--ease);
	pointer-events: none;
}

.toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------- Homepage ---------- */

.hero {
	position: relative;
	height: calc(100vh - var(--topbar-h));
	height: calc(100svh - var(--topbar-h));
	min-height: 540px;
	max-height: 1100px;
	margin-top: calc(-1 * var(--header-h));
	background: var(--dark);
	color: #fff;
	overflow: hidden;
}

.no-js .hero {
	margin-top: 0;
}

.hero__media {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr;
}

.hero__panel {
	position: relative;
	overflow: hidden;
}

.hero__panel--second {
	display: none;
}

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

@media (min-width: 900px) {
	.hero--duo .hero__media {
		grid-template-columns: 1fr 1fr;
	}

	.hero--duo .hero__panel--second {
		display: block;
	}
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.42) 68%, rgba(0, 0, 0, 0.7) 100%);
	pointer-events: none;
}

.hero__content {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 1;
	padding: 0 var(--gutter) max(44px, 7vh);
	text-align: center;
}

.hero__logo {
	margin: 0;
	font-size: clamp(46px, 15vw, 136px);
	font-weight: 300;
	letter-spacing: 0.2em;
	line-height: 1;
	margin-inline-end: -0.2em;
	white-space: nowrap;
}

.hero__logo img {
	display: block;
	width: min(70vw, 560px);
	height: auto;
	margin: 0 auto;
	filter: brightness(0) invert(1);
}

.hero__tagline {
	margin: 14px 0 30px;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(21px, 2.6vw, 30px);
	line-height: 1.2;
	letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: no-preference) {
	.js .hero__media img,
	.js .hero__media video {
		animation: hero-settle 2.6s var(--ease) both;
	}

	.js .hero__content > * {
		animation: hero-rise 1.3s var(--ease) both;
	}

	.js .hero__content > :nth-child(1) {
		animation-delay: 0.35s;
	}

	.js .hero__content > :nth-child(2) {
		animation-delay: 0.6s;
	}

	.js .hero__content > :nth-child(3) {
		animation-delay: 0.85s;
	}
}

@keyframes hero-settle {
	from {
		transform: scale(1.07);
	}

	to {
		transform: none;
	}
}

@keyframes hero-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Collection rails */

.rail {
	padding: 84px 0;
}

.rail__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	padding: 0 var(--gutter);
}

.rail__title {
	margin: 0;
	font-size: clamp(38px, 6vw, 64px);
}

.rail__all {
	font-weight: 400;
	white-space: nowrap;
	text-underline-offset: 6px;
}

.rail ul.products {
	display: flex;
	gap: 10px;
	padding: 0 var(--gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.rail ul.products::-webkit-scrollbar {
	display: none;
}

.rail ul.products > li {
	flex: 0 0 70vw;
	scroll-snap-align: start;
}

@media (min-width: 700px) {
	.rail ul.products > li {
		flex-basis: 38vw;
	}
}

@media (min-width: 1100px) {
	.rail {
		padding: 140px 0;
	}

	.rail__head {
		margin-bottom: 48px;
	}

	.rail ul.products {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
		overflow: visible;
	}

	.rail ul.products > li:nth-child(n + 5) {
		display: none;
	}
}

.rail--dark {
	background: var(--dark);
	color: var(--dark-text);
}

.rail--dark .card__price {
	color: var(--dark-mute);
}

.rail--dark .card__media {
	background: #1d1916;
}

.rail--dark .card__colours li {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

/* Home Experience */

.hx {
	display: grid;
	background: var(--surface);
}

.hx__img {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.hx__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hx__text {
	padding: 56px var(--gutter) 68px;
}

.hx__text h1,
.hx__text h2 {
	margin-bottom: 20px;
	font-size: clamp(36px, 5.4vw, 58px);
}

.hx__text p {
	max-width: 40ch;
	margin-bottom: 32px;
	font-size: 16px;
	color: #3d3832;
}

.hx--page .prose {
	width: auto;
	margin: 0 0 32px;
	padding: 0;
}

@media (min-width: 900px) {
	.hx {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}

	.hx__img {
		aspect-ratio: auto;
		height: 100%;
		max-height: 820px;
	}

	.hx__text {
		padding: 72px clamp(48px, 8vw, 140px);
	}
}

/* Instagram */

.insta {
	padding: 84px 0 0;
}

.insta__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	padding: 0 var(--gutter);
}

.insta__head h2 {
	margin: 0;
	font-size: clamp(30px, 4.4vw, 46px);
}

.insta__head a {
	font-weight: 400;
	white-space: nowrap;
	text-underline-offset: 6px;
}

.insta__grid {
	display: flex;
	gap: 3px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.insta__grid::-webkit-scrollbar {
	display: none;
}

.insta__grid li {
	flex: 0 0 44vw;
	aspect-ratio: 1;
	background: var(--surface);
	overflow: hidden;
	scroll-snap-align: start;
}

.insta__grid img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}

@media (hover: hover) {
	.insta__grid a:hover img {
		transform: scale(1.04);
	}
}

@media (min-width: 700px) {
	.insta__grid li {
		flex: 1 1 0;
	}
}

@media (min-width: 1100px) {
	.insta {
		padding-top: 140px;
	}
}

/* Quiet entrance for the home sections */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] {
		opacity: 0;
		transform: translateY(26px);
		transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
	}

	.js [data-reveal].is-in {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Newsletter and footer ---------- */

.newsletter {
	padding: 88px var(--gutter);
	text-align: center;
}

.newsletter h2 {
	max-width: 16ch;
	margin: 0 auto 12px;
	font-size: clamp(34px, 5vw, 52px);
}

.newsletter__text p {
	margin: 0 0 30px;
	color: var(--mute);
}

.newsletter__form {
	width: min(480px, 100%);
	margin: 0 auto;
}

.newsletter__field {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--ink);
}

.newsletter__field input[type="email"] {
	flex: 1;
	min-width: 0;
	padding-inline: 0;
	border: 0;
	background: transparent;
}

.newsletter__field button {
	min-height: 50px;
	padding: 0 0 0 16px;
	border: 0;
	background: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.newsletter__msg {
	min-height: 1.6em;
	margin: 12px 0 0;
	font-size: 13px;
	text-align: start;
}

@media (min-width: 900px) {
	.newsletter {
		padding-block: 130px;
	}
}

.site-footer {
	padding: 72px var(--gutter) calc(30px + env(safe-area-inset-bottom));
	background: var(--dark);
	color: var(--dark-text);
}

.site-footer__grid {
	display: grid;
	gap: 44px;
}

.site-footer__word {
	margin: 0 0 12px;
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 300;
	letter-spacing: 0.34em;
	line-height: 1;
}

.site-footer__brand p:last-child {
	margin: 0;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	font-size: 19px;
	color: var(--dark-mute);
}

.site-footer__col h2 {
	margin: 0 0 16px;
	font-size: 10.5px;
	color: var(--dark-mute);
}

.site-footer__col ul {
	list-style: none;
}

.site-footer__col a {
	display: inline-block;
	padding: 7px 0;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 0.03em;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 6px) / 0 1px;
	transition: background-size 0.4s var(--ease);
}

@media (hover: hover) {
	.site-footer__col a:hover {
		background-size: 100% 1px;
	}
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 56px;
	padding-top: 26px;
	border-top: 1px solid var(--dark-line);
}

.site-footer__copy {
	margin: 0;
	font-size: 10.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dark-mute);
}

.pay-icons {
	display: flex;
	gap: 8px;
	list-style: none;
}

.pay {
	display: grid;
	place-items: center;
	height: 28px;
	padding: 0 11px;
	border: 1px solid #4a433c;
	border-radius: 3px;
	color: var(--dark-text);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

@media (min-width: 900px) {
	.site-footer {
		padding-top: 110px;
	}

	.site-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr 1fr;
		gap: 48px;
	}

	.site-footer__base {
		margin-top: 96px;
	}
}

/* ---------- Text pages ---------- */

.prose {
	width: min(660px, 100%);
	margin: 0 auto;
	padding: 0 var(--gutter);
	font-size: 16px;
	line-height: 1.75;
	color: #2e2a25;
}

.prose--center {
	text-align: center;
}

.prose h2 {
	margin: 2em 0 0.5em;
	font-size: 32px;
	color: var(--ink);
}

.prose h3 {
	margin: 1.8em 0 0.4em;
	font-size: 25px;
	color: var(--ink);
}

.prose ul,
.prose ol {
	margin: 0 0 1em;
	padding-inline-start: 1.2em;
}

.prose > :first-child {
	margin-top: 0;
}

.page-article .prose > p:first-of-type {
	font-family: var(--serif);
	font-size: 25px;
	font-weight: 300;
	line-height: 1.38;
	color: var(--ink);
}

.prose figure {
	margin: 1.6em 0;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.prose th,
.prose td {
	padding: 14px 10px;
	border-bottom: 1px solid var(--line);
	text-align: start;
}

.prose th {
	font-size: 10.5px;
}

/* WordPress's own table block draws a boxed grid: keep ours to quiet rules. */

.prose .wp-block-table td,
.prose .wp-block-table th {
	border: 0;
	border-bottom: 1px solid var(--line);
}

.prose .wp-block-table thead {
	border-bottom: 1px solid var(--ink);
}

.prose .wp-block-details p {
	margin: 0;
	padding-bottom: 22px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	color: #3d3832;
}

.sheet__body.prose {
	width: auto;
	padding: 26px 24px;
	font-size: 15px;
}

.contact {
	width: min(660px, 100%);
	margin: 0 auto 36px;
	padding: 0 var(--gutter);
}

.contact__row {
	padding: 30px 0;
	border-top: 1px solid var(--line);
}

.contact__row h2 {
	margin-bottom: 8px;
	font-size: 30px;
}

.contact__row p {
	color: #3d3832;
}

.contact__row p:last-child {
	margin-bottom: 0;
}

.contact__row .btn {
	margin-top: 8px;
}

.post-list {
	width: min(660px, 100%);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.post-list__item {
	padding: 28px 0;
	border-top: 1px solid var(--line);
}

.post-list__item .prose {
	padding: 0;
}

.post-list__item h2 a {
	text-decoration: none;
}

.wishlist__empty,
.wishlist__cta {
	padding: 12px var(--gutter) 0;
	text-align: center;
}

.wishlist__empty {
	max-width: 30ch;
	margin: 0 auto 18px;
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 300;
	line-height: 1.25;
}

/* ---------- Order status ---------- */

.order-status-card {
	width: min(600px, 100%);
	margin: 0 auto 36px;
	padding: 34px 26px;
	border: 1px solid var(--line);
	background: var(--white);
}

.track-page .order-status-card,
.track-form {
	width: min(600px, calc(100% - 2 * var(--gutter)));
	margin-inline: auto;
}

.order-status-card .order-status-card__title {
	margin: 0 0 6px;
	font-family: var(--serif);
	font-size: 36px;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
}

.order-status-card__date {
	margin: 0;
	font-size: 13px;
	color: var(--mute);
}

.order-status-card__actions {
	display: grid;
	gap: 10px;
	margin-top: 30px;
}

.order-status-card__actions .btn {
	padding-inline: 14px;
}

.track {
	list-style: none;
	margin: 28px 0 0;
}

.track li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 50px;
	font-size: 14.5px;
	color: #a59c91;
}

.track li + li::before {
	content: "";
	position: absolute;
	inset-inline-start: 10px;
	bottom: calc(50% + 11px);
	width: 1px;
	height: calc(100% - 22px);
	background: var(--line);
}

.track li.is-done + li.is-done::before {
	background: var(--ink);
}

.track__dot {
	z-index: 1;
	display: grid;
	place-items: center;
	width: 21px;
	height: 21px;
	border: 1px solid #c9c0b4;
	border-radius: 50%;
	background: var(--white);
	color: var(--bg);
	flex: none;
}

.track .is-done {
	color: var(--ink);
}

.track .is-done .track__dot {
	border-color: var(--ink);
	background: var(--ink);
}

.track .is-current .track__label {
	font-weight: 500;
}

.track .is-current .track__dot {
	box-shadow: 0 0 0 5px rgba(26, 23, 20, 0.09);
}

.track-note {
	margin: 22px 0 0;
}

.order-lines {
	list-style: none;
	margin-top: 28px;
	border-top: 1px solid var(--line);
}

.order-lines li {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.order-lines__name {
	display: block;
	font-family: var(--serif);
	font-size: 21px;
}

.order-lines__meta {
	display: block;
	font-size: 13.5px;
	color: var(--mute);
}

.order-lines__total {
	display: flex;
	justify-content: space-between;
	margin: 16px 0 0;
	font-size: 15px;
	letter-spacing: 0.04em;
}

.track-form {
	display: grid;
	gap: 18px;
}

.track-form__intro {
	margin: 0 0 6px;
	color: var(--mute);
	text-align: center;
}

.field {
	display: block;
}

.field > span {
	display: block;
	margin-bottom: 8px;
}

.track-page__again {
	text-align: center;
}

.track-form .form-error {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--wine);
}

@media (min-width: 700px) {
	.order-status-card {
		padding: 44px;
	}

	.order-status-card__actions {
		grid-template-columns: 1fr 1fr;
	}
}

/* ---------- WooCommerce: notices, forms, checkout, account ---------- */

.woocommerce-notices-wrapper:not(:empty) {
	padding: 18px var(--gutter) 0;
}

.bag-notices.woocommerce-notices-wrapper:not(:empty) {
	padding-top: 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-error {
	list-style: none;
	margin: 0 0 22px;
	padding: 15px 18px;
	border: 1px solid var(--line);
	background: var(--white);
	font-size: 14px;
}

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

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: right;
	min-height: 0;
	margin-inline-start: 14px;
	padding: 2px 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 10.5px;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.site-main--shop > .woocommerce-info,
.site-main--shop > .woocommerce-no-products-found {
	margin: 24px var(--gutter);
}

.form-row {
	margin: 0 0 18px;
}

.form-row label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: #3d3832;
}

.form-row .required {
	color: var(--wine);
	text-decoration: none;
}

.form-row .optional {
	color: var(--mute);
}

.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select,
.form-row.woocommerce-invalid .select2-selection {
	border-color: var(--wine);
}

.woocommerce-input-wrapper {
	display: block;
}

.form-row label.checkbox,
.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.checkout-wrap,
.account-wrap {
	width: min(1160px, 100%);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info {
	margin-bottom: 18px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13.5px;
}

form.checkout_coupon,
form.woocommerce-form-login {
	margin-bottom: 28px;
	padding: 22px;
	background: var(--surface);
}

form.checkout h3,
.checkout-heading,
.woocommerce-order h2,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	margin: 0 0 20px;
}

.woocommerce-additional-fields > h3 {
	display: none;
}

form.checkout .checkout-heading {
	margin-top: 36px;
}

#order_review_heading {
	margin-top: 40px;
}

table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

table.shop_table th,
table.shop_table td {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	font-weight: 400;
	text-align: start;
	vertical-align: top;
}

table.shop_table thead {
	display: none;
}

table.shop_table td:last-child,
table.shop_table tfoot td {
	text-align: end;
}

table.shop_table .product-quantity {
	font-weight: 400;
	color: var(--mute);
}

table.shop_table dl.variation,
table.shop_table .wc-item-meta {
	margin: 5px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--mute);
}

table.shop_table dl.variation dt,
table.shop_table dl.variation dd {
	display: inline;
	margin: 0;
	font-weight: 400;
}

table.shop_table dl.variation dt {
	margin-inline-end: 4px;
}

table.shop_table dl.variation dd::after {
	content: "";
	display: block;
}

table.shop_table dl.variation p,
table.shop_table .wc-item-meta p {
	display: inline;
	margin: 0;
}

table.shop_table .wc-item-meta strong {
	font-weight: 400;
}

table.shop_table tfoot .order-total th,
table.shop_table tfoot .order-total td {
	border-bottom: 0;
	font-size: 16px;
}

table.shop_table tfoot .order-total strong {
	font-weight: 500;
}

#shipping_method {
	list-style: none;
}

#shipping_method li {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

#shipping_method label {
	margin: 0;
}

.wc_payment_methods {
	list-style: none;
	border: 1px solid var(--line);
	background: var(--white);
}

.wc_payment_method {
	padding: 16px 18px;
	border-bottom: 1px solid var(--line);
}

.wc_payment_method:last-child {
	border-bottom: 0;
}

.wc_payment_method > label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-inline-start: 10px;
	font-size: 14.5px;
}

.wc_payment_method > label img {
	width: auto;
	max-height: 24px;
}

.payment_box {
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--mute);
}

.payment_box p:last-child {
	margin-bottom: 0;
}

.place-order {
	margin-top: 22px;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
	font-size: 12.5px;
	color: var(--mute);
}

#place_order {
	width: 100%;
	min-height: 58px;
	margin-top: 10px;
}

@media (min-width: 960px) {
	form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
		column-gap: 84px;
		align-items: start;
	}

	form.checkout > .woocommerce-NoticeGroup,
	form.checkout > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	#customer_details {
		grid-column: 1;
		grid-row: 1 / span 3;
	}

	#order_review_heading {
		grid-column: 2;
		margin-top: 0;
	}

	#order_review {
		grid-column: 2;
		position: sticky;
		top: calc(var(--header-h) + 28px);
	}
}

/* select2 (WooCommerce's country / emirate dropdown) made to match */

.select2-container .select2-selection--single {
	height: 50px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--white);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 16px;
	line-height: 48px;
	color: var(--ink);
}

.select2-container .select2-selection--single .select2-selection__arrow {
	height: 48px;
	right: 10px;
}

.select2-dropdown {
	border-color: var(--ink);
	border-radius: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--ink);
	color: var(--bg);
}

/* Order received */

.woocommerce-order {
	width: min(680px, 100%);
	margin: 0 auto;
}

.woocommerce-thankyou-order-received {
	margin-bottom: 30px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 300;
	line-height: 1.3;
	text-align: center;
}

.woocommerce-order-overview {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	list-style: none;
	margin-bottom: 36px;
	padding: 26px;
	background: var(--surface);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--mute);
}

.woocommerce-order-overview__email {
	grid-column: 1 / -1;
}

.woocommerce-order-overview strong {
	display: block;
	margin-top: 4px;
	font-size: 14.5px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--ink);
	overflow-wrap: anywhere;
}

.woocommerce-order-details,
.woocommerce-customer-details {
	margin-top: 40px;
}

.woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.7;
}

/* My account */

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 26px;
	list-style: none;
	margin-bottom: 34px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.woocommerce-MyAccount-navigation a {
	display: inline-block;
	padding: 8px 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-decoration: none;
	text-transform: uppercase;
}

.woocommerce-MyAccount-navigation .is-active a {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.account-wrap .u-columns {
	display: grid;
	gap: 36px;
}

.account-wrap form.woocommerce-form-login,
.account-wrap form.woocommerce-form-register {
	padding: 0;
	background: none;
}

.woocommerce-orders-table .button {
	min-height: 40px;
	padding: 8px 16px;
}

@media (min-width: 900px) {
	.account-wrap .u-columns {
		grid-template-columns: 1fr 1fr;
		gap: 72px;
	}
}

.star-rating {
	display: none;
}

/* ---------- Logged-in admin bar ---------- */

@media (min-width: 601px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (min-width: 783px) {
	.admin-bar .site-header {
		top: 32px;
	}
}

/* ---------- Small states ---------- */

html.has-sheet {
	overflow: hidden;
}

/* ---------- Motion ---------- */

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

/* ---------- Sizing: Ready-Made Sizes or Custom Measurements ---------- */

picture {
	display: contents;
}

.opt + .sizing,
.sizing + .opt {
	margin-top: 26px;
}

.sizing__method {
	margin: 0;
	padding: 0;
	border: 0;
}

.seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--line);
}

.seg__item {
	position: relative;
	display: block;
}

.seg__item + .seg__item {
	border-inline-start: 1px solid var(--line);
}

.seg__item input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.seg__item span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 10px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	color: var(--mute);
	transition: background-color 0.25s, color 0.25s;
}

.seg__item input:checked + span {
	background: var(--ink);
	color: var(--bg);
}

.seg__item input:focus-visible + span {
	outline: 1px solid var(--ink);
	outline-offset: 3px;
}

.sizing__panel {
	margin-top: 24px;
}

.sizing__panel[hidden] {
	display: none;
}

/* Without JavaScript both panels stay open and the chosen method decides which one counts. */
.no-js .sizing__panel[hidden] {
	display: block;
}

.measure__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.measure__intro {
	margin: 0;
	max-width: 30ch;
	color: var(--mute);
	font-size: 14px;
	line-height: 1.55;
}

.unit {
	display: inline-flex;
	flex: none;
	border: 1px solid var(--line);
}

.unit__item {
	position: relative;
	display: block;
}

.unit__item input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.unit__item span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 36px;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--mute);
	transition: background-color 0.25s, color 0.25s;
}

.unit__item input:checked + span {
	background: var(--ink);
	color: var(--bg);
}

.unit__item input:focus-visible + span {
	outline: 1px solid var(--ink);
	outline-offset: 3px;
}

.measure__guide {
	margin-top: 14px;
	padding: 6px 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: none;
	color: inherit;
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
}

.measure__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 14px;
	margin-top: 22px;
}

.mfield {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Labels of two lines keep the boxes of a row on one line. */
.mfield__label {
	display: block;
	flex: 1;
	margin-bottom: 8px;
	font-size: 13px;
	letter-spacing: 0.02em;
	line-height: 1.35;
}

.mfield__opt {
	color: var(--mute);
	font-size: 12px;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
}

.mfield__req {
	color: var(--wine);
}

.mfield__box {
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	transition: border-color 0.25s;
}

.mfield__box:focus-within {
	border-color: var(--ink);
}

.mfield__box input {
	flex: 1;
	min-width: 0;
	width: 100%;
	height: 46px;
	min-height: 0;
	padding: 0 12px;
	border: 0;
	background: transparent;
	font-size: 16px; /* 16px keeps iOS from zooming the page on focus */
}

.mfield__box input:focus {
	outline: none;
}

.mfield__unit {
	flex: none;
	padding-inline-end: 12px;
	color: var(--mute);
	font-size: 12.5px;
}

.mfield.has-error .mfield__box {
	border-color: var(--wine);
}

.mfield__error {
	display: block;
	margin-top: 6px;
	color: var(--wine);
	font-size: 12.5px;
	line-height: 1.4;
}

.mfield__error[hidden] {
	display: none;
}

.note-field--tailor {
	margin-top: 22px;
}

.measure__fee {
	margin: 18px 0 0;
	font-size: 14px;
}

.measure__policy {
	margin: 10px 0 0;
	color: var(--mute);
	font-size: 12.5px;
	line-height: 1.5;
}

.measure-guide dl {
	margin: 20px 0;
}

.measure-guide dl > div {
	padding: 14px 0;
	border-top: 1px solid var(--line);
}

.measure-guide dt {
	font-family: var(--serif);
	font-size: 19px;
}

.measure-guide dd {
	margin: 4px 0 0;
	color: var(--mute);
	font-size: 14px;
	line-height: 1.6;
}

.bag-item__measure {
	font-size: 12.5px;
	line-height: 1.5;
}

.bag-edit .measure__grid {
	gap: 14px 10px;
}

/* ---------- Homepage: editorial sections ---------- */

.eyebrow {
	margin: 0 0 18px;
	color: var(--mute);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.24em;
	line-height: 1.5;
	text-transform: uppercase;
}

.text-link {
	display: inline-block;
	padding-bottom: 6px;
	border-bottom: 1px solid currentColor;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.3s;
}

@media (hover: hover) {
	.text-link:hover {
		opacity: 0.6;
	}
}

/* The Edit: one large portrait, a smaller one set against it, and a few words */

.edit {
	display: grid;
	gap: 40px;
	padding: 92px 0 96px;
}

.edit__text {
	padding: 0 var(--gutter);
}

.edit__text h2 {
	margin-bottom: 18px;
	font-size: clamp(40px, 9vw, 76px);
}

.edit__text p:not(.eyebrow) {
	max-width: 34ch;
	margin-bottom: 26px;
	color: #3d3832;
	font-size: 16px;
	line-height: 1.7;
}

.edit__img {
	margin: 0;
	background: var(--surface);
	overflow: hidden;
}

.edit__img img,
.about__img img,
.details__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.edit__img--a {
	width: calc(100% - var(--gutter));
	aspect-ratio: 4 / 5;
}

.edit__img--a img {
	object-position: 50% 12%;
}

.edit__img--b {
	width: 62%;
	aspect-ratio: 3 / 4;
	justify-self: end;
	margin-top: -22%;
	border: 10px solid var(--bg);
	border-inline-end: 0;
}

@media (min-width: 900px) {
	.edit {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-template-rows: auto 1fr;
		column-gap: 24px;
		row-gap: 0;
		align-items: start;
		padding: 150px var(--gutter) 160px;
	}

	.edit__img--a {
		grid-column: 1 / span 6;
		grid-row: 1 / span 2;
		width: 100%;
		aspect-ratio: 4 / 5;
	}

	.edit__text {
		grid-column: 8 / span 5;
		grid-row: 1;
		padding: 24px 0 72px;
	}

	.edit__img--b {
		grid-column: 8 / span 4;
		grid-row: 2;
		width: 100%;
		margin-top: 0;
		border: 0;
		justify-self: start;
		align-self: end;
	}
}

/* Details That Define Us */

.details {
	padding: 88px 0 96px;
	background: var(--surface);
}

.details__head {
	padding: 0 var(--gutter);
	margin-bottom: 40px;
	text-align: center;
}

.details__head h2 {
	max-width: 12ch;
	margin: 0 auto;
	font-size: clamp(38px, 8.4vw, 68px);
	font-style: italic;
	text-wrap: balance;
}

.details__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 10px;
	padding: 0 var(--gutter);
	list-style: none;
}

.details__grid figure {
	margin: 0;
}

.details__img {
	aspect-ratio: 4 / 5;
	background: #e3ddd3;
	overflow: hidden;
}

.details__img img {
	transition: transform 1.6s var(--ease);
}

@media (hover: hover) {
	.details__grid li:hover .details__img img {
		transform: scale(1.05);
	}
}

.details__grid figcaption {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
}

.details__no {
	color: var(--mute);
	font-weight: 400;
}

@media (min-width: 900px) {
	.details {
		padding: 140px 0 150px;
	}

	.details__head {
		margin-bottom: 72px;
	}

	.details__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}

	.details__grid li:nth-child(even) {
		margin-top: 56px;
	}
}

/* Shop the Collection: the store's categories */

.cats {
	padding: 88px 0 12px;
}

.cats__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	padding: 0 var(--gutter);
}

.cats__head h2 {
	margin: 0;
	font-size: clamp(34px, 6vw, 60px);
}

.cats__grid {
	display: flex;
	gap: 10px;
	padding: 0 var(--gutter);
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.cats__grid::-webkit-scrollbar {
	display: none;
}

.cats__grid > li {
	flex: 0 0 62vw;
	scroll-snap-align: start;
}

.cats__grid--1 > li {
	flex-basis: 100%;
}

.cat-tile {
	display: block;
	text-decoration: none;
}

.cat-tile__img {
	display: block;
	aspect-ratio: 3 / 4;
	margin-bottom: 16px;
	background: var(--surface);
	overflow: hidden;
}

.cats__grid--1 .cat-tile__img {
	aspect-ratio: 4 / 5;
}

.cat-tile__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 15%;
	transition: transform 1.6s var(--ease);
}

@media (hover: hover) {
	.cat-tile:hover .cat-tile__img img {
		transform: scale(1.04);
	}
}

.cat-tile__name {
	display: block;
	font-family: var(--serif);
	font-size: 26px;
	line-height: 1.15;
}

.cat-tile__count {
	display: block;
	margin-top: 6px;
	color: var(--mute);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (min-width: 900px) {
	.cats {
		padding: 150px 0 20px;
	}

	.cats__head {
		margin-bottom: 48px;
	}

	.cats__grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
		overflow: visible;
	}

	.cats__grid--1 {
		grid-template-columns: minmax(0, 1fr);
	}

	.cats__grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cats__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cats__grid--1 .cat-tile__img {
		aspect-ratio: 21 / 9;
	}

	.cats__grid--2 .cat-tile__img {
		aspect-ratio: 4 / 5;
	}

	.cat-tile__name {
		font-size: 30px;
	}
}

/* Discover: brand introduction */

.about {
	display: grid;
	gap: 44px;
	padding: 92px 0 96px;
}

.about__img {
	width: calc(100% - var(--gutter));
	margin: 0;
	margin-inline-start: var(--gutter);
	aspect-ratio: 4 / 5;
	background: var(--surface);
	overflow: hidden;
}

.about__img img {
	object-position: 50% 10%;
}

.about__text {
	padding: 0 var(--gutter);
}

.about__text h2 {
	max-width: 13ch;
	margin-bottom: 22px;
	font-size: clamp(38px, 9vw, 72px);
	font-style: italic;
	text-wrap: balance;
}

.about__text p:not(.eyebrow) {
	max-width: 42ch;
	margin-bottom: 28px;
	color: #3d3832;
	font-size: 16px;
	line-height: 1.75;
}

@media (min-width: 900px) {
	.about {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 24px;
		align-items: center;
		padding: 160px var(--gutter);
	}

	.about__text {
		grid-column: 2 / span 5;
		grid-row: 1;
		padding: 0;
	}

	.about__img {
		grid-column: 8 / span 5;
		grid-row: 1;
		width: 100%;
		margin: 0;
		aspect-ratio: 3 / 4;
	}
}

/* Home Experience band */

.hx-band {
	padding: 96px var(--gutter);
	background: var(--dark);
	color: var(--dark-text);
	text-align: center;
}

.hx-band .eyebrow {
	color: var(--dark-mute);
}

.hx-band h2 {
	margin-bottom: 18px;
	font-size: clamp(36px, 7vw, 60px);
}

.hx-band p:not(.eyebrow) {
	max-width: 44ch;
	margin: 0 auto 34px;
	color: #cfc7bb;
	font-size: 16px;
	line-height: 1.7;
}

.hx-band .btn {
	gap: 12px;
	border-color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 900px) {
	.hx-band {
		padding: 150px var(--gutter);
	}
}

/* A product or category without a photo yet: a quiet tone with the brand name */

.no-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	aspect-ratio: 2 / 3;
	background: var(--surface);
	color: #b3a999;
	font-family: var(--serif);
	font-size: clamp(11px, 1.6vw, 15px);
	letter-spacing: 0.34em;
}

.no-photo span {
	margin-inline-end: -0.34em;
}

.cat-tile__img .no-photo,
.bag-item__img .no-photo,
.quick__img .no-photo {
	aspect-ratio: auto;
}

.rail--dark .no-photo {
	background: #1d1916;
	color: #5d554b;
}

.card__link,
.cat-tile {
	text-decoration: none;
}

/* On the product page the form itself spaces its rows; inside a sizing panel the groups space themselves. */
form.cart .opt + .sizing,
form.cart .sizing + .opt {
	margin-top: 0;
}

form.cart .sizing__panel .opt + .opt,
.sizing__panel .opt + .opt {
	margin-top: 26px;
}
