/*
Theme Name: Reva House of Sleep
Theme URI: https://revamat.com/
Author: Reva House of Sleep
Description: Catalogue preview theme for Reva House of Sleep: one editorial hero, department pages driven by WooCommerce, a guided collection finder, product galleries and WhatsApp inquiries that carry the shopper's selected options.
Version: 2.4.5
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
WC requires at least: 8.0
Text Domain: revamat
License: Proprietary
*/

/* ==========================================================================
   Tokens
   Reva wordmark: magenta and burgundy. Cloud artwork: indigo, mauve and blush.
   ========================================================================== */
:root {
	--ivory: #FCF7FA;
	--linen: #F1E8EE;
	--porcelain: #FAF6EF;
	--oat: #EFE5D8;
	--sandstone: #E5D3C4;
	--warm-rule: #826B68;
	--paper: #FFFFFF;
	--espresso: #321528;
	--muted: #64516A;
	--action: #A81466;
	--action-deep: #83104F;
	--dusk: #403B5E;
	--mauve: #A68091;
	--cloud-blush: #E8CBC0;
	--plum: #500D31;
	--plum-deep: #321528;
	--clay: #A68091;
	--clay-text: #7A3C63;
	--rule: #88748B;      /* control borders, 3.5:1 on ivory */
	--line: #DCCCD8;      /* decorative dividers */
	--focus: #321528;
	--focus-halo: #FCF7FA;

	--font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--radius-s: 4px;
	--radius-m: 8px;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 68px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--espresso);
	font: 400 1rem/1.65 var(--font-ui);
	text-rendering: optimizeLegibility;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 var(--s4); }
h1, h2, h3, h4 { margin: 0 0 var(--s4); line-height: 1.1; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
h3, h4 { font-family: var(--font-ui); font-weight: 600; }
ul[role="list"], .nav-list, .chip-list, .link-list, .contact-list, .site-footer ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--focus-halo);
	border-radius: 2px;
}
.band--dark, .band--plum, .band--forest, .site-footer, .topline { --focus: #FCF7FA; --focus-halo: #321528; }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; inset-inline-start: var(--s4); top: -100px; z-index: 100;
	background: var(--espresso); color: var(--ivory); padding: var(--s3) var(--s4); border-radius: var(--radius-s);
}
.skip-link:focus { top: var(--s4); }
.site-main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.band--plum { background: var(--plum); color: var(--ivory); }
.band--forest { background: var(--dusk); color: var(--ivory); }
.band--dark { background: var(--espresso); color: var(--ivory); }

.eyebrow {
	font: 600 0.75rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--clay-text);
	margin-bottom: var(--s3);
}
.band--plum .eyebrow, .band--forest .eyebrow, .band--dark .eyebrow, .page-head--plum .eyebrow { color: #E8CBC0; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); max-width: 46rem; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); max-width: none; }
.section-head--split .section-title { margin-bottom: 0; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; }
.field-hint, .form-note { font-size: 0.875rem; color: var(--muted); }
.band--plum .form-note, .band--plum .field-hint { color: #F3DCE6; }
.prose { max-width: 44rem; }
.prose > * + * { margin-top: var(--s4); }

/* Icons */
.icon { width: 20px; height: 20px; flex: none; }

/* ==========================================================================
   Buttons and controls
   ========================================================================== */
.button, .woocommerce .button, button.button, a.button, input[type="submit"].button {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
	min-height: 48px; padding: 12px 22px;
	border: 1px solid transparent; border-radius: var(--radius-s);
	font: 600 0.95rem/1.2 var(--font-ui); letter-spacing: 0.01em;
	text-decoration: none; text-align: center; cursor: pointer;
	background: var(--action); color: var(--ivory);
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button:hover { background: var(--action-deep); text-decoration: none; }
.button.button--primary { background: var(--action); color: var(--ivory); }
.button.button--outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.button.button--outline:hover { background: var(--espresso); color: var(--ivory); }
.band--plum .button.button--outline, .band--dark .button.button--outline, .band--forest .button.button--outline { color: var(--ivory); border-color: var(--ivory); }
.band--plum .button.button--outline:hover { background: var(--ivory); color: var(--plum); }
.band--plum .button.button--primary { background: var(--ivory); color: var(--plum); }
.band--plum .button.button--primary:hover { background: #fff; }
.button--small { min-height: 40px; padding: 8px 14px; font-size: 0.875rem; }
.button--block { width: 100%; }
.button[disabled], .button.disabled { opacity: .55; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

.icon-button {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
	min-width: 44px; min-height: 44px; padding: 10px;
	border: 0; border-radius: var(--radius-s); background: transparent; color: inherit;
}
.icon-button:hover { background: rgba(35, 31, 32, .06); }
.icon-button:disabled { opacity: .35; cursor: default; }
.icon-button .icon { width: 22px; height: 22px; }

.field { display: flex; flex-direction: column; gap: var(--s1); min-width: 0; }
label { font-weight: 600; font-size: 0.9rem; }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 12px;
	background: var(--paper); color: var(--espresso);
	border: 1px solid var(--rule); border-radius: var(--radius-s);
}
select {
	appearance: none; -webkit-appearance: none;
	padding-inline-end: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
[dir="rtl"] select { background-position: left 12px center; }
textarea { min-height: 120px; }

.chip-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin-block: var(--s4); }
.chip {
	display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
	border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
	background: var(--paper);
}
.chip:hover { border-color: var(--espresso); }
.chip[aria-current="page"] { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

.badge {
	display: inline-block; padding: 4px 8px; border-radius: var(--radius-s);
	font: 600 0.72rem/1.2 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase;
	background: var(--linen); color: var(--espresso);
}
.badge--clay { background: #F2DFE8; color: var(--clay-text); }
.badge--sample { position: absolute; inset-block-start: var(--s3); inset-inline-start: var(--s3); background: var(--paper); }

/* ==========================================================================
   Top line, header, navigation
   ========================================================================== */
.topline { background: var(--espresso); color: var(--ivory); font-size: 0.8125rem; }
.topline__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 36px; }
.topline__brand { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.topline__contact { display: flex; gap: var(--s5); }
.topline__contact a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 36px; }
.topline__contact a:hover span { text-decoration: underline; }
.topline .icon { width: 16px; height: 16px; }

.site-header {
	position: sticky; top: 0; z-index: 40;
	background: color-mix(in srgb, var(--ivory) 96%, transparent);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.2) blur(6px);
}
.site-header__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4);
	min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { width: auto; height: 46px; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1; color: var(--plum); }
.brand__text b { font: 600 1.9rem/1 var(--font-display); letter-spacing: -0.01em; }
.brand__text small { font: 600 0.58rem/1 var(--font-ui); letter-spacing: 0.3em; text-transform: uppercase; margin-top: 4px; }
.menu-toggle { margin-inline-start: -10px; }

.primary-nav { justify-self: center; }
.primary-nav .nav-list { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 18px); }
.primary-nav .nav-list > li { position: relative; }
.primary-nav a, .nav-disclosure {
	display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 10px;
	border: 0; background: none; text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: var(--radius-s);
}
.primary-nav a:hover, .nav-disclosure:hover { background: var(--linen); }
.primary-nav a[aria-current="page"], .primary-nav .is-current > .nav-disclosure { box-shadow: inset 0 -2px 0 var(--plum); border-radius: 0; }
.nav-disclosure .icon { width: 16px; height: 16px; transition: transform .15s; }
.nav-disclosure[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav .subnav {
	position: absolute; inset-inline-start: 0; top: calc(100% + 6px); min-width: 230px;
	list-style: none; margin: 0; padding: var(--s2);
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
	box-shadow: 0 16px 40px rgba(35, 31, 32, .12);
}
.primary-nav .subnav a { display: flex; width: 100%; }
.header-actions { display: flex; align-items: center; gap: var(--s1); justify-self: end; }
.cart-link { position: relative; text-decoration: none; }
.cart-count {
	position: absolute; inset-block-start: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; background: var(--plum); color: var(--ivory); font-size: 0.7rem; font-weight: 700; line-height: 18px; text-align: center;
}
.header-search { border-top: 1px solid var(--line); background: var(--paper); padding-block: var(--s4); }
.site-search label { display: block; margin-bottom: var(--s2); }
.site-search__row { display: flex; gap: var(--s2); }
.site-search__row input { flex: 1; min-width: 0; }

@media (min-width: 1024px) {
	.menu-toggle { display: none; }
	.site-header__inner { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 1023px) {
	.primary-nav { display: none; }
	.site-header__inner { grid-template-columns: 44px 1fr auto; }
	.brand { justify-self: center; }
	.header-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.header-contact { min-width: 44px; padding: 8px; border: 0; }
}
@media (max-width: 767px) {
	:root { --header-h: 64px; }
	.topline { display: none; }
	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 0;
		padding-inline: 12px;
	}
	.site-header .menu-toggle { justify-self: start; margin: 0; }
	.site-header .brand__logo { height: 40px; max-width: 106px; object-fit: contain; }
	.site-header .header-actions { gap: 0; }
	.site-header .header-actions .header-contact { border: 0; padding: 0; }
	.site-header .header-actions .header-contact:hover { background: var(--linen); color: var(--plum); }
}

.nav-drawer {
	margin: 0; margin-inline-end: auto; inset-block: 0; height: 100dvh; max-height: none;
	width: min(400px, 92vw); max-width: none; padding: var(--s5);
	border: 0; background: var(--ivory); color: var(--espresso); overflow-y: auto;
}
.nav-drawer::backdrop { background: rgba(35, 31, 32, .55); }
.nav-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s4); }
.nav-drawer__title { font: 500 1.6rem var(--font-display); }
.nav-drawer .site-search { margin-bottom: var(--s5); }
.nav-drawer .site-search label { font-size: 0.85rem; }
.nav-drawer .nav-list > li { border-bottom: 1px solid var(--line); }
.nav-drawer .nav-list a, .nav-drawer .nav-disclosure {
	display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px;
	border: 0; background: none; text-decoration: none; font: 500 1.35rem var(--font-display); text-align: start; padding: 0;
}
.nav-drawer .nav-list a[aria-current="page"] { color: var(--plum); }
.nav-drawer .subnav { list-style: none; margin: 0 0 var(--s3); padding: 0 0 0 var(--s4); }
.nav-drawer .subnav a { font: 600 1rem var(--font-ui); min-height: 44px; }
.nav-drawer__contact { display: grid; gap: var(--s2); margin-top: var(--s6); }
.nav-drawer__contact a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; text-decoration: none; }

/* ==========================================================================
   Breadcrumb and page heads
   ========================================================================== */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 var(--s4); padding: 0; font-size: 0.85rem; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-inline: 8px; color: var(--rule); }
