/* ==========================================================================
   EKAANIVITA — theme styles
   Tokens: espresso / ivory / parchment / gold / soft gold (Customizer driven)
   Type: Fraunces (display), DM Sans (text)
   ========================================================================== */

:root {
	--espresso: #16110f;
	--espresso-2: #2a2321;
	--ivory: #faf7f2;
	--parchment: #f3eee6;
	--gold: #b8863b;
	--gold-soft: #f1e3c8;
	--gold-ink: #8a6326;
	--muted: #6e625a;
	--line: #e2d8c8;
	--white: #fff;
	--danger: #9b2c1f;
	--ok: #2f6b3d;

	--font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-md: 1rem;
	--fs-lg: 1.1875rem;
	--fs-h4: 1.3125rem;
	--fs-h3: clamp(1.5rem, 1.2rem + 1vw, 1.75rem);
	--fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
	--fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.625rem);
	--fs-hero: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

	--gutter: 16px;
	--wrap: 1320px;
	--radius-sm: 4px;
	--radius: 10px;
	--radius-lg: 18px;
	--header-h: 64px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 700px) {
	:root { --gutter: 28px; --header-h: 76px; }
}
@media (min-width: 1100px) {
	:root { --gutter: 48px; }
}

/* ---------- 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(--ivory);
	color: var(--espresso);
	font-family: var(--font-text);
	font-size: var(--fs-md);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@media (min-width: 1100px) { body { font-size: 1.0625rem; } }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; font-variation-settings: "SOFT" 50, "opsz" 72; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--espresso); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100001;
	left: 12px; top: 12px; padding: 12px 18px; background: var(--espresso); color: var(--ivory); border-radius: var(--radius);
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 120px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.hide-sm { display: none !important; }
@media (min-width: 700px) { .hide-sm { display: inline-flex !important; } }

/* ---------- Buttons & links ---------- */
.btn, .button, button.button, a.button, input.button, input[type="submit"].button {
	--btn-bg: var(--espresso); --btn-fg: var(--ivory); --btn-bd: var(--espresso);
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	min-height: 48px; padding: 0.7em 1.4em;
	border: 1px solid var(--btn-bd); border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 500; line-height: 1.2; letter-spacing: 0.01em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover, .button:hover { --btn-bg: var(--espresso-2); --btn-bd: var(--espresso-2); }
.btn--lg { min-height: 54px; padding-inline: 1.7em; font-size: var(--fs-md); }
.btn--sm { min-height: 40px; padding: 0.5em 1em; font-size: var(--fs-xs); }
.btn--dark { --btn-bg: var(--espresso); --btn-fg: var(--ivory); --btn-bd: var(--espresso); }
.btn--gold, .button.alt.drape-tryon-button { --btn-bg: var(--gold); --btn-fg: var(--espresso); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: #c8974b; --btn-bd: #c8974b; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--espresso); --btn-bd: color-mix(in srgb, var(--espresso) 30%, transparent); }
.btn--line:hover { --btn-bg: var(--espresso); --btn-fg: var(--ivory); --btn-bd: var(--espresso); }
.btn--ghost-light { --btn-bg: rgba(250, 247, 242, 0.08); --btn-fg: var(--ivory); --btn-bd: rgba(250, 247, 242, 0.55); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --btn-bg: var(--ivory); --btn-fg: var(--espresso); --btn-bd: var(--ivory); }
.btn[disabled], .button:disabled, .button.disabled { opacity: 0.5; cursor: not-allowed; }

.text-link {
	display: inline-flex; align-items: center; gap: 0.4em;
	color: var(--gold-ink); font-weight: 500; font-size: var(--fs-sm);
	text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 45%, transparent);
}
.text-link:hover { color: var(--espresso); text-decoration-color: var(--espresso); }

.icon-btn {
	display: inline-grid; place-items: center; position: relative;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: inherit; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: color-mix(in srgb, var(--espresso) 6%, transparent); }

/* ---------- Selvedge (woven zari band) ---------- */
.selvedge {
	height: 14px;
	background:
		linear-gradient(var(--espresso), var(--espresso)) 0 3px / 100% 1px no-repeat,
		linear-gradient(var(--espresso), var(--espresso)) 0 10px / 100% 1px no-repeat,
		repeating-linear-gradient(45deg, transparent 0 3px, color-mix(in srgb, var(--espresso) 55%, transparent) 3px 4px, transparent 4px 7px),
		repeating-linear-gradient(-45deg, transparent 0 3px, color-mix(in srgb, var(--espresso) 55%, transparent) 3px 4px, transparent 4px 7px),
		linear-gradient(90deg, #a87a33, var(--gold) 20%, #d7b26d 50%, var(--gold) 80%, #a87a33);
}
.selvedge--hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }

/* ---------- Notice bar & header ---------- */
.notice-bar { background: var(--espresso); color: var(--gold-soft); font-size: var(--fs-xs); }
.notice-bar p { margin: 0; padding-block: 8px; display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; }
.notice-bar .icon { flex: none; color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ivory) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.site-header__brand { flex: 1; min-width: 0; }
.brand { text-decoration: none; display: inline-block; }
.brand__name { font-family: var(--font-display); font-size: 1.375rem; font-variation-settings: "SOFT" 100, "opsz" 36; letter-spacing: 0.005em; white-space: nowrap; }
@media (min-width: 700px) { .brand__name { font-size: 1.625rem; } }
.custom-logo { max-height: 44px; width: auto; }
.site-header__tools { display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--gold); color: var(--espresso);
	font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.cart-count.is-empty { display: none; }
.nav-toggle { margin-left: -10px; }

.site-nav {
	position: fixed; inset: 0 auto 0 0; z-index: 80; width: min(86vw, 380px);
	display: flex; flex-direction: column;
	background: var(--ivory); padding: 16px var(--gutter) 24px;
	transform: translateX(-102%); transition: transform 0.3s var(--ease); visibility: hidden;
}
.site-nav.is-open { transform: none; visibility: visible; }
.site-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.site-nav__brand { font-family: var(--font-display); font-size: 1.25rem; }
.site-nav .menu { list-style: none; display: flex; flex-direction: column; }
.site-nav .menu > li > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; font-variation-settings: "SOFT" 100, "opsz" 36; }
.site-nav .sub-menu { list-style: none; padding: 4px 0 12px 12px; }
.site-nav .sub-menu a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.site-nav__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; font-size: var(--fs-sm); }
.site-nav__foot a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.nav-scrim, .filters-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(22, 17, 15, 0.45); }

