/* ==========================================================================
   Avgi Wear 2.0 — design system and storefront
   Paper and ink, a plum dot, the pointed Persian arch.
   Logical properties throughout: the same rules lay out RTL and LTR.
   ========================================================================== */

@font-face {
	font-family: "YekanBakh";
	src: url("../fonts/yekanbakh-fanum-variable.woff2") format("woff2");
	font-weight: 100 950;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #f6f3ee;
	--paper-2: #efeae2;
	--paper-3: #e5ddd1;
	--card: #fbfaf7;
	--ink: #1c1a17;
	--ink-2: #4a4540;
	--muted: #6e675e;
	--line: rgb(28 26 23 / 0.12);
	--line-strong: rgb(28 26 23 / 0.24);
	--plum: #5b3a3e;
	--plum-2: #7a4f54;
	--plum-tint: #ece2e0;
	--plum-light: #d9b8bc;
	--success: #2f5d50;
	--success-tint: #e3ece6;
	--warning: #8a5a12;
	--warning-tint: #f3e9d6;
	--danger: #9b2c2c;
	--danger-tint: #f5e2df;

	--font: "YekanBakh", "SF Arabic", "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif;

	--step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
	--step-0: clamp(0.94rem, 0.91rem + 0.15vw, 1rem);
	--step-1: clamp(1.06rem, 1rem + 0.3vw, 1.24rem);
	--step-2: clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem);
	--step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
	--step-4: clamp(2.2rem, 1.6rem + 2.8vw, 4.25rem);
	--step-5: clamp(2.9rem, 1.7rem + 5.6vw, 7.75rem);

	--gutter: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left), env(safe-area-inset-right));
	--max: 1440px;
	--radius: 6px;
	--radius-lg: 18px;
	--header-h: 72px;
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--shadow: 0 1px 2px rgb(28 26 23 / 0.04), 0 18px 40px -18px rgb(28 26 23 / 0.28);
	--star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.8 6 6.5.7-4.8 4.4 1.3 6.4L12 16.9l-5.8 3.2 1.3-6.4-4.8-4.4 6.5-.7z'/%3E%3C/svg%3E");
	--dir: 1;

	/* Light only: stops Samsung Internet and Chrome from force-darkening the page. */
	color-scheme: only light;
	interpolate-size: allow-keywords;
}

[dir="rtl"] {
	--dir: -1;
}

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

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

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--step-0);
	font-weight: 400;
	line-height: 1.9;
	font-kerning: normal;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}

html:has(dialog[open]) {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-weight: 400;
	line-height: 1.35;
	text-wrap: balance;
}

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

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

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

img {
	vertical-align: middle;
}

button {
	font: inherit;
	color: inherit;
}

::selection {
	background: var(--plum);
	color: var(--card);
}

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

/* Focus moved after a tap (see app.js): kept for assistive technology, without the ring. */
[data-quiet-focus]:focus-visible {
	outline: none;
}

ins {
	text-decoration: none;
}

bdi[dir="ltr"] {
	unicode-bidi: isolate;
}

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

.skip-link {
	position: fixed;
	z-index: 200;
	inset-inline-start: 12px;
	top: -80px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	transition: top 0.2s;
}

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

.svg-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

/* Icons ---------------------------------------------------------------- */

.icon {
	width: 22px;
	height: 22px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

.icon .icon-fill {
	fill: currentColor;
	stroke: none;
}

[dir="rtl"] .icon--dir {
	transform: scaleX(-1);
}

.icon--prev {
	rotate: 180deg;
}

/* Typography helpers ------------------------------------------------------ */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--muted);
	font-size: var(--step--1);
	font-weight: 600;
	line-height: 1.6;
}

.dot {
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: 50%;
	background: var(--plum);
}

.section-index {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--plum);
	font-weight: 700;
}

.section-index::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}

.section-title {
	margin: 0;
	font-size: var(--step-4);
	font-weight: 250;
	line-height: 1.22;
}

.section-title em {
	color: var(--plum);
	font-style: normal;
	font-weight: 420;
}

.section-title--small {
	font-size: var(--step-3);
}

.muted {
	color: var(--muted);
}

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

.button,
a.button,
button.button,
input.button,
.wp-element-button,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
	-webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
	.button:hover,
	.comment-form .submit:hover {
		border-color: var(--plum);
		background: var(--plum);
		color: var(--card);
	}
}

.button .icon {
	width: 19px;
	height: 19px;
	transition: translate 0.35s var(--ease);
}

@media (hover: hover) {
	.button:hover .icon--arrow {
		translate: calc(4px * var(--dir)) 0;
	}
}

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

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

.button--block {
	width: 100%;
}

.button--small,
a.button--small {
	min-height: 38px;
	padding: 0 16px;
	font-size: 13px;
}

.button:disabled,
.button.disabled,
.button[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.45;
}

.button.loading,
.is-loading {
	position: relative;
	pointer-events: none;
}

.button.loading {
	color: transparent !important;
}

.button.loading::after,
.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 18px;
	height: 18px;
	margin: auto;
	border: 2px solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
	animation: avgi-spin 0.7s linear infinite;
}

.button.loading::after {
	border-color: var(--paper);
	border-inline-end-color: transparent;
}

.link-underline {
	position: relative;
	padding-bottom: 3px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	font-weight: 500;
	transition: background-size 0.4s var(--ease);
}

/* A finger-sized hit area around the short underlined link. */
.link-underline::after {
	content: "";
	position: absolute;
	inset: -10px -6px;
}

@media (hover: hover) {
	.link-underline:hover {
		background-size: 0 1px;
	}
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 500;
}

.link-arrow .icon {
	width: 18px;
	height: 18px;
	transition: translate 0.35s var(--ease);
}

@media (hover: hover) {
	.link-arrow:hover .icon--arrow,
	.link-arrow:hover .icon--diagonal {
		translate: calc(4px * var(--dir)) -2px;
	}
}

.icon-button {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s;
	-webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
	.icon-button:hover {
		background: rgb(28 26 23 / 0.06);
	}
}

@keyframes avgi-spin {
	to {
		rotate: 360deg;
	}
}

/* Forms ----------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="url"],
input[type="date"],
textarea,
select,
.input-text {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: var(--card);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
}

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

select {
	padding-inline-end: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a17' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: right 14px center;
	cursor: pointer;
}

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

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 4px rgb(91 58 62 / 0.14);
}

input[dir="ltr"],
input[type="email"],
input[type="tel"],
input[type="url"] {
	direction: ltr;
}

[dir="rtl"] input[dir="ltr"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="url"] {
	text-align: right;
}

::placeholder {
	color: #8f877d;
	opacity: 1;
}

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

label {
	display: block;
	margin-bottom: 8px;
	color: var(--ink-2);
	font-size: 14px;
	font-weight: 500;
}

.required,
abbr.required {
	color: var(--plum);
	text-decoration: none;
	border: 0;
}

.optional {
	color: var(--muted);
	font-size: 12px;
	font-weight: 400;
}

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

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

.form-row .description {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 13px;
}

.form-row.woocommerce-invalid .input-text,
.form-row.woocommerce-invalid select {
	border-color: var(--danger);
}

.checkout-inline-error-message,
.coupon-error-notice {
	margin: 6px 0 0;
	color: var(--danger);
	font-size: 13px;
}

.woocommerce-form__label-for-checkbox,
label.checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

.password-input {
	position: relative;
	display: block;
}

.show-password-input {
	position: absolute;
	top: 50%;
	inset-inline-end: 6px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	translate: 0 -50%;
}

.show-password-input::after {
	content: "";
	position: absolute;
	inset: 7px;
	background: var(--muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.show-password-input.display-password::after {
	background: var(--plum);
}

.select-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.select-wrap select {
	min-height: 40px;
	padding-block: 6px;
	padding-inline: 16px 40px;
	border-radius: 999px;
	background-color: transparent;
	background-image: none;
	font-size: 14px;
}

.select-wrap .icon {
	position: absolute;
	inset-inline-end: 14px;
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.search-form {
	position: relative;
	display: flex;
	max-width: 460px;
	margin-inline: auto;
}

.search-form__field {
	padding-inline-end: 56px;
	border-radius: 999px;
}

.search-form__submit {
	position: absolute;
	inset-block: 4px;
	inset-inline-end: 4px;
	width: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	cursor: pointer;
}

.search-form__submit .icon {
	width: 18px;
	height: 18px;
}

/* Chips --------------------------------------------------------------- */

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 14px;
	white-space: nowrap;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

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

