/* Sākumlapa (index) - tikai šīs lapas bloki. Dizaina sistēma: site.css */

/* ---------- HERO: Galda pulkstenis ---------- */
.hero { position: relative; isolation: isolate; background: var(--c-cream); padding-bottom: 0; }
.hero__media { position: absolute; inset: 0 0 64px; z-index: -1; overflow: hidden; background: var(--c-linen); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; opacity: 0; transition: opacity 900ms var(--ease-in-out); }
.hero__img.is-active { opacity: 1; animation: slow-zoom 12s var(--ease-out) both; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 246, 236, .97) 0%, rgba(251, 246, 236, .93) 30%, rgba(251, 246, 236, .62) 46%, rgba(251, 246, 236, 0) 62%),
    linear-gradient(0deg, rgba(251, 246, 236, .7), rgba(251, 246, 236, 0) 22%);
}
.hero__inner { display: flex; align-items: center; min-height: clamp(520px, 64vh, 640px); padding-block: clamp(40px, 5vw, 72px) clamp(110px, 9vw, 140px); }
.hero__copy { max-width: 640px; }
.hero__lead { max-width: 54ch; }
.hero__greet { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); color: var(--c-red); margin-bottom: 4px; transform: rotate(-2deg); transform-origin: left; }
.hero__title { font-size: clamp(2.3rem, 1.4rem + 3.1vw, 4.1rem); line-height: 1.08; }
.hero__lead { margin-top: 18px; font-size: var(--fs-lg); line-height: 1.6; color: var(--c-ink); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__lead--short { display: none; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .9375rem; font-weight: 600; color: var(--c-brown); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 20px; height: 20px; color: var(--c-red); flex: none; }
.hero__trust strong { font-family: var(--font-heading); font-weight: 800; }
[data-scene-anim] { transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.is-swapping [data-scene-anim] { opacity: 0; transform: translateY(6px); }

/* laika josla (dock) */
.hero__dock { position: relative; z-index: 2; margin-top: -84px; }
.clock {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 16px 28px; padding: 18px 20px 18px 24px;
  background: var(--c-paper); border-radius: var(--r-lg); box-shadow: 0 16px 40px rgba(74, 9, 0, .12), 0 0 0 1px var(--c-line);
}
.clock__head { display: grid; gap: 10px; align-content: center; }
.clock__label { display: inline-flex; align-items: center; gap: 8px; font: 700 .8125rem/1.3 var(--font-sub); letter-spacing: .09em; text-transform: uppercase; color: var(--c-muted); }
.clock__label .icon { width: 18px; height: 18px; color: var(--c-red); }
.clock__picks { display: grid; gap: 8px; min-width: 0; align-content: center; }
.clock__picks-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.clock__picks-title { font: 700 .8125rem/1.3 var(--font-sub); letter-spacing: .09em; text-transform: uppercase; color: var(--c-muted); }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.pick {
  display: flex; align-items: center; gap: 10px; height: 100%; min-height: 60px; padding: 6px 12px 6px 6px; border-radius: var(--r-sm);
  color: var(--c-ink); text-decoration: none; background: var(--c-cream); box-shadow: inset 0 0 0 1px var(--c-line);
  transition: background-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out);
}
@media (hover: hover) { .pick:hover { background: var(--c-gold-soft); box-shadow: inset 0 0 0 1px #f3d79c; transform: translateY(-2px); color: var(--c-ink); } }
.pick__img { width: 48px; height: 48px; flex: none; object-fit: contain; background: #fff; border-radius: 8px; }
.pick__text { display: grid; min-width: 0; flex: 1; }
.pick__cat { font: 700 .8125rem/1.3 var(--font-sub); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick__name { font-family: var(--font-heading); font-weight: 700; font-size: .875rem; line-height: 1.25; color: var(--c-brown); overflow-wrap: anywhere; }
.pick__arrow { width: 18px; height: 18px; color: var(--c-red); flex: none; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .pick:hover .pick__arrow { transform: translateX(3px); } }
.picks.is-swapping li { opacity: 0; transform: translateY(6px); }
.picks li { transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.picks li:nth-child(2) { transition-delay: 40ms; } .picks li:nth-child(3) { transition-delay: 80ms; }
.clock__all { font-size: .875rem; min-height: 24px; }

@media (max-width: 1199px) {
  .clock { grid-template-columns: 1fr; }
  .clock__head { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
}
@media (max-width: 1023px) {
  .hero__media::after { background: linear-gradient(90deg, rgba(251, 246, 236, .97) 0%, rgba(251, 246, 236, .9) 45%, rgba(251, 246, 236, .3) 75%, rgba(251, 246, 236, 0)); }
}
@media (max-width: 767px) {
  .hero__media { position: relative; inset: auto; height: 34vh; min-height: 200px; max-height: 300px; }
  .hero__lead--full { display: none; }
  .hero__media::after { background: linear-gradient(0deg, var(--c-cream) 0%, rgba(251, 246, 236, 0) 30%); }
  .hero__img { object-position: 78% 60%; }
  .hero__inner { min-height: 0; padding: 0 0 20px; margin-top: -26px; position: relative; }
  .hero__greet { font-size: 1.75rem; }
  .hero__title { font-size: clamp(2rem, 1.2rem + 4vw, 2.5rem); }
  .hero__lead { display: none; }
  .hero__lead--short { display: block; font-size: 1.0625rem; margin-top: 10px; }
  .hero__actions { margin-top: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions { gap: 10px; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: .8125rem; margin-top: 16px; }
  .hero__trust li { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; text-align: center; line-height: 1.25; background: rgba(255, 255, 255, .7); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--c-line); }
  .hero__dock { margin-top: 0; }
  .clock { padding: 16px; gap: 16px; border-radius: var(--r-md); }
  .clock__head { grid-template-columns: 1fr; gap: 10px; }
  .clock__switch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .clock__switch button { flex-direction: column; gap: 2px; padding: 6px 2px; min-height: 58px; font-size: .875rem; border-radius: var(--r-md); }
  .picks { grid-template-columns: 1fr; gap: 8px; }
  .picks li:nth-child(n+3) { display: none; }
  .clock__picks { display: flex; flex-direction: column; }
  .clock__picks-head { order: 2; }
  .clock__picks-title { display: none; }
  .clock__all { min-height: 44px; }
}

/* ---------- BRĪŽI ---------- */
.moments { padding-bottom: var(--s-6); }
.moment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
/* visa kartīte = viena saite (stiepta ::after pret .moment); "Idejas" poga virs tās */
.moment { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--c-brown-deep); box-shadow: var(--sh-1); }
.moment > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-5) var(--ease-out); }
@media (hover: hover) { .moment:hover > img, .moment:focus-within > img { transform: scale(1.05); } }
.moment::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(44, 6, 0, 0) 34%, rgba(44, 6, 0, .58) 62%, rgba(44, 6, 0, .92)); pointer-events: none; }
.moment__body { padding: 18px 20px 20px; color: #fff; }
.moment__name { font-family: var(--font-script); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.1vw, 2.375rem); line-height: 1; color: #fff; }
.moment__link { color: #fff; text-decoration: none; }
.moment__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
@media (hover: hover) { .moment__link:hover { color: var(--c-gold); } }
.moment:has(.moment__link:focus-visible) { outline: 3px solid var(--c-brown); outline-offset: 3px; box-shadow: 0 0 0 7px var(--c-gold); }
.moment__link:focus-visible { outline: none; }
.moment__benefit { margin-top: 6px; font-size: .9375rem; line-height: 1.35; color: #fff; font-weight: 600; }
.moment__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; font-size: .875rem; font-weight: 600; color: var(--c-on-dark); }
.moment__count { color: var(--c-gold-soft); }
.moment__recipes {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .18); color: #fff; text-decoration: none; backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
  transition: background-color var(--dur-2), color var(--dur-2);
}
.moment__recipes .icon { width: 16px; height: 16px; }
@media (hover: hover) { .moment__recipes:hover { background: var(--c-gold); color: var(--c-brown); box-shadow: none; } }
@media (max-width: 1199px) and (min-width: 768px) { .moment__meta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 767px) {
  .moments { padding-bottom: var(--s-5); }
  .moment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moment__body { padding: 12px 12px 14px; }
  .moment__name { font-size: 1.6rem; }
  .moment__benefit { font-size: .875rem; margin-top: 4px; }
  .moment__meta { margin-top: 6px; font-size: .875rem; }
  .moment__recipes { display: none; }
}

/* ---------- POPULĀRIE ---------- */
.popular { padding-top: var(--s-6); }
.popular__award { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-weight: 700; color: var(--c-red-dark); white-space: nowrap; }
.popular__award .icon { width: 16px; height: 16px; }
.product-rail { --rail-col: calc((100% - 3 * 24px) / 4); gap: 24px; margin-inline: 0; padding-inline: 2px; scroll-padding-inline: 2px; padding-bottom: 24px; }
.product-rail:focus-visible { outline-offset: 6px; }
.product-rail > * { min-width: 0; }
@media (max-width: 1023px) { .product-rail { --rail-col: calc((100% - 2 * 20px) / 3); gap: 20px; } }
@media (max-width: 767px) {
  .product-rail { --rail-col: 74%; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

/* ---------- KO ŠODIEN GATAVOT ---------- */
.cook__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cook__plate-wrap { display: grid; justify-items: center; gap: 24px; }
.cook__filters-wrap { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.cook__filters-label { font-family: var(--font-script); font-size: 1.6rem; line-height: 1; color: var(--c-red); }
.plate { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-bottom: 6px; }
.plate__napkin {
  position: absolute; inset: 9% 2% 0 9%; transform: rotate(-9deg); border-radius: 4px;
  background-color: #fff; background-image: linear-gradient(90deg, rgba(199, 33, 17, .78) 50%, transparent 50%), linear-gradient(0deg, rgba(199, 33, 17, .78) 50%, transparent 50%);
  background-size: 28px 28px; box-shadow: 0 10px 24px rgba(74, 9, 0, .14);
}
.plate__dish {
  position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, #fff 0 58%, #f6f1e8 59%, #fff 64%, #ece3d2 99%, #d9cbb0 100%);
  box-shadow: 0 22px 40px rgba(44, 6, 0, .28), inset 0 -6px 14px rgba(74, 9, 0, .08);
  transition: transform var(--dur-5) cubic-bezier(.6, .05, .25, 1);
}
.plate__img { position: absolute; inset: 15%; width: 70%; height: 70%; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .04), 0 2px 6px rgba(74, 9, 0, .2); transition: opacity 220ms ease, filter 220ms ease; }
.plate.is-spinning .plate__img { filter: blur(2px); }
.cook__spin { min-width: 220px; }
.cook__side { display: grid; gap: 18px; }
.cook__filters { gap: 8px; justify-content: center; }
@media (min-width: 768px) { .cook__filters.chips--scroll { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; } }
.cook-card { position: relative; padding: clamp(22px, 2.6vw, 34px); background: var(--c-paper); border-radius: var(--r-lg); box-shadow: var(--sh-2); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.cook-card.is-swapping { opacity: 0; transform: translateY(8px); }
.cook-card__tags { font: 700 .8125rem/1.3 var(--font-sub); letter-spacing: .09em; text-transform: uppercase; color: var(--c-green); }
.cook-card__title { margin-top: 6px; font-size: var(--fs-h3); line-height: 1.2; }
.cook-card__lead { margin-top: 10px; color: var(--c-ink); }
.cook-card__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cook-card__facts li { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: var(--r-info); background: var(--c-cream); font-weight: 600; font-size: .875rem; color: var(--c-brown); }
.cook-card__facts .icon { width: 18px; height: 18px; color: var(--c-red); }
.cook-card__products { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--c-line-strong); }
.cook-card__label { font-size: .875rem; font-weight: 700; color: var(--c-muted); }
.cook-card__plist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pc-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 16px 4px 4px; border-radius: var(--r-pill); background: var(--c-cream); box-shadow: inset 0 0 0 1px var(--c-line); font-weight: 700; font-size: .9rem; line-height: 1.25; color: var(--c-brown); text-decoration: none; transition: background-color var(--dur-2), box-shadow var(--dur-2); }
@media (hover: hover) { .pc-chip:hover { background: var(--c-gold-soft); box-shadow: inset 0 0 0 1px #f3d79c; color: var(--c-brown); } }
.pc-chip img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: contain; background: #fff; }
.cook-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cook__more { margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--c-line-strong); }
.cook__more-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.cook__more-title { font-weight: 700; color: var(--c-brown); }
.mini-recipes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-recipe--all { justify-content: center; gap: 8px; padding: 8px 20px; color: var(--c-red-dark); font-family: var(--font-body); }
.mini-recipe--all .icon { width: 18px; height: 18px; }
.mini-recipe { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 8px 16px 8px 8px; border-radius: var(--r-md); background: var(--c-paper); color: var(--c-brown); text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: .9375rem; line-height: 1.3; box-shadow: var(--sh-1); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
@media (hover: hover) { .mini-recipe:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--c-red-dark); } }
.mini-recipe img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.mini-recipe__text { display: grid; gap: 2px; }
.mini-recipe__time { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-weight: 600; color: var(--c-muted); font-size: .8125rem; }
.mini-recipe__time .icon { width: 15px; height: 15px; }
@media (max-width: 899px) {
  .cook__grid { grid-template-columns: 1fr; }
  .plate { width: min(78%, 340px); }
}
@media (max-width: 767px) {
  .cook__plate-wrap { gap: 14px; }
  .plate { width: 220px; margin-bottom: 0; }
  .cook__spin { width: 100%; }
  .cook__plate-wrap, .cook__side { min-width: 0; width: 100%; }
  .cook__filters-wrap { width: 100%; min-width: 0; justify-content: flex-start; flex-wrap: nowrap; }
  .cook__filters-wrap .scroller { min-width: 0; flex: 1; }
  .cook__filters { min-width: 0; }
  .cook__filters-label { font-size: 1.4rem; flex: none; }
  .cook__filters { flex-wrap: nowrap; justify-content: flex-start; gap: 6px; }
  .cook__filters .chip { min-height: 44px; padding: 0 12px; }
  .cook-card__actions .btn { flex: 1 1 100%; }
  .pc-chip { width: 100%; }
  .cook__more { margin-top: 24px; padding-top: 18px; }
  .mini-recipes { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .mini-recipes::-webkit-scrollbar { display: none; }
  .mini-recipes > li { scroll-snap-align: start; }
  .mini-recipes__all { grid-auto-columns: auto; }
  .cook__filters .icon { display: none; }
}

/* ---------- KATEGORIJAS ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.ccard__benefit { margin-top: 2px; font-size: .875rem; line-height: 1.35; color: var(--c-brown); font-weight: 600; }
.ccard--all .card__media { color: var(--c-brown); }
.ccard__all-ico { display: grid; place-items: center; width: 46%; aspect-ratio: 1; }
.ccard--all .card__media .icon { width: 48px; height: 48px; stroke-width: 2.2; transition: transform var(--dur-3) var(--ease-out); }
@media (hover: hover) { .ccard--all:hover .card__media .icon { transform: translateX(6px); } }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories .ccard .card__media { aspect-ratio: 16 / 10; }
  .ccard .card__body { padding: 8px 8px 14px; }
  .ccard__name { font-size: 1rem; }
  .ccard__count, .ccard__benefit { font-size: .875rem; }
}

/* ---------- KUR NOPIRKT ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logo-grid__link { display: grid; place-items: center; height: 88px; padding: 16px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); transition: border-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .logo-grid__link:hover { border-color: var(--c-line-strong); box-shadow: var(--sh-1); transform: translateY(-2px); } }
.logo-grid img { height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.where__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(20px, 2vw, 32px); }
.where-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 4px 18px; padding: 20px 22px; text-decoration: none; box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line); }
@media (hover: hover) { .where-card:hover { color: var(--c-ink); } }
.where-card__logo, .where-card__icon { grid-row: span 2; }
.where-card__logo { display: grid; place-items: center; width: 96px; height: 64px; padding: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); border-radius: var(--r-sm); }
.where-card__logo img { max-width: 100%; max-height: 40px; object-fit: contain; }
.where-card__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-inline: 16px; border-radius: 50%; background: #fff; color: var(--c-red-dark); }
.where-card__icon .icon { width: 28px; height: 28px; }
.where-card__text { display: grid; gap: 2px; font-size: .9rem; line-height: 1.45; align-self: end; }
.where-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--c-brown); }
.where-card .link-arrow { font-size: .9rem; align-self: start; }
.where-card--ask { background: var(--c-gold-soft); box-shadow: inset 0 0 0 1px #f3d79c; }
@media (max-width: 1023px) { .where__cards { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .logo-grid__link { height: 64px; padding: 10px 16px; }
  .logo-grid img { height: 32px; }
  .where-card { padding: 16px; gap: 2px 14px; }
  .where-card__logo { width: 80px; height: 56px; }
  .where-card__icon { width: 56px; height: 56px; margin-inline: 12px; }
}

/* ---------- STĀSTS ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__media { position: relative; padding: 0 12% 14% 0; }
.story__photo { margin: 0; background: #fff; padding: 10px; box-shadow: var(--sh-2); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo--main { aspect-ratio: 4 / 4.4; transform: rotate(-1.5deg); }
.story__photo--small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; transform: rotate(3deg); padding: 8px; }
.story__badge { position: absolute; top: 18px; left: -10px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; background: var(--c-paper); box-shadow: var(--sh-2); font-size: .875rem; line-height: 1.25; color: var(--c-muted); }
.story__badge .icon { width: 28px; height: 28px; color: var(--c-green); flex: none; }
.story__badge span { display: grid; }
.story__badge strong { font-family: var(--font-heading); font-size: .9375rem; color: var(--c-brown); }
.story { border-bottom: 0; }
.story__copy > * + * { margin-top: 16px; }
.story__copy h2 { margin-top: 0; }
.story__copy .lead { margin-top: 18px; }
.story__copy .cluster { margin-top: 26px; gap: 16px 24px; }
.quote { position: relative; margin: 24px 0 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--c-gold); }
.quote p { font-family: var(--font-heading); font-size: var(--fs-h5); line-height: 1.45; color: var(--c-brown); font-weight: 500; }
.quote footer { margin-top: 8px; font-size: .875rem; color: var(--c-muted); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--c-line-strong); }
.stats li { display: grid; gap: 4px; align-content: start; padding: 26px 20px 0; text-align: center; }
.stats li + li { border-left: 1px solid var(--c-line-strong); }
.stats__num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1; color: var(--c-red); font-variant-numeric: tabular-nums; }
.stats__label { font-size: .9375rem; color: var(--c-muted); font-weight: 600; }
@media (max-width: 899px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 639px) {
  .story__media { padding: 0 22% 14% 0; max-width: 340px; }
  .story__photo--main { aspect-ratio: 4 / 3.4; }
  .story__photo--small { width: 50%; }
  .story__badge { top: auto; bottom: 0; left: 0; padding: 8px 12px 8px 10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li { padding: 20px 8px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--c-line-strong); }
  .story__copy .cluster .btn { width: 100%; }
}

/* ---------- COLLECTION ---------- */
.collection-band { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 80% at 78% 50%, var(--c-brown) 0%, var(--c-brown-deep) 64%); color: var(--c-on-dark); padding-block: clamp(56px, 6vw, 104px); }
.collection-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(251, 175, 19, .035) 0 2px, transparent 2px 14px); pointer-events: none; }
.collection-band__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.collection-band__lead { margin-top: 16px; font-size: var(--fs-lg); color: var(--c-on-dark); max-width: 54ch; }
.collection-band__list { display: grid; gap: 10px; margin: 22px 0 28px; }
.collection-band__list li { display: flex; gap: 10px; align-items: flex-start; }
.collection-band__list .icon { color: var(--c-gold); margin-top: 2px; }
.collection-band__media { padding-right: 24px; }
.collection-band__packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0 0 18px; list-style: none; }
.collection-band__packs li { display: grid; place-items: center; aspect-ratio: 3 / 2; background: #fff; border-radius: var(--r-info); box-shadow: 0 18px 36px rgba(0, 0, 0, .35); overflow: hidden; }
.collection-band__packs li:nth-child(2n) { transform: translateY(18px); }
.collection-band__packs img { width: 100%; height: 100%; object-fit: contain; padding: 6% 8%; }
@media (max-width: 639px) { .collection-band__packs { gap: 8px; } .collection-band__packs li:nth-child(2n) { transform: translateY(10px); } }
.collection-band .btn--gold:focus-visible { box-shadow: 0 0 0 3px var(--c-brown-deep), 0 0 0 6px var(--c-gold); }
@media (max-width: 899px) {
  .collection-band__grid { grid-template-columns: 1fr; }
  .collection-band__media { order: -1; max-width: 460px; margin-inline: auto; padding-right: 0; }
}
@media (max-width: 639px) {
  .collection-band__list { gap: 8px; margin: 18px 0 22px; font-size: .9375rem; }
  .collection-band .btn { width: 100%; }
}

/* ---------- JAUNUMI ---------- */
.news-grid { --rail-col: auto; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin-inline: 0; padding: 0; }
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-grid > :nth-child(3) { display: none; } }
@media (max-width: 767px) {
  .news-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; }
  .news-grid > :nth-child(3) { display: flex; }
}

