/*
 * Dubai Fur Shop — main stylesheet. Mobile first (360 px up).
 * Colour and font tokens are printed inline from inc/brand.php; the values below are fallbacks.
 */

/* ---------- Tokens ---------- */
:root {
	--ink: #1C1A17;
	--paper: #FBF8F3;
	--cream: #F5F0E6;
	--gold-1: #827466;
	--gold-2: #E6AD74;
	--accent-text: #8F7D58;
	--logo-accent: #8F7D58;
	--logo-accent-dark: #C2B59B;
	--muted: #5E574E;
	--muted-dark: #B9B0A2;
	--line: #DDD3C3;
	--field: #8A8174;
	--f-heading: Georgia, "Times New Roman", serif;
	--f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--gold: linear-gradient(90deg, var(--gold-1), var(--gold-2));
	--fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
	--fs-small: .875rem;
	--fs-h1: clamp(2rem, 1.45rem + 2.6vw, 3.5rem);
	--fs-h2: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem);
	--fs-h3: clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
	--space-1: .25rem;
	--space-2: .5rem;
	--space-3: 1rem;
	--space-4: 1.5rem;
	--space-5: clamp(2rem, 1.6rem + 2vw, 3rem);
	--space-6: clamp(3rem, 2.2rem + 4vw, 5.5rem);
	--radius: 2px;
	--container: 1200px;
	--narrow: 760px;
	--gutter: 16px;
	--header-h: 60px;
	--bar-h: 0px;
	--tap: 44px;
	--ease: cubic-bezier(.2, .6, .2, 1);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 76px; } }