.chip[aria-current="page"],
.chip.is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.chip__count {
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
}

.chip[aria-current="page"] .chip__count,
.chip.is-active .chip__count {
	color: rgb(246 243 238 / 0.6);
}

.chip--quiet {
	height: 34px;
	border-color: transparent;
	background: var(--paper-2);
	font-size: 13px;
}

/* Header ---------------------------------------------------------------- */

.announcement {
	padding: 8px var(--gutter);
	background: var(--ink);
	color: rgb(246 243 238 / 0.86);
	font-size: var(--step--1);
	text-align: center;
}

.announcement__text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.announcement__text .icon--shamseh {
	width: 11px;
	height: 11px;
	color: var(--plum-light);
}

.announcement a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: underline;
}

.announcement a .icon {
	width: 14px;
	height: 14px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	background: rgb(246 243 238 / 0.94);
	-webkit-backdrop-filter: saturate(1.5) blur(14px);
	backdrop-filter: saturate(1.5) blur(14px);
	transition: translate 0.45s var(--ease), border-color 0.3s;
	view-transition-name: site-header;
}

.site-header[data-scrolled] {
	border-color: var(--line);
}

.site-header[data-hidden] {
	translate: 0 -100%;
}

body:has(dialog[open]) .site-header {
	translate: none;
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	max-width: var(--max);
	height: var(--header-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-header__start {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.site-header__end {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
}

.brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
}

.wordmark {
	display: block;
	width: auto;
	height: 34px;
	overflow: visible;
}

.wordmark__dots {
	fill: var(--plum);
}

.custom-logo {
	width: auto;
	max-height: 46px;
}

.primary-nav__list {
	display: flex;
	gap: clamp(16px, 2.2vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav li {
	position: relative;
}

.primary-nav a {
	position: relative;
	display: block;
	padding-block: 8px;
	font-size: 15px;
	font-weight: 450;
	white-space: nowrap;
}

.primary-nav a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	width: 5px;
	height: 5px;
	margin-inline: auto;
	border-radius: 50%;
	background: var(--plum);
	scale: 0;
	transition: scale 0.3s var(--ease);
}

.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after,
.primary-nav a[aria-current="page"]::after {
	scale: 1;
}

@media (hover: hover) {
	.primary-nav a:hover::after {
		scale: 1;
	}
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: -18px;
	z-index: 5;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	translate: 0 6px;
	transition: opacity 0.2s, translate 0.25s var(--ease), visibility 0.2s;
}

.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	translate: 0 0;
}

@media (hover: hover) {
	.primary-nav li:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		translate: 0 0;
	}
}

.primary-nav .sub-menu a {
	padding: 8px 12px;
	border-radius: 8px;
}

@media (hover: hover) {
	.primary-nav .sub-menu a:hover {
		background: var(--paper-2);
	}
}

.primary-nav .sub-menu a::after {
	display: none;
}

.bag-count {
	position: absolute;
	top: 4px;
	inset-inline-end: 2px;
	min-width: 19px;
	height: 19px;
	padding-inline: 5px;
	border-radius: 10px;
	background: var(--plum);
	color: var(--card);
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
	transition: scale 0.3s var(--ease-out);
}

.bag-count[data-count="0"] {
	scale: 0;
}

.bag-count.is-bumped {
	animation: avgi-bump 0.5s var(--ease-out);
}

@keyframes avgi-bump {
	40% {
		scale: 1.35;
	}
}

.site-header--focused .site-header__inner {
	height: 64px;
}

.back-link,
.secure-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-2);
	font-size: 14px;
}

.back-link .icon,
.secure-label .icon {
	width: 18px;
	height: 18px;
}

[dir="rtl"] .icon--back {
	transform: none;
}

[dir="ltr"] .icon--back {
	transform: scaleX(-1);
}

@media (max-width: 1023px) {
	.primary-nav,
	.account-link {
		display: none;
	}

	.wordmark {
		height: 30px;
	}
}

@media (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}
}

@media (max-width: 560px) {
	.back-link span,
	.secure-label span {
		display: none;
	}
}

/* Dialogs: drawers, search sheet ------------------------------------------ */

dialog {
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
}

dialog::backdrop {
	background: rgb(28 26 23 / 0.4);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.35s, overlay 0.35s allow-discrete, display 0.35s allow-discrete;
}

dialog[open]::backdrop {
	opacity: 1;
}

@starting-style {
	dialog[open]::backdrop {
		opacity: 0;
	}
}

.drawer {
	position: fixed;
	inset-block: 0;
	width: min(440px, 100vw);
	height: 100vh;
	height: 100dvh;
	margin: 0;
	background: var(--paper);
	box-shadow: var(--shadow);
	transition: translate 0.5s var(--ease-out), overlay 0.5s allow-discrete, display 0.5s allow-discrete;
}

.drawer[open] {
	display: flex;
	flex-direction: column;
}

.drawer--end {
	inset-inline: auto 0;
	translate: calc(100% * var(--dir)) 0;
}

.drawer--start {
	inset-inline: 0 auto;
	translate: calc(-100% * var(--dir)) 0;
}

.drawer[open] {
	translate: 0 0;
}

@starting-style {
	.drawer--end[open] {
		translate: calc(100% * var(--dir)) 0;
	}

	.drawer--start[open] {
		translate: calc(-100% * var(--dir)) 0;
	}
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px 14px 24px;
	padding-inline: 24px 14px;
	border-bottom: 1px solid var(--line);
}

.drawer__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: var(--step-1);
	font-weight: 500;
}

.drawer__title .bag-count {
	position: static;
}

.drawer__body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 24px;
}

.drawer-nav {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px 24px;
	counter-reset: drawer;
}

.drawer-nav__list,
.drawer-nav .sub-menu,
.drawer-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer-nav > ul > li > a {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding-block: 14px;
	border-bottom: 1px solid var(--line);
	font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2rem);
	font-weight: 300;
	line-height: 1.4;
	counter-increment: drawer;
}

.drawer-nav > ul > li > a::before {
	content: counter(drawer, persian) ".";
	min-width: 1.6em;
	color: var(--plum);
	font-size: 13px;
	font-weight: 700;
}

[lang^="en"] .drawer-nav > ul > li > a::before {
	content: counter(drawer, decimal-leading-zero);
}

.drawer-nav .sub-menu a {
	display: block;
	padding: 8px 0;
	padding-inline-start: 2.6em;
	color: var(--ink-2);
}

.drawer__foot {
	display: grid;
	gap: 6px;
	padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
}

.drawer__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-block: 8px;
	color: var(--ink-2);
}

.drawer__link .icon {
	width: 20px;
	height: 20px;
}

.drawer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

/* Support phone line on the checkout and order pages. */
.support-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 14px;
	text-align: center;
}

.support-line .icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.support-line a {
	color: var(--ink);
	font-weight: 600;
	white-space: nowrap;
}

/* Developer credit in the footer's bottom bar. */
.site-credit {
	color: rgb(246 243 238 / 0.55);
}

.site-credit a {
	color: rgb(246 243 238 / 0.8);
	text-decoration: underline;
	text-decoration-color: rgb(246 243 238 / 0.3);
	text-underline-offset: 4px;
}

.search-sheet {
	position: fixed;
	inset: 0 0 auto;
	width: 100%;
	max-height: min(88vh, 760px);
	max-height: min(88dvh, 760px);
	margin: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow);
	translate: 0 -100%;
	transition: translate 0.5s var(--ease-out), overlay 0.5s allow-discrete, display 0.5s allow-discrete;
}

.search-sheet[open] {
	translate: 0 0;
}

@starting-style {
	.search-sheet[open] {
		translate: 0 -100%;
	}
}

.search-sheet__inner {
	max-width: 1080px;
	margin-inline: auto;
	padding: 20px var(--gutter) 36px;
}

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

.search-sheet__form > .icon {
	width: 26px;
	height: 26px;
	color: var(--muted);
}

.search-sheet__form input[type="search"] {
	min-height: 64px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.2rem);
	font-weight: 300;
	box-shadow: none;
}

.search-sheet__form input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.search-sheet__body {
	padding-top: 24px;
}

.search-suggest .eyebrow {
	margin-bottom: 12px;
}

.search-results:empty {
	display: none;
}

.search-results__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 24px 0 14px;
}

.search-results__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-hit {
	display: grid;
	grid-template-columns: 72px 1fr;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: 14px;
	transition: background-color 0.2s;
}