@media (min-width: 1000px) {
	.nav-toggle, .site-nav__head, .site-nav__foot, .nav-scrim { display: none !important; }
	.site-header__brand { flex: 0 0 auto; margin-right: 40px; }
	.site-nav { position: static; transform: none; visibility: visible; width: auto; flex: 1; padding: 0; background: transparent; flex-direction: row; }
	.site-nav .menu { flex-direction: row; gap: 4px; }
	.site-nav .menu > li { position: relative; }
	.site-nav .menu > li > a { border: 0; padding: 10px 14px; font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 500; border-radius: 999px; }
	.site-nav .menu > li > a:hover, .site-nav .menu > .current-menu-item > a, .site-nav .menu > .current_page_item > a { background: var(--parchment); }
	.site-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 10px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgba(22, 17, 15, 0.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.18s ease; }
	.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: 8px 10px; border-radius: 6px; color: var(--espresso); }
	.site-nav .sub-menu a:hover { background: var(--parchment); }
}

.site-search { border-top: 1px solid var(--line); background: var(--ivory); padding-block: 16px; }
.site-search__form { display: flex; align-items: center; gap: 12px; }
.site-search__form .icon { color: var(--muted); flex: none; }
.site-search__form input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font-display); font-size: 1.375rem; padding: 8px 0; outline: none; }
.site-search__form input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--ivory); background: var(--espresso); min-height: min(88svh, 820px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 17, 15, 0.1) 0%, rgba(22, 17, 15, 0.15) 35%, rgba(22, 17, 15, 0.82) 100%), linear-gradient(90deg, rgba(22, 17, 15, 0.45), transparent 70%); }
.hero__copy { position: relative; z-index: 2; padding-bottom: 168px; }
.hero__title { font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; max-width: 13ch; margin: 0 0 0.35em; font-variation-settings: "SOFT" 100, "opsz" 144; text-wrap: balance; }
.hero__text { font-size: var(--fs-lg); max-width: 40ch; color: color-mix(in srgb, var(--ivory) 86%, transparent); margin: 0; }
.hero__bar { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 48px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dots { display: flex; align-items: center; gap: 6px; }
.hero__dot { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.hero__dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: rgba(250, 247, 242, 0.4); transition: background 0.2s; }
.hero__dot.is-active::before { background: var(--gold); }
.hero__pause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(250, 247, 242, 0.4); background: transparent; color: var(--ivory); display: grid; place-items: center; cursor: pointer; margin-left: 6px; }
.hero__pause .pl { display: none; }
.hero__pause[aria-pressed="true"] .p { display: none; }
.hero__pause[aria-pressed="true"] .pl { display: block; }
@media (max-width: 699px) {
	.hero { min-height: 86svh; }
	.hero__copy { padding-bottom: 200px; }
	.hero__ctas { width: 100%; }
	.hero__ctas .btn { flex: 1 1 auto; }
	.hero__bar { padding-bottom: 36px; }
}

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head--stack { flex-direction: column; align-items: flex-start; }
.section-head__title { font-size: var(--fs-h2); margin: 0; max-width: 22ch; text-wrap: balance; }
.section-head__intro { color: var(--muted); max-width: 58ch; margin: 0; font-size: var(--fs-lg); }

/* ---------- Families mosaic ---------- */
.families__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.family-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--parchment); aspect-ratio: 4 / 5; color: var(--ivory); text-decoration: none; }
.family-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
.family-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.family-tile:hover .family-tile__img { transform: scale(1.04); }
.family-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(22, 17, 15, 0.78)); }
.family-tile__label { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; }
.family-tile__name { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.1; font-variation-settings: "SOFT" 100, "opsz" 48; }
.family-tile:first-child .family-tile__name { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.family-tile__count { font-size: var(--fs-xs); color: var(--gold-soft); margin-top: 4px; }
@media (min-width: 800px) {
	.families__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, 26vw); max-height: none; gap: 16px; }
	.families__grid .family-tile { aspect-ratio: auto; }
	.families__grid .family-tile:first-child { grid-column: span 2; grid-row: span 2; }
	.families__grid--2 { grid-template-columns: 2fr 1fr; grid-auto-rows: minmax(220px, 22vw); }
	.families__grid--2 .family-tile:first-child { grid-column: auto; }
	.families__grid--3 .family-tile:nth-child(2) { grid-column: span 2; }
	.families__grid--3 .family-tile:nth-child(3) { grid-column: span 2; }
	.families__grid--4 .family-tile:nth-child(4) { grid-column: span 2; }
	.family-tile__label { left: 22px; bottom: 20px; }
}
@media (min-width: 1300px) { .families__grid { grid-auto-rows: 340px; } }