/* ---------- B2B ---------- */
.b2b { position: relative; overflow: hidden; background: var(--c-brown); }
.b2b__media { position: absolute; inset: 0 0 0 50%; }
.b2b__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.b2b__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-brown) 0%, rgba(74, 9, 0, .85) 10%, rgba(74, 9, 0, 0) 32%); }
.b2b__inner { position: relative; padding-block: clamp(56px, 6vw, 104px); }
.b2b__copy { max-width: 600px; }
.b2b__lead { margin-top: 16px; font-size: var(--fs-lg); color: var(--c-on-dark); }
.b2b__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-weight: 700; font-size: .9375rem; color: var(--c-gold); }
.b2b__proof .icon { width: 20px; height: 20px; }
.b2b__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 26px; }
.b2b__points li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--c-on-dark-muted); line-height: 1.45; }
.b2b__points strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.0625rem; margin-bottom: 2px; }
.b2b__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgba(251, 175, 19, .16); color: var(--c-gold); }
.b2b__actions { margin-top: 30px; }
.b2b__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; }
.b2b__contacts-title { width: 100%; font-size: .875rem; font-weight: 700; color: var(--c-on-dark-muted); }
.b2b__contact { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-weight: 700; color: #fff; text-decoration: none; transition: background-color var(--dur-2); }
@media (hover: hover) { .b2b__contact:hover { background: rgba(255, 255, 255, .16); color: #fff; } }
.b2b__contact .icon { width: 20px; height: 20px; color: var(--c-gold); }
.b2b .script { color: var(--c-gold); }
@media (max-width: 1023px) {
  .b2b__media { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; max-height: 340px; width: 100%; }
  .b2b__media::after { background: linear-gradient(0deg, var(--c-brown) 0%, rgba(74, 9, 0, 0) 35%); }
  .b2b__inner { padding-top: 8px; }
}
@media (max-width: 639px) {
  .b2b__points { grid-template-columns: 1fr; }
  .b2b__actions .btn { flex: 1 1 100%; }
  .b2b__contact { width: 100%; }
}

/* ---------- VAKANCES ---------- */
.jobs__band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 32px; padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px); background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line); }
.jobs__photo { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--c-green-soft), 0 0 0 6px var(--c-green); }
.jobs__photo img { width: 100%; height: 100%; object-fit: cover; }
.jobs__title { font-size: var(--fs-h3); }
.jobs__copy p { margin-top: 6px; }
.jobs__perks { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-weight: 600; font-size: .9375rem; color: var(--c-green); }
.jobs__perks li { display: inline-flex; align-items: center; gap: 6px; }
.jobs__perks .icon { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .jobs__band { grid-template-columns: 1fr; }
  .jobs__photo { width: 88px; height: 88px; }
  .jobs__cta { width: 100%; }
  .jobs__perks { flex-direction: column; }
}