.search-hit:focus-visible {
	background: var(--paper-2);
}

@media (hover: hover) {
	.search-hit:hover {
		background: var(--paper-2);
	}
}

.search-hit__image {
	width: 72px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 8px;
	background: var(--paper-2);
}

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

.search-hit__name {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}

.search-hit__price {
	color: var(--muted);
	font-size: 13px;
}

.search-results__empty {
	margin: 24px 0 0;
	color: var(--muted);
}

@media (max-width: 760px) {
	.search-results__list {
		grid-template-columns: 1fr;
	}
}

/* Mini cart (inside the bag drawer) ---------------------------------------- */

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

.mini-cart {
	display: flex;
	flex: 1;
	min-height: 0;
	flex-direction: column;
}

.mini-cart .ship-progress {
	margin: 16px 24px 0;
}

.mini-cart__items {
	flex: 1;
	margin: 0;
	padding: 8px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
}

.mini-cart__item {
	position: relative;
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 16px;
	padding-block: 18px;
	border-bottom: 1px solid var(--line);
	transition: opacity 0.3s;
}

.mini-cart__item.is-updating {
	opacity: 0.45;
	pointer-events: none;
}

.mini-cart__thumb {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-2);
}

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

.mini-cart__info {
	display: grid;
	align-content: start;
	gap: 4px;
	min-width: 0;
	padding-inline-end: 28px;
}

.mini-cart__name {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
}

.mini-cart .variation,
.cart-item .variation,
.review-table .variation,
.wc-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 6px;
	margin: 2px 0 0;
	padding: 0;
	color: var(--muted);
	font-size: 13px;
	list-style: none;
}

.variation dt,
.variation dd,
.wc-item-meta li,
.wc-item-meta p {
	margin: 0;
}

.variation dd p {
	display: inline;
	margin: 0;
}

.mini-cart__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
}

.mini-cart__price {
	font-size: 14px;
	font-weight: 600;
}

.mini-cart__remove {
	position: absolute;
	top: 14px;
	inset-inline-end: -6px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--muted);
	cursor: pointer;
}

@media (hover: hover) {
	.mini-cart__remove:hover {
		background: var(--paper-2);
		color: var(--ink);
	}
}

.mini-cart__remove .icon {
	width: 16px;
	height: 16px;
}

.mini-cart__footer {
	padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--card);
}

.mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 4px;
	font-size: 16px;
}

.mini-cart__total strong {
	font-weight: 500;
}

.mini-cart__total .amount {
	font-size: 18px;
	font-weight: 700;
}

.mini-cart__note {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 13px;
}

.mini-cart__buttons {
	display: grid;
	gap: 8px;
	margin: 0;
}

.mini-cart__buttons .button {
	width: 100%;
}

.mini-cart__buttons .button:not(.checkout) {
	order: 2;
	border-color: var(--line-strong);
	background: transparent;
	color: var(--ink);
}

.mini-cart__buttons .checkout {
	order: 1;
}

.mini-cart--empty {
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 40px 32px;
	text-align: center;
}

.mini-cart__empty-title {
	margin: 10px 0 0;
	font-size: var(--step-2);
	font-weight: 400;
}

.mini-cart__empty-text {
	max-width: 22em;
	color: var(--muted);
}

/* Quantity stepper ------------------------------------------------------ */

.qty-stepper {
	display: inline-flex;
	align-items: center;
	height: 56px;
	padding-inline: 4px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--card);
}

.qty-stepper__btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s;
}

@media (hover: hover) {
	.qty-stepper__btn:hover:not(:disabled) {
		background: rgb(28 26 23 / 0.07);
	}
}

.qty-stepper__btn:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

.qty-stepper__btn .icon {
	width: 17px;
	height: 17px;
}

.qty-stepper input.qty {
	width: 2.8em;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

.qty-stepper--sm {
	height: 38px;
	padding-inline: 2px;
}

.qty-stepper--sm .qty-stepper__btn {
	width: 32px;
	height: 32px;
}

.qty-stepper__value {
	min-width: 1.9em;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.quantity:not(.qty-stepper) input.qty[type="hidden"] + * {
	display: none;
}

/* Free-shipping progress -------------------------------------------------- */

.ship-progress {
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--paper-2);
}

.ship-progress__text {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 14px;
}

.ship-progress__text .icon {
	width: 20px;
	height: 20px;
	color: var(--plum);
}

.ship-progress__bar {
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--paper-3);
}

.ship-progress__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--plum);
	transition: inline-size 0.6s var(--ease-out);
}

.ship-progress.is-complete .ship-progress__bar span {
	background: var(--success);
}

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

.toast {
	position: fixed;
	z-index: 120;
	inset-inline: 0;
	bottom: calc(24px + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	max-width: calc(100vw - 32px);
	margin-inline: auto;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	box-shadow: var(--shadow);
	font-size: 14px;
	opacity: 0;
	translate: 0 16px;
	transition: opacity 0.3s var(--ease-out), translate 0.4s var(--ease-out);
}

.toast.is-visible {
	opacity: 1;
	translate: 0 0;
}

.toast.is-error {
	background: var(--danger);
}

/* Notices --------------------------------------------------------------- */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.notice-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--paper-2);
	font-size: 15px;
	line-height: 1.8;
	list-style: none;
}

.woocommerce-message {
	background: var(--success-tint);
}

.woocommerce-error {
	display: block;
	padding-inline-start: 46px;
	background: var(--danger-tint);
	color: #5f1b1b;
	position: relative;
}

.woocommerce-error::before {
	content: "!";
	position: absolute;
	top: 15px;
	inset-inline-start: 16px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--danger);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-error li + li {
	margin-top: 4px;
}

.woocommerce-message::before,
.woocommerce-info::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: var(--plum);
	-webkit-mask: var(--notice-icon) center / contain no-repeat;
	mask: var(--notice-icon) center / contain no-repeat;
}

.woocommerce-message {
	--notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.8 2.8L16.5 9.5'/%3E%3C/svg%3E");
}

.woocommerce-message::before {
	background: var(--success);
}

.woocommerce-info {
	--notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.8v.2'/%3E%3C/svg%3E");
}

.notice-card__text {
	flex: 1;
	min-width: 180px;
}

.notice-card__text a:not(.button),
.woocommerce-error a:not(.button) {
	text-decoration: underline;
}

.notice-card .button,
.woocommerce-message .button,
.woocommerce-info .button {
	min-height: 38px;
	padding: 0 16px;
	font-size: 13px;
}

.notice-card__text .button {
	margin-inline-start: 10px;
	float: inline-end;
}

.demo_store {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 60;
	margin: 0;
	padding: 12px var(--gutter);
	background: var(--plum);
	color: var(--card);
	font-size: 14px;
	text-align: center;
}

.demo_store a {
	margin-inline-start: 12px;
	text-decoration: underline;
}

/* Demo mode is announced in the announcement bar, not in a floating badge over the page. */
.preview-notice {
	display: none;
}

/* Empty states ---------------------------------------------------------- */

.empty-state {
	display: grid;
	justify-items: center;
	gap: 10px;
	max-width: 560px;
	margin-inline: auto;
	padding: clamp(48px, 8vw, 104px) 16px;
	text-align: center;
}

.empty-state__icon {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--plum-tint);
	color: var(--plum);
}

.empty-state__icon .icon {
	width: 30px;
	height: 30px;
}

.empty-state h2,
.empty-state h3 {
	margin: 0;
	font-size: var(--step-2);
	font-weight: 400;
}

.empty-state p {
	max-width: 30em;
	margin: 0 0 8px;
	color: var(--muted);
}

.empty-state .search-form {
	width: 100%;
	margin-block: 8px;
}

.empty-state--compact {
	padding-block: 48px;
}

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

.section {
	max-width: var(--max);
	margin-inline: auto;
	padding: clamp(72px, 10vw, 150px) var(--gutter) 0;
}

.section-head {
	margin-bottom: clamp(28px, 4vw, 56px);
}

.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: clamp(32px, 5vw, 96px);
	max-width: var(--max);
	min-height: min(calc(100vh - var(--header-h) - 36px), 980px);
	min-height: min(calc(100svh - var(--header-h) - 36px), 980px);
	margin-inline: auto;
	padding: clamp(20px, 3vw, 48px) var(--gutter) 0;
}

.hero__copy {
	padding-block: clamp(16px, 5vw, 72px);
}

