/* ==========================================================================
   ARBEL theme, phase 1 homepage
   Tokens and measurements come from the approved Figma file (see figma/SPEC_NOTES.md).
   Mobile first. Reference widths: 375 / 390 / 424 / 768 / 1024 / 1440 / 1920.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts and tokens
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/heebo-hebrew.woff2") format("woff2");
	unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/heebo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ivory: #f8f6f1;
	--ink: #23251f;
	--olive: #494d36;
	--muted: #65675c;
	--line: #dddcd4;
	--white: #ffffff;

	--font: "Heebo", "Segoe UI", Arial, sans-serif;

	--header-h: 88px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--dur: 220ms;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--ivory);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.is-locked {
	overflow: hidden;
}

h1, h2, h3, p, ul, figure {
	margin: 0;
}

ul {
	padding: 0;
	list-style: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

picture {
	display: contents;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	border-radius: 0;
}

input,
textarea {
	font: inherit;
	color: inherit;
	border-radius: 0;
}

hr {
	border: 0;
	margin: 0;
}

[hidden] {
	display: none !important;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--olive);
	outline-offset: 2px;
}

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

.skip-link {
	position: absolute;
	inset-inline-start: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--ivory);
}

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

.honeypot {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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

/* --------------------------------------------------------------------------
   3. Shared components
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn--primary {
	background: var(--olive);
	color: var(--ivory);
}

.btn--primary:hover {
	background: var(--ink);
}

.btn--primary:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 0;
}

.btn--primary:disabled,
.btn--primary[aria-disabled="true"] {
	background: var(--line);
	color: var(--muted);
	cursor: not-allowed;
}

.btn--on-olive {
	min-height: 56px;
	background: var(--ivory);
	color: var(--olive);
	font-size: 16px;
}

.btn--on-olive:hover {
	background: var(--white);
}

.btn--on-olive:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 0;
}

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

.btn--outline {
	background: transparent;
	color: var(--olive);
	box-shadow: inset 0 0 0 1px var(--olive);
}

.btn--outline:hover {
	background: var(--olive);
	color: var(--ivory);
}

.btn--outline:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 0;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	position: relative;
}

.icon-btn svg {
	display: block;
}

.icon-btn__count {
	position: absolute;
	top: 6px;
	inset-inline-end: 4px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
	color: var(--ivory);
	background: var(--olive);
	border-radius: 8px;
}

.link-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	font-size: 14px;
	text-decoration: underline;
	text-underline-position: from-font;
}

.text-input {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	font-size: 14px;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.text-input::placeholder {
	color: var(--muted);
	opacity: 1;
}

.text-input[dir="ltr"] {
	text-align: left;
}

.text-input:focus-visible {
	outline: none;
	border-color: var(--olive);
	box-shadow: inset 0 0 0 1px var(--olive);
}

.text-input[aria-invalid="true"] {
	border-color: var(--olive);
	box-shadow: inset 0 0 0 1px var(--olive);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field__label {
	font-size: 14px;
}

.field-error {
	font-size: 12px;
	color: var(--ink);
	margin-top: 2px;
}

.field-error::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline-end: 6px;
	background: var(--olive);
	border-radius: 50%;
	vertical-align: middle;
}

.form-status {
	font-size: 14px;
	line-height: 1.5;
	margin-top: 4px;
}

.form-status.is-error {
	color: var(--ink);
	background: var(--white);
	border-inline-start: 2px solid var(--olive);
	padding: 8px 12px;
}

.form-status.is-success {
	color: var(--olive);
}

/* Toast / status for preview-mode actions */
.toast {
	position: fixed;
	inset-inline: 16px;
	bottom: 16px;
	z-index: 90;
	margin-inline: auto;
	max-width: 480px;
	padding: 14px 18px;
	font-size: 14px;
	color: var(--ivory);
	background: var(--ink);
	box-shadow: 0 8px 24px rgba(35, 37, 31, 0.18);
	animation: toast-in var(--dur) var(--ease);
}

@keyframes toast-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: var(--ivory);
}

.site-header__bar {
	position: relative;
	height: 88px;
}

.site-logo {
	position: absolute;
	top: 8px;
	inset-inline-start: 50%;
	transform: translateX(50%);
	width: 136px;
	display: block;
}

.site-logo__img,
.footer-brand__logo {
	width: 100%;
	height: auto;
	pointer-events: none;
}

.site-header__menu {
	position: absolute;
	top: 22px;
	inset-inline-start: 8px;
}

.site-header__actions {
	position: absolute;
	top: 22px;
	inset-inline-end: 8px;
	display: flex;
	flex-direction: row-reverse;
}

.site-header__desktop-only {
	display: none;
}

.site-nav {
	display: none;
}

@media (min-width: 768px) {
	:root {
		--header-h: 112px;
	}

	.site-header__bar {
		height: 100%;
	}

	.site-logo {
		top: 5px;
		width: 158px;
	}

	.site-header__menu {
		display: none;
	}

	.site-header__actions {
		top: 14px;
		inset-inline-end: 17px;
		gap: 0;
	}

	.site-header__desktop-only {
		display: inline-flex;
	}

	.site-nav {
		display: block;
		position: absolute;
		inset-inline: 0;
		bottom: -4px;
		height: 44px;
	}

	.site-nav__list {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
		height: 44px;
	}

	.site-nav__link {
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 90px;
		height: 44px;
		padding: 0 4px;
		font-size: 14px;
		line-height: 1.35;
		letter-spacing: 1.2px;
		white-space: nowrap;
		transition: color var(--dur) var(--ease);
	}

	.site-nav__item:first-child .site-nav__link {
		min-width: 110px;
	}

	.site-nav__link:hover {
		color: var(--olive);
	}
}