/* ---------- SOCIĀLIE ---------- */
.social-posts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); margin-bottom: clamp(20px, 2.4vw, 32px); }
.social-post { display: block; overflow: hidden; border-radius: var(--r-sm); box-shadow: var(--sh-1); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
@media (hover: hover) { .social-post:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } }
.social-post img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.social-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; padding: 22px 16px 20px; text-align: center; text-decoration: none;
  background: var(--c-paper); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
@media (hover: hover) { .social-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); color: var(--c-ink); } }
.social-card__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-brown); color: #fff; transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-spring); }
@media (hover: hover) { .social-card:hover .social-card__ico { background: var(--c-red); transform: rotate(-8deg) scale(1.06); } }
.social-card__ico .icon { width: 26px; height: 26px; }
.social-card__text { display: grid; gap: 2px; }
.social-card__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--c-brown); }
.social-card__desc { font-size: .875rem; color: var(--c-muted); }
.social-card__ext { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; color: var(--c-muted); }
@media (max-width: 1023px) { .social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .social-card__desc { display: none; } }
@media (max-width: 767px) {
  .social-posts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .social-posts::-webkit-scrollbar { display: none; }
  .social-posts > li { scroll-snap-align: start; }
  .social-grid { gap: 4px; }
  .social-card { padding: 4px 0; gap: 6px; background: none; box-shadow: none; }
  @media (hover: hover) { .social-card:hover { transform: none; box-shadow: none; } }
  .social-card__ico { width: 48px; height: 48px; }
  .social-card__ico .icon { width: 22px; height: 22px; }
  .social-card__name { font-size: .8125rem; font-family: var(--font-body); }
  .social-card__ext { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img.is-active { animation: none; }
  .plate__dish { transition: none; }
}
html.shots .hero__img.is-active { animation: none; }

/* ===================== k3 labojumi ===================== */
/* hero: lielākas ieteikumu miniatūras, 15px nosaukumi */
.pick__img { width: 56px; height: 56px; background: #faf5ec; padding: 2px; }
.pick__name { font-size: .9375rem; }
@media (max-width: 767px) {
  .hero__media { height: 30vh; min-height: 180px; max-height: 260px; }
  .hero__actions { margin-top: 18px; }
  /* uzticība - viena tieva rinda bez rāmjiem */
  .hero__trust { display: flex; flex-wrap: nowrap; gap: 6px 16px; margin-top: 12px; font-size: .875rem; }
  .hero__trust li { flex-direction: row; padding: 0; background: none; box-shadow: none; text-align: left; gap: 6px; white-space: nowrap; }
  .hero__trust .icon { width: 18px; height: 18px; }
  .hero__inner { padding-bottom: 14px; }
  .clock { padding: 16px; gap: 12px; }
  .clock__switch button { min-height: 52px; }
  .pick__img { width: 48px; height: 48px; }
}
/* brīži: bultas aplis stūrī (visa kartīte ir saite), spēcīgāks gradients */
.moment::after { background: linear-gradient(180deg, rgba(44, 6, 0, 0) 30%, rgba(44, 6, 0, .6) 58%, rgba(44, 6, 0, .75) 72%, rgba(44, 6, 0, .92)); }
.moment__recipes { display: none; }
.moment__body { position: relative; padding-right: 64px; }
.moment__body::after { content: ""; position: absolute; right: 18px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--c-gold) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .moment:hover .moment__body::after { transform: translateX(3px); } }
@media (max-width: 767px) {
  .moment__body { padding-right: 40px; }
  .moment__body::after { right: 10px; bottom: 14px; width: 24px; height: 24px; background-size: 14px; }
}
/* iecienītākie: lente = kopīgais [data-scroller] (bultas savā zonā, nepārklāj kartītes); Gada prece saite 44px */
@media (max-width: 767px) {
  .popular__award { min-height: 44px; }
  .product-rail { --rail-col: calc(50% - 7px); }
}
/* receptes */
.mini-recipe img { width: 56px; height: 56px; }
.mini-recipe { font-size: 1rem; }
.cook__more { margin-top: 48px; }
@media (max-width: 767px) {
  .cook-card__lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cook-card__plist { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px 4px; }
  .cook-card__plist::-webkit-scrollbar { display: none; }
  .cook-card__plist > li { flex: none; }
  .pc-chip { width: auto; white-space: nowrap; }
  .mini-recipes { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; gap: 8px; }
  .mini-recipe { min-height: 64px; box-shadow: inset 0 0 0 1px var(--c-line); }
  .mini-recipe img { width: 48px; height: 48px; }
}
/* kategorijas: vienāds kompozīcijas augstums; mobilajā kompaktas rindas */
.categories .ccard .card__media img { height: 140px; width: auto; max-width: 92%; object-fit: contain; }
@media (max-width: 639px) {
  .cat-grid { grid-template-columns: 1fr; gap: 8px; }
  .categories .ccard { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; }
  .categories .ccard .card__media { aspect-ratio: auto; height: 64px; margin: 6px 0 6px 6px; border-radius: var(--r-sm); }
  .categories .ccard .card__media img { height: 56px; max-width: 100%; }
  .categories .ccard .card__body { padding: 6px 14px; display: grid; gap: 0; text-align: left; justify-items: start; }
  .categories .ccard__name { font-size: 1rem; line-height: 1.25; }
  .categories .ccard__benefit { display: none; }
  .ccard__all-ico { width: 40px; }
  .ccard--all .card__media .icon { width: 28px; height: 28px; }
}
/* kur nopirkt: logo optiskais svars vienots */
.logo-grid img { height: auto; max-height: 32px; max-width: 120px; }
.logo-grid img.is-plate { max-height: 28px; }
.where-card__logo { width: 104px; }
.where-card__logo img { max-width: 96px; }
@media (max-width: 767px) {
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .logo-grid__link { height: 64px; padding: 8px 10px; }
  .logo-grid img { max-height: 26px; max-width: 100%; }
  .logo-grid img.is-plate { max-height: 22px; }
  .logo-grid li:last-child:nth-child(3n+1) { grid-column: 2; }
  .where-card { min-height: 72px; padding: 10px 14px; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; gap: 0 12px; }
  .where-card__logo, .where-card__icon { grid-row: auto; }
  .where-card__logo { width: 64px; height: 44px; padding: 4px; }
  .where-card__icon { width: 44px; height: 44px; margin-inline: 10px; }
  .where-card__icon .icon { width: 22px; height: 22px; }
  .where-card__logo img { max-width: 100%; max-height: 30px; }
  .where-card__text .muted { font-size: .8125rem; line-height: 1.35; }
  .where-card__title { font-size: 1rem; }
  .logo-grid img { max-width: 80%; }
  .where-card__text { align-self: center; }
  .where-card .link-arrow { align-self: center; gap: 0; min-width: 44px; justify-content: flex-end; }
  .where-card .link-arrow .icon { width: 20px; height: 20px; }
  .where-card__cta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* stāsts */
.story__badge { top: auto; bottom: 22%; left: -14px; }
.story__badge .icon { color: var(--c-red); }
.story { box-shadow: none; }
@media (max-width: 899px) { .story__copy { order: -1; } }
@media (max-width: 639px) {
  .story__media { max-width: 300px; padding: 0 24% 12% 0; }
  .story__photo--main { aspect-ratio: 4 / 4; }
  .story__photo--small { aspect-ratio: 1; width: 42%; }
  .story__badge { bottom: 0; left: 0; }
  .story__copy .link-arrow { min-height: 44px; padding-block: 10px; }
}
/* collection: zelta ķeksīši 18px, CTA atstarpe 32px */
.collection-band__list .icon { width: 18px; height: 18px; }
.collection-band__list { margin-bottom: 32px; }
@media (max-width: 639px) { .collection-band__lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
/* jaunumi: datums/birka >= 13px */
.news .ncard .badge, .news .ncard time, .news .ncard__date, .news .ncard__meta { font-size: .875rem; }
/* B2B */
.b2b__points li { font-size: .9375rem; line-height: 1.5; }
.b2b__ico { width: 40px; height: 40px; }
@media (max-width: 1023px) { .b2b__media { aspect-ratio: auto; height: 120px; } }
@media (max-width: 639px) {
  .b2b__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .b2b__points li { flex-direction: column; gap: 6px; font-size: .875rem; }
  .b2b__proof { flex-direction: column; align-items: flex-start; gap: 8px; }
  .b2b__proof > span[aria-hidden] { display: none; }
}
/* vakances: paletes krāsas */
.jobs__photo { box-shadow: 0 0 0 4px var(--c-gold-soft), 0 0 0 6px var(--c-gold); }
.jobs__perks { color: var(--c-brown); }
.jobs__perks .icon { color: var(--c-gold-dark, #c98a00); }
/* sociālie */
.social-block__note { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .875rem; font-weight: 600; color: var(--c-muted); }
.social-block__note .icon { width: 16px; height: 16px; color: var(--c-red); }
.social-post { position: relative; }
.social-post__ico { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-brown); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
@media (max-width: 767px) {
  .social-card__name { font-size: .875rem; }
  .social-posts { grid-auto-columns: 42%; margin-bottom: 4px; }
  .social-block .rail-dots { margin-bottom: 16px; }
}

/* ===================== k4 labojumi (pēc k3 recenzijas) ===================== */
/* produktu kartītes: normalizēti iepakojumu foto (assets/img/produkti/card) - mazāks iekšējais laukums */
/* hero: ieteikumi - 64px miniatūra bez baltas plāksnes, nosaukums 2 rindās, vienāds augstums */
.pick { align-items: center; min-height: 76px; }
.pick__img { width: 64px; height: 64px; padding: 0; background: none; border-radius: 0; mix-blend-mode: multiply; }
.pick__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: normal; }
@media (max-width: 767px) {
  .pick { min-height: 64px; }
  .pick__img { width: 56px; height: 56px; }
  .clock__switch { padding: 4px; }
  .hero__actions { margin-top: 16px; gap: 8px; }
  .hero__trust { flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
  .hero__inner { padding-bottom: 12px; }
}
/* brīži: nosaukums vienā rindā (vienādas bāzes līnijas), ieguvums 15px, skaits sekundārs; mobilajā rinda ar receptēm */
.moment__count { color: rgba(255, 255, 255, .78); font-weight: 600; }
@media (max-width: 767px) {
  .moment__body { padding: 12px 12px 14px; }
  .moment__name { font-size: 1.5rem; white-space: nowrap; }
  .moment__benefit { font-size: .9375rem; line-height: 1.3; }
  .moment__meta { padding-right: 30px; }
  .moment__body::after { right: 10px; bottom: 12px; }
}
.moments__recipes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.moments__recipes-label { font-weight: 700; color: var(--c-brown); margin-right: 2px; }
.moments__recipes a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line-strong); color: var(--c-brown); font-weight: 700; font-size: .9375rem; text-decoration: none; }
/* iecienītākie: desktopā tīrs 4 kolonnu režģis (līdzināts ar virsrakstu, bez nogrieztas kartītes), kartītes augstums pēc satura */
.popular .pcard__title { min-height: 2.6em; }
.product-rail { align-items: start; }
@media (min-width: 1024px) {
  .popular .product-rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; padding: 0; margin: 0; align-items: stretch; }
  .popular .product-rail > :nth-child(n+5) { display: none; }
  .popular .rail-dots { display: none; }
}
/* receptes: kartīte nekad platāka par ekrānu (min-width:0 visā ķēdē), produkti aplaužas kartītes iekšā */
.cook__side { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.cook-card { min-width: 0; max-width: 100%; }
.cook-card__title { overflow-wrap: anywhere; }
.cook__filters { flex-wrap: wrap; }
@media (max-width: 767px) {
  .cook__filters-wrap { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 6px; }
  .cook__filters { flex-wrap: wrap; gap: 6px; }
  .cook-card__plist { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; }
  .cook-card__plist > li { flex: 0 1 auto; min-width: 0; max-width: 100%; }
  .pc-chip { white-space: normal; max-width: 100%; }
  .cook-card { padding: 20px 18px; }
}
/* kategorijas: 5×2 bez vientuļām plāksnēm; mobilajā ieguvums + skaits */
.ccard__benefit-n { display: none; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 899px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .categories .ccard { grid-template-columns: 72px minmax(0, 1fr); min-height: 68px; }
  .categories .ccard .card__media { width: 60px; height: 60px; margin: 4px 0 4px 6px; border-radius: 50%; background: var(--c-gold-soft); overflow: hidden; }
  .categories .ccard .card__media img { width: 52px; height: 52px; max-width: none; object-fit: contain; }
  .categories .ccard__count { display: none; }
  .categories .ccard__benefit { display: block; font-size: .875rem; font-weight: 400; color: var(--c-muted); }
  .ccard__benefit-n { display: inline; font-weight: 700; color: var(--c-brown); }
}
/* kur nopirkt: logo pēc optiskā laukuma (plāksnes mazākas), Barbora lielāka */
.logo-grid img { max-width: 140px; }
.logo-grid img[src*="maxima"] { max-height: 28px; }
.logo-grid img[src*="rimi"] { max-height: 30px; }
.logo-grid img[src*="lidl"] { max-height: 44px; }
.logo-grid img[src*="top."] { max-height: 42px; }
.logo-grid img[src*="elvi"] { max-height: 38px; }
.logo-grid img[src*="mego"] { max-height: 32px; }
.logo-grid img[src*="vesko"] { max-height: 34px; }
.logo-grid img[src*="mere"] { max-height: 32px; }
.logo-grid img[src*="aibe"] { max-height: 28px; }
.logo-grid img[src*="latts"] { max-height: 38px; }
.where-card__logo { width: 120px; }
.where-card__logo img { max-width: 104px; max-height: 44px; }
@media (max-width: 767px) {
  .logo-grid li:last-child { display: none; }
  .logo-grid li:last-child:nth-child(3n+1) { grid-column: auto; }
  .logo-grid img, .logo-grid img[src] { max-height: 24px; max-width: 80%; }
  .logo-grid img[src*="lidl"], .logo-grid img[src*="top."] { max-height: 32px; }
  .logo-grid img.is-plate { max-height: 22px; }
  .where-card__logo { width: 72px; }
  .where-card__logo img { max-width: 100%; max-height: 30px; }
}
/* stāsts: vilnis uz Collection joslu (nav taisnas tumšas līnijas); mobilajā viens foto ~200px */
.story { position: relative; }
@media (max-width: 639px) {
  .story__media { max-width: none; padding: 0; }
  .story__photo--main { aspect-ratio: auto; height: 200px; transform: none; padding: 6px; }
  .story__photo--small { display: none; }
  .story__badge { left: 10px; bottom: 10px; }
}
/* Collection: ievads pilns (bez daudzpunktes) */
@media (max-width: 639px) { .collection-band__lead { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 1rem; } }
/* B2B: punktu teksti 16px; uzticība - ikona + teksts rindā */
.b2b__points li { font-size: 1rem; }
.b2b__proof { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.b2b__proof li { display: inline-flex; align-items: center; gap: 8px; }
.b2b__proof .icon { flex: none; }
@media (max-width: 639px) {
  .b2b__proof { flex-direction: column; align-items: flex-start; gap: 6px; }
  .b2b__points { grid-template-columns: 1fr; gap: 12px; }
  .b2b__points li { flex-direction: row; align-items: center; gap: 12px; font-size: .9375rem; }
  .b2b__points strong { font-size: 1rem; }
}
.pick__cat { letter-spacing: .04em; }
@media (min-width: 768px) { .pick__arrow { display: none; } .pick { padding-right: 12px; } }
.where-card__logo { width: 128px; }
.where-card__logo img[src*="barbora"] { max-width: 112px; max-height: 32px; }
@media (max-width: 767px) { .where-card__logo { width: 76px; } .where-card__logo img[src*="barbora"] { max-width: 66px; } }
.story__badge > span { max-width: 230px; }

/* ===================== k5 labojumi (pēc k4 recenzijas) ===================== */
/* hero: ieteikumu nosaukums 1 rindā (vienāds blīvums); mobilajā 1 ieteikums - bloks <= 1.5 ekrāna */
.pick__name { display: block; -webkit-line-clamp: unset; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) {
  .picks li:nth-child(n+2) { display: none; }
  .hero__lead--short { margin-top: 10px; font-size: 1rem; line-height: 1.5; }
  .clock { padding: 14px; gap: 10px; }
  .clock__switch button { min-height: 50px; }
}
/* brīži: ieguvums 1 rindā (virsraksti vienā līnijā); receptes pēc brīža - arī desktopā */
.moment__benefit { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moments__recipes { margin-top: 20px; }
@media (min-width: 768px) {
  .moments__recipes { justify-content: center; gap: 10px; }
  .moments__recipes-label { font-family: var(--font-script); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--c-red); margin-right: 6px; }
}
@media (hover: hover) { .moments__recipes a:hover { background: var(--c-gold-soft); box-shadow: inset 0 0 0 1px var(--c-gold); color: var(--c-brown); } }
/* receptes: informatīvā kartīte ar mazo radiusu; „Vai izvēlies pats” nosaukumi 1 rindā */
.cook-card { border-radius: var(--r-info); }
.mini-recipe__text { min-width: 0; }
.mini-recipe__text > span:first-child { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-recipes > li { min-width: 0; }
@media (max-width: 767px) {
  /* šķīvis 180px + poga blakus; „Ko gribi?” virs tiem */
  .cook__plate-wrap { grid-template-columns: 172px minmax(0, 1fr); grid-template-areas: "f f" "p s"; align-items: center; justify-items: stretch; gap: 12px 14px; }
  .cook__filters-wrap { grid-area: f; }
  .plate { grid-area: p; width: 172px; }
  .cook__spin { grid-area: s; width: 100%; min-width: 0; padding-inline: 12px; }
  .cook__grid { gap: 18px; }
  .cook-card__lead { display: none; }
  .cook-card { padding: 18px 16px; }
  .cook-card__facts { margin-top: 10px; }
  .cook-card__products { margin-top: 12px; padding-top: 12px; }
  .cook-card__actions { margin-top: 14px; }
  /* „Vai izvēlies pats” - viena rinda ritināmu mini kartīšu */
  .cook__more { margin-top: 18px; padding-top: 14px; }
  .cook__more-head { margin-bottom: 8px; }
  .mini-recipes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .mini-recipes > li { scroll-snap-align: start; }
}
/* kategorijas: nosaukumam rezervētas 2 rindas (paraksti vienā līnijā); kompozīcijas vienā augstumā */
.categories .ccard__name { min-height: 2.5em; display: flex; align-items: flex-end; justify-content: center; }
.categories .ccard .card__media img { height: 80%; max-height: 150px; width: 86%; max-width: 86%; object-fit: contain; }
@media (max-width: 639px) {
  .categories .ccard__name { min-height: 0; display: block; }
  .categories .ccard { grid-template-columns: 68px minmax(0, 1fr); }
  .categories .ccard .card__media { width: 56px; height: 56px; }
  .categories .ccard .card__media img { width: 48px; height: 48px; max-width: none; max-height: none; }
}
/* stāsts: abi rindkopas 16px; BRCGS zīme pirmā foto apakšējā kreisajā stūrī (nav uz savienojuma) */
.story__copy .lead, .story__copy > p:not(.script) { font-size: 1rem; line-height: 1.65; }
.story__copy .lead { font-weight: 600; color: var(--c-brown); }
.stats__label .nowrap { white-space: nowrap; }
/* jaunumi: viens birkas stils; kartītes vienā augstumā, „Lasīt” apakšā */
.news .ncard .badge { background: var(--c-gold-soft); color: var(--c-brown); box-shadow: none; border-radius: var(--r-info); }
@media (min-width: 768px) {
  .news-grid { align-items: stretch; }
  .news .ncard { height: 100%; display: flex; flex-direction: column; }
  .news .ncard .card__body { flex: 1; display: flex; flex-direction: column; }
  .news .ncard .card__body > :last-child { margin-top: auto; }
}
/* B2B: segmentu paraksti 15px / 1.45; mobilajā 2x2 kompaktas flīzes bez parakstiem, kontakti vienā rindā */
.b2b__points li > span:last-child { font-size: .9375rem; line-height: 1.45; }
.b2b__points strong { font-size: 1rem; }
@media (max-width: 639px) {
  .b2b__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .b2b__points li { flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-info); background: rgba(255, 255, 255, .07); }
  .b2b__points li > span:last-child { font-size: 0; line-height: 0; }
  .b2b__points li strong { display: block; font-size: .875rem; line-height: 1.25; }
  .b2b__ico { width: 32px; height: 32px; }
  .b2b__contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .b2b__contacts-title { grid-column: 1 / -1; }
  .b2b__contact { justify-content: center; min-height: 48px; font-size: 0; }
  .b2b__contact .icon { width: 20px; height: 20px; }
  .b2b__contact::after { font-size: 1rem; font-weight: 700; }
  .b2b__contact[href^="tel:"]::after { content: "Zvanīt"; }
  .b2b__contact[href^="mailto:"]::after { content: "Rakstīt"; }
}
/* vakances: priekšrocības 15px */
.jobs__perks li { font-size: .9375rem; }
/* sociālie: viens komponents - brūns aplis 48px + nosaukums + īss paraksts (arī mobilajā) */
.social-card__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--c-brown); color: #fff; }
.social-card__ico .icon { color: var(--c-gold); }
@media (max-width: 1023px) { .social-card__desc { display: block; } }
@media (max-width: 767px) {
  .social-card__desc { display: block; font-size: .8125rem; line-height: 1.25; }
  .social-posts { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
@media (max-width: 767px) { .mini-recipe__text > span:first-child { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }
@media (min-width: 640px) { .story__badge { bottom: 15%; left: -14px; } .story__badge > span { max-width: 190px; } }
.story__copy .lead { font-weight: 500; }
@media (max-width: 639px) { .b2b__points li strong { font-size: .8125rem; overflow-wrap: anywhere; } .b2b__points li { padding: 8px; gap: 6px; } .b2b__ico { width: 28px; height: 28px; } }
/* kur nopirkt (k5): viens datu avots; logo augstums = optiskais svars (lh), mobilajā visi 10 tīkli 2×5 */
.where .logo-grid .logo-grid__link img[style] { height: var(--lh); max-height: none; max-width: 100%; width: auto; }
.where .logo-grid li { display: block; }
.where__cards { align-items: stretch; }
.where-box { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--c-line); }
.where-box__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--c-brown); }
.where-box__text { font-size: .9375rem; line-height: 1.45; color: var(--c-ink); }
.where-box__text--sm { font-size: .875rem; color: var(--c-muted); }
.where-box__go { margin-top: auto; padding-top: 6px; }
.where-box__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--c-red-dark); }
.where-box__icon .icon { width: 22px; height: 22px; }
.where-box--ask { background: var(--c-gold-soft); box-shadow: inset 0 0 0 1px #f3d79c; }
.where-box__links { display: grid; gap: 8px; width: 100%; margin-top: 6px; }
.where-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 14px 6px 6px; border-radius: var(--r-sm); background: var(--c-cream); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-brown); font-weight: 700; text-decoration: none; }
@media (hover: hover) { .where-link:hover { background: var(--c-gold-soft); box-shadow: inset 0 0 0 1px var(--c-gold); color: var(--c-brown); } }
.where-link__logo { display: grid; place-items: center; width: 84px; height: 40px; padding: 4px 8px; border-radius: 6px; background: #fff; flex: none; }
.where-link__logo img { max-width: 100%; max-height: 28px; width: auto; object-fit: contain; }
.where-link__name { flex: 1; }
.where-link__ext { width: 18px; height: 18px; color: var(--c-red-dark); flex: none; }
.where-box--b2b .where-box__title { font-size: 1rem; }
@media (max-width: 1023px) and (min-width: 768px) { .where__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .where-box--online { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .where .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .where .logo-grid .logo-grid__link { height: 56px; padding: 8px 12px; }
  .where .logo-grid .logo-grid__link img[style] { height: calc(var(--lh) * .8); }
  .where .logo-grid li:last-child { display: block; grid-column: auto; }
  .where-box { padding: 16px; }
}
.where-link__logo { width: 100px; height: 44px; }
.where-link__logo img { max-height: 30px; }
@media (max-width: 767px) {
  .where .logo-grid { gap: 6px; }
  .where .logo-grid .logo-grid__link { height: 48px; padding: 6px 10px; }
  .where .logo-grid .logo-grid__link img[style] { height: calc(var(--lh) * .72); }
  .where__cards { gap: 10px; margin-top: 14px; }
  .where-box { padding: 14px 16px; gap: 4px; }
  .where-box--ask .where-box__icon { display: none; }
  .where-box__text { font-size: .875rem; }
  .where-box__go { padding-top: 0; }
  .where-link { min-height: 48px; }
  .where-link__logo { width: 84px; height: 36px; }
}

/* ===================== k6 (pēdējā kārta): nekādas daudzpunktes nogriešanas ===================== */
/* hero ieteikumi: kategorijas virsrinda nav vajadzīga izvēlei - nosaukums līdz 2 rindām pilnībā */
.pick__cat { display: none; }
.pick__name { display: block; white-space: normal; overflow: visible; text-overflow: clip; -webkit-line-clamp: unset; overflow-wrap: normal; hyphens: manual; font-size: .9375rem; line-height: 1.3; }
.pick__img { width: 56px; height: 56px; }
/* brīži: ieguvums pilnā tekstā (2 rindas mobilajā) */
.moment__benefit { white-space: normal; overflow: visible; text-overflow: clip; }
/* „Vai izvēlies pats” - nosaukums līdz 2 rindām bez nogriešanas */
.mini-recipe__text > span:first-child { white-space: normal; overflow: visible; text-overflow: clip; display: block; -webkit-line-clamp: unset; }
.mini-recipe { align-items: center; }
/* b2b segmenti: vārds nekad nelūzt pa burtiem */
.b2b__points li strong { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 639px) { .b2b__points li strong { overflow-wrap: normal; } }

/* ===== v2 (13.11): video pirmais ekrāns, fakti, kategoriju saraksts ===== */
.vhero { position: relative; isolation: isolate; background: #1b0f0a; color: #fff; overflow: hidden; }
.vhero__media { position: absolute; inset: 0; z-index: -2; }
.vhero__video { width: 100%; height: 100%; object-fit: cover; }
.vhero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(24,11,6,.86) 0%, rgba(24,11,6,.78) 32%, rgba(24,11,6,.42) 55%, rgba(24,11,6,.18) 75%, rgba(24,11,6,.12) 100%),
              linear-gradient(0deg, rgba(24,11,6,.5), rgba(24,11,6,0) 35%); }
.vhero__inner { min-height: min(720px, calc(100svh - var(--header-h) - var(--topbar-h))); display: flex; align-items: center; padding-block: 56px; }
.vhero__copy { max-width: 600px; }
.vhero h1 { color: #fff; font-size: clamp(2.6rem, 1.2rem + 3.6vw, 5.25rem); line-height: .98; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.vhero__lead { margin-top: 22px; font: 600 clamp(1.0625rem, .95rem + .45vw, 1.375rem)/1.4 var(--font-sub); color: #f1e2d3; text-shadow: 0 1px 12px rgba(0,0,0,.3); max-width: 520px; }
.vhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 700px) {
  .vhero::before { background: linear-gradient(0deg, rgba(24,11,6,.94) 0%, rgba(24,11,6,.85) 42%, rgba(24,11,6,.35) 68%, rgba(24,11,6,.15) 100%); }
  .vhero__inner { min-height: calc(100svh - var(--header-h) - 40px); align-items: flex-end; padding-block: 32px 28px; }
  .vhero__cta .btn { flex: 1 1 140px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .vhero__video { display: none; } .vhero__media { background: url(../img/hero/hero-poster.jpg) center / cover; } }

.facts { background: var(--c-paper); border-bottom: 1px solid var(--c-line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 24px 20px 24px 0; display: flex; flex-direction: column; gap: 2px; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--c-line); }
.fact b { font: 800 1.375rem/1.1 var(--font-heading); color: var(--c-brown); }
.fact span { font: 500 .9375rem/1.35 var(--font-sub); color: var(--c-muted); }
@media (max-width: 767px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px 10px 16px 0; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .fact b { font-size: 1.125rem; }
}

.cat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); border-top: 1px solid var(--c-line-strong); }
.cat-list > li { border-bottom: 1px solid var(--c-line-strong); }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 120px; align-items: center; gap: 20px; min-height: 84px; padding: 8px 0; text-decoration: none; color: inherit; }
.cat-row__name { font: 800 clamp(1.1875rem, 1rem + .5vw, 1.5rem)/1.15 var(--font-heading); color: var(--c-brown); letter-spacing: -.01em; }
.cat-row__n { font: 600 .9375rem var(--font-sub); color: var(--c-muted); white-space: nowrap; }
.cat-row__img { width: 120px; height: 72px; object-fit: contain; transition: transform .2s var(--ease-out); }
.cat-row__arrow { width: 28px; height: 28px; color: var(--c-red); justify-self: end; }
@media (hover: hover) { .cat-row:hover .cat-row__name { color: var(--c-red); } .cat-row:hover .cat-row__img { transform: scale(1.06) rotate(-2deg); } }
@media (max-width: 767px) {
  .cat-list { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: minmax(0, 1fr) 88px; gap: 12px; min-height: 68px; }
  .cat-row__n { display: none; }
  .cat-row__img { width: 88px; height: 56px; }
}