.hero__title {
	margin: 10px 0 30px;
	font-size: var(--step-5);
	font-weight: 200;
	line-height: 1.16;
	animation: avgi-breathe 1.5s 0.05s var(--ease-out) both;
}

.hero__lead {
	display: block;
}

.hero__mark {
	position: relative;
	display: inline-block;
	padding-inline: 0.1em;
	font-weight: 500;
}

.hero__circle {
	position: absolute;
	inset: -16% -18% -24% -16%;
	width: 134%;
	max-width: none;
	height: 140%;
	overflow: visible;
	pointer-events: none;
}

.hero__circle path {
	fill: none;
	stroke: var(--plum);
	stroke-width: 2.2;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: avgi-draw 1.5s 0.85s var(--ease-out) forwards;
}

.hero__text {
	max-width: 31em;
	margin: 0 0 36px;
	color: var(--ink-2);
	font-size: var(--step-1);
	line-height: 2.05;
}

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

.hero__media {
	position: relative;
	justify-self: end;
	width: min(100%, 560px);
	margin: 0;
	isolation: isolate;
}

.arch {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--paper-2);
	clip-path: url("#avgi-arch");
}

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

.hero__arch img {
	animation: avgi-unveil 1.8s 0.1s var(--ease-out) both;
}

.arch-outline {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: none;
	stroke: var(--plum);
	stroke-opacity: 0.4;
	stroke-width: 1;
	translate: calc(-18px * var(--dir)) -18px;
}

.hero__product {
	position: absolute;
	inset-inline-start: calc(-1 * clamp(12px, 3.4vw, 52px));
	bottom: 11%;
	max-width: 290px;
	animation: avgi-rise 1s 1.1s var(--ease-out) both;
}

.hero__product a {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0 16px;
	padding: 14px 18px;
	border-radius: 16px;
	background: rgb(251 250 247 / 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow);
	transition: translate 0.35s var(--ease);
}

@media (hover: hover) {
	.hero__product a:hover {
		translate: 0 -3px;
	}
}

.hero__product-label {
	grid-column: 1 / -1;
	color: var(--plum);
	font-size: 11px;
	font-weight: 700;
}

.hero__product-name {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

.hero__product-price {
	grid-column: 1;
	color: var(--muted);
	font-size: 13px;
}

.hero__product-price .price,
.hero__product-price del,
.hero__product-price ins {
	font-size: inherit;
}

.hero__product-icon {
	grid-row: 2 / 4;
	grid-column: 2;
	width: 20px;
	height: 20px;
}

@keyframes avgi-breathe {
	from {
		opacity: 0;
		font-weight: 100;
		translate: 0 22px;
	}
}

@keyframes avgi-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes avgi-unveil {
	from {
		opacity: 0.3;
		scale: 1.14;
	}
}

@keyframes avgi-rise {
	from {
		opacity: 0;
		translate: 0 18px;
	}
}

.marquee {
	margin-top: clamp(56px, 8vw, 110px);
	padding-block: 18px;
	overflow: hidden;
	border-block: 1px solid var(--line);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: avgi-marquee 42s linear infinite;
}

@media (hover: hover) {
	.marquee:hover .marquee__track {
		animation-play-state: paused;
	}
}

.marquee__run {
	display: flex;
	flex: none;
	align-items: center;
	gap: 40px;
	padding-inline-end: 40px;
	font-size: var(--step-2);
	font-weight: 250;
	white-space: nowrap;
}

.marquee .icon--shamseh {
	width: 16px;
	height: 16px;
	color: var(--plum);
}

@keyframes avgi-marquee {
	to {
		translate: calc(-50% * var(--dir)) 0;
	}
}

.categories__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: clamp(12px, 2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cat-tile {
	display: grid;
	gap: 2px;
}

.cat-tile__media {
	margin-bottom: 16px;
}

.cat-tile__media img {
	transition: scale 1s var(--ease-out);
}

@media (hover: hover) {
	.cat-tile:hover .cat-tile__media img {
		scale: 1.05;
	}
}

.cat-tile__name {
	font-size: var(--step-1);
	font-weight: 500;
}

.cat-tile__count {
	color: var(--muted);
	font-size: var(--step--1);
}

.story {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(32px, 7vw, 128px);
	isolation: isolate;
}

.story__media {
	margin: 0;
}

.story__copy {
	max-width: 34em;
}

.story__text {
	margin: 26px 0 32px;
	color: var(--ink-2);
	font-size: var(--step-1);
	line-height: 2.15;
}

.story__sign {
	margin: 40px 0 0;
	color: var(--muted);
}

.story__sign span {
	color: var(--plum);
	font-weight: 700;
}

.story__watermark {
	position: absolute;
	z-index: -1;
	inset-inline-end: var(--gutter);
	bottom: -0.32em;
	color: rgb(91 58 62 / 0.055);
	font-size: clamp(140px, 24vw, 360px);
	font-weight: 900;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.social__strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(8px, 1.4vw, 20px);
	margin: 0;
	padding: 0 0 clamp(16px, 3vw, 48px);
	list-style: none;
}

.social__frame:nth-child(even) {
	translate: 0 clamp(16px, 3vw, 48px);
}

.social__frame a {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-2);
}

.social__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 1s var(--ease-out);
}

@media (hover: hover) {
	.social__frame a:hover img {
		scale: 1.06;
	}
}

.social__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgb(28 26 23 / 0.3);
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s;
}

.social__overlay .icon {
	width: 30px;
	height: 30px;
}

.social__frame a:focus-visible .social__overlay {
	opacity: 1;
}

@media (hover: hover) {
	.social__frame a:hover .social__overlay {
		opacity: 1;
	}
}

.home-content .entry-content {
	max-width: 780px;
	margin-inline: auto;
}

@media (max-width: 860px) {
	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 8px;
	}

	.hero__copy {
		padding-block: 28px 8px;
	}

	.hero__media {
		justify-self: center;
		width: min(100%, 480px);
		margin-top: 28px;
	}

	.hero__product {
		inset-inline-start: 10px;
		bottom: 10px;
		max-width: calc(100% - 20px);
	}

	.arch-outline {
		translate: calc(-10px * var(--dir)) -10px;
	}

	.story {
		grid-template-columns: 1fr;
	}

	.story__media {
		max-width: 520px;
	}

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

@media (max-width: 760px) {
	.social__strip {
		grid-template-columns: repeat(4, 62vw);
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.social__frame {
		scroll-snap-align: start;
	}

	.social__frame:nth-child(even) {
		translate: none;
	}
}

/* Product cards and grids -------------------------------------------------- */

.products:is(ul, ol) {
	--cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: clamp(32px, 3.6vw, 56px) clamp(12px, 1.6vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.products[data-grid="large"] {
	--cols: 2;
}

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

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.product-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-2);
}

.product-card__image-link {
	display: block;
	height: 100%;
}

.product-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.6s var(--ease), scale 1.2s var(--ease-out);
}

.product-card__image--alt {
	opacity: 0;
}

@media (hover: hover) {
	.product-card:hover .product-card__image--alt {
		opacity: 1;
	}

	.product-card:hover .product-card__image {
		scale: 1.035;
	}
}

.badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--card);
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}

.badge--sale {
	background: var(--plum);
	color: var(--card);
}

.badge--muted {
	background: rgb(251 250 247 / 0.92);
	color: var(--muted);
}

.product-card__body {
	display: grid;
	gap: 2px;
	padding-top: 14px;
}

.product-card__title {
	margin: 0;
	font-size: 15px;
	font-weight: 450;
	line-height: 1.7;
}

.product-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	color: var(--ink-2);
	font-size: 14px;
}

.price del {
	color: var(--muted);
	font-size: 0.9em;
	text-decoration-thickness: 1px;
}