@media (max-width: 768px) { :root { --bar-h: calc(56px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* Component display rules (e.g. .lead-form grid) must never override hidden. */
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	min-height: 100vh;
	font-family: var(--f-body);
	font-size: var(--fs-body);
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	padding-bottom: var(--bar-h);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 600; line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; }
p, li, dd { text-wrap: pretty; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.site-footer :focus-visible, .cta-block :focus-visible, .hero__body :focus-visible { outline-color: var(--logo-accent-dark); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utilities ---------- */
.screen-reader-text {
	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:focus {
	position: fixed; top: var(--space-2); left: var(--space-2); z-index: 1000;
	width: auto; height: auto; clip: auto; padding: var(--space-2) var(--space-3);
	background: var(--ink); color: var(--cream);
}
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: var(--tap); padding: .7em 1.4em;
	border: 1px solid var(--ink); border-radius: var(--radius);
	font-size: .9375rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
	text-decoration: none; text-align: center;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #34302A; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: var(--paper); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: var(--muted-dark); }
.btn--outline-light:hover { border-color: var(--cream); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin-top: var(--space-4); }
.cta-note { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--muted); }
.cta-note--light { color: var(--muted-dark); }
.cta-block .cta-note { text-align: center; }
.family { text-align: center; }
.family__text { max-width: 52ch; margin: var(--space-3) auto 0; }
.btn-row > .btn { flex: 1 1 14rem; }
.btn-row--center { justify-content: center; }
.btn-row--center > .btn { flex: 0 1 auto; }
.link, .link-icon, .link-arrow { color: var(--ink); text-decoration: underline; }
.link-icon, .link-arrow { display: inline-flex; align-items: center; gap: .5em; min-height: var(--tap); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; min-height: auto; padding-block: .25em; }
.link-arrow .icon { width: 1em; height: 1em; }

/* ---------- Ornament ---------- */
.ornament-divider {
	width: 44px; height: 44px; margin: 0 auto var(--space-3);
	background: var(--gold);
	-webkit-mask: url(../brand/ornament.svg) center / contain no-repeat;
	mask: url(../brand/ornament.svg) center / contain no-repeat;
}

/* ---------- Promo banner ---------- */
.promo {
	display: flex; align-items: center; justify-content: center; gap: var(--space-2);
	min-height: 40px; padding: .35rem var(--gutter); background: var(--ink); color: var(--cream);
	font-size: var(--fs-small); letter-spacing: .04em; text-align: center;
}
.promo__text { flex: 1; }
.promo__close { display: grid; place-items: center; width: var(--tap); height: var(--tap); margin: -.35rem -.5rem; background: none; border: 0; color: inherit; }
.promo-off .promo { display: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--paper); /* Solid: the translucent color-mix() version was dropped entirely by older engines (transparent header). */
	border-bottom: 1px solid var(--line);
	box-shadow: 0 1px 6px rgb(28 26 23 / .06);
	transition: transform .25s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-3); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; color: var(--ink); min-height: var(--tap); }
.logo__svg { width: auto; height: 30px; --logo-accent: #8F7D58; }
@media (min-width: 1024px) { .logo__svg { height: 38px; } }
.site-header__logo { margin-right: auto; }
.site-header__actions { display: flex; align-items: center; gap: var(--space-1); }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-width: var(--tap); min-height: var(--tap); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (min-width: 1024px) {
	.header-phone span { position: static; width: auto; height: auto; clip: auto; }
}
.lang-switcher:empty { display: none; }

/* Desktop navigation */
.site-nav { display: none; }
@media (min-width: 1024px) {
	.site-nav { display: block; }
	.site-nav__list { display: flex; align-items: center; gap: var(--space-4); list-style: none; padding: 0; font-size: .9375rem; }
	.site-nav__list a, .nav-dd > summary { display: inline-flex; align-items: center; gap: .3em; min-height: var(--tap); text-decoration: none; letter-spacing: .02em; cursor: pointer; }
	.site-nav__list a:hover, .nav-dd > summary:hover { text-decoration: underline; }
	.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent-text); }
	.site-nav__list__group { position: relative; }
	.nav-dd > ul {
		position: absolute; top: 100%; left: -1rem; min-width: 14rem; padding: var(--space-2) 0;
		list-style: none; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px rgb(28 26 23 / .12);
	}
	.nav-dd > ul a { display: flex; padding: .5rem 1rem; min-height: var(--tap); align-items: center; }
}
.nav-dd > summary { list-style: none; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary .icon { width: 1em; height: 1em; transition: transform .2s; }
.nav-dd[open] > summary .icon { transform: rotate(180deg); }

/* Mobile menu */
.m-menu > summary { list-style: none; display: grid; place-items: center; width: var(--tap); height: var(--tap); cursor: pointer; }
.m-menu > summary::-webkit-details-marker { display: none; }
.m-menu__shut, .m-menu[open] .m-menu__open { display: none; }
.m-menu[open] .m-menu__shut { display: block; }
.m-menu__panel {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto;
	padding: var(--space-4) var(--gutter) calc(var(--space-5) + var(--bar-h));
	background: var(--paper); border-top: 1px solid var(--line);
}
.m-menu__list { list-style: none; padding: 0; font-family: var(--f-heading); font-size: 1.375rem; }
.m-menu__list > li { border-bottom: 1px solid var(--line); }
.m-menu__list a, .m-menu__list summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; text-decoration: none; cursor: pointer; }
.m-menu__list .nav-dd ul { list-style: none; padding: 0 0 var(--space-3) var(--space-3); font-family: var(--f-body); font-size: 1rem; }
.m-menu__list .nav-dd ul a { min-height: var(--tap); }
.m-menu__cta { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
@media (min-width: 1024px) { .m-menu { display: none; } }

/* ---------- Mobile bottom CTA bar ---------- */
.cta-bar { display: none; }
@media (max-width: 768px) {
	.cta-bar {
		position: fixed; inset: auto 0 0 0; z-index: 60;
		display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: var(--ink); border-top: 1px solid #34302A;
	}
	.cta-bar__btn {
		display: flex; align-items: center; justify-content: center; gap: .5em;
		min-height: 56px; padding: 0 .5rem; background: var(--ink); color: var(--cream);
		font-weight: 600; font-size: .9375rem; text-decoration: none;
	}
	.cta-bar__btn--alt { background: var(--cream); color: var(--ink); }
}

/* ---------- Sections & page heads ---------- */
.site-main { display: block; }
/* Space before the dark CTA/footer, once for all templates; full-width sections keep their own padding. */
.site-main > :not(.section, .hero, .cta-block) + .cta-block { margin-top: var(--space-6); }
.site-main > :not(.section, .hero, .cta-block):last-child { padding-bottom: var(--space-6); }
.site-main > :not(.section, .hero, .cta-block) > .section:last-child { padding-bottom: 0; }
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-4); }
.section--alt { background: var(--cream); }
.section__title { font-size: var(--fs-h2); text-align: center; margin-bottom: var(--space-5); }
.section__title--left { text-align: left; margin-bottom: var(--space-4); }
.section__title--small { font-size: var(--fs-h3); text-align: left; margin-bottom: var(--space-3); }
.section__more { margin-top: var(--space-5); text-align: center; }
.page-head { padding-block: var(--space-4) var(--space-5); }
.page-head__title { font-size: var(--fs-h1); }
.page-head__lead { max-width: 60ch; margin-top: var(--space-3); color: var(--muted); font-size: 1.0625rem; }
.page-head__meta { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-small); }
.page-head--landing { padding-bottom: var(--space-4); }
.notice-line { margin: calc(-1 * var(--space-2)) 0 var(--space-4); padding: var(--space-3); background: var(--cream); border-left: 2px solid var(--accent-text); }
.empty { padding: var(--space-5) 0; max-width: 60ch; }
.empty .btn { margin-top: var(--space-3); }