@media (min-width: 1024px) {
	.site-header__actions {
		inset-inline-end: 23px;
	}
}

@media (min-width: 1440px) {
	:root {
		--header-h: 9.55vw;
	}

	.site-logo {
		width: 12vw;
	}

	.site-header__actions {
		top: 1.2vw;
		inset-inline-end: 2.2vw;
		gap: 8px;
	}

	.site-nav__list {
		gap: 20px;
	}

	.site-nav__link {
		font-size: 16px;
	}
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	/* 400px (not the original 480px): the portrait photo is landscape (1644x957). At 480px tall in a
	   ~375px-wide phone, object-fit: cover had to zoom in so far that only ~45% of the photo's width
	   stayed in frame (too close, flagged by Naor 2026-10-02). 400px keeps ~55% in frame, a real
	   improvement, while still showing the ring (not just the earring) above the caption text - a
	   shorter 320px pushed the caption block down over the ring. */
	height: 400px;
	background: var(--ink);
	color: var(--ivory);
	overflow: hidden;
}

.hero__slides {
	position: absolute;
	inset: 0;
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 360ms var(--ease);
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__img,
.look-card__img {
	-webkit-user-drag: none;
	user-select: none;
}

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

.hero__slide--portrait .hero__img {
	object-position: 66% center;
}

.hero__gradient {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 200px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62));
	pointer-events: none;
}

.hero__caption {
	/* The approved caption is anchored to the physical left of the photograph at every width
	   (left-aligned Hebrew text, controls below it on the left). */
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 59.5px;
	display: flex;
	flex-direction: column;
	align-items: flex-end; /* RTL: flex-end = physical left */
	gap: 6px;
	text-align: left;
}

.hero__title {
	font-size: 30px;
	font-weight: 300;
	line-height: 1.35;
	letter-spacing: 1.4px;
	color: var(--ivory);
}

.hero__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 16px;
	line-height: 1.35;
	letter-spacing: 0.6px;
	text-decoration: underline;
	text-underline-position: from-font;
	color: var(--ivory);
}

.hero__controls {
	position: absolute;
	left: 10px;
	bottom: 6px;
	display: flex;
}

.hero__dot,
.hero__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

.hero__dot .hero__dot-on,
.hero__dot.is-active .hero__dot-off {
	display: none;
}

.hero__dot.is-active .hero__dot-on {
	display: block;
}

.hero__play .hero__icon-play {
	display: none;
}

.hero__play[aria-pressed="false"] .hero__icon-pause {
	display: none;
}

.hero__play[aria-pressed="false"] .hero__icon-play {
	display: block;
}

.hero__dot:focus-visible,
.hero__play:focus-visible {
	outline-color: var(--ivory);
}

@media (min-width: 768px) {
	.hero {
		height: 320px;
	}

	.hero__slides {
		display: flex;
		flex-direction: row-reverse; /* approved split: portrait on the physical left, macro on the right */
	}

	.hero__slide {
		position: relative;
		inset: auto;
		opacity: 1;
		height: 100%;
	}

	.hero__slide--portrait {
		flex: 0 0 62.5%;
	}

	.hero__slide--macro {
		flex: 0 0 37.5%;
	}

	.hero__slide--portrait .hero__img {
		object-position: center;
	}

	.hero__gradient {
		display: none;
	}

	.hero__caption {
		/* Inside the portrait panel (physical left 62.5% of the viewport), inset 5.28% of the panel. */
		left: calc(62.5vw * 0.0528);
		right: auto;
		width: calc(62.5vw * (1 - 0.1056));
		bottom: 64px;
		gap: 10px;
	}

	.hero__title {
		font-size: 34px;
		letter-spacing: 3.2px;
	}

	.hero__controls {
		display: none;
	}
}

@media (min-width: 1024px) {
	.hero {
		height: 373px;
	}
}

@media (min-width: 1440px) {
	.hero {
		height: 36.46vw; /* 525 @1440, 700 @1920 */
	}

	.hero__caption {
		bottom: clamp(59px, calc(59px + (100vw - 1440px) * 0.079), 97px);
	}

	.hero__title {
		font-size: 3.23vw;
	}

	.hero__link {
		font-size: 1.2vw;
	}
}

/* --------------------------------------------------------------------------
   6. Product card (shared by picks and catalog)
   -------------------------------------------------------------------------- */
.product-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.product-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--line);
}

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

.product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--ease);
}

@media (hover: hover) {
	.product-card__link:hover .product-card__img {
		transform: scale(1.03);
	}
}

.product-card__link:focus-visible {
	outline-offset: -2px;
}

