/* Casa Legacy — site stylesheet v2.0 (2026-11) ------------------------------------------
   Single source of truth for the design system. No framework, no build step required.
   Sections: 1 tokens · 2 reset · 3 typography · 4 layout · 5 header · 6 hero · 7 components
             8 shop · 9 catalogue · 10 forms · 11 footer · 12 overlays · 13 motion · 14 rtl · 15 print
---------------------------------------------------------------------------------------- */

/* 1. TOKENS ------------------------------------------------------------------------- */
:root {
  --ink: #1f1613;          /* near-black espresso: headlines, dark sections */
  --ink-2: #3e2723;        /* brand brown: body text */
  --ink-3: #6d4c41;        /* muted brown: secondary text */
  --ink-4: #78635a;        /* captions (AA on paper) */
  --paper: #f7f2eb;        /* page */
  --paper-2: #efe6da;      /* cards, alternate sections */
  --paper-3: #e6dacb;      /* footer, deeper cream */
  --white: #fffdf9;
  --line: rgba(62, 39, 35, .16);
  --line-strong: rgba(62, 39, 35, .4);
  --brass: #9c7f55;        /* accent: rules, decorative only */
  --brass-ink: #7d6440;    /* accent used for text (AA on paper) */
  --brass-2: #b89968;
  --ok: #4f6b4a;
  --err: #8f3b2f;
  --shadow: 0 24px 60px -30px rgba(31, 22, 19, .45);

  --serif: "Cormorant Garamond", "Cormorant", "Garamond", "Georgia", "Times New Roman", serif;
  --serif-latin: "Cormorant Garamond", "Cormorant", "Garamond", "Georgia", "Times New Roman";
  --sans: "Jost", "Futura", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --arabic: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", "Tahoma", serif;

  --gutter: clamp(16px, 4vw, 72px);
  --container: 1440px;
  --section: clamp(3.5rem, 6.5vw, 6rem);
  --section-sm: clamp(2.5rem, 4.5vw, 3.75rem);
  --header-h: 66px;
  --header-max: 1660px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .7s;
  --logo-url: url("../../images/branding/casa_legacy_logo_web.png");
}

/* 2. RESET -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }   /* v1.5.6: never under the fixed header */
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: var(--sans); font-size: 1rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-top: var(--header-h);
}
body.is-locked { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }
img, video, svg { display: block; max-width: 100%; height: auto; }
img { color: transparent; }   /* hides alt text flash while loading */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.nowrap { white-space: nowrap; }   /* v1.6.3 (audit visual-rtl-08) */
.sr-only { 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 { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--ink); color: var(--white); padding: .6rem 1rem; }
.skip:focus { top: 16px; }
[hidden] { display: none !important; }

/* 3. TYPOGRAPHY --------------------------------------------------------------------- */
.serif, h1, h2, h3, .display { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4.6vw + .5rem, 5rem); overflow-wrap: break-word; }
h2 { overflow-wrap: break-word; }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.15; }
h1, h2, h3 { text-wrap: pretty; }   /* v1.6.3 (audit visual-en-13): no single word alone on the last line of a heading */
h4 { font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: .02em; color: var(--ink); }
em, .em { font-style: italic; }
h1 em, h2 em { font-weight: 300; }
.kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-ink); font-weight: 400; }
.kicker--ink { color: var(--ink-3); }
.lead { font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.65; color: var(--ink-2); font-weight: 300; }
.muted { color: var(--ink-3); }
.u { text-decoration: underline; text-underline-offset: .2em; }
.small { font-size: .85rem; }
.caption { font-size: .78rem; letter-spacing: .06em; color: var(--ink-4); }
.measure { max-width: 62ch; }
.measure--sm { max-width: 46ch; }
.text-center { text-align: center; }
.prose p + p { margin-top: 1.1em; }
.prose h3 { margin: 2.4em 0 .8em; }
.prose h2 { margin: 2.4em 0 .8em; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.15; }   /* v1.5.6: section heads are h2 (were h3), same look */
.prose p { font-size: 1.05rem; line-height: 1.8; }
.prose ul { margin: 1em 0; padding-inline-start: 1.2em; list-style: disc; }
.prose ol { margin: 1em 0; padding-inline-start: 1.2em; list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: start; padding: .6em .4em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--brass); }
.price { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--brass-ink); }