.price ins {
	color: var(--plum);
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-Price-currencySymbol {
	margin-inline-start: 1px;
	font-size: 0.82em;
	font-weight: 400;
}

.quick-add {
	position: absolute;
	inset-inline: 10px;
	bottom: 10px;
	z-index: 3;
	padding: 10px 12px 12px;
	border-radius: 14px;
	background: rgb(251 250 247 / 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow);
	opacity: 0;
	translate: 0 14px;
	transition: opacity 0.3s var(--ease), translate 0.45s var(--ease);
}

.product-card:focus-within .quick-add {
	opacity: 1;
	translate: 0 0;
}

@media (hover: hover) {
	.product-card:hover .quick-add {
		opacity: 1;
		translate: 0 0;
	}
}



.quick-add__label {
	margin: 0 0 7px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.4;
}

.quick-add__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.quick-add__size {
	min-width: 42px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--line-strong);
	border-radius: 9px;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

@media (hover: hover) {
	.quick-add__size:hover:not(:disabled) {
		border-color: var(--ink);
		background: var(--ink);
		color: var(--paper);
	}
}

.quick-add__size:disabled {
	color: var(--muted);
	text-decoration: line-through;
	cursor: not-allowed;
	opacity: 0.55;
}

.quick-add__size.is-done,
.quick-add__single.is-done {
	border-color: var(--success);
	background: var(--success);
	color: #fff;
}

.quick-add--single {
	padding: 6px;
}

.quick-add__single {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: var(--ink);
	color: var(--paper);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.quick-add__single .icon {
	width: 16px;
	height: 16px;
}

@media (max-width: 1100px) {
	.products:is(ul, ol) {
		--cols: 3;
	}
}

@media (max-width: 760px) {
	.products:is(ul, ol) {
		--cols: 2;
		gap: 30px 10px;
	}

	.products[data-grid="large"] {
		--cols: 1;
	}

	.product-card__title {
		font-size: 14px;
	}

	.price {
		font-size: 13px;
	}

	.badge {
		top: 8px;
		inset-inline-start: 8px;
		padding: 2px 9px;
		font-size: 11px;
	}
}

/* Catalog -------------------------------------------------------------- */

.shop-main,
.product-main {
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	color: var(--muted);
	font-size: var(--step--1);
	list-style: none;
}

.breadcrumb a {
	padding-block: 10px;
}

.breadcrumb li + li::before {
	content: "/";
	margin-inline-end: 10px;
	opacity: 0.45;
}

@media (hover: hover) {
	.breadcrumb a:hover {
		color: var(--ink);
	}
}

.shop-hero {
	padding-block: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 34px);
}

.shop-hero__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 16px;
}

.shop-hero__title {
	margin: 0;
	font-size: var(--step-5);
	font-weight: 200;
	line-height: 1.12;
}

.shop-hero__count {
	margin: 0;
	color: var(--muted);
}

.term-description,
.page-description {
	max-width: 46em;
	margin-top: 14px;
	color: var(--ink-2);
	font-size: var(--step-1);
	line-height: 2;
}

.term-description p:last-child,
.page-description p:last-child {
	margin-bottom: 0;
}

.category-nav {
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
}

.chip-list--scroll {
	flex-wrap: nowrap;
	margin-inline: calc(-1 * var(--gutter));
	padding: 2px var(--gutter) 6px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.chip-list--scroll::-webkit-scrollbar {
	display: none;
}

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 30px;
	padding-block: 12px;
	border-block: 1px solid var(--line);
}

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

.shop-toolbar__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sort-form {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.sort-form__label {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 400;
}

.grid-toggle {
	display: inline-flex;
	padding: 3px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
}

.grid-toggle button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--muted);
	cursor: pointer;
}

.grid-toggle .icon {
	width: 18px;
	height: 18px;
}

.grid-toggle button[aria-pressed="true"] {
	background: var(--ink);
	color: var(--paper);
}

.woocommerce-pagination {
	display: flex;
	justify-content: center;
	margin-top: clamp(44px, 6vw, 80px);
}

.woocommerce-pagination ul,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 8px;
	border-radius: 999px;
	font-size: 15px;
	transition: background-color 0.2s;
}

.page-numbers.current {
	background: var(--ink);
	color: var(--paper);
}

@media (hover: hover) {
	a.page-numbers:hover {
		background: rgb(28 26 23 / 0.07);
	}
}

.page-numbers .icon {
	width: 18px;
	height: 18px;
}

@media (max-width: 640px) {
	.shop-toolbar {
		flex-wrap: wrap;
	}

	.woocommerce-result-count {
		display: none;
	}

	.shop-toolbar__actions {
		justify-content: space-between;
		width: 100%;
	}

	.sort-form__label {
		display: none;
	}
}

@media (min-width: 900px) {
	.chip-list--scroll {
		flex-wrap: wrap;
		margin-inline: 0;
		padding-inline: 0;
	}
}

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

.product-top {
	padding-block: 18px 22px;
}

.product-layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: start;
	gap: clamp(28px, 4.4vw, 88px);
}

.product-layout > section,
.product-layout > .related,
.product-layout > .up-sells {
	grid-column: 1 / -1;
}

.product-gallery {
	position: relative;
}

.product-gallery__track {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.product-gallery__track > * {
	min-width: 0;
}

.product-gallery__track > :first-child,
.product-gallery__track > :last-child:nth-child(even) {
	grid-column: 1 / -1;
}

.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image--placeholder {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-2);
}

.woocommerce-product-gallery__image a {
	display: block;
	height: 100%;
	cursor: zoom-in;
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image--placeholder img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__track > :first-child img {
	view-transition-name: product-photo;
}

.product-gallery .badge {
	top: 16px;
	inset-inline-start: 16px;
}

.product-gallery__nav {
	display: none;
}

.woocommerce-product-gallery__trigger {
	display: none;
}

.product-summary {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding-bottom: 32px;
}

.product-eyebrow {
	display: inline-flex;
	margin: 0 0 4px;
	color: var(--plum);
}

.product_title {
	margin: 0 0 12px;
	font-size: var(--step-3);
	font-weight: 300;
	line-height: 1.32;
}

.product-summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 13px;
}

.woocommerce-review-link {
	color: var(--muted);
	text-decoration: underline;
}

.product-summary > .price {
	margin: 0 0 6px;
	color: var(--ink);
	font-size: var(--step-1);
	font-weight: 500;
}

.woocommerce-product-details__short-description {
	margin: 18px 0 28px;
	color: var(--ink-2);
	line-height: 2;
}

.woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

.variations {
	display: grid;
	gap: 22px;
	margin-bottom: 14px;
}

.variation-field__head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 12px;
}

.variation-field__label {
	font-size: 14px;
	font-weight: 600;
}

.variation-field__value {
	color: var(--muted);
	font-size: 14px;
}

.variation-field__guide {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block: -10px;
	margin-inline-start: auto;
	padding: 10px 0;
	border: 0;
	background: none;
	color: var(--ink-2);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.variation-field__guide .icon {
	width: 18px;
	height: 18px;
}

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

.swatch {
	position: relative;
	margin: 0;
}

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

.swatch__label {
	display: grid;
	place-items: center;
	min-width: 56px;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: var(--card);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

@media (hover: hover) {
	.swatch:hover .swatch__label {
		border-color: var(--ink);
	}
}

.swatch input:checked + .swatch__label {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.swatch input:focus-visible + .swatch__label {
	outline: 2px solid var(--plum);
	outline-offset: 2px;
}

.swatch input:disabled,
.swatch.is-soldout input {
	cursor: not-allowed;
}

.swatch input:disabled + .swatch__label,
.swatch.is-soldout .swatch__label {
	background: linear-gradient(to top left, transparent calc(50% - 0.6px), var(--line-strong) 50%, transparent calc(50% + 0.6px)) var(--paper-2);
	color: var(--muted);
	border-color: var(--line);
}

.variation-field__select {
	max-width: 320px;
}

.js .variation-field__select {
	display: none;
}

.no-js .swatches {
	display: none;
}

.reset_variations {
	justify-self: start;
	color: var(--muted);
	font-size: 13px;
	text-decoration: underline;
}

.variation-hint {
	margin: 0 0 12px;
	color: var(--plum);
	font-size: 14px;
	font-weight: 500;
}

.variations.is-shaking {
	animation: avgi-shake 0.45s var(--ease);
}

@keyframes avgi-shake {
	20%,
	60% {
		translate: 6px 0;
	}

	40%,
	80% {
		translate: -6px 0;
	}
}

.single_variation_wrap .woocommerce-variation {
	margin-bottom: 14px;
}

.woocommerce-variation-price .price {
	font-size: var(--step-1);
}

.woocommerce-variation-description p {
	color: var(--ink-2);
}

.stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--ink-2);
	font-size: 14px;
}

.stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
}

.stock.out-of-stock::before {
	background: var(--danger);
}

.stock.available-on-backorder::before {
	background: var(--warning);
}

.buy-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.buy-row .quantity {
	flex: none;
}

.buy-row .single_add_to_cart_button {
	flex: 1;
	min-height: 56px;
}

.single_add_to_cart_button.disabled {
	opacity: 1;
	cursor: pointer;
}