.favorite {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

.product-card--picks .favorite {
	inset-inline-start: 12px;
}

.favorite__icon--filled,
.favorite[aria-pressed="true"] .favorite__icon--outline {
	display: none;
}

.favorite[aria-pressed="true"] .favorite__icon--filled {
	display: block;
}

.favorite:focus-visible {
	outline-offset: -2px;
}

.product-card__info {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.product-card__name {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	min-width: 0;
	flex: 1 1 auto;
	overflow-wrap: anywhere;
}

.product-card__name-btn {
	text-align: start;
}

.product-card__name a:hover,
.product-card__name-btn:hover {
	text-decoration: underline;
	text-underline-position: from-font;
}

.product-card__price {
	font-size: 14px;
	line-height: 1.5;
	text-align: start;
	flex-shrink: 0;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7. Picks (הבחירות של Arbel)
   -------------------------------------------------------------------------- */
.picks {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px 12px 40px;
	background: var(--ivory);
}

.picks__title {
	font-size: 24px;
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: 1.8px;
	text-align: center;
}

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

.picks__action {
	display: flex;
	justify-content: center;
}

.picks__cta {
	width: 100%;
}

@media (min-width: 768px) {
	.picks {
		gap: 1.2vw;
		padding: 1.2vw 2.9vw 64px;
	}

	.picks__title {
		font-size: 26px;
	}

	.picks__grid {
		gap: 1.2vw 12px;
	}

	.picks__cta {
		width: 240px;
	}
}

@media (min-width: 1024px) {
	.picks__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: 0.9vw;
	}
}

@media (min-width: 1920px) {
	.picks__title {
		font-size: 34.56px;
	}
}

/* --------------------------------------------------------------------------
   8. Shop the look
   -------------------------------------------------------------------------- */
.look {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	padding: 32px 16px 48px;
	background: var(--white);
}

.look__campaign {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.look__campaign-track {
	position: relative;
	width: 100%;
	height: 100%;
}

.look__campaign-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 600ms var(--ease);
}

.look__campaign-slide.is-active {
	opacity: 1;
}

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

.look__campaign-gradient {
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 72px;
	height: 72px;
	background: radial-gradient(circle at 0 100%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.look__campaign-play {
	position: absolute;
	inset-inline-start: 10px;
	bottom: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

.look__campaign-play .look__campaign-icon-play {
	display: none;
}

.look__campaign-play[aria-pressed="false"] .look__campaign-icon-pause {
	display: none;
}

.look__campaign-play[aria-pressed="false"] .look__campaign-icon-play {
	display: block;
}

.look__campaign-play:focus-visible {
	outline-color: var(--ivory);
}

.look__carousel {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 704px;
}

.look__heading {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: center;
}

.look__title {
	font-size: 24px;
	font-weight: 300;
	line-height: 1.5;
}

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

.look__stage {
	position: relative;
	--look-arrow-space: 0px;
	--look-cards: 1;
	--look-gap: 16px;
}

.look__viewport {
	overflow: hidden;
	margin-inline: var(--look-arrow-space);
}

.look__track {
	display: flex;
	gap: var(--look-gap);
	transition: transform 420ms var(--ease);
	will-change: transform;
}

.look-card {
	flex: 0 0 calc((100% - (var(--look-cards) - 1) * var(--look-gap)) / var(--look-cards));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	height: 371px;
	padding-bottom: 8px;
	background: var(--white);
}

.look-card__media {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	padding: 20px 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.look-card__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.look-card__name {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 8px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}

.look-card__btn {
	text-align: center;
}

.look-card__btn:hover,
.look-card__name a:hover {
	text-decoration: underline;
	text-underline-position: from-font;
}

.look-card__brand {
	font-size: 12px;
	letter-spacing: 2px;
	color: var(--muted);
	text-align: center;
}

.look-card__price {
	font-size: 16px;
	text-align: center;
}

.look__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
}

.look__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.look__stage > .look__arrow {
	display: none;
	position: absolute;
	top: calc((100% - 122px) / 2 - 22px);
}

.look__stage > .look__arrow--prev {
	inset-inline-start: 0;
}

.look__stage > .look__arrow--next {
	inset-inline-end: 0;
}

.look__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
}

.look__pages {
	display: flex;
	align-items: center;
	height: 44px;
}

.look__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 44px;
}

.look__page::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--line);
	transition: background-color var(--dur) var(--ease);
}

.look__page.is-active::before {
	background: var(--olive);
}

@media (min-width: 768px) {
	.look {
		gap: 28px;
		padding: 64px 32px 80px;
	}

	.look__title {
		font-size: 28px;
	}

	.look__stage {
		--look-arrow-space: 44px;
		--look-cards: 2;
		--look-gap: 24px;
	}

	.look-card {
		height: 365px;
	}

	.look__stage > .look__arrow {
		display: inline-flex;
	}

	.look__arrow--inline {
		display: none;
	}

	.look__nav {
		justify-content: center;
	}
}

@media (min-width: 1024px) {
	.look__carousel {
		max-width: 960px;
	}
}

@media (min-width: 1440px) {
	.look {
		flex-direction: row; /* RTL: campaign image (first child) on the right, carousel on the left */
		align-items: center;
		justify-content: center;
		gap: 4.5vw;
		padding: 64px 3.6vw 80px;
	}

	.look__campaign {
		flex: 0 0 40.8vw;
		max-width: none;
		width: 40.8vw;
	}

	.look__carousel {
		flex: 0 0 47.5vw;
		max-width: none;
		width: 47.5vw;
	}

	.look-card {
		height: calc(453px + (100vw - 1440px) * 0.408); /* 453 @1440, 649 @1920 */
	}
}

/* --------------------------------------------------------------------------
   9. Catalog
   -------------------------------------------------------------------------- */
.catalog {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	padding: 48px 16px;
	background: var(--ivory);
}

.catalog__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.catalog__title {
	font-size: 28px;
	font-weight: 300;
	line-height: 1.5;
	text-align: center;
}

.catalog__tabs-wrap {
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.catalog__tabs-wrap::-webkit-scrollbar {
	display: none;
}

.catalog__tabs {
	display: flex;
	gap: 8px;
	height: 44px;
	white-space: nowrap;
}

.catalog-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 8px;
	font-size: 14px;
	border-bottom: 2px solid transparent;
	transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.catalog-tab:hover {
	color: var(--olive);
}

.catalog-tab.is-selected {
	color: var(--olive);
	border-bottom-color: var(--olive);
}

.catalog-tab:focus-visible {
	outline-offset: -2px;
}

.catalog__tools {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.catalog__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 52px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.catalog__tool-wrap {
	position: relative;
}

.catalog-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	min-width: 104px;
	padding: 0 8px;
	font-size: 16px;
	transition: color var(--dur) var(--ease);
}

.catalog-control:hover {
	color: var(--olive);
}

.catalog-control:focus-visible {
	outline-offset: -2px;
}

.catalog-control__icon {
	flex: 0 0 24px;
}

.catalog-control__icon--chevron {
	transition: transform var(--dur) var(--ease);
}

.catalog-control[aria-expanded="true"] .catalog-control__icon--chevron {
	transform: rotate(180deg);
}

.catalog-control__badge {
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 11px;
	line-height: 18px;
	color: var(--ivory);
	background: var(--olive);
	border-radius: 9px;
}

.catalog__scope {
	font-size: 14px;
	text-align: start;
}

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

.catalog__count:not(:empty)::before {
	content: " · ";
}

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

.product-card--catalog .product-card__name {
	font-size: 14px;
}

.product-card.is-highlighted .product-card__media {
	outline: 2px solid var(--olive);
	outline-offset: 2px;
}

.catalog__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 40px 16px;
	text-align: center;
}

.catalog__empty-copy {
	font-size: 16px;
	color: var(--muted);
	max-width: 36ch;
}

.catalog__empty-cta {
	min-width: 240px;
}

.catalog__more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.catalog__more-btn {
	width: 100%;
	font-size: 16px;
}

/* Announced to assistive tech; the disabled button is the visual signal (keeps the approved layout). */
.catalog__more-status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (min-width: 768px) {
	.catalog {
		gap: 28px;
		padding: 72px 32px 80px;
	}

	.catalog__head {
		gap: 20px;
	}

	.catalog__title {
		font-size: 36px;
	}

	.catalog__tabs {
		gap: 24px;
	}

	.catalog-tab {
		min-width: 72px;
		padding: 0 12px;
		font-size: 16px;
	}

	.catalog__scope {
		font-size: 16px;
	}

	.catalog__grid {
		gap: 32px 24px;
	}

	.product-card--catalog .product-card__name {
		font-size: 16px;
	}

	.catalog__more-btn {
		width: 360px;
		min-height: 56px;
	}
}

@media (min-width: 1024px) {
	.catalog__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1440px) {
	.catalog {
		padding-inline: 3.75vw;
	}

	.catalog__title {
		font-size: 48px;
	}
}

/* Filter panel: bottom sheet below 1024, popover from 1024 */
.filter-panel {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: flex;
	align-items: flex-end;
	background: rgba(35, 37, 31, 0.24);
}

.filter-panel[hidden] {
	display: none;
}

.filter-panel__sheet {
	width: 100%;
	max-height: calc(100% - 60px);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 16px 24px 24px;
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	background: var(--ivory);
	animation: sheet-in 260ms var(--ease);
}

@keyframes sheet-in {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

.filter-panel__handle {
	width: 36px;
	height: 3px;
	border-radius: 1.5px;
	background: var(--line);
}

.filter-panel__head {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: 44px;
}

.filter-panel__title {
	flex: 1 1 auto;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.5;
	text-align: start;
}

.filter-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.filter-panel__divider {
	width: 100%;
	height: 1px;
	background: var(--line);
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.filter-group__legend {
	padding: 0;
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 12px;
}

.filter-group__legend + * {
	margin-top: 0;
}

.price-fields {
	display: flex;
	gap: 12px;
}

.price-field {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 48px;
	padding: 0 12px;
	font-size: 16px;
	background: var(--ivory);
	border: 1px solid var(--line);
}

.price-field:focus-within {
	border-color: var(--olive);
	box-shadow: inset 0 0 0 1px var(--olive);
}

.price-field__input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 16px;
	-moz-appearance: textfield;
	appearance: textfield;
}

.price-field__input::-webkit-outer-spin-button,
.price-field__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.price-field__input:focus {
	outline: none;
}

.price-range {
	position: relative;
	height: 44px;
}

.price-range__track {
	position: absolute;
	inset-inline: 10px;
	top: 21px;
	height: 2px;
	background: var(--line);
}

.price-range__fill {
	position: absolute;
	top: 0;
	height: 100%;
	background: var(--olive);
}

.price-range__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 44px;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

.price-range__input::-webkit-slider-runnable-track {
	height: 44px;
	background: transparent;
}

.price-range__input::-moz-range-track {
	height: 44px;
	background: transparent;
}

.price-range__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	margin-top: 12px;
	border-radius: 50%;
	background: var(--ivory);
	border: 1px solid var(--olive);
	pointer-events: auto;
	cursor: pointer;
}

.price-range__input::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ivory);
	border: 1px solid var(--olive);
	pointer-events: auto;
	cursor: pointer;
}