/* 4. LAYOUT ------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 1120px; }
.container--prose { max-width: 760px; }
.section { padding-block: var(--section); }
.section--sm { padding-block: var(--section-sm); }
.section--flush-top { padding-top: 0; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #e9ded1; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .kicker { color: var(--brass-2); }
.section--dark .muted { color: #b9aa9c; }
.section--dark .timeline__when, .section--dark .price-row .price, .section--dark .lead { color: var(--white); }
.section--dark .pillar, .section--dark .timeline__item, .section--dark .price-row, .section--dark .price-table, .section--dark .step, .section--dark .steps { border-color: rgba(255, 255, 255, .18); }
.section--dark .pillar p, .section--dark .step p, .section--dark .price-row p { color: #c9bdb0; }
.section--dark hr, .section--dark .rule { border-color: rgba(255, 255, 255, .14); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; }
.section-head--center { text-align: center; justify-items: center; }
.section-head .lead { margin-top: .4rem; }
.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.rule { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: 1rem; }
.stack--lg > * + * { margin-top: 2rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.cluster--center { justify-content: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.offset { margin-top: 0; }
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .split--rev > :first-child { order: 0; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--4.grid--keep2, .grid--3.grid--keep2, .grid--2.grid--keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* media boxes: layout never depends on image load */
.media { position: relative; overflow: hidden; background: var(--paper-3); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--1x1 { aspect-ratio: 1; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 2 / 3; }
.media--zoom img { transition: transform 1.6s var(--ease); }
a:hover .media--zoom img, .media--zoom:hover img { transform: scale(1.04); }

/* 5. HEADER ------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease);
}
@media (max-width: 1020px) { .header.is-hidden { transform: translateY(-100%); } .header.is-hidden:has(:focus-visible) { transform: none; } }   /* v1.6.3 (audit func-bugs-02): Tab into the hidden header shows it */
.header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; width: 100%; max-width: var(--header-max); }
.header__end { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1rem, 2vw, 2rem); min-width: 0; }
.header__nav { display: flex; gap: clamp(.9rem, 1.6vw, 1.8rem); justify-content: flex-start; align-items: center; min-width: 0; }
.header__nav--right { justify-content: flex-end; flex: none; }
.header__right { display: flex; gap: clamp(.5rem, 1.2vw, 1.1rem); justify-content: flex-end; align-items: center; flex: none; }
.header__right .icon-btn { min-width: 36px; justify-content: center; }
.nav-link { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: .5rem 0; position: relative; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .2rem; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-open::after { right: 0; }
.logo { display: inline-flex; align-items: center; justify-content: center; height: 44px; width: 150px; color: inherit; }
.logo__img { height: 44px; width: auto; background-color: currentColor; -webkit-mask: var(--logo-url) center / contain no-repeat; mask: var(--logo-url) center / contain no-repeat; width: 150px; }
.logo__text { font-family: var(--serif); font-style: italic; font-size: 1.65rem; letter-spacing: .02em; white-space: nowrap; display: none; }
.logo.is-text .logo__img { display: none; }
.logo.is-text .logo__text { display: block; }
.has-menu { position: relative; display: flex; align-items: center; height: var(--header-h); }
.menu-panel {
  position: absolute; top: calc(100% - 6px); inset-inline-start: -1.5rem; display: flex; gap: 26px; padding: 26px 30px 30px;
  background: var(--paper); color: var(--ink); box-shadow: rgba(25, 10, 7, .34) 0 22px 44px -28px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.menu-col { min-width: 130px; }
.menu-col .menu-h { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink); padding-bottom: 9px; margin-bottom: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.has-menu:hover .menu-panel, .has-menu:focus-within .menu-panel, .has-menu.is-open .menu-panel { opacity: 1; visibility: visible; transform: none; }
.menu-panel a { display: block; padding: 4px 0; font-size: .9rem; line-height: 1.65; color: var(--ink-3); white-space: nowrap; transition: color .2s; }
.menu-panel a:hover { color: var(--ink); }
.icon-btn { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: .5rem 0; position: relative; }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.badge { position: absolute; top: 0; inset-inline-end: -10px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--brass-ink); color: #fff; font-size: .62rem; display: grid; place-items: center; padding-inline: 4px; letter-spacing: 0; }
.badge:empty, .badge[data-n="0"] { display: none; }
.lang { position: relative; }
.lang__btn { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: .5rem 0; display: inline-flex; align-items: center; gap: .35rem; }
.lang__btn svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.lang__list { position: absolute; top: 100%; inset-inline-end: 0; min-width: 150px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; padding: .5rem 0; }
.lang.is-open .lang__list, .lang:focus-within .lang__list { opacity: 1; visibility: visible; transform: none; }
.has-menu.is-dismissed .menu-panel, .lang.is-dismissed .lang__list { opacity: 0; visibility: hidden; }   /* v1.5.6: closed with Escape (after the :hover / :focus-within rules, so it wins) */
.lang__list a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 1rem; font-size: .9rem; }
.lang__list a:hover, .lang__list a[aria-current="true"] { background: var(--paper-2); }
.lang__list a span:last-child { color: var(--ink-4); font-size: .75rem; letter-spacing: .1em; }
/* narrow desktop (1021–1279): tighter type so both nav groups clear the centred wordmark — must follow the base rules above */
@media (max-width: 1279px) { .nav-link { font-size: .72rem; letter-spacing: .1em; } .header__nav { gap: 1.3rem; } .header__end { gap: 1rem; } .lang__btn { font-size: .72rem; } }
.burger { display: none; width: 40px; height: 40px; place-items: center; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.header__cta { display: inline-flex; }
.header .header__cta { color: var(--ink); border-color: var(--ink); background: transparent; }
.header .header__cta:hover { background: var(--ink); color: var(--white); }
@media (max-width: 1699px) { .header__inner .header__cta { display: none; } }
@media (max-width: 1899px) { :root[lang="ru"] .header__inner .header__cta, :root[lang="ar"] .header__inner .header__cta { display: none; } }
@media (max-width: 1020px) {
  .header__inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .header__nav { display: none; }
  .logo { justify-self: center; }
  .burger { display: grid; width: 44px; height: 44px; margin-inline-start: -8px; }
  .header__end { gap: 0; }
  .header__right { gap: .25rem; }
  .header__right .icon-btn { min-width: 44px; min-height: 44px; justify-content: center; }
  .header__right .lang { display: none; }
}
/* mobile drawer — 1937 reference: a panel from the start edge (86 % / max 420 px), site dimmed behind, close inside the panel */
.scrim { position: fixed; inset: 0; z-index: 305; background: rgba(25, 10, 7, .55); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(86%, 420px); z-index: 310; background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
  box-shadow: 0 0 60px rgba(25, 10, 7, .25);
}
[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.drawer__logo, .drawer__logo .logo__img { width: 110px; height: 32px; }
.drawer__logo { justify-content: flex-start; }
.drawer__close { width: 44px; height: 44px; display: grid; place-items: center; margin-inline-end: -12px; }
.drawer__close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.drawer__nav { flex: 1 1 auto; overflow-y: auto; padding: .4rem var(--gutter) 1.5rem; }
.drawer__item, .drawer__link { border-bottom: 1px solid var(--line); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; }
.drawer__row > a, .drawer__link { display: block; flex: 1; padding: 1.05rem 0; font-size: .86rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.drawer__plus { position: relative; width: 44px; height: 44px; margin-inline-end: -12px; flex: none; }
.drawer__plus::before, .drawer__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.drawer__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.drawer__item.is-open .drawer__plus::after { transform: translate(-50%, -50%) rotate(0); }
.drawer__sub { display: none; padding: 0 0 1rem; }
.drawer__item.is-open .drawer__sub { display: grid; }
.drawer__sub a { display: block; font-size: .95rem; padding: .4rem 0; color: var(--ink-3); }
.drawer__foot { flex: none; background: var(--ink); color: #b9a896; padding: 1.4rem var(--gutter) 1.9rem; display: grid; gap: .25rem; }
.drawer__foot a { display: block; padding: .3rem 0; font-size: .95rem; color: #b9a896; }

/* 6. HERO --------------------------------------------------------------------------- */
.hero { position: relative; min-height: clamp(560px, 70svh, 880px); display: grid; align-items: end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero--short { min-height: 72svh; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 12, .58) 0%, rgba(20, 14, 12, .18) 28%, rgba(20, 14, 12, .12) 50%, rgba(20, 14, 12, .74) 100%); }
.hero__media--kb img { animation: kenburns 18s var(--ease) both; }
/* v1.5.9: light photo behind white text (gift certificate hero) — a side scrim keeps the lead at WCAG AA */
.hero__media--light::after { background: linear-gradient(90deg, rgba(20, 14, 12, .80) 0%, rgba(20, 14, 12, .64) 50%, rgba(20, 14, 12, 0) 85%), linear-gradient(180deg, rgba(20, 14, 12, .52) 0%, rgba(20, 14, 12, .16) 40%, rgba(20, 14, 12, .70) 100%); }
[dir="rtl"] .hero__media--light::after { background: linear-gradient(270deg, rgba(20, 14, 12, .80) 0%, rgba(20, 14, 12, .64) 50%, rgba(20, 14, 12, 0) 85%), linear-gradient(180deg, rgba(20, 14, 12, .52) 0%, rgba(20, 14, 12, .16) 40%, rgba(20, 14, 12, .70) 100%); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem); width: 100%; }
@media (max-width: 600px) { .hero { min-height: clamp(520px, 72svh, 700px); } .hero__inner { padding-bottom: 5.5rem; } }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .kicker { color: rgba(255, 255, 255, .88); margin-bottom: 1.4rem; text-wrap: balance; }
.hero .lead { color: #efe6da; max-width: 48ch; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; margin-top: 2.2rem; }
.hero__scroll { position: absolute; bottom: 1.5rem; inset-inline-end: var(--gutter); z-index: 1; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: #d9c7a7; writing-mode: vertical-rl; }
.page-hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .kicker { margin-bottom: 1.2rem; }
.page-hero .lead { margin-top: 1.4rem; }
.page-hero--dark { background: var(--ink); color: #e9ded1; }
.page-hero--dark h1 { color: var(--white); }
.page-hero--media { position: relative; min-height: 64svh; display: grid; align-items: end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero--media h1 { color: var(--white); }
.page-hero--media .kicker { color: rgba(255, 255, 255, .88); margin-bottom: 1.2rem; text-wrap: balance; }
.page-hero--media .lead { margin-top: 1.4rem; }
.page-hero--media .hero__inner { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero--media .lead { color: #efe6da; }

/* 7. COMPONENTS --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .85rem 1.9rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; line-height: 1.2;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  border-radius: var(--radius); white-space: nowrap;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--brass { background: var(--brass-ink); border-color: var(--brass-ink); color: #fff; }
.btn--brass:hover { background: #87693f; border-color: #87693f; }
.btn--wa { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.btn--wa:hover { background: #16603b; border-color: #16603b; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: .6rem 1.3rem; font-size: .7rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; filter: grayscale(1); }
:root[lang="ru"] .btn, :root[lang="ru"] .nav-link, :root[lang="ru"] .kicker, :root[lang="ru"] .link { letter-spacing: .12em; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } .hero__actions .btn { width: 100%; } }
.link { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink); position: relative; padding: .3rem 0; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .4s var(--ease); }
.link:hover::after { transform: scaleX(.4); }
.section-head > .link, .method > .link, .bag__foot > .link { justify-self: start; }   /* v1.6.3 (audit visual-en-05) */
.link--light { color: var(--white); }
.link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
[dir="rtl"] .link svg, [dir="rtl"] .btn svg.arrow { transform: scaleX(-1); }
.card { display: block; }
.card__title { font-family: var(--serif); font-size: 1.5rem; margin-top: 1rem; color: var(--ink); line-height: 1.2; }
.card__text { margin-top: .5rem; color: var(--ink-3); font-size: .95rem; }
.card--bespoke .media { aspect-ratio: 4 / 5; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.pillar { border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.pillar__n { font-family: var(--serif); font-size: 1.1rem; color: var(--brass-ink); letter-spacing: .1em; }
.pillar h3 { font-size: 1.5rem; margin: .6rem 0 .6rem; }
.pillar p { color: var(--ink-3); font-size: .95rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.3rem; }
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; color: var(--ink-3); }
.marquee__track span::after { content: "·"; margin-inline-start: 4rem; color: var(--brass); }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }   /* v1.5.6: a tap or click pauses it too */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media .media { aspect-ratio: 4 / 5; }
.feature__body .kicker { margin-bottom: 1rem; }
.feature__body h2 { margin-bottom: 1.2rem; }
.feature__body p + p { margin-top: 1em; }
.feature__body .btn, .feature__body .link { margin-top: 1.8rem; }
.feature__list { margin-top: 1.4rem; display: grid; gap: .5rem; }
.feature__list li { position: relative; padding-inline-start: 1.4rem; font-size: .98rem; }
.feature__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: .6rem; height: 1px; background: var(--brass); }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .feature--rev .feature__media { order: 0; } }
.steps { display: grid; gap: 0; border-top: 1px solid var(--line-strong); min-width: 0; }
.step, .step > * { min-width: 0; }
.step { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem 2.5rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.step__n { font-family: var(--serif); font-size: 2.4rem; color: var(--brass-ink); line-height: 1; }
.step h3 { font-size: 1.7rem; }
.step__sub { color: var(--ink-3); margin-top: .35rem; font-style: italic; font-family: var(--serif); font-size: 1.15rem; }
.step p { color: var(--ink-2); }
@media (max-width: 760px) { .step { grid-template-columns: 60px minmax(0, 1fr); } .step p { grid-column: 2; } }
@media (max-width: 480px) { .step { grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; } .step__n { font-size: 1.8rem; } }
.step__wide { grid-column: 2 / -1; }
.contents { display: contents; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.timeline__item { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.timeline__when { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1; }
.timeline__item h3 { font-size: 1.25rem; margin: .8rem 0 .4rem; font-family: var(--sans); font-weight: 500; }
.timeline__item p { color: var(--ink-3); font-size: .95rem; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .timeline { grid-template-columns: minmax(0, 1fr); } }
/* v1.7.0: a timeline of three steps (wedding commissions, Gleb 09.11.2026) fills the row — three columns on a desktop,
   one column from 900 px down (two columns would leave the third step alone on its row) */
.timeline--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .timeline--3 { grid-template-columns: minmax(0, 1fr); } }
.price-table { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.price-row h3 { font-size: 1.5rem; }
.price-row .price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); white-space: nowrap; }
.price-row p { grid-column: 1 / -1; color: var(--ink-3); font-size: .95rem; max-width: 70ch; }
.mills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); }
.mill { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.mill h3 { font-size: 1.6rem; }
.mill__meta { display: block; margin: .3rem 0 .7rem; }
.mill p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 760px) { .mills { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.3rem; color: var(--brass-ink); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 70ch; }
.journal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.article-card .media { aspect-ratio: 4 / 5; }
.article-card__meta { display: flex; gap: 1rem; margin-top: 1rem; }
.article-card h3 { font-size: 1.55rem; margin-top: .5rem; }
.article-card p { margin-top: .6rem; color: var(--ink-3); font-size: .95rem; }
@media (max-width: 900px) { .journal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .journal-list { grid-template-columns: minmax(0, 1fr); } }
.article { padding-top: 3rem; }
.article__head { max-width: 820px; margin-inline: auto; text-align: center; }
.article__head h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); margin-top: 1rem; }
.article__meta { display: flex; justify-content: center; gap: 1.2rem; margin-top: 1.2rem; }
.article__cover { margin: 3rem auto 0; max-width: 1120px; }
.article__cover .media { aspect-ratio: 16 / 9; }
.article__body { max-width: 720px; margin: 3rem auto 0; }
.article__body p { font-size: 1.1rem; line-height: 1.85; }
.article__body p + p { margin-top: 1.3em; }
.article__body h3 { margin: 2.4em 0 .8em; }
.article__body h2 { margin: 2.4em 0 .8em; }
.article__body p:first-of-type::first-letter { font-family: var(--serif); font-size: 3.6em; float: inline-start; line-height: .8; padding-inline-end: .12em; color: var(--brass-ink); }
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; color: var(--ink); max-width: 26ch; }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 1.5rem; color: var(--ink-3); }
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.visit__facts { display: grid; gap: 1.5rem; margin-top: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.visit__facts dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: .4rem; }
.visit__facts dd { margin: 0; }
@media (max-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr); } }
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.closing p { margin: 1.2rem auto 0; max-width: 48ch; }
.closing .btn { margin-top: 2rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.tile { position: relative; display: block; color: var(--white); }
.tile .media { aspect-ratio: 3 / 4; }
.tile .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 12, 0) 45%, rgba(20, 14, 12, .75) 100%); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: 1.5rem; z-index: 1; }
.tile__body h3 { color: var(--white); font-size: 1.8rem; }
.tile__body p { color: #e4d8ca; font-size: .9rem; margin-top: .3rem; }
.tile__body .link { margin-top: 1rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 601px) and (max-width: 900px) { .tiles > :last-child:nth-child(odd), .journal-list > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--gutter)) / 2); } }   /* v1.6.3 (audit visual-en-14) */
.notice { padding: 1rem 1.25rem; background: var(--paper-2); border-inline-start: 2px solid var(--brass); font-size: .92rem; }
.notice--dark { background: rgba(255, 255, 255, .06); }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-block: .25rem; scroll-snap-type: x proximity; }
/* phone: the row scrolls; a fade marks the hidden end (.is-more) and the hidden start once scrolled (.is-less) */
.chips.is-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.chips.is-less { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
.chips.is-less.is-more { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
[dir="rtl"] .chips.is-more { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent); }
[dir="rtl"] .chips.is-less { -webkit-mask-image: linear-gradient(to left, transparent, #000 56px); mask-image: linear-gradient(to left, transparent, #000 56px); }
[dir="rtl"] .chips.is-less.is-more { -webkit-mask-image: linear-gradient(to left, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to left, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
/* tablet and up: every chip stays visible — the row wraps instead of scrolling */
@media (min-width: 768px) { .chips { flex-wrap: wrap; overflow: visible; row-gap: .6rem; } .chips.is-more, .chips.is-less { -webkit-mask-image: none; mask-image: none; } }
.chips::-webkit-scrollbar { display: none; }
.chip:focus-visible { outline-offset: -4px; }   /* v1.5.6 */
.chips:has(.chip:focus-visible) { scroll-padding-inline: 56px; scroll-snap-type: none; }   /* v1.5.6: only while a chip has keyboard focus (snapping would pull it back under the fade); the resting scroll position of the row is unchanged */
.chip { flex: none; padding: .55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; scroll-snap-align: start; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip small { opacity: .72; margin-inline-start: .35rem; letter-spacing: 0; font-size: .95em; }
.dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.5rem; font-size: .95rem; }   /* v1.6.3 (audit visual-en-12): margin 0 */
.dl dt { color: var(--ink-4); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding-top: .25rem; }
.dl dd { margin: 0; }
.dl dd a, .visit__facts dd a { display: inline-block; padding: .2rem 0; margin: -.2rem 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .5; }
.icon-list { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icon-list li { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.icon-list h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.icon-list p { color: var(--ink-3); font-size: .95rem; }
@media (min-width: 901px) { .icon-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }   /* v1.6.3 (audit visual-en-06) */
.icon-list--4 li { display: flex; flex-direction: column; align-items: flex-start; }
.icon-list--4 li > p { margin-bottom: 1rem; }
.icon-list--4 li > .link { margin-top: auto; }
@media (max-width: 900px) { .icon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .icon-list { grid-template-columns: minmax(0, 1fr); } }

/* 8. SHOP --------------------------------------------------------------------------- */
.shop-bar { position: static; background: var(--paper); border-bottom: 1px solid var(--line); padding-block: .75rem; }
.shop-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; }
.shop-bar__meta { display: flex; align-items: center; gap: 1.25rem; flex: none; margin-inline-start: auto; }
.shop-bar .chips { margin-inline: 0; padding-inline: 0; flex: 1; min-width: 0; }
@media (max-width: 1439px) { .shop-bar .chips, .shop-bar__inner > .chips { flex: 1 1 100%; } .shop-bar__meta { width: 100%; justify-content: space-between; margin: 0; } }
/* sort: an inline-grid wrapper mirrors the selected label so the <select> is exactly as wide as its text + caret */
.sort { position: relative; display: inline-block; }
.sort::after { content: attr(data-label); display: block; visibility: hidden; white-space: nowrap; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 1.4rem .5rem 0; }
.shop-bar .sort select, .sort select { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; }
.shop-bar select { border: 0; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 1.4rem .5rem 0; cursor: pointer; width: auto; appearance: none; -webkit-appearance: none; background: linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 9px) 55% / 5px 5px no-repeat, linear-gradient(135deg, currentColor 50%, transparent 50%) calc(100% - 4px) 55% / 5px 5px no-repeat; }
[dir="rtl"] .shop-bar select, [dir="rtl"] .sort::after { padding: .5rem 0 .5rem 1.4rem; }
[dir="rtl"] .shop-bar select { background-position: 4px 55%, 9px 55%; }   /* v1.6.3 (audit visual-rtl-01): the caret points down */
.shop-count { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem) var(--gutter); }
@media (min-width: 1400px) { .products:not(.products--3) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; } }
@media (min-width: 901px) { .products--related > .product:nth-child(4) { display: none; } }   /* v1.6.3 (audit visual-en-07) */
.product { position: relative; display: flex; flex-direction: column; }
.product.is-hidden { display: none; }
.product__media { aspect-ratio: 3 / 4; position: relative; overflow: hidden; background: var(--paper-2); }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.product__media img.alt { opacity: 0; }
.product:hover .product__media img.alt { opacity: 1; }
.product:hover .product__media img.main { transform: scale(1.03); }
.product__body { padding: .8rem 0 .75rem; border-bottom: 1px solid var(--line); flex: 1 1 auto; display: flex; flex-direction: column; }
.product__cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-4); }
@media (max-width: 400px) { .products .product__cat { min-height: 3.3em; } }   /* v1.6.3 (audit visual-en-15) */
.product__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; margin-top: .3rem; color: var(--ink); }
.product__price { margin-top: auto; padding-top: .35rem; font-size: .95rem; color: var(--ink-2); }
.product__flag { position: absolute; top: .75rem; inset-inline-start: .75rem; background: var(--paper); color: var(--ink); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; padding: .35rem .6rem; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 6rem); padding-top: 2rem; }
.pdp__gallery { position: relative; }
.pdp__track { display: grid; gap: 1rem; }
.pdp__track .media { aspect-ratio: 3 / 4; }
.pdp__arrow, .pdp__dots { display: none; }
.pdp__info { position: sticky; top: var(--pdp-top, calc(var(--header-h) + 1.5rem)); align-self: start; }   /* v1.6.3 (audit visual-en-01/04): --pdp-top from main.js */
.pdp__info h1 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-top: .8rem; }
.pdp__price { font-size: 1.35rem; margin-top: 1rem; color: var(--ink); }
.pdp__desc { margin-top: 1.5rem; color: var(--ink-2); }
.pdp__row { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.pdp__row .link { font-size: .68rem; padding: .6rem 0; }
.sizes { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.size { min-width: 58px; height: 46px; padding-inline: .9rem; border: 1px solid var(--line-strong); display: inline-grid; place-items: center; font-size: .9rem; transition: all .25s var(--ease); }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pdp__actions { margin-top: 1.5rem; display: grid; gap: .75rem; }
.pdp__hint { font-size: .85rem; color: var(--err); min-height: 1.2em; margin-top: .5rem; }
.acc { border-top: 1px solid var(--line); margin-top: 2rem; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--brass-ink); font-size: 1.1rem; }
.acc details[open] summary::after { content: "–"; }
.acc .acc__body { padding-bottom: 1.2rem; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .pdp__info { position: static; }
  .pdp__gallery { margin-inline: calc(var(--gutter) * -1); }
  .pdp__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pdp__track::-webkit-scrollbar { display: none; }
  .pdp__track .media { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .pdp__arrow { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(247, 242, 235, .85); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); z-index: 2; }
  .pdp__arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .pdp__arrow--prev { inset-inline-start: .75rem; }
  .pdp__arrow--next { inset-inline-end: .75rem; }
  [dir="rtl"] .pdp__arrow svg { transform: scaleX(-1); }
  .pdp__dots { display: flex; justify-content: center; gap: .45rem; position: absolute; bottom: .9rem; left: 0; right: 0; z-index: 2; }
  .pdp__dots button { width: 24px; height: 24px; position: relative; }
  .pdp__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(247, 242, 235, .6); border: 1px solid rgba(31, 22, 19, .3); }
  .pdp__dots button[aria-current="true"]::before { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 1px rgba(247, 242, 235, .9); }   /* v1.5.8: a light ring keeps the current dot visible on the dark fabric photos */
}
/* bag drawer */
.bag { position: fixed; top: 0; inset-inline-end: 0; bottom: 0; width: min(440px, 100%); z-index: 330; background: var(--paper); color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; box-shadow: var(--shadow); }
[dir="rtl"] .bag { transform: translateX(-100%); }
.bag.is-open { transform: none; visibility: visible; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem var(--gutter); border-bottom: 1px solid var(--line); }
.bag__head h2 { font-size: 1.6rem; }
.bag__close { min-width: 44px; min-height: 44px; justify-content: center; margin-block: -4.5px; margin-inline-end: -12px; }   /* v1.5.6: a 44 px target, the cross stays where it was */
.bag__items { overflow-y: auto; padding: 0 var(--gutter); }
.bag__item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag__item .media { aspect-ratio: 3 / 4; }
.bag__item h3 { font-size: 1.1rem; }
.bag__item .muted { font-size: .85rem; }
.sku { display: inline-block; }   /* v1.6.3 (audit visual-rtl-06): CL-SU-02-ASH stays whole */
.bag__qty { display: inline-flex; align-items: center; gap: .6rem; margin-top: .5rem; font-size: .9rem; }
.bag__qty button { width: 26px; height: 26px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.bag__remove { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.bag__remove:hover { color: var(--err); }
.bag__empty { padding: 3rem 0; text-align: center; color: var(--ink-3); }
.bag__foot { padding: 1.25rem var(--gutter) 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.bag__total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.overlay { position: fixed; inset: 0; background: rgba(31, 22, 19, .45); z-index: 320; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.overlay.is-open { opacity: 1; visibility: visible; }
/* checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: var(--section); }   /* v1.6.3 (audit func-bugs-05): the card box no longer sits on the footer */
.checkout__list { border-top: 1px solid var(--line-strong); }
.checkout__methods { display: grid; gap: 1rem; margin-top: 1.5rem; }
.method { border: 1px solid var(--line); padding: 1.25rem; display: grid; gap: .75rem; }
.method h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 500; }
.method p { font-size: .9rem; color: var(--ink-3); }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
/* size guide modal */
.modal { position: fixed; inset: 0; z-index: 340; display: grid; place-items: center; padding: 1rem; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; background: rgba(31, 22, 19, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { background: var(--paper); color: var(--ink); width: min(760px, 100%); max-height: 90svh; overflow-y: auto; padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem); position: relative; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .25); border-radius: 2px; }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--paper); padding: 1.25rem 0 .75rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.modal__head h2 { margin: 0; }
.modal__close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; flex: none; }
.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.modal h2 { font-size: 2rem; margin-bottom: .5rem; }
.modal h3 { font-size: 1.1rem; font-family: var(--sans); font-weight: 500; margin: 1.8rem 0 .6rem; letter-spacing: .04em; }
.modal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.modal th, .modal td { padding: .55rem .5rem; border-bottom: 1px solid var(--line); text-align: start; }
.modal th { font-weight: 500; color: var(--ink-3); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* 9. CATALOGUE ---------------------------------------------------------------------- */
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.cat-tile { display: flex; flex-direction: column; }   /* v1.5.5: the caption fills the tile, so the lines of one row sit at one height */
.cat-tile .media { aspect-ratio: 3 / 4; }
.cat-tile__cap { flex: 1 0 auto; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0 .7rem; border-bottom: 1px solid var(--line); }
.cat-tile h3 { font-size: 1.35rem; }
.cat-tile span { color: var(--ink-4); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1100px) { .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; } .cat-tile__cap { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: .3rem; } }   /* v1.5.5: two columns — the count goes under the name instead of out of the tile */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem) var(--gutter); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1100px) { .cat-grid--preview > :nth-child(n+7) { display: none; } }   /* v1.6.3 (audit visual-en-14): 3 + 3, not 3 + 3 + 2 */
@media (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; } }
.cat-item { text-align: start; width: 100%; display: flex; flex-direction: column; height: 100%; }
.cat-item > .media, .cat-item__name, .cat-item__meta { display: block; }
.cat-item.is-hidden { display: none; }
.cat-item .media { aspect-ratio: 3 / 4; }
.cat-item__name { font-family: var(--serif); font-size: 1.1rem; margin-top: .75rem; color: var(--ink); line-height: 1.2; }
.cat-item__meta { font-size: .8rem; color: var(--ink-4); margin-top: auto; padding-top: .2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.lightbox { position: fixed; inset: 0; z-index: 330; background: rgba(31, 22, 19, .92); color: var(--white); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 3.5rem 4rem; min-height: 0; }
.lightbox__stage img { max-height: calc(100svh - 7rem); width: auto; max-width: 100%; object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.lightbox__nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lightbox__nav--prev { inset-inline-start: 1rem; }
.lightbox__nav--next { inset-inline-end: 1rem; }
[dir="rtl"] .lightbox__nav svg { transform: scaleX(-1); }   /* v1.5.5: in Arabic the arrows point outwards, like the product gallery */
.lightbox__panel { background: var(--paper); color: var(--ink); padding: 3.5rem 2rem 2rem; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lightbox__panel h2 { font-size: 1.9rem; }
.lightbox__panel .dl { margin-top: 1.5rem; }
.lightbox__panel .btn { margin-top: 1.5rem; }
.lightbox__pieces { margin-top: 1.5rem; display: grid; gap: .6rem; }
.lightbox__pieces a { display: grid; grid-template-columns: 48px 1fr; gap: .8rem; align-items: center; font-size: .9rem; }
.lightbox__pieces .media { aspect-ratio: 3 / 4; }
.lightbox__close { position: absolute; top: 1rem; inset-inline-end: 1rem; width: 44px; height: 44px; display: grid; place-items: center; z-index: 2; color: var(--ink); background: var(--paper); border-radius: 50%; }
.lightbox__close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lightbox__count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .2em; color: #d9c7a7; }
@media (max-width: 900px) { .lightbox { display: block; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } .lightbox__stage { padding: 3.5rem 3.2rem 2.5rem; min-height: 62svh; } .lightbox__stage img { max-height: 58svh; } .lightbox__panel { padding: 1.25rem var(--gutter) 2rem; max-height: none; overflow: visible; } .lightbox__close { position: fixed; color: var(--white); background: rgba(255,255,255,.12); } }

/* 10. FORMS ------------------------------------------------------------------------- */
.form { display: grid; gap: 1.4rem; }
.form--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: .45rem; }
.field label, .field > span.label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; padding: .55rem 0; border-radius: 0; transition: border-color .25s; }
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }   /* v1.6.3 (audit visual-en-02): radios keep the focus ring */
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 1.6rem; }
[dir="rtl"] .field select { background-position: 9px 55%, 14px 55%; padding-inline-end: 0; padding-inline-start: 1.6rem; }   /* v1.6.3 (audit visual-rtl-01) */
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field__err { font-size: .8rem; color: var(--err); display: none; }
.field.is-invalid .field__err { display: block; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .88rem; color: var(--ink-3); }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--ink); flex: none; }
.check.is-invalid { color: var(--err); }   /* v1.5.5: an unticked consent box is shown in red instead of the form doing nothing */
.check.is-invalid input { outline: 2px solid var(--err); outline-offset: 2px; }
.check.is-invalid + .field__err { display: block; margin-top: -.25rem; }   /* v1.5.6: the consent error is said in words, not only in red */
.radios { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.radios label { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.radios input { accent-color: var(--ink); width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form__status { font-size: .95rem; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.form-done { padding: 2rem; background: var(--paper-2); border-inline-start: 2px solid var(--brass); }
.form-done:focus, .gift-status:focus, .quiz__q:focus, [data-r-title]:focus { outline: none; }   /* v1.5.6: focused only so screen readers announce the result / the next question */
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); opacity: 1; }   /* v1.5.6: 5.0:1 (the browser grey was 4.1:1) */
.form-done h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.form-done .btn { margin-top: 1.2rem; }
.turnstile { min-height: 0; }
@media (max-width: 640px) { .form--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .form .cluster > .btn { width: 100%; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 7rem); }
.contact-facts { margin: 0; display: grid; gap: 1.6rem; align-content: start; }   /* v1.6.3 (audit visual-en-12): level with the form */
.contact-facts dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: .35rem; }
.contact-facts dd { margin: 0; }
.contact-facts dd > a { display: inline-block; padding: .3rem 0; }
.contact-facts a:hover { color: var(--brass-ink); }   /* v1.6.3 (audit visual-en-09): 5.0:1 on paper (was 3.4:1) */
.map { margin-top: 1rem; }
.map__btn { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); text-align: center; padding: 1.5rem; width: 100%; }
.map { background: var(--paper-2); border: 1px solid var(--line); min-height: 240px; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
/* quiz */
.quiz { max-width: 820px; margin-inline: auto; }
.quiz__progress { height: 1px; background: var(--line); margin-bottom: 2.5rem; position: relative; }
.quiz__progress span { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; background: var(--brass); transition: width .5s var(--ease); }
.quiz__q { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.quiz__answers { display: grid; gap: .75rem; margin-top: 2rem; }
.answer { text-align: start; display: grid; gap: .25rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); background: var(--white); transition: border-color .25s, background .25s; }
.answer:hover { border-color: var(--ink); }
.answer[aria-pressed="true"] { border-color: var(--ink); background: var(--paper-2); }
.answer strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.answer span { font-size: .9rem; color: var(--ink-3); }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 2rem; }
.result { display: grid; gap: 2rem; }
.result__block { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.result__block h3 { font-size: 1.7rem; margin: .4rem 0 .6rem; }

/* 11. FOOTER ------------------------------------------------------------------------ */
.footer { --f-text: #b9a896; --f-head: #c2a88c; --f-line: rgba(194, 168, 140, .2); background: var(--ink); color: var(--f-text); padding-top: clamp(3rem, 5vw, 5.4rem); }
.footer__inner { max-width: var(--container); }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.5fr; gap: 2rem 3rem; padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.footer__brand .logo { height: 36px; width: 130px; margin-bottom: 1.4rem; justify-content: flex-start; color: var(--f-head); }
.footer__brand .logo__img { height: 36px; width: 130px; }
.footer__brand p { font-size: .9rem; line-height: 1.65; max-width: 30ch; }
.footer .foot-h { font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--f-head); margin-bottom: .9rem; }
.footer ul + .foot-h { margin-top: 1.9rem; }
.footer li { font-size: .9rem; line-height: 1.65; padding: .2rem 0; }
.footer a { color: var(--f-text); transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer a[href^="mailto:"] { white-space: nowrap; }
.footer__label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--f-head); margin-bottom: .35rem; }
.footer address { font-style: normal; font-size: .9rem; line-height: 1.65; }
.footer__hours { font-size: .9rem; margin-top: .35rem; }
.footer__contacts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem 1.25rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--f-line); font-size: .9rem; }
.footer__contacts dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--f-head); padding-top: .2rem; }
.footer__contacts dd { margin: 0; }
.footer__contacts a, .footer__bar a { display: inline-block; padding: .25rem 0; margin: -.25rem 0; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; padding: 1.25rem 0; border-top: 1px solid var(--f-line); font-size: .76rem; }
.footer__bar p { margin: 0; }
.footer__bar ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer__bar li { font-size: .76rem; padding: 0; }
.footer__credit { padding: 0 0 calc(1rem + 70px); font-size: .68rem; color: rgba(185, 168, 150, .78); max-width: 90ch; }   /* v1.5.6: 5.2:1 (was 3.6:1, below AA) */
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } .footer__visit { grid-column: 1 / -1; } .footer__contacts { max-width: 420px; } }
@media (max-width: 760px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } .footer__brand { grid-column: 1 / -1; } .footer__brand p { max-width: 40ch; } }
@media (max-width: 480px) { .footer__grid { gap: 1.75rem 1.25rem; } .footer__bar { flex-direction: column; align-items: flex-start; gap: .75rem; } .footer__credit { padding-bottom: calc(1rem + 64px); } }

