/* DEDA center: mobile-first styles. Layout and feel follow super-viva.com (white page, red
   accents, green section labels, clean product cards, dark footer) in DEDA's own colours. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --red: #c42322;          /* the logo's red; white text on it is 5.8:1 */
  --red-strong: #a31b1b;   /* red for hover and small text: 7.7:1 on white */
  --red-soft: #fbeaea;
  --green: #47731f;        /* the logo's green (#5b9428) deepened for text and white text (5.6:1) */
  --green-dark: #375918;
  --green-50: #eef5e8;
  --ink: #1c1d1f;
  --muted: #5f6368;
  --line: #e9e9e9;
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --dark: #232427;
  --dark-2: #1a1b1d;
  --wa: #25d366;
  --wa-ink: #0a2e17;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 5%), 0 2px 8px rgb(0 0 0 / 5%);
  --shadow: 0 4px 10px rgb(0 0 0 / 6%), 0 14px 34px rgb(0 0 0 / 10%);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 64px;
  --bottom-h: 0px;
  --gutter: 16px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --header-h: 76px; } }
@media (max-width: 959px) { :root { --bottom-h: calc(64px + env(safe-area-inset-bottom)); } }

/* ── base ─────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: var(--bottom-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
address { font-style: normal; }
/* :where() keeps this reset weaker than any class, so each list's own spacing wins. */
:where(ul[role="list"], ol) { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--green-dark); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.demo-banner { background: #b71c1c; color: #fff; text-align: center; font-size: 0.9rem; padding: 8px var(--gutter); line-height: 1.4; }
.noscript-note { display: none; padding: 20px; border-radius: var(--radius); background: var(--bg-alt); font-weight: 600; }

/* ── buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--lg { min-height: 54px; padding-inline: 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-strong); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--outline-green { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn--outline-green:hover { background: var(--green-50); }
.btn--glass { background: rgb(255 255 255 / 14%); color: #fff; border-color: rgb(255 255 255 / 75%); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgb(255 255 255 / 25%); }
.btn--light { background: #fff; color: var(--green-dark); }
.btn--light:hover { background: var(--green-50); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #3be07a; }
.btn--ghost { background: transparent; color: var(--muted); padding-inline: 12px; min-height: 44px; }
.btn--ghost:hover { color: var(--ink); background: var(--bg-alt); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.text-link:hover span { text-decoration: underline; }

/* ── header ───────────────────────────────────────────────────────────────── */

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 95%); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.site-header.is-scrolled, .site-header.is-menu-open { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; border-radius: 10px; }
/* The shop's logo, traced from the owner's artwork: img/logo.svg has dark lettering for light
   backgrounds, img/logo-white.svg white lettering for the dark footer. */
.logo { display: block; width: auto; height: 50px; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn .icon { width: 22px; height: 22px; }
.menu-btn .icon-close, .is-menu-open .menu-btn .icon-open { display: none; }
.is-menu-open .menu-btn .icon-close { display: block; }
.lang-toggle { min-width: 44px; height: 38px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; cursor: pointer; }
.lang-toggle:hover { border-color: var(--ink); }
.list-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--red); color: #fff; font-weight: 600; font-size: 0.92rem; cursor: pointer; }
.list-btn:hover { background: var(--red-strong); }
.list-btn .icon { width: 20px; height: 20px; }
.list-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--red-strong); font-size: 0.75rem; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }

.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 16px; display: none; }
.is-menu-open .main-nav { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: flex; align-items: center; min-height: 50px; padding: 0 12px; border-radius: 12px; font-weight: 500; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="true"] { background: var(--red-soft); color: var(--red-strong); }

