/* ==========================================================================
   Gaļas nams - Ādaži - vietnes dizaina sistēma (v2, "Ģimenes galds")
   Krēms un lins, brūns, sarkans akcents, zelta pogas. Roboto Slab virsraksti,
   Roboto Condensed apakšvirsraksti/etiķetes, Open Sans teksts, Caveat Brush piezīmes.
   Noapaļojumi - tikai tam, uz ko var nospiest (pogas, kartītes, lauki).
   Saturs: 1 tokeni · 2 bāze · 3 tipogrāfija · 4 izkārtojums · 5 pogas · 6 ikonas, uzlīmes
   7 kartītes · 8 čipi, akordeons, tabs · 9 formas · 10 breadcrumbs, page hero, CTA
   11 modālis, sheet, tosts · 12 tabula, tukšais, skeleton · 13 galvene, mega, mobilā izv.
   14 meklēšana · 15 kājene · 16 sīkdatnes · 17 animācijas · 18 utilītas · 19 drukāšana
   ========================================================================== */

/* 1. TOKENI ---------------------------------------------------------------- */
:root {
  /* zīmola krāsas */
  --c-brown: #4a0900;
  --c-brown-2: #6b1a0c;
  --c-brown-deep: #2c0600;
  --c-red: #c72111;
  --c-red-dark: #a51a0d;
  --c-gold: #fbaf13;
  --c-gold-dark: #e39a00;
  --c-gold-soft: #ffeac0;
  /* k3 p.2: zaļā NAV paletē - vecie tokeni norāda uz zīmola brūno/zeltu (lapu CSS, kas tos lieto, automātiski bez zaļā) */
  --c-green: var(--c-brown-2);
  --c-green-soft: var(--c-gold-soft);
  /* neitrālās */
  --c-ink: #3a2a22;
  --c-muted: #6e5a51;      /* 5.9:1 uz krēma */
  --c-paper: #ffffff;
  --c-cream: #fbf6ec;
  --c-linen: #f4ecdc;
  --c-sand: #efe3cc;
  --c-line: #eadfca;
  --c-line-strong: #d6c4a3;
  /* stāvokļi */
  --c-success: var(--c-brown);       /* k3 p.2: veiksme = brūns + zelta ikona (tikai formu veiksmes ziņām) */
  --c-success-soft: #fff4dc;
  --c-error: #b3261e;
  --c-error-soft: #fbe9e7;
  --c-info-soft: #fff4dc;
  --c-focus: #4a0900;
  --c-on-dark: #fbeedd;
  --c-on-dark-muted: #e6cfb4;

  /* atstarpes (4px bāze) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-y: clamp(56px, 4.4vw + 36px, 112px);
  --gutter: 16px;
  --container: 1240px;
  --container-narrow: 820px;

  /* tipogrāfija */
  --font-heading: "Roboto Slab", Rockwell, Georgia, serif;
  --font-sub: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-script: "Caveat Brush", "Segoe Print", cursive;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h5: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --fs-h4: clamp(1.125rem, 1.04rem + .4vw, 1.375rem);
  --fs-h3: clamp(1.3rem, 1.15rem + .7vw, 1.75rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2vw, 2.875rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  --fs-display: clamp(2.5rem, 1.6rem + 3.9vw, 4.75rem);
  --fs-script: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --lh-tight: 1.15;
  --lh-head: 1.22;
  --lh-body: 1.65;

  /* formas */
  --r-xs: 6px; --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-pill: 999px;
  --r-info: 4px;            /* informatīvās (neklikšķināmās) kartītes */
  --sh-1: 0 1px 2px rgba(74, 9, 0, .06), 0 2px 8px rgba(74, 9, 0, .05);
  --sh-2: 0 10px 30px rgba(74, 9, 0, .09);
  --sh-3: 0 18px 48px rgba(44, 6, 0, .18);
  --sh-focus: 0 0 0 3px var(--c-paper), 0 0 0 6px var(--c-brown);

  /* kustība */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --dur-1: 150ms; --dur-2: 250ms; --dur-3: 400ms; --dur-4: 600ms; --dur-5: 900ms;

  /* galvene */
  --topbar-h: 40px;
  --header-h: 104px;
  --header-h-small: 72px;
  --sticky-bar-h: 0px;      /* redzamas fiksētas apakšējās joslas augstums - uzliek site.js ([data-sticky-bar]) */
  --z-header: 50; --z-mega: 49; --z-overlay: 80; --z-modal: 90; --z-toast: 95;

  --ck-radius: var(--r-md);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }
@media (max-width: 1079px) { :root { --header-h: 68px; --header-h-small: 60px; --topbar-h: 44px; } }
@media (max-width: 767px) { :root { --topbar-h: 0px; } }

/* 2. BĀZE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; /* enkuru atstarpe - [id] scroll-margin-top zemāk (LEMUMI k2 p.8) */
  overflow-x: clip;
}
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-body);
  color: var(--c-ink); background: var(--c-cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { flex: 1 0 auto; display: block; }
/* LEMUMI k2 p.8: jebkurš enkurs (#id, scrollIntoView) nenoslīd zem sticky galvenes. Lielā galvene (--header-h) + 16px, jo pēc
   ritināšanas galvene saraujas un saturs paceļas par starpību - virsraksts paliek redzams abos stāvokļos. :where = 0 specifiskums. */
/* --anchor-extra: lapām ar papildu sticky joslu (BUJ tēmu josla, Par mums sadaļu josla) - vienīgais lapas regulējums, lokālu scroll-margin NAV */
:where([id]) { scroll-margin-top: calc(var(--header-h) + 16px + var(--anchor-extra, 0px)); }
/* LEMUMI k2 p.7: garas virknes nekad neiziet ārpus kartītes/šauras kolonnas (rezerve; vienības jau ar &nbsp;/nowrap) */
:where(.card, .info-card, .empty, .modal__panel, .toast, .ck-banner, .footer-col, td, th, li, p, h1, h2, h3, h4, dd, figcaption, label) { overflow-wrap: break-word; }
:where(.card, .info-card, .footer-col) :where(p, li, h2, h3, h4, a, span, dd) { overflow-wrap: anywhere; }
main:focus { outline: none; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-red-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
@media (hover: hover) { a:hover { color: var(--c-red); } }
p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-6) 0; }
::selection { background: var(--c-gold-soft); color: var(--c-brown); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--c-gold); }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px;
  background: var(--c-brown); color: #fff; font-weight: 700; border-radius: var(--r-sm); text-decoration: none;
  transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus-visible { top: 12px; color: #fff; }

/* 3. TIPOGRĀFIJA ----------------------------------------------------------- */
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-heading); color: var(--c-brown); line-height: var(--lh-head);
  font-weight: 700; text-wrap: balance; letter-spacing: -.005em;
}
h1, .h1 { font-size: var(--fs-h1); font-weight: 800; line-height: var(--lh-tight); letter-spacing: -.015em; }
h2, .h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.012em; }
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: var(--fs-h4); }
h5, .h5 { font-size: var(--fs-h5); }
.display { font-size: var(--fs-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.hl { color: var(--c-red); }
.on-dark .hl { color: var(--c-gold); }

/* Rokraksta virsvirsraksts (Caveat Brush) - maks. 1-2 uz ekrānu */
.script, .eyebrow {
  display: block; font-family: var(--font-script); font-weight: 400; font-size: var(--fs-script);
  line-height: 1.05; color: var(--c-red); margin-bottom: var(--s-2); letter-spacing: .005em;
}
/* Vienots: uz gaiša fona sarkans, uz tumša (brūns) - zelts; uz zelta - brūns (nekad sarkans uz dzeltena) */
.script--red { color: var(--c-red); }
.script--gold, :where(.on-dark, .bg-brown, .bg-deep, .site-footer, .page-hero--photo, .cta-band) .script, :where(.on-dark, .bg-brown, .bg-deep, .site-footer, .page-hero--photo, .cta-band) .eyebrow { color: var(--c-gold); }
:where(.cta-band--gold, .bg-gold) .script, :where(.cta-band--gold, .bg-gold) .eyebrow { color: var(--c-brown); }
:where(.cta-band--linen) .script, :where(.cta-band--linen) .eyebrow { color: var(--c-red); }
/* Lielie skaitļi - vienmēr Roboto Slab */
.num, .stat__num { font-family: var(--font-heading); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
/* Soļa marķieris: zelta aplis, brūns cipars */
.step-num {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-gold); color: var(--c-brown); font: 800 1.125rem/1 var(--font-heading);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.step-num--sm { width: 32px; height: 32px; font-size: .9375rem; }
.script--tilt { transform: rotate(-2.5deg); transform-origin: left center; }

/* LEMUMI k2 p.10: virsvirsraksts (eyebrow) VISUR = rokraksts (.script): Caveat Brush, --red uz gaiša / --gold uz tumša.
   .eyebrow ir tikai .script sinonīms; capslock-ar-līniju variantus (piem. .coll-kicker ::before līnija) NElieto. */
.subhead { font-family: var(--font-sub); font-weight: 600; font-size: var(--fs-h5); color: var(--c-brown-2); line-height: 1.35; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--c-ink); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }
.tiny { font-size: var(--fs-xs); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { font-weight: 600; }
.nowrap { white-space: nowrap; }

/* 4. IZKĀRTOJUMS ----------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 3vw + 24px, 72px); }
.section--flush-top { padding-top: 0; }
.bg-cream { background: var(--c-cream); }
.bg-linen { background: var(--c-linen); }
.bg-paper { background: var(--c-paper); }
.bg-brown { background: var(--c-brown); color: var(--c-on-dark); }
.bg-deep { background: var(--c-brown-deep); color: var(--c-on-dark); }
.bg-green { background: var(--c-green-soft); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark { color: var(--c-on-dark); }
.on-dark .muted { color: var(--c-on-dark-muted); }
.on-dark a:not(.btn) { color: #fff; }

/* Viļņu dalītājs: sekcijas krāsa "ielīst" iepriekšējā sekcijā. Lieto .wave-top uz sekcijas. */
.wave-top::before, .wave-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: clamp(18px, 2.2vw, 32px);
  background: inherit; pointer-events: none; z-index: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath d='M0 32V18C120 6 240 28 360 20S600 4 720 16s240 16 360 4 240-12 360 0v12z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath d='M0 32V18C120 6 240 28 360 20S600 4 720 16s240 16 360 4 240-12 360 0v12z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.wave-top::before { top: 1px; transform: translateY(-100%); }
.wave-bottom::after { bottom: 1px; transform: translateY(100%) scaleY(-1); }

.section-head { max-width: 760px; margin: 0 auto clamp(28px, 2.4vw + 14px, 52px); text-align: center; }
.section-head > p:not(.script):not(.eyebrow) { margin-top: var(--s-3); color: var(--c-muted); font-size: var(--fs-lg); }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); text-align: left; }
.section-head--row > div { max-width: 720px; }
.section-head--row .section-head__action { flex: none; align-self: flex-end; margin-bottom: 6px; }
.section-head--row > div > p:not(.script) { margin-top: var(--s-3); color: var(--c-muted); font-size: var(--fs-lg); }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: clamp(28px, 2vw + 16px, 44px); }
@media (max-width: 767px) {
  .section-head--row { display: block; }
  .section-head--row .section-head__action { margin-top: var(--s-4); }
  .section-head { text-align: left; }
  .section-head.center-sm { text-align: center; }
}

.grid { display: grid; gap: var(--grid-gap, clamp(16px, 1.6vw, 24px)); }
.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)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, var(--s-3)); align-items: center; }

/* Horizontālā ritināšana mobilajā (kartīšu rinda ar redzamu nākamās malu) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: var(--rail-col, 78%); gap: var(--s-4);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
/* k3 p.5: kartītes lentē - augstums = saturs (nav tukšuma virs „Sarakstam”, poga uzreiz pēc alergēniem ar vienādu atstarpi) */
.rail { align-items: start; }
.rail > .card, .scroller__track > .card { align-self: start; }
/* k4 p.3: produktu kartītes vienā rindā vienāda augstuma (pogas apakšā ar margin-top:auto) */
.rail > .pcard, .scroller__track > .pcard { align-self: stretch; }
.pcard { height: 100%; }

/* 5. POGAS ----------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-gold); --btn-fg: var(--c-brown); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 2px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-body); font-weight: 700;
  font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2),
    transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
@media (hover: hover) { .btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(74, 9, 0, .14); } }
.btn:active { transform: translateY(0); box-shadow: none; transition-duration: 80ms; }
.btn:focus-visible { outline: none; box-shadow: var(--sh-focus); border-radius: var(--r-pill); }
.btn--gold, .btn--primary { --btn-bg: var(--c-gold); --btn-fg: var(--c-brown); }
@media (hover: hover) { .btn--gold:hover, .btn--primary:hover { --btn-bg: #ffbd2e; } }
.btn--secondary, .btn--brown { --btn-bg: var(--c-brown); --btn-fg: #fff; }
@media (hover: hover) { .btn--secondary:hover, .btn--brown:hover { --btn-bg: var(--c-brown-2); } }
.btn--red { --btn-bg: var(--c-red); --btn-fg: #fff; }
@media (hover: hover) { .btn--red:hover { --btn-bg: var(--c-red-dark); } }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-brown); --btn-bd: var(--c-brown); }
@media (hover: hover) { .btn--outline:hover { --btn-bg: var(--c-brown); --btn-fg: #fff; } }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-brown); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .85); }
@media (hover: hover) { .btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--c-brown); } }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-brown); padding-inline: 14px; }
@media (hover: hover) { .btn--ghost:hover { --btn-bg: var(--c-linen); box-shadow: none; transform: none; } }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: none; }
/* Ielāde: spinner aizstāj tekstu, platums nemainās */
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border: 3px solid var(--btn-fg); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite;
}
.btn.is-loading .icon { opacity: 0; }


