/* Latsara tokens (start.mjs brand: ink, parchment and a gold deep enough to read) + page CSS.
   :root:root wins over the kit's own :root defaults whatever order the stylesheets load in. */
:root:root {
  --p-bg: #f6f1e7; --p-surface: #ece5d8; --p-ink: #211c16; --p-muted: #645d55;
  --p-accent: #8a6a2f; --p-accent-ink: #ffffff; --p-action: #211c16; --p-action-ink: #f6f1e7;
  --p-inv-bg: #211c16; --p-inv-surface: #2d2822; --p-inv-ink: #f6f1e7; --p-inv-muted: #b3aba0;
  --p-inv-accent: #d4b170; --p-inv-accent-ink: #211c16; --p-inv-action: #f6f1e7; --p-inv-action-ink: #211c16;
  --p-brand: #8a6a2f; --p-brand-ink: #ffffff;
  --font-display: var(--f-latin), var(--f-geo), system-ui, sans-serif;
  --font-text: var(--f-latin), var(--f-geo), system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
  --display-stretch: 110%;
  --ly-scale: 0.9;
  color-scheme: light;
}
/* Georgian text: the Georgian face first (its letters are taller; no width axis). */
:root:root:lang(ka) {
  --font-display: var(--f-geo), var(--f-latin), system-ui, sans-serif;
  --font-text: var(--f-geo), var(--f-latin), system-ui, sans-serif;
  --display-tracking: 0; --display-tracking-xl: -0.01em; --display-stretch: 100%;
  --ly-scale: 0.8;
}

/* Dark mode, like digitalcompass.xyz: warm night ground, parchment ink, the gold lifted for contrast. */
:root:root[data-theme="dark"] {
  --p-bg: #16120e; --p-surface: #221c16; --p-ink: #f3ece0; --p-muted: #b0a698;
  --p-accent: #d4b170; --p-accent-ink: #16120e; --p-action: #f3ece0; --p-action-ink: #16120e;
  --p-inv-bg: #2a231b; --p-inv-surface: #342b22; --p-inv-ink: #f3ece0; --p-inv-muted: #c3b8a9;
  --p-inv-accent: #d4b170; --p-inv-action: #f3ece0; --p-inv-action-ink: #16120e;
  --p-brand: #d4b170; --p-brand-ink: #16120e;
  color-scheme: dark;
}
html, body { background: var(--p-bg); color: var(--p-ink); }

/* logo: the client's own files, ink on light, paper on dark */
.nav__logo .logo { height: 26px; width: auto; display: block; }
.footer .nav__logo .logo { height: 32px; }
.logo--paper { display: none !important; }
:root[data-theme="dark"] .logo--ink { display: none !important; }
:root[data-theme="dark"] .logo--paper { display: block !important; }

/* nav extras: language, theme and cart, each 44px to tap */
.nav__actions { gap: var(--s-2); }
.nav__lang, .nav__theme, .nav__cart {
  flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer;
  font: 500 14px/1 var(--font-text); text-decoration: none; position: relative;
}
.nav__lang:hover, .nav__theme:hover, .nav__cart:hover { background: var(--surface); }
.nav__theme .i-moon { display: none; }
:root[data-theme="dark"] .nav__theme .i-sun { display: none; }
:root[data-theme="dark"] .nav__theme .i-moon { display: block; }
.nav__count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--p-accent); color: var(--p-accent-ink); font: 600 11px/18px var(--font-text); text-align: center;
}
@media (max-width: 1023px) { .nav__actions .btn--primary { display: none; } }
@media (max-width: 639px) { .nav__lang { min-width: 40px; } .nav__theme, .nav__cart { min-width: 40px; height: 40px; } }

/* brand band (rhythm: brand-band) */
.ground-brand { --bg: var(--p-brand); --ink: var(--p-brand-ink); --muted: var(--p-brand-ink); --action: var(--p-brand-ink); --action-ink: var(--p-brand); background: var(--bg); color: var(--ink); }

/* product cards: one recipe for the whole site */
.pcard { display: flex; flex-direction: column; gap: var(--s-3); color: inherit; text-decoration: none; }
.pcard__media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; background: var(--surface); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__alt { opacity: 0; transition: opacity .35s ease; }
.pcard:hover .pcard__alt, .pcard:focus-visible .pcard__alt { opacity: 1; }
.pcard__name { font: 500 17px/1.35 var(--font-text); }
.pcard__meta { display: flex; justify-content: space-between; gap: var(--s-3); color: var(--muted); font-size: 15px; }
.pcard__price { color: var(--ink); font-weight: 500; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
@media (max-width: 1023px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-3); } }