@media (max-width: 959px) {
  .list-btn { width: 44px; padding: 0; justify-content: center; }
  .list-btn-label { display: none; }
  .list-btn .list-count { position: absolute; top: -4px; right: -4px; border: 2px solid #fff; }
}
@media (max-width: 359px) { .site-header .logo { height: 44px; } .search-btn { display: none; } }
@media (min-width: 960px) {
  .site-header .logo { height: 64px; }
  .main-nav { position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0; margin-left: 18px; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav a { min-height: 40px; font-size: 0.93rem; padding: 0 12px; border-radius: 999px; }
  .menu-btn { display: none; }
}
@media (min-width: 960px) and (max-width: 1139px) { .main-nav a { padding: 0 8px; font-size: 0.88rem; } }

/* ── hero slider ──────────────────────────────────────────────────────────── */

.hero { position: relative; background: var(--dark-2); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; isolation: isolate; color: #fff; min-height: max(480px, calc(100svh - var(--header-h) - var(--bottom-h))); display: flex; align-items: flex-end; overflow: hidden; }
.slide picture, .slide-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.slide-img { object-fit: cover; }
.slide--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 15%) 0%, rgb(0 0 0 / 30%) 40%, rgb(0 0 0 / 82%) 100%); }
.slide-content { padding-block: 56px 64px; }
.slide--banner { align-items: center; justify-content: center; background: #fff; }
.slide-banner-link, .slide--banner > img { display: block; width: 100%; height: 100%; }
.slide--banner img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-place { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.9rem; background: rgb(255 255 255 / 16%); padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero-place .icon { width: 1.05em; height: 1.05em; }
.hero-title { margin-top: 14px; font-size: clamp(3rem, 12.5vw, 6.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-shadow: 0 2px 24px rgb(0 0 0 / 30%); }
.hero-title span { font-size: 0.6em; font-weight: 600; }
.hero-title--sm { font-size: clamp(2.3rem, 9vw, 4.4rem); }
/* "Scroll down" cue at the bottom of the full-screen hero (computers and tablets). */
.hero-cue { position: absolute; left: 50%; bottom: 52px; z-index: 2; translate: -50% 0; display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 70%); color: #fff; background: rgb(0 0 0 / 15%); backdrop-filter: blur(4px); }
.hero-cue:hover { background: rgb(255 255 255 / 18%); }
.hero-cue .icon { width: 22px; height: 22px; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@media (min-width: 720px) { .hero-cue { display: grid; } }
.hero-tagline { min-height: 2.7em; margin-top: 12px; font-size: clamp(1.05rem, 4vw, 1.4rem); font-weight: 500; max-width: 34ch; text-shadow: 0 1px 12px rgb(0 0 0 / 40%); }
.hero-ctas { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 520px) { .hero-ctas { display: flex; flex-wrap: wrap; } }
@media (min-width: 960px) {
  .slide { align-items: center; min-height: max(560px, calc(100svh - var(--header-h))); }
  .slide--photo::after { background: linear-gradient(90deg, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 50%) 45%, rgb(0 0 0 / 5%) 100%); }
}
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; line-height: 1.3; background: var(--green-50); color: var(--green-dark); }
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status-chip.is-closed { background: #fdecea; color: #a4241a; }
.status-chip--hero { margin-top: 18px; background: rgb(255 255 255 / 94%); }
/* Keep the chip's space even before the hours are known, so the hero text doesn't jump. */
.status-chip--hero[hidden] { display: inline-flex !important; visibility: hidden; }

.slider-arrow { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 92%); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.slider-arrow:hover { background: #fff; }
.slider-arrow--prev { left: 12px; }
.slider-arrow--next { right: 12px; }
@media (max-width: 719px) { .hero .slider-arrow { display: none; } }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 4px; }
.dot-btn { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dot-btn::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: rgb(255 255 255 / 55%); transition: width 0.2s ease, background-color 0.2s ease; }
.dot-btn[aria-current="true"]::before { width: 22px; background: #fff; }

/* ── brands strip (scrolls sideways like super-viva's partner row) ─────────── */

.brands { border-block: 1px solid var(--line); background: #fff; }
.brands-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-list { display: flex; width: max-content; animation: brands 40s linear infinite; }
.brands:hover .brands-list { animation-play-state: paused; }
.brand-item { display: grid; place-items: center; height: 84px; padding: 0 34px; color: #6b7075; font-weight: 600; font-size: 1.1rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand-item img { max-height: 40px; width: auto; filter: grayscale(1); opacity: 0.7; }
@keyframes brands { to { transform: translateX(-50%); } }
/* No automatic movement for visitors who ask for less motion: a row they can swipe instead. */
@media (prefers-reduced-motion: reduce) {
  .brands-viewport { overflow-x: auto; scrollbar-width: none; mask-image: none; }
  .brand-item[aria-hidden="true"] { display: none; }
}

/* ── sections ─────────────────────────────────────────────────────────────── */

.section { padding-block: 56px; scroll-margin-top: var(--header-h); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: 24px 56px; }
@media (min-width: 960px) { .section { padding-block: 84px; } .section--tight { padding-block: 32px 84px; } }
.section-head { margin-bottom: 26px; max-width: 680px; }
.section-head--center { text-align: center; margin-inline: auto; }
.kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.kicker--light { color: #fff; }
.lead { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }

/* tabs: super-viva's grey segmented bar with a white active pill */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 5px; margin: 0 auto 22px; background: var(--bg-alt); border-radius: 999px; max-width: max-content; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 719px) { .tabs { max-width: none; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; padding-inline: var(--gutter); } }
/* One line at every width: compact on larger screens so all categories fit from ~1240 px;
   narrower, the row scrolls sideways (scrollRow in js/site.js). */
@media (min-width: 720px) { .tabs { gap: 2px; } .tabs .tab { gap: 6px; padding-inline: 11px; font-size: 0.82rem; } }
.section--alt .tabs { background: #fff; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 0.88rem; font-weight: 600; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.section--alt .tab[aria-pressed="true"] { background: var(--bg-alt); }
.tab-n { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--muted); font-size: 0.72rem; text-align: center; }
.tab[aria-pressed="true"] .tab-n { background: var(--red); color: #fff; }

/* ── product cards ────────────────────────────────────────────────────────── */

.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.p-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.p-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; z-index: 1; padding: 3px 9px; border-radius: 7px; font-size: 0.74rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.02em; }
.badge--off { left: 10px; bottom: 10px; background: var(--red); color: #fff; font-size: 0.85rem; }
.badge--new { left: 10px; top: 10px; background: var(--green); color: #fff; text-transform: uppercase; }
.badge--sample { right: 10px; top: 10px; background: rgb(28 29 31 / 80%); color: #fff; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.66rem; }
.p-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 14px; flex: 1; }
.p-meta { color: var(--muted); font-size: 0.74rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-name { font-size: 0.95rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.p-unit { color: var(--muted); font-size: 0.8rem; }
.p-buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.p-prices { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.p-prices ins { text-decoration: none; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.p-prices:has(del) ins { color: var(--red); }
.p-prices del { color: var(--muted); font-size: 0.82rem; text-decoration-thickness: 1.5px; }
.p-instore { font-weight: 600; font-size: 0.82rem; color: var(--green-dark); line-height: 1.25; }
.total-more { margin: -4px 0 8px; text-align: right; font-size: 0.82rem; color: var(--muted); }
.p-until { margin-top: 6px; color: var(--green-dark); font-size: 0.76rem; font-weight: 600; }
@media (min-width: 720px) { .p-body { padding: 14px 16px 16px; } .p-name { font-size: 1rem; } .p-prices ins { font-size: 1.3rem; } }

.add-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; box-shadow: 0 4px 12px rgb(196 35 34 / 28%); transition: transform 0.15s ease, background-color 0.15s ease; -webkit-tap-highlight-color: transparent; }
.add-btn:hover { background: var(--red-strong); }
.add-btn:active { transform: scale(0.9); }
.add-btn .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.stepper { display: inline-flex; align-items: center; flex: none; border-radius: 999px; background: var(--red-soft); }
.step-btn { display: grid; place-items: center; width: 36px; height: 40px; border: 0; background: none; color: var(--red-strong); cursor: pointer; border-radius: 999px; }
.step-btn:hover { background: rgb(196 35 34 / 12%); }
.step-btn .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.step-qty { min-width: 18px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.p-card--skeleton { min-height: 280px; background: linear-gradient(100deg, #f1f1ef 30%, #fafaf9 50%, #f1f1ef 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; border: 0; }
@keyframes shimmer { to { background-position: -150% 0; } }

.more-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; margin-top: 28px; }
.empty-state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 40px 20px; border: 2px dashed var(--line); border-radius: var(--radius); font-weight: 600; }
.empty-state > .icon { width: 40px; height: 40px; color: var(--red); }

/* ── flyers + viewer ──────────────────────────────────────────────────────── */

.flyer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .flyer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .flyer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flyer-card { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; text-align: left; cursor: zoom-in; transition: box-shadow 0.2s ease; }
.flyer-card:hover { box-shadow: var(--shadow); }
.flyer-img { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--bg-alt); }
.flyer-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.flyer-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--ink); }
.flyer-meta { display: grid; gap: 2px; padding: 12px 14px; }
.flyer-title { font-weight: 600; }
.flyer-range { color: var(--green-dark); font-size: 0.8rem; font-weight: 600; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 56px 12px 72px; border: 0; background: rgb(15 15 16 / 96%); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(0 0 0 / 70%); }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 10px; max-height: 100%; }
.lb-figure img { max-width: min(100%, 900px); max-height: calc(100vh - 160px); width: auto; border-radius: 8px; background: #fff; }
.lb-figure figcaption { font-weight: 600; }
.lb-close { position: absolute; top: 10px; right: 10px; color: #fff; background: rgb(255 255 255 / 12%); }
.lb-close:hover { background: rgb(255 255 255 / 22%); }
.lightbox .slider-arrow { position: absolute; }
.lb-open { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; }

/* ── categories ───────────────────────────────────────────────────────────── */

.cats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.cat-card a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); color: #fff; text-decoration: none; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card a:hover img { transform: scale(1.05); }
.cat-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / 75%) 100%); }
.cat-label { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; line-height: 1.2; }
.cat-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: #fff; color: var(--red); }
.cat-icon .icon { width: 20px; height: 20px; }
.cat-deals { position: absolute; top: 8px; right: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 0.75rem; line-height: 1; box-shadow: 0 2px 10px rgb(0 0 0 / 25%); }
.cat-deals .icon { width: 1.05em; height: 1.05em; }
@media (min-width: 720px) { .cat-label { left: 14px; bottom: 14px; font-size: 1.02rem; } .cat-icon { width: 40px; height: 40px; } }

/* ── fruit & vegetables banner: photo with the text over a dark fade ─────── */

.produce { padding-block: 0 56px; }
@media (min-width: 960px) { .produce { padding-block: 0 84px; } }
.produce-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--dark); color: #fff; }
.produce-card picture, .produce-card img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.produce-card img { object-fit: cover; }
.produce-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 45%) 55%, rgb(0 0 0 / 85%) 100%); }
.produce-text { padding: 24px 22px; max-width: 540px; }
.produce-text h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.15; color: #fff; }
.produce-text p:not(.kicker) { margin: 0 0 20px; color: rgb(255 255 255 / 92%); }
@media (max-width: 419px) { .produce-card { aspect-ratio: 3 / 4; } .produce-text .btn { width: 100%; justify-content: center; } }
@media (min-width: 720px) {
  .produce-card { aspect-ratio: 20 / 7; align-items: center; }
  .produce-card::after { background: linear-gradient(90deg, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 50%) 38%, rgb(0 0 0 / 0%) 72%); }
  .produce-text { padding: 32px 48px; }
}
@media (min-width: 720px) and (max-width: 959px) { .produce-card { aspect-ratio: 16 / 8; } }

/* ── benefits strip (maxi's trust row) ────────────────────────────────────── */

.benefits { border-block: 1px solid var(--line); background: #fff; }
/* One row: every item gets an equal column with the icon above its text. Below 960 px the
   row keeps its width per item and scrolls sideways (scrollRow in js/site.js). */
.benefits-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 158px; gap: 8px; padding-block: 30px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.benefits-grid::-webkit-scrollbar { display: none; }
@media (max-width: 959px) { .benefits-grid { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }
@media (min-width: 960px) { .benefits-grid { grid-auto-columns: minmax(0, 1fr); gap: 16px; padding-block: 36px; } }
.benefit { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; scroll-snap-align: start; }
.benefit-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.benefit strong { display: block; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.benefit span span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

/* Rows that scroll sideways fade out at the edge that has more (scrollRow in js/site.js). */
.scroll-row.is-cut-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.scroll-row.is-cut-start { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.scroll-row.is-cut-start.is-cut-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }

/* ── about ────────────────────────────────────────────────────────────────── */

.about-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-panel { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.about-panel .logo { width: min(62%, 360px); height: auto; }
.about-body { display: grid; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.loyalty { display: flex; gap: 14px; margin-top: 20px; padding: 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.loyalty > .icon { width: 28px; height: 28px; color: var(--red); }
.loyalty-title { font-weight: 600; }
.loyalty p:last-child { color: var(--muted); font-size: 0.92rem; }
.about-text .text-link { margin-top: 14px; }
.values { margin-top: 44px; }
.values-title { font-size: 1.25rem; margin-bottom: 16px; }
.values-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.value-card { padding: 22px; border-radius: var(--radius); background: var(--red); color: #fff; }
.value-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--red-strong); font-weight: 700; margin-bottom: 12px; }
.value-card h4 { font-size: 1.05rem; font-weight: 600; }
.value-card p { margin-top: 6px; font-size: 0.92rem; font-weight: 500; color: #fff; }

/* ── delivery / order ─────────────────────────────────────────────────────── */

.order-card { display: grid; gap: 26px; background: var(--green); color: #fff; border-radius: calc(var(--radius) + 8px); padding: 30px 22px; }
.order-card .lead { color: #fff; }
.steps { display: grid; gap: 12px; margin-top: 20px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #fff; color: var(--green-dark); font-weight: 700; }
.order-side { display: grid; gap: 10px; align-content: start; }
.order-facts { display: grid; gap: 8px; margin: 0 0 6px; padding: 16px 18px; background: rgb(0 0 0 / 16%); border-radius: var(--radius-sm); }
.order-facts div { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.order-facts dt { color: #e3f3e7; }
.order-facts dd { margin: 0; font-weight: 600; }
@media (min-width: 900px) { .order-card { grid-template-columns: 3fr 2fr; gap: 48px; padding: 48px; } }

/* ── news ─────────────────────────────────────────────────────────────────── */

.news-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.news-card > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-icon { display: grid; place-items: center; aspect-ratio: 16 / 7; background: var(--red-soft); color: var(--red); }
.news-icon .icon { width: 40px; height: 40px; }
.news-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.news-body time { color: var(--green-dark); font-size: 0.8rem; font-weight: 600; }
.news-body p { color: var(--muted); font-size: 0.92rem; }

/* ── jobs + forms ─────────────────────────────────────────────────────────── */

.jobs-grid, .contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .jobs-grid, .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.job-list { display: grid; gap: 10px; margin-top: 20px; }
.job { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.job .icon { color: var(--red); margin-top: 2px; }
.job p { color: var(--muted); font-size: 0.9rem; }
.form-card { display: grid; gap: 14px; padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 600px) { .form-card { padding: 28px; } }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #d5d7da; border-radius: 12px; background: #fff; font-weight: 400; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(71 115 31 / 18%); }
.chips-field { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips-field label { position: relative; cursor: pointer; }
.chips-field input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-field span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid #d5d7da; font-weight: 600; font-size: 0.88rem; }
.chips-field input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips-field input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form-error { color: #a4241a; font-weight: 600; font-size: 0.9rem; }
.fine { color: var(--muted); font-size: 0.82rem; }

/* ── location (super-viva "Pikat tona") ───────────────────────────────────── */

.loc-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 5fr 7fr; gap: 24px; align-items: stretch; } }
/* The left column is as tall as the map: the address card takes up the slack. */
.loc-info { display: flex; flex-direction: column; gap: 12px; }
.loc-info .info-card--address { flex: 1; }
.info-card { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card--address { display: flex; gap: 16px; align-items: center; }
.info-card--link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.info-card--link:hover { border-color: var(--red); }
.info-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.info-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.info-value { display: block; font-size: 1.15rem; font-weight: 700; color: var(--red-strong); }
.info-title { font-size: 1rem; margin-bottom: 6px; }
.info-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.info-title-row .info-title { margin: 0; }
.info-card address { color: var(--muted); font-size: 0.95rem; }
.info-card address strong { color: var(--ink); }
.kosova { width: 108px; height: auto; flex: none; }
.kosova-land { fill: #e3e5e1; stroke: #fff; stroke-width: 2; }
.kosova-pin { fill: var(--red); }
.kosova-pulse { fill: var(--red); opacity: 0.25; transform-origin: 266.3px 305.4px; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.45; } 100% { transform: scale(1.8); opacity: 0; } }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-table th { font-weight: 500; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today th, .hours-table tr.is-today td { background: var(--green-50); font-weight: 700; color: var(--green-dark); }
.today-tag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 700; vertical-align: 1px; }
.loc-info .btn-row .btn { flex: 1 1 100%; } /* one per row, equal widths, labels never wrap */
.map-card { border-radius: var(--radius); overflow: hidden; background: #e7e9e6; border: 1px solid var(--line); height: clamp(300px, 80vw, 440px); }
@media (min-width: 900px) { .map-card { height: auto; min-height: 380px; } }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── contact ──────────────────────────────────────────────────────────────── */

.contact-cards { display: grid; gap: 10px; margin-top: 22px; }
.contact-card { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: var(--radius); background: var(--bg-alt); color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: border-color 0.15s ease; }
.contact-card:hover { border-color: var(--red); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--red); color: #fff; }
.contact-card--wa .contact-icon { background: var(--wa); color: var(--wa-ink); }
.contact-label { display: block; font-weight: 600; }
.contact-value { display: block; color: var(--muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.socials-block { margin-top: 28px; display: grid; gap: 12px; justify-items: start; }
.socials-title { font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-alt); color: var(--ink); transition: background-color 0.15s ease, color 0.15s ease; }
.social-btn:hover { background: var(--red); color: #fff; }

/* ── footer ───────────────────────────────────────────────────────────────── */

.site-footer { background: var(--dark-2); color: #cfd1d4; padding-top: 52px; font-size: 0.92rem; }
.site-footer a { color: #e8e9eb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 30px; }
/* auto-fit: columns that are hidden (e.g. hours, until they're known) leave no gap. */
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(170px, 1fr)); } }
.site-footer .logo { height: 76px; }
.footer-brand address { margin-top: 16px; color: #aeb1b5; }
.footer-title { font-weight: 600; color: #fff; margin-bottom: 12px; padding-bottom: 8px; position: relative; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--green); }
.footer-links { display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 34px; }
.footer-hours ul { display: grid; gap: 4px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 260px; font-variant-numeric: tabular-nums; }
.socials--footer { margin-top: 16px; }
.socials--footer .social-btn { background: rgb(255 255 255 / 8%); color: #fff; }
.socials--footer .social-btn:hover { background: var(--red); text-decoration: none; }
/* The divider spans the content width, not the side gutters. */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 28px; margin-top: 40px; padding-block: 18px; background: linear-gradient(rgb(255 255 255 / 10%), rgb(255 255 255 / 10%)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.82rem; color: #9da1a6; text-align: center; }
.owner-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding-inline: 8px; color: #c3c6ca; font-weight: 500; }
.owner-link .icon { width: 15px; height: 15px; }
.owner-link:hover { color: #fff; }

/* ── shopping list drawer ─────────────────────────────────────────────────── */

.drawer { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-height: none; max-width: none; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: -10px 0 40px rgb(0 0 0 / 18%); }
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in 0.5s var(--ease-out); }
.drawer::backdrop { background: rgb(0 0 0 / 45%); }
@keyframes drawer-in { from { transform: translateX(60px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.drawer-head h2 .icon { color: var(--red); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.list-items { display: grid; }
.list-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.li-name { font-weight: 600; line-height: 1.3; }
.li-meta { color: var(--muted); font-size: 0.82rem; }
.li-sum { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.list-empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 48px 10px; color: var(--muted); }
.list-empty > .icon { width: 46px; height: 46px; color: var(--line); stroke-width: 1.6; }
.drawer-foot { display: grid; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; max-height: 62dvh; overflow-y: auto; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.total-row strong { font-size: 1.4rem; color: var(--red-strong); font-variant-numeric: tabular-nums; }
.order-form { display: grid; gap: 10px; }
.drawer-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; }
.drawer-actions .btn { padding-inline: 8px; white-space: nowrap; }

/* ── phone bottom bar ─────────────────────────────────────────────────────── */

.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgb(0 0 0 / 6%); padding-bottom: env(safe-area-inset-bottom); }
.bb-item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; border: 0; background: none; color: var(--muted); font-size: 0.7rem; font-weight: 600; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bb-item .icon { width: 23px; height: 23px; }
.bb-item:hover, .bb-item:focus-visible { color: var(--ink); }
.bb-item--list { color: var(--red-strong); }
.bb-item--list .list-count { position: absolute; top: 6px; left: calc(50% + 6px); background: var(--red); color: #fff; }
.bb-item--wa { color: #0f7a40; }
@media (min-width: 960px) { .bottom-bar { display: none; } }

.toast { position: fixed; left: 50%; bottom: calc(var(--bottom-h) + 16px); z-index: 80; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow); transition: opacity 0.2s ease, translate 0.2s ease; }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ── catalogue page ───────────────────────────────────────────────────────── */

.page-head { padding-block: 26px 10px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .page-head { padding-block: 40px 22px; } }
.page-head h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 600; }
.page-head .lead { margin-bottom: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.toolbar { display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 720px) { .toolbar { grid-template-columns: 1fr auto auto; align-items: center; } }
.search-field { position: relative; display: block; }
.search-field .icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; min-height: 52px; padding: 10px 16px 10px 48px; border: 1.5px solid #d5d7da; border-radius: 999px; background: #fff; font-size: 1rem; }
.search-field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(71 115 31 / 18%); }
.select-field { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.select-field select { min-height: 46px; padding: 8px 12px; border: 1.5px solid #d5d7da; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 500; }
.toggle-field { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.toggle-field input { width: 22px; height: 22px; accent-color: var(--red); }
.result-count { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.section--tight .tabs { margin-inline: 0; }
@media (max-width: 719px) { .section--tight .tabs { margin-inline: calc(-1 * var(--gutter)); } }

/* ── motion ───────────────────────────────────────────────────────────────────
   js/motion.js adds .motion to <html> (never with reduced motion), marks things below the
   first screen .rv and adds .rv-in as they scroll into view. The hero slides get .is-active
   from home.js. Everything here is off with prefers-reduced-motion (the rule at the top). */

:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }

.motion .rv { opacity: 0; transform: translateY(32px) scale(0.98); }
.motion .rv.rv-in { opacity: 1; transform: none; transition: opacity 0.7s ease-out, transform 0.9s var(--ease-out); transition-delay: var(--rv-delay, 0ms); }
@media print { .motion .rv { opacity: 1; transform: none; } }

/* Hero: the shown photo zooms in slowly; a slide's text rises in line by line as it arrives. */
.slide-img { transition: transform 1.4s var(--ease-out); }
.motion .slide.is-active .slide-img { transform: scale(1.08); transition: transform 14s cubic-bezier(0.25, 0.1, 0.25, 1); }
.motion .slides.is-ready .slide:not(.is-active) .slide-content > * { opacity: 0; transform: translateY(26px); transition: opacity 0.3s ease, transform 0.3s ease; }
.motion .slides.is-ready .slide.is-active .slide-content > * { transition: opacity 0.8s ease-out, transform 1s var(--ease-out); transition-delay: 0.15s; }
.motion .slides.is-ready .slide.is-active .slide-content > :nth-child(2) { transition-delay: 0.27s; }
.motion .slides.is-ready .slide.is-active .slide-content > :nth-child(3) { transition-delay: 0.39s; }
.motion .slides.is-ready .slide.is-active .slide-content > :nth-child(n+4) { transition-delay: 0.51s; }

/* "Open now" breathes. */
.status-chip:not(.is-closed)::before { animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(71 115 31 / 45%); } 70%, 100% { box-shadow: 0 0 0 7px rgb(71 115 31 / 0%); } }

/* Cards lift, photos ease closer; red buttons catch a sweep of light; arrows nudge forward. */
.p-media { overflow: hidden; }
.p-media img { transition: transform 0.9s var(--ease-out); }
.cat-card img { transition: transform 1s var(--ease-out); }
.cat-icon { transition: transform 0.5s var(--ease-out); }
.btn .icon { transition: transform 0.35s var(--ease-out); }
@media (hover: hover) {
  .p-card { transition: box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
  .p-card:hover { transform: translateY(-5px); }
  .p-card:hover .p-media img { transform: scale(1.07); }
  .cat-card a:hover img { transform: scale(1.08); }
  .cat-card a:hover .cat-icon { transform: translateY(-3px) rotate(-6deg); }
  .btn:hover .icon:last-child:not(:first-child) { transform: translateX(4px); }
  .btn--red { position: relative; overflow: hidden; isolation: isolate; }
  .btn--red::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 30%) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.8s var(--ease-out); }
  .btn--red:hover::after { transform: translateX(120%); }
}

/* The produce banner's photo drifts slower than the page (where the browser supports it). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .produce-card img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes drift { from { transform: translateY(-7%) scale(1.16); } to { transform: translateY(7%) scale(1.16); } }
  }
}

/* A product's photo flying into the list (js/motion.js). */
.fly-ghost { position: fixed; z-index: 90; margin: 0; object-fit: cover; pointer-events: none; box-shadow: 0 12px 30px rgb(0 0 0 / 25%); will-change: transform; }

/* The list drawer's backdrop fades in (the drawer's own glide is with the drawer styles). */
.drawer[open]::backdrop { animation: backdrop-in 0.4s ease-out; }
@keyframes backdrop-in { from { opacity: 0; } }

/* View transitions. Going between the home page and the catalogue, the page fades and rises
   while the header and bottom bar stay put. When a filter changes (js/motion.js adds .vt-filter),
   only the product cards move and the rest switches at once. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
.bottom-bar { view-transition-name: bottom-bar; }
.list-bar { view-transition-name: list-bar; }
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: var(--ease-out); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: 0.35s; }
::view-transition-old(root) { animation: page-out 0.25s ease both; }
::view-transition-new(root) { animation: page-in 0.5s var(--ease-out) both; }
html.vt-filter::view-transition-old(root), html.vt-filter::view-transition-new(root) { animation: none; }
@keyframes page-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(18px); } }

/* Icons draw themselves in as their card rises into view (stroke icons only). */
.motion .rv :is(.cat-icon, .benefit-icon) .icon, .motion .rv:is(.contact-card, .info-card) .icon { stroke-dasharray: 160; stroke-dashoffset: 160; }
.motion .rv.rv-in :is(.cat-icon, .benefit-icon) .icon, .motion .rv.rv-in:is(.contact-card, .info-card) .icon {
  stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(0.45, 0, 0.25, 1) calc(var(--rv-delay, 0ms) + 200ms);
}

/* ── logo intro (js/intro.js adds .intro to <html> on the first visit only) ── */

.intro body::before, .intro body::after { content: ""; position: fixed; pointer-events: none; }
.intro body::before { inset: 0; z-index: 200; background: #fff; animation: intro-out 0.6s 1.15s var(--ease-out) forwards; }
.intro body::after {
  left: 50%; top: 50%; z-index: 201; width: min(62vw, 300px); aspect-ratio: 1160 / 658; translate: -50% -50%;
  background: url("../img/logo.svg") center / contain no-repeat;
  animation: intro-logo 1.1s var(--ease-out) both, intro-logo-out 0.55s 1.15s ease forwards;
}
@keyframes intro-logo { from { clip-path: inset(0 100% 0 0); transform: scale(0.92); } 70% { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes intro-logo-out { to { opacity: 0; transform: scale(1.06); visibility: hidden; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro body::before, .intro body::after { display: none; } }

/* ── list bar: count, total and "send" once the list has something ─────────── */

/* "Your order K7XA · Track it": under the header while an order is under way (js/site.js). */
.order-pill { display: block; background: var(--green); color: #fff; font-size: 0.9rem; text-decoration: none; }
.order-pill:hover { background: var(--green-dark); }
.order-pill[hidden] { display: none; }
.order-pill-inner { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.order-pill-inner .icon { width: 18px; height: 18px; flex: none; }
.order-pill strong { margin-left: auto; }

.list-bar { position: fixed; left: 50%; bottom: calc(var(--bottom-h) + 12px); z-index: 60; width: min(560px, calc(100% - 2 * var(--gutter))); translate: -50% 0; animation: bar-in 0.55s var(--ease-out); }
@keyframes bar-in { from { translate: -50% 140%; opacity: 0; } }
.list-bar-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 8px 8px 8px 10px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 12px 34px rgb(0 0 0 / 28%); }
.list-bar-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgb(255 255 255 / 12%); }
.list-bar-icon .icon { width: 21px; height: 21px; }
.list-bar-sum { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.list-bar-sum strong { font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.list-bar-sum span { color: rgb(255 255 255 / 72%); font-size: 0.78rem; }
.list-bar-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-left: auto; padding: 0 18px; border-radius: 999px; background: var(--red); font-weight: 600; font-size: 0.92rem; white-space: nowrap; transition: background-color 0.2s ease; }
.list-bar-btn:hover .list-bar-cta { background: var(--red-strong); }
.list-bar-cta .icon { width: 18px; height: 18px; }
@media (max-width: 419px) { .list-bar-icon { display: none; } .list-bar-btn { padding-left: 20px; } }
@media (max-width: 359px) { .list-bar-cta .icon { display: none; } .list-bar-cta { padding: 0 14px; } }
body.has-list-bar { padding-bottom: calc(var(--bottom-h) + 86px); }
body.has-list-bar .toast { bottom: calc(var(--bottom-h) + 90px); }

/* ── product cards open a quick view: the name's button covers the card ───── */

.p-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.p-open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-open:focus-visible { outline: none; }
.p-card:has(.p-open:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.p-cart { position: relative; z-index: 2; }

.quick, .search-sheet { padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / 30%); }
.quick::backdrop, .search-sheet::backdrop { background: rgb(18 18 20 / 55%); backdrop-filter: blur(3px); }
.quick[open]::backdrop, .search-sheet[open]::backdrop { animation: backdrop-in 0.35s ease-out; }
.sheet-close { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.sheet-close:hover { background: #fff; }

/* Phones: a sheet from the bottom. Larger screens: a centred card, photo beside the details. */
.quick { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; overflow: auto; overscroll-behavior: contain; }
.quick[open] { display: flex; flex-direction: column; animation: sheet-up 0.5s var(--ease-out); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.quick-media { position: relative; flex: none; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.quick-media img { width: 100%; height: 100%; object-fit: cover; }
.quick .badge--sample { top: 22px; right: 68px; } /* beside the close button */
.quick-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px calc(26px + env(safe-area-inset-bottom)); }
.quick-name { font-size: clamp(1.7rem, 6vw, 2.3rem); }
.quick-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.quick .p-prices ins { font-size: 1.9rem; }
.quick .p-prices del { font-size: 0.95rem; }
@media (min-width: 760px) {
  .quick { width: min(900px, calc(100% - 48px)); max-height: calc(100dvh - 48px); margin: auto; border-radius: 26px; }
  .quick[open] { display: grid; grid-template-columns: 1.15fr 1fr; animation: sheet-in 0.45s var(--ease-out); }
  .quick-media { aspect-ratio: auto; min-height: 440px; }
  .quick-body { justify-content: center; padding: 40px 36px; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(26px) scale(0.97); } }

/* ── live search (the header's search button) ─────────────────────────────── */

.search-sheet { width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: 12px auto auto; border-radius: 22px; overflow: auto; overscroll-behavior: contain; }
.search-sheet[open] { animation: search-in 0.4s var(--ease-out); }
@keyframes search-in { from { opacity: 0; transform: translateY(-18px); } }
.search-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.search-bar > .icon { flex: none; color: var(--muted); }
.search-input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.05rem; }
.search-input:focus { outline: none; }
.search-sheet .sheet-close { position: static; background: var(--bg-alt); box-shadow: none; }
.search-results { padding: 8px 10px 14px; }
.search-note { padding: 18px 10px; color: var(--muted); }
.search-list { margin: 0; padding: 0; list-style: none; }
.search-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; animation: rise-in 0.4s var(--ease-out) both; }
.search-item:nth-child(2) { animation-delay: 40ms; }
.search-item:nth-child(3) { animation-delay: 80ms; }
.search-item:nth-child(4) { animation-delay: 120ms; }
.search-item:nth-child(n+5) { animation-delay: 160ms; }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }
.search-item:hover { background: var(--bg-alt); }
.search-thumb { flex: none; width: 64px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.search-name { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.search-name:hover { color: var(--red-strong); text-decoration: underline; }
.search-price { color: var(--muted); font-size: 0.85rem; }
.search-all { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 6px; border-radius: 999px; background: var(--bg-alt); color: var(--ink); font-weight: 600; text-decoration: none; }
.search-all:hover { background: var(--red-soft); color: var(--red-strong); }