/* ---------- Product cards ---------- */
ul.products { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin: 0; padding: 0; }
@media (min-width: 900px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
ul.products.columns-4 { }
@media (min-width: 1100px) { ul.products.columns-4, .related ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.products--rail { grid-auto-flow: column; grid-auto-columns: 68%; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px !important; margin-inline: calc(var(--gutter) * -1) !important; padding-inline: var(--gutter) !important; scrollbar-width: thin; scroll-padding-inline: var(--gutter); }
.products--rail > li { scroll-snap-align: start; }
@media (min-width: 700px) { .products--rail { grid-auto-columns: 40%; } }
@media (min-width: 1100px) { .products--rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; overflow: visible; margin-inline: 0 !important; padding-inline: 0 !important; } }

.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--parchment); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__flag { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--ivory); color: var(--espresso); font-size: var(--fs-xs); font-weight: 500; }
.card__flag--sold { background: var(--espresso); color: var(--ivory); }
.card--sold-out .card__media img { filter: grayscale(0.55) contrast(0.9); opacity: 0.75; }
.card__tryon {
	position: absolute; left: 10px; top: 10px; z-index: 2;
	display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px 4px 10px;
	border-radius: 999px; background: rgba(22, 17, 15, 0.78); color: var(--gold-soft); backdrop-filter: blur(6px);
	font-size: var(--fs-xs); font-weight: 500; text-decoration: none;
}
.card__tryon:hover { background: var(--espresso); color: var(--ivory); }
.card__body { padding-top: 12px; }
.card__title { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.25; margin: 0 0 4px; font-variation-settings: "SOFT" 60, "opsz" 24; font-weight: 400; }
@media (min-width: 900px) { .card__title { font-size: 1.1875rem; } }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__sub { margin: 0 0 6px; font-size: var(--fs-xs); color: var(--muted); }
.card__price { margin: 0; font-size: var(--fs-sm); font-weight: 500; }
.card__price del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.card__price ins { text-decoration: none; }
.price .drape-per-metre, .card__price .drape-per-metre { color: var(--muted); font-weight: 400; }