/* Breadcrumbs */
.crumbs { padding-top: var(--space-3); font-size: var(--fs-small); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-inline: .5em; }
.crumbs a { display: inline-block; padding-block: .6rem; color: var(--muted); }
.crumbs [aria-current] { display: inline-block; padding-block: .6rem; }

/* ---------- Hero ---------- */
.hero { display: grid; }
.hero__media { aspect-ratio: 1 / 1; max-height: 58svh; width: 100%; overflow: hidden; background: var(--cream); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero__body { padding: var(--space-4) var(--gutter) var(--space-4); }
.hero__title { font-size: var(--fs-h1); max-width: 16ch; }
.hero__text { margin-top: var(--space-3); max-width: 46ch; color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 900px) {
	.hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; min-height: min(78vh, 720px); }
	.hero__media { order: 2; aspect-ratio: auto; max-height: none; }
	.hero__body { align-self: center; padding: var(--space-6) var(--space-5) var(--space-6) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
}

/* ---------- Trust strip ---------- */
.trust { display: grid; gap: var(--space-2) var(--space-4); list-style: none; padding: 0; font-size: .9375rem; }
.trust__item { display: flex; align-items: center; gap: .6em; }
.trust__item a { display: inline-flex; align-items: center; gap: .6em; min-height: var(--tap); text-decoration: none; }
.trust__item a:hover span { text-decoration: underline; }
.trust__item .icon { color: var(--accent-text); width: 1.4em; height: 1.4em; }
.trust__item--rating .icon { color: var(--gold-2); filter: drop-shadow(0 0 0 var(--ink)); }
/* Balanced rows: 5 items → 3 + 2 (narrow containers) or one row of 5 (full width); 4 items → 2 + 2 or one row of 4. */
@media (min-width: 600px) {
	.trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.trust:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	:not(.container--narrow) > .trust { grid-template-columns: repeat(5, auto); justify-content: space-between; }
	:not(.container--narrow) > .trust:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, auto); }
}
.trust--compact { padding-block: var(--space-3); border-block: 1px solid var(--line); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); list-style: none; padding: 0; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); } }
.card__link { display: block; text-decoration: none; }
.card__media { aspect-ratio: 2 / 3; overflow: hidden; background: var(--cream); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__link:hover .card__img { transform: scale(1.03); }
.card__title { margin-top: var(--space-3); font-family: var(--f-body); font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.card__link:hover .card__title { text-decoration: underline; }
.card__meta { margin-top: var(--space-1); font-size: var(--fs-small); color: var(--muted); }

/* Fur type tiles */
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); list-style: none; padding: 0; }
@media (min-width: 600px) { .types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .types { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.type-card { display: block; text-decoration: none; text-align: center; }
.type-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.type-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.type-card:hover img { transform: scale(1.04); }
.type-card__name { display: block; padding-top: var(--space-2); font-family: var(--f-heading); font-size: 1.125rem; }

/* Steps */
.steps { display: grid; gap: var(--space-5); list-style: none; padding: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps__item { counter-increment: step; text-align: center; }
.steps__item::before {
	content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--space-2);
	font-family: var(--f-heading); font-size: 2.5rem; line-height: 1; color: var(--accent-text);
}
.steps__title { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.steps__item p { max-width: 34ch; margin-inline: auto; color: var(--muted); }

/* Testimonials */
.quotes { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { padding: var(--space-4); background: var(--paper); border-top: 2px solid; border-image: var(--gold) 1; }
.section--alt .quote { background: var(--paper); }
.quote__text { font-family: var(--f-heading); font-size: 1.0625rem; line-height: 1.55; }
.quote__author { margin-top: var(--space-3); font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.quotes--all .quote { background: var(--cream); }

/* Store */
.store__title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.store__facts { display: grid; gap: var(--space-3); }
.store__facts dt { display: flex; align-items: center; gap: .5em; font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.store__facts dt .icon { color: var(--accent-text); }
.store__facts dd { margin: .25rem 0 0 1.75em; font-size: 1.0625rem; }
.store__facts dd .link { display: inline-flex; align-items: center; min-height: var(--tap); }
.store__facts address { font-style: normal; }
.hours { border-collapse: collapse; }
.hours th, .hours td { padding: .2rem 1.5rem .2rem 0; text-align: left; font-weight: 400; }

/* ---------- CTA block ---------- */
.cta-block { background: var(--ink); color: var(--cream); padding-block: var(--space-6); text-align: center; }
.cta-block__title { font-size: var(--fs-h2); }
.cta-block__text { max-width: 52ch; margin: var(--space-3) auto 0; color: var(--muted-dark); }
.cta-block .btn-row { justify-content: center; max-width: 36rem; margin-inline: auto; }

/* ---------- Catalog ---------- */
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-3); align-items: end; margin-bottom: var(--space-4); padding: var(--space-3); background: var(--cream); }
@media (min-width: 700px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; } }
.filters__field { display: grid; gap: .3rem; }
.filters label { font-size: var(--fs-small); font-weight: 600; }
.filters select, .search input {
	width: 100%; min-height: var(--tap); padding: .5rem .75rem;
	background: var(--paper); border: 1px solid var(--field); border-radius: var(--radius);
}
.filters__actions { display: flex; align-items: center; gap: var(--space-3); }
.filters__actions .btn { flex: 1; }
.results-count { margin-bottom: var(--space-3); color: var(--muted); font-size: var(--fs-small); }
.pager { margin-top: var(--space-5); }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); list-style: none; padding: 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: var(--tap); min-height: var(--tap); padding-inline: .5rem; text-decoration: none; border: 1px solid transparent; }
.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); color: var(--cream); }
.pager .icon { width: 1em; height: 1em; }