.breadcrumb a { color: inherit; }
.breadcrumb [aria-current="page"] { color: var(--muted); }
.page-head--plum .breadcrumb [aria-current="page"], .visit-hero .breadcrumb [aria-current="page"] { color: #F3DCE6; }
.page-head--plum .breadcrumb li + li::before, .visit-hero .breadcrumb li + li::before { color: #D0B3B8; }

.page-head { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-head--linen { background: var(--linen); }
.page-head--plum { background: var(--plum); color: var(--ivory); --focus: #FCF7FA; --focus-halo: #321528; }
.page-head__title { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: var(--s3); }
.page-head__intro { max-width: 40rem; font-size: 1.1rem; }
.page-head .site-search { max-width: 34rem; margin-top: var(--s5); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--linen); }
.hero__media { position: relative; overflow: hidden; background: var(--linen); }
.hero__media img, .hero__media picture { display: block; width: 100%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__panel { position: relative; z-index: 1; padding: var(--s6) var(--gutter) var(--s7); }
.hero__title { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1; margin-bottom: var(--s4); }
.hero__text { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 34rem; color: var(--muted); margin-bottom: var(--s5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero__image-caption, .hero__action-arrow { display: none; }
.hero__image-caption {
	position: absolute;
	inset-block-start: var(--s4);
	inset-inline-end: var(--s4);
	padding: var(--s1) var(--s2);
	border-radius: var(--radius-s);
	background: rgba(50, 21, 40, .88);
	color: var(--ivory);
	font-size: .6875rem;
	line-height: 1.4;
}

/* Give phones the full image first, with copy and actions anchored to a dark fade. */
@media (max-width: 767px) {
	.hero {
		display: grid;
		align-items: end;
		min-block-size: 550px;
		min-block-size: clamp(450px, calc(100svh - var(--header-h) - 16px), 680px);
		background: var(--espresso);
		color: var(--ivory);
		--focus: var(--ivory);
		--focus-halo: var(--espresso);
	}
	.hero__media { position: absolute; inset: 0; background: var(--espresso); }
	.hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, transparent 28%, rgba(43, 23, 33, .20) 42%, rgba(43, 23, 33, .84) 64%, #2b1721 100%);
	}
	.hero__img { object-position: 55% 50%; }
	.hero__image-caption--mobile { display: block; }
	.hero__panel { padding: clamp(175px, 32svh, 244px) clamp(20px, 6vw, 44px) var(--s6); }
	.hero__panel .eyebrow { display: none; }
	.hero__title { max-inline-size: 14ch; margin-bottom: var(--s2); font-size: clamp(2.85rem, 12.6vw, 4.2rem); line-height: .95; }
	.hero__text { margin-bottom: var(--s4); color: var(--ivory); font-size: .95rem; }
	.hero__actions { gap: var(--s1) clamp(10px, 4vw, 20px); }
	.hero__actions .button { padding: 10px 13px; font-size: .875rem; }
	.hero__actions .button--primary { background: var(--ivory); color: var(--espresso); }
	.hero__actions .button--primary:hover { background: var(--cloud-blush); }
	.hero__actions .button--outline {
		padding-inline: 3px;
		background: transparent;
		border-color: transparent;
		color: var(--ivory);
		text-decoration: underline;
		text-underline-offset: .28em;
	}
	.hero__actions .button--outline:hover { color: var(--cloud-blush); }
	.hero__action-arrow { display: inline-flex; }
	.hero__action-arrow .icon { width: 17px; height: 17px; }
	[dir="rtl"] .hero__action-arrow { transform: scaleX(-1); }
	.hero.hero--no-image { min-block-size: auto; }
}
/* Tablet and desktop: wide crop with the copy on a solid panel over the image's quiet side. */
@media (min-width: 768px) {
	.hero { display: grid; grid-template-columns: minmax(0, 1fr); }
	.hero__image-caption--desktop { display: block; }
	.hero__media { grid-area: 1 / 1; width: 100%; aspect-ratio: 16 / 7; min-height: 480px; max-height: 78vh; }
	.hero__media img { height: 100%; }
	.hero__panel {
		grid-area: 1 / 1; align-self: end; justify-self: start;
		margin: 0 0 clamp(24px, 4vw, 56px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
		width: min(560px, 52%);
		background: var(--ivory); padding: clamp(28px, 3.5vw, 48px);
		border-radius: var(--radius-m);
		box-shadow: 0 24px 60px rgba(35, 31, 32, .18);
	}
	.hero__title { font-size: clamp(2.8rem, 5vw, 4.8rem); }
}
.hero--no-image { background: var(--plum); color: var(--ivory); }
.hero--no-image .hero__panel { margin: 0 auto; width: 100%; max-width: var(--wrap); padding-block: clamp(64px, 10vw, 128px); background: transparent; box-shadow: none; color: var(--ivory); }
.hero--no-image .hero__text { color: #F3DCE6; }
.hero--no-image .eyebrow { color: #E8CBC0; }
.hero--no-image .button.button--primary { background: var(--ivory); color: var(--plum); }
.hero--no-image .button.button--outline { color: var(--ivory); border-color: var(--ivory); }

/* ==========================================================================
   Departments (homepage)
   ========================================================================== */
.dept-grid { display: grid; gap: clamp(12px, 2vw, 24px); }
.dept-card { border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.dept-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.dept-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--linen); }
.illustrative-image-label {
	position: absolute;
	inset-block-start: var(--s3);
	inset-inline-start: var(--s3);
	max-inline-size: calc(100% - 2 * var(--s3));
	z-index: 1;
	padding: var(--s1) var(--s2);
	border-radius: var(--radius-s);
	background: var(--espresso);
	color: var(--ivory);
	font: 600 0.8125rem/1.4 var(--font-ui);
}
.dept-card--plum .dept-card__media { background: var(--plum); }
.dept-card--forest .dept-card__media { background: var(--sandstone); }
.dept-card--clay .dept-card__media { background: var(--clay); }
.dept-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dept-card__link:hover .dept-card__media img { transform: scale(1.03); }
.dept-card__body { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s2); padding: clamp(12px, 2vw, 24px); border-top: 3px solid var(--linen); }
.dept-card--plum .dept-card__body { border-top-color: var(--plum); }
.dept-card--forest .dept-card__body { border-top-color: var(--sandstone); }
.dept-card--clay .dept-card__body { border-top-color: var(--clay); }
.dept-card__title { font: 500 clamp(1.55rem, 3vw, 2.3rem)/1.05 var(--font-display); }
.dept-card__cta { display: inline-flex; color: var(--plum); }
.dept-card__link:hover .dept-card__title { text-decoration: underline; }
.dept-card__cta .icon { width: 18px; height: 18px; }
[dir="rtl"] .dept-card__cta { transform: scaleX(-1); }
@media (min-width: 360px) and (max-width: 899px) {
	.dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dept-card--lead { grid-column: 1 / -1; }
	.dept-card:not(.dept-card--lead) .illustrative-image-label { inset-block-start: var(--s2); inset-inline-start: var(--s2); font-size: .6875rem; }
}
@media (min-width: 900px) { .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   Product grids, cards and rails
   ========================================================================== */
ul.products { list-style: none; margin: 0; padding: 0; }
.product-grid, .wc-page--archive ul.products {
	display: grid; gap: clamp(16px, 2.5vw, 32px);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.product-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
ul.products li.product {
	position: relative; display: flex; flex-direction: column; gap: var(--s2);
	width: auto !important; margin: 0 !important; float: none !important;
}
ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: var(--s2); text-decoration: none; }
ul.products li.product img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); background: var(--linen); margin: 0 0 var(--s2);
}
ul.products li.product .woocommerce-loop-product__title { font: 500 1.6rem/1.1 var(--font-display); margin: 0; }
ul.products li.product .woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title { text-decoration: underline; text-decoration-thickness: 1px; }
ul.products li.product .price { font-weight: 600; color: var(--espresso); }
.card-meta { font-size: 0.875rem; color: var(--muted); margin: 0; }
.price-on-request { font-weight: 600; color: var(--clay-text); }
.price del { color: var(--muted); font-weight: 400; margin-inline-end: 6px; }
.price ins { text-decoration: none; }
ul.products li.product .badge { align-self: flex-start; }

.rail { position: relative; }
.rail__controls { display: flex; align-items: center; gap: var(--s2); justify-content: flex-end; margin-bottom: var(--s3); }
.rail__status { min-width: 4.5em; text-align: center; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rail__btn { border: 1px solid var(--rule); border-radius: 999px; }
.rail__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
	gap: clamp(16px, 2.5vw, 28px); overflow-x: auto; overscroll-behavior-inline: contain;
	scroll-snap-type: inline mandatory; scroll-padding-inline: 2px; padding-bottom: var(--s3);
	scrollbar-width: thin;
}
.rail__track > * { scroll-snap-align: start; }
@media (min-width: 900px) { .rail__track { grid-auto-columns: calc((100% - 3 * 28px) / 4); } }
@media (max-width: 599px) { .rail__track { grid-auto-columns: 78%; } }
.section-head--split .rail__controls { margin-bottom: 0; }

/* ==========================================================================
   Guides band, story, gallery, showroom
   ========================================================================== */
.guides__inner { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .guides__inner { grid-template-columns: 1fr 1.25fr; } }
.guides__intro p:last-child { color: #F3DCE6; max-width: 32rem; }
.guides__list { display: grid; gap: var(--s4); }
@media (min-width: 600px) { .guides__list { grid-template-columns: 1fr 1fr; } }
.guide-card {
	display: flex; flex-direction: column; gap: var(--s3); height: 100%; padding: var(--s5);
	background: var(--plum-deep); border: 1px solid rgba(247, 243, 236, .25); border-radius: var(--radius-m); text-decoration: none;
}
.guide-card:hover { border-color: var(--ivory); }
.guide-card__title { font: 500 1.8rem/1.1 var(--font-display); }
.guide-card__text { color: #F3DCE6; }
.guide-card__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-card__sizes span { padding: 4px 8px; border: 1px dashed rgba(247, 243, 236, .5); border-radius: var(--radius-s); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.guide-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; }
.guide-card:hover .guide-card__cta { text-decoration: underline; }

.story { background: var(--porcelain); }
.story__inner { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .story__inner { grid-template-columns: 1.1fr 1fr; } }
.story__inner--text { max-width: 44rem; }
.story__media { position: relative; margin: 0; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3 / 2; background: var(--oat); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__copy p { font-size: 1.05rem; max-width: 34rem; }
.story__actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.story__actions .text-link { display: inline-flex; align-items: center; min-height: 48px; }

.gallery-band { background: var(--linen); }
.media-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.media-rail { list-style: none; margin: 0; padding: 0; }
.media-tile { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--ivory); }
.media-tile a { display: block; text-decoration: none; }
.media-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media-tile__caption { display: block; padding: var(--s3); font-size: 0.875rem; }

.showroom { border-top: 1px solid var(--line); }
.showroom__inner { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .showroom__inner { grid-template-columns: 1.2fr 1fr auto; align-items: center; } }
.showroom__details { display: grid; gap: var(--s4); margin: 0; }
.showroom__details dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.showroom__details dd { margin: 0; font-weight: 600; }
.showroom__actions { display: flex; flex-direction: column; gap: var(--s3); }

/* ==========================================================================
   Contact and showroom
   ========================================================================== */
.visit-hero {
	background: radial-gradient(ellipse at 78% 112%, var(--plum), transparent 65%), var(--plum-deep);
	padding-block: clamp(26px, 6vw, 80px);
}
.visit-hero__inner { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit-hero__inner--text { max-width: 50rem; }
.visit-hero__copy h1 { max-width: 12ch; font-size: clamp(2.85rem, 6.4vw, 6rem); line-height: .96; }
.visit-hero__copy p { max-width: 34rem; color: var(--ivory); }
.visit-hero__actions { display: flex; align-items: start; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.visit-hero__actions .button { justify-content: center; min-height: 48px; }
.visit-hero__actions .button--primary { background: var(--porcelain); color: var(--plum-deep); }
.visit-hero__actions .button--primary:hover { background: var(--cloud-blush); }
.visit-hero__actions .button--outline:hover { background: var(--porcelain); color: var(--plum-deep); }
.visit-hero__figure { position: relative; margin: 0; }
.visit-hero__figure .illustrative-image-label { inset-inline-start: auto; inset-inline-end: var(--s3); }
.visit-hero__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--plum);
	border-radius: var(--radius-m);
	border-start-start-radius: clamp(32px, 10vw, 150px);
}
.visit-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.visit-details { background: var(--porcelain); }
.visit-details__inner { display: grid; gap: clamp(32px, 6vw, 80px); align-items: start; }
.visit-details__facts { margin: var(--s5) 0; }
.visit-details__facts > div { padding-block: var(--s3); border-bottom: 1px solid var(--sandstone); }
.visit-details__facts dt { color: var(--muted); font-size: .875rem; font-weight: 600; }
.visit-details__facts dd { margin-inline-start: 0; margin-top: var(--s1); }
.visit-details__content { margin: 0; }
.visit-advice { padding: clamp(22px, 4vw, 48px); background: var(--oat); border-block-start: 3px solid var(--action); }
.visit-advice > .icon { width: 28px; height: 28px; color: var(--action-deep); margin-bottom: var(--s4); }
.visit-advice h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.visit-advice .text-link { display: inline-flex; align-items: center; min-height: 48px; }
@media (min-width: 900px) {
	.visit-hero__inner, .visit-details__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.visit-hero__inner--text { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
	.visit-hero__actions .button { flex: 1 1 100%; }
}

/* ==========================================================================
   Department pages
   ========================================================================== */
.dept-hero {
	background: var(--oat) linear-gradient(120deg, var(--porcelain), var(--sandstone));
	color: var(--espresso);
}
.dept-hero__inner { display: grid; gap: var(--s5); align-items: center; padding-block: clamp(32px, 6vw, 72px); }
.dept-hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: var(--s3); }
.dept-hero__intro { font-size: 1.1rem; max-width: 34rem; margin-bottom: 0; }
.dept-hero__enquire { display: inline-flex; align-items: center; min-height: 48px; margin-top: var(--s2); }
.dept-hero__media {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-m);
	border-start-start-radius: clamp(24px, 8vw, 128px);
	background: var(--sandstone);
}
.dept-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.dept-hero__figure .illustrative-image-label { inset-inline-start: auto; inset-inline-end: var(--s3); }
@media (min-width: 900px) {
	.dept-hero__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); }
	.dept-hero--no-image .dept-hero__inner { grid-template-columns: minmax(0, 1fr); }
}

.collection-studies { background: var(--paper); }
.collection-studies__grid { display: grid; gap: var(--s5); margin-top: var(--s5); }
@media (min-width: 760px) { .collection-studies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collection-study { margin: 0; }
.collection-study__image { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius-m); background: var(--linen); }
.collection-study__image img { width: 100%; height: 100%; object-fit: cover; }
.collection-study figcaption { margin-top: var(--s3); font: 500 clamp(1.6rem, 3vw, 2rem)/1.15 var(--font-display); }
#catalogue-title { scroll-margin-block-start: var(--s3); }

.filter-bar {
	display: grid; gap: var(--s4); align-items: end; margin-bottom: var(--s5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	padding: var(--s4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.filter-bar__actions { display: flex; align-items: center; gap: var(--s4); min-height: 48px; }
.result-count { color: var(--muted); font-size: 0.9rem; }
.pagination { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; }
.pagination [aria-current="page"] { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

.empty-state { padding: clamp(24px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.empty-state h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.empty-state--inquiry { display: grid; gap: var(--s6); background: var(--porcelain); }
@media (min-width: 900px) { .empty-state--inquiry { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.link-list { display: grid; gap: var(--s2); margin-top: var(--s4); }
.link-list a { font-weight: 600; }

.inquiry-form {
	display: grid;
	gap: var(--s4);
	padding: clamp(14px, 3vw, 24px);
	background: var(--oat);
	border-radius: var(--radius-m);
	--rule: var(--warm-rule);
}
.inquiry-form__fields { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.inquiry-form .field--wide { grid-column: 1 / -1; }
.inquiry-form .form-note { margin: 0; }

/* ==========================================================================
   Collection finder and size guide
   ========================================================================== */
.finder__layout { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .finder__layout { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.finder-form { display: grid; gap: var(--s6); }
.finder-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder-step legend { display: flex; align-items: center; gap: var(--s3); font: 500 1.7rem/1.15 var(--font-display); margin-bottom: var(--s4); padding: 0; }
.finder-step__num {
	display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none;
	border-radius: 50%; background: var(--plum); color: var(--ivory); font: 600 0.9rem var(--font-ui);
}
.choice-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
	display: flex; align-items: center; min-height: 56px; padding: 12px 16px;
	background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-s); font-weight: 600;
}
.choice input:checked + span { border-color: var(--action); box-shadow: inset 0 0 0 2px var(--action); background: #F5E6EF; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice:hover span { border-color: var(--espresso); }
.finder-form__actions { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.finder-result { min-width: 0; }
.finder-result:focus { outline: none; }
.finder-result__title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.finder-aside { padding: var(--s5); background: var(--oat); border-radius: var(--radius-m); }
.finder-aside h2 { font-size: 1.8rem; }

.size-guide__layout { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .size-guide__layout { grid-template-columns: 1fr 1.6fr; } }
.measure-steps { margin: 0; padding-inline-start: 1.2em; display: grid; gap: var(--s4); font-size: 1.05rem; }
.measure-steps strong { display: block; font: 500 1.5rem var(--font-display); }
.size-list { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.size-item {
	display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: var(--s2) var(--s4);
	padding: var(--s4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.size-item__shape {
	grid-row: span 2; justify-self: center;
	width: calc(56px * var(--w)); height: calc(64px * var(--l));
	border: 2px solid var(--plum); border-radius: 3px; background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(90, 50, 65, .12) 7px 8px);
}
.size-item__name { font: 500 1.6rem/1 var(--font-display); }
.size-item__dims { font-weight: 600; font-variant-numeric: tabular-nums; }
.size-item .text-link { grid-column: 2 / -1; font-size: 0.9rem; }
@media (max-width: 499px) { .size-item { grid-template-columns: 56px 1fr; } .size-item__dims { grid-column: 2; } }

/* ==========================================================================
   WooCommerce pages
   ========================================================================== */
.wc-page { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 8vw, 96px); }
.woocommerce-products-header__title { font-size: clamp(2.4rem, 5vw, 4rem); }
.woocommerce-result-count { color: var(--muted); font-size: 0.9rem; }
.woocommerce-ordering { margin-bottom: var(--s5); max-width: 280px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none; margin: 0 0 var(--s5); padding: var(--s4) var(--s5);
	background: var(--paper); border: 1px solid var(--line); border-inline-start: 4px solid var(--action); border-radius: var(--radius-s);
}
.woocommerce-error { border-inline-start-color: #B3261E; }
.woocommerce-info { border-inline-start-color: var(--plum); }
nav.woocommerce-pagination ul { display: flex; gap: var(--s2); list-style: none; padding: 0; margin: var(--s6) 0 0; }
nav.woocommerce-pagination a, nav.woocommerce-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; }
nav.woocommerce-pagination .current { background: var(--espresso); color: var(--ivory); }

/* Single product */
.wc-page--product div.product {
	display: grid; gap: clamp(24px, 4vw, 64px); align-items: start;
}
@media (min-width: 1000px) {
	.wc-page--product div.product { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
	.wc-page--product div.product .summary { position: sticky; top: calc(var(--header-h) + 24px); }
	.wc-page--product div.product > .woocommerce-tabs,
	.wc-page--product div.product > .related,
	.wc-page--product div.product > .upsells { grid-column: 1 / -1; }
}
.wc-page--product .summary { min-width: 0; }
.wc-page--product .product_title { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: var(--s3); }
.wc-page--product .summary > .price { font-size: 1.25rem; font-weight: 600; margin-bottom: var(--s4); }
.woocommerce-product-details__short-description { color: var(--muted); }
.spec-list { display: grid; gap: 0; margin: var(--s4) 0 var(--s5); border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: var(--s4); padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; }

form.cart { margin-block: var(--s5); }
table.variations { width: 100%; border-collapse: collapse; margin-bottom: var(--s2); }
table.variations tr { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
table.variations th, table.variations td { padding: 0; text-align: start; }
table.variations th label { font-size: 0.95rem; }
.reset_variations { display: inline-block; margin-top: var(--s2); font-size: 0.875rem; }
.size-guide-link { margin: 0 0 var(--s4); }
.size-guide-link a { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; min-height: 44px; }
.single_variation_wrap .woocommerce-variation-price { font-size: 1.2rem; font-weight: 600; margin-bottom: var(--s3); }
.woocommerce-variation-availability p, .stock { font-weight: 600; color: var(--action); }
.stock.out-of-stock { color: var(--clay-text); }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: stretch; }
.woocommerce-variation-add-to-cart .inquiry-panel { flex: 1 1 100%; }
form.cart .quantity input { width: 88px; text-align: center; }
form.cart .single_add_to_cart_button { flex: 1; }
.inquiry-panel { display: grid; gap: var(--s2); margin-block: var(--s4); }
.inquiry-panel .form-note { margin: 0; }
.inquiry-panel__message {
	margin: 0; padding: var(--s3) var(--s4); border-radius: var(--radius-s);
	background: #F2DFE8; color: #6C244F; font-weight: 600;
}
.decision-notes { display: grid; gap: var(--s4); margin-block: var(--s5); padding: var(--s5); background: var(--linen); border-radius: var(--radius-m); }
.decision-notes h2 { font: 600 0.75rem var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.decision-notes p { margin: 0; }
@media (min-width: 600px) { .decision-notes { grid-template-columns: 1fr 1fr; } }
.product_meta { font-size: 0.875rem; color: var(--muted); display: grid; gap: 4px; }

/* Product gallery */
.product-gallery { min-width: 0; }
.product-gallery__stage { position: relative; }
.product-gallery__track {
	display: flex; list-style: none; margin: 0; padding: 0;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain;
	scrollbar-width: none; border-radius: var(--radius-m); background: var(--linen);
}
.product-gallery__track::-webkit-scrollbar { display: none; }
.product-gallery__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; }
.product-gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.product-gallery__img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__zoom-icon {
	position: absolute; inset-block-end: var(--s3); inset-inline-end: var(--s3);
	display: inline-flex; padding: 8px; border-radius: 999px; background: rgba(247, 243, 236, .9);
}
.product-gallery__controls {
	display: flex; align-items: center; justify-content: center; gap: var(--s3); margin-top: var(--s3);
}
.product-gallery__controls .icon-button { border: 1px solid var(--rule); border-radius: 999px; }
.product-gallery__status { font-variant-numeric: tabular-nums; font-size: 0.9rem; color: var(--muted); min-width: 4em; text-align: center; }
.product-gallery__thumbs { display: none; list-style: none; margin: var(--s3) 0 0; padding: 0; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.product-gallery__thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); background: none; overflow: hidden; }
.product-gallery__thumbs button[aria-current="true"] { border-color: var(--espresso); }
.product-gallery__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 1000px) {
	.product-gallery__thumbs { display: grid; }
	.product-gallery__controls { position: absolute; inset-block-start: var(--s3); inset-inline-end: var(--s3); margin: 0; background: rgba(247, 243, 236, .92); padding: 4px; border-radius: 999px; }
}
.product-gallery__placeholder { background: var(--linen); border-radius: var(--radius-m); padding: var(--s5); text-align: center; color: var(--muted); }
.product-gallery__placeholder img { margin: 0 auto var(--s3); max-width: 320px; }

.zoom-dialog {
	width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: #14110F; color: var(--ivory); --focus: #FCF7FA; --focus-halo: #321528;
}
.zoom-dialog::backdrop { background: #14110F; }
.zoom-dialog__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--s2) var(--s4); }
.zoom-dialog__stage { height: calc(100dvh - 140px); overflow: auto; display: flex; align-items: center; justify-content: center; }
.zoom-dialog__stage img { max-width: none; width: auto; max-height: 100%; }
.zoom-dialog__nav { display: flex; justify-content: center; gap: var(--s4); padding: var(--s3); }
.zoom-dialog .icon-button:hover { background: rgba(255, 255, 255, .1); }

/* Tabs, related */
.woocommerce-tabs { border-top: 1px solid var(--line); padding-top: var(--s6); }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0 0 var(--s5); padding: 0; }
.woocommerce-tabs ul.tabs li a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-weight: 600; }
.woocommerce-tabs ul.tabs li.active a { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.woocommerce-Tabs-panel { max-width: 46rem; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
table.shop_attributes { width: 100%; border-collapse: collapse; }
table.shop_attributes th, table.shop_attributes td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
table.shop_attributes td p { margin: 0; }
.related > h2, .upsells > h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-top: var(--s6); }
.related ul.products, .upsells ul.products { display: grid; gap: clamp(16px, 2.5vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* Cart, checkout, account (purchase mode) */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.woocommerce table.shop_table img { width: 72px; border-radius: var(--radius-s); }
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 4px; margin: 0 0 var(--s4); }
.woocommerce form .form-row .required { color: var(--clay-text); text-decoration: none; }
.woocommerce-checkout #customer_details, .cart-collaterals { margin-bottom: var(--s6); }
#payment { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--s5); }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; }
.woocommerce form.login, .woocommerce form.register { max-width: 420px; }

/* ==========================================================================
   Posts, footer
   ========================================================================== */
.post-summary { padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.post-summary h2 { font-size: 1.8rem; margin-bottom: var(--s2); }

.site-footer { padding-block: clamp(48px, 7vw, 80px) var(--s5); }
.site-footer__grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.site-footer__name { font: 500 2rem/1 var(--font-display); margin-bottom: var(--s3); }
.site-footer__brand p:last-child { color: #E1CDD9; max-width: 22rem; }
.site-footer h2 { font: 600 0.75rem var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: #E1CDD9; margin-bottom: var(--s3); }
.site-footer ul { display: grid; gap: 2px; }
.site-footer a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.contact-list__address, .contact-list__hours { display: flex; gap: var(--s2); padding-block: 8px; color: #F3DCE6; }
.contact-list__address a { min-height: 32px; text-decoration: underline; }
.site-footer__base { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid rgba(247, 243, 236, .18); font-size: 0.85rem; color: #E1CDD9; }
.site-footer__base p { margin: 0; }

/* ==========================================================================
   Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.dept-card__link:hover .dept-card__media img { transform: none; }
}

/* Gemini design pass: editorial hero, contact strip, and in-place product sizing. */
@media (min-width: 1024px) {
	.hero__media {
		aspect-ratio: auto;
		height: clamp(560px, 82vh, 760px);
		max-height: none;
	}
	.hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, rgba(50, 21, 40, .96) 0%, rgba(50, 21, 40, .88) 49%, rgba(50, 21, 40, 0) 86%);
	}
	.hero--campaign .hero__media::after { background: linear-gradient(90deg, rgba(50, 21, 40, .73), rgba(50, 21, 40, .62) 38%, transparent 66%); }
	[dir="rtl"] .hero__media::after { transform: scaleX(-1); }
	.hero:not(.hero--no-image) .hero__panel {
		margin: 0;
		width: 100%;
		max-width: 39rem;
		padding: 0 var(--gutter) clamp(36px, 7vh, 80px);
		margin-inline-start: max(0px, calc((100% - var(--wrap)) / 2));
		background: transparent;
		box-shadow: none;
		color: var(--ivory);
	}
	.hero:not(.hero--no-image) .hero__title { font-size: clamp(3rem, 4.5vw, 4rem); }
	.hero:not(.hero--no-image) :is(.hero__text, .eyebrow) { color: var(--ivory); }
	.hero:not(.hero--no-image) .hero__actions .button--outline {
		color: var(--ivory);
		border-color: var(--ivory);
		background: rgba(35, 31, 32, .65);
	}
	.hero:not(.hero--no-image) .hero__actions .button--outline:hover {
		color: var(--espresso);
		background: var(--ivory);
	}
	.hero:focus-within :focus-visible { outline-color: var(--espresso); box-shadow: 0 0 0 5px var(--ivory); }
}
.hero__media picture { height: 100%; }
.trust-strip { background: var(--ivory); border-block-end: 1px solid var(--line); }
.trust-strip__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--s4);
	list-style: none;
	margin-block: 0;
	padding-block: var(--s3);
}
.trust-strip__list li > :is(a, div) {
	display: flex;
	align-items: center;
	gap: var(--s3);
	min-height: 64px;
	padding-block: var(--s2);
	text-decoration: none;
}
.trust-strip__list a:hover strong { text-decoration: underline; }
.trust-strip__list svg { flex: 0 0 1.25rem; width: 1.25rem; color: var(--action); }
.trust-strip__list small { display: block; color: var(--muted); }
@media (min-width: 900px) {
	.trust-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.size-guide-link a { min-height: 48px; }
.size-dialog {
	width: min(34rem, calc(100% - 2rem));
	max-height: calc(100dvh - 2rem);
	padding: clamp(16px, 4vw, 32px);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--paper);
	color: var(--espresso);
}
.size-dialog::backdrop { background: rgba(35, 31, 32, .65); }
.size-dialog__head, .size-dialog__sizes div { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.size-dialog__head h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.size-dialog__head .icon-button { min-width: 48px; min-height: 48px; }
.size-dialog__sizes div { border-top: 1px solid var(--line); padding-block: var(--s3); }
.size-dialog__sizes dd { margin: 0; font-variant-numeric: tabular-nums; }
.woocommerce-Price-amount, .size-item__dims { font-variant-numeric: tabular-nums; }

/* Brand lockup and campaign gallery. */
.site-header { background-color: var(--paper); }
.innovation {
	background: radial-gradient(ellipse at 90% 0%, var(--dusk), transparent 65%), var(--espresso);
	color: var(--ivory);
	--focus: #FCF7FA;
	--focus-halo: #321528;
}
.innovation .section-head p { color: var(--cloud-blush); }
.innovation__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.innovation__card { margin: 0; overflow: hidden; border: 1px solid var(--mauve); border-radius: var(--radius-m); background: var(--plum); }
.innovation__card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.innovation__card figcaption { padding: var(--s4); }
.innovation__card h3 { margin: 0; font-size: 1.1rem; }
.innovation__card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cloud-blush); font-size: .875rem; }
@media (max-width: 719px) {
	.innovation__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Catalogue navigation and narrow-screen refinements. */
.topline__short { display: none; }
.topline__contact a { white-space: nowrap; }
#innovation, #finder-questions { scroll-margin-block-start: 24px; }
.dept-hero__figure { position: relative; min-width: 0; margin: 0; }
.innovation__source { margin-inline-start: var(--s3); }
@media (max-width: 359px) {
	.topline__number { display: none; }
	.topline__short { display: inline; }
}
/* Give separated mobile controls a full touch area without enlarging their labels. */
@media (max-width: 1023px) {
	.topline__contact a,
	.site-header :is(.icon-button, .brand, a.header-contact),
	.nav-drawer :is(.icon-button, .subnav a, .nav-drawer__contact a),
	.site-footer__col a {
		min-width: 48px;
		min-height: 48px;
	}
	.breadcrumb a,
	.finder-result .text-link,
	.finder-form__actions .text-link,
	.innovation__card a {
		display: inline-flex;
		align-items: center;
		min-width: 48px;
		min-height: 48px;
	}
}

/* v2.2.2 — shared editorial hero, distinct existing collection photography. */
.dept-hero--editorial {
    position: relative; isolation: isolate; overflow: hidden;
    background: radial-gradient(ellipse at 20% 8%, #fff9ef 0%, transparent 70%), linear-gradient(115deg,#f8ebdc,#ead4bf 65%,#c8a492);
}
.dept-hero--editorial .dept-hero__inner { position: relative; max-width: 1680px; gap: 0; padding-block: 0; }
.dept-hero--editorial .dept-hero__copy { position: relative; z-index: 2; min-width: 0; padding-block: clamp(32px,5vw,75px); }
.dept-hero--editorial .eyebrow { color: var(--action-deep); letter-spacing: .17em; }
.dept-hero--editorial .dept-hero__title { font-size: clamp(3rem,5.2vw,5.6rem); line-height: .98; text-wrap: initial; margin: 0 0 22px; }
.dept-hero--editorial .dept-hero__title em { display: block; color: var(--action-deep); font-weight: 500; }
.dept-hero--editorial .dept-hero__intro { font-size: clamp(1rem,1.4vw,1.2rem); max-width: 31rem; line-height: 1.6; }
.dept-hero__features { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 28px !important; }
.dept-hero__features li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; line-height: 1.3; }
.dept-hero__features li + li { border-inline-start: 1px solid #b89491; padding-inline-start: 18px; }
.dept-hero__features svg { width: 28px; height: 28px; flex: 0 0 28px; color: var(--action-deep); }
.dept-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dept-hero__actions .button { min-height: 50px; }
.dept-hero__actions .button--primary { background: var(--action-deep); }
.dept-hero__actions .button--primary:hover { background: var(--plum); }
.dept-hero--editorial .dept-hero__media { border-radius: 0; border-start-start-radius: clamp(60px,12vw,180px); background: #70203f; }
.dept-hero--editorial .dept-hero__figure { isolation: isolate; }
.dept-hero--editorial .dept-hero__media img { object-position: center; }
.dept-hero--editorial .dept-hero__figure .illustrative-image-label { z-index: 3; }
@media (min-width: 900px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0,1.18fr); min-height: clamp(500px,42vw,680px); }
    .dept-hero--editorial .dept-hero__copy { padding-inline-end: clamp(12px,2vw,32px); padding-block-end: clamp(64px,7vw,105px); }
    .dept-hero--editorial .dept-hero__figure { align-self: stretch; margin-inline-end: calc(-1 * var(--gutter)); }
    .dept-hero--editorial .dept-hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
    .dept-hero--editorial .dept-hero__media img { object-fit: cover; }
    .dept-hero--editorial .dept-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(245,225,207,.22), transparent 17%); }
    .dept-hero--editorial:not(.dept-hero--no-image)::after { content: ""; position: absolute; z-index: 1; pointer-events: none; inset-inline: -4%; bottom: -42px; height: clamp(90px,10vw,160px); background: radial-gradient(ellipse at 30% 112%,#58112f 0%,#8d1e50 24%,#b34f74 37%,#e9b7bb 46%,transparent 47%), radial-gradient(ellipse at 91% 150%,#6d173c 0%,#a62e62 37%,#e1a1b0 48%,transparent 49%); }
}
@media (max-width: 899px) {
    .dept-hero--editorial .dept-hero__copy { padding-block: 30px; }
    .dept-hero--editorial .dept-hero__figure { margin-inline: calc(-1 * var(--gutter)); }
    .dept-hero--editorial .dept-hero__media { aspect-ratio: 3/2; border-start-start-radius: 72px; }
    .dept-hero--editorial .dept-hero__title { font-size: clamp(3rem,8vw,4.8rem); }
}
@media (max-width: 479px) {
    .dept-hero__features { gap: 10px; }
    .dept-hero__features li { font-size: .78rem; gap: 4px; }
    .dept-hero__features li + li { padding-inline-start: 10px; }
    .dept-hero__features svg { width: 22px; height: 22px; flex-basis: 22px; }
    .dept-hero__actions .button { flex: 1 1 100%; }
}

/* v2.2.3 — approved campaign media, edge-to-edge photographic treatment. */
.dept-hero--editorial .dept-hero__media { border-radius: 0; background: #ead4bf; }
.dept-hero--editorial:not(.dept-hero--no-image)::after { display: none; }
.dept-hero--bedding .dept-hero__media img { object-position: 62% center; }
.dept-hero--furniture .dept-hero__media img { object-position: 30% center; }
@media (min-width: 900px) {
    .dept-hero--editorial .dept-hero__media::after {
        background: linear-gradient(to right, #f5e5d5 0%, rgba(245,229,213,.60) 4%, transparent 19%);
    }
    [dir="rtl"] .dept-hero--editorial .dept-hero__media::after {
        background: linear-gradient(to left, #f5e5d5 0%, rgba(245,229,213,.60) 4%, transparent 19%);
    }
}
@media (max-width: 899px) {
    .dept-hero--bedding .dept-hero__media, .dept-hero--furniture .dept-hero__media { aspect-ratio: 2/1; }
}

/* v2.2.4 — one uninterrupted photographic canvas with HTML overlay. */
body:has(.dept-hero--editorial) .site-header { position: relative; top: auto; }
.dept-hero--editorial { background: #f8e9da; }
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
    display: flex; flex-direction: column; justify-content: center; align-items: stretch;
    position: static; max-width: 1680px; min-height: 0;
}
.dept-hero--editorial .dept-hero__figure {
    position: absolute; inset: 0; margin: 0; z-index: -1; isolation: auto;
}
.dept-hero--editorial .dept-hero__media {
    position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; overflow: hidden;
    background: #f8e9da;
}
.dept-hero--editorial .dept-hero__media img {
    display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center;
}
.dept-hero--editorial .dept-hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, #f9ecdf 0%, rgba(249,236,223,.98) 19%, rgba(249,236,223,.91) 32%, rgba(249,236,223,.58) 43%, rgba(249,236,223,.13) 55%, transparent 64%);
}
.dept-hero--editorial .dept-hero__copy {
    width: min(44%, 600px); z-index: 2; padding: clamp(35px,4.5vw,76px) 0;
}
.dept-hero--editorial .dept-hero__title {
    font-size: clamp(3.2rem,5.4vw,5.9rem); line-height: 1.01;
}
.dept-hero--editorial .dept-hero__actions { margin-top: 24px; }
.dept-hero--editorial .dept-hero__actions .button { border-radius: 999px; }
.dept-hero--editorial .dept-hero__features { gap: 14px; }
.dept-hero--editorial .dept-hero__figure .illustrative-image-label { inset-block-start: 16px; inset-inline-end: var(--gutter); }
.dept-hero--editorial.dept-hero--no-image .dept-hero__copy { width: 100%; }
@media (min-width: 900px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
        min-height: clamp(560px,45vw,760px);
    }
    .dept-hero--editorial .dept-hero__copy { padding-inline-end: 12px; }
    .dept-hero--editorial .dept-hero__intro { max-width: 30rem; }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .dept-hero--editorial .dept-hero__copy { width: 49%; }
    .dept-hero--editorial .dept-hero__media::after { background: linear-gradient(90deg,#f9ecdf 0%,rgba(249,236,223,.97) 29%,rgba(249,236,223,.79) 43%,rgba(249,236,223,.24) 58%,transparent 72%); }
}
@media (max-width: 899px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner { justify-content: flex-start; padding-bottom: clamp(190px,52vw,430px); }
    .dept-hero--editorial .dept-hero__copy { width: min(100%, 590px); padding-block: 26px 8px; }
    .dept-hero--editorial .dept-hero__title { font-size: clamp(3rem,8vw,4.8rem); }
    .dept-hero--editorial .dept-hero__media img { position: absolute; bottom: 0; height: clamp(290px,65vw,540px); object-position: right bottom; }
    .dept-hero--editorial .dept-hero__media::after { background: linear-gradient(180deg,#f8e9da 0%,#f8e9da calc(100% - clamp(280px,63vw,520px)),rgba(248,233,218,.94) calc(100% - clamp(235px,54vw,450px)),rgba(248,233,218,.15) calc(100% - clamp(155px,36vw,310px)),transparent calc(100% - clamp(95px,22vw,190px))); }
    .dept-hero--editorial .dept-hero__figure .illustrative-image-label { inset-block-start: auto; inset-block-end: 12px; inset-inline-end: 12px; }
    .dept-hero--editorial .dept-hero__actions .button { min-height: 48px; }
}
@media (max-width: 479px) {
    .dept-hero--editorial .dept-hero__features { gap: 10px; }
    .dept-hero--editorial .dept-hero__actions .button { flex: 1 1 auto; padding-inline: 16px; }
}

[dir="rtl"] .dept-hero--editorial .dept-hero__media::after {
    background: linear-gradient(270deg,#f9ecdf 0%,rgba(249,236,223,.96) 30%,rgba(249,236,223,.55) 48%,transparent 70%);
}
[dir="rtl"] .dept-hero--editorial .dept-hero__media img { object-position: left center; }
@media (max-width:899px) {
    [dir="rtl"] .dept-hero--editorial .dept-hero__media::after {
        background: linear-gradient(180deg,#f8e9da 0%,#f8e9da calc(100% - clamp(280px,63vw,520px)),transparent calc(100% - clamp(95px,22vw,190px)));
    }
}

/* v2.2.5 — three distinct homepage chapters. */
.home .trust-strip {
    background: #fff; border: 0; padding-block: clamp(28px,4vw,60px);
}
.home .trust-strip__panel {
    padding: clamp(22px,3.2vw,44px); border: 1px solid #e7d9d0;
    border-radius: 36px 8px 36px 8px;
    background: linear-gradient(120deg,#fffdf9,#f7efe5);
    box-shadow: 0 12px 34px rgba(50,21,40,.045);
}
.home .trust-strip__head { margin-bottom: 18px; }
.home .trust-strip__head .eyebrow { color: var(--action-deep); margin-bottom: 6px; }
.home .trust-strip__head .section-title { margin: 0; font-size: clamp(1.9rem,3.1vw,2.8rem); }
.home .trust-strip__list { padding: 0; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.home .trust-strip__list li { min-width: 0; }
.home .trust-strip__list li > :is(a,div) {
    padding: 14px; gap: 12px; min-height: 82px; height: 100%;
    border: 1px solid #e7d9d0; border-radius: 14px;
    background: rgba(255,255,255,.75);
}
.home .trust-strip__list li a:hover { border-color: var(--action-deep); background: #fff; }
.home .trust-strip__list svg { flex-basis: 24px; width: 24px; height: 24px; color: var(--action-deep); }
.home .trust-strip__list span { min-width: 0; overflow-wrap: anywhere; }
.home .trust-strip__list strong { display: block; line-height: 1.35; font-size: .92rem; }
.home .trust-strip__list small { margin-top: 4px; font-size: .78rem; line-height: 1.5; }
@media(min-width:1100px) { .home .trust-strip__list { grid-template-columns: repeat(4,minmax(0,1fr)); } }

/* Guides: a light, standalone editorial chapter with a signature curved edge. */
.home .guides {
    position: relative; isolation: isolate; overflow: hidden;
    margin-block: 12px clamp(34px,5vw,72px);
    padding-block: clamp(48px,6.5vw,88px);
    background: linear-gradient(115deg,#f7eee2 8%,#ead6c1 100%);
    color: var(--espresso);
    border-start-end-radius: clamp(44px,9vw,140px);
    --focus: #321528; --focus-halo: #fcf7fa;
}
.home .guides::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: clamp(220px,40vw,600px); aspect-ratio: 1;
    border: 1px solid rgba(131,16,79,.16); border-radius: 50%;
    inset-inline-end: -8%; inset-block-start: -50%;
    box-shadow: 0 0 0 22px rgba(255,255,255,.14),0 0 0 44px rgba(255,255,255,.10);
}
.home .guides .eyebrow { color: var(--action-deep); }
.home .guides .guides__intro p:last-child { color: #55404a; }
.home .guides .guide-card {
    background: rgba(255,253,249,.90); color: var(--espresso);
    border: 1px solid #cbb5a5; border-radius: 24px 6px 24px 6px;
    min-width: 0; box-shadow: 0 10px 28px rgba(50,21,40,.05);
}
.home .guides .guide-card:hover { border-color: var(--action-deep); }
.home .guides .guide-card__text { color: #55404a; }
.home .guides .guide-card__sizes span { border-color: #927765; }
.home .guides .guide-card__cta { color: var(--action-deep); }
.home .guides .guide-card__title { font-size: clamp(1.65rem,2.5vw,2rem); }

/* Innovative Sleep: a gallery entrance, not a continuation of the guide band. */
.home .innovation {
    position: relative; isolation: isolate;
    border-start-start-radius: clamp(50px,10vw,150px);
    background: radial-gradient(ellipse at 90% 0%,#403b5e 0%,transparent 62%),linear-gradient(145deg,#321528,#21192e);
    padding-block: clamp(48px,7vw,96px);
    margin-block-end: clamp(28px,4vw,54px);
}
.home .innovation .section-head { position: relative; padding-inline-start: 22px; }
.home .innovation .section-head::before {
    content: ""; position: absolute; inset-inline-start: 0; inset-block: 4px;
    width: 2px; border-radius: 2px; background: #c996b5;
}
.home .innovation .section-head .eyebrow { color: #edc1da; margin-bottom: 12px; }
.home .innovation .section-head .section-title { margin-bottom: 12px; }
.home .innovation__card { border-radius: 22px 6px 22px 6px; background: #321528; border-color: #91758e; }
.home .innovation__card figcaption { padding: clamp(16px,2vw,24px); }
.home .innovation__card img { background: #291c32; }
@media(max-width:719px) {
    .home .trust-strip { padding-block: 26px 32px; }
    .home .trust-strip__panel { padding: 18px; border-radius: 26px 6px 26px 6px; }
    .home .trust-strip__head { margin-bottom: 15px; }
    .home .trust-strip__list { grid-template-columns: minmax(0,1fr); gap: 8px; }
    .home .trust-strip__list li > :is(a,div) { min-height: 68px; padding: 12px 14px; }
    .home .trust-strip__list strong { font-size: .95rem; }
    .home .trust-strip__list small { font-size: .82rem; }
    .home .guides { margin-block: 8px 36px; padding-block: 42px 38px; border-start-end-radius: 54px; }
    .home .guides__inner { gap: 18px; }
    .home .guides .guides__intro p:last-child { margin-bottom: 0; }
    .home .guides__list { gap: 12px; }
    .home .guides .guide-card { padding: 20px; gap: 10px; }
    .home .innovation { border-start-start-radius: 54px; padding-block: 45px 36px; }
    .home .innovation .section-head { padding-inline-start: 16px; }
    .home .innovation__grid { gap: 20px; }
}


/* v2.2.6 — mobile homepage, centered editorial composition. */
@media (max-width:767px) {
    .home .hero:not(.hero--no-image) {
        display: grid; grid-template-columns: minmax(0,1fr);
        grid-template-rows: minmax(0,1fr) auto minmax(0,1.25fr);
        align-items: center;
        min-block-size: clamp(460px,calc(100svh - var(--header-h) - 24px),630px);
        isolation: isolate;
    }
    .home .hero:not(.hero--no-image) .hero__media { z-index: 0; }
    .home .hero:not(.hero--no-image) .hero__img { object-position: 56% 60%; }
    .home .hero:not(.hero--no-image) .hero__media::after {
        background: linear-gradient(180deg,
            rgba(50,15,34,.05) 0%,
            rgba(50,15,34,.28) 15%,
            rgba(43,15,32,.77) 31%,
            rgba(43,15,32,.88) 49%,
            rgba(43,15,32,.73) 64%,
            rgba(43,15,32,.23) 82%,
            rgba(43,15,32,.07) 100%);
        pointer-events: none;
    }
    .home .hero:not(.hero--no-image) .hero__panel {
        grid-row: 2; grid-column: 1; align-self: center; justify-self: center;
        width: 100%; max-width: 35rem; margin: 0;
        padding: 14px clamp(16px,5.2vw,36px) 16px;
        text-align: center; color: var(--ivory);
    }
    .home .hero:not(.hero--no-image) .hero__panel::before {
        content: ""; display: block; width: 76px; height: 8px; margin: 0 auto 15px;
        border-top: 2px solid #e0b997; border-radius: 50%;
        transform: rotate(-3deg);
    }
    .home .hero:not(.hero--no-image) .hero__title {
        max-inline-size: none; margin: 0 auto 12px;
        font-size: clamp(2.5rem,10.4vw,4rem); line-height: 1.02;
        text-wrap: balance; text-shadow: 0 2px 14px rgba(30,9,20,.25);
    }
    .home .hero__title-accent { display: block; font-style: italic; }
    .home .hero:not(.hero--no-image) .hero__text {
        margin: 0 auto 18px; font-size: clamp(.92rem,3.8vw,1.07rem); line-height: 1.5;
        color: #fff9f4; text-wrap: balance;
    }
    .home .hero:not(.hero--no-image) .hero__actions {
        justify-content: center; align-items: center; gap: 8px 14px;
    }
    .home .hero:not(.hero--no-image) .hero__actions .button { min-height: 48px; }
    .home .hero:not(.hero--no-image) .hero__actions .button--primary {
        border-radius: 999px; padding-inline: 18px; color: #500d31; background: #fff9f4;
    }
    .home .hero:not(.hero--no-image) .hero__actions .button--primary:hover { background: #ead0c4; }
    .home .hero:not(.hero--no-image) .hero__actions .button--outline {
        border: 1px solid rgba(255,249,244,.88); border-radius: 999px;
        padding-inline: 17px; text-decoration: none; background: rgba(50,15,34,.34);
    }
    .home .hero:not(.hero--no-image) .hero__actions .button--outline:hover { background: #fff9f4; color: #500d31; }
}
@media(max-width:359px) {
    .home .hero:not(.hero--no-image) .hero__actions { gap: 6px; }
    .home .hero:not(.hero--no-image) .hero__actions .button { font-size: .8rem; padding-inline: 12px; }
}


/* v2.2.7 — Instagram journal carousel. */
.instagram-section { background: #faf6ef; border-block: 1px solid #e7d9d0; }
.instagram-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 18px; }
.instagram-heading .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--action-deep); }
.instagram-heading .section-title { margin-bottom: 8px; }
.instagram-heading p:last-child { margin: 0; color: #55404a; }
.instagram-follow { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--action-deep); text-decoration: none; font-weight: 600; }
.instagram-follow:hover { text-decoration: underline; }
.instagram-controls { margin-bottom: 10px; }
.instagram-controls .rail__btn { min-width: 44px; min-height: 44px; background: #fffdf9; border-color: #d8c5ba; color: var(--plum); }
.instagram-controls .rail__btn:disabled { opacity: .42; cursor: default; }
.instagram-track { grid-auto-columns: calc((100% - 32px) / 2.35); gap: 16px; padding: 3px 3px 14px; align-items: stretch; }
.instagram-card { min-width: 0; overflow: hidden; border: 1px solid #e4d5ca; border-radius: 24px 7px 24px 7px; background: #fffdf9; }
.instagram-post, .instagram-profile { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.instagram-post:focus-visible, .instagram-profile:focus-visible { outline-offset: -4px; }
.instagram-card__image { position: relative; aspect-ratio: 1; overflow: hidden; background: #efe3d7; }
.instagram-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.instagram-card__mark { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; display: grid; place-items: center; border-radius: 50%; width: 38px; height: 38px; color: #fff; background: #321528; }
.instagram-card__caption { display: grid; gap: 8px; padding: 17px; }
.instagram-card__title { font: 500 clamp(1.2rem,2.4vw,1.6rem)/1.15 var(--font-display); color: var(--espresso); overflow-wrap: anywhere; }
.instagram-card__action { display: inline-flex; align-items: center; gap: 6px; color: var(--action-deep); font-size: .9rem; font-weight: 600; }
.instagram-post:hover .instagram-card__action { text-decoration: underline; }
.instagram-card--profile { background: linear-gradient(145deg,#321528,#64153e); color: #fff9f4; border-color: transparent; }
.instagram-profile { justify-content: center; align-items: center; gap: 16px; text-align: center; padding: 24px; }
.instagram-profile__icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid #d5b9c9; display: grid; place-items: center; }
.instagram-profile__icon svg { width: 34px; height: 34px; }
.instagram-profile__title { font: 500 clamp(1.7rem,3vw,2.7rem)/1.15 var(--font-display); }
.instagram-profile .instagram-card__action { color: #fff9f4; text-decoration: underline; text-underline-offset: .2em; }
.instagram-dialog { width: min(460px,calc(100% - 28px)); max-height: 92dvh; margin: auto; padding: 0; border: 1px solid #cbb5a5; border-radius: 22px; background: #fffaf4; color: var(--espresso); overflow-y: auto; overscroll-behavior: contain; }
.instagram-dialog::backdrop { background: rgba(32,11,23,.75); }
.instagram-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 8px 18px; }
.instagram-dialog__bar > span { display: flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 600; overflow-wrap: anywhere; }
.instagram-dialog__bar .icon-button { width: 44px; height: 44px; flex: 0 0 44px; }
.instagram-dialog > img { display: block; width: 100%; max-height: 53dvh; height: auto; aspect-ratio: 1; object-fit: contain; background: #321528; }
.instagram-dialog__content { padding: 18px; }
.instagram-dialog__content h3 { font: 500 1.65rem/1.15 var(--font-display); margin-bottom: 14px; }
.instagram-dialog__content .eyebrow { margin-bottom: 8px; }
.instagram-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.instagram-dialog__actions .button { flex: 1 1 auto; min-height: 48px; padding-inline: 12px; border-radius: 999px; }
@media(max-width:719px) {
    .instagram-heading { align-items: start; }
    .instagram-track { grid-auto-columns: 79%; gap: 12px; }
    .instagram-card__caption { padding: 14px; }
    .instagram-profile { padding: 18px; }
}
@media(max-width:359px) { .instagram-dialog__actions .button { flex-basis: 100%; } }


/* v2.2.9 — smartphone hero: product-first framing, compact vertical rhythm. */
@media (max-width:767px) {
    .home .hero:not(.hero--no-image) {
        min-block-size: clamp(400px,116vw,560px);
        grid-template-rows: minmax(24px,1fr) auto minmax(24px,1fr);
    }
    .home .hero:not(.hero--no-image) .hero__media,
    .home .hero:not(.hero--no-image) .hero__media picture {
        width: 100%; height: 100%;
    }
    .home .hero:not(.hero--no-image) .hero__img {
        display: block; width: 100%; height: 100%;
        object-fit: cover; object-position: center bottom;
    }
    .home .hero:not(.hero--no-image) .hero__media::after {
        background: linear-gradient(180deg,
            rgba(44,13,30,0) 0%,
            rgba(44,13,30,.12) 12%,
            rgba(44,13,30,.54) 30%,
            rgba(44,13,30,.65) 46%,
            rgba(44,13,30,.61) 60%,
            rgba(44,13,30,.16) 83%,
            rgba(44,13,30,0) 100%);
    }
    .home .hero:not(.hero--no-image) .hero__panel {
        padding-block: 12px;
    }
    .home .hero:not(.hero--no-image) .hero__title,
    .home .hero:not(.hero--no-image) .hero__text {
        text-shadow: 0 1px 4px rgba(25,6,17,.65),0 2px 12px rgba(25,6,17,.35);
    }
    .home .hero:not(.hero--no-image) .hero__actions .button--outline {
        background: rgba(50,15,34,.62);
    }
}
@media (min-width:600px) and (max-width:767px) {
    .home .hero:not(.hero--no-image) { min-block-size: clamp(440px,72vw,560px); }
}


/* v2.3.0: live Instagram source, compact profile link before connection. */
.instagram-account-link { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: #fffdf9; border: 1px solid #e4d5ca; border-radius: 24px 7px 24px 7px; padding: clamp(20px,3vw,36px); }
.instagram-account-link__icon { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 56px; border: 1px solid #e4d5ca; border-radius: 50%; color: var(--action-deep); }
.instagram-account-link__icon svg { width: 28px; height: 28px; }
.instagram-account-link h3 { margin: 0 0 4px; font: 500 1.7rem/1.15 var(--font-display); }
.instagram-account-link p { margin: 0; color: var(--muted); }
.instagram-account-link .button { margin-inline-start: auto; border-radius: 999px; }
@media (max-width:719px) { .instagram-account-link { gap: 12px; } .instagram-account-link .button { margin-inline-start: 0; width: 100%; } }


/* v2.3.1 — identical campaign photograph on all devices; mobile focal crop only. */
@media (max-width:767px) {
    .home .hero:not(.hero--no-image) .hero__img { object-position: 78% center; }
    .home .hero:not(.hero--no-image) .hero__media::after {
        background: linear-gradient(180deg,rgba(44,13,30,.03) 0%,rgba(44,13,30,.15) 15%,rgba(44,13,30,.65) 35%,rgba(44,13,30,.75) 49%,rgba(44,13,30,.65) 62%,rgba(44,13,30,.12) 84%,transparent 100%);
    }
}


/* v2.3.2 — Instagram's own live profile embed when the account feed is not connected. */
.instagram-native-feed { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(20px,5vw,72px); padding: clamp(18px,3vw,40px); border: 1px solid #e4d5ca; border-radius: 28px 8px 28px 8px; background: linear-gradient(125deg,#fffdf9,#efe1d4); }
.instagram-native-feed__intro { min-width: 0; }
.instagram-native-feed__intro .eyebrow { color: var(--action-deep); }
.instagram-native-feed__intro h3 { font: 500 clamp(2rem,4vw,3.5rem)/1.05 var(--font-display); margin: 0 0 14px; color: var(--espresso); }
.instagram-native-feed__intro p:not(.eyebrow) { color: #55404a; margin-bottom: 22px; }
.instagram-native-feed__intro .button { border-radius: 999px; min-height: 48px; }
.instagram-native-feed__embed { min-width: 0; width: 100%; max-width: 540px; justify-self: center; }
.instagram-native-feed__embed .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 540px !important; margin: 0 auto !important; border-radius: 12px !important; }
.instagram-native-feed__embed blockquote.instagram-media { padding: 22px; background: #fff; border: 1px solid #e4d5ca; text-align: center; }
@media(max-width:767px) {
    .instagram-native-feed { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 12px; }
    .instagram-native-feed__intro { padding: 8px; }
    .instagram-native-feed__intro h3 { font-size: 2rem; }
}
@media(max-width:359px) {
    .instagram-native-feed { padding: 0; border: 0; background: transparent; }
    .instagram-native-feed__intro { padding: 8px 0; }
}


/* v2.3.3 — individual social post cards, horizontal rail. */
.instagram-track { grid-auto-columns: calc((100% - 54px) / 4); gap: 16px; }
.instagram-card__image { aspect-ratio: 1; }
.instagram-card__image img { object-fit: contain; }
.instagram-card__caption { grid-template-rows: 1fr auto; flex: 1; }
.instagram-card__title { font-size: clamp(1.1rem,1.5vw,1.4rem); }
@media(max-width:1099px) { .instagram-track { grid-auto-columns: calc((100% - 38px) / 3); } }
@media(max-width:719px) { .instagram-track { grid-auto-columns: 79%; gap: 12px; } }
#reva-instagram { scroll-margin-top: 100px; }


/* v2.3.4 — full-bleed Reva journal, bounded by the signature palette. */
.home #reva-instagram {
    width: 100%; max-width: none;
    position: relative; isolation: isolate;
    margin-block: clamp(24px,3vw,48px);
    padding-block: clamp(36px,5vw,76px);
    border: 1px solid var(--sandstone);
    border-block-start: 4px solid var(--action-deep);
    border-block-end: 4px solid var(--plum);
    border-start-end-radius: clamp(30px,5vw,84px);
    border-end-start-radius: clamp(30px,5vw,84px);
    background: linear-gradient(118deg,var(--porcelain) 0%,var(--oat) 65%,var(--cloud-blush) 100%);
}
.home #reva-instagram > .wrap {
    width: 100%; max-width: none;
    padding-inline: clamp(18px,3.2vw,64px);
}
.home #reva-instagram .instagram-heading { margin-bottom: clamp(12px,2vw,24px); }
.home #reva-instagram .instagram-heading .section-title { color: var(--plum-deep); }
.home #reva-instagram .instagram-follow { color: var(--action-deep); }
.home #reva-instagram .instagram-card {
    border-color: var(--sandstone);
    border-radius: 22px 6px 22px 6px;
    background: #fffdf9;
}
.home #reva-instagram .instagram-card:focus-within { border-color: var(--action-deep); }
.home #reva-instagram .instagram-controls .rail__btn { border-color: var(--action-deep); color: var(--action-deep); }
.home #reva-instagram .instagram-controls .rail__btn:not(:disabled):hover { background: var(--action-deep); color: #fff; }
.home #reva-instagram .instagram-track {
    gap: 18px; grid-auto-columns: calc((100% - 60px) / 4);
    scrollbar-color: var(--mauve) var(--oat);
}
@media(min-width:1800px) {
    .home #reva-instagram .instagram-track { grid-auto-columns: calc((100% - 78px) / 5); }
}
@media(max-width:1099px) {
    .home #reva-instagram .instagram-track { grid-auto-columns: calc((100% - 42px) / 3); }
}
@media(max-width:719px) {
    .home #reva-instagram { border-start-end-radius: 38px; border-end-start-radius: 38px; border-block-start-width: 3px; border-block-end-width: 3px; padding-block: 32px; }
    .home #reva-instagram > .wrap { padding-inline: 16px; }
    .home #reva-instagram .instagram-track { grid-auto-columns: 79%; gap: 12px; }
    .home #reva-instagram .instagram-heading { gap: 8px; margin-bottom: 8px; }
    .home #reva-instagram .instagram-card { border-radius: 18px 6px 18px 6px; }
}


/* v2.3.5 — restore the contained journal and center the heading. */
.home #reva-instagram {
    width: calc(100% - 2 * var(--gutter));
    max-width: var(--wrap);
    margin-inline: auto;
}
.home #reva-instagram > .wrap {
    max-width: var(--wrap);
    padding-inline: var(--gutter);
}
.home #reva-instagram .instagram-heading {
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 8px;
}
.home #reva-instagram .instagram-heading > div { width: 100%; }
.home #reva-instagram .instagram-heading .eyebrow { justify-content: center; }
.home #reva-instagram .instagram-follow { justify-content: center; }
@media(min-width:1100px) {
    .home #reva-instagram .instagram-track { grid-auto-columns: calc((100% - 60px) / 4); }
}
@media(max-width:719px) {
    .home #reva-instagram { width: calc(100% - 24px); }
    .home #reva-instagram > .wrap { padding-inline: 14px; }
}


/* v2.3.6 — one shared content canvas on every page. */
.site-main {
    width: calc(100% - 2 * var(--gutter));
    max-width: var(--wrap);
    min-width: 0;
    margin-inline: auto;
}
.site-main > :is(section,aside,.wc-page) {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}
.site-main > :is(.hero,.dept-hero,.visit-hero,.page-head) {
    margin-block-start: clamp(12px,2vw,24px);
    border-radius: 20px;
    overflow: hidden;
}
.site-main .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
    max-width: 100%;
}
.home #reva-instagram {
    width: 100%; max-width: 100%; margin-inline: 0;
}
.home .trust-strip > .wrap { padding-inline: 0; }
@media(min-width:768px) and (max-width:1023px) {
    .site-main .hero__panel { margin-inline-start: var(--gutter); }
}
@media(max-width:719px) {
    .site-main { width: calc(100% - 24px); }
    .site-main > :is(.hero,.dept-hero,.visit-hero,.page-head) { border-radius: 14px; margin-block-start: 12px; }
    .home #reva-instagram { width: 100%; }
    .site-main > .section > .wrap,
    .site-main > .page-head > .wrap,
    .site-main > .dept-hero > .wrap { padding-inline: 14px; }
}


/* v2.3.7 — Here to help: a defined, softly elevated service panel. */
.home .trust-strip {
    background: transparent;
    padding-block: clamp(26px,3.5vw,48px) clamp(32px,4vw,60px);
}
.home .trust-strip__panel {
    position: relative;
    background: linear-gradient(125deg,var(--porcelain) 0%,var(--oat) 68%,var(--cloud-blush) 100%);
    border: 1px solid var(--sandstone);
    border-block-start: 3px solid var(--action-deep);
    border-block-end: 3px solid var(--plum);
    box-shadow: 0 4px 10px rgba(80,13,49,.07), 0 16px 30px rgba(80,13,49,.10), inset 0 1px 0 rgba(255,255,255,.85);
}
.home .trust-strip__head .section-title { color: var(--plum-deep); }
.home .trust-strip__list li > :is(a,div) {
    border: 1px solid #D9C3B9;
    background: rgba(255,253,249,.94);
    box-shadow: 0 3px 9px rgba(80,13,49,.065);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.home .trust-strip__list li > a:is(:hover,:focus-visible) {
    border-color: var(--action-deep);
    background: #fff;
    box-shadow: 0 4px 14px rgba(80,13,49,.15);
}
@media(max-width:719px) {
    .home .trust-strip__panel {
        box-shadow: 0 3px 8px rgba(80,13,49,.07),0 10px 20px rgba(80,13,49,.09),inset 0 1px 0 rgba(255,255,255,.85);
    }
    .home .trust-strip__list li > :is(a,div) { box-shadow: 0 2px 5px rgba(80,13,49,.06); }
}


/* v2.3.8 — bedding-only editorial textile composition. */
.dept-hero--bedding.dept-hero--editorial .dept-hero__media img { object-position: right center; }
@media(max-width:899px) {
    .dept-hero--bedding.dept-hero--editorial .dept-hero__media img { object-position: 80% center; }
}


/* v2.3.9 — approved mattress and furniture campaign imagery. */
.dept-hero--mattresses.dept-hero--editorial .dept-hero__media img,
.dept-hero--furniture.dept-hero--editorial .dept-hero__media img { object-position: right center; }
@media(max-width:899px) {
    .dept-hero--mattresses.dept-hero--editorial .dept-hero__media img,
    .dept-hero--furniture.dept-hero--editorial .dept-hero__media img { object-position: 80% center; }
}


/* v2.4.0 — show the complete available product photograph, never zoom to fill. */
.dept-hero--editorial { background: #f5e4d8; }
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
    position: relative; min-height: 0;
}
.dept-hero--editorial .dept-hero__figure {
    margin: 0; isolation: auto; min-width: 0; z-index: 0;
}
.dept-hero--editorial .dept-hero__media {
    position: relative; inset: auto; aspect-ratio: auto; border-radius: 0;
    background: transparent; overflow: visible;
}
.dept-hero--editorial .dept-hero__media img {
    position: static; display: block; width: 100%; height: auto;
    max-width: 100%; object-fit: contain; object-position: center;
}
.dept-hero--editorial .dept-hero__media::after { display: none; }
@media(min-width:900px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
        display: grid; grid-template-columns: minmax(0,.53fr) minmax(0,1fr);
        align-items: center; gap: 0; padding: 0; min-height: 0;
    }
    .dept-hero--editorial .dept-hero__copy {
        width: 100%; padding: clamp(28px,3vw,48px) 0 clamp(28px,3vw,48px) var(--gutter);
    }
    .dept-hero--editorial .dept-hero__title {
        font-size: clamp(2.7rem,4.4vw,4.65rem); overflow-wrap: normal;
    }
    .dept-hero--editorial .dept-hero__figure {
        position: relative; inset: auto; align-self: center;
        margin: 0; width: 100%;
    }
    .dept-hero--editorial .dept-hero__media {
        mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 100%);
    }
    [dir="rtl"] .dept-hero--editorial .dept-hero__media {
        mask-image: linear-gradient(to left, transparent 0%, #000 7%, #000 100%);
    }
}
@media(max-width:899px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
        display: flex; flex-direction: column; justify-content: flex-start;
        padding: 0; gap: 0;
    }
    .dept-hero--editorial .dept-hero__copy {
        width: 100%; padding: 24px clamp(16px,4vw,30px) 18px;
    }
    .dept-hero--editorial .dept-hero__title { font-size: clamp(2.6rem,7vw,4.4rem); }
    .dept-hero--editorial .dept-hero__figure {
        position: relative; inset: auto; width: 100%; margin: 0;
    }
    .dept-hero--editorial .dept-hero__media { mask-image: linear-gradient(to bottom,transparent 0%,#000 7%,#000 100%); }
}


/* v2.4.1 — full-height photographic field with controlled, product-specific cropping. */
.dept-hero--editorial .dept-hero__figure {
    position: relative; inset: auto; width: 100%; margin: 0;
    min-width: 0; align-self: stretch; height: auto;
}
.dept-hero--editorial .dept-hero__media {
    position: absolute; inset: 0; width: 100%; height: 100%;
    overflow: hidden; border-radius: 0; aspect-ratio: auto;
}
.dept-hero--editorial .dept-hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    max-width: none; object-fit: cover; display: block;
}
.dept-hero--mattresses.dept-hero--editorial .dept-hero__media img { object-position: 72% center; }
.dept-hero--bedding.dept-hero--editorial .dept-hero__media img { object-position: 68% center; }
.dept-hero--furniture.dept-hero--editorial .dept-hero__media img { object-position: 70% center; }
@media(min-width:900px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
        grid-template-columns: minmax(0,.58fr) minmax(0,1fr);
        align-items: stretch; min-height: 0; padding: 0;
    }
    .dept-hero--editorial .dept-hero__copy {
        align-self: center; padding: 28px 14px 28px clamp(24px,3vw,40px);
    }
    .dept-hero--editorial .dept-hero__title {
        font-size: clamp(2.5rem,4vw,4.2rem); margin-bottom: 16px;
    }
    .dept-hero--editorial .dept-hero__intro { font-size: clamp(.95rem,1.3vw,1.1rem); line-height: 1.5; }
    .dept-hero--editorial .dept-hero__features { margin-top: 18px !important; gap: 10px; }
    .dept-hero--editorial .dept-hero__features li + li { padding-inline-start: 10px; }
    .dept-hero--editorial .dept-hero__actions { margin-top: 18px; gap: 8px; }
    .dept-hero--editorial .dept-hero__actions .button { padding-inline: 16px; min-height: 46px; }
    .dept-hero--editorial .dept-hero__figure { min-height: clamp(400px,35vw,480px); }
    .dept-hero--editorial .dept-hero__media { mask-image: linear-gradient(to right,transparent 0%,#000 9%); }
}
@media(max-width:899px) {
    .dept-hero--editorial .dept-hero__figure {
        aspect-ratio: 1.8; min-height: 0;
    }
    .dept-hero--editorial .dept-hero__media { mask-image: linear-gradient(to bottom,transparent 0%,#000 6%); }
}


/* v2.4.2 — a single full-hero photographic canvas, with live HTML overlaid. */
.dept-hero--editorial:not(.dept-hero--no-image) {
    position: relative; isolation: isolate; overflow: hidden;
    background: #f5e4d8;
}
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
    position: static; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 0;
    padding: 0; width: 100%; max-width: 100%;
    min-height: clamp(490px,44vw,610px);
}
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__figure {
    position: absolute; inset: 0; width: 100%; height: 100%;
    min-height: 0; aspect-ratio: auto; margin: 0; z-index: -1;
}
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media {
    position: absolute; inset: 0; width: 100%; height: 100%;
    mask-image: none; -webkit-mask-image: none; border-radius: 0;
    overflow: hidden;
}
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; max-width: none;
}
.dept-hero--mattresses.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 72% 67%; }
.dept-hero--bedding.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 68% 72%; }
.dept-hero--furniture.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 70% 73%; }
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after {
    display: block; content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg,rgba(251,239,227,.97) 0%,rgba(251,239,227,.93) 18%,rgba(251,239,227,.86) 30%,rgba(251,239,227,.64) 39%,rgba(251,239,227,.18) 51%,transparent 63%);
}
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__copy {
    position: relative; z-index: 2; align-self: flex-start;
    width: 43%; max-width: 550px; padding: 35px clamp(18px,3vw,40px);
}
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__title {
    font-size: clamp(2.8rem,4.5vw,4.7rem);
}
.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions .button--outline { background: rgba(255,249,242,.7); }
[dir="rtl"] .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after {
    background: linear-gradient(270deg,rgba(251,239,227,.97) 0%,rgba(251,239,227,.93) 18%,rgba(251,239,227,.86) 30%,rgba(251,239,227,.64) 39%,rgba(251,239,227,.18) 51%,transparent 63%);
}
@media(min-width:900px) and (max-width:1199px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__copy { width: 49%; }
}
@media(max-width:899px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
        min-height: clamp(530px,90vw,670px); justify-content: flex-start;
        padding-bottom: clamp(130px,30vw,250px);
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__copy {
        width: 100%; max-width: 580px; align-self: center;
        padding: 24px clamp(16px,4vw,30px) 18px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__title { font-size: clamp(2.6rem,7vw,4.4rem); }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after,
    [dir="rtl"] .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after {
        background: linear-gradient(180deg,rgba(251,239,227,.96) 0%,rgba(251,239,227,.92) 29%,rgba(251,239,227,.87) 54%,rgba(251,239,227,.62) 72%,rgba(251,239,227,.08) 90%,transparent 100%);
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__features { margin-top: 18px !important; }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions { margin-top: 16px; gap: 8px; }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions .button { min-height: 44px; }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 66% center; }
}


/* v2.4.3 — reveal more of the photograph beneath the desktop copy. */
@media(min-width:900px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after {
        background: linear-gradient(90deg,rgba(251,239,227,.85) 0%,rgba(251,239,227,.81) 18%,rgba(251,239,227,.76) 30%,rgba(251,239,227,.55) 39%,rgba(251,239,227,.14) 51%,transparent 63%);
    }
    [dir="rtl"] .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after {
        background: linear-gradient(270deg,rgba(251,239,227,.85) 0%,rgba(251,239,227,.81) 18%,rgba(251,239,227,.76) 30%,rgba(251,239,227,.55) 39%,rgba(251,239,227,.14) 51%,transparent 63%);
    }
}


/* v2.4.4 — smartphone department heroes, inspired by the homepage campaign. */
@media (max-width:767px) {
    .dept-hero--editorial:not(.dept-hero--no-image) {
        background: #321528;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
        min-height: clamp(510px,142vw,600px);
        justify-content: flex-end; align-items: stretch;
        padding: clamp(152px,46vw,260px) 0 0;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__copy {
        color: #fff9f4; text-align: start;
        width: 100%; max-width: 580px;
        padding: 16px clamp(18px,5vw,32px) 24px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after,
    [dir="rtl"] .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after {
        background: linear-gradient(180deg,rgba(37,9,24,.02) 0%,rgba(37,9,24,.07) 18%,rgba(37,9,24,.35) 30%,rgba(37,9,24,.78) 43%,rgba(37,9,24,.88) 60%,rgba(37,9,24,.91) 100%);
    }
    .dept-hero--mattresses.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 66% center; }
    .dept-hero--bedding.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 58% center; }
    .dept-hero--furniture.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 59% center; }
    .dept-hero--editorial:not(.dept-hero--no-image) .breadcrumb {
        color: #fff9f4;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .breadcrumb ol { margin-bottom: 10px; font-size: .73rem; }
    .dept-hero--editorial:not(.dept-hero--no-image) .breadcrumb [aria-current="page"],
    .dept-hero--editorial:not(.dept-hero--no-image) .breadcrumb li + li::before { color: #f0d8cc; }
    .dept-hero--editorial:not(.dept-hero--no-image) .eyebrow {
        color: #f2cfac; margin-bottom: 8px; font-size: .72rem;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__title {
        color: #fff9f4; font-size: clamp(2.25rem,9vw,3.6rem);
        line-height: 1.03; margin: 0 0 10px;
        text-shadow: 0 2px 10px rgba(30,8,20,.4);
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__title em {
        color: #fff3e7; font-weight: 400;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__intro {
        color: #fff9f4; font-size: clamp(.88rem,3.65vw,1.03rem);
        line-height: 1.45; margin-bottom: 0;
        text-shadow: 0 1px 4px rgba(30,8,20,.4);
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__features {
        margin-top: 13px !important; gap: 6px 10px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__features li {
        color: #fff9f4; font-size: .73rem; gap: 5px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__features svg {
        color: #f2cfac; width: 21px; height: 21px; flex-basis: 21px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__features li + li {
        border-color: rgba(255,249,244,.35); padding-inline-start: 8px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions {
        justify-content: flex-start; gap: 8px; margin-top: 16px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions .button {
        flex: 0 1 auto; font-size: .8rem; min-height: 44px;
        padding-inline: 13px; border-radius: 999px;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions .button--primary {
        color: #500d31; background: #fff9f4; border-color: #fff9f4;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions .button--outline {
        color: #fff9f4; border-color: rgba(255,249,244,.85);
        background: rgba(50,15,34,.28);
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions .button--outline:hover {
        background: #fff9f4; color: #500d31;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) :is(a,button):focus-visible {
        outline: 2px solid #fff9f4; outline-offset: 3px;
    }
}
@media(max-width:359px) {
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__actions .button { font-size: .76rem; padding-inline: 10px; }
}


/* v2.4.5 — mobile photography: wider scene, seamless plum transition. */
@media(max-width:767px) {
    .dept-hero--editorial:not(.dept-hero--no-image) {
        --dept-photo-height: clamp(220px,66vw,380px);
        background: #2e1022;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__inner {
        min-height: clamp(510px,142vw,600px);
        padding-top: calc(var(--dept-photo-height) * .78);
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media {
        background: #2e1022;
    }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img {
        inset: 0 0 auto; height: var(--dept-photo-height); width: 100%;
        object-fit: cover;
    }
    .dept-hero--mattresses.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 56% 70%; }
    .dept-hero--bedding.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 54% 65%; }
    .dept-hero--furniture.dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media img { object-position: 50% 72%; }
    .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after,
    [dir="rtl"] .dept-hero--editorial:not(.dept-hero--no-image) .dept-hero__media::after {
        background: linear-gradient(180deg,
            rgba(46,16,34,0) 0,
            rgba(46,16,34,0) calc(var(--dept-photo-height) * .37),
            rgba(46,16,34,.15) calc(var(--dept-photo-height) * .50),
            rgba(46,16,34,.70) calc(var(--dept-photo-height) * .72),
            rgba(46,16,34,.93) calc(var(--dept-photo-height) * .90),
            #2e1022 var(--dept-photo-height),
            #2e1022 100%);
    }
}