.single_add_to_cart_button.wc-variation-is-unavailable {
	opacity: 0.45;
	cursor: not-allowed;
}

.single_add_to_cart_button .icon {
	width: 20px;
	height: 20px;
}

.service-notes {
	display: grid;
	gap: 8px;
	margin: 22px 0 0;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--paper-2);
	list-style: none;
	font-size: 14px;
}

.service-notes li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.service-notes .icon {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	color: var(--plum);
}

.product-summary > .woocommerce-info,
.product-summary > p.woocommerce-info {
	margin-top: 8px;
}

.product-accordion {
	margin-top: 34px;
	border-top: 1px solid var(--line);
}

.product-accordion__item {
	border-bottom: 1px solid var(--line);
}

.product-accordion__item::details-content {
	block-size: 0;
	overflow: hidden;
	transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}

.product-accordion__item[open]::details-content {
	block-size: auto;
}

.product-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}

.product-accordion__summary::-webkit-details-marker {
	display: none;
}

.product-accordion__summary .icon {
	width: 18px;
	height: 18px;
	transition: rotate 0.35s var(--ease);
}

.product-accordion__item[open] > .product-accordion__summary .icon {
	rotate: 45deg;
}

.product-accordion__panel {
	padding-bottom: 24px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 2;
}

.woocommerce-product-attributes,
.shop_attributes {
	width: 100%;
	margin: 0 0 14px;
	border-collapse: collapse;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	text-align: start;
	vertical-align: top;
}

.woocommerce-product-attributes th {
	width: 38%;
	color: var(--muted);
	font-weight: 500;
}

.woocommerce-product-attributes td p {
	margin: 0;
}

.meta-list {
	display: grid;
	gap: 8px;
	margin: 0;
	font-size: 14px;
}

.meta-list div {
	display: flex;
	gap: 12px;
}

.meta-list dt {
	min-width: 38%;
	color: var(--muted);
}

.meta-list dd {
	margin: 0;
}

.meta-list a {
	text-decoration: underline;
}

.related,
.up-sells {
	margin-top: clamp(72px, 9vw, 130px);
}

.related > h2,
.up-sells > h2,
.cross-sells > h2 {
	margin-bottom: clamp(24px, 3vw, 40px);
	font-size: var(--step-3);
	font-weight: 300;
}

@media (max-width: 899px) {
	.product-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.product-layout__gallery {
		margin-inline: calc(-1 * var(--gutter));
	}

	.product-gallery__track {
		display: flex;
		gap: 6px;
		padding-inline: var(--gutter);
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.product-gallery__track::-webkit-scrollbar {
		display: none;
	}

	.product-gallery__track > * {
		flex: 0 0 100%;
		border-radius: 0;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.product-gallery__track {
		gap: 0;
		padding-inline: 0;
		scroll-padding-inline: 0;
	}

	.product-gallery .badge {
		inset-inline-start: var(--gutter);
	}

	.product-gallery:has(.product-gallery__nav) .badge {
		top: 44px;
	}

	.product-gallery__nav {
		position: absolute;
		z-index: 2;
		inset-inline: var(--gutter);
		top: 12px;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 0;
		pointer-events: none;
	}

	.product-gallery__counter {
		flex: none;
		padding: 1px 10px;
		border-radius: 999px;
		background: rgb(28 26 23 / 0.42);
		-webkit-backdrop-filter: blur(6px);
		backdrop-filter: blur(6px);
		color: #fff;
		font-size: 12px;
		line-height: 1.8;
	}

	.product-gallery__dots {
		display: flex;
		flex: 1;
		gap: 4px;
		pointer-events: auto;
	}

	.product-gallery__dot {
		position: relative;
		flex: 1;
		height: 28px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.product-gallery__dot::before {
		content: "";
		position: absolute;
		inset-inline: 0;
		top: 50%;
		height: 3px;
		border-radius: 2px;
		background: rgb(255 255 255 / 0.45);
		box-shadow: 0 0 0 0.5px rgb(28 26 23 / 0.12);
		translate: 0 -50%;
		transition: background-color 0.3s;
	}

	.product-gallery__dot[aria-current="true"]::before {
		background: #fff;
	}

	.product-summary {
		position: static;
	}
}

/* Star ratings and reviews ----------------------------------------------- */

.star-rating {
	position: relative;
	display: inline-block;
	width: 5.4em;
	height: 1.08em;
	overflow: hidden;
	font-size: 15px;
	line-height: 1;
	vertical-align: middle;
}

.star-rating::before,
.star-rating span::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 5.4em;
	-webkit-mask: var(--star) 0 0 / 1.08em 1.08em repeat-x;
	mask: var(--star) 0 0 / 1.08em 1.08em repeat-x;
}

.star-rating::before {
	background: var(--line-strong);
}

.star-rating span {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	overflow: hidden;
	color: transparent;
	font-size: 0;
}

.star-rating span::before {
	background: var(--plum);
	font-size: 15px;
}

p.stars {
	margin: 4px 0 14px;
}

p.stars span {
	display: inline-flex;
	gap: 0;
}

p.stars a {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 40px;
	font-size: 0;
}

p.stars a::before {
	content: "";
	position: absolute;
	inset: 5px;
	background: var(--line-strong);
	-webkit-mask: var(--star) center / contain no-repeat;
	mask: var(--star) center / contain no-repeat;
	transition: background-color 0.15s;
}

p.stars.selected a::before {
	background: var(--plum);
}

@media (hover: hover) {
	p.stars:hover a::before {
		background: var(--plum);
	}
}

p.stars.selected a.active ~ a::before {
	background: var(--line-strong);
}

@media (hover: hover) {
	p.stars:hover a:hover ~ a::before,
	p.stars.selected:hover a:hover ~ a::before {
		background: var(--line-strong);
	}
}

@media (hover: hover) {
	p.stars.selected:hover a:not(:hover ~ a)::before {
		background: var(--plum);
	}
}

.reviews__summary {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--paper-2);
}

.reviews__average {
	font-size: 2.6rem;
	font-weight: 300;
	line-height: 1;
}

.reviews__count {
	margin: 4px 0 0;
	color: var(--muted);
	font-size: 13px;
}

.reviews__list,
.commentlist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.reviews__list .review,
.commentlist > li {
	padding-block: 16px;
	border-bottom: 1px solid var(--line);
}

.comment_container {
	display: flex;
	gap: 14px;
}

.review-initial {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--plum-tint);
	color: var(--plum);
	font-weight: 700;
}

.comment-text {
	flex: 1;
	min-width: 0;
}

.comment-text .star-rating {
	float: inline-end;
	font-size: 13px;
}

.comment-text .star-rating span::before {
	font-size: 13px;
}

.comment-text .meta {
	margin: 0 0 6px;
	color: var(--muted);
	font-size: 13px;
}

.woocommerce-review__author {
	color: var(--ink);
	font-weight: 600;
}

.woocommerce-review__dash {
	opacity: 0.5;
}

.comment-text .description p {
	margin: 0;
}

.reviews__empty {
	color: var(--muted);
}

.reviews__form {
	margin-top: 24px;
}

.comment-reply-title {
	display: block;
	margin-bottom: 12px;
	font-size: var(--step-1);
	font-weight: 500;
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form-rating label,
.comment-form label {
	display: block;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

/* Content pages, journal, 404 ---------------------------------------------- */

.content-page,
.archive-page {
	max-width: var(--max);
	margin-inline: auto;
	padding: clamp(24px, 4vw, 56px) var(--gutter) 0;
}

.entry {
	max-width: 780px;
	margin-inline: auto;
}

.entry__head {
	margin-bottom: clamp(24px, 4vw, 48px);
	text-align: center;
}

.entry__title {
	margin: 0;
	font-size: var(--step-4);
	font-weight: 250;
	line-height: 1.25;
}

.entry__media {
	margin: 0 0 40px;
	overflow: hidden;
	border-radius: var(--radius-lg);
}

.entry__media img {
	display: block;
	width: 100%;
}

.entry-content {
	font-size: 17px;
	line-height: 2.1;
}

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

.entry-content h2 {
	margin-top: 2em;
	font-size: var(--step-2);
	font-weight: 500;
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: var(--step-1);
	font-weight: 600;
}

.entry-content a {
	text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.4em;
}

.entry-content blockquote {
	margin-inline: 0;
	padding-inline-start: 22px;
	border-inline-start: 2px solid var(--plum);
	color: var(--ink-2);
	font-size: var(--step-1);
}

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

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

.entry-content th {
	color: var(--muted);
	font-weight: 600;
}

.entry-content .wp-block-table {
	margin-inline: 0;
	overflow-x: auto;
}

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

.entry-content .wp-block-table thead {
	border: 0;
	border-bottom: 1px solid var(--line-strong);
}

.entry-content .wp-block-table tbody tr:nth-child(odd) {
	background: rgb(28 26 23 / 0.025);
}

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

.entry-content .alignwide {
	max-width: 1100px;
	margin-inline: calc((780px - 1100px) / 2);
}

.entry-content .alignfull {
	max-width: none;
	margin-inline: calc(50% - 50vw);
}

.page-hero {
	max-width: 780px;
	margin: 0 auto clamp(36px, 5vw, 64px);
	text-align: center;
}

.page-hero__title {
	margin: 0;
	font-size: var(--step-4);
	font-weight: 250;
}

.page-hero__text {
	margin-top: 12px;
	color: var(--ink-2);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 28px);
}

.post-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-2);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 1s var(--ease-out);
}