/* 12. OVERLAYS ---------------------------------------------------------------------- */
.cookie { position: fixed; bottom: 1rem; inset-inline: 1rem; z-index: 300; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 560px; padding: 1.4rem 1.5rem; display: none; }
.cookie.is-open { display: block; }
.cookie { max-height: calc(100vh - 2rem); max-height: calc(100svh - 2rem); overflow-y: auto; overscroll-behavior: contain; }   /* v1.5.6 */
.cookie h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.cookie p { font-size: .88rem; color: var(--ink-3); }
@media (max-width: 640px) { .cookie { padding: 1rem 1.1rem; } .cookie h2 { font-size: 1.2rem; } .cookie p { font-size: .8rem; } }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.1rem; }   /* v1.6.3 (audit visual-en-08): align-items */
.cookie__prefs { display: none; margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.cookie.is-prefs .cookie__prefs { display: block; }
.cookie__prefs label { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; align-items: center; }
.cookie__prefs label small { grid-column: 1; color: var(--ink-4); font-size: .8rem; }
.cookie__prefs input { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; accent-color: var(--ink); }
@media (min-width: 640px) { .cookie { inset-inline: auto 1.5rem; bottom: 1.5rem; } [dir="rtl"] .cookie { inset-inline: 1.5rem auto; } }
.fab { position: fixed; bottom: calc(22px + var(--cookie-room, 0px)); inset-inline-end: 37px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: rgba(25, 10, 7, .22) 0 6px 18px; transition: transform .3s var(--ease); }
.fab:hover { transform: translateY(-2px); }
@media (min-width: 640px) { [dir="rtl"] .fab { bottom: 22px; } }   /* v1.5.9: in RTL the banner sits on the other side — no need to rise */
.fab svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 600px) { .fab { width: 52px; height: 52px; bottom: calc(1rem + var(--cookie-room, 0px)); inset-inline-end: 1rem; } .fab svg { width: 28px; height: 28px; } }