.price-range__input:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 3px rgba(73, 77, 54, 0.35);
}

.price-range__input:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 3px rgba(73, 77, 54, 0.35);
}

.tone-options {
	display: flex;
	gap: 16px;
}

.tone-option {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	cursor: pointer;
}

.tone-option__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.tone-option__box {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	background: var(--ivory);
	border: 1px solid var(--muted);
	position: relative;
}

.tone-option__input:checked + .tone-option__box {
	background: var(--olive);
	border-color: var(--olive);
}

.tone-option__input:checked + .tone-option__box::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid var(--ivory);
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

.tone-option__input:focus-visible + .tone-option__box {
	outline: 2px solid var(--olive);
	outline-offset: 2px;
}

.tone-option__label {
	font-size: 16px;
}

.filter-form__reset {
	width: 100%;
}

@media (min-width: 1024px) {
	.filter-panel {
		position: absolute;
		inset: auto;
		top: calc(100% + 4px);
		inset-inline-start: 0;
		width: 360px;
		background: none;
		z-index: 60;
	}

	.filter-panel__sheet {
		max-height: none;
		padding: 24px;
		border: 1px solid var(--line);
		animation: none;
	}

	.filter-panel__handle {
		display: none;
	}
}

/* Sort menu */
.sort-menu {
	position: absolute;
	top: calc(100% + 4px);
	inset-inline-end: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 246px;
	padding: 12px 16px;
	background: var(--ivory);
	border: 1px solid var(--line);
}