@media (hover: hover) {
	.post-card:hover .post-card__media img {
		scale: 1.04;
	}
}

.post-card__date {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 13px;
}

.post-card__title {
	margin: 0 0 8px;
	font-size: var(--step-1);
	font-weight: 500;
}

.post-card__excerpt {
	color: var(--ink-2);
	font-size: 15px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 780px;
	margin: 56px auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.post-navigation a {
	display: grid;
}

.post-navigation .nav-next {
	text-align: end;
}

.comments {
	max-width: 780px;
	margin: 64px auto 0;
}

.comment-list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.comment-list .comment-body {
	padding-block: 16px;
	border-bottom: 1px solid var(--line);
}

.comment-meta {
	color: var(--muted);
	font-size: 13px;
}

.not-found {
	display: grid;
	place-items: center;
	min-height: 70vh;
	padding: 40px var(--gutter);
	text-align: center;
}

.not-found__inner {
	display: grid;
	justify-items: center;
	gap: 14px;
	max-width: 560px;
}

.not-found__code {
	margin: 0;
	color: var(--plum);
	font-size: clamp(5rem, 3rem + 10vw, 11rem);
	font-weight: 100;
	line-height: 1;
}

.not-found__title {
	margin: 0;
	font-size: var(--step-3);
	font-weight: 300;
}

.not-found__text {
	color: var(--muted);
}

.not-found .search-form {
	width: 100%;
}

.not-found__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 28px;
	margin-top: 12px;
}

@media (max-width: 860px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.post-grid {
		grid-template-columns: 1fr;
	}
}

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

.site-footer {
	margin-top: clamp(96px, 13vw, 200px);
	overflow: hidden;
	background: var(--ink);
	color: rgb(246 243 238 / 0.74);
	font-size: 15px;
}

.site-footer a {
	color: var(--paper);
	transition: color 0.2s;
}

@media (hover: hover) {
	.site-footer a:hover {
		color: var(--plum-light);
	}
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	gap: 40px;
	max-width: var(--max);
	margin-inline: auto;
	padding: clamp(56px, 7vw, 100px) var(--gutter) 28px;
}

.footer-brand__mark {
	display: inline-flex;
	margin-bottom: 18px;
}

.footer-brand__mark .wordmark {
	height: 44px;
	color: var(--paper);
}

.site-footer .wordmark__dots {
	fill: var(--plum-light);
}

.footer-brand__tagline {
	margin: 0;
	color: var(--paper);
	font-size: var(--step-1);
}

.footer-brand__origin {
	margin: 0;
	color: rgb(246 243 238 / 0.5);
	font-size: 14px;
}

.footer-col__title {
	margin: 0 0 16px;
	color: rgb(246 243 238 / 0.5);
	font-size: 13px;
	font-weight: 600;
}

.footer-links {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

/* Phones: finger-sized footer links, same rhythm as before. */
@media (max-width: 760px) {
	.footer-links {
		gap: 0;
	}

	.footer-links a {
		min-height: 40px;
	}

	/* Contact details get the full width so the phone number stays on one line. */
	.site-footer__grid > .footer-col:last-child {
		grid-column: 1 / -1;
	}
}

.footer-links--contact bdi {
	white-space: nowrap;
}

.footer-links .icon {
	width: 18px;
	height: 18px;
	opacity: 0.7;
}

.footer-address {
	margin-top: 16px;
	color: rgb(246 243 238 / 0.6);
	font-size: 14px;
	font-style: normal;
	line-height: 1.9;
}

.footer-giant {
	max-width: min(var(--max), 1180px);
	margin: 24px auto 0;
	padding: 0 var(--gutter) clamp(16px, 3vw, 40px);
	color: rgb(246 243 238 / 0.07);
	pointer-events: none;
}

.footer-giant .wordmark {
	width: 100%;
	height: auto;
}

.footer-giant .wordmark__dots {
	fill: rgb(217 184 188 / 0.22);
}

.site-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--max);
	margin-inline: auto;
	padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
	border-top: 1px solid rgb(246 243 238 / 0.12);
	font-size: 13px;
}

.site-footer__bottom p {
	margin: 0;
}