/* ---------- Try-on how (dark band) ---------- */
.tryon-how { background: var(--espresso); color: var(--ivory); }
.tryon-how__inner { display: grid; gap: 48px; }
@media (min-width: 1000px) { .tryon-how__inner { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.tryon-how__title { font-size: var(--fs-h2); font-weight: 300; font-variation-settings: "SOFT" 100, "opsz" 120; text-wrap: balance; }
.tryon-how__intro > p { color: color-mix(in srgb, var(--ivory) 78%, transparent); max-width: 46ch; font-size: var(--fs-lg); }
.tryon-how__privacy { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(241, 227, 200, 0.25); border-radius: var(--radius); color: var(--gold-soft) !important; font-size: var(--fs-md) !important; margin: 28px 0 32px; }
.tryon-how__privacy .icon { flex: none; margin-top: 2px; color: var(--gold); }
.steps { list-style: none; display: grid; gap: 0; counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 28px 0; border-top: 1px solid rgba(250, 247, 242, 0.14); }
.step:last-child { border-bottom: 1px solid rgba(250, 247, 242, 0.14); }
.step__num { grid-row: span 2; font-family: var(--font-display); font-size: 3.25rem; line-height: 0.9; font-weight: 300; color: var(--gold); font-variation-settings: "SOFT" 100, "opsz" 144; }
.step__title { font-size: var(--fs-h4); margin: 4px 0 6px; font-family: var(--font-display); }
.step p { margin: 0; color: color-mix(in srgb, var(--ivory) 72%, transparent); }
.steps--light .step { border-color: var(--line); }
.steps--light .step p { color: var(--muted); }
.steps--light .step__num { color: var(--gold-ink); }
@media (min-width: 900px) {
	.steps--light { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.steps--light .step { grid-template-columns: 1fr; border-bottom: 0 !important; }
	.steps--light .step__num { grid-row: auto; margin-bottom: 12px; }
}

/* ---------- Boutiques ---------- */
.boutiques-home { background: var(--parchment); }
.boutique-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.boutique-grid--stack { grid-template-columns: 1fr; }
.boutique-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.boutique-card__name { font-size: var(--fs-h3); margin: 0; }
.boutique-card__city { color: var(--muted); margin: 0; font-size: var(--fs-sm); }
.boutique-card__facts { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; font-size: var(--fs-sm); }
.boutique-card__facts li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.boutique-card__facts .icon { margin-top: 3px; color: var(--gold-ink); }
.boutique-card .text-link { margin-top: auto; }
.boutique-card--empty { grid-column: 1 / -1; }

/* ---------- Trust strip ---------- */
.trust-wrap { border-top: 1px solid var(--line); }
.trust { list-style: none; display: grid; gap: 24px; }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.trust__item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.trust__item .icon { color: var(--gold-ink); }
.trust__title { font-weight: 600; margin: 0 0 2px; }
.trust__text { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: color-mix(in srgb, var(--ivory) 80%, transparent); font-size: var(--fs-sm); }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 40px; padding-block: 64px 40px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__name { font-family: var(--font-display); font-size: 1.75rem; color: var(--ivory); margin: 0 0 4px; font-variation-settings: "SOFT" 100, "opsz" 48; }
.site-footer__tagline { color: var(--gold-soft); margin-bottom: 16px; }
.site-footer__note { max-width: 36ch; }
.site-footer__title { font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 600; color: var(--gold-soft); margin-bottom: 14px; letter-spacing: 0.01em; }
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer__contact li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.site-footer__contact .icon { margin-top: 3px; color: var(--gold); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 32px; border-top: 1px solid rgba(250, 247, 242, 0.12); font-size: var(--fs-xs); }
.site-footer__base p { margin: 0; }
.site-footer__gst { margin-left: 16px; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.social { list-style: none; display: flex; gap: 6px; margin-top: 20px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(250, 247, 242, 0.2); border-radius: 50%; }
.contact-ways .social a { border-color: var(--line); color: var(--espresso); }

.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1f7a4d; color: #fff; box-shadow: 0 10px 30px -10px rgba(22, 17, 15, 0.6); }
.wa-float:hover { background: #18663f; }
@media (max-width: 899px) { .single-product .wa-float { display: none; } }

/* ---------- Page heads & prose ---------- */
.page-head { padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 40px); }
.page-head__title { font-size: var(--fs-h1); font-weight: 300; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 144; max-width: 20ch; text-wrap: balance; }
.page-head__intro { color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; margin: 16px 0 0; }
.page-head__meta { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 12px; }
.prose-wrap { padding-bottom: 80px; }
.prose { max-width: 68ch; }
.prose--lead { font-size: var(--fs-lg); }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: var(--fs-h4); }
.post-cover img { border-radius: var(--radius-sm); margin-bottom: 40px; width: 100%; }
.post-grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card__media img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
.post-card__title { font-size: var(--fs-h4); margin-bottom: 4px; }
.post-card__title a { text-decoration: none; }
.post-card__meta { font-size: var(--fs-xs); color: var(--muted); }
.navigation.pagination, .woocommerce-pagination { margin-top: 56px; }
.nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); font-size: var(--fs-sm); }
.page-numbers.current { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.woocommerce-pagination ul li { list-style: none; }

.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form__input { flex: 1; min-width: 0; }
.search-again { margin-bottom: 40px; }
.empty-state { padding: 48px 24px; text-align: center; background: var(--parchment); border-radius: var(--radius-lg); }
.empty-state__title { font-size: var(--fs-h3); }
.empty-state p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.empty-state .search-form { margin: 20px auto 0; }

/* 404 */
.lost { position: relative; background: var(--parchment); overflow: hidden; }
.lost__inner { padding-block: clamp(64px, 10vw, 140px); max-width: 860px; }
.lost__code { font-family: var(--font-display); font-size: clamp(6rem, 3rem + 14vw, 13rem); line-height: 0.85; color: var(--gold); font-weight: 300; margin: 0 0 16px; font-variation-settings: "SOFT" 100, "opsz" 144; }
.lost__title { font-size: var(--fs-h1); font-weight: 300; max-width: 18ch; }
.lost__text { color: var(--muted); font-size: var(--fs-lg); max-width: 52ch; }
.lost__search { margin: 28px 0; }
.lost__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* About */
.about-hero { padding-block: clamp(40px, 6vw, 88px) 24px; }
.about-hero__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .about-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.about-hero__title { font-size: var(--fs-h1); font-weight: 300; font-variation-settings: "SOFT" 100, "opsz" 144; }
.about-hero__lede { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.3; color: var(--gold-ink); max-width: 24ch; font-variation-settings: "SOFT" 100, "opsz" 48; }
.about-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
.values { background: var(--parchment); }
.values__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .values__grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.value__title { font-size: var(--fs-h4); }
.value p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-ways { display: flex; flex-direction: column; gap: 12px; }
.contact-way { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; background: var(--ivory); }
a.contact-way:hover { border-color: var(--gold); }
.contact-way .icon { color: var(--gold-ink); }
.contact-way--primary { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.contact-way--primary .icon { color: var(--gold); }
.contact-way--primary .contact-way__text { color: color-mix(in srgb, var(--ivory) 75%, transparent); }
.contact-way__title { display: block; font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.2; margin-bottom: 4px; }
.contact-way__text { display: block; color: var(--muted); font-size: var(--fs-sm); }
.contact-side__title { font-size: var(--fs-h3); }

/* ---------- Forms (shared + WooCommerce) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], select, textarea,
.woocommerce form .input-text, .select2-container .select2-selection {
	width: 100%; min-height: 48px; padding: 10px 14px;
	border: 1px solid color-mix(in srgb, var(--espresso) 18%, transparent); border-radius: 8px;
	background: var(--white); color: var(--espresso); font-size: 16px; line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316110F' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
label { display: block; font-size: var(--fs-sm); font-weight: 500; margin-bottom: 6px; }
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row .required { color: var(--gold-ink); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 400; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--danger); }
.woocommerce form .form-row .description { font-size: var(--fs-xs); color: var(--muted); margin-top: 6px; display: block; }
.woocommerce-input-wrapper { display: block; }
.form-row-first, .form-row-last { width: 100%; }
@media (min-width: 600px) {
	.woocommerce .form-row-first, .woocommerce .form-row-last { width: calc(50% - 8px); display: inline-block; vertical-align: top; }
	.woocommerce .form-row-first { margin-right: 12px !important; }
}
.woocommerce form .form-row label.checkbox, .woocommerce-form__label-for-checkbox { display: inline-flex; gap: 10px; align-items: center; font-weight: 400; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; }
.clear { clear: both; }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
	margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius);
	background: var(--parchment); border: 1px solid var(--line); border-left: 3px solid var(--gold); font-size: var(--fs-sm);
}
.woocommerce-error { border-left-color: var(--danger); background: #fbf1ee; flex-direction: column; align-items: flex-start; }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 0.4em 1.1em; font-size: var(--fs-xs); }
.woocommerce-store-notice, p.demo_store { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; margin: 0; padding: 12px; background: var(--espresso); color: var(--ivory); text-align: center; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--muted); padding-block: 20px 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--espresso); text-decoration: underline; }
.crumbs__sep { color: color-mix(in srgb, var(--muted) 50%, transparent); }

/* ---------- Shop archive ---------- */
.shop-head { padding-bottom: 20px; }
.shop-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-top: 16px; }
.shop-head__title { font-size: var(--fs-h1); font-weight: 300; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 144; }
.shop-head__intro { color: var(--muted); max-width: 60ch; margin: 12px 0 0; }
.shop-head__intro p:last-child { margin: 0; }
.shop-head__count { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.chips { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--espresso); }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }

.shop-layout { display: grid; gap: 32px; padding-bottom: 96px; }
@media (min-width: 1000px) { .shop-layout { grid-template-columns: 240px 1fr; gap: 48px; } }
.shop-toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.shop-toolbar .woocommerce-ordering { margin: 0 0 0 auto; }
.shop-toolbar select { min-height: 40px; width: auto; border-radius: 999px; padding: 6px 40px 6px 16px; font-size: var(--fs-sm); background-color: var(--ivory); }
.filters-toggle__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--gold); color: var(--espresso); font-size: 11px; }
@media (min-width: 1000px) { .filters-toggle { display: none !important; } }