.toast { position: fixed; bottom: 6rem; left: 50%; transform: translate(-50%, 20px); z-index: 350; background: var(--ink); color: var(--white); padding: .8rem 1.3rem; font-size: .85rem; letter-spacing: .04em; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; max-width: calc(100% - 2rem); text-align: center; }
.toast.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast { pointer-events: none; }   /* v1.5.6: taps go through to the bag's button underneath (it used to swallow them for 2.6 s) */
@media (max-width: 440px) { .bag.is-open ~ .toast { bottom: 13rem; } }   /* v1.6.3 (audit func-bugs-11): no longer covers "Proceed to order" */

/* 13. MOTION ------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--delay, 0s); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--img { transform: none; clip-path: inset(0 0 12% 0); transition: opacity var(--dur) var(--ease), clip-path 1.1s var(--ease); }
.reveal--img.is-in { clip-path: inset(0); }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.no-js .reveal { opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .hero__media--kb img { animation: none; }
  .gc, .gc * { transition: none !important; }   /* v1.5.6: the .001s rule above would turn every size change into a transition, so fit() measured the old size and the name ran into the amount */
}

/* 14. RTL / ARABIC ------------------------------------------------------------------ */
[dir="rtl"] { --serif: var(--arabic); }
[dir="rtl"] body { font-family: var(--arabic); }
[dir="rtl"] .kicker, [dir="rtl"] .nav-link, [dir="rtl"] .btn, [dir="rtl"] .link, [dir="rtl"] .chip, [dir="rtl"] .icon-btn, [dir="rtl"] .lang__btn, [dir="rtl"] .field label,
[dir="rtl"] .field > span.label, [dir="rtl"] .drawer__row > a, [dir="rtl"] .drawer__link, [dir="rtl"] .menu-col .menu-h, [dir="rtl"] .footer .foot-h, [dir="rtl"] .footer__label, [dir="rtl"] .footer__contacts dt,
[dir="rtl"] .visit__facts dt, [dir="rtl"] .contact-facts dt, [dir="rtl"] .dl dt, [dir="rtl"] .product__cat, [dir="rtl"] .product__flag, [dir="rtl"] .acc summary, [dir="rtl"] .shop-count, [dir="rtl"] .breadcrumb,
[dir="rtl"] .gift-live, [dir="rtl"] .modal th, [dir="rtl"] .cat-tile span, [dir="rtl"] .caption { letter-spacing: 0; }   /* v1.6.3 (audit visual-rtl-11): second line added */
[dir="rtl"] .kicker { font-size: .86rem; }
[dir="rtl"] .btn { font-size: .9rem; }
[dir="rtl"] .link, [dir="rtl"] .chip, [dir="rtl"] .nav-link, [dir="rtl"] .caption, [dir="rtl"] .shop-count, [dir="rtl"] .breadcrumb, [dir="rtl"] .product__cat { font-size: .88rem; }
[dir="rtl"] .field label, [dir="rtl"] .field > span.label { font-size: .85rem; }
[dir="auto"] { unicode-bidi: isolate; }
/* Latin strings on Arabic pages keep LTR bidi but sit on the page's (right) edge so a column has one alignment */
[dir="rtl"] [dir="auto"] { text-align: right; }
[dir="rtl"] .text-center [dir="auto"], [dir="rtl"] .section-head--center [dir="auto"] { text-align: center; }
/* untranslated Latin blocks on Arabic pages use the house sans, Latin headings the house serif (not the Arabic face's Latin glyphs) */
[dir="rtl"] [dir="auto"]:dir(ltr) { font-family: var(--sans); }
[dir="rtl"] [dir="auto"]:dir(ltr):is(h1, h2, h3, .product__name, .cat-item__name, .serif) { font-family: var(--serif-latin), var(--arabic); line-height: 1.12; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.3; letter-spacing: 0; }
[dir="rtl"] .hero h1 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
[dir="rtl"] .article__body p:first-of-type::first-letter { font-size: 1em; float: none; padding: 0; color: inherit; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
/* v1.6.3 (audit visual-rtl-12): the Arabic face has no italic — emphasis stays upright instead of a machine slant (Latin keeps Cormorant italic) */
[dir="rtl"] :is(em, .em) { font-synthesis: none; }
/* v1.6.3 (audit visual-rtl-04): Latin-only words on Arabic pages in the house fonts, as on product cards */
[dir="rtl"] .marquee__track span { font-family: var(--serif-latin), var(--arabic); }
[dir="rtl"] .lang__btn, [dir="rtl"] .lang__list a:not([lang="ar"]) { font-family: var(--sans); }
/* v1.6.3 (audit visual-rtl-10): underlines grow from the start of an Arabic word; the skip link appears at the top right */
[dir="rtl"] .nav-link::after { left: 100%; right: 0; transition-property: left; }
[dir="rtl"] .nav-link:hover::after, [dir="rtl"] .nav-link[aria-current="page"]::after, [dir="rtl"] .nav-link.is-open::after { left: 0; }
[dir="rtl"] .link::after { transform-origin: right; }
[dir="rtl"] .skip { left: auto; right: 16px; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .ltr { text-align: right; }   /* v1.6.3 (audit visual-rtl-03): e-mail, phone, amount values on the right edge like their labels */
[dir="rtl"] .price, [dir="rtl"] .num, [dir="rtl"] .timeline__when, [dir="rtl"] .step__n { font-family: var(--sans); }
/* v1.5.5: an English legal draft on an Arabic page reads left to right in the house Latin fonts, as on the English page */
[dir="rtl"] .legal-en { --serif: var(--serif-latin), serif; font-family: var(--sans); }
[dir="rtl"] .legal-en :is(h1, h2, h3) { line-height: 1.08; letter-spacing: -.005em; }
[dir="rtl"] .legal-en .kicker { font-size: .72rem; letter-spacing: .28em; }
[dir="rtl"] .legal-en .caption { font-size: .78rem; }

/* 15. PRINT ------------------------------------------------------------------------- */
@media print {
  .header, .footer__social, .cookie, .fab, .bag, .overlay, .drawer, .hero__media, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero, .article { padding-top: 1rem; }
  .footer { padding-bottom: 0 !important; }   /* v1.5.6: the room kept under an open cookie banner is not printed */
  .reveal, .reveal--img { opacity: 1 !important; transform: none !important; clip-path: none !important; }   /* v1.6.3 (audit func-bugs-07): not yet scrolled to ≠ blank on paper */
  .skip, .scrim, .toast, .modal, .lightbox { display: none !important; }
}

/* 12. GIFT CERTIFICATE PAGE (v1.5.4): steps above, form + live "Classic" preview -------------------------------- */
@media (min-width: 1024px) {
  .steps--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; border-top: 0; }
  .steps--cols .step { grid-template-columns: 52px minmax(0, 1fr); gap: 1rem 1.25rem; border-top: 1px solid var(--line-strong); border-bottom: 0; padding: 1.8rem 0 0; }
  .steps--cols .step__n { font-size: 2rem; }
}
.gift-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3rem clamp(2.5rem, 5vw, 5rem); align-items: start; margin-top: clamp(3rem, 6vw, 5rem); }
.gift-grid__preview { position: sticky; top: calc(var(--header-h) + 28px); min-width: 0; }
.gift-grid__form { min-width: 0; }
@media (max-width: 900px) {
  .gift-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .gift-grid__preview { position: static; order: -1; }
}
.gift-live { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .7rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-ink); }
.gift-live__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.field__count { justify-self: end; font-variant-numeric: lining-nums; }
.field__hint { color: var(--ink-3); }
.gift-status { margin-bottom: 2rem; padding: 1.6rem 1.8rem; background: var(--paper-2); border-inline-start: 2px solid var(--brass); }
.gift-status h3 { font-size: 1.6rem; margin-bottom: .45rem; }
.gift-status .btn { margin-top: 1.1rem; }
.gift-status.is-warn { border-inline-start-color: var(--err); }