/* inner pages: a calm head under the fixed header */
.page-head { padding-top: calc(var(--nav) + var(--s-8)); padding-bottom: var(--s-7); }
.page-head h1 { font: var(--display-weight) clamp(34px, 3vw + 18px, 60px)/1.08 var(--font-display); letter-spacing: var(--display-tracking); margin: 0 0 var(--s-4); max-width: 22ch; }
.page-head p { max-width: 62ch; font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; }
.page-body { padding-bottom: var(--s-9); }
.prose { max-width: 68ch; font-size: 17px; line-height: 1.7; }
.prose h2 { font: 500 24px/1.3 var(--font-display); margin: var(--s-7) 0 var(--s-3); }
.prose p, .prose li { margin: 0 0 var(--s-4); }
.prose a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: 14px; color: var(--muted); margin-bottom: var(--s-5); padding: 0; list-style: none; }
.crumbs a { color: inherit; }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); }

/* product page */
.product { padding-top: calc(var(--nav) + var(--s-6)); padding-bottom: var(--s-9); }
.product__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 5; background: var(--surface); margin: 0; }
.gallery__item:first-child { grid-column: 1 / -1; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: calc(var(--nav) + var(--s-5)); display: flex; flex-direction: column; gap: var(--s-5); }
.buy h1 { font: var(--display-weight) clamp(30px, 1.6vw + 20px, 44px)/1.12 var(--font-display); letter-spacing: var(--display-tracking); margin: 0; }
.buy__price { font: 500 26px/1 var(--font-text); }
.buy__lead { font-size: 17px; line-height: 1.65; margin: 0; }
.buy__note { font-size: 15px; color: var(--muted); margin: 0; display: flex; gap: var(--s-2); align-items: center; }
.buy__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3f8a4f; flex: none; }
.buy .btn { width: 100%; justify-content: center; }
.buy__status { min-height: 24px; font-size: 15px; margin: 0; }
.buy__status a { color: var(--ink); }
.spec { margin: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.spec div { display: grid; grid-template-columns: 9em 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); font-size: 15px; line-height: 1.5; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
@media (max-width: 1023px) {
  .product__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .buy { position: static; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s-2); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 82%; scroll-snap-align: center; }
}

/* meaning band on the product page */
.meaning { padding: var(--s-9) 0; }
.meaning p { font: var(--display-weight) clamp(24px, 1.4vw + 16px, 36px)/1.35 var(--font-display); max-width: 30ch; margin: 0; }

/* cart and checkout */
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.cart-line__img { width: 88px; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); position: relative; }
.cart-line__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-weight: 500; color: var(--ink); text-decoration: none; }
.cart-line__qty { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
.qty-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.qty-btn:hover { background: var(--surface); }
.linkish { background: none; border: 0; padding: 0 var(--s-2); min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 14px; }
.totals { display: grid; gap: var(--s-2); margin: var(--s-5) 0; font-size: 16px; }
.totals div { display: flex; justify-content: space-between; }
.totals .totals__sum { font-size: 20px; font-weight: 600; padding-top: var(--s-3); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; }
.checkout .form { display: grid; gap: var(--s-4); }
.checkout fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.checkout legend { font: 500 20px/1.3 var(--font-display); margin-bottom: var(--s-3); }
.field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 96px; resize: vertical; }
.summary { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6); position: sticky; top: calc(var(--nav) + var(--s-5)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1023px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

/* contact rows */
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.contact-rows li { display: grid; gap: var(--s-1); }
.contact-rows span { color: var(--muted); font-size: 14px; }
.contact-rows a { color: var(--ink); font-size: 20px; }

.footer__note { color: var(--muted); font-size: 13px; max-width: 60ch; }
.empty { padding: var(--s-8) 0; display: grid; gap: var(--s-5); justify-items: start; }

/* home range: six a row on wide screens, so the twelve fit two screens */
@media (min-width: 1200px) { .pgrid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); } .pgrid--6 .pcard__name { font-size: 16px; } }
.pgrid--6 + .pgrid--6 { margin-top: var(--s-6); }
.g2 > .wrap > .pgrid--6 { margin-top: 0; }