.trust-seals {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.footer-col .trust-seals {
	margin-top: 22px;
}

/* Each badge sits on a white rounded square tile. */
.trust-seals a {
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	padding: 8px;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 0 0 1px rgb(246 243 238 / 0.12);
	transition: translate 0.3s var(--ease);
}

.trust-seals img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (hover: hover) {
	.trust-seals a:hover {
		translate: 0 -2px;
	}
}

.site-footer--focused .trust-seals a {
	box-shadow: 0 0 0 1px var(--line);
}

.site-footer--focused {
	margin-top: 64px;
	background: transparent;
	color: var(--muted);
}

.site-footer--focused .site-footer__bottom {
	border-color: var(--line);
}

@media (max-width: 960px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

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

[data-reveal] {
	opacity: 0;
	translate: 0 28px;
	transition: opacity 0.9s var(--ease-out), translate 1.1s var(--ease-out);
	transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

[data-reveal].is-visible {
	opacity: 1;
	translate: 0 0;
}

@view-transition {
	navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.32s;
}

::view-transition-group(product-photo) {
	animation-duration: 0.45s;
	animation-timing-function: var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.marquee__track {
		animation: none;
	}

	[data-reveal] {
		opacity: 1;
		translate: none;
	}
}

@media print {
	.site-header,
	.announcement,
	.site-footer,
	.dock,
	.toast,
	dialog {
		display: none !important;
	}

	body {
		background: #fff;
	}
}

/* WooCommerce blockUI overlay, used while carts and checkouts update. */
.blockUI.blockOverlay::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border: 2px solid var(--ink);
	border-inline-end-color: transparent;
	border-radius: 50%;
	animation: avgi-spin 0.7s linear infinite;
}

/* The chosen variation's price replaces the main price, so the duplicate is hidden. */
.js .woocommerce-variation-price {
	display: none;
}

/* ==========================================================================
   Mobile
   A floating dock, bottom sheets, story-style galleries and touch quick add.
   ========================================================================== */

.dock,
.card-plus {
	display: none;
}

/* Tactile feedback on touch. */
.button,
.chip,
.dock__item,
.dock__cta,
.card-plus,
.quick-add__size,
.qty-stepper__btn {
	touch-action: manipulation;
	transition-property: background-color, border-color, color, scale, rotate, translate, opacity;
}

.button:active,
.chip:active,
.dock__cta:active,
.quick-add__size:active,
.swatch:active .swatch__label {
	scale: 0.97;
}

/* Touch quick add: a "+" opens the sizes on the card itself. */
@media (hover: none) {
	.card-plus {
		position: absolute;
		z-index: 4;
		bottom: 8px;
		inset-inline-end: 8px;
		display: grid;
		place-items: center;
		width: 38px;
		height: 38px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgb(251 250 247 / 0.94);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		box-shadow: 0 6px 16px -6px rgb(28 26 23 / 0.38);
		color: var(--ink);
		cursor: pointer;
		transition-duration: 0.35s;
		transition-timing-function: var(--ease);
	}

	.card-plus .icon {
		width: 18px;
		height: 18px;
	}

	.card-plus.is-loading .icon {
		opacity: 0;
	}

	.card-plus.is-done {
		background: var(--success);
		color: #fff;
	}

	.product-card.is-quick-open .card-plus {
		background: var(--ink);
		color: var(--paper);
		rotate: 45deg;
	}

	.quick-add {
		inset-inline: 8px;
		bottom: 54px;
		padding: 10px;
		pointer-events: none;
	}

	.product-card:hover .quick-add,
	.product-card:focus-within .quick-add {
		opacity: 0;
		translate: 0 10px;
	}

	.product-card.is-quick-open .quick-add {
		opacity: 1;
		translate: 0 0;
		pointer-events: auto;
	}

	.quick-add--single {
		display: none;
	}

	.quick-add__size {
		height: 40px;
	}
}

@media (max-width: 900px) {
	/* The dock ------------------------------------------------------------ */

	.dock {
		position: fixed;
		z-index: 45;
		inset-inline: 12px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		display: block;
		height: 66px;
		overflow: hidden;
		border-radius: 22px;
		background: rgb(28 26 23 / 0.94);
		-webkit-backdrop-filter: saturate(1.4) blur(16px);
		backdrop-filter: saturate(1.4) blur(16px);
		box-shadow: 0 0 0 1px rgb(246 243 238 / 0.12), 0 18px 40px -14px rgb(28 26 23 / 0.5);
		color: var(--paper);
		transition: translate 0.5s var(--ease-out);
		view-transition-name: dock;
	}

	/* Large phones in landscape, foldables and small tablets: a centred dock. */
	@media (min-width: 600px) {
		.dock {
			max-width: 440px;
			margin-inline: auto;
		}
	}

	/* Short landscape screens: a slimmer dock, icons beside their labels. */
	@media (max-height: 500px) {
		.dock {
			height: 52px;
			bottom: calc(6px + env(safe-area-inset-bottom));
		}

		.dock__item {
			grid-auto-flow: column;
			align-items: center;
			gap: 6px;
			padding-block: 6px;
		}

		.dock__item[aria-current="page"]::after {
			top: -1px;
		}
	}

	body:has(dialog[open]) .dock,
	body.is-typing .dock {
		translate: 0 calc(100% + 28px);
	}

	.dock__nav,
	.dock__panel {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		transition: translate 0.55s var(--ease-out), opacity 0.3s var(--ease);
	}

	.dock__nav {
		justify-content: space-around;
		padding-inline: 4px;
	}

	.dock__panel {
		gap: 12px;
		padding: 8px;
		padding-inline-start: 18px;
		opacity: 0;
		translate: 0 100%;
	}

	.dock[data-mode="panel"] .dock__nav {
		opacity: 0;
		translate: 0 -100%;
	}

	.dock[data-mode="panel"] .dock__panel {
		opacity: 1;
		translate: 0 0;
	}

	.dock__item {
		position: relative;
		display: grid;
		justify-items: center;
		gap: 3px;
		min-width: 66px;
		padding: 9px 6px 6px;
		border: 0;
		border-radius: 16px;
		background: none;
		color: rgb(246 243 238 / 0.6);
		font-size: 11px;
		font-weight: 500;
		line-height: 1.3;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.dock__item .icon {
		width: 23px;
		height: 23px;
	}

	.dock__item[aria-current="page"],
	.dock__item[aria-expanded="true"] {
		color: var(--paper);
	}

	.dock__item[aria-current="page"]::after {
		content: "";
		position: absolute;
		top: 2px;
		inset-inline: 0;
		width: 5px;
		height: 5px;
		margin-inline: auto;
		border-radius: 50%;
		background: var(--plum-light);
	}

	.dock__item:active {
		scale: 0.92;
	}

	.dock__item .bag-count {
		top: 3px;
		inset-inline-end: 14px;
		background: var(--plum-light);
		color: var(--ink);
	}

	.dock__info {
		display: grid;
		flex: 1;
		min-width: 0;
		line-height: 1.55;
	}

	.dock__name {
		overflow: hidden;
		color: rgb(246 243 238 / 0.66);
		font-size: 12px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.dock__price {
		color: var(--paper);
		font-size: 14px;
		font-weight: 700;
	}

	.dock__price .price {
		color: inherit;
		font-size: inherit;
	}

	.dock__price del {
		color: rgb(246 243 238 / 0.5);
		font-weight: 400;
	}

	.dock__price ins {
		color: var(--plum-light);
	}

	.dock__cta {
		display: inline-flex;
		flex: none;
		align-items: center;
		gap: 8px;
		height: 50px;
		padding: 0 20px;
		border: 0;
		border-radius: 15px;
		background: var(--paper);
		color: var(--ink);
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
	}

	.dock__cta .icon {
		width: 19px;
		height: 19px;
	}

	/* Focus and scrollIntoView land above the dock, never behind it. */
	html:has(body.has-dock) {
		scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
	}

	.has-dock .site-header .bag-button {
		display: none;
	}

	.has-dock .site-footer__bottom {
		padding-bottom: calc(100px + env(safe-area-inset-bottom));
	}

	.has-dock .toast {
		bottom: calc(92px + env(safe-area-inset-bottom));
	}

	/* Product page on phones -------------------------------------------- */

	.buy-row .single_add_to_cart_button {
		white-space: nowrap;
	}

	.buy-row .qty-stepper {
		height: 56px;
	}

	.product-top {
		padding-block: 14px 16px;
	}

	.product_title {
		font-size: clamp(1.6rem, 1.3rem + 2vw, 2.1rem);
	}

	.sort-form select,
	.select-wrap select {
		font-size: 16px;
	}
}

/* Bottom sheets: the bag and the size guide rise from the bottom on phones. */
@media (max-width: 600px) {
	.drawer--end {
		inset: auto 0 0;
		width: 100%;
		height: auto;
		max-height: 92vh;
		max-height: 92dvh;
		border-radius: 26px 26px 0 0;
		translate: 0 100%;
	}

	.drawer--end[open] {
		translate: 0 0;
	}

	@starting-style {
		.drawer--end[open] {
			translate: 0 100%;
		}
	}

	.drawer--end.is-dragging {
		transition: none;
	}

	.drawer--end .drawer__head {
		position: relative;
		padding-top: 22px;
		border-bottom-color: transparent;
		touch-action: none;
	}

	.drawer--end .drawer__head::before {
		content: "";
		position: absolute;
		top: 9px;
		inset-inline: 0;
		width: 42px;
		height: 4px;
		margin-inline: auto;
		border-radius: 2px;
		background: var(--line-strong);
	}

	.drawer--end .drawer__body {
		padding-top: 4px;
	}

	.mini-cart__items {
		padding-inline: 18px;
	}

	.mini-cart__footer {
		padding-inline: 18px;
	}

	.drawer--start {
		width: 100%;
	}
}

/* Menu: a rail of collection arches under the links. */
.drawer-collections {
	padding: 6px 24px 18px;
}

.drawer-collections .eyebrow {
	margin-bottom: 12px;
}

.drawer-collections__list {
	display: grid;
	grid-auto-columns: 112px;
	grid-auto-flow: column;
	gap: 12px;
	margin: 0 -24px;
	padding: 0 24px 4px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	list-style: none;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 24px;
	scrollbar-width: none;
}

.drawer-collections__list li {
	scroll-snap-align: start;
}

.drawer-collections__list a {
	display: grid;
	gap: 8px;
}

.drawer-collections__media img {
	transition: scale 0.8s var(--ease-out);
}

@media (hover: hover) {
	.drawer-collections__list a:hover img {
		scale: 1.05;
	}
}

.drawer-collections__name {
	font-size: 14px;
	font-weight: 500;
}

/* Homepage on phones ---------------------------------------------------- */

@media (max-width: 760px) {
	.hero {
		padding-top: 8px;
	}

	.hero__copy {
		padding-block: 22px 0;
	}

	.hero__title {
		margin-bottom: 22px;
		font-size: clamp(3rem, 2rem + 6vw, 4.2rem);
	}

	.hero__mark {
		margin-inline-start: 0.16em;
	}

	.hero__text {
		margin-bottom: 26px;
		font-size: 1rem;
	}

	.hero__media {
		margin-top: 36px;
	}

	.categories__list {
		grid-template-columns: none;
		grid-auto-columns: 64vw;
		grid-auto-flow: column;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

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

	.categories__list li {
		scroll-snap-align: start;
	}

	.story__watermark {
		top: 0;
		bottom: auto;
		font-size: 44vw;
		line-height: 0.9;
	}

	.section-title {
		font-size: clamp(2rem, 1.4rem + 4vw, 2.6rem);
	}

	.marquee__run {
		font-size: 1.15rem;
	}
}