/* Kur nopirkt uz brūna: baltās kartītes ar tumšu tekstu */
.where.on-dark .where-box { color: var(--c-ink); }
.where.on-dark .where-box a:not(.btn) { color: var(--c-red-dark); }
.where.on-dark .section-head p { color: var(--c-on-dark); }

/* Garšaugi gaišajās sekcijās (īsti izgriezumi, tikai desktopā) */
.has-deco { overflow-x: clip; }
.has-deco::after { display: none; content: ""; position: absolute; right: -40px; top: 24px; width: 170px; height: 160px; background: url(../img/deco/v2-dilles-puskis.webp) center / contain no-repeat; transform: rotate(-12deg); filter: drop-shadow(0 8px 10px rgba(60,30,10,.16)); pointer-events: none; }
.categories::after { display: none; content: ""; position: absolute; left: -50px; bottom: 40px; width: 170px; height: 190px; background: url(../img/deco/v2-petersilis-puskis.webp) center / contain no-repeat; transform: rotate(18deg); filter: drop-shadow(0 8px 10px rgba(60,30,10,.16)); pointer-events: none; }
@media (max-width: 1099px) { .has-deco::after, .categories::after { display: none; } }
.social-more { margin-top: 20px; }
.fact b [data-products-total] { font: inherit; color: inherit; }