/* Teksta saite ar bultu */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-red-dark);
  text-decoration: none; line-height: 1.3; min-height: 24px;
}
button.link-arrow { background: none; border: 0; padding: 0; cursor: pointer; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { a.link-arrow:hover, a:hover > .link-arrow, .is-hoverable:hover .link-arrow { color: var(--c-red); } }
@media (hover: hover) { a.link-arrow:hover .icon, a:hover > .link-arrow .icon, .is-hoverable:hover .link-arrow .icon { transform: translateX(4px); } }
.on-dark .link-arrow { color: var(--c-gold); }

.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font: inherit; }

/* Tālrunis / e-pasts kā rinda (>= 44px): a.contact-link > .icon + span (+ .contact-link__sub) */
.contact-link {
  display: inline-flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; color: var(--c-brown);
  font-weight: 700; text-decoration: none; line-height: 1.35; overflow-wrap: anywhere;
}
.contact-link .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--c-red); flex: none; }
.contact-link__sub { display: block; margin-top: 2px; font-weight: 400; font-size: .8125rem; color: var(--c-muted); }
@media (hover: hover) { a.contact-link:hover { color: var(--c-red); } }
.contact-link--on-dark, .on-dark .contact-link { color: #fff; }
.contact-link--on-dark .icon, .on-dark .contact-link .icon { color: var(--c-gold); }
.contact-link--on-dark .contact-link__sub, .on-dark .contact-link__sub { color: var(--c-on-dark-muted); }
@media (hover: hover) { a.contact-link--on-dark:hover { color: var(--c-gold); } }

/* Skārienmērķu bloks (>= 44px mobilajā) - faila BEIGĀS (sadaļa 99), lai pārraksta .chip--sm u.c. bāzes izmērus */

/* 6. IKONAS, IKONU POGAS, UZLĪMES ------------------------------------------ */
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill, svg .fill { fill: currentColor; stroke: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0;
  border: 0; border-radius: var(--r-pill); background: transparent; color: var(--c-brown); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out);
}
@media (hover: hover) { .icon-btn:hover { background: var(--c-linen); color: var(--c-red); } }
.icon-btn:active { transform: scale(.94); }
.icon-btn--filled { background: var(--c-paper); box-shadow: var(--sh-1); }
@media (hover: hover) { .icon-btn--filled:hover { background: var(--c-gold-soft); } }
.icon-btn--sm { width: 40px; height: 40px; }
.icon-btn[aria-pressed="true"] { background: var(--c-brown); color: #fff; }

.count-badge {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--c-red); color: #fff; font: 700 .75rem/20px var(--font-body); text-align: center; box-shadow: 0 0 0 2px #fff;
}
.count-badge--inline { position: static; display: inline-block; box-shadow: none; margin-left: 6px; }
.count-badge.is-bump { animation: bump var(--dur-3) var(--ease-spring); }

/* Uzlīmes (badge): Jaunums, Kampaņa u.c. */
.badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 11px; border-radius: var(--r-info); /* k4 p.4: informatīvas plāksnītes - nav pilles */
  font: 700 .75rem/1.2 var(--font-sub); letter-spacing: .08em; text-transform: uppercase;
  background: var(--c-linen); color: var(--c-brown);
}
.badge--new { background: var(--c-red); color: #fff; }
.badge--gold { background: var(--c-gold); color: var(--c-brown); }
.badge--green { background: var(--c-gold-soft); color: var(--c-brown); box-shadow: inset 0 0 0 1.5px var(--c-gold-dark); } /* „Izstāde” (k3 p.2: bez zaļā) */
.badge--soft-green { background: var(--c-gold-soft); color: var(--c-brown); }
.badge--brown { background: var(--c-brown); color: #fff; }
.badge--outline { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
/* k3 p.9 VIENOTI komponenti:
   gada uzlīme  - span.year-tag („2018”, „SIAL 2026”): Roboto Slab, zelta-krēma fons, brūns teksts, taisni stūri (informatīva);
   sociālā poga - ul.social-btns > li > a.social-btn > svg.icon + span (pille ar tekstu, 48px; mobilajā 2 kolonnas); kājenē uz tumša - .social (apļi 48px);
   „Lasīt” saite - .link-arrow (teksts + bulta), NEVIS pašdarināta pille; tagi/birkas - .badge (+ --new/--gold/--brown/--green). */
.year-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 9px; border-radius: var(--r-info);
  font: 700 .875rem/1.2 var(--font-heading); letter-spacing: .01em; background: var(--c-gold-soft); color: var(--c-brown); white-space: nowrap; }
:is(.on-dark, .bg-brown, .bg-deep) .year-tag { background: var(--c-gold); color: var(--c-brown); }
.social-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: var(--r-pill);
  background: var(--c-paper); color: var(--c-brown); box-shadow: inset 0 0 0 1.5px var(--c-line-strong); font-weight: 700; text-decoration: none;
  transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2); }
.social-btn .icon { width: 22px; height: 22px; flex: none; color: var(--c-brown); transition: color var(--dur-2); }
@media (hover: hover) { .social-btn:hover { background: var(--c-brown); color: #fff; box-shadow: inset 0 0 0 1.5px var(--c-brown); text-decoration: none; } .social-btn:hover .icon { color: var(--c-gold); } }
:is(.on-dark, .bg-brown, .bg-deep) .social-btn { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
:is(.on-dark, .bg-brown, .bg-deep) .social-btn .icon { color: var(--c-gold); }
@media (max-width: 767px) { .social-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .social-btn { justify-content: flex-start; width: 100%; } }
/* Gada prece - apaļš zīmogs ar nelielu slīpumu */
.seal {
  display: grid; place-items: center; align-content: center; width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd36b, var(--c-gold) 55%, #e8980a);
  color: var(--c-brown); text-align: center; transform: rotate(-10deg);
  box-shadow: 0 6px 14px rgba(74, 9, 0, .22), inset 0 0 0 3px rgba(255, 255, 255, .55), inset 0 0 0 5px var(--c-gold-dark);
  font-family: var(--font-sub); font-weight: 700; line-height: 1; text-transform: uppercase;
}
.seal span { font-size: .625rem; letter-spacing: .06em; }
.seal b { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; margin-top: 2px; }
.seal--sm { width: 58px; height: 58px; }
.seal--sm span { font-size: .5rem; }
.seal--sm b { font-size: .875rem; }
.seal--svg > svg { display: block; width: 100%; height: 100%; padding: 6%; overflow: visible; }
/* k2 lapu vajadzības p.4: mobilajā kartītē zīmogs 40px labajā augšējā stūrī (nepārklāj iepakojumu) */
@media (max-width: 767px) { .pcard .seal { width: 40px; height: 40px; top: 6px; right: 6px; box-shadow: 0 3px 8px rgba(74, 9, 0, .22), inset 0 0 0 2px rgba(255, 255, 255, .55), inset 0 0 0 3px var(--c-gold-dark); } }

/* Alergēnu ikonas */
.allergens { display: flex; flex-wrap: wrap; gap: 6px; }
.allergen {
  display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 3px 10px 3px 6px; border-radius: var(--r-info);
  background: var(--c-info-soft); color: var(--c-brown); font-size: .8125rem; font-weight: 600; line-height: 1.2;
  box-shadow: inset 0 0 0 1px #f3d79c;
}
.allergen .icon { width: 18px; height: 18px; stroke-width: 1.8; color: var(--c-red-dark); }
.allergens--icons .allergen { padding: 0; width: 32px; height: 32px; justify-content: center; }
.allergens__label { font-size: .8125rem; color: var(--c-muted); font-weight: 600; align-self: center; margin-right: 2px; }

/* 7. KARTĪTES -------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--c-paper); border-radius: var(--r-md);
  box-shadow: var(--sh-1); overflow: hidden; color: var(--c-ink);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.card:has(:focus-visible) { transform: translateY(-4px); box-shadow: var(--sh-2); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { box-shadow: inset 0 0 0 3px var(--c-brown), inset 0 0 0 6px var(--c-gold); }
.card :is(button, .card__over) { position: relative; z-index: 2; }
.card__media { position: relative; overflow: hidden; background: var(--c-linen); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-5) var(--ease-out); }
@media (hover: hover) { .card:hover .card__media img { transform: scale(1.04); } }
.card__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); flex: 1; }
.card__title { font-size: var(--fs-h5); line-height: 1.3; }
@media (hover: hover) { .card__title a:hover { color: var(--c-red); } }
.card__text { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: var(--s-2); }

/* Informatīvā kartīte (nav klikšķināma): taisni stūri, bez lēciena */
.info-card { position: relative; padding: clamp(20px, 2vw, 28px); background: var(--c-paper); border-radius: var(--r-info); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); }
.info-card--linen { background: var(--c-linen); box-shadow: none; }
.info-card--dark { background: var(--c-brown); color: var(--c-on-dark); box-shadow: none; }
.info-card--dark :is(h2, h3, h4) { color: #fff; }
/* LEMUMI k2 p.1: gaišā kartīte tumšā sekcijā - krāsas VIENMĒR no kartītes, nekad no .on-dark/.bg-brown
   (nosaukums --c-brown, teksts --c-ink, saites kā uz gaiša). Specifiskums > .on-dark h3 / .on-dark a:not(.btn) / lapu .on-dark a.link-arrow */
:is(.on-dark, .bg-brown, .bg-deep, .site-footer, .info-card--dark) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) { color: var(--c-ink); }
:is(.on-dark, .bg-brown, .bg-deep, .site-footer, .info-card--dark) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) :is(h2, h3, h4, h5, h6, .card__title, .pcard__title, .pcard__title a, .card__link) { color: var(--c-brown); }
:is(.on-dark, .bg-brown, .bg-deep, .site-footer, .info-card--dark) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) a:not(.btn):not(.chip):not(.card__link):not(.link-arrow) { color: var(--c-red-dark); }
:is(.on-dark, .bg-brown, .bg-deep, .site-footer, .info-card--dark) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) .link-arrow { color: var(--c-red-dark); }
:is(.on-dark, .bg-brown, .bg-deep, .site-footer, .info-card--dark) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) :is(.muted, .card__text, .pcard__desc, .pcard__meta, .pcard__cat) { color: var(--c-muted); }
:is(.on-dark, .bg-brown, .bg-deep, .site-footer, .info-card--dark) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) .script { color: var(--c-red); }
:is(.on-dark, .bg-brown, .bg-deep, .site-footer, .info-card--dark) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) :focus-visible { outline-color: var(--c-focus); }
@media (hover: hover) { :is(.on-dark, .bg-brown, .bg-deep) :is(.card, .info-card:not(.info-card--dark)):not(.card--dark) :is(.card__title a, .pcard__title a):hover { color: var(--c-red); } }