.filters { position: fixed; z-index: 80; inset: auto 0 0 0; max-height: 86vh; overflow-y: auto; padding: 20px var(--gutter) 32px; background: var(--ivory); border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(102%); visibility: hidden; transition: transform 0.3s var(--ease), visibility 0.3s; }
.filters.is-open { transform: none; visibility: visible; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters__title { font-size: var(--fs-h4); margin: 0; }
@media (min-width: 1000px) {
	.filters { position: sticky; top: calc(var(--header-h) + 24px); inset: auto; max-height: calc(100vh - var(--header-h) - 48px); transform: none; visibility: visible; padding: 0; border-radius: 0; background: transparent; align-self: start; }
	.filters__close, .filters-scrim { display: none !important; }
}
.filter-group { padding: 18px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; }
.filter-group__title { font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 600; margin: 0 0 10px; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.filter-option { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 8px; margin-inline: -8px; border-radius: 6px; text-decoration: none; font-size: var(--fs-sm); }
.filter-option:hover { background: var(--parchment); }
.filter-option__label { flex: 1; }
.filter-option__count { color: var(--muted); font-size: var(--fs-xs); }
.check { width: 18px; height: 18px; border: 1px solid color-mix(in srgb, var(--espresso) 30%, transparent); border-radius: 4px; flex: none; display: grid; place-items: center; background: var(--white); }
.filter-option.is-on .check { background: var(--espresso); border-color: var(--espresso); }
.filter-option.is-on .check::after { content: ""; width: 9px; height: 5px; border-left: 1.6px solid var(--ivory); border-bottom: 1.6px solid var(--ivory); transform: rotate(-45deg) translate(1px, -1px); }
.swatch-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--dot); flex: none; box-shadow: inset 0 0 0 1px rgba(22, 17, 15, 0.15); }
.filter-option.is-on .swatch-dot { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--espresso); }
.filter-option.is-on { font-weight: 600; }
.filter-switch { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: var(--fs-sm); font-weight: 500; min-height: 40px; }
.filter-switch__track { position: relative; width: 40px; height: 24px; border-radius: 999px; background: color-mix(in srgb, var(--espresso) 18%, transparent); flex: none; transition: background 0.2s; }
.filter-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform 0.2s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.filter-switch.is-on .filter-switch__track { background: var(--gold); }
.filter-switch.is-on .filter-switch__track::after { transform: translateX(16px); }
.price-filter__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.price-filter__row label { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; margin: 0; }
.price-filter__row input { min-height: 42px; margin-top: 4px; }
.filters__clear { margin-top: 8px; }

/* ---------- Single fabric ---------- */
.fabric__top { display: grid; gap: 24px; padding-bottom: 48px; }
@media (min-width: 900px) { .fabric__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
@media (min-width: 1200px) { .fabric__top { gap: 80px; } }

.gallery { min-width: 0; }
@media (max-width: 899px) { .gallery { margin-inline: calc(var(--gutter) * -1); } }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; background: var(--parchment); overflow: hidden; }
@media (min-width: 900px) { .gallery__slide { border-radius: var(--radius-sm); } }
.gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease-out; }
@media (hover: hover) and (pointer: fine) {
	.gallery__zoom.is-zooming .gallery__img { transform: scale(2.2); transition: none; }
}
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; padding-inline: var(--gutter); overflow-x: auto; }
@media (min-width: 900px) { .gallery__thumbs { padding-inline: 0; } }
.gallery__thumb { flex: none; width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: var(--parchment); cursor: pointer; opacity: 0.6; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--espresso); }