/* the closing word in the logo's own letterforms: wide, light, tracked */
.close__word { font-family: var(--f-latin), sans-serif !important; font-weight: 300 !important; letter-spacing: .18em !important; font-stretch: 112%; }
.trio-frame { aspect-ratio: 4 / 5; display: block; }
@media (min-width: 1024px) { .trio-frame { aspect-ratio: auto; height: min(560px, calc(100svh - var(--nav) - 260px)); } }

/* phones and tablets: language, theme and cart stay in the bar (like digitalcompass.xyz); the main button lives in the page */
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > :is(.nav__lang, .nav__theme, .nav__cart) { display: inline-grid; }
  .nav:not(.is-open) .nav__actions { gap: 2px; }
  .nav.is-open .nav__actions > :is(.nav__lang, .nav__theme, .nav__cart) { display: inline-grid; }
  .nav__logo .logo { height: 22px; }
}
.close__word { font-size: calc((min(100vw, 1440px) - 2 * var(--gut)) / 6.7) !important; line-height: 1 !important; white-space: nowrap; margin-right: -.18em; max-width: 100%; overflow: hidden; }
.closing__cta { min-width: 0; }

/* gate round 2 fixes */
:root:root { --p-brand: #6b5022; }
@media (min-width: 1200px) { .pgrid--6 { column-gap: var(--s-5); } }
.fit-frame { aspect-ratio: 4 / 5; }
@media (min-width: 1024px) { .fit-frame { aspect-ratio: auto; height: calc(100svh - var(--nav) - var(--padt) - var(--padb) - 16px); max-height: 640px; } }
@media (min-width: 1024px) { .trio-frame { height: calc(100svh - var(--nav) - var(--padt) - var(--padb) - 200px); max-height: 520px; } }
.footer__col a, .footer__col li { overflow-wrap: anywhere; }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__media img { transition: transform .5s ease; }

/* ---- language flags (no page reload) ---- */
.nav__langs { display: inline-flex; align-items: center; gap: 6px; }
.nav__flag { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; opacity: .5; transition: opacity .2s, background .2s; }
.nav__flag svg { width: 22px; height: 15px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.nav__flag:hover { opacity: 1; background: var(--surface); }
.nav__flag.is-on { opacity: 1; box-shadow: inset 0 0 0 1px var(--line, rgba(0,0,0,.2)); }
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > .nav__langs, .nav.is-open .nav__actions > .nav__langs { display: inline-flex; }
}

/* ---- footer, organised: no giant wordmark; brand + contact, then Shop / Help / Latsara ---- */
.closing__cta { padding-bottom: var(--s-7); border-bottom: 1px solid var(--line, rgba(0,0,0,.12)); }
.closing__links { padding-top: var(--s-7); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: var(--s-3); max-width: 36ch; }
.footer__contact { display: flex; flex-direction: column; gap: 4px; font-size: 15px; margin: 0; }
.footer__contact a, .footer__social a { color: inherit; }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-4); font-size: 15px; }
.footer__col h3 { margin: 0 0 var(--s-3); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__legal { margin-top: var(--s-7); }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 639px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- shop: filter sidebar, sort, grid size ---- */
.shop__bar { display: flex; align-items: center; gap: var(--s-4); padding-bottom: var(--s-4); margin-bottom: var(--s-6); border-bottom: 1px solid var(--line, rgba(0,0,0,.12)); }
.shop__count { margin: 0 auto 0 0; color: var(--muted); font-size: 14px; }
.shop__toggle { display: none; font: inherit; font-size: 15px; padding: 10px 16px; border: 1px solid currentColor; background: none; color: inherit; border-radius: 4px; cursor: pointer; }
.shop__cols { display: flex; gap: 6px; }
.shop__col { display: inline-flex; gap: 2px; padding: 8px; background: none; border: 0; cursor: pointer; color: inherit; opacity: .35; }
.shop__col i { display: block; width: 4px; height: 16px; background: currentColor; }
.shop__col.is-on, .shop__col:hover { opacity: 1; }
.shop__sort { font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--line, rgba(0,0,0,.2)); background: var(--bg); color: inherit; border-radius: 4px; cursor: pointer; }
.shop__body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.shop__grid.pgrid { grid-template-columns: repeat(var(--shop-cols, 3), minmax(0, 1fr)); }
.shop__none { color: var(--muted); padding: var(--s-7) 0; }
.shopf { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow: auto; padding-right: 4px; }
.shopf__head { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-4); }
.shopf__head h2 { font-size: 22px; margin: 0 auto 0 0; }
.shopf__clear { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.shopf__close { display: none; background: none; border: 0; font-size: 28px; line-height: 1; color: inherit; cursor: pointer; }
.shopf__chips { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shopf__chips button { font: inherit; font-size: 13px; padding: 6px 10px; border: 1px solid var(--line, rgba(0,0,0,.2)); background: transparent; color: inherit; border-radius: 999px; cursor: pointer; }
.shopf__group { border-top: 1px solid var(--line, rgba(0,0,0,.12)); padding: var(--s-4) 0; }
.shopf__group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
.shopf__group summary::-webkit-details-marker { display: none; }
.shopf__group summary::after { content: "+"; font-size: 20px; font-weight: 300; }
.shopf__group[open] summary::after { content: "\2212"; }
.shopf__opts { display: grid; gap: 10px; margin-top: var(--s-3); }
.shopf__opt { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.shopf__opt input { width: 18px; height: 18px; margin: 0; accent-color: #b89048; flex: none; }
.shopf__opt.is-empty { opacity: .45; cursor: default; }
.shopf__n { color: var(--muted); font-size: 13px; }
.shopf__swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex: none; }
.shopf__scrim { display: none; }
@media (max-width: 1023px) {
  .shop__toggle { display: inline-block; }
  .shop__body { grid-template-columns: minmax(0, 1fr); }
  .shopf { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(340px, 88vw); max-height: none; padding: var(--s-5); background: var(--bg); transform: translateX(-100%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .shopf.is-open { transform: none; }
  .shopf__close { display: block; }
  .shopf__scrim { display: block; position: fixed; inset: 0; z-index: 59; background: rgba(0,0,0,.35); border: 0; }
  .shop__grid.pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) { .shop__cols { display: none; } .shop__grid.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- spacing: sections are as tall as their content, not one or two full screens (Niko, 2026-11-15) ---- */
main > :is(section, .section):not(.hero, .section--hero), footer.closing {
  height: auto !important; min-height: 0 !important;
  padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 7vw, 104px);
}
main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap { height: auto; }
main > :is(section, .section).g2 > :is(.wrap, .container), footer.closing.g2 > .wrap { grid-template-rows: auto auto; row-gap: clamp(48px, 6vw, 88px); }
main > :is(section, .section):not(.hero, .section--hero) .fill { flex: none; }
.page-head { padding-bottom: var(--s-5); }
.page-head + .page-body .shop__bar { margin-top: 0; }
.shopf { scrollbar-width: none; }
.shopf::-webkit-scrollbar { display: none; }

/* ==== 2026-11-15 round 3: rounder feel, language dropdown, category strip, compact shop head, dark footer ==== */

/* rounder everywhere: pill buttons, softer cards, photos and fields */
html[data-radius][data-buttons] { --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-btn: 999px; }
.btn, .shop__sort, .shop__toggle, .qty-btn { border-radius: 999px !important; }
.frame, .frame--photo, .fit-frame, .trio-frame, .gallery__item, .pcard__media, .summary { border-radius: var(--r-lg) !important; overflow: hidden; }
.field input, .field select, .field textarea { border-radius: 14px; }
.shopf__chips button { border-radius: 999px; }
.shopf__opt input { border-radius: 6px; }

/* language dropdown: flag + GEO / ENG */
.nav__langs { display: none !important; }
.langdd { position: relative; }
.langdd__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: transparent; color: var(--ink); font: 600 13px/1 var(--font-text); letter-spacing: .06em; cursor: pointer; }
.langdd__btn:hover, .langdd.is-open .langdd__btn { background: var(--surface); }
.langdd svg:not(.langdd__caret) { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.langdd__caret { width: 10px; height: 6px; transition: transform .2s; }
.langdd.is-open .langdd__caret { transform: rotate(180deg); }
.langdd__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 18px; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.langdd__menu[hidden] { display: none; }
.langdd__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14px; }
.langdd__item:hover { background: var(--surface); }
.langdd__item.is-on { background: var(--surface); }
.langdd__code { font-weight: 600; letter-spacing: .06em; font-size: 13px; }
.langdd__name { color: var(--muted); margin-left: auto; }
@media (max-width: 1023px) { .nav:not(.is-open) .nav__actions > .langdd, .nav.is-open .nav__actions > .langdd { display: inline-block; } }
@media (max-width: 639px) { .langdd__btn { height: 36px; padding: 0 10px 0 8px; } }

/* shop: small heading, then the categories */
.page-head--compact { padding-top: calc(var(--nav) + 20px); padding-bottom: 8px; }
.page-head--compact h1 { font-size: clamp(22px, 1vw + 16px, 30px); margin: 0 0 6px; max-width: none; }
.page-head--compact p { font-size: 14px; line-height: 1.5; max-width: 80ch; }
.shopcats { margin: 8px 0 var(--s-5); }
.shopcats ul { list-style: none; margin: 0; padding: 4px 2px 8px; display: flex; gap: clamp(14px, 2.2vw, 32px); overflow-x: auto; scrollbar-width: none; }
.shopcats ul::-webkit-scrollbar { display: none; }
.shopcats__item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 112px; padding: 0; background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; }
.shopcats__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); transition: box-shadow .2s, transform .2s; }
.shopcats__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.shopcats__item:hover .shopcats__img { transform: translateY(-2px); }
.shopcats__item:hover .shopcats__img img { transform: scale(1.04); }
.shopcats__item.is-on .shopcats__img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #b89048; }
.shopcats__name { font-size: 14px; text-align: center; line-height: 1.3; }
.shopcats__n { font-size: 12px; color: var(--muted); margin-top: -4px; }
@media (max-width: 639px) { .shopcats__item { width: 84px; } .shopcats__img { width: 72px; height: 72px; } .shopcats__name { font-size: 13px; } }

/* footer: dark, like amelie.ge; the call to action is a light rounded card sitting on its top edge */
footer.closing { --foot-bg: #1c1a17; background: linear-gradient(var(--bg) 0 96px, var(--foot-bg) 96px) !important; color: rgba(255,255,255,.78); padding-top: 24px !important; }
:root[data-theme="dark"] footer.closing { --foot-bg: #0f0e0c; }
footer.closing .closing__cta { background: #fbf7ee; color: #1c1a17; border-radius: 28px; padding: clamp(24px, 3vw, 40px) clamp(24px, 3.5vw, 48px); border-bottom: 0; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
footer.closing .closing__cta h2, footer.closing .closing__cta .t-lead { color: #1c1a17; }
footer.closing .closing__cta h2 { font-size: clamp(22px, 0.9vw + 15px, 30px); }
footer.closing .closing__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: clamp(15px, 0.3vw + 13px, 17px); }
footer.closing .closing__contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28,26,23,.3); }
footer.closing .closing__contact a:hover { text-decoration-color: currentColor; }
footer.closing .btn--whatsapp { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #0b1f12; border: 1px solid #25D366; }
footer.closing .btn--whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; }
footer.closing .closing__cta .btn--primary { background: #1c1a17; color: #fbf7ee; border-color: #1c1a17; }
footer.closing .closing__links { padding-top: clamp(48px, 5vw, 72px); }
footer.closing .logo--ink { display: none !important; }
footer.closing .logo--paper { display: block !important; }
footer.closing .footer__lede, footer.closing .footer__contact, footer.closing .footer__note, footer.closing .footer__legal { color: rgba(255,255,255,.66); }
footer.closing .footer__col h3 { color: #c9a45c; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
footer.closing a { color: rgba(255,255,255,.88); text-decoration: none; }
footer.closing a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
footer.closing .footer__legal { border-top-color: rgba(255,255,255,.14) !important; }
main > section.page-body { padding-top: 0 !important; }
footer.closing .footer__contact a { border: 0 !important; background: none !important; box-shadow: none !important; width: max-content; }
footer.closing .closing__links { padding-top: 40px !important; }
footer.closing .footer__grid { margin-top: 0; }
/* the Latsara story line, moved under the gift text */
.gift__story { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 17px; line-height: 1.6; opacity: .92; }
.gift__story strong { font-weight: 600; }
/* footer: less empty space under the legal line and between the card and the columns */
footer.closing { padding-bottom: 32px !important; }
footer.closing > .wrap { row-gap: 0 !important; gap: 0 !important; }
footer.closing .footer__legal { margin-top: 40px !important; padding-top: 20px !important; }
@media (max-width: 767px) { footer.closing { padding-bottom: calc(24px + var(--bar, 0px)) !important; } }

/* ==== home top: three portrait photos from the old home page; text rises in on load ==== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main > section.heroslides { padding: var(--nav) 0 0 !important; }
.heroslides__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: min(calc(100svh - var(--nav)), 860px); min-height: 560px; }
.heroslide { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.heroslide__img, .heroslide__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.heroslide__img img { object-fit: cover; transform: scale(1.08); animation: hs-settle 1.6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * .12s); transition: transform .8s ease; }
.heroslide__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,16,10,0) 35%, rgba(20,16,10,.55) 100%); transition: background .5s ease; }
.heroslide__text { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vh, 64px); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 24px; text-align: center; }
.heroslide__text > * { opacity: 0; transform: translateY(22px); animation: hs-rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.heroslide__label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; animation-delay: calc(.45s + var(--i) * .18s) !important; }
.heroslide__title { font-size: clamp(26px, 1.6vw + 12px, 40px); line-height: 1.15; font-weight: 400; text-shadow: 0 2px 18px rgba(0,0,0,.25); animation-delay: calc(.6s + var(--i) * .18s) !important; }
.heroslide__title em { font-style: italic; }
.heroslide__btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; font-size: 14px; letter-spacing: .04em; transition: background .3s, color .3s; animation-delay: calc(.75s + var(--i) * .18s) !important; }
.heroslide__btn svg { width: 12px; height: 12px; }
.heroslide:hover .heroslide__img img { transform: scale(1.04); }
.heroslide:hover .heroslide__shade { background: linear-gradient(180deg, rgba(20,16,10,.12) 0%, rgba(20,16,10,.62) 100%); }
.heroslide:hover .heroslide__btn, .heroslide:focus-visible .heroslide__btn { background: #fff; color: #1c1a17; }
.heroslide + .heroslide { border-left: 1px solid rgba(255,255,255,.35); }
@keyframes hs-settle { to { transform: scale(1); } }
@keyframes hs-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .heroslide__img img, .heroslide__text > * { animation: none; opacity: 1; transform: none; } }
@media (max-width: 1023px) and (min-width: 768px) { .heroslides__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .heroslide:nth-child(3) { display: none; } }
@media (max-width: 767px) {
  .heroslides__row { display: flex; height: auto; min-height: 0; gap: 10px; padding: 12px 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .heroslides__row::-webkit-scrollbar { display: none; }
  .heroslide { flex: 0 0 86%; aspect-ratio: 3 / 4; border-radius: var(--r-lg); scroll-snap-align: center; }
  .heroslide + .heroslide { border-left: 0; }
}

/* ==== the old home page banner: photo + dark-brown panel ==== */
.obanner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; min-height: 520px; }
.obanner__img { position: relative; display: block; min-height: 420px; }
.obanner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.obanner:hover .obanner__img img { transform: scale(1.03); }
.obanner__panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: clamp(32px, 5vw, 80px); color: #f6efe2; background: linear-gradient(135deg, #5a4123 0%, #3b2914 55%, #2a1d0f 100%); }
.obanner__eyebrow { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #d9bd86; }
.obanner__title { margin: 0; color: #fff; font-size: clamp(32px, 2.4vw + 14px, 56px); line-height: 1.1; font-weight: 400; }
.obanner__title em { font-style: italic; color: #e8cf98; }
.obanner__text { margin: 0; max-width: 42ch; font-size: 17px; line-height: 1.6; color: rgba(246,239,226,.82); }
.obanner__btn { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.8) !important; }
.obanner__btn:hover { background: #fff !important; color: #2a1d0f !important; }
@media (max-width: 767px) { .obanner { grid-template-columns: minmax(0, 1fr); } .obanner__img { aspect-ratio: 4 / 5; min-height: 0; } }

/* ==== home product cards: rounded card, gold name, short description, price at the foot ==== */
.pcard--card { gap: 0; height: 100%; background: color-mix(in srgb, var(--surface) 70%, #fff 30%); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
:root[data-theme="dark"] .pcard--card { background: var(--surface); }
.pcard--card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60,40,10,.12); }
.pcard--card .pcard__media { border-radius: 0 !important; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.pcard--card .pcard__name { margin: 0; color: #7d5a1c; font-weight: 600; font-size: 16px; line-height: 1.3; }
:root[data-theme="dark"] .pcard--card .pcard__name { color: #d9b46a; }
.pcard__desc { color: var(--muted); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.pcard--card .pcard__price { font-size: 16px; font-weight: 600; color: var(--ink); }
.pcard__go { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; background: #1c1a17; color: #fbf7ee; transition: background .2s; }
.pcard--card:hover .pcard__go { background: #a87f33; }
@media (min-width: 1200px) { .pgrid--6 .pcard--card .pcard__name { font-size: 15px; } }
@media (max-width: 767px) { .pcard__body { padding: 12px; } .pcard__desc { -webkit-line-clamp: 2; } }
#flowers > .wrap { row-gap: var(--s-5) !important; }

/* Lucide icons */
.i-arrow { flex: none; transition: transform .25s ease; }
.btn:hover .i-arrow, .heroslide:hover .i-arrow, a:hover > .i-arrow { transform: translateX(3px); }
.langdd__caret { width: 14px; height: 14px; }
.pcard__go svg { display: block; }
.pcard--card:hover .pcard__go svg { transform: translateX(2px); transition: transform .25s; }

/* ---------- checkout (2026-11-19): amelie.ge-style step cards + Material 3 outlined fields ---------- */
.page-head--compact { padding-bottom: var(--s-5); }
.page-head--compact h1 { font-size: clamp(26px, 1.2vw + 18px, 36px); margin-bottom: var(--s-2); }
.page-head--compact p { font-size: 15px; }
.co { --error: color-mix(in oklab, #d92d20 72%, var(--ink)); --co-card: #fffdf8; --co-line: color-mix(in oklab, var(--ink) 34%, transparent); --co-focus: var(--p-accent);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 24px; align-items: start; max-width: 1120px; }
:root[data-theme="dark"] .co { --co-card: var(--p-surface); }
.co-form { display: grid; gap: 16px; }
.co-step, .co-sum { background: var(--co-card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.co-step__title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 600 17px/1.3 var(--font-text); letter-spacing: 0; }
.co-step__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; flex: none; }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.co-grid .mf--wide { grid-column: 1 / -1; }

/* Material 3 outlined text field: label inside, floats into the outline on focus or when filled */
.mf__box { position: relative; display: flex; align-items: center; min-height: 48px; border: 1px solid var(--co-line); border-radius: 10px; background: var(--co-card); transition: border-color 150ms ease; }
.mf__box:hover { border-color: var(--ink); }
.mf__box:focus-within { border-color: var(--co-focus); box-shadow: inset 0 0 0 1px var(--co-focus); }
.mf.is-bad .mf__box { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.mf input, .mf textarea { flex: 1; min-width: 0; width: 100%; height: 46px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 16px/1.4 var(--font-text); border-radius: 10px; }
.mf textarea { height: auto; min-height: 72px; padding: 14px; resize: vertical; }
.mf label { position: absolute; left: 10px; top: 24px; transform: translateY(-50%); padding: 0 4px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 400 15px/1.2 var(--font-text); color: var(--muted); background: var(--co-card); pointer-events: none; transition: top 150ms ease, font-size 150ms ease, color 150ms ease; }
.mf :is(input, textarea):focus + label, .mf :is(input, textarea):not(:placeholder-shown) + label, .mf--prefix label { top: 0; font-size: 12px; }
.mf :is(input, textarea):focus + label { color: var(--co-focus); }
.mf.is-bad label { color: var(--error); }
.mf__opt { font-weight: 400; }
.mf__prefix { padding: 0 0 0 14px; color: var(--muted); font: 400 16px/1 var(--font-text); }
.mf--prefix input { padding-left: 6px; }
.mf__sup { margin: 4px 14px 0; font: 400 12px/1.4 var(--font-text); color: var(--muted); }
.mf.is-bad .mf__sup { color: var(--error); font-weight: 500; }
.co-pay { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: color-mix(in oklab, var(--ink) 4%, transparent); }
.co-pay svg { flex: none; margin-top: 1px; color: var(--muted); }
.co-pay__title { margin: 0 0 2px; font: 600 14px/1.4 var(--font-text); }
.co-pay__text { margin: 0; font: 400 13px/1.5 var(--font-text); color: var(--muted); }

/* order summary card: lines, totals and the one submit button (form="checkout-form") */
.co-sum { position: sticky; top: calc(var(--nav) + 20px); }
.co-sum__title { margin: 0 0 16px; font: 600 17px/1.3 var(--font-text); letter-spacing: 0; }
.co-sum__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.co-sum__lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-sum__img { width: 48px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; display: block; }
.co-sum__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-sum__qty { color: var(--muted); }
.co-sum__totals { margin: 16px 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.co-sum__totals div { display: flex; justify-content: space-between; gap: 12px; }
.co-sum__totals dt { color: var(--muted); } .co-sum__totals dd { margin: 0; }
.co-sum__total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.co-sum__total dt { color: var(--ink); }
.co-sum__btn { width: 100%; justify-content: center; }
.co-sum__status { margin: 10px 0 0; font-size: 13px; color: var(--error); text-align: center; }
.co-sum__status:empty { display: none; }
.co-sum__terms { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.co-sum__terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1023px) { .co { grid-template-columns: minmax(0, 1fr); } .co-sum { position: static; } }
@media (max-width: 639px) { .co-grid { grid-template-columns: minmax(0, 1fr); } .co-step, .co-sum { padding: 18px 16px; } }

/* cart: price with a trash-icon remove button under it */
.cart-line__end { display: grid; justify-items: end; align-content: start; gap: 6px; }
.cart-line__remove { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: -10px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color 150ms ease, background-color 150ms ease; }
.cart-line__remove:hover { color: #b42318; background: color-mix(in oklab, #b42318 10%, transparent); }
:root[data-theme="dark"] .cart-line__remove:hover { color: #f97066; background: color-mix(in oklab, #f97066 14%, transparent); }
.cart-line__remove:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }

/* ---------- cart drawer (amelie.ge pattern): 430px from the right on desktop, full screen on phones ---------- */
.cdr { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; transition: visibility 0s linear 300ms; }
.cdr.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.cdr__scrim { position: absolute; inset: 0; background: rgba(20, 16, 12, .42); opacity: 0; transition: opacity 300ms ease; }
.cdr.is-open .cdr__scrim { opacity: 1; }
.cdr__panel { position: absolute; top: 0; right: 0; width: min(430px, 100vw); height: 100dvh; display: flex; flex-direction: column;
  background: var(--p-bg); color: var(--ink); box-shadow: -18px 0 60px rgba(26, 26, 26, .14);
  transform: translateX(100%); transition: transform 300ms cubic-bezier(.32, .72, 0, 1); }
.cdr.is-open .cdr__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .cdr__panel, .cdr__scrim { transition: none; } }
.cdr__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); flex: none; }
.cdr__head h2 { margin: 0; font: 600 20px/1.3 var(--font-text); letter-spacing: 0; }
.cdr__x { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.cdr__x:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); }
.cdr__lines { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.cdr__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cdr__img { display: block; width: 72px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--surface); }
.cdr__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdr__info { display: grid; gap: 10px; min-width: 0; }
.cdr__name { font: 500 15px/1.35 var(--font-text); color: var(--ink); text-decoration: none; }
.cdr__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cdr__price { font: 500 15px/1.35 var(--font-text); white-space: nowrap; }
.cdr__qty { display: inline-flex; align-items: center; justify-self: start; gap: 2px; padding: 2px; border: 1px solid var(--line-strong); border-radius: 999px; }
.cdr__qty button { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.cdr__qty button:hover:not(:disabled) { background: color-mix(in oklab, var(--ink) 7%, transparent); }
.cdr__qty button:disabled { opacity: .35; cursor: default; }
.cdr__qty span { min-width: 22px; text-align: center; font: 500 15px/1 var(--font-text); }
.cdr__qty .cdr__del { margin-left: 8px; color: var(--muted); }
.cdr__qty .cdr__del:hover { color: #b42318; background: color-mix(in oklab, #b42318 10%, transparent); }
:root[data-theme="dark"] .cdr__qty .cdr__del:hover { color: #f97066; }
.cdr__foot { flex: none; padding: 16px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--p-bg); }
.cdr__totals { margin: 0 0 14px; display: grid; gap: 8px; font-size: 14px; }
.cdr__totals div { display: flex; justify-content: space-between; gap: 12px; }
.cdr__totals dt { color: var(--muted); } .cdr__totals dd { margin: 0; text-align: right; }
.cdr__total { font-size: 18px; font-weight: 600; } .cdr__total dt { color: var(--ink); }
.cdr__go { width: 100%; justify-content: center; }
.cdr__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; }
.cdr__empty p { margin: 0; font-size: 16px; color: var(--muted); }
.cdr :focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
@media (max-width: 600px) { .cdr__panel { width: 100vw; box-shadow: none; } .cdr__head { padding-left: 20px; } .cdr__lines { padding-inline: 20px; } .cdr__foot { padding-inline: 20px; } }