/* Produkta kartīte - VIENOTA visur (GNA.render.productCard). Foto vienā mērogā krēmīgā laukumā (multiply noņem baltos foto fonus). */
.pcard { background: var(--c-paper); }
.pcard .card__media { aspect-ratio: 3 / 2; background: var(--c-cream); border-bottom: 1px solid var(--c-line); }
.pcard .card__media img { object-fit: contain; padding: 3% 4% 2%; mix-blend-mode: multiply; } /* k4: normalizēti foto (produkti/card/) - viens mērogs visur */
@media (hover: hover) { .pcard:hover .card__media img { transform: scale(1.05); } }
.pcard__badges { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.pcard .seal { position: absolute; z-index: 2; top: 10px; right: 10px; pointer-events: none; }
.pcard .card__body { padding: var(--s-4) var(--s-5) var(--s-5); gap: 6px; }
.pcard__cat { font: 700 .75rem/1.3 var(--font-sub); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.pcard__title { font-size: 1.0625rem; line-height: 1.3; font-weight: 700; }
.pcard__meta { font-size: var(--fs-sm); color: var(--c-muted); font-weight: 600; }
.pcard__meta--unknown { font-weight: 400; }
.pcard__desc { font-size: .875rem; line-height: 1.5; color: var(--c-muted); min-height: 3em; } /* k4 p.3: p.benefit (<= 60 zīmes) - bez line-clamp/daudzpunktes */
.pcard__allergens { margin-top: 2px; gap: 4px; }
.pcard__allergens .allergen { min-height: 24px; padding: 2px 8px 2px 5px; font-size: .75rem; }
.pcard__allergens .allergen .icon { width: 15px; height: 15px; }
.pcard__allergens .allergens__label { font-size: .75rem; }
.pcard__allergens--unknown { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--c-muted); line-height: 1.3; min-height: 24px; }
.pcard__allergens--unknown .icon { width: 16px; height: 16px; color: var(--c-muted); }
/* k5: zināms sastāvs bez galvenajiem alergēniem (p.label, contains tukšs) */
.pcard__allergens--none { display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--c-brown); line-height: 1.3; min-height: 24px; }
.pcard__allergens--none .icon { width: 16px; height: 16px; flex: none; color: var(--c-brown); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; padding-top: var(--s-3); }
.pcard__more { font-size: .9375rem; white-space: nowrap; }
/* kartītes platums nosaka, vai "Par produktu" teksts ietilpst blakus pogai */
.pcard { container-type: inline-size; container-name: pcard; }
@container pcard (max-width: 319px) {
  .pcard__more { display: none; }
  .pcard__foot { justify-content: flex-end; }
  .pcard .card__body { padding: 14px 18px 18px; }
}
/* "+ Sarakstam" / "✓ Sarakstā" - teksts redzams desktopā, mobilajā ikona 44px */
.list-toggle {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none;
  min-height: 40px; min-width: 40px; padding: 0 14px 0 10px; border: 0; border-radius: var(--r-pill);
  background: var(--c-cream); box-shadow: inset 0 0 0 1.5px var(--c-line-strong); color: var(--c-brown);
  font: 700 .875rem/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.list-toggle .icon { width: 18px; height: 18px; stroke-width: 2.4; }
@media (hover: hover) { .list-toggle:hover { background: var(--c-gold-soft); color: var(--c-brown); box-shadow: inset 0 0 0 1.5px var(--c-gold-dark); } }
.list-toggle[aria-pressed="true"] { background: var(--c-green); color: #fff; box-shadow: none; }
.list-toggle .icon-on, .list-toggle__txt--on { display: none; }
.list-toggle[aria-pressed="true"] .icon-on, .list-toggle[aria-pressed="true"] .list-toggle__txt--on { display: inline; }
.list-toggle[aria-pressed="true"] .icon-off, .list-toggle[aria-pressed="true"] .list-toggle__txt--off { display: none; }
/* LEMUMI k2 p.12: teksts "Sarakstam"/"Sarakstā" redzams VIENMĒR (arī mobilajā, arī compact) - ikona + paraksts */
.list-toggle.icon-btn { width: auto; padding: 0 12px 0 8px; }
.pcard--compact .card__body { padding: 12px 14px 14px; }
.pcard--compact .pcard__title { font-size: 1rem; }
.pcard--compact .pcard__more { display: none; }
@media (max-width: 639px) {
  .pcard .card__body { padding: 12px 14px 14px; }
  .pcard__title { font-size: 1rem; }
  .pcard__more { display: none; }
  .pcard__foot { justify-content: flex-end; padding-top: 8px; }
}
@media (max-width: 1023px), (pointer: coarse) {
  .list-toggle { min-height: 44px; padding: 0 12px 0 8px; gap: 4px; font-size: .8125rem; }
  .list-toggle .icon { width: 16px; height: 16px; }
}

/* Receptes kartīte */
.rcard .card__media { aspect-ratio: 3 / 2; }
.rcard__time {
  position: absolute; z-index: 2; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 9px; border-radius: var(--r-info); background: rgba(255, 255, 255, .94); color: var(--c-brown);
  font: 700 .875rem/1.2 var(--font-sub); letter-spacing: .02em; box-shadow: var(--sh-1);
}
.rcard__time .icon { width: 17px; height: 17px; }
.rcard__tags { font: 700 .75rem/1.3 var(--font-sub); letter-spacing: .08em; text-transform: uppercase; color: var(--c-green); }
.rcard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .875rem; color: var(--c-muted); }
.rcard__meta span { display: inline-flex; align-items: center; gap: 5px; }
.rcard__meta .icon { width: 17px; height: 17px; }
.rcard__prods { display: flex; flex-wrap: nowrap; min-width: 0; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-3); border-top: 1px dashed var(--c-line-strong); font-size: .8125rem; }
.rcard__with { flex: none; color: var(--c-muted); font-weight: 600; }
.rcard__prod { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 10px; border-radius: var(--r-info); background: var(--c-gold-soft); color: var(--c-brown); font-weight: 600; }
.rcard__more { flex: none; padding: 3px 8px; border-radius: var(--r-info); background: var(--c-linen); color: var(--c-muted); font-weight: 700; }
.rcard .card__foot { position: relative; z-index: 2; }
.rcard__prods + .card__foot { margin-top: 0; }

/* Jaunuma kartīte */
.ncard .card__media { aspect-ratio: 16 / 10; }
.card__media--contain { background: radial-gradient(circle at 50% 60%, var(--c-gold-soft), var(--c-linen) 70%); }
.card__media--contain img { object-fit: contain; padding: 4%; }
.ncard__cover {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; height: 100%;
  padding: var(--s-5); text-align: center; background: var(--cover-bg, var(--c-linen)); color: var(--cover-fg, var(--c-brown));
}
.ncard__cover--sage { --cover-bg: #e8eedf; }
.ncard__cover--brown { --cover-bg: var(--c-brown); --cover-fg: #fff; }
.ncard__cover--gold { --cover-bg: var(--c-gold); --cover-fg: var(--c-brown); }
.ncard__cover--navy { --cover-bg: var(--c-brown-deep); --cover-fg: #fff; } /* tumšie foni tikai brūni */
.ncard__kicker { font-family: var(--font-script); font-size: 1.5rem; line-height: 1.1; opacity: .9; }
.ncard__cover-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.1; }
.ncard__cover-meta { font-size: .875rem; opacity: .85; }
.ncard__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ncard__date { font-size: .8125rem; color: var(--c-muted); font-weight: 600; }

/* Kategorijas kartīte */
.ccard { text-align: center; }
.ccard .card__media { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle closest-side at 50% 52%, var(--c-gold-soft) 0 86%, var(--c-paper) 87%); }
.ccard .card__media img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(74, 9, 0, .14)); }
.ccard .card__body { padding: var(--s-4) var(--s-3) var(--s-5); gap: 2px; align-items: center; }
.ccard__name { font-size: 1.0625rem; line-height: 1.25; font-weight: 700; }
.ccard__count { font-size: .875rem; color: var(--c-muted); }

/* 8. ČIPI, AKORDEONS, TABS ------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter) 6px; margin-inline: calc(-1 * var(--gutter)); }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; flex: none;
  border: 1.5px solid var(--c-line-strong); border-radius: var(--r-pill); background: var(--c-paper); color: var(--c-brown);
  font-weight: 600; font-size: .9375rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2), transform var(--dur-1);
}
@media (hover: hover) { .chip:hover { border-color: var(--c-brown); color: var(--c-brown); } }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"], .chip[aria-current="true"], .chip.is-active, input:checked + .chip {
  background: var(--c-brown); border-color: var(--c-brown); color: #fff;
}
.chip .icon { width: 18px; height: 18px; }
.chip__x { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: -8px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.chip__count { font-size: .8125rem; opacity: .75; font-weight: 700; }
.chip--sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.chip__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-right: -6px; border-radius: var(--r-pill); background: var(--c-linen); color: var(--c-brown); opacity: 1; font-size: .75rem; }
.chip[aria-pressed="true"] .chip__count, .chip[aria-current="true"] .chip__count, .chip.is-active .chip__count { background: rgba(255, 255, 255, .2); color: #fff; }

/* Karte-ilustrācija Lielvārdes ražotnei (_src/partials/map-lielvarde.html; kontakti + vakances) */
.lv-map { margin: 0; min-width: 0; }
.lv-map__link { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1px var(--c-line), var(--sh-1); transition: box-shadow var(--dur-2); color: var(--c-brown); text-decoration: none; }
@media (hover: hover) { .lv-map__link:hover { box-shadow: inset 0 0 0 2px var(--c-brown), var(--sh-2); } }
.lv-map__link:focus-visible { outline: none; box-shadow: var(--sh-focus); }
.lv-map__link svg { display: block; width: 100%; height: auto; }
.lv-map__narrow { display: none !important; }
.lv-map__cta { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: var(--c-paper); box-shadow: var(--sh-2); font-weight: 700; font-size: .875rem; color: var(--c-brown); }
.lv-map__cta .icon { width: 16px; height: 16px; }
.lv-map figcaption { margin-top: 8px; font-size: .875rem; color: var(--c-muted); }
/* etiķetes ar oreolu (nesaplūst ar upi/ceļu); .lv-map__legal = „Jur. adrese” (lapa var paslēpt) */
.lv-map__label { paint-order: stroke; stroke: #fbf6ec; stroke-width: 5px; stroke-linejoin: round; }
@media (max-width: 599px) {
  .lv-map__wide { display: none !important; }
  .lv-map__narrow { display: block !important; }
  .lv-map__cta { position: static; display: flex; justify-content: center; min-height: 48px; border-radius: 0; box-shadow: none; border-top: 1px solid var(--c-line); }
}
@media (prefers-reduced-motion: reduce) { .lv-map__link { transition: none; } }

/* Karuseļa punkti (GNA.dots / [data-dots]) - LEMUMI k2 p.3: TIKAI indikators (aria-hidden, nav klikšķināmi, nav fokusējami).
   Navigācija: swipe / bultas (desktop) / tastatūra (fokuss kartītē ritina to redzamā). Aktīvais = sarkana svītra. */
.rail-dots { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 20px; margin-top: 8px; pointer-events: none; }
.rail-dots[hidden] { display: none; }
.rail-dot { display: block; flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--c-line-strong); transition: width var(--dur-2), background-color var(--dur-2); }
.rail-dot[aria-current="true"], .rail-dot.is-current { width: 22px; background: var(--c-red); }
.on-dark .rail-dot, .bg-brown .rail-dot, .bg-deep .rail-dot { background: rgba(255, 255, 255, .35); }
.on-dark .rail-dot.is-current, .bg-brown .rail-dot.is-current, .bg-deep .rail-dot.is-current { background: var(--c-gold); }
@media (min-width: 768px) { .rail-dots--mobile { display: none !important; } }
/* Ritināma lente (site.js ietin .chips--scroll, .tabs[role=tablist], [data-scroller]) - LEMUMI k2 p.2:
   norāde NEKAD nepārklāj čipus/kartītes. Kamēr lente pārplūst, .scroller rezervē malu zonu (padding), lente beidzas PIRMS tās
   (pēdējais čips ritinot vienmēr pilnībā redzams), malā mīksts gradients; bultas (desktop) / bultiņa "vēl" (skāriens) - tikai zonā. */
.scroller { position: relative; min-width: 0; --scroller-zone: 0px; }
.scroller.is-overflow > .scroller__track {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%);
}
.scroller.is-overflow:not(.is-start) { --fade-l: 32px; }
.scroller.is-overflow:not(.is-end) { --fade-r: 32px; }
.scroller__track { scroll-behavior: smooth; }
.scroller__btn {
  position: absolute; z-index: 3; top: 50%; display: none; place-items: center; width: 40px; height: 40px; margin-top: -20px; padding: 0;
  border: 0; border-radius: 50%; background: var(--c-paper); color: var(--c-brown); box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line-strong); cursor: pointer;
  transition: background-color var(--dur-2), color var(--dur-2);
}
@media (hover: hover) { .scroller__btn:hover { background: var(--c-brown); color: #fff; } }
.scroller__btn .icon { width: 20px; height: 20px; }
.scroller__btn--prev { left: 0; }
.scroller__btn--next { right: 0; }
.scroller__hint {
  position: absolute; z-index: 3; top: 50%; right: calc(-1 * var(--gutter)); display: none; align-items: center; justify-content: center;
  width: calc(var(--gutter) + 24px); height: 44px; margin-top: -22px; color: var(--c-brown); pointer-events: none;
  animation: hint-nudge 2.4s var(--ease-in-out) 1s 2 both;
}
.on-dark .scroller__hint, .bg-brown .scroller__hint, .bg-deep .scroller__hint { color: var(--c-gold); }
.scroller__hint .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.scroller__hint-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* desktops ar peli: bultas savā zonā abās pusēs (lente bez negatīvās malas) */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .scroller.is-overflow { padding-inline: 52px; }
  .scroller.is-overflow > .scroller__track { margin-inline: 0; padding-inline: 4px; scroll-padding-inline: 4px; }
  .scroller.is-overflow:not(.is-start) > .scroller__btn--prev, .scroller.is-overflow:not(.is-end) > .scroller__btn--next { display: grid; }
}
/* k3 p.5: kartīšu lente (.scroller--rail) platā desktopā - pirmā kartīte līdzināta ar virsrakstu/konteineru (bez 52px zonas),
   bultas ĀRPUS konteinera (laukā, kur ir >= 56px brīvas vietas), bez gradienta (redzamās kartītes netiek nogrieztas) */
@media (hover: hover) and (pointer: fine) and (min-width: 1360px) {
  .scroller.scroller--rail.is-overflow { padding-inline: 0; --fade-l: 0px; --fade-r: 0px; }
  .scroller--rail.is-overflow > .scroller__track { padding-inline: 2px; scroll-padding-inline: 2px; }
  .scroller--rail > .scroller__btn--prev { left: -60px; }
  .scroller--rail > .scroller__btn--next { right: -60px; }
  .scroller--rail > .scroller__btn { width: 48px; height: 48px; margin-top: -24px; }
}
/* skāriens / šaurs ekrāns: labajā malā zona (gutter + 24px), lente beidzas pirms tās; bultiņa zonā, kamēr nav beigas */
@media (hover: none), (pointer: coarse), (max-width: 767px) {
  .scroller.is-overflow { padding-right: calc(var(--gutter) + 24px); }
  .scroller.is-overflow:not(.is-end) > .scroller__hint { display: inline-flex; }
}
@keyframes hint-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.accordion { border-top: 1px solid var(--c-line); }
.acc > h2, .acc > h3, .acc > h4 { margin: 0; font-size: inherit; }
.acc { border-bottom: 1px solid var(--c-line); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); width: 100%; min-height: 60px;
  padding: var(--s-4) 4px; border: 0; background: none; text-align: left; font-family: var(--font-heading);
  font-weight: 700; font-size: var(--fs-h5); color: var(--c-brown); cursor: pointer;
}
@media (hover: hover) { .acc__btn:hover { color: var(--c-red); } }
/* k3 p.8: jautājuma teksts aizņem visu platumu (ikona - fiksēta), mobilajā bez agras laušanas */
.acc__btn > :not(.icon) { flex: 1 1 auto; min-width: 0; }
.acc__btn > .icon { flex: none; }
@media (max-width: 767px) { .acc .acc__btn { gap: 10px; padding-inline: 0; text-wrap: wrap; } .acc .acc__inner { padding-inline: 0; } }
.acc__btn .icon { transition: transform var(--dur-3) var(--ease-out); }
.acc__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__inner { padding: 0 4px var(--s-5); color: var(--c-ink); }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; min-height: 48px; padding: 0 18px; border: 0; background: none; color: var(--c-muted);
  font-weight: 700; white-space: nowrap; cursor: pointer;
}
.tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--c-red); transform: scaleX(0); transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .tab:hover { color: var(--c-brown); } }
.tab[aria-selected="true"] { color: var(--c-brown); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabpanel { padding-top: var(--s-5); }
.tabpanel:focus-visible { outline-offset: 6px; }

/* Segmentu slēdzis (piem., diennakts laiks, porcijas) */
.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--c-linen); box-shadow: inset 0 0 0 1px var(--c-line); }
.segmented button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 0;
  border-radius: var(--r-pill); background: transparent; color: var(--c-brown); font-weight: 600; font-size: .9375rem; cursor: pointer;
  transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