.fabric__summary { min-width: 0; }
@media (min-width: 900px) { .fabric__summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.fabric__sub { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 8px; }
.fabric__title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 300; line-height: 1.06; margin: 0 0 16px; font-variation-settings: "SOFT" 100, "opsz" 144; text-wrap: balance; }
.fabric__price { font-size: 1.5rem; font-weight: 500; }
.fabric__price .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.fabric__price del { color: var(--muted); font-size: 1.0625rem; font-weight: 400; order: 2; }
.fabric__price ins { text-decoration: none; order: 1; }
.fabric__price .drape-per-metre { order: 1; font-size: var(--fs-md); }
.fabric__gst { margin: 4px 0 20px; color: var(--muted); font-size: var(--fs-xs); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge { padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: #5d421a; font-size: var(--fs-xs); font-weight: 500; }
.fabric__short { color: color-mix(in srgb, var(--espresso) 85%, transparent); margin-bottom: 24px; max-width: 52ch; }
.fabric__short p:last-child { margin: 0; }

.buy-box { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.buy-box__actions { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 480px) { .buy-box__actions { grid-template-columns: 1fr 1fr; } }
.buy-box__actions .btn { width: 100%; }
.buy-box__actions .btn:only-child { grid-column: 1 / -1; }

/* Metre stepper */
.drape-qty { min-width: 0; }
.drape-qty__label { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 10px; }
.drape-qty__control { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--espresso) 20%, transparent); border-radius: 999px; background: var(--ivory); padding: 4px; }
.drape-qty__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--espresso); }
.drape-qty__btn:hover:not(:disabled) { background: var(--parchment); }
.drape-qty__btn:disabled { opacity: 0.35; cursor: default; }
.drape-qty input.qty { width: 4.2ch; min-height: 44px; padding: 0; border: 0; background: transparent; text-align: right; font-family: var(--font-display); font-size: 1.375rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; box-shadow: none; }
.drape-qty input.qty::-webkit-inner-spin-button, .drape-qty input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.drape-qty__unit { font-family: var(--font-display); font-size: 1.375rem; color: var(--muted); padding: 0 8px 0 3px; }
.drape-qty--compact .drape-qty__control { padding: 2px; }
.drape-qty--compact .drape-qty__btn { width: 36px; height: 36px; }
.drape-qty--compact input.qty { font-size: 1.0625rem; min-height: 36px; width: 3.6ch; }
.drape-qty--compact .drape-qty__unit { font-size: 1.0625rem; }

.drape-qty--tape { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 16px; }
.drape-qty--tape .drape-qty__label { grid-column: 1 / -1; }
.drape-qty--tape .drape-qty__tape { grid-column: 1 / -1; margin-top: 14px; }
.drape-qty__tape {
	position: relative; height: 60px; overflow: hidden; border-radius: 6px; cursor: ew-resize; touch-action: pan-y;
	background: linear-gradient(180deg, #f5e7c4, #ecd9ad); border: 1px solid #dcc391;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.drape-qty__ticks {
	--unit: 72px;
	position: absolute; top: 0; bottom: 0; left: 50%; width: 9999px;
	background:
		repeating-linear-gradient(90deg, #5b4220 0 1.5px, transparent 1.5px var(--unit)) 0 0 / 100% 22px no-repeat,
		repeating-linear-gradient(90deg, #5b4220 0 1px, transparent 1px calc(var(--unit) / 2)) 0 0 / 100% 14px no-repeat,
		repeating-linear-gradient(90deg, rgba(91, 66, 32, 0.55) 0 1px, transparent 1px calc(var(--unit) / 10)) 0 0 / 100% 8px no-repeat;
	transform: translateX(calc(var(--qty, 1) * var(--unit) * -1));
	transition: transform 0.35s var(--ease);
}
.drape-qty__ticks span { position: absolute; bottom: 6px; transform: translateX(5px); font-family: var(--font-display); font-size: 0.8125rem; color: #5b4220; font-variant-numeric: tabular-nums; }
.drape-qty__needle { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--espresso); }
.drape-qty__needle::before { content: ""; position: absolute; top: -1px; left: -5px; border: 6px solid transparent; border-top-color: var(--espresso); }
.drape-qty__total { grid-column: 1 / -1; display: block; margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.drape-qty__total strong { color: var(--espresso); font-weight: 600; }

.stock-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: var(--fs-sm); }
.stock-note__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock-note--low { color: #8a4b0c; font-weight: 600; }
.stock-note--low .stock-note__dot { background: #c26a12; box-shadow: 0 0 0 4px rgba(194, 106, 18, 0.15); }
.stock-note--out { color: var(--danger); font-weight: 600; }
.stock-note--out .stock-note__dot { background: var(--danger); }
.fabric .stock { display: none; }
.collect-note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); background: var(--parchment); font-size: var(--fs-sm); }
.collect-note .icon { color: var(--gold-ink); }
.collect-note__title { font-weight: 600; margin: 0 0 2px; }
.collect-note__text { margin: 0; color: var(--muted); }

.fabric__details { display: grid; gap: 32px; padding-block: 48px 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .fabric__details { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-top: 72px; } }
.feel-card { padding: 28px; border-radius: var(--radius-lg); background: var(--espresso); color: var(--ivory); align-self: start; }
.feel-card__title { font-size: var(--fs-h3); margin-bottom: 20px; font-weight: 300; font-variation-settings: "SOFT" 100, "opsz" 72; }
.feel { margin: 0; display: grid; gap: 18px; }
.feel__row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
.feel__name { font-size: var(--fs-sm); padding-top: 1px; }
.feel__value { margin: 0; }
.feel__bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; height: 10px; }
.feel__seg { background: rgba(250, 247, 242, 0.14); border-radius: 1px; }
.feel__seg.is-on { background: var(--gold); }
.feel__ends { display: flex; justify-content: space-between; margin-top: 5px; font-size: 0.75rem; color: color-mix(in srgb, var(--ivory) 55%, transparent); }
.spec__title { font-size: var(--fs-h3); font-weight: 300; font-variation-settings: "SOFT" 100, "opsz" 72; }
.spec__table { width: 100%; border-collapse: collapse; margin-bottom: 40px; font-size: var(--fs-sm); }
.spec__table th, .spec__table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec__table th { width: 38%; font-weight: 500; color: var(--muted); padding-right: 16px; }
.related-wrap { padding-block: 40px 96px; }
.related > h2 { font-size: var(--fs-h2); margin-bottom: 32px; }

.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--espresso); color: var(--ivory); }
.zoom::backdrop { background: rgba(22, 17, 15, 0.9); }
.zoom__close { position: absolute; top: 12px; right: 12px; z-index: 2; color: var(--ivory); background: rgba(22, 17, 15, 0.6); }
.zoom__stage { position: absolute; inset: 0; overflow: hidden; cursor: move; touch-action: none; }
.zoom__img { position: absolute; left: 50%; top: 50%; max-width: none; width: auto; height: 180%; transform: translate(-50%, -50%); user-select: none; -webkit-user-drag: none; }
.zoom__hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: var(--fs-xs); color: var(--gold-soft); margin: 0; pointer-events: none; }