/* ---------- Product ---------- */
.product { display: grid; gap: var(--space-4); padding-top: var(--space-3); }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; } }
.product__title { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); }
.product__code { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-small); letter-spacing: .06em; }
.product__cta { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.product__desc { margin-top: var(--space-4); color: var(--muted); }
.specs { margin-top: var(--space-5); border-top: 1px solid var(--line); }
.specs__row { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: var(--space-3); padding-block: .7rem; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .9375rem; }

.gallery__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto;
	scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
	list-style: none; padding: 0; margin-inline: calc(-1 * var(--gutter));
}
@media (min-width: 900px) { .gallery__track { margin-inline: 0; } }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { scroll-snap-align: start; aspect-ratio: 2 / 3; background: var(--cream); }
.gallery__open { display: block; height: 100%; cursor: zoom-in; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-2); overflow-x: auto; list-style: none; padding: 2px; }
.gallery__thumbs a { display: block; width: 56px; opacity: .6; outline-offset: 1px; }
.gallery__thumbs a[aria-current="true"], .gallery__thumbs a:hover { opacity: 1; box-shadow: 0 2px 0 var(--ink); }
.gallery__thumbs img { width: 56px; height: 56px; object-fit: cover; }

.viewer { width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; background: var(--ink); color: var(--cream); }
.viewer::backdrop { background: rgb(28 26 23 / .95); }
.viewer__img { width: 100%; height: 100%; object-fit: contain; }
.viewer__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; background: rgb(28 26 23 / .6); border: 0; color: var(--cream); }
.viewer__btn--close { top: env(safe-area-inset-top, 8px); right: 8px; }
.viewer__btn--prev { left: 8px; top: 50%; translate: 0 -50%; }
.viewer__btn--next { right: 8px; top: 50%; translate: 0 -50%; }