@media (hover: hover) { .segmented button:hover { background: rgba(255, 255, 255, .7); } }
.segmented button[aria-pressed="true"] { background: var(--c-paper); color: var(--c-red-dark); box-shadow: var(--sh-1); }
.segmented .icon { width: 19px; height: 19px; }

/* 9. FORMAS ---------------------------------------------------------------- */
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-weight: 700; font-size: .9375rem; color: var(--c-brown); }
.field__req { color: var(--c-red); margin-left: 2px; }
.field__opt { font-weight: 400; color: var(--c-muted); font-size: .875rem; }
.field__hint { font-size: .875rem; color: var(--c-muted); }
/* k4 p.7: neitrāls padoms ar ikonu (nav sarkans - sarkans tikai kļūdām) */
.field__hint--info { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-weight: 400; color: var(--c-muted); }
.field__hint--info .icon, .field__hint .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--c-brown); }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--c-error); }
.field__error .icon { width: 18px; height: 18px; margin-top: 1px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm);
  background: var(--c-paper); color: var(--c-ink); font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.input::placeholder, .textarea::placeholder { color: #9a877d; }
@media (hover: hover) { .input:hover, .select:hover, .textarea:hover { border-color: var(--c-brown-2); } }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-brown); box-shadow: 0 0 0 4px rgba(251, 175, 19, .45); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background: var(--c-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a0900' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.input[disabled], .select[disabled], .textarea[disabled] { background: var(--c-linen); color: var(--c-muted); cursor: not-allowed; }
[aria-invalid="true"].input, [aria-invalid="true"].select, [aria-invalid="true"].textarea { border-color: var(--c-error); background-color: #fffafa; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .2); }
.field.is-valid .input { border-color: var(--c-success); }

/* Checkbox / radio - pielāgoti, bet uz īstiem input */
.check, .radio { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; line-height: 1.45; font-size: .9375rem; }
.check input, .radio input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; top: 10px; left: 0; cursor: pointer; }
.check__box, .radio__dot {
  flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--c-line-strong);
  background: var(--c-paper); transition: background-color var(--dur-2), border-color var(--dur-2);
}
.check__box { border-radius: 6px; }
.radio__dot { border-radius: 50%; }
.check__box::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--dur-2) var(--ease-spring); }
.radio__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform var(--dur-2) var(--ease-spring); }
.check input:checked + .check__box, .radio input:checked + .radio__dot { background: var(--c-brown); border-color: var(--c-brown); }
.check input:checked + .check__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.radio input:checked + .radio__dot::after { transform: scale(1); }
.check input:focus-visible + .check__box, .radio input:focus-visible + .radio__dot { box-shadow: var(--sh-focus); }
@media (hover: hover) { .check:hover .check__box, .radio:hover .radio__dot { border-color: var(--c-brown); } }
.check input[aria-invalid="true"] + .check__box { border-color: var(--c-error); }
.check input:disabled + .check__box { background: var(--c-linen); }
.field--check { gap: 0; }

/* Faila lauks */
.file {
  position: relative; display: flex; align-items: center; gap: var(--s-4); min-height: 76px; padding: var(--s-4);
  border: 2px dashed var(--c-line-strong); border-radius: var(--r-sm); background: var(--c-paper); cursor: pointer;
  transition: border-color var(--dur-2), background-color var(--dur-2);
}
.file.is-drag { border-color: var(--c-brown); background: var(--c-cream); }
@media (hover: hover) { .file:hover { border-color: var(--c-brown); background: var(--c-cream); } }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-linen); color: var(--c-brown); flex: none; }
.file__text { display: grid; gap: 2px; font-size: .9375rem; }
.file__text strong { color: var(--c-brown); }
.file__name { font-size: .875rem; color: var(--c-success); font-weight: 600; }
.file:has(input:focus-visible) { box-shadow: var(--sh-focus); }
.file:has(input[aria-invalid="true"]) { border-color: var(--c-error); }

/* Formas veiksme un kopsavilkums */
.form-success {
  display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); border-radius: var(--r-md);
  background: var(--c-success-soft); color: var(--c-ink); box-shadow: inset 0 0 0 1px #f1d58f; animation: pop-in var(--dur-4) var(--ease-out);
}
.form-success > .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--c-brown); color: var(--c-gold); stroke-width: 2.6; }
.form-success__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h5); color: var(--c-success); margin-bottom: 2px; }
.form-success:focus { outline: none; }
.form-alert { display: flex; gap: 10px; padding: var(--s-4); border-radius: var(--r-sm); background: var(--c-error-soft); color: var(--c-error); font-weight: 600; font-size: .9375rem; }
.form-note { font-size: .875rem; color: var(--c-muted); }

/* 10. BREADCRUMBS, PAGE HERO, CTA JOSLA ----------------------------------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.crumbs li { display: inline-flex; align-items: center; color: var(--c-muted); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { color: var(--c-brown); text-decoration: none; padding: 6px 0; }
@media (hover: hover) { .crumbs a:hover { color: var(--c-red); text-decoration: underline; } }
.crumbs [aria-current] { color: var(--c-muted); }
.crumbs-bar { padding-top: var(--s-4); }
.on-dark .crumbs li, .on-dark .crumbs [aria-current] { color: var(--c-on-dark-muted); }
.on-dark .crumbs a { color: #fff; }
@media (max-width: 767px), (pointer: coarse) { .crumbs a { display: inline-block; padding: 12px 0; } }

.page-hero { position: relative; padding: clamp(28px, 3vw, 44px) 0 clamp(48px, 5vw, 88px); background: var(--c-linen); overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero .crumbs { margin-bottom: clamp(20px, 2.4vw, 36px); }
.page-hero__title { max-width: 18ch; }
.page-hero__lead { max-width: 60ch; margin-top: var(--s-4); font-size: var(--fs-lg); color: var(--c-ink); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.page-hero__deco { position: absolute; right: -40px; top: 50%; width: clamp(160px, 22vw, 320px); transform: translateY(-50%) rotate(-12deg); opacity: .9; pointer-events: none; }
/* --compact: lapām, kur uzreiz zem hero seko rīki/saraksts (katalogs, meklēšana, saraksts) */
.page-hero--compact { padding-bottom: clamp(28px, 3.5vw, 56px); }
@media (max-width: 639px) { .page-hero__actions .btn { flex: 1 1 100%; } }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__title, .page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .crumbs ol { justify-content: center; }
.page-hero--center .page-hero__actions { justify-content: center; }
.page-hero--photo { color: #fff; background: var(--c-brown-deep); min-height: clamp(320px, 34vw, 460px); display: flex; align-items: flex-end; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44, 6, 0, .86), rgba(44, 6, 0, .55) 55%, rgba(44, 6, 0, .2)); }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .page-hero__lead { color: var(--c-on-dark); }

/* CTA josla */
.cta-band { position: relative; padding: clamp(36px, 4vw, 64px); border-radius: 0; background: var(--c-brown); color: var(--c-on-dark); overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.cta-band__copy { max-width: 640px; }
.cta-band h2 { color: #fff; font-size: var(--fs-h3); }
.cta-band p:not(.script) { margin-top: var(--s-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cta-band--gold { background: var(--c-gold); color: var(--c-brown); }
.cta-band--gold h2 { color: var(--c-brown); }
.cta-band--linen { background: var(--c-linen); color: var(--c-ink); }
.cta-band--linen h2 { color: var(--c-brown); }

/* Lapa top (vietturis) */
.wip { display: grid; justify-items: center; gap: var(--s-4); text-align: center; padding: clamp(40px, 5vw, 72px) var(--s-5); border: 2px dashed var(--c-line-strong); background: var(--c-paper); }
.wip__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-gold-soft); color: var(--c-brown); }
.wip__icon .icon { width: 34px; height: 34px; }
.wip h2 { font-size: var(--fs-h3); }
.wip p { max-width: 52ch; color: var(--c-muted); }

/* 11. MODĀLIS, BOTTOM-SHEET, TOSTS ---------------------------------------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--s-4); }
.modal[hidden] { display: none !important; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(44, 6, 0, .55); backdrop-filter: blur(2px); animation: fade-in var(--dur-3) var(--ease-out); }
.modal__panel {
  position: relative; width: min(100%, var(--modal-w, 560px)); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  background: var(--c-paper); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: clamp(24px, 3vw, 36px);
  animation: modal-in var(--dur-3) var(--ease-out);
}
.modal--wide { --modal-w: 820px; }
.modal__title { font-size: var(--fs-h3); padding-right: 48px; }
/* virsrakstam fokuss tiek likts programmatiski (tabindex=-1, ekrānlasītājam) - bez redzama rāmja */
.modal__title[tabindex="-1"]:focus { outline: none; box-shadow: none; }
.modal__close { position: absolute; top: 12px; right: 12px; background: var(--c-cream); z-index: 2; }
.modal__body { margin-top: var(--s-4); }
.modal__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.modal.is-closing .modal__backdrop { animation: fade-out var(--dur-2) ease forwards; }
.modal.is-closing .modal__panel { animation: modal-out var(--dur-2) ease forwards; }
/* Mobilajā .modal--sheet kļūst par bottom-sheet */
@media (max-width: 639px) {
  .modal--sheet { place-items: end stretch; padding: 0; }
  .modal--sheet .modal__panel { width: 100%; max-height: 88dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); animation: sheet-in var(--dur-3) var(--ease-out); }
  .modal--sheet .modal__panel::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 5px; background: var(--c-line-strong); }
  .modal--sheet.is-closing .modal__panel { animation: sheet-out var(--dur-2) ease forwards; }
  .modal--sheet .modal__actions { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); margin-inline: -20px; margin-bottom: calc(-20px - env(safe-area-inset-bottom)); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--c-paper); border-top: 1px solid var(--c-line); }
  .modal--sheet .modal__actions .btn { flex: 1; }
}
html.is-locked, body.is-locked { overflow: hidden; }
html.is-locked { scroll-behavior: auto; }

/* ---------- Ieteikumu lauks (combobox): .suggest > .suggest__ico + input.suggest__input + ul.suggest__list[role=listbox] ---------- */
.suggest { position: relative; flex: 1; min-width: 0; }
.suggest__ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.suggest__ico + .suggest__input { padding-left: 48px; }
.suggest__list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 340px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: var(--c-paper); border-radius: var(--r-sm);
  box-shadow: var(--sh-3), inset 0 0 0 1px var(--c-line); animation: suggest-drop var(--dur-2) var(--ease-out);
}
.suggest__list [role="option"] { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: var(--r-xs); cursor: pointer; }
.suggest__list [role="option"] img { width: 48px; height: 36px; object-fit: contain; flex: none; background: var(--c-cream); border-radius: 4px; }
.suggest__list [aria-selected="true"] { background: var(--c-gold-soft); }
@media (hover: hover) { .suggest__list [role="option"]:hover { background: var(--c-gold-soft); } }
.suggest__name { display: block; font-weight: 600; color: var(--c-brown); line-height: 1.3; }
.suggest__sub { display: block; font-size: .8125rem; color: var(--c-muted); }
.suggest__empty { padding: 12px; font-size: .9375rem; color: var(--c-muted); }
@keyframes suggest-drop { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .suggest__list { animation: none; } }