/* ---------- Mini cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(22, 17, 15, 0.45); opacity: 0; transition: opacity 0.25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 420px); display: flex; flex-direction: column; background: var(--ivory); transform: translateX(100%); transition: transform 0.3s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 12px 16px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__title { font-size: var(--fs-h4); margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 16px; }
.drawer__note { display: flex; gap: 10px; align-items: center; margin: 0; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: var(--parchment); font-size: var(--fs-xs); color: var(--muted); }
.drawer__note .icon { color: var(--gold-ink); flex: none; }
.woocommerce-mini-cart { list-style: none; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 16px 32px 16px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.woocommerce-mini-cart-item > a:not(.remove) { grid-row: span 3; display: contents; text-decoration: none; font-weight: 500; }
.woocommerce-mini-cart-item img { grid-row: 1 / span 3; width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; color: var(--muted); font-size: 20px; }
.woocommerce-mini-cart-item .remove:hover { background: var(--parchment); color: var(--espresso); }
.woocommerce-mini-cart-item .quantity { display: block; color: var(--muted); grid-column: 2; }
.woocommerce-mini-cart-item dl.variation { grid-column: 2; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 16px 0; margin: 0; font-size: var(--fs-md); }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { --btn-bg: transparent; --btn-fg: var(--espresso); --btn-bd: color-mix(in srgb, var(--espresso) 30%, transparent); }
.woocommerce-mini-cart__empty-message { padding: 40px 0; text-align: center; color: var(--muted); }

dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 6px 0 0; font-size: var(--fs-xs); color: var(--muted); }
dl.variation dt { font-weight: 500; }
dl.variation dd { margin: 0; }
dl.variation dd p { margin: 0; }
.drape-look-thumb { width: 44px; height: 55px; }

/* ---------- Cart ---------- */
.wc-page__body { padding-bottom: 96px; }
.woocommerce-cart .page-head, .woocommerce-checkout .page-head, .woocommerce-account .page-head { padding-bottom: 24px; }
.woocommerce-cart-form { margin-bottom: 32px; }
table.shop_table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.shop_table th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cart .product-thumbnail { width: 88px; }
.cart-thumb img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); }
table.cart .product-name a { font-family: var(--font-display); font-size: 1.125rem; text-decoration: none; }
table.cart .product-remove a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; text-decoration: none; color: var(--muted); font-size: 22px; }
table.cart .product-remove a:hover { background: var(--parchment); color: var(--espresso); }
table.cart td.actions { padding-top: 20px; }
table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
table.cart td.actions .coupon input { width: auto; flex: 1 1 160px; }
table.cart td.actions > .button { float: right; }
@media (min-width: 700px) { table.cart td.actions .coupon { float: left; margin: 0; } }

@media (max-width: 767px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; }
	table.shop_table_responsive tbody tr.cart_item { position: relative; display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; padding: 16px 36px 16px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive tr td { display: block; border: 0; padding: 2px 0; text-align: left; }
	table.shop_table_responsive tr.cart_item td::before { content: none; }
	table.cart tr.cart_item .product-remove { position: absolute; top: 12px; right: 0; padding: 0; }
	table.cart tr.cart_item .product-thumbnail { grid-row: 1 / span 4; width: auto; }
	table.cart tr.cart_item .product-name, table.cart tr.cart_item .product-price, table.cart tr.cart_item .product-quantity, table.cart tr.cart_item .product-subtotal { grid-column: 2; }
	table.cart tr.cart_item .product-quantity { padding: 8px 0; }
	table.cart tr.cart_item .product-subtotal { font-weight: 600; }
	table.cart td.actions { display: block; }
	table.cart td.actions > .button { float: none; width: 100%; }
	.cart_totals table.shop_table_responsive tr { display: flex; justify-content: space-between; }
	.cart_totals table.shop_table_responsive tr td::before { content: none; }
}
.cart-collaterals { display: grid; }
@media (min-width: 900px) { .cart-collaterals { justify-content: end; } .cart_totals { width: 440px; } }
.cart_totals { padding: 24px; border-radius: var(--radius-lg); background: var(--parchment); }
.cart_totals h2 { font-size: var(--fs-h3); }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; }
.cart_totals .order-total { font-size: var(--fs-md); }
.cart_totals .order-total td, .cart_totals .order-total th { border-bottom: 0; color: var(--espresso); font-weight: 600; }
.cart_totals td { text-align: right; }
.cart_totals .includes_tax { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: var(--fs-md); }
.cart-empty.woocommerce-info { justify-content: center; font-family: var(--font-display); font-size: var(--fs-h4); border-left-width: 1px; padding: 32px; }
.return-to-shop { text-align: center; }