.video__facade { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.video__poster { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cream); }
.video__play .icon { width: 72px; height: 72px; padding: 18px; background: rgb(28 26 23 / .75); border-radius: 50%; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2em; }
.prose h3, .prose h4 { font-size: 1.125rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose a:not(.btn) { color: var(--ink); }
.prose figure { margin-block: 2em; }
.prose img { height: auto; }
.post-figure { margin-bottom: var(--space-5); }

/* Blog list */
.posts { display: grid; gap: var(--space-5); list-style: none; padding: 0; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card__link { display: block; text-decoration: none; }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { margin-top: var(--space-3); font-size: var(--fs-h3); }
.post-card__link:hover .post-card__title { text-decoration: underline; }
.post-card__excerpt { margin-top: var(--space-2); color: var(--muted); font-size: .9375rem; }

.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); list-style: none; padding: 0; }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photo-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

/* Search & forms */
.search { margin-block: var(--space-4); }
.search label { display: block; margin-bottom: .3rem; font-weight: 600; }
.search__row { display: flex; gap: var(--space-2); }
.search__row input { flex: 1; }
.link-list { margin-top: var(--space-4); }
.form-section { margin-block: var(--space-5); padding: var(--space-4); background: var(--cream); }
.form-placeholder { display: grid; place-items: center; min-height: 12rem; padding: var(--space-4); border: 1px dashed var(--field); color: var(--muted); text-align: center; }
.form-section__alt { margin-top: var(--space-4); }
.form-section .btn { margin-top: var(--space-2); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding-block: var(--space-6) var(--space-4); }
.site-footer::after {
	content: ""; position: absolute; right: -8%; bottom: -12%; width: min(70vw, 520px); aspect-ratio: 1;
	background: var(--gold); opacity: .06; pointer-events: none;
	-webkit-mask: url(../brand/ornament.svg) center / contain no-repeat;
	mask: url(../brand/ornament.svg) center / contain no-repeat;
}
.site-footer a { color: var(--cream); }
.site-footer .logo { color: var(--cream); }
.site-footer .logo__svg { height: 40px; --logo-accent: var(--logo-accent-dark); }
.site-footer__grid { position: relative; z-index: 1; display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer__tagline { margin-top: var(--space-3); max-width: 32ch; color: var(--muted-dark); font-size: .9375rem; }
.site-footer__title { font-size: 1.25rem; margin-bottom: var(--space-3); }
.site-footer__store address { font-style: normal; }
.site-footer__store p { color: var(--muted-dark); }
.site-footer__store .link-icon { color: var(--cream); }
.footer-menu { list-style: none; padding: 0; }
.footer-menu a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.site-footer__legal { position: relative; z-index: 1; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid #3A3631; font-size: var(--fs-small); color: var(--muted-dark); }

/* ---------- Lead form (markup from dfs-core) ---------- */
.lead-form { display: grid; gap: var(--space-3); }
.lead-form__title { font-size: var(--fs-h3); }
.lead-form__grid { display: grid; gap: var(--space-3); }
.lead-form__field { display: grid; gap: .35rem; min-width: 0; }
.lead-form label, .lead-form legend { font-size: .9375rem; font-weight: 600; }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="date"], .lead-form select, .lead-form textarea {
	width: 100%; min-height: var(--tap); padding: .55rem .75rem;
	background: var(--paper); color: var(--ink); border: 1px solid var(--field); border-radius: var(--radius);
}
.lead-form textarea { min-height: 6rem; resize: vertical; }
.lead-form [aria-invalid="true"] { border-color: #A3261B; box-shadow: inset 0 0 0 1px #A3261B; }
.lead-form__phone { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: var(--space-2); }
.lead-form__row { display: grid; gap: var(--space-3); }
@media (min-width: 600px) { .lead-form__row { grid-template-columns: 1.4fr 1fr 1fr; } }
.lead-form__choices { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.lead-form__choices legend { width: 100%; margin-bottom: .35rem; }
.lead-form__choice { display: inline-flex; align-items: center; gap: .45rem; min-height: var(--tap); font-weight: 400 !important; }
.lead-form input[type="radio"], .lead-form input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); flex: none; }
.lead-form__consent label { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: var(--fs-small); }
.lead-form__consent input { margin-top: .15rem; }
.lead-form__error { color: #A3261B; font-size: var(--fs-small); }
.lead-form__summary { padding: var(--space-2) var(--space-3); border-left: 3px solid #A3261B; background: #FBEDEB; color: #6E1810; }
.lead-form__req { color: #A3261B; }
.lead-form__note { color: var(--muted); font-size: var(--fs-small); }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__success { padding: var(--space-4); background: var(--paper); border-top: 2px solid; border-image: var(--gold) 1; }
.lead-form__success-text { font-family: var(--f-heading); font-size: 1.25rem; margin-bottom: var(--space-3); }
.cta-block--form { text-align: left; }
.cta-block--form .cta-block__inner { display: grid; gap: var(--space-5); align-items: start; }
.cta-block--form .ornament-divider { margin-left: 0; }
.cta-block--form .cta-block__text { margin-inline: 0; }
.cta-block--form .btn-row { justify-content: flex-start; margin-inline: 0; }
.cta-block__form { padding: var(--space-4); background: var(--cream); color: var(--ink); }
.cta-block__form .lead-form__success { background: var(--paper); }
@media (min-width: 900px) { .cta-block--form .cta-block__inner { grid-template-columns: 1fr minmax(0, 30rem); } }

/* ---------- Consent banner (markup from dfs-core; fixed, so no layout shift; sits above the mobile CTA bar) ---------- */
.consent {
	position: fixed; z-index: 70; left: var(--gutter); right: var(--gutter); bottom: calc(var(--bar-h) + var(--space-2));
	max-width: 34rem; max-height: calc(100vh - var(--bar-h) - var(--header-h)); overflow-y: auto;
	padding: var(--space-3); background: var(--paper); color: var(--ink);
	border: 1px solid var(--line); box-shadow: 0 10px 40px rgb(28 26 23 / .18); font-size: var(--fs-small);
}
@media (min-width: 769px) { .consent { right: auto; } }
.consent__title { font-size: 1.0625rem; margin-bottom: .25rem; }
.consent__text a { color: var(--ink); }
.consent__settings { margin-top: var(--space-2); }
.consent__settings summary { display: inline-flex; align-items: center; min-height: var(--tap); cursor: pointer; text-decoration: underline; }
.consent__settings label { display: flex; align-items: center; gap: .5rem; min-height: 36px; }
.consent__actions { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.consent__actions .btn, .consent__settings .btn { flex: 1; min-height: 40px; padding: .45em 1em; }

/* ---------- FAQ (details/summary, no JS) ---------- */
.section--faq { padding-block: var(--space-5); }
.faq__title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 56px; padding-block: var(--space-2); cursor: pointer; list-style: none; font-weight: 600; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; flex: none; font-family: var(--f-heading); font-size: 1.5rem; line-height: 1; color: var(--accent-text); transition: transform .2s; }
.faq__item[open] > .faq__q::after { transform: rotate(45deg); }
.faq__a { padding-bottom: var(--space-3); max-width: 68ch; }
.faq__a > * + * { margin-top: .75em; }

/* ---------- Price table ---------- */
.price-table table { width: 100%; border-collapse: collapse; margin-block: var(--space-3); font-size: 1.0625rem; }
.price-table th, .price-table td { padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price-table thead th { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.price-table tbody th { font-family: var(--f-heading); font-weight: 600; font-size: 1.125rem; }
.price-table td, .price-table thead th:last-child { text-align: right; }
.price-table td { white-space: nowrap; font-weight: 600; }
.price-table__note { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Landing without catalog items ---------- */
.landing-photos { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) { .landing-photos { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.landing-photos__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.landing-photos__body p { margin-bottom: var(--space-4); color: var(--muted); max-width: 46ch; }
.product__assurance { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--muted); }