/* --toast-offset: lapas ar sticky apakšējo joslu to palielina (piem. body.page-produkts { --toast-offset: 86px; } mobilajā) */
.toasts { position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(var(--toast-offset, calc(20px + var(--sticky-bar-h))) + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 12px 12px 16px; border-radius: var(--r-md);
  background: var(--c-brown-deep); color: #fff; box-shadow: var(--sh-3); font-weight: 600; font-size: .9375rem; pointer-events: auto;
  animation: toast-in var(--dur-3) var(--ease-spring);
}
.toast .icon { color: var(--c-gold); }
.toast__text { flex: 1; }
.toast__action { color: var(--c-gold); font-weight: 700; text-decoration: underline; background: none; border: 0; padding: 10px 8px; min-height: 44px; }
@media (hover: hover) { .toast__action:hover { color: #fff; } }
.toast--success .icon { color: var(--c-gold); }
.toast--error { background: var(--c-error); }
.toast--error .icon { color: #fff; }
.toast.is-out { animation: toast-out var(--dur-2) ease forwards; }

/* 12. TABULA, TUKŠAIS STĀVOKLIS, SKELETON --------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--c-line); background: var(--c-paper); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table caption { text-align: left; padding: var(--s-3) var(--s-4); font-weight: 700; color: var(--c-brown); caption-side: top; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.table thead th { background: var(--c-linen); font-family: var(--font-sub); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-brown); }
.table td:last-child, .table th:last-child { text-align: right; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .is-sub td:first-child { padding-left: 32px; color: var(--c-muted); }
@media (hover: hover) { .table tbody tr:hover { background: var(--c-cream); } }

.empty { width: min(100%, 760px); margin-inline: auto; } /* k3 p.7: vienots platums visās lapās */
.empty > h1.empty__title, .empty > h1 { font-size: clamp(2rem, 1.55rem + 1.4vw, 2.5rem); } /* 404 u.c. H1: 32-40px */
.empty { display: grid; justify-items: center; gap: var(--s-3); padding: clamp(40px, 5vw, 64px) var(--s-5); text-align: center; background: var(--c-paper); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--c-line); }
.empty__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--c-linen); color: var(--c-brown); margin-bottom: var(--s-2); }
.empty__icon .icon { width: 38px; height: 38px; stroke-width: 1.6; }
.empty h2, .empty h3 { font-size: var(--fs-h4); }
.empty p { max-width: 46ch; color: var(--c-muted); }
.empty .cluster { justify-content: center; margin-top: var(--s-3); }
/* LEMUMI k2 p.9: VIENOTS tukšais stāvoklis (404, produkts~nav-atrasts, recepte~nav-atrasta, meklesana~nav-rezultatu, filtri bez rezultātiem):
   .empty > .empty__icon + p.script.empty__kicker ("Ups!", --red) + h1/h2.empty__title + p + form.empty__search + ul.empty__tips + .empty__actions */
.empty .script, .empty__kicker { margin: 0 0 -6px; color: var(--c-red); font-size: var(--fs-script); }
.empty > h1, .empty > h2, .empty__title { font-size: var(--fs-h3); margin: 0; text-wrap: balance; }
.empty > p:not(.script) { max-width: 48ch; color: var(--c-muted); }
.empty__search { position: relative; display: flex; gap: 10px; width: min(100%, 560px); margin-top: var(--s-2); }
.empty__search > .icon { position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; color: var(--c-muted); pointer-events: none; }
.empty__search .input { flex: 1; min-width: 0; min-height: 52px; padding-left: 48px; border-radius: var(--r-pill); }
.empty__search .btn { flex: none; min-height: 52px; }
.empty__guess { font-weight: 600; color: var(--c-ink) !important; }
.empty__tips { display: grid; gap: 8px; justify-self: center; text-align: left; font-size: .9375rem; color: var(--c-ink); list-style: none; padding: 0; }
.empty__tips li { display: flex; align-items: flex-start; gap: 10px; }
.empty__tips .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--c-success); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin-top: var(--s-3); }
.empty__actions .link-arrow { min-height: 44px; }
@media (max-width: 639px) {
  .empty { padding: 32px 18px; }
  .empty__search { flex-direction: column; }
  .empty__search .btn { width: 100%; }
  .empty__actions .btn { flex: 1 1 100%; }
}

.skeleton { position: relative; overflow: hidden; background: var(--c-linen); border-radius: var(--r-xs); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); animation: shimmer 1.4s infinite; }
.skeleton-card { min-height: 360px; border-radius: var(--r-md); background: var(--c-paper); box-shadow: var(--sh-1); padding: var(--s-4); display: grid; gap: 12px; align-content: start; }
.skeleton-card .skeleton:first-child { aspect-ratio: 3 / 2; }
.skeleton-line { height: 14px; }
.skeleton-line--short { width: 55%; }

/* 13. GALVENE ------------------------------------------------------------- */
.site-header { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: var(--z-header); }
.topbar { background: var(--c-brown-deep); color: var(--c-on-dark-muted); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: var(--topbar-h); }
.topbar a.topbar__note { gap: 8px; color: var(--c-on-dark); font-weight: 600; }
@media (hover: hover) { .topbar a.topbar__note:hover { color: var(--c-gold); } }
.topbar__note .icon { width: 17px; height: 17px; color: var(--c-gold); }
.topbar__lbl { color: var(--c-on-dark-muted); font-weight: 400; }
.topbar__links { display: flex; align-items: center; gap: 6px 22px; height: 100%; }
.topbar__links > li { display: flex; align-items: center; height: 100%; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--c-on-dark); text-decoration: none; height: 100%; }
@media (hover: hover) { .topbar a:hover { color: var(--c-gold); } }
.topbar .icon { width: 15px; height: 15px; }
.lang { gap: 2px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .18); font-weight: 700; letter-spacing: .04em; }
.lang a, .lang__soon { padding: 0 6px; }
.lang__cur { color: var(--c-gold) !important; min-width: 44px; justify-content: center; }
.lang__soon { color: var(--c-on-dark); opacity: .5; cursor: default; }
.lang__note { margin-left: 4px; font-family: var(--font-script); font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--c-gold); line-height: 1; }

.header-bar { position: relative; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--c-line); transition: box-shadow var(--dur-3) var(--ease-out); }
@supports (backdrop-filter: blur(8px)) { .header-bar { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled .header-bar { box-shadow: 0 6px 24px rgba(74, 9, 0, .1); }
.site-header:has(.mega.is-open) .header-bar { background: #fff; }
.header-bar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4); height: var(--header-h); transition: height var(--dur-3) var(--ease-out); }
.site-header.is-scrolled .header-bar__inner { height: var(--header-h-small); }
.header-bar__start, .header-bar__end { display: flex; align-items: center; gap: 4px; min-width: 0; }
.header-bar__end { justify-content: flex-end; }
.brand { display: block; position: relative; z-index: 2; border-radius: 50%; }
.brand img { width: 96px; height: 96px; filter: drop-shadow(0 1px 1.5px rgba(74, 9, 0, .14)); /* k3 p.6: ēna nepārsniedz galveni (nav pelēka pusapļa) */ transition: width var(--dur-3) var(--ease-out), height var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
@media (hover: hover) { .brand:hover img { transform: rotate(-4deg) scale(1.03); } }
.site-header.is-scrolled .brand img { width: 64px; height: 64px; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--c-brown);
  font-weight: 700; font-size: .975rem; text-decoration: none; border-radius: var(--r-sm); white-space: nowrap;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2.5px; border-radius: 3px; background: var(--c-red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease-out); }
@media (hover: hover) { .nav__link:hover { color: var(--c-red); } }
.nav__item.is-active > .nav__link::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
@media (hover: hover) { .nav__link:hover::after { transform: scaleX(1); } }
.nav__item.is-active > .nav__link { color: var(--c-red-dark); }
.has-mega .nav__link, .has-drop .nav__link { padding-right: 2px; }
.has-mega .nav__link::after, .has-drop .nav__link::after { right: 2px; }
.nav__toggle { display: grid; place-items: center; width: 30px; height: 44px; margin-right: 4px; border: 0; background: none; color: var(--c-brown); border-radius: var(--r-xs); }
.nav__toggle .icon { width: 18px; height: 18px; transition: transform var(--dur-3) var(--ease-out); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (hover: hover) { .nav__toggle:hover { color: var(--c-red); } }

.drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 8px; list-style: none;
  background: var(--c-paper); border-radius: var(--r-md); box-shadow: var(--sh-3); border: 1px solid var(--c-line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.nav__item.is-open > .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.drop a:focus-visible { background: var(--c-cream); color: var(--c-red-dark); }
@media (hover: hover) { .drop a:hover { background: var(--c-cream); color: var(--c-red-dark); } }
.drop a[aria-current] { color: var(--c-red-dark); }

.header-b2b { margin-left: 8px; }
.header-b2b.is-active { --btn-bg: var(--c-brown); --btn-fg: #fff; }
.header-list .icon, .header-search .icon { width: 24px; height: 24px; }
.header-list__txt { display: none; }
@media (min-width: 1280px) {
  .header-list { display: inline-flex; width: auto; gap: 6px; padding: 0 14px 0 10px; }
  .header-list__txt { display: inline; font-weight: 700; font-size: .9375rem; }
  .header-list .count-badge { position: static; box-shadow: none; margin-left: 2px; }
}
.header-burger, .header-search-m, .header-call { display: none; }

/* Mega izvēlne */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-mega);
  background: var(--c-paper); border-bottom: 1px solid var(--c-line); box-shadow: 0 24px 48px rgba(44, 6, 0, .14);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.mega[hidden] { display: block !important; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 48px); padding-block: 28px 32px; }
.mega__title { font: 700 .8125rem/1.3 var(--font-sub); letter-spacing: .09em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 14px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; }
.mega-cat { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-sm); text-decoration: none; color: var(--c-ink); transition: background-color var(--dur-2); }
.mega-cat:focus-visible { background: var(--c-cream); }
@media (hover: hover) { .mega-cat:hover { background: var(--c-cream); } }
.mega-cat__img { grid-row: span 2; display: grid; place-items: center; width: 76px; height: 58px; border-radius: var(--r-sm); background: var(--c-linen); overflow: hidden; }
.mega-cat__img img { width: 92%; height: 92%; object-fit: contain; transition: transform var(--dur-3) var(--ease-out); }
@media (hover: hover) { .mega-cat:hover .mega-cat__img img { transform: scale(1.1) rotate(-2deg); } }
.mega-cat__name { align-self: end; font-family: var(--font-heading); font-weight: 700; color: var(--c-brown); line-height: 1.25; font-size: .975rem; }
@media (hover: hover) { .mega-cat:hover .mega-cat__name { color: var(--c-red-dark); } }
.mega-cat__count { align-self: start; font-size: .8125rem; color: var(--c-muted); }
.mega.is-open .mega__grid li { animation: rise-in var(--dur-3) var(--ease-out) both; }
.mega.is-open .mega__grid li:nth-child(2) { animation-delay: 25ms; } .mega.is-open .mega__grid li:nth-child(3) { animation-delay: 50ms; }
.mega.is-open .mega__grid li:nth-child(4) { animation-delay: 75ms; } .mega.is-open .mega__grid li:nth-child(5) { animation-delay: 100ms; }
.mega.is-open .mega__grid li:nth-child(6) { animation-delay: 125ms; } .mega.is-open .mega__grid li:nth-child(7) { animation-delay: 150ms; }
.mega.is-open .mega__grid li:nth-child(8) { animation-delay: 175ms; } .mega.is-open .mega__grid li:nth-child(9) { animation-delay: 200ms; }
.mega__side { display: grid; gap: 14px; align-content: start; }
.mega-promo { position: relative; display: grid; gap: 2px; padding: 18px 20px 20px; border-radius: var(--r-md); background: var(--c-brown-deep); color: #fff; text-decoration: none; overflow: hidden; }
.mega-promo img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 6px; transition: transform var(--dur-4) var(--ease-out); }
@media (hover: hover) { .mega-promo:hover img { transform: scale(1.05); } }
.mega-promo__kicker { font-family: var(--font-script); color: var(--c-gold); font-size: 1.35rem; line-height: 1; }
.mega-promo__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; }
.mega-promo .link-arrow { color: var(--c-gold); margin-top: 6px; font-size: .9375rem; }
.mega__links { display: grid; gap: 2px; }
.mega__links a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm); color: var(--c-brown); font-weight: 700; text-decoration: none; font-size: .9375rem; }
@media (hover: hover) { .mega__links a:hover { background: var(--c-cream); color: var(--c-red-dark); } }
.mega__links .icon { width: 20px; height: 20px; color: var(--c-red); }
.mega-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(44, 6, 0, .28); opacity: 0; visibility: hidden; transition: opacity var(--dur-3), visibility 0s linear var(--dur-3); }
.mega-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Galvene planšetē un telefonā */
@media (max-width: 1079px) {
  .topbar__links > .topbar__ask { display: none; }
  .nav, .header-b2b, .header-search, .mega, .mega-scrim { display: none !important; }
  .header-burger, .header-search-m, .header-call { display: inline-grid; }
  .header-bar__inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .brand img { width: 56px; height: 56px; }
  .site-header.is-scrolled .brand img { width: 48px; height: 48px; }
  .header-bar__start { gap: 2px; margin-left: -10px; }
  .header-bar__end { gap: 2px; margin-right: -10px; }
}
.hdr-cap { display: none; }
/* planšetē/telefonā ikonām paraksts zem ikonas (13px): Izvēlne, Meklēt, Saraksts, Zvanīt - pirmajā apmeklējumā skaidrs, kas ir kas */
@media (max-width: 1079px) {
  .header-burger, .header-search-m, .header-list, .header-call {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    width: auto; min-width: 44px; height: auto; min-height: 48px; padding: 2px 6px; border-radius: var(--r-sm); position: relative;
  }
  .header-burger .icon, .header-search-m .icon, .header-list .icon, .header-call .icon { width: 22px; height: 22px; }
  .hdr-cap, .header-list__txt.hdr-cap { display: block; font: 600 .8125rem/1.1 var(--font-body); color: var(--c-brown); white-space: nowrap; }
  .header-list .count-badge { position: absolute; top: -2px; right: 2px; margin: 0; box-shadow: 0 0 0 2px #fff; }
}
@media (max-width: 359px) { .header-burger, .header-search-m, .header-list, .header-call { padding-inline: 3px; } }
/* Telefonā augšējās joslas nav: zvans ir ikona galvenē, valoda un "Jautājums par produktu" - izvēlnē */
@media (max-width: 767px) { .topbar { display: none; } }

/* Mobilā izvēlne (pilnekrāna) */
.mmenu {
  position: fixed; inset: 0; z-index: var(--z-overlay); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  background: var(--c-cream); padding-bottom: env(safe-area-inset-bottom);
}
.mmenu.is-open { animation: slide-in-left var(--dur-3) var(--ease-out); }
.mmenu.is-closing { animation: slide-out-left var(--dur-2) ease forwards; }
.mmenu__top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 8px var(--gutter); background: var(--c-paper); border-bottom: 1px solid var(--c-line); min-height: 68px; }
.mmenu__brand img { width: 52px; height: 52px; }
.mmenu__nav { padding: 8px var(--gutter); }
.mmenu__list > li { border-bottom: 1px solid var(--c-line); }
.mmenu__link, .mmenu__acc {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; padding: 0 4px;
  border: 0; background: none; color: var(--c-brown); font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; text-decoration: none; text-align: left;
}
.mmenu__link[aria-current], .mmenu__link.is-active { color: var(--c-red-dark); }
.mmenu__acc .icon { transition: transform var(--dur-3) var(--ease-out); }
.mmenu__acc[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mmenu__sub { padding: 0 0 12px 8px; display: grid; }
.mmenu__sub a { display: flex; align-items: center; min-height: 48px; padding: 0 10px; color: var(--c-ink); text-decoration: none; font-weight: 600; border-radius: var(--r-sm); }
.mmenu__sub a:active { background: var(--c-linen); }
@media (hover: hover) { .mmenu__sub a:hover { background: var(--c-linen); } }
.mmenu__actions { display: grid; gap: 12px; padding: 20px var(--gutter) 28px; margin-top: auto; }
.mmenu__call.btn { white-space: normal; text-align: left; justify-content: flex-start; padding-block: 10px; }
.mmenu__call-txt { display: grid; gap: 2px; }
.mmenu__call-sub { font-weight: 600; font-size: .875rem; opacity: .85; }
.mmenu__actions .btn { white-space: normal; }
.mmenu__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: .9375rem; }
.mmenu__listlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--c-brown); font-weight: 700; text-decoration: none; }
.mmenu__lang { color: var(--c-muted); font-weight: 600; }
.mmenu__lang [aria-current] { color: var(--c-brown); font-weight: 800; }
.mmenu__soon { color: var(--c-muted); font-weight: 600; }