/* ---------- Checkout ---------- */
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { border-left-color: var(--line); }
form.checkout_coupon, form.woocommerce-form-login { padding: 20px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
form.checkout { display: grid; gap: 0 56px; align-items: start; }
form.checkout > * { min-width: 0; }
@media (min-width: 1000px) {
	form.checkout { grid-template-columns: minmax(0, 1fr) 420px; }
	form.checkout > * { grid-column: 1; }
	form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; }
	form.checkout > #order_review { grid-column: 2; grid-row: 2 / span 6; position: sticky; top: calc(var(--header-h) + 24px); }
}
#customer_details h3, #order_review_heading, .drape-boutique-picker__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; margin: 0 0 16px; }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#customer_details .col-2 { margin-top: 16px; }
.woocommerce-billing-fields, .woocommerce-additional-fields { padding: 24px 0; border-top: 1px solid var(--line); }
#order_review_heading { padding: 24px 24px 0; margin: 0; background: var(--parchment); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
#order_review { padding: 8px 24px 24px; background: var(--parchment); border-radius: 0 0 var(--radius-lg) var(--radius-lg); margin-bottom: 32px; }
@media (min-width: 1000px) { #order_review_heading { margin-top: 0; } }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 12px 0; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table tfoot th + td { text-align: right; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 500; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: var(--fs-md); font-weight: 600; border-bottom: 0; color: var(--espresso); }
#payment { margin-top: 12px; }
#payment ul.payment_methods { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
#payment ul.payment_methods > li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
#payment ul.payment_methods > li > label { display: inline; margin-left: 8px; font-weight: 600; }
#payment .payment_box { margin-top: 10px; font-size: var(--fs-sm); color: var(--muted); }
#payment .payment_box p:last-child { margin: 0; }
#payment .place-order { padding: 0; margin: 0; }
#payment #place_order { width: 100%; min-height: 56px; font-size: var(--fs-md); --btn-bg: var(--gold); --btn-fg: var(--espresso); --btn-bd: var(--gold); white-space: normal; }
#payment #place_order:hover { --btn-bg: #c8974b; }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 16px; }
.woocommerce-privacy-policy-text p { margin-bottom: 8px; }
.blockUI.blockOverlay { background: rgba(250, 247, 242, 0.6) !important; }

/* Boutique picker (Drape Connect markup) */
.drape-boutique-picker { padding-bottom: 24px; margin-bottom: 0; }
.drape-boutique-picker abbr.required, .woocommerce form .form-row abbr.required { text-decoration: none; border: 0; color: var(--gold-ink); }
.drape-boutique-picker__intro { font-size: var(--fs-sm); }
.drape-boutique-picker__grid { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .drape-boutique-picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.drape-boutique-card__body { border-radius: var(--radius-lg); padding: 18px 48px 18px 18px; background: var(--white); }
.drape-boutique-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.drape-boutique-card input { top: 20px; right: 18px; }
.drape-boutique-card input:checked + .drape-boutique-card__body { background: var(--ivory); box-shadow: 0 0 0 1px var(--gold), 0 12px 32px -20px rgba(184, 134, 59, 0.6); }
.drape-collection-row td { color: var(--ok); font-weight: 500; }

/* ---------- Thank you / order details ---------- */
.woocommerce-order { max-width: 880px; }
.woocommerce-thankyou-order-received { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 300; line-height: 1.1; margin: clamp(32px, 5vw, 64px) 0 24px; font-variation-settings: "SOFT" 100, "opsz" 144; max-width: 18ch; }
ul.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 0 0 32px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
ul.woocommerce-order-overview li { padding: 16px 18px; background: var(--ivory); font-size: var(--fs-xs); color: var(--muted); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; color: var(--espresso); font-size: var(--fs-md); font-weight: 600; }
.drape-collect-from { border-radius: var(--radius-lg); padding: 24px; background: var(--espresso); color: var(--ivory); border: 0; margin-bottom: 32px; }
.drape-collect-from__title { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--gold-soft); font-weight: 400; }
.drape-collect-from__name { font-family: var(--font-display); font-size: var(--fs-h3); }
.drape-collect-from__name strong { font-weight: 400; }
.drape-collect-from a { color: var(--gold-soft); }
.drape-collect-from__address, .drape-collect-from__hours { color: color-mix(in srgb, var(--ivory) 78%, transparent); }
.woocommerce-order-details, .woocommerce-customer-details { margin-bottom: 40px; }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-customer-details h2 { font-size: var(--fs-h3); }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-table--order-details .product-name a { text-decoration: none; font-weight: 500; }
.woocommerce-customer-details address { font-style: normal; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-customer-details--phone, .woocommerce-customer-details--email { margin: 6px 0 0; }
.wc-item-meta { list-style: none; font-size: var(--fs-xs); color: var(--muted); margin-top: 4px; }
.wc-item-meta p { display: inline; }
.drape-look { margin-top: 10px; }
.drape-look .drape-look-thumb { width: 56px; height: 70px; }

/* ---------- My account ---------- */
.woocommerce-account .woocommerce { display: grid; gap: 32px; }
@media (min-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 220px 1fr; gap: 56px; } }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 900px) { .woocommerce-MyAccount-navigation ul { flex-direction: column; } }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; font-size: var(--fs-sm); border: 1px solid var(--line); }
@media (min-width: 900px) { .woocommerce-MyAccount-navigation a { border: 0; border-radius: 8px; } }
.woocommerce-MyAccount-navigation .is-active a { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { font-size: var(--fs-lg); }
.woocommerce-orders-table__cell-order-actions .button { min-height: 36px; padding: 0.3em 1em; font-size: var(--fs-xs); margin: 2px; }
.woocommerce-form-login, .woocommerce-form-register { max-width: 460px; }
.u-columns.col2-set { display: grid; gap: 40px; }
@media (min-width: 900px) { .u-columns.col2-set { grid-template-columns: 1fr 1fr; } .woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-account:not(.logged-in) .woocommerce h2 { font-size: var(--fs-h3); }
.woocommerce-form-login__rememberme { margin-bottom: 12px; }
.woocommerce-LostPassword { font-size: var(--fs-sm); }
.woocommerce-Addresses { display: grid; gap: 24px; }
mark.order-status, mark.order-number, mark.order-date { background: none; font-weight: 600; color: inherit; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
	.hero__img { transform: none !important; }
}