.sort-menu[hidden] {
	display: none;
}

.sort-option {
	display: flex;
	align-items: center;
	height: 44px;
	font-size: 14px;
	text-align: start;
}

.sort-option:hover {
	color: var(--olive);
}

.sort-option.is-selected {
	font-weight: 500;
	color: var(--olive);
}

.sort-option:focus-visible {
	outline-offset: -2px;
}

/* --------------------------------------------------------------------------
   10. Gift finder CTA
   -------------------------------------------------------------------------- */
.gift {
	display: flex;
	flex-direction: column;
	background: var(--olive);
	color: var(--ivory);
}

.gift__media {
	order: 2;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

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

.gift__message {
	order: 1;
	display: flex;
	justify-content: center;
	padding: 40px 24px;
}

.gift__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 560px;
	text-align: center;
}

.gift__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gift__eyebrow {
	font-size: 14px;
	line-height: 1.5;
}

.gift__title {
	font-size: 36px;
	font-weight: 300;
	line-height: 1.16;
}

.gift__desc {
	font-size: 14px;
	line-height: 1.6;
}

.gift__cta {
	width: 100%;
	min-height: 52px;
}

@media (min-width: 768px) {
	.gift__media {
		aspect-ratio: 2 / 1;
	}

	.gift__message {
		padding: 48px 32px;
	}

	.gift__content {
		align-items: flex-start;
		text-align: start;
		gap: 24px;
	}

	.gift__copy {
		gap: 16px;
	}

	.gift__desc {
		font-size: 18px;
	}

	.gift__cta {
		width: 304px;
		min-height: 56px;
	}
}

@media (min-width: 1024px) {
	.gift {
		flex-direction: row;
		height: 480px;
	}

	.gift__media {
		order: 2; /* inline-end = left in RTL */
		flex: 0 0 50%;
		height: 100%;
		aspect-ratio: auto;
	}

	.gift__message {
		order: 1;
		flex: 0 0 50%;
		align-items: center;
		padding: 40px;
	}

	.gift__content {
		max-width: 432px;
	}

	.gift__desc {
		font-size: 16px;
	}
}

@media (min-width: 1440px) {
	.gift {
		height: 560px;
	}

	.gift__message {
		padding: 40px 64px;
	}

	.gift__content {
		max-width: 560px;
	}

	.gift__title {
		font-size: 56px;
	}

	.gift__desc {
		font-size: 18px;
	}
}

@media (min-width: 1920px) {
	.gift {
		height: 620px;
	}
}

/* --------------------------------------------------------------------------
   10b. About teaser
   -------------------------------------------------------------------------- */
.about {
	background: var(--ivory);
	padding: 56px 24px;
}