/* 14. MEKLĒŠANA ------------------------------------------------------------ */
.search-panel { position: fixed; inset: 0; z-index: var(--z-overlay); }
.search-panel__backdrop { position: absolute; inset: 0; background: rgba(44, 6, 0, .5); animation: fade-in var(--dur-3) var(--ease-out); }
.search-panel__box { position: relative; max-height: 100dvh; overflow-y: auto; background: var(--c-cream); box-shadow: var(--sh-3); animation: drop-in var(--dur-3) var(--ease-out); padding: 20px 0 28px; }
.search-panel.is-closing .search-panel__box { animation: drop-out var(--dur-2) ease forwards; }
.search-panel.is-closing .search-panel__backdrop { animation: fade-out var(--dur-2) ease forwards; }
.search-panel__inner { max-width: 880px; }
.search-form { position: relative; display: flex; align-items: center; }
.search-form__icon { position: absolute; left: 20px; width: 24px; height: 24px; color: var(--c-brown); pointer-events: none; }
.search-form__input {
  width: 100%; min-height: 64px; padding: 0 64px 0 58px; border: 2px solid var(--c-brown); border-radius: var(--r-pill);
  background: var(--c-paper); font-size: 1.125rem; color: var(--c-ink); -webkit-appearance: none; appearance: none;
}
.search-form__input:focus { outline: none; box-shadow: 0 0 0 5px rgba(251, 175, 19, .5); }
.search-form__input::-webkit-search-cancel-button { display: none; }
.search-form__close { position: absolute; right: 10px; }
.search-results { margin-top: 18px; }
.sr-group + .sr-group { margin-top: 18px; }
.sr-group__title { display: flex; justify-content: space-between; align-items: baseline; font: 700 .8125rem/1.3 var(--font-sub); letter-spacing: .09em; text-transform: uppercase; color: var(--c-muted); margin: 0 6px 6px; }
.sr-list { display: grid; gap: 2px; }
.sr-item { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 10px; border-radius: var(--r-sm); color: var(--c-ink); text-decoration: none; }
.sr-item:focus-visible, .sr-item.is-active { background: var(--c-paper); box-shadow: var(--sh-1); outline: none; }
@media (hover: hover) { .sr-item:hover { background: var(--c-paper); box-shadow: var(--sh-1); outline: none; } }
.sr-item__img { width: 60px; height: 44px; flex: none; border-radius: 6px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); }
.sr-item__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--c-linen); color: var(--c-brown); }
.sr-item__ico .icon { width: 20px; height: 20px; }
.sr-item__text { display: grid; min-width: 0; }
.sr-item__name { font-weight: 700; color: var(--c-brown); line-height: 1.3; }
.sr-item__name mark { background: var(--c-gold-soft); color: inherit; padding: 0 1px; border-radius: 3px; }
.sr-item__sub { font-size: .8125rem; color: var(--c-muted); }
.sr-all { display: flex; justify-content: center; margin-top: 18px; }
.sr-empty { padding: 18px 8px; color: var(--c-muted); }
.sr-empty strong { color: var(--c-brown); }
.sr-quick { margin-top: 6px; }
.sr-quick .chips { margin-top: 8px; }