/* v1.6.0: the leather certificate (variant 4). The art (1280 × 853) and an SVG in the same units on top: the SVG scales with
   the column by itself, main.js only fits the lines (the same zones as page 1 of the PDF and the e-mail picture, gift_cert.js).
   The fonts are files of the site (assets/cert/fonts, OFL) and load only on this page, when the card first draws its text. */
@font-face { font-family: "CL Imperial Script"; src: url("../cert/fonts/ImperialScript-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "CL Great Vibes"; src: url("../cert/fonts/GreatVibes-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "CL Cormorant Infant"; font-style: italic; src: url("../cert/fonts/CormorantInfant-Italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "CL Cinzel"; font-weight: 600; src: url("../cert/fonts/Cinzel-SemiBold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "CL Cinzel Regular"; src: url("../cert/fonts/Cinzel-Regular.woff2") format("woff2"); font-display: swap; }   /* v1.6.2: the amount, as on the board */
.gc-wrap { position: relative; width: 100%; aspect-ratio: 1280 / 853; overflow: hidden; background: #2b160b; box-shadow: 0 24px 60px -30px rgba(31, 22, 19, .6), 0 2px 6px rgba(31, 22, 19, .12); }
.gc { position: absolute; inset: 0; direction: ltr; text-align: left; }
.gc__art, .gc picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.gc__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gc__t { font-kerning: normal; font-variant-ligatures: no-common-ligatures; white-space: pre; }
.gc__name { font-family: "CL Imperial Script", "CL Great Vibes", "CL Cormorant Infant", "Snell Roundhand", "Apple Chancery", Georgia, serif; font-size: 136px; letter-spacing: .03em; }
.gc__name.is-cyr { font-family: "CL Great Vibes", "CL Cormorant Infant", Georgia, serif; }
.gc__from, .gc__date { font-family: "CL Cormorant Infant", "Cormorant Garamond", Georgia, serif; font-style: italic; }
.gc__from { font-size: 47px; letter-spacing: 0; }
.gc__date { font-size: 19.5px; letter-spacing: .01em; }
.gc__amount, .gc__lab, .gc__code { font-family: "CL Cinzel", "Cormorant Garamond", Georgia, serif; font-weight: 600; font-variant-numeric: lining-nums; }
.gc__amount { font-family: "CL Cinzel Regular", "CL Cinzel", "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: 63px; letter-spacing: .12em; }
.gc__lab { font-size: 13px; letter-spacing: .15em; }
.gc__code { font-size: 16px; letter-spacing: .02em; -webkit-user-select: none; user-select: none; }
.gc .is-ph { opacity: .55; }
@media print { .gift-grid__preview { position: static; } }

/* v1.5.6: 320 px phones — the gift icon's tap area no longer overlaps the logo link (after the base header rules so it wins) */
@media (max-width: 374px) { .header .logo, .header .logo .logo__img { width: 136px; } .header .logo.is-text .logo__text { font-size: 1.4rem; } }
@media (max-width: 349px) { .header .logo, .header .logo .logo__img { width: 116px; } .header .logo.is-text .logo__text { font-size: 1.2rem; } .header__right { gap: 0; } .header__right .icon-btn { min-width: 42px; } }