.about__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.about__heading {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.about__eyebrow {
	font-size: 14px;
	line-height: 1.5;
	color: var(--olive);
}

.about__title {
	font-size: 28px;
	font-weight: 300;
	line-height: 1.5;
}

.about__story {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.about__body {
	font-size: 16px;
	line-height: 1.75;
	color: var(--muted);
}

.about__link {
	width: 100%;
	justify-content: flex-end;
}

@media (min-width: 768px) {
	.about {
		padding: 56px 40px;
	}

	.about__title {
		font-size: 36px;
	}
}

@media (min-width: 1024px) {
	.about {
		padding: 88px 64px;
	}

	.about__content {
		flex-direction: row;
		align-items: flex-start;
		gap: 56px;
	}

	.about__story {
		order: 1; /* inline-start = right in RTL */
		flex: 0 0 500px;
	}

	.about__heading {
		order: 2; /* inline-end = left in RTL */
		flex: 0 0 340px;
	}

	.about__title {
		font-size: 48px;
	}

	.about__body {
		font-size: 18px;
	}
}

@media (min-width: 1440px) {
	.about {
		padding: 88px 80px;
	}

	.about__content {
		gap: 96px;
	}

	.about__story {
		flex-basis: 744px;
	}

	.about__heading {
		flex-basis: 440px;
	}
}

@media (min-width: 1920px) {
	.about {
		padding: 88px 240px;
	}

	.about__story {
		flex-basis: 904px;
	}
}

/* --------------------------------------------------------------------------
   10c. FAQ
   -------------------------------------------------------------------------- */
.faq {
	background: var(--white);
	padding: 56px 24px;
}

.faq__content {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.faq__heading {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq__eyebrow {
	font-size: 14px;
	line-height: 1.5;
	color: var(--olive);
}

.faq__title {
	font-size: 28px;
	font-weight: 300;
	line-height: 1.5;
}

.faq__desc {
	font-size: 16px;
	line-height: 1.5;
	color: var(--muted);
}

.faq__list {
	display: flex;
	flex-direction: column;
}

.faq-item__divider {
	border: 0;
	border-top: 1px solid var(--line);
}

.faq-item__heading {
	font-size: 16px;
	font-weight: 400;
}

.faq-item__toggle {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 20px 0;
	text-align: start;
}

.faq-item__icon {
	position: relative;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.faq-item__h,
.faq-item__v {
	position: absolute;
	background: var(--olive);
}

.faq-item__h {
	left: 2px;
	top: 7.25px;
	width: 12px;
	height: 1.5px;
}

.faq-item__v {
	left: 7.25px;
	top: 2px;
	width: 1.5px;
	height: 12px;
	transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.faq-item__toggle[aria-expanded="true"] .faq-item__v {
	transform: scaleY(0);
	opacity: 0;
}

.faq-item__question {
	flex: 1 1 auto;
	color: var(--ink);
}

.faq-item__panel {
	display: none;
	padding-bottom: 24px;
	padding-inline-start: 32px;
}

.faq-item.is-open .faq-item__panel {
	display: block;
}

.faq-item__answer {
	font-size: 16px;
	line-height: 1.7;
	color: var(--muted);
}

@media (min-width: 768px) {
	.faq {
		padding: 56px 40px;
	}
}

@media (min-width: 1024px) {
	.faq {
		padding: 88px 64px;
	}

	.faq__content {
		flex-direction: row;
		align-items: flex-start;
		gap: 48px;
	}

	.faq__list {
		order: 1; /* inline-start = right in RTL */
		flex: 0 0 579px;
	}

	.faq__heading {
		order: 2; /* inline-end = left in RTL */
		flex: 0 0 269px;
	}

	.faq__title {
		font-size: 36px;
	}
}

@media (min-width: 1440px) {
	.faq {
		padding: 88px 80px;
	}

	.faq__content {
		gap: 80px;
	}

	.faq__list {
		flex-basis: 840px;
	}

	.faq__heading {
		flex-basis: 360px;
	}
}

@media (min-width: 1920px) {
	.faq {
		padding: 88px 240px;
	}

	.faq__list {
		flex-basis: 1000px;
	}
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--ivory);
	padding: 40px 24px 24px;
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.site-footer__divider {
	height: 1px;
	background: var(--line);
}

/* On mobile the last accordion's own rule separates the legal block (no second divider in the design). */
.site-footer__divider--legal {
	display: none;
}

.newsletter {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.newsletter__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.newsletter__title {
	font-size: 28px;
	font-weight: 300;
	line-height: 1.5;
}

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

.newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.newsletter__label {
	font-size: 12px;
}

.newsletter__row {
	display: flex;
	gap: 8px;
}

.newsletter__input {
	flex: 1 1 auto;
	height: 52px;
}

.newsletter__submit {
	flex: 0 0 96px;
	min-height: 52px;
	padding: 0;
	white-space: nowrap;
}

.consent {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.consent__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.consent__box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
}

.consent__box::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	background: var(--white);
	border: 1px solid var(--olive);
}

.consent__box svg {
	position: relative;
	display: none;
}

.consent__input:checked + .consent__box::before {
	background: var(--olive);
}

.consent__input:checked + .consent__box svg {
	display: block;
}

.consent__input:focus-visible + .consent__box {
	outline: 2px solid var(--olive);
	outline-offset: -2px;
}

.consent__label {
	font-size: 12px;
	color: var(--muted);
}

.site-footer__brand-nav {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.footer-brand__logo {
	width: 180px;
}

.footer-brand__tagline {
	font-size: 14px;
	color: var(--muted);
}

.footer-brand__tagline--desktop {
	display: none;
}

.footer-nav {
	display: flex;
	flex-direction: column;
}

.footer-group {
	border-bottom: 1px solid var(--line);
}

.footer-group__heading {
	font-size: 16px;
	font-weight: 400;
}

.footer-group__toggle {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	height: 56px;
	text-align: start;
}

.footer-group__title {
	flex: 1 1 auto;
}

.footer-group__icon {
	position: relative;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.footer-group__h,
.footer-group__v {
	position: absolute;
	background: var(--olive);
}

.footer-group__h {
	left: 2px;
	top: 7.25px;
	width: 12px;
	height: 1.5px;
}

.footer-group__v {
	left: 7.25px;
	top: 2px;
	width: 1.5px;
	height: 12px;
	transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.footer-group__toggle[aria-expanded="true"] .footer-group__v {
	transform: scaleY(0);
	opacity: 0;
}

.footer-group__links {
	display: none;
	flex-direction: column;
	padding-bottom: 8px;
}

.footer-group.is-open .footer-group__links {
	display: flex;
}

.footer-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	color: var(--olive);
	text-align: start;
	text-decoration: underline;
	text-underline-position: from-font;
	transition: color var(--dur) var(--ease);
}

.footer-link:hover {
	color: var(--ink);
}

.footer-link.is-pending {
	cursor: default;
}

.footer-link.is-pending:hover {
	color: var(--olive);
}

.footer-link--btn {
	font: inherit;
	font-size: 14px;
}

.site-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

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

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.site-footer__top {
	order: 1;
}

.site-footer__copy {
	order: 2;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

.site-footer__credit {
	order: 3;
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-footer__credit-label {
	font-size: 12px;
	color: var(--muted);
}

@media (min-width: 768px) {
	.site-footer {
		padding: 56px 48px 28px;
	}

	.site-footer__inner {
		gap: 40px;
	}

	.newsletter {
		gap: 24px;
	}

	.newsletter__title {
		font-size: 36px;
	}

	.footer-brand {
		gap: 12px;
	}

	.footer-brand__logo {
		width: 220px;
	}

	.footer-brand__tagline--mobile {
		display: none;
	}

	.footer-brand__tagline--desktop {
		display: block;
	}

	.site-footer__brand-nav {
		gap: 40px;
	}

	.footer-nav {
		flex-direction: row;
		gap: 24px;
	}

	.footer-group {
		flex: 1 1 0;
		border-bottom: 0;
	}

	.footer-group__toggle {
		height: 40px;
		cursor: default;
		pointer-events: none;
	}

	.footer-group__icon {
		display: none;
	}

	.footer-group__links {
		display: flex;
		padding-bottom: 0;
	}

	.site-footer__divider--legal {
		display: block;
	}

	.site-footer__legal {
		gap: 12px;
	}

	.legal-links {
		display: flex;
		justify-content: flex-start;
		gap: 24px;
	}

	.legal-links li {
		min-width: 128px;
	}

	.site-footer__bottom {
		position: relative;
		gap: 4px;
	}
}

@media (min-width: 1024px) {
	.newsletter {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}

	.newsletter__copy {
		flex: 0 1 43%;
	}

	.newsletter__form {
		flex: 0 0 48%;
		max-width: 500px;
	}

	.site-footer__brand-nav {
		flex-direction: row;
		justify-content: space-between;
		gap: 32px;
	}

	.footer-brand {
		flex: 0 0 224px;
		order: 1;
	}

	.footer-nav {
		order: 2;
		flex: 1 1 auto;
		gap: 32px;
	}

	.site-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.site-footer__copy {
		order: 1;
	}

	.site-footer__top {
		order: 2;
	}

	.site-footer__credit {
		order: 3;
	}
}

@media (min-width: 1440px) {
	.site-footer {
		padding-inline: 6.67vw;
	}

	.footer-brand {
		flex-basis: 280px;
	}

	.footer-nav {
		gap: 64px;
	}
}

@media (min-width: 1920px) {
	.site-footer {
		padding-inline: 12.5vw;
	}
}

/* --------------------------------------------------------------------------
   12. Drawers (mobile menu, search) and dialog
   -------------------------------------------------------------------------- */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	overflow: hidden;
	background: rgba(35, 37, 31, 0.24);
}

.drawer[hidden] {
	display: none;
}

.drawer__panel {
	width: 100%;
	max-width: 480px;
	height: 100%;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px;
	padding-top: calc(24px + env(safe-area-inset-top, 0px));
	background: var(--ivory);
	animation: drawer-in 260ms var(--ease);
}

@keyframes drawer-in {
	from { transform: translateX(16px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

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

.drawer__title {
	flex: 1 1 auto;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.5;
}

.drawer__menu {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.drawer__menu-link {
	display: block;
	padding: 10px 0;
	font-size: 18px;
	line-height: 1.5;
}

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

.drawer__support-link {
	color: inherit;
}

.drawer__support-link.is-pending {
	cursor: default;
}

.search-form__field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	border: 1px solid var(--line);
	transition: border-color var(--dur) var(--ease);
}

.search-form__field:focus-within {
	border-color: var(--olive);
}

.search-form__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 16px;
	padding: 0;
}

.search-form__input::placeholder {
	color: var(--muted);
	opacity: 1;
}

.search-form__input:focus {
	outline: none;
}

.search-form__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.search-drawer__heading {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
}

.search-suggestions,
.search-results,
.search-empty {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.search-suggestions__list,
.search-results__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.search-suggestion,
.search-result {
	display: block;
	width: 100%;
	font-size: 16px;
	line-height: 1.5;
	text-align: start;
}

.search-result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.search-result__price {
	color: var(--muted);
	font-size: 14px;
}

.search-suggestion:hover,
.search-result:hover {
	color: var(--olive);
}

.search-empty__copy {
	font-size: 16px;
	color: var(--muted);
}

/* Agency dialog */
.dialog {
	position: fixed;
	inset: 0;
	z-index: 85;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	padding-top: calc(16px + env(safe-area-inset-top, 0px));
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.dialog[hidden] {
	display: none;
}

.dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(35, 37, 31, 0.72);
}

.dialog__card {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 100%;
	overflow-y: auto;
	padding: 24px;
	background: var(--ivory);
	border: 1px solid var(--line);
	animation: dialog-in 220ms var(--ease);
}

@keyframes dialog-in {
	from { transform: translateY(8px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

.dialog__view {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.dialog__view[hidden] {
	display: none;
}

.dialog__head {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dialog__head--close-only {
	justify-content: flex-start;
}

.dialog__title {
	flex: 1 1 auto;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.5;
}

.dialog__title--center,
.dialog__intro--center {
	text-align: center;
}

.dialog__intro {
	font-size: 14px;
	color: var(--muted);
	margin-top: -12px;
}

.lead-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lead-form__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.dialog__note {
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}

@media (min-width: 768px) {
	.dialog__card {
		padding: 32px;
	}

	.dialog__title {
		font-size: 28px;
	}
}

/* --------------------------------------------------------------------------
   13. Plain fallback pages
   -------------------------------------------------------------------------- */
.site-main--plain {
	padding: 48px 24px;
}

.container--narrow {
	max-width: 720px;
	margin-inline: auto;
}

.page-title {
	font-size: 36px;
	font-weight: 300;
	margin-bottom: 24px;
}

.entry-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--muted);
}

.entry-content h2 {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--ink);
	margin-top: 16px;
}

.entry-content h3 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink);
}

.entry-content p {
	margin: 0;
}

.entry-content ul,
.entry-content ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-inline-start: 24px;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content a {
	color: var(--olive);
	text-decoration: underline;
	text-underline-position: from-font;
}

.entry-content strong {
	color: var(--ink);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Accessibility widget and cookie consent
   Self-built, self-hosted (no third-party widget/service). Preferences persist
   in localStorage and apply site-wide. See assets/js/main.js.
   -------------------------------------------------------------------------- */

/* Shared toggle-switch component, reused by the accessibility panel and the
   cookie-settings panel. */
.a11y-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
	border-radius: 9999px;
	background: var(--line);
	transition: background-color var(--dur) var(--ease);
}

.a11y-toggle::before {
	content: "";
	position: absolute;
	inset-inline-start: 3px;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ivory);
	transition: inset-inline-start var(--dur) var(--ease);
}

.a11y-toggle[aria-checked="true"] {
	background: var(--olive);
}

.a11y-toggle[aria-checked="true"]::before {
	inset-inline-start: 23px;
}

.a11y-toggle[disabled] {
	cursor: not-allowed;
	opacity: 0.6;
}

.a11y-toggle-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.a11y-toggle-row:last-of-type {
	border-bottom: 0;
}

.a11y-toggle-row__text strong {
	display: block;
	font-size: 14px;
	color: var(--ink);
	margin-bottom: 2px;
}

.a11y-toggle-row__text p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

/* Accessibility widget trigger + panel */
.a11y-widget {
	position: fixed;
	inset-inline-start: 16px;
	bottom: calc(16px + var(--a11y-lift, 0px));
	z-index: 9600;
	transition: bottom var(--dur) var(--ease);
}

.a11y-widget__trigger {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--olive);
	color: var(--ivory);
	display: grid;
	place-items: center;
	box-shadow: 0 8px 24px rgba(35, 37, 31, 0.18);
	transition: background-color var(--dur) var(--ease);
}

.a11y-widget__trigger:hover {
	background: var(--ink);
}

.a11y-widget__icon {
	width: 26px;
	height: 26px;
}

.a11y-panel {
	position: fixed;
	inset-inline-start: 16px;
	bottom: calc(52px + 32px + var(--a11y-lift, 0px));
	z-index: 9601;
	width: min(340px, calc(100vw - 32px));
	max-height: min(600px, calc(100vh - 140px));
	overflow-y: auto;
	background: var(--ivory);
	border: 1px solid var(--line);
	padding: 20px;
}

.a11y-panel[hidden] {
	display: none;
}

.a11y-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.a11y-panel__title {
	font-size: 18px;
	font-weight: 400;
	color: var(--ink);
}

.a11y-panel__close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	font-size: 18px;
	line-height: 1;
	display: grid;
	place-items: center;
}

.a11y-panel__close:hover {
	background: var(--line);
}

.a11y-panel__intro {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 12px;
}

.a11y-panel__group-title {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--muted);
	margin: 16px 0 4px;
}

.a11y-panel__group-title:first-of-type {
	margin-top: 0;
}

.a11y-panel__action {
	margin-top: 16px;
}

/* Effects applied to <html> when a preference is active */
html.a11y-large-text { font-size: 112.5%; }
html.a11y-larger-text { font-size: 125%; }

html.a11y-high-contrast {
	filter: contrast(1.25);
}
html.a11y-high-contrast body {
	background: #fff;
	color: #000;
}
html.a11y-high-contrast a {
	color: #0b3d91 !important;
}

html.a11y-grayscale {
	filter: grayscale(1);
}

html.a11y-underline-links a {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

html.a11y-readable-font body {
	font-family: 'Lexend', var(--font) !important;
}

html.a11y-line-spacing body {
	line-height: 2 !important;
}

html.a11y-letter-spacing body {
	letter-spacing: 0.04em !important;
}

html.a11y-stop-animations *,
html.a11y-stop-animations *::before,
html.a11y-stop-animations *::after {
	animation-duration: 0.001ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.001ms !important;
	scroll-behavior: auto !important;
}

html.a11y-large-cursor,
html.a11y-large-cursor * {
	cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24"><path d="M4 2l14 8-6 2 4 7-3 2-4-7-4 4z" fill="black" stroke="white" stroke-width="1"/></svg>') 4 4, auto !important;
}

html.a11y-strong-focus *:focus-visible {
	outline: 4px solid var(--olive) !important;
	outline-offset: 3px !important;
}

/* Reading guide: a bar that follows the pointer/keyboard focus, dimming the rest by contrast alone */
.a11y-reading-guide-bar {
	position: fixed;
	inset-inline: 0;
	height: 48px;
	background: rgba(73, 77, 54, 0.14);
	border-top: 2px solid var(--olive);
	border-bottom: 2px solid var(--olive);
	pointer-events: none;
	z-index: 9599;
	display: none;
}

html.a11y-reading-guide .a11y-reading-guide-bar {
	display: block;
}

@media (min-width: 768px) {
	.a11y-widget {
		inset-inline-start: 24px;
		bottom: calc(24px + var(--a11y-lift, 0px));
	}
	.a11y-panel {
		inset-inline-start: 24px;
		bottom: calc(52px + 40px + var(--a11y-lift, 0px));
	}
}

/* Cookie consent: accept-all/necessary-only banner + a settings panel with granular categories */
.cookie-consent-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(35, 37, 31, 0.72);
	z-index: 9500;
}

.cookie-consent-backdrop[hidden] {
	display: none;
}

.cookie-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 16px;
	z-index: 9501;
	display: flex;
	justify-content: center;
	padding-inline: 16px;
	pointer-events: none;
}

.cookie-consent[hidden] {
	display: none;
}

.cookie-consent__card {
	pointer-events: auto;
	background: var(--ivory);
	border: 1px solid var(--line);
	padding: 20px;
	max-width: 520px;
	width: 100%;
}

.cookie-consent__title {
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	margin-bottom: 8px;
}

.cookie-consent__card p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 16px;
}

.cookie-consent__settings-link {
	color: var(--olive);
	font-weight: 500;
	text-decoration: underline;
	text-underline-position: from-font;
}

.cookie-consent__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cookie-consent__actions .btn {
	flex: 1 1 160px;
}

.cookie-settings {
	position: fixed;
	inset: 0;
	z-index: 9502;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.cookie-settings[hidden] {
	display: none;
}

.cookie-settings__card {
	background: var(--ivory);
	border: 1px solid var(--line);
	padding: 24px;
	max-width: 440px;
	width: 100%;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}

.cookie-settings__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.cookie-settings__title {
	font-size: 18px;
	font-weight: 400;
	color: var(--ink);
}

.cookie-settings__close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	font-size: 18px;
	line-height: 1;
	display: grid;
	place-items: center;
}

.cookie-settings__close:hover {
	background: var(--line);
}

.cookie-settings__actions {
	margin-top: 16px;
}

@media (max-width: 480px) {
	.cookie-consent__actions .btn {
		flex-basis: 100%;
	}
}