/* 15. KĀJENE --------------------------------------------------------------- */
.gingham {
  height: 22px; background-color: #fff;
  background-image: linear-gradient(90deg, rgba(199, 33, 17, .82) 50%, transparent 50%), linear-gradient(0deg, rgba(199, 33, 17, .82) 50%, transparent 50%);
  background-size: 22px 22px;
}
.site-footer { background: var(--c-brown); color: var(--c-on-dark); font-size: .9375rem; }
.site-footer a { color: var(--c-on-dark); text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: var(--c-gold); text-decoration: underline; } }
.footer-news { background: var(--c-brown-deep); }
.footer-news__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(36px, 4vw, 56px); }
.footer-news__title { color: #fff; font-size: var(--fs-h3); }
.footer-news__text { margin-top: 8px; color: var(--c-on-dark-muted); }
.footer-news__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: end; }
.footer-news__row { display: contents; }
.footer-news__row .btn { grid-column: 2; grid-row: 1; align-self: start; margin-top: 31px; }
.footer-news__note { grid-column: 1 / -1; margin-top: 10px; font-size: .875rem; line-height: 1.5; color: var(--c-on-dark-muted); }
.site-footer .footer-news__note a { color: #fff; text-decoration: underline; }
.footer-news__form .form-success, .footer-news__form .form-live { grid-column: 1 / -1; }
.field--dark .field__label { color: #fff; }
.field--dark .input { border-color: transparent; }
.field--dark .check { color: var(--c-on-dark-muted); font-size: .875rem; }
.field--dark .check a { color: #fff; text-decoration: underline; }
.field--dark .check__box { border-color: rgba(255, 255, 255, .55); background: transparent; }
.field--dark .check input:checked + .check__box { background: var(--c-gold); border-color: var(--c-gold); }
.field--dark .check input:checked + .check__box::after { border-color: var(--c-brown); }
.field--dark .field__error { color: #ffb4a8; }
.footer-news .form-success { background: rgba(255, 255, 255, .08); color: var(--c-on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.footer-news .form-success__title { color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1.45fr .75fr 1.05fr 1.3fr; /* k4: Produkcija platāka - kategorijas 1 rindā */ gap: clamp(24px, 2.8vw, 40px); padding-block: clamp(40px, 4vw, 64px); }
.footer-brand p { margin-top: 14px; color: var(--c-on-dark-muted); max-width: 36ch; line-height: 1.6; }
.footer-brand__logo { display: inline-block; border-radius: 50%; }
.footer-brand__logo img { width: 80px; height: 80px; }
.footer-social__title { margin-top: 22px; font: 700 .9375rem/1.3 var(--font-sub); letter-spacing: .1em; text-transform: uppercase; color: var(--c-gold); }
.footer-col__title { font-family: var(--font-sub); font-size: .9375rem; /* k3: 15px (bija 13px capslock) */ letter-spacing: .1em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 12px; font-weight: 700; }
.footer-col ul { display: grid; gap: 2px; list-style: none; }
.footer-col__toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; }
.footer-col__toggle .icon { display: none; width: 20px; height: 20px; transition: transform var(--dur-3) var(--ease-out); }
.footer-col__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.footer-col a, .footer-col .linklike { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; color: var(--c-on-dark); text-decoration: none; text-align: left; line-height: 1.35; }
@media (hover: hover) { .footer-col .linklike:hover { color: var(--c-gold); } }
.footer-contacts a { align-items: flex-start; padding-block: 5px; }
.footer-contacts .icon { width: 18px; height: 18px; color: var(--c-gold); margin-top: 1px; }
.footer-hours { margin-top: 10px; color: var(--c-on-dark-muted); font-size: .875rem; padding-left: 26px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .social a:hover { background: var(--c-gold); color: var(--c-brown); transform: translateY(-2px); text-decoration: none; } }
.social .icon { width: 20px; height: 20px; }
.footer-contacts .contact-link { min-height: 44px; gap: 12px; padding-block: 10px; align-items: flex-start; }
.footer-contacts .contact-link .icon { width: 20px; height: 20px; color: var(--c-gold); }
.footer-trust { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-trust__list { display: flex; flex-wrap: wrap; gap: 4px 32px; padding-block: 12px; list-style: none; }
.footer-trust__list a, .footer-trust__list li > span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--c-on-dark); font-weight: 600; font-size: .875rem; }
.footer-trust__list .icon { width: 20px; height: 20px; color: var(--c-gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 18px 22px; font-size: .8125rem; color: var(--c-on-dark-muted); }
.footer-bottom__note { font-style: italic; }
/* LEMUMI k2 p.4: "Uz augšu" (fiksēta, apakšā pa labi) nekad nepārklāj kājenes pēdējo rindu/rekvizītus:
   kājenes apakšā vieta pogai (+ sticky apakšējās joslas augstums, ja tāda ir) */
@media (max-width: 1439px) { .footer-bottom__inner { padding-bottom: calc(22px + 72px + var(--sticky-bar-h, 0px) + env(safe-area-inset-bottom)); } }
@media (max-width: 1079px) {
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer-news__inner { grid-template-columns: 1fr; }
  .footer-news__form { grid-template-columns: 1fr; }
  .footer-news__row .btn { grid-column: 1; grid-row: 3; width: 100%; margin-top: 8px; align-self: stretch; }
  /* telefonā: zīmols + soc. tīkli, kontakti, tad kolonnas kā akordeoni */
  .footer-main { grid-template-columns: 1fr; gap: 0; padding-block: 32px 16px; }
  .footer-brand { padding-bottom: 32px; }
  .footer-contacts { grid-row: 2; padding-bottom: 16px; }
  .footer-contacts .footer-col__title { margin-bottom: 4px; }
  .footer-col:not(.footer-contacts) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .footer-col:nth-last-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .footer-col:not(.footer-contacts) .footer-col__title { margin: 0; }
  .footer-col__toggle { min-height: 56px; cursor: pointer; }
  .footer-col__toggle .icon { display: block; color: var(--c-gold); }
  .footer-col__list { padding-bottom: 12px; }
  .footer-col a, .footer-col .linklike { min-height: 44px; }
  .footer-news__note a { display: inline-block; padding-block: 13px; margin-block: -13px; }
  .footer-trust__list { display: grid; gap: 0; padding-block: 8px; }
  .footer-trust { border-top: 0; }
}

/* Atpakaļ uz augšu */
.to-top {
  /* paceļas virs sticky apakšējās joslas (--sticky-bar-h uzliek site.js) */
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + var(--sticky-bar-h) + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--c-brown); color: #fff; box-shadow: var(--sh-2); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(16px); /* k3 p.4: bez scale - mērķis vienmēr reāli >= 48x48 */
  min-width: 48px; min-height: 48px; flex: none;
  transition: opacity var(--dur-3), transform var(--dur-3) var(--ease-out), bottom var(--dur-3) var(--ease-out), background-color var(--dur-2), visibility 0s linear var(--dur-3);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (max-width: 767px) { .to-top { width: 48px; height: 48px; right: max(12px, env(safe-area-inset-right)); } }
@media (hover: hover) { .to-top:hover { background: var(--c-red); } }

/* 16. SĪKDATNES ----------------------------------------------------------- */
.ck-banner {
  position: fixed; z-index: var(--z-toast); left: max(16px, env(safe-area-inset-left)); bottom: calc(16px + var(--sticky-bar-h) + env(safe-area-inset-bottom));
  width: min(460px, calc(100% - 32px)); padding: 22px 22px 18px; background: var(--c-paper); color: var(--c-ink);
  border-radius: var(--r-md); box-shadow: 0 18px 48px rgba(44, 6, 0, .24); border-top: 5px solid var(--c-gold);
  opacity: 0; transform: translateY(24px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.ck-banner.is-in { opacity: 1; transform: none; }
/* atvērts modālis / bottom-sheet / izvēlne (html.is-locked) - josla nepārklāj tā pogas ("Rādīt N", "Pieteikties") */
html.is-locked .ck-banner { visibility: hidden; pointer-events: none; }
.ck-banner__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--c-brown); margin-bottom: 6px; }
.ck-banner__text { font-size: .9rem; line-height: 1.55; color: var(--c-muted); }
.ck-banner__text a { color: var(--c-brown); font-weight: 600; }
.ck-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ck-actions .ck-btn[data-ck="none"] { grid-column: 1 / -1; grid-row: 1; }
/* LEMUMI k2 p.5: visas izvēles pogas vienāda svara (viens stils, viens izmērs), teksts drīkst lūzt */
.ck-btn.btn { white-space: normal; min-height: 48px; padding: 6px 14px; line-height: 1.2; flex-direction: column; gap: 0; }
.ck-btn__sub { display: block; font-weight: 600; font-size: .8125rem; opacity: .85; }
.ck-rows { margin-top: 12px; }
.ck-row { border-top: 1px solid var(--c-line); }
.ck-row__hit { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; }
.ck-row__label { display: grid; gap: 2px; }
.ck-row__name { font-weight: 700; color: var(--c-brown); }
.ck-row__text { font-size: .875rem; color: var(--c-muted); }
.ck-note { margin-top: 12px; }
.ck-modal-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
/* slēdzis: 52x44 trāpījuma laukums, redzamā sliede 52x30; izslēgtā sliede #8a7458 (>= 4:1 pret baltu) */
.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 52px; height: 44px; margin: 0; border: 0; border-radius: var(--r-pill); background: none; cursor: pointer; }
.switch::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 30px; border-radius: var(--r-pill); background: #8a7458; transition: background-color var(--dur-2); }
.switch::after { content: ""; position: absolute; top: 10px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform var(--dur-2) var(--ease-out); }
.switch:checked::before { background: var(--c-brown); }
.switch:checked::after { transform: translateX(22px); }
.switch:disabled { cursor: not-allowed; }
.switch:disabled::before { opacity: 1; } /* k4: bloķētais = pilns brūns (bez rozīgā toņa) */
.switch:disabled:checked::after { background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%234a0900%27 stroke-width=%272.4%27 stroke-linecap=%27round%27%3E%3Crect x=%275%27 y=%2711%27 width=%2714%27 height=%2710%27 rx=%272%27/%3E%3Cpath d=%27M8 11V8a4 4 0 0 1 8 0v3%27/%3E%3C/svg%3E") center / 14px no-repeat; }
.ck-row__hit:has(.switch:disabled) { cursor: default; }
.switch:focus-visible { outline: none; }
.switch:focus-visible::before { box-shadow: var(--sh-focus); }
@media (max-width: 639px) {
  .ck-banner { left: 12px; right: 12px; width: auto; bottom: calc(12px + var(--sticky-bar-h) + env(safe-area-inset-bottom)); padding: 16px 16px 12px; }
  .ck-banner__text { font-size: .875rem; }
  .ck-actions { gap: 8px; margin-top: 12px; }
  .ck-banner .ck-btn.btn { min-height: 44px; font-size: .875rem; }
  .ck-modal-actions { grid-template-columns: 1fr; gap: 8px; }
}

/* 17. ANIMĀCIJAS ----------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-24px); } }
@keyframes drop-out { to { opacity: 0; transform: translateY(-16px); } }
@keyframes slide-in-left { from { transform: translateX(-100%); } }
@keyframes slide-out-left { to { transform: translateX(-100%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.96); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Scroll reveal: tikai ar JS (bez JS saturs redzams uzreiz). Stagger ar --i. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hover-lift { transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
@media (hover: hover) { .hover-lift:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } }
.slow-zoom { animation: slow-zoom 9s var(--ease-out) both; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 180ms ease both fade-out; }
  ::view-transition-new(root) { animation: 260ms var(--ease-out) both fade-in; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
/* Ekrānuzņēmumu režīms */
html.shots *, html.shots *::before, html.shots *::after { animation: none !important; transition: none !important; }
html.shots [data-reveal] { opacity: 1 !important; transform: none !important; }
html.shots .skeleton::after { display: none; }
html.shots .site-header { position: relative; top: 0; }
html.shots .skip-link, html.shots .to-top, html.shots .toasts { display: none !important; }

/* 18. UTILĪTAS ------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
@media (max-width: 767px) { .hide-sm { display: none !important; } }
@media (min-width: 768px) { .only-sm { display: none !important; } }

/* 18b. k4 KOPĪGAIS LABOTĀJS ------------------------------------------------ */
/* k4 p.1: teksta ietinēji (build.py span.nbw, GNA.nb, GNA.flexText span.flex-txt) - flex/grid vecākā viens elements */
.nbw, .flex-txt { min-width: 0; }
.acc__btn > .nbw, .acc__btn > .flex-txt { flex: 1 1 auto; }

/* k4 p.4: vienots informatīvais tags (Kam der, Īsumā, birkas) - taisni stūri --r-info; pilles TIKAI klikšķināmiem čipiem/pogām */
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 10px; border-radius: var(--r-info);
  background: var(--c-linen); color: var(--c-brown); font: 600 .875rem/1.25 var(--font-body); }
.tag .icon { width: 16px; height: 16px; flex: none; color: var(--c-red); }
.tag--gold { background: var(--c-gold-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
:is(.on-dark, .bg-brown, .bg-deep) .tag { background: rgba(255, 255, 255, .1); color: #fff; }
:is(.on-dark, .bg-brown, .bg-deep) .tag .icon { color: var(--c-gold); }

/* k4 p.6: veikali no assets/data/veikali.js - GNA.render.storeList / storeLogos / eshopLinks */
.stores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); margin: 0; padding: 0; list-style: none; }
.store { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 12px 10px 14px;
  border-radius: var(--r-sm); background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-brown); text-align: center; text-decoration: none;
  transition: box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .store:hover { box-shadow: inset 0 0 0 1.5px var(--c-brown), var(--sh-2); transform: translateY(-2px); text-decoration: none; } .store:hover .store__go { text-decoration: underline; } }
.store__logo { display: grid; place-items: center; width: 100%; height: 64px; border-radius: var(--r-xs); background: var(--c-cream); }
.store__logo img { width: auto; height: var(--lh, 32px); max-height: 36px; max-width: 80%; object-fit: contain; }
.store__name { font: 700 1rem/1.25 var(--font-heading); }
.store__go { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; font-size: .8125rem; font-weight: 700; color: var(--c-red-dark); }
.store__go .icon { width: 14px; height: 14px; flex: none; }
.stores--compact .store__logo { height: 52px; }
@media (max-width: 1100px) { .stores { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  /* mobilajā TAS PATS saraksts (visi 10 tīkli), 2 kolonnās */
  .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store { flex-direction: row; align-items: center; gap: 10px; min-height: 56px; padding: 6px 10px 6px 6px; text-align: left; }
  .store__logo { width: 60px; height: 44px; flex: none; }
  .store__logo img { height: calc(var(--lh, 32px) * .62); max-width: 86%; }
  .store__name { flex: 1; min-width: 0; font-size: .9375rem; }
  .store__go { margin: 0; color: var(--c-muted); }
  .store__go-t { display: none; }
}
.store-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.store-logos a { display: grid; place-items: center; min-width: 76px; height: 48px; padding: 0 10px; border-radius: var(--r-xs); background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line); }
.store-logos img { width: auto; height: calc(var(--lh, 32px) * .7); max-height: 26px; max-width: 96px; object-fit: contain; }
@media (hover: hover) { .store-logos a:hover { box-shadow: inset 0 0 0 1.5px var(--c-brown); } }
.eshops { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eshop__logo { width: auto; height: 20px; max-width: 72px; object-fit: contain; }
@media (max-width: 639px) { .eshops { display: grid; grid-template-columns: 1fr; } .eshops .btn { width: 100%; } }

/* k4 p.5 + kājene: sociālās pogas kājenē = tas pats .social-btn komponents (uz tumša), kompakts */
.footer-brand .social-btns { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); margin-top: 10px; gap: 8px 6px; }
.footer-brand .social-btn { min-height: 44px; padding: 0 12px 0 10px; gap: 7px; font-size: .875rem; }
@media (max-width: 767px) { .footer-brand .social-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-brand .social-btn .icon { width: 18px; height: 18px; }
.site-footer .social-btn { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); text-decoration: none; }
.site-footer .social-btn .icon { color: var(--c-gold); }
@media (hover: hover) { .site-footer .social-btn:hover { background: var(--c-gold); color: var(--c-brown); box-shadow: none; text-decoration: none; } .site-footer .social-btn:hover .icon { color: var(--c-brown); } }
.footer-trust__list .footer-trust__short { display: none; }
@media (max-width: 767px) {
  /* kājene <= 1.5 ekrāna: par uzņēmumu - 1 rinda, uzticības rinda - 1 rinda ikonu ar īsu tekstu */
  .footer-brand { padding-bottom: 20px; }
  .footer-brand > p:not(.footer-social__title) { display: none; }
  .footer-brand__logo img { width: 56px; height: 56px; }
  .footer-trust__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-block: 10px; }
  .footer-trust__list a, .footer-trust__list li > span { flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; text-align: center; font-size: .8125rem; line-height: 1.25; }
  .footer-trust__list .footer-trust__long { display: none; }
  .footer-trust__list .footer-trust__short { display: inline; }
  .footer-news__inner { padding-block: 28px; }
  .footer-news__text { display: none; }
}

/* 19. DRUKĀŠANA ------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .mmenu, .search-panel, .to-top, .toasts, .ck-banner, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 16pt; }
  a { color: #000; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

/* 99. Skārienmērķi >= 44px mobilajā un skārienekrānos (LEMUMI k1 p.3, p.11) */
@media (max-width: 767px), (pointer: coarse) {
  .btn--sm, .chip, .chip--sm { min-height: 44px; }
  .icon-btn--sm { width: 44px; height: 44px; }
  a.link-arrow { min-height: 44px; }
  /* teksta saites ar tālruni/e-pastu (bez klases) - 44px augsts trāpījuma laukums, rindas augstums nemainās */
  /* :where() - nulles specifiskums: saites ar ikonu+tekstu (inline-flex lapās) netiek pārrakstītas */
  :where(a:not([class]))[href^="tel:"], :where(a:not([class]))[href^="mailto:"] { display: inline-block; padding-block: 12px; margin-block: -12px; }
  /* LEMUMI k2 p.11: teksta iekšējās saites (politika formā, CV.lv, ārējās saites politikā u.c.) - inline padding-block paplašina
     pieskāriena laukumu līdz >= 44px, rindu izkārtojums nemainās (inline elementam vertikālais padding neietekmē rindu) */
  :where(p, .prose li, .acc__inner li, dd, td, th, figcaption, label, small, .field__hint, .form-note, .check, .ck-banner__text, .footer-news__note) > :where(a:not([class]):not([href^="tel:"]):not([href^="mailto:"]), a.ext, a.inline-link) {
    padding-block: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
}
/* LEMUMI k2 p.13: mobilajā mazie teksti (uzlīmes/meta) >= 13px, pamatteksts >= 16px (--fs-base min 1rem) */
@media (max-width: 767px) {
  .badge, .pcard__cat, .rcard__tags, .pcard__allergens .allergen, .pcard__allergens .allergens__label, .chip__count { font-size: .8125rem; }
  .pcard__allergens .allergen { min-height: 26px; }
}

/* k4: mobilajā kartīšu lente - kartītes augstumā pēc satura, lentes augstumu (redzamo kartīšu augstums) liek GNA.scroller */
@media (max-width: 767px) {
  .scroller--rail > .scroller__track { align-items: start; overflow-y: hidden; transition: height var(--dur-3, .3s) var(--ease-out); }
  .scroller--rail > .scroller__track > * { align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .scroller--rail > .scroller__track { transition: none; } }


/* k5: izstāžu kartīte - VIENOTS komponents (par-mums, sadarbiba). ul.fair-cards > li.card.fair-card > span.fair-card__name + .fair-card__body(h3.fair-card__title > a.card__link + span.fair-card__city, p.fair-card__years > span.year-tag, p.fair-card__desc) + span.fair-card__go */
.fair-cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.card.fair-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 16px 22px 16px 16px; background: var(--c-paper); box-shadow: var(--sh-1); }
.fair-card__name { display: grid; place-items: center; align-self: stretch; min-height: 92px; background: var(--c-brown); color: var(--c-gold); border-radius: var(--r-sm); font: 800 1.375rem/1 var(--font-heading); letter-spacing: .04em; text-transform: uppercase; }
.fair-card__body { min-width: 0; }
.fair-card__title { font-size: var(--fs-h5); }
.fair-card__title .card__link { display: inline-flex; align-items: center; min-height: 44px; }
.fair-card__city { margin-left: 6px; font: 600 .9375rem/1.3 var(--font-body); color: var(--c-muted); }
.fair-card__years { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.fair-card__desc { font-size: .9375rem; color: var(--c-muted); line-height: 1.45; }
.fair-card__go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--c-brown); white-space: nowrap; }
.fair-card__go .icon { width: 18px; height: 18px; transition: transform var(--dur-2); }
@media (hover: hover) { .fair-card:hover .fair-card__go { color: var(--c-red); } .fair-card:hover .fair-card__go .icon { transform: translateX(4px); } }
@media (max-width: 639px) {
  .fair-cards { gap: 10px; }
  .card.fair-card { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 12px 14px 8px 12px; }
  .fair-card__name { grid-row: span 2; width: 64px; height: 64px; min-height: 64px; align-self: start; font-size: .9375rem; }
  .fair-card__title { font-size: 1.0625rem; }
  .fair-card__title .card__link { min-height: 0; }
  .fair-card__city { font-size: .875rem; }
  .fair-card__desc { display: none; }
  .fair-card__years { margin: 2px 0 0; }
  .fair-card__go { grid-column: 2; font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) { .fair-card__go .icon { transition: none; } }

/* k6 (pēdējā kārta): receptes kartītes produktu birkas nekad netiek nogrieztas ar daudzpunkti - garāks nosaukums pārnesas */
.rcard__prods { flex-wrap: wrap; }
.rcard__prod { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: normal; line-height: 1.3; }

/* ==========================================================================
   v2 STILS (13.11.2026, apstiprināts) - profesionāls, bez "AI šablona" pazīmēm.
   Viens krāsu tonis virsrakstos, bez virsvirsrakstiem, kreisā līdzinājuma sekciju galvas,
   bez mīkstajām ēnām un "lēkājošām" kartītēm, zīmola fonti (Roboto Slab + Roboto Condensed),
   dzeltenais tikai pogām/akcentiem. Sākotnējā krēmīgā palete un viļņu pārejas saglabātas.
   ========================================================================== */
:root {
  --c-gold: #fbb900; --c-gold-dark: #e9a400; --c-red: #db291a; --c-red-dark: #b71e12;
  --font-body: "Roboto Slab", Rockwell, Georgia, serif;
  --sh-1: none; --sh-2: none;
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 10px; --r-info: 4px;
}
body { font-weight: 400; }
h1, .h1 { font-weight: 900; letter-spacing: -.02em; }
h2, .h2 { font-weight: 800; letter-spacing: -.02em; }
/* 1) Virsraksti vienā krāsā (akcents - izmērs/svars, ne krāsa) */
.hl, .on-dark .hl { color: inherit !important; }
/* 2) Nav "virsraksta virs virsraksta": rokraksts tieši pirms virsraksta paslēpts.
      Rokraksts paliek tikai kā retas piezīmes (uz foto, pie cenas) */
.script:has(+ h1), .script:has(+ h2), .script:has(+ h3), .eyebrow:has(+ h1), .eyebrow:has(+ h2), .eyebrow:has(+ h3),
.section-head > .script, .section-head > div > .script, .section-head > .eyebrow, .section-head > div > .eyebrow { display: none !important; }
/* 3) Sekciju galvas - pa kreisi */
.section-head { text-align: left; margin-inline: 0; max-width: 820px; }
.section-head > p:not(.script):not(.eyebrow) { font-family: var(--font-sub); font-weight: 500; }
/* 4) Bez mīkstajām ēnām un "pacelšanās" - plānas līnijas */
.card, .info-card, [class*="-card"]:not(.modal__panel) { box-shadow: none !important; }
@media (hover: hover) { [class*="card"]:hover, .card:hover { transform: none !important; box-shadow: none !important; } }
.card, [class$="-card"] { border: 1px solid var(--c-line); }
/* 5) Bez "uzpeldēšanas" ritinot */
.js [data-reveal], .js [data-reveal].is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
/* 6) Pogas - taisnstūrīgākas, zīmola krāsās */
.btn { border-radius: 6px; font-family: var(--font-sub); letter-spacing: .01em; }
.btn:focus-visible { border-radius: 6px; }
@media (hover: hover) { .btn:hover { transform: none; box-shadow: none; } }
/* 7) Informatīvās plāksnītes - nevis pilles */
.tag, .badge, .info-pill { border-radius: 4px; }
/* 8) "Gada prece" - īstā ikona, maza, tikai pie konkrētā produkta */
.seal--img { display: inline-block; width: 52px; height: auto; transform: rotate(8deg); }
.seal--img.seal--sm { width: 44px; }
.seal--img img { width: 100%; height: auto; display: block; }

/* ===== Zīmogs "Gaļas nams · ĀDAŽI · Kvalitāte" (14.11) ===== */
.stamp { position: absolute; z-index: 3; pointer-events: none; user-select: none; height: auto; }
.stamp[data-stamp].stamp--wait { opacity: 0; }
.stamp[data-stamp].is-in { animation: stamp-press .55s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes stamp-press {
  0%   { opacity: 0; transform: scale(1.7) rotate(8deg); filter: blur(2px); }
  55%  { opacity: 1; transform: scale(.94) rotate(-1deg); filter: blur(0); }
  75%  { transform: scale(1.02) rotate(0); }
  100% { opacity: .92; transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .stamp[data-stamp].stamp--wait { opacity: .92; } .stamp[data-stamp].is-in { animation: none; opacity: .92; } }
.story__stamp { width: clamp(120px, 11vw, 150px); top: 34%; right: -6%; }
@media (max-width: 899px) { .story__stamp { width: 96px; top: 10px; right: 10px; } }
.pm-hero__zimogs { width: 150px; left: -40px; bottom: -34px; opacity: .92; }
@media (max-width: 899px) { .pm-hero__zimogs { width: 104px; left: -30px; bottom: -22px; } }
.site-footer { position: relative; }
.footer-stamp { width: 116px; right: max(16px, 6vw); bottom: 150px; opacity: .5; }
@media (max-width: 767px) { .footer-stamp { width: 84px; bottom: auto; top: 34px; right: 16px; } }
.check-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-gold); }

/* ===== 14.11: mazāk bordo - tumšie bloki gaišā paletē (kājene un Collection paliek tumši) ===== */
.is-light { --c-on-dark: var(--c-ink); --c-on-dark-muted: var(--c-muted); color: var(--c-ink); }
.is-light h2, .is-light h3, .is-light h4 { color: var(--c-brown); }
.is-light a:not(.btn) { color: var(--c-brown); }
.is-light .link-arrow { color: var(--c-red); }
.is-light .contact-link { color: var(--c-brown); }
.is-light .contact-link .icon { color: var(--c-red); }
.b2b.is-light { background: var(--c-linen); }
.b2b.is-light .b2b__media::after { background: linear-gradient(90deg, var(--c-linen) 0%, rgba(244, 236, 220, .85) 10%, rgba(244, 236, 220, 0) 32%); }
@media (max-width: 1023px) { .b2b.is-light .b2b__media::after { background: linear-gradient(0deg, var(--c-linen) 0%, rgba(244, 236, 220, 0) 35%); } }
.b2b.is-light .b2b__ico { background: var(--c-gold-soft); color: var(--c-brown); }
.b2b.is-light .b2b__proof, .b2b.is-light .b2b__proof .icon { color: var(--c-brown); }
.b2b.is-light .b2b__contact { background: var(--c-paper); color: var(--c-brown); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.b2b.is-light .b2b__contact .icon { color: var(--c-red); }
.pm-stats.is-light { background: var(--c-linen); border-block: 1px solid var(--c-line); }
.pm-stats.is-light .pm-stats__num { color: var(--c-red); }
.pm-stats.is-light .pm-stats__label { color: var(--c-ink); }
.pm-media.is-light { background: var(--c-linen); }
.sd-why.is-light .sd-why__grid { background: var(--c-line); }
.sd-why.is-light .sd-why__grid li { background: var(--c-paper); }
.sd-why.is-light .sd-why__big { color: var(--c-red); }
.sd-why.is-light .sd-why__big em { color: var(--c-brown); }
.sd-why.is-light .sd-why__grid h3 { color: var(--c-brown); }
.sd-why.is-light .sd-why__grid p { color: var(--c-muted); }
.sd-why.is-light .sd-why__more .link-arrow { color: var(--c-red); }
.sd-why.is-light h2 { color: var(--c-brown); }
.ask.is-light { background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.kn-whole__card--direct.is-light { background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.kn-whole__card--direct.is-light h3, .kn-whole__card--direct.is-light .kn-whole__kam { color: var(--c-brown); }
.kn-whole__card--direct.is-light .kn-whole__kam strong { color: var(--c-red); }
.kn-whole__card--direct.is-light p.kn-whole__desc { color: var(--c-ink); }

/* 14.11: gaiša kājene (bordo tikai akcentos) */
.site-footer { --c-on-dark: var(--c-ink); --c-on-dark-muted: var(--c-muted); background: var(--c-sand); color: var(--c-ink); }
.site-footer a, .site-footer .contact-link, .site-footer .contact-link--on-dark { color: var(--c-brown); }
@media (hover: hover) { .site-footer a:hover { color: var(--c-red); } .footer-col .linklike:hover { color: var(--c-red); } }
.footer-social__title, .footer-col__title { color: var(--c-red); }
.footer-contacts .icon, .footer-contacts .contact-link .icon, .footer-trust__list .icon, .site-footer .contact-link .icon { color: var(--c-red); }
.footer-trust, .site-footer [class*="footer-legal"], .site-footer [class*="footer-bottom"] { border-color: rgba(74, 9, 0, .14); }
.site-footer .social-btn { background: var(--c-paper); color: var(--c-brown); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.site-footer .social-btn .icon { color: var(--c-red); }
@media (hover: hover) { .site-footer .social-btn:hover { background: var(--c-gold); color: var(--c-brown); } }
.site-footer :focus-visible { outline-color: var(--c-brown); }
.footer-stamp { opacity: .35; }
.b2b.is-light .b2b__points strong { color: var(--c-brown); }
.b2b.is-light .b2b__points li { color: var(--c-muted); }
.b2b.is-light .b2b__ico { color: var(--c-red); }
.pm-media.is-light .pm-media__contacts a.pm-media__contact { color: var(--c-brown); }
.pm-media.is-light .pm-media__contacts .icon { color: var(--c-red); }
.pm-media.is-light .pm-facts { background: var(--c-paper); border-color: var(--c-line-strong); }
.pm-media.is-light .pm-facts dt { color: var(--c-red); }
.pm-media.is-light .pm-facts dd { color: var(--c-ink); }
.pm-media.is-light .pm-facts > div { border-color: var(--c-line); }

/* ===== 14.11: vairāk gaisa visā vietnē ===== */
html { font-size: 106.25%; }                       /* 17px bāze: visi rem izmēri (teksts, pogas) ~6% lielāki */
:root {
  --section-y: clamp(72px, 5vw + 48px, 144px);
  --lh-body: 1.7;
  --fs-sm: 1rem;
}
.section--tight { padding-block: clamp(56px, 3.5vw + 36px, 96px); }
.section-head { margin-bottom: clamp(36px, 3vw + 18px, 64px); }
.section-head > p, .section-head .lead { margin-top: 14px; }
h2 + p, h2 + .lead { margin-top: 18px; }
.card__body { padding: clamp(20px, 1.6vw + 8px, 32px); }
.pcard .card__body { padding: 20px 22px 24px; }
p { max-width: 68ch; }
/* lasāms teksts blokos, kur bija 14-15px */
.story__copy p, .story__copy .lead { font-size: 1.0625rem; line-height: 1.7; }
.story__copy .lead { font-size: 1.125rem; }
.fact span { font-size: .9375rem; }
.fact b { font-size: 1.1875rem; }
.where-box { padding: 26px 26px 24px !important; }
.where-box__title { font-size: 1.125rem; }
.where-box__text, .where-box__text--sm { font-size: 1rem !important; line-height: 1.55; }
.b2b__points li { font-size: 1rem; }
.b2b__points { gap: 22px 32px; margin-top: 32px; }
.b2b__lead { font-size: 1.1875rem; }
.pcard__title { font-size: 1.0625rem; }
.pcard__meta { font-size: 1rem; }
.cat-row { min-height: 72px; }
.site-footer .footer-col a, .site-footer .footer-col .linklike { font-size: 1rem; min-height: 38px; }
.footer-contacts .contact-link, .footer-contacts a { white-space: nowrap; font-size: .9375rem; }
@media (min-width: 1080px) { .footer-main { column-gap: clamp(24px, 2.4vw, 40px); } }


/* 14.11: dziļums - audekla faktūra gaišajos blokos + viens līniju garšaugs blokā */
.bg-linen, .bg-cream, section.is-light, .b2b.is-light, .pm-stats.is-light {
  background-image: url(../img/audekls.jpg); background-size: 700px auto; background-blend-mode: multiply; }
.plant { position: absolute; z-index: 0; pointer-events: none; user-select: none; height: auto; opacity: .16; }
section:has(> .plant) { overflow-x: clip; }
section:has(> .plant) > .container { position: relative; z-index: 1; }
.plant--dill { width: clamp(280px, 30vw, 460px); right: -2vw; bottom: -60px; }
.plant--bay { width: clamp(260px, 26vw, 420px); right: -60px; top: -40px; transform: rotate(-20deg); }
.plant--rosemary { width: clamp(260px, 26vw, 420px); right: -60px; top: -20px; transform: rotate(14deg); }
@media (max-width: 767px) { .plant { opacity: .12; width: 200px !important; } .plant--dill { bottom: -30px; } }
.wave-top::before, .wave-bottom::after { background-blend-mode: multiply; }

/* 04.12: prototipa josla (publiskajai saitei Cloudflare Pages) - noņemt pirms palaišanas */
.proto-bar { background: var(--c-brown); color: var(--c-on-dark); font: 500 .8125rem/1.3 var(--font-sub); letter-spacing: .02em; padding: 6px 0; }
