/* ===== styles.css (from the approved prototype) ===== */
/* Vaša bašta – homepage concept */

/* ---------- Fonts (self-hosted: Latin + only the Serbian letters from Latin Extended) ---------- */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-tight-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-tight-normal-sr.woff2) format("woff2"); unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-normal-sr.woff2) format("woff2"); unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-sr.woff2) format("woff2"); unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }

:root {
  --paper: #f6f1e7;
  --paper-2: #efe8da;
  --card: #fbf8f2;
  --ink: #17160f;
  --ink-2: #57534a;
  --ink-3: #68655c;   /* 4.5:1 on every paper and tint background (was #8a857a) */
  --line: rgba(23, 22, 15, .12);
  --green: #1d4a2c;
  --green-2: #2b6a3d;
  --leaf: #8cc63f;
  --rasp: #c8193f;
  --rasp-2: #a3122f;
  --rasp-soft: #f6dce1;

  --t-frozen: #e3ebee;
  --t-wild: #e9e4ef;
  --t-fresh: #e7efdf;
  --t-dairy: #f3eee2;
  --t-flour: #f1e7d3;
  --t-shroom: #ebe3d8;
  --t-juice: #f5e1e3;
  --t-veg: #ece8d9;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(23, 22, 15, .06), 0 8px 24px -8px rgba(23, 22, 15, .14);
  --shadow-lg: 0 30px 80px -20px rgba(23, 22, 15, .35);
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overscroll-behavior-y: none; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr, 72px) + 18px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--rasp); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-2); margin: 0 0 18px;
}
.eyebrow--light { color: var(--leaf); }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px); line-height: .98; letter-spacing: -.015em;
  margin: 0;
}
.h2 em { color: var(--rasp); }
.h2--light { color: #fff; }
.h2--light em { color: var(--leaf); }
.h2__count { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; vertical-align: super; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 44px);
}
/* two even lines, like the ones with a <br>; one fixed width for all, so asides of sections one under another
   start at the same left edge (a balanced box would otherwise keep its unused width on the right) */
.section-head__aside { flex: 0 1 290px; max-width: 100%; margin: 0; color: var(--ink-2); font-size: 15px; text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); box-shadow: 0 10px 26px -10px rgba(29, 74, 44, .7); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { background: var(--card); border-color: var(--ink-3); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--leaf); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--block { width: 100%; }
.btn__price { padding: 4px 10px; background: rgba(255, 255, 255, .14); border-radius: 999px; font-weight: 500; font-size: 14px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  font-size: 22px; line-height: 1; transition: background .2s, transform .2s var(--ease), color .2s;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn--rasp { background: var(--rasp); border-color: var(--rasp); color: #fff; }
.icon-btn--rasp:hover { background: var(--rasp-2); }
/* + drawn as two bars: the typed glyph never sat in the middle of the circle */
.icon-btn--plus { position: relative; font-size: 0; }
.icon-btn--plus::before, .icon-btn--plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; }
.icon-btn--plus::after { transform: rotate(90deg); }

.link-arrow { display: inline-flex; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Utility bar ---------- */
.utility { position: relative; z-index: 31; background: var(--green); color: rgba(255, 255, 255, .86); font-size: 13px; } /* above the mega-menu scrim (z 30) */
.utility__in { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.utility__msg { margin: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sm { display: none; }
.utility__msg strong { color: #fff; font-weight: 600; }
.utility__msg--hide-sm { opacity: .8; display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* one more pickup place must not push the phone off screen */
/* both lines only fit from about 900 px up; below that the pickup places live in the menu and on Kako kupiti */
@media (max-width: 980px) { .utility__msg--hide-sm { display: none; } }
.utility__phone { margin-left: auto; color: #fff; font-weight: 600; text-decoration: none; }
.utility__acct { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #fff; text-decoration: none; opacity: .9; }
.utility__acct:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.utility__acct svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.utility__acct + .utility__phone { margin-left: 0; }
.utility__phone { white-space: nowrap; }
@media (max-width: 380px) { .utility__acct-label { display: none; } }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(140, 198, 63, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(140, 198, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, 0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(23, 22, 15, .22); }
.header__in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--green); flex: none; }
.logo__mark { width: 34px; height: 34px; }
.logo__word { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.logo__word em { color: var(--green-2); }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }

.search { position: relative; flex: 1; min-width: 180px; max-width: 440px; margin-left: auto; } /* shrinks first, so a longer menu label never pushes the cart out */
.search__icon { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink-3); stroke-width: 2; pointer-events: none; }
.search__input {
  width: 100%; height: 46px; padding: 0 44px 0 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 500 15px var(--sans); transition: border-color .2s, box-shadow .2s, background .2s;
}
.search__input::placeholder { color: var(--ink-3); }
.search__input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .12); background: #fff; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font: 600 12px var(--sans); color: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px;
}
.search__results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 6px; max-height: min(70vh, 480px); overflow: auto;
}
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; cursor: pointer; }
.sr-item[aria-selected="true"], .sr-item:hover { background: var(--paper); }
.sr-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: var(--paper-2); mix-blend-mode: multiply; }
.sr-item__txt { flex: 1; min-width: 0; }
.sr-item__name { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.sr-item__name mark { background: var(--rasp-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-item__meta { font-size: 13px; color: var(--ink-3); }
.sr-empty { padding: 16px; color: var(--ink-2); font-size: 14.5px; }
.sr-all { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 0; border-top: 1px solid var(--line); background: none; font-weight: 600; font-size: 14px; color: var(--green-2); border-radius: 0 0 12px 12px; }

.mode {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 999px; background: var(--paper-2); flex: none; isolation: isolate;
}
.mode__opt { position: relative; z-index: 1; border: 0; background: none; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: color .25s; white-space: nowrap; }
.mode__opt[aria-checked="true"] { color: #fff; }
.mode__pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--green); transition: transform .35s var(--ease);
}
.mode[data-state="preuzimanje"] .mode__pill { transform: translateX(100%); }
.mode--wide { display: grid; width: 100%; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; flex: none;
  transition: transform .25s var(--ease), background .2s;
}
.cart-btn:hover { background: #000; }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-btn__count {
  position: absolute; top: -4px; left: 26px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px; background: var(--rasp); color: #fff; font-size: 11.5px; font-weight: 700;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-btn.has-items .cart-btn__count { transform: scale(1); }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.1); } }

/* ---------- Menu (tablet + phone) ---------- */
.search-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.search-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-toggle {
  display: none; place-content: center; gap: 5px; width: 46px; height: 46px; flex: none;
  border-radius: 50%; border: 1px solid var(--line); background: var(--card);
}
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.site-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 39;
  max-height: calc(100vh - var(--hdr, 72px)); overflow: auto;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(23, 22, 15, .35);
  animation: menuIn .35s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }
.site-menu[style*="top"] { position: fixed; bottom: 0; max-height: none; }
.site-menu.is-closing { animation: menuOut .26s cubic-bezier(.4, 0, .2, 1) forwards; pointer-events: none; }
@keyframes menuOut { to { opacity: 0; transform: translateY(-10px); } }
html.menu-lock { overflow: hidden; }
.site-menu__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 64px; padding-block: 32px 40px; }
.site-menu__main { display: flex; flex-direction: column; }
.site-menu__main a {
  padding: 8px 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.05;
  text-decoration: none; border-bottom: 1px solid var(--line); transition: color .2s, padding-left .3s var(--ease);
}
.site-menu__main a:hover { color: var(--rasp); padding-left: 8px; }
/* promoted products, drawn like cart rows */
.site-menu__picks { list-style: none; margin: 0 0 16px; padding: 0; }
.site-menu__picks .ci { grid-template-columns: 52px 1fr auto; padding: 8px 0; animation: none; }
.site-menu__picks .ci img { width: 52px; height: 52px; border-radius: 10px; }
.site-menu__picks .ci:last-child { border-bottom: 0; }
.site-menu__picks .add { padding: 8px 14px; font-size: 13.5px; }
.site-menu__mode { position: sticky; bottom: 0; margin-top: 14px; padding: 12px 0 max(4px, env(safe-area-inset-bottom)); background: var(--paper); }
.site-menu__mode .mode__opt { padding: 11px 14px; font-size: 14.5px; }
/* phone: a card to tap, the number set large */
.site-menu__call {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 12px 12px 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; box-shadow: 0 10px 24px -18px rgba(23, 22, 15, .35); transition: border-color .2s, transform .2s var(--ease);
}
.site-menu__call:hover { border-color: var(--green); }
.site-menu__call:active { transform: scale(.98); }
.site-menu__call-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; }
.site-menu__call-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.site-menu__call-txt { display: grid; gap: 1px; min-width: 0; }
.site-menu__call-txt small { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); }
.site-menu__call-txt strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
.site-menu__call-go { padding: 9px 14px; border-radius: 999px; background: var(--rasp); color: #fff; font-size: 13.5px; font-weight: 600; }

/* ---------- Mega menu (desktop) ---------- */
.nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .3s var(--ease), opacity .2s; }
.nav__link[aria-expanded="true"] { background: var(--paper-2); color: var(--ink); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); opacity: 1; }
.nav__link[aria-current="page"] { color: var(--ink); }
.header.has-mega { background: var(--paper); border-bottom-color: var(--line); }

.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 39; }
.mega__panel {
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(23, 22, 15, .35);
  max-height: calc(100vh - var(--hdr, 72px)); overflow: auto;
}
.mega__panel.is-in { animation: megaIn .38s var(--ease); }
.mega__panel.is-in .mega__grid > * { animation: megaItem .5s var(--ease) both; }
.mega__panel.is-in .mega__grid > :nth-child(2) { animation-delay: .04s; }
.mega__panel.is-in .mega__grid > :nth-child(3) { animation-delay: .08s; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes megaItem { from { opacity: 0; transform: translateY(10px); } }
.mega-scrim {
  position: fixed; inset: 0; z-index: 30; background: rgba(23, 22, 15, .32);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mega-scrim.is-on { opacity: 1; visibility: visible; }

.mega__grid { display: grid; gap: 40px; padding-block: 32px 40px; align-items: start; }
.mega__grid--shop { grid-template-columns: 290px minmax(0, 1fr) 250px; }
.mega__grid--shop.mega__grid--nopromo { grid-template-columns: 290px minmax(0, 1fr); }
.mega__grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.mega__grid--blog { grid-template-columns: 300px minmax(0, 1fr); }
.mega__grid--b2b { grid-template-columns: 1.1fr .9fr 1fr; align-items: stretch; }
.mega .eyebrow { margin-bottom: 14px; }
.marrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .3s var(--ease); }

/* shop: categories */
.mcats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mcat {
  display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 14px;
  text-decoration: none; transition: background .2s;
}
.mcat__img { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--tint); overflow: hidden; }
.mcat__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.mcat__txt { flex: 1; display: grid; line-height: 1.2; }
.mcat__txt strong { font-size: 15px; font-weight: 600; }
.mcat__txt small { font-size: 12.5px; color: var(--ink-3); }
.mcat .marrow { opacity: 0; transform: translateX(-6px); color: var(--rasp); }
.mcat:hover, .mcat.is-active { background: var(--card); }
.mcat.is-active .marrow, .mcat:hover .marrow { opacity: 1; transform: none; }
.mcat.is-active .mcat__txt strong { color: var(--rasp-2); }

/* shop: preview */
.mprev { min-height: 300px; padding-left: 40px; border-left: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; }

/* shop: next delivery, a quiet strip at the bottom of the column, level with the end of the category list */
.mprev__body { flex: none; }
.mship {
  display: flex; align-items: center; gap: 16px; margin-top: auto; padding: 16px 22px 16px 16px;
  border-radius: 20px; background: #eef4e8; border: 1px solid #dde9d3; color: var(--ink); text-decoration: none; transition: background .25s, border-color .25s;
}
.mprev__body { margin-bottom: 24px; } /* the strip sits at the bottom (margin-top: auto), never closer than this */
.mship:hover { background: #e6f0de; border-color: #cfe0c2; }
.mship__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; }
.mship__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mship__when { display: grid; gap: 1px; min-width: 0; }
.mship__when small { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.mship__when strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; white-space: nowrap; }
.mship__note { margin-left: auto; font-size: 13.5px; color: var(--ink-2); text-align: right; }
.mship .marrow { flex: none; color: var(--green-2); }
.mship:hover .marrow { transform: translateX(3px); }
.mprev__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mprev__head h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -.01em; }
.mlink { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--green-2); text-decoration: none; white-space: nowrap; }
.mlink:hover .marrow { transform: translateX(3px); }
.mprev__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; animation: megaItem .35s var(--ease) both; }
.mprod { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.mprod > [data-ctrl] { margin-top: auto; }
.mprod__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mprod__img { display: block; aspect-ratio: 1; border-radius: 16px; background: var(--tint); overflow: hidden; margin-bottom: 4px; }
.mprod__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; transition: transform .5s var(--ease); }
.mprod__img.is-photo img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.mprod:hover .mprod__img img { transform: scale(1.06); }
.mprod__name { font-size: 14px; font-weight: 600; line-height: 1.25; text-decoration: none; }
.mprod__name:hover { color: var(--rasp); }
.mprod__meta { font-size: 12.5px; color: var(--ink-3); margin-bottom: 4px; }
.mprod .add, .mprod .stepper { height: 36px; font-size: 13px; }
.mprod .add { padding: 0 14px; align-self: flex-start; }
.mprod .stepper button { width: 32px; font-size: 16px; }
.mprod.is-out .mprod__img img { filter: grayscale(.7); opacity: .55; }

/* shop: promo */
.mpromo {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 22px;
  background: var(--rasp); color: #fff; text-decoration: none; overflow: hidden; min-height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.mpromo:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -20px rgba(163, 18, 47, .7); }
.mpromo__img { display: block; border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 8px; transform: rotate(-2deg); }
.mpromo__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mpromo__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffe4ea; }
.mpromo__title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.mpromo__txt { font-size: 13.5px; opacity: .9; line-height: 1.4; }
.mpromo__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; font-weight: 700; }
.mpromo__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.mpromo:hover .marrow { transform: translateX(3px); }

/* "Javi mi": the little window for an address on a product that is out of stock (inc/notify.php) */
.nmod {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gut);
  background: rgba(23, 22, 15, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .22s var(--ease);
}
.nmod.is-on { opacity: 1; }
.nmod__card {
  position: relative; width: min(100%, 440px); max-height: 92vh; overflow-y: auto;
  padding: clamp(24px, 4vw, 34px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(23, 22, 15, .6);
  transform: translateY(10px) scale(.98); transition: transform .28s var(--ease);
}
.nmod.is-on .nmod__card { transform: none; }
.nmod__x {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px;
  padding: 0; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s;
}
.nmod__x:hover { background: var(--ink); color: #fff; }
.nmod__x svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nmod__title { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 38px); line-height: 1.02; }
.nmod__title em { color: var(--rasp); }
.nmod__sub { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.nmod__sub strong { color: var(--ink); }
.nmod__form label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 600; }
.nmod__form input[type="email"] {
  width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); font: 500 16px var(--sans); transition: border-color .2s, box-shadow .2s;
}
.nmod__form input[type="email"]:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .14); }
.nmod__captcha { margin: 14px 0 0; min-height: 65px; }
.nmod__err { margin: 12px 0 0; padding: 11px 14px; border-radius: 14px; background: #fdf1f3; border: 1px solid #f1c3cc; font-size: 14px; color: var(--ink); }
.nmod .nmod__go { width: 100%; margin-top: 16px; }
.nmod__done { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #e9f1e2; }
.nmod__done p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.nmod__tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; }
.nmod__fine { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .nmod, .nmod__card { transition: none; } }

/* more than one banner: a slider with dots under it */
.mpromos { display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.mpromos__view { flex: 1; min-height: 0; overflow: hidden; border-radius: 22px; display: flex; }
.mpromos__track { display: flex; flex: 1; min-width: 0; transition: transform .55s var(--ease); will-change: transform; } /* flex, not height:100%, so the cards really fill the frame; min-width keeps it as wide as the frame */
.mpromos__track > .mpromo { flex: 0 0 100%; min-height: 0; border-radius: 0; }
.mpromos__track > .mpromo:hover { transform: none; box-shadow: none; } /* the card fills the frame, so it cannot lift */
.mpromos__dots { display: flex; justify-content: center; gap: 8px; }
.mpromos__dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--line); transition: background .25s, transform .25s var(--ease);
}
.mpromos__dot:hover { background: var(--ink-3); }
.mpromos__dot[aria-current="true"] { background: var(--rasp); transform: scale(1.25); }
.mpromos__dot:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .mpromos__track { transition: none; } }

/* delivery */
.mnext { padding: 24px; border-radius: 22px; background: var(--green); color: #fff; }
.mnext__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.mnext__date { margin: 0 0 18px; font-family: var(--serif); font-size: 44px; line-height: 1; text-transform: capitalize; }
.mticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.mticks li { display: flex; gap: 10px; }
.mticks li::before { content: "✓"; color: var(--leaf); font-weight: 700; }
.mnext .mticks { color: rgba(255, 255, 255, .85); }
.mticks--lg { gap: 0; font-size: 15.5px; align-self: center; }
.mticks--lg li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mticks--lg li::before { color: var(--green-2); }
.mcol h3 { margin: 4px 0 6px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.mcol__sub { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; }
.mplaces { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mplaces li { display: grid; gap: 1px; padding-left: 14px; border-left: 2px solid var(--rasp); font-size: 14px; }
.mplaces strong { font-weight: 600; }
.mplaces span { color: var(--ink-3); font-size: 13.5px; }
.msteps { margin: 12px 0 20px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.msteps li { counter-increment: s; display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.msteps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--rasp); flex: none; }
.mcol__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mcol__cta .btn { min-height: 46px; padding: 0 20px; font-size: 14.5px; }
.mphone { font-weight: 700; text-decoration: none; }
.mphone:hover { color: var(--rasp); }

/* blog */
.mtopics { display: flex; flex-direction: column; }
.mtopic {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 28px; line-height: 1.1;
  transition: color .2s, padding-left .3s var(--ease);
}
.mtopic small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.mtopic:hover { color: var(--rasp); padding-left: 6px; }
.mposts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mpost { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.mpost__img { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--paper-2); margin-bottom: 4px; }
.mpost__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mpost:hover .mpost__img img { transform: scale(1.05); }
.mpost__kind { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.mpost strong { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.1; }
.mpost:hover strong { color: var(--rasp); }

/* b2b */
.mb2b__title { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1; letter-spacing: -.01em; }
.mb2b__title em { color: var(--rasp); }
.mb2b p { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; max-width: 420px; }
.mimg { position: relative; display: block; border-radius: 22px; overflow: hidden; min-height: 220px; text-decoration: none; }
.mimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mimg:hover img { transform: scale(1.05); }
.mimg span {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 13.5px; font-weight: 600;
}

@media (max-width: 1320px) {
  .mega__grid--shop { grid-template-columns: 260px minmax(0, 1fr); }
  .mpromo { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow-x: clip; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--serif); font-weight: 400; margin: 0 0 26px;
  font-size: clamp(50px, 7.2vw, 112px); line-height: .9; letter-spacing: -.025em;
}
.hero__title em { color: var(--rasp); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
/* Entrance: pure CSS, starts with the first paint (no JS). Title and main photo are never hidden:
   they are what Google measures as the largest element (LCP), so they only rise / open a little. */
.hero__title .line > span { display: inline-block; animation: heroLine 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes heroLine { from { transform: translateY(38%); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hero *, .hero *::before { animation: none !important; } }
.hero__copy > :not(.hero__title), .hero__perks li { animation: heroUp .9s var(--ease) both; animation-delay: .25s; }
.hero__copy > .hero__lead { animation-name: heroRise; animation-delay: .18s; } /* phones measure this paragraph as the largest element (LCP): it rises, never see-through */
@keyframes heroRise { from { transform: translateY(14px); } }
.hero__copy > .hero__cta { animation-delay: .28s; }
.hero__copy > .hero__facts { animation-delay: .36s; }
.hero__perks li:nth-child(1) { animation-delay: .44s; }
.hero__perks li:nth-child(2) { animation-delay: .52s; }
.hero__perks li:nth-child(3) { animation-delay: .6s; }
.hero__lead { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink-2); max-width: 520px; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__facts { display: flex; gap: clamp(20px, 3.5vw, 44px); list-style: none; padding: 22px 0 0; margin: 0; border-top: 1px solid var(--line); }
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 38px); line-height: 1; }
.hero__facts span { font-size: 13.5px; color: var(--ink-3); }

.hero__visual { position: relative; aspect-ratio: 1 / 1.08; }
.hero__img { position: absolute; margin: 0; overflow: hidden; background: var(--paper-2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 1.8s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.1); } }
.hero__img--main {
  inset: 0 0 8% 12%; border-radius: 999px 999px var(--r-lg) var(--r-lg);
  clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); animation: heroOpen 1.3s var(--ease) both;
}
@keyframes heroOpen { from { clip-path: inset(22% 0 0 0 round 999px 999px 28px 28px); } }
.hero__img--side {
  left: 0; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: var(--r-lg); border: 6px solid var(--paper);
  animation: heroUp 1.1s .5s var(--ease) both;
}

.badge-spin { position: absolute; top: 4%; left: 0; width: clamp(96px, 10vw, 128px); aspect-ratio: 1; }
.badge-spin svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-spin text { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; fill: var(--ink); }
.badge-spin__core { position: absolute; inset: 28%; display: grid; place-items: center; border-radius: 50%; background: var(--green); }
.badge-spin__core svg { width: 62%; height: 62%; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; right: -4px; bottom: 14%; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
  animation: heroUp 1s var(--d, .9s) var(--ease) both;
}
.float-card img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--tint, var(--t-frozen)); mix-blend-mode: multiply; }
.float-card__link { display: block; flex: none; border-radius: 12px; }
.float-card__name a { color: inherit; text-decoration: none; }
.float-card__name a:hover { color: var(--green); }
/* where a product tag sits on the hero images (block setting) */
.float-card--br { right: -4px; bottom: 14%; }
/* bottom, a little left of the arch photo's middle (the photo spans 12–100 % of the visual) */
.float-card--bc { right: auto; left: 52%; bottom: 14%; translate: -50% 0; width: max-content; max-width: calc(100% - 16px); }
.float-card--tr { right: -4px; bottom: auto; top: 10%; }
.float-card--tl { right: auto; left: 4%; bottom: auto; top: 30%; }
.float-card--ml { right: auto; left: -4px; bottom: auto; top: 50%; }
.float-card--bl { right: auto; left: -4px; bottom: 30%; }
.hero--single .hero__img--main { inset: 0 0 0 6%; }
.hero--single .float-card--bl { bottom: 6%; }
.float-card__name { margin: 0; font-weight: 600; font-size: 14.5px; }
.float-card__meta { margin: 0; font-size: 13px; color: var(--ink-3); }

.hero__perks { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; max-width: 520px; }
.hero__perks li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.perk__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--paper-2); }
.perk__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero__perks strong { display: block; font-size: 15.5px; font-weight: 600; }
.hero__perks div span { display: block; font-size: 14px; color: var(--ink-2); }

/* Desktop: the visual is sized to the screen, centred in its column and sticks while the copy scrolls */
@media (min-width: 1025px) {
  .hero__in { align-items: start; }
  .hero__visual {
    /* fits the first screen under utility bar + header; then sticks, centred between header and bottom */
    --hv: min(660px, calc(100vh - var(--hdr, 72px) - 150px));
    position: sticky; top: calc(var(--hdr, 72px) + (100vh - var(--hdr, 72px) - var(--hv)) / 2);
    height: var(--hv); width: auto; max-width: 100%; aspect-ratio: 1 / 1.08; justify-self: center;
  }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--paper); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); line-height: 1; white-space: nowrap; }
.marquee span:nth-of-type(odd) { font-style: italic; color: var(--green-2); }
.marquee i { font-style: normal; color: var(--rasp); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categories ---------- */
.cats { padding: clamp(56px, 8vw, 110px) 0 clamp(24px, 4vw, 48px); }
.cats__rail {
  display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 12px;
}
/* 4–5 cards fill the row: lower images keep the cards from getting too tall */
.cats__rail--few .cat img { aspect-ratio: 4 / 3; }
/* 9–12 cards (or too many for a tablet row): a slider, the next card peeks in on the right */
.cats__rail--slider {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  /* room inside the scroll box for the hover lift and shadow (a scroller clips everything outside it, and
     overflow-x: auto would otherwise let the rail scroll up and down by those few pixels) */
  padding: 8px min(18px, var(--gut)) 30px; margin: -8px calc(-1 * min(18px, var(--gut))) -30px; scroll-padding-inline: min(18px, var(--gut));
  /* no scroll-behavior: smooth here: with snap, Chrome glides the rail into place on load, counts that as a scroll
     and stops measuring LCP for the whole page (the arrows ask for smooth scrolling in JS) */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent);
}
.cats__rail--slider::-webkit-scrollbar { display: none; }
.cats__rail--slider.is-end { -webkit-mask-image: none; mask-image: none; }
/* scrolled away from the start: the card leaving on the left fades too, instead of a hard cut */
.cats__rail--slider:not(.is-start), .cats__rail--slider.is-end:not(.is-start) {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 64px), transparent);
}
.cats__rail--slider.is-end:not(.is-start) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.cats__rail--slider .cat { flex: 0 0 calc((100% - 7 * 12px) / 7.5); scroll-snap-align: start; }
.cats__aside { display: flex; align-items: flex-end; gap: 24px; }
.rail-foot { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.rail-foot[hidden] { display: none; }
.rail-bar { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.rail-bar span { position: absolute; top: 0; bottom: 0; left: calc(var(--x, 0) * 100%); width: calc(var(--w, 1) * 100%); border-radius: 2px; background: var(--ink); transition: left .25s var(--ease); }
.rail-nav { display: flex; gap: 8px; flex: none; }
.rail-nav__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: background .2s, border-color .2s, opacity .2s;
}
.rail-nav__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-nav__btn:hover:not(:disabled) { background: #fff; border-color: var(--ink-3); }
.rail-nav__btn:disabled { opacity: .35; cursor: default; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 190px; padding: 14px; border-radius: var(--r); border: 1px solid transparent;
  background: var(--tint, var(--card)); text-align: left; overflow: hidden;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat.is-active { border-color: var(--ink); }
.cat img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.cat:hover img { transform: scale(1.06) rotate(-2deg); }
.cat__name { font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.cat__count { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Shop ---------- */
.shop { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); }
.toolbar {
  position: sticky; top: var(--hdr, 72px); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px;
  margin: 0 calc(var(--gut) * -1) 24px; padding: 12px var(--gut);
  background: var(--paper);
}
.chips {
  position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 40px 2px 2px; margin: -2px; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { font-size: 12px; opacity: .6; }
.toolbar__right { display: flex; align-items: center; gap: 16px; flex: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__ui { width: 38px; height: 22px; border-radius: 999px; background: var(--ink-3); position: relative; transition: background .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--green-2); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--rasp); outline-offset: 2px; }
.select select {
  height: 40px; padding: 0 36px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font: 500 14px var(--sans); color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2317160f' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.active-query { margin: -8px 0 20px; font-size: 15px; color: var(--ink-2); }
.active-query button { border: 0; background: none; color: var(--rasp); font-weight: 600; text-decoration: underline; padding: 0 4px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.grid__more { display: flex; justify-content: center; margin-top: 36px; }
.grid__empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--r); }

.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  animation: cardIn .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / .92; border: 0; padding: 0; cursor: pointer;
  background: var(--tint, var(--paper-2)); overflow: hidden;
}
.card__media img {
  position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px);
  object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease);
}
.card--photo .card__media img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px;
  background: var(--rasp); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
}
.card__tag--green { background: var(--green); }
.card__tag--muted { background: rgba(23, 22, 15, .72); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.card__name { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0 0 72px 0; }
.card__name a:hover { color: var(--rasp); }
.card__foot { position: relative; z-index: 1; }
.ci__name a { text-decoration: none; }
.ci__name a:hover { color: var(--rasp); }
.card__unit { font-size: 13px; color: var(--ink-3); }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { display: grid; line-height: 1.15; }
.price strong { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.price small { font-size: 12px; color: var(--ink-3); }
.card.is-out .card__media img { filter: grayscale(.7); opacity: .55; }
.card.is-out .price strong { color: var(--ink-3); }

.add {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; min-width: 42px; padding: 0 16px;
  border-radius: 999px; border: 0; background: var(--green); color: #fff; font-weight: 600; font-size: 14px; gap: 6px;
  transition: background .2s, transform .2s var(--ease);
}
.add:hover { background: var(--green-2); }
.add:active { transform: scale(.94); }
.add--notify { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.add--notify:hover { background: var(--paper-2); }
.stepper { display: inline-flex; align-items: center; height: 42px; border-radius: 999px; background: var(--ink); color: #fff; overflow: hidden; }
.stepper button { width: 38px; height: 100%; border: 0; background: none; color: #fff; font-size: 19px; }
.stepper button:hover { background: rgba(255, 255, 255, .12); }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; font-size: 14.5px; }
/* − and + drawn as bars, not typed: the font's minus and plus sit at different heights and never looked centered */
.stepper button, .qty button { position: relative; font-size: 0 !important; }
.stepper button::before, .stepper button::after, .qty button::before, .qty button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor;
}
.stepper button::after, .qty button::after { transform: rotate(90deg); }
.stepper [data-dec]::after, .qty [data-q="-1"]::after { display: none; }

/* ---------- Bundle ---------- */
.bundle { background: var(--rasp); color: #fff; overflow: hidden; }
.bundle__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.bundle__media { border-radius: var(--r-lg); overflow: hidden; background: #fff; transform: rotate(-2.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
.bundle__media img { width: 100%; }
.bundle--green { background: var(--green); }
.bundle--ink { background: var(--ink); }
.bundle--green .eyebrow--light, .bundle--ink .eyebrow--light { color: var(--leaf) !important; }
.bundle .eyebrow--light { color: #ffe4ea; }
.bundle .h2--light em { color: #ffe08a; }
.bundle__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0; }
.bundle__list li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: 14.5px; font-weight: 500; }
.bundle__list li.gift { background: #ffe08a; color: var(--ink); border-color: #ffe08a; }
.bundle__buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bundle__price { margin: 0; display: grid; font-family: var(--serif); font-size: 48px; line-height: 1; }
.bundle__price small { font-family: var(--sans); font-size: 13px; color: #fde8ec; margin-top: 6px; }
.bundle .btn--light { color: var(--rasp-2); }
.bundle__note { margin: 18px 0 0; font-size: 14px; opacity: .8; }

/* ---------- How ---------- */
.how { padding: clamp(64px, 9vw, 120px) 0; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how__step { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.how__num { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--rasp); margin-bottom: 18px; }
.how__step h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.how__step p { margin: 0 0 10px; color: var(--ink-2); font-size: 15.5px; }
.how__step a { color: var(--green-2); font-weight: 600; }

/* ---------- Story ---------- */
.story { position: relative; min-height: clamp(560px, 80vh, 820px); display: flex; align-items: flex-end; overflow: hidden; color: var(--ink); }
.story__media { position: absolute; inset: 0; }
.story__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35)); }
.story__in { position: relative; padding-block: clamp(40px, 6vw, 80px); }
.story__card { max-width: 560px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.story__card p { color: var(--ink-2); margin: 16px 0 0; }
.story__card .h2 { font-size: clamp(34px, 4.2vw, 56px); }
.story__card .link-arrow { margin-top: 22px; color: var(--green); }

/* ---------- Recipes ---------- */
.recipes { padding: clamp(64px, 9vw, 120px) 0; }
.recipes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recipe { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.recipe__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.recipe__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.recipe:hover .recipe__media img { transform: scale(1.05); }
.recipe__body { display: flex; flex-direction: column; gap: 16px; padding: 20px; flex: 1; }
.recipe h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; }
.recipe h3 a { text-decoration: none; }
.recipe h3 a:hover { color: var(--rasp); }
.recipe__need { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 10px; border-radius: 14px; background: var(--paper); }
.recipe__need img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: var(--t-frozen); mix-blend-mode: multiply; }
.recipe__need p { margin: 0; flex: 1; font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.recipe__need strong { display: block; color: var(--ink); font-size: 14px; }

/* ---------- B2B ---------- */
.b2b { background: var(--green); color: #fff; }
.b2b__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 80px; padding-block: clamp(64px, 9vw, 120px); align-items: end; }
.b2b__list { list-style: none; margin: 0 0 28px; padding: 0; }
.b2b__list li { padding: 14px 0 14px 30px; border-bottom: 1px solid rgba(255, 255, 255, .16); position: relative; font-size: 16px; color: rgba(255, 255, 255, .88); }
.b2b__list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.b2b__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 120px) 0; }
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px 80px; align-items: start; }
.faq__aside { color: var(--ink-2); margin: 18px 0 0; }
.faq__aside a { color: var(--green-2); font-weight: 600; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-weight: 400; font-size: 20px; transition: transform .3s var(--ease), background .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__list details p { margin: -6px 0 22px; color: var(--ink-2); max-width: 640px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .7); overflow: hidden; font-size: 15px; }
.footer a:not(.btn) { color: inherit; text-decoration: none; }   /* buttons keep their own text colour */

.footer__cta {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px 64px; align-items: end;
  padding: clamp(64px, 9vw, 130px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__title { margin: 0; font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(48px, 7.4vw, 112px); line-height: .92; letter-spacing: -.02em; }
.footer__title em { color: var(--leaf); }
.footer__cta-side p { margin: 0 0 22px; font-size: 16.5px; max-width: 360px; }
.footer__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--rasp { background: var(--rasp); color: #fff; }
.btn--rasp:hover { background: #e0214d; box-shadow: 0 12px 30px -12px rgba(200, 25, 63, .8); }

.footer__grid { display: grid; grid-template-columns: 1.15fr 1fr .8fr .8fr; gap: 40px; padding: clamp(40px, 5vw, 64px) 0; }
.fcard {
  position: relative; padding: 24px; border-radius: var(--r-lg); color: var(--ink);
  background: var(--paper); overflow: hidden;
}
.fcard::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e0214d, var(--rasp-2)); opacity: .9;
}
.fcard__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.fcard__date { position: relative; z-index: 1; margin: 0 0 18px; font-family: var(--serif); font-size: clamp(34px, 3.2vw, 44px); line-height: 1; text-transform: capitalize; }
.fcard__facts { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.fcard__facts li::before { content: "✓"; margin-right: 8px; color: var(--green-2); font-weight: 700; }

.fcol h3 { margin: 4px 0 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.flinks, .fplaces { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flinks a { position: relative; display: inline-block; transition: color .2s, transform .3s var(--ease); }
.flinks a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.flinks a:hover { color: #fff; transform: translateX(4px); }
.flinks a:hover::after { transform: scaleX(1); }
.fplaces li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--rasp); }
.fplaces strong { color: #fff; font-weight: 600; }
.fplaces span { font-size: 13.5px; }

.footer__mark {
  position: relative; padding: 0 var(--gut); margin-top: clamp(8px, 2vw, 24px);
  font-family: var(--serif); font-size: clamp(88px, 21vw, 340px); line-height: .78; letter-spacing: -.035em;
  white-space: nowrap; text-align: center; user-select: none; pointer-events: none;
  color: transparent; background: linear-gradient(180deg, #f6f1e7 20%, rgba(246, 241, 231, .06) 95%);
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(12%);
}
.footer__mark em { background: linear-gradient(180deg, var(--leaf) 20%, rgba(140, 198, 63, .06) 95%); -webkit-background-clip: text; background-clip: text; }

.footer__bottom {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 24px; font-size: 13px;
}
.footer__bottom p { margin: 0; }
.footer__proto { opacity: .8; margin-right: auto !important; }
.totop {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff;
  transition: background .25s, border-color .25s, transform .35s var(--ease);
}
.totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.totop:hover { background: var(--leaf); border-color: var(--leaf); color: var(--ink); transform: translateY(-4px); }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(23, 22, 15, .4); opacity: 0; transition: opacity .35s; }
.scrim.is-on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--paper); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 12px; }
.drawer__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 38px; }
.drawer__mode { padding: 0 20px 14px; }
.drawer__when { margin: 10px 2px 0; font-size: 13.5px; color: var(--ink-2); }
.drawer__progress { margin: 0 20px 8px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.drawer__progress p { margin: 0 0 10px; font-size: 14px; }
.bar { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--green-2); transition: width .5s var(--ease); }
.drawer__progress.is-done .bar span { background: var(--leaf); }
.drawer__items { list-style: none; margin: 0; padding: 4px 20px; overflow: auto; flex: 1; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci.is-new { animation: cardIn .4s var(--ease) backwards; }
.ci img { width: 64px; height: 64px; border-radius: 12px; object-fit: contain; background: var(--tint, var(--paper-2)); mix-blend-mode: multiply; }
.ci__name { margin: 0; font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.ci__meta { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.ci__right { display: grid; justify-items: end; gap: 6px; }
.ci__sum { font-weight: 700; font-size: 14.5px; }
.ci .stepper { height: 34px; }
.ci .stepper button { width: 32px; font-size: 17px; }
.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 20px; text-align: center; color: var(--ink-2); }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--card); }
.drawer__sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 15px; }
.drawer__sum strong { font-size: 24px; letter-spacing: -.01em; }
.drawer__fine { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Quick view ---------- */
.qv { width: min(880px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.qv::backdrop { background: rgba(23, 22, 15, .45); backdrop-filter: blur(4px); }
.qv[open] { animation: qvIn .45s var(--ease); }
@keyframes qvIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.qv__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.qv__in { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { background: var(--tint, var(--paper-2)); padding: 32px; display: grid; place-items: center; }
.qv__media img { width: 100%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.qv__body { padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.qv__body h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1; }
.qv__prices { display: grid; gap: 8px; margin: 6px 0; }
.qv__price { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 14.5px; }
.qv__price.is-current { border-color: var(--green); background: #fff; box-shadow: 0 0 0 1px var(--green) inset; }
.qv__price strong { font-size: 18px; }
.qv__buy { display: flex; gap: 10px; align-items: center; margin-top: auto; }
.qv__link { font-size: 14px; color: var(--ink-2); }

/* ---------- Mobile bar + toast ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none; align-items: center; gap: 12px;
  height: 58px; padding: 0 8px 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px;
  box-shadow: var(--shadow-lg); transform: translateY(120%); transition: transform .45s var(--ease);
}
.mbar.is-on { transform: none; }
body.menu-open .mbar.is-on { transform: translateY(120%); }
.mbar { gap: 10px; padding-left: 10px; overflow: hidden; text-align: left; }
.mbar__thumbs { position: relative; display: flex; flex: none; padding-right: 4px; }
.mbar__thumbs > span { display: flex; }
.mbar__thumbs img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: contain; box-shadow: 0 0 0 2px var(--ink);
  background: linear-gradient(var(--tint, var(--paper-2)), var(--tint, var(--paper-2))), #fff; /* some tints are see-through */
}
.mbar__thumbs img.is-new { animation: mbarIn .45s var(--ease) backwards; }
.mbar__thumbs img + img { margin-left: -12px; }
@keyframes mbarIn { from { transform: scale(.4); opacity: 0; } }
.mbar__count {
  position: absolute; top: -6px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; background: var(--rasp); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 2px var(--ink);
}
.mbar__txt { display: grid; min-width: 0; margin-right: auto; line-height: 1.2; }
.mbar__total { font-size: 16px; font-weight: 700; white-space: nowrap; }
.mbar__note { font-size: 12.5px; color: rgba(255, 255, 255, .66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar__note b { color: #fff; font-weight: 600; }
.mbar__go { flex: none; padding: 11px 18px; border-radius: 999px; background: var(--rasp); font-weight: 600; }
/* how far to the delivery minimum: a hairline along the bar's bottom edge */
.mbar__bar { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; }
.mbar__bar span { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--leaf); transition: width .5s var(--ease); }
@media (max-width: 360px) {
  .mbar__thumbs img:nth-child(3) { display: none; }
  .mbar__go { padding: 11px 15px; }
  .mbar__go-label { display: none; }
}
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%);
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500;
  box-shadow: var(--shadow-lg); transition: transform .45s var(--ease), opacity .3s, visibility .45s; pointer-events: none; white-space: nowrap;
  opacity: 0; visibility: hidden; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.fly { position: fixed; z-index: 90; border-radius: 14px; pointer-events: none; object-fit: contain; background: #fff; box-shadow: var(--shadow-lg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* logo + nav + search + Dostava/Preuzimanje + korpa need ~1257 px on one row; under that the nav is in the toggle
   (the mega menu keeps every link), so the cart button can never end up off screen */
@media (max-width: 1270px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
}
@media (max-width: 1180px) {
  .cats__rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* more than 4 do not fit a tablet row: slide instead of wrapping into an uneven second row */
  .cats__rail:not(.cats__rail--n4) {
    display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 8px min(18px, var(--gut)) 30px; margin: -8px calc(-1 * min(18px, var(--gut))) -30px; scroll-padding-inline: min(18px, var(--gut));
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }
  .cats__rail:not(.cats__rail--n4) .cat { flex: 0 0 calc((100% - 3 * 12px) / 4.4); scroll-snap-align: start; }
  .cats__rail.is-end { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bundle__in, .b2b__in, .faq__in { grid-template-columns: 1fr; }
  .how__steps, .recipes__grid { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  /* the hero keeps two columns down to here; stacked, the text would sit in a narrow column with the picture
     far below and half the screen empty (tablets, small laptops) */
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; width: 100%; justify-self: center; }
  .header__in { flex-wrap: wrap; gap: 10px 12px; padding-block: 10px; min-height: 0; }
  .logo__word { font-size: 25px; }
  .menu-toggle { order: 4; }
  .search { order: 5; flex: 1 1 calc(100% - 58px); max-width: none; min-width: 0; }
  .site-menu__in { grid-template-columns: 1fr; gap: 22px; padding-block: 12px 12px; }
  .site-menu__main a { padding: 5px 0; font-size: 28px; }
  .site-menu__side .eyebrow { margin-bottom: 2px; }
  /* the open menu fills the screen: links on top, the pickup switch on the bottom edge */
  .site-menu__in { display: flex; flex-direction: column; min-height: 100%; }
  .site-menu__side { display: flex; flex-direction: column; flex: 1; }
  .site-menu__mode { margin-top: auto; padding-top: 16px; }
  .search__kbd { display: none; }
  .header .mode { margin-left: auto; }
  .cart-btn__total { display: none; }
  .cart-btn { padding: 0 14px; }
  .toolbar { top: var(--hdr, 118px); flex-direction: column; align-items: stretch; }
  .toolbar__right { justify-content: space-between; gap: 12px; min-width: 0; }
  .toolbar__right .select { min-width: 0; }
  .toolbar__right .select select { max-width: 100%; }
  .mbar { display: flex; }
  /* the "added to cart" toast sits above the cart bar (12 px + 58 px bar + 10 px) instead of on top of it */
  body.has-mbar .toast { bottom: 80px; }
  .qv__in { grid-template-columns: 1fr; }
  .qv__media { padding: 20px; }
  .qv__media img { max-height: 260px; }
  .qv__body { padding: 24px 20px 20px; }
  .qv__body h2 { font-size: 34px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cats__rail { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; margin: -8px calc(var(--gut) * -1) -24px; padding: 8px var(--gut) 24px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .cats__rail::-webkit-scrollbar { display: none; }
  .cat, .cats__rail .cat { flex: 0 0 136px !important; min-height: 170px; scroll-snap-align: start; }
  .cats__rail { -webkit-mask-image: none !important; mask-image: none !important; }
  .rail-foot { display: none !important; }
  .how__steps, .recipes__grid { grid-template-columns: 1fr; }
  .card__body { padding: 12px; }
  .card__name { font-size: 14.5px; }
  .card__media { padding: 12px; }
  .price strong { font-size: 16px; }
  .add { height: 38px; min-width: 38px; padding: 0 12px; }
  .add .add__label { display: none; }
  .stepper { height: 38px; }
  .stepper button { width: 32px; }
  .hero__facts { gap: 18px; }
  .hero__cta .btn { width: 100%; }
  .float-card--br { right: 0; bottom: 10%; }
  .float-card--tr { right: 0; top: 8%; }
  .float-card--bl { left: 0; right: auto; bottom: 36%; }
  .float-card--tl { left: 0; right: auto; top: 24%; }
  .float-card--ml { left: 0; right: auto; top: 46%; }
  .float-card img { width: 46px; height: 46px; }
  .mode__opt { padding: 8px 11px; font-size: 13px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__grid .fcard, .footer__grid .fcol:nth-child(2) { grid-column: 1 / -1; }
  .footer__bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; }
  .footer__bottom p { grid-column: 1; }
  .totop { grid-column: 2; grid-row: 1 / span 2; }
  body.has-mbar .footer { padding-bottom: 0; }
  .bundle__price { font-size: 40px; }

  /* header: logo · mode · cart on one row, search below */
  .utility { font-size: 12.5px; }
  .utility__in { gap: 12px; }
  .lg { display: none; }
  .sm { display: inline; }
  .logo__mark { display: none; }
  .logo__word { font-size: 24px; }
  .mode--header .mode__opt { padding: 8px 12px; font-size: 13px; }
  .cart-btn { width: 46px; padding: 0; justify-content: center; }
  .cart-btn__count { left: auto; right: -4px; }

  /* cards: price on its own line, full-width control */
  .card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .card__foot .add, .card__foot .stepper { width: 100%; }
  .card__foot .add .add__label { display: inline; }
  .card__foot .stepper { justify-content: space-between; }
  .card__foot .stepper button { width: 44px; }
  .price small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.has-mbar { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ===== blog.css (from the approved prototype) ===== */
/* Vaša bašta – blog archive + single post (loads after styles.css) */

.kind { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--k-bg, var(--paper-2)); color: var(--k-fg, var(--ink)); white-space: nowrap; text-decoration: none; }
.kind--recept { --k-bg: var(--rasp-soft); --k-fg: var(--rasp-2); }
.kind--zdravlje { --k-bg: #dfeadb; --k-fg: var(--green); }
.kind--iz-baste { --k-bg: #f4e7bf; --k-fg: #6b4f00; }
.kind--veleprodaja { --k-bg: #e3e1da; --k-fg: var(--ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--ink-3); }
.meta > * + *::before { content: "·"; margin-right: 14px; color: var(--line); }
.meta .kind::before, .meta .kind + *::before { content: none; margin: 0; }

/* ---------- Archive hero ---------- */
.bhero { padding: clamp(36px, 6vw, 88px) 0 clamp(24px, 4vw, 40px); }
.bhero__top { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px 64px; align-items: end; }
.bhero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9vw, 140px); line-height: .88; letter-spacing: -.025em; margin: 0; }
.bhero h1 em { color: var(--rasp); }
.bhero__lead { margin: 0 0 12px; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); }
.bhero__stats { display: flex; gap: 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.bhero__stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.bhero__stats span { font-size: 13px; color: var(--ink-3); }

.btools {
  position: sticky; top: var(--hdr, 72px); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px;
  margin: clamp(28px, 4vw, 48px) calc(var(--gut) * -1) 0; padding: 12px var(--gut);
  background: var(--paper);
}
.bsearch { position: relative; flex: 0 1 300px; }
.bsearch svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--ink-3); stroke-width: 2; }
.bsearch input { width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 500 14px var(--sans); color: var(--ink); }
.bsearch input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .12); }

/* ---------- Featured ---------- */
.bfeat { padding: clamp(20px, 3vw, 32px) 0 clamp(40px, 5vw, 64px); }
.feat { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); text-decoration: none; }
.feat__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1165 / 400; background: var(--paper-2); }
.feat__txt { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px 56px; align-items: end; }
.feat__txt .meta { grid-column: 1 / -1; }
.feat__txt h2 { margin: 0; }
.feat__side p { margin: 0 0 18px; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feat:hover .feat__media img { transform: scale(1.04); }
.feat__label { position: absolute; top: 16px; left: 16px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feat h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: .98; letter-spacing: -.015em; }
.feat:hover h2 { color: var(--rasp); }
.feat p { color: var(--ink-2); margin: 0 0 22px; font-size: 16.5px; }
.feat .link-arrow { color: var(--green); }

/* ---------- Grid ---------- */
.bgrid-wrap { padding-bottom: clamp(56px, 8vw, 110px); }
.bgrid-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 28px; margin-bottom: 24px; border-top: 1px solid var(--line); }
.bgrid-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 36px; }
.bgrid-head span { color: var(--ink-3); font-size: 14px; }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.pcard { display: flex; flex-direction: column; gap: 14px; text-decoration: none; animation: cardIn .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.pcard__media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.1vw, 31px); line-height: 1.04; letter-spacing: -.01em; transition: color .25s; }
.pcard:hover h3 { color: var(--rasp); }
.pcard p { margin: 0; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard--wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.pcard--wide .pcard__media { aspect-ratio: 4 / 3.2; }
.pcard--wide .pcard__txt { display: flex; flex-direction: column; gap: 14px; padding-right: 12px; }
.pcard--wide h3 { font-size: clamp(30px, 2.8vw, 42px); }
.pcard--wide p { -webkit-line-clamp: 3; }
.bmore { display: flex; justify-content: center; margin-top: 44px; }
.bempty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink-2); }

/* ---------- Shop band ---------- */
.bshop { background: var(--green); color: #fff; padding: clamp(56px, 8vw, 100px) 0; }
.bshop .section-head__aside { color: rgba(255, 255, 255, .75); }
.bshop .grid .card { border-color: transparent; }
.bshop .link-arrow { color: #fff; }

/* ---------- Single: progress ---------- */
.rprogress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 3px; pointer-events: none; }
.rprogress span { display: block; height: 100%; width: 100%; background: var(--rasp); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Single: header ---------- */
.phead { padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--rasp); }
.phead h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.6vw, 96px); line-height: .94; letter-spacing: -.02em; margin: 18px 0 22px; max-width: 18ch; }
.phead__lead { max-width: 640px; margin: 0 0 26px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.phead__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.author { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.author__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); }
.author__mark svg { width: 22px; height: 22px; }
.author strong { display: block; font-size: 14.5px; }
.author span { color: var(--ink-3); font-size: 13px; }
.share { display: flex; gap: 8px; }
.share a, .share button { display: inline-grid; place-items: center; height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.share a:hover, .share button:hover { border-color: var(--ink-3); background: #fff; }

.pcover { margin: 0 auto; }
.pcover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-lg); background: var(--paper-2); }

/* ---------- Single: body layout ---------- */
.pbody { display: grid; grid-template-columns: 220px minmax(0, 1fr) 280px; gap: clamp(24px, 4vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 80px); }
.ptoc, .pshop { position: sticky; top: calc(var(--hdr, 72px) + 24px); }
.ptoc h2, .pshop h2 { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ptoc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: toc; }
.ptoc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; text-decoration: none; color: var(--ink-2); transition: color .2s, border-color .2s; }
.ptoc li a:hover { color: var(--ink); }
.ptoc li a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--rasp); }
.ptoc-m { display: none; }

.pshop__list { display: grid; gap: 10px; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.mini__media { width: 64px; height: 64px; padding: 4px; border: 0; border-radius: 12px; background: var(--tint, var(--paper-2)); cursor: zoom-in; }
.mini__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mini__name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.25; }
.mini__meta { margin: 2px 0 8px; font-size: 12.5px; color: var(--ink-3); }
.mini .add, .mini .stepper { height: 34px; font-size: 13px; }
.mini .add { padding: 0 12px; }
.mini .stepper button { width: 30px; font-size: 16px; }
.pshop__note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.pshop__note a { color: var(--green-2); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { max-width: 700px; font-size: 18px; line-height: 1.72; color: #2a2820; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.04; letter-spacing: -.01em; color: var(--ink); margin: 1.6em 0 .55em; scroll-margin-top: calc(var(--hdr, 72px) + 24px); }
.prose h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); margin: 1.6em 0 .5em; }
.prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.prose h2 strong, .prose h3 strong, .prose h4 strong { font-weight: inherit; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--rasp); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose ul li::marker { color: var(--rasp); }
.prose ol li::marker { color: var(--rasp); font-weight: 700; }
.prose img { width: 100%; height: auto; border-radius: var(--r); margin: .6em 0; background: var(--paper-2); }
.prose p:has(> img:only-child) { margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--rasp); font-family: var(--serif); font-size: 26px; line-height: 1.25; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); }
.prose > p:first-of-type { font-size: 20px; line-height: 1.6; color: var(--ink); }

.pinline { display: grid; grid-template-columns: 112px 1fr auto; gap: 18px; align-items: center; margin: 2em 0; padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; line-height: 1.4; }
.pinline__media { width: 112px; height: 112px; padding: 8px; border: 0; border-radius: 16px; background: var(--tint, var(--paper-2)); cursor: zoom-in; }
.pinline__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; margin: 0; border-radius: 0; background: none; }
.pinline__eyebrow { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rasp); margin-bottom: 4px; }
.pinline__name { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.05; color: var(--ink); }
.pinline__meta { display: block; margin-top: 4px; color: var(--ink-3); font-size: 13.5px; }

/* ---------- Editorial blocks in posts (assets/js/editorial-blocks.js) ---------- */
/* Ukratko: the key points, right after the intro */
.wp-block-vasabasta-ukratko { margin: 1.8em 0 2.2em; padding: 22px 26px 8px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.wp-block-vasabasta-ukratko .vb-block__title { font-size: 13px !important; font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); margin-bottom: 8px !important; }
.wp-block-vasabasta-ukratko ul { list-style: none; padding-left: 0; }
.wp-block-vasabasta-ukratko li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; }
.wp-block-vasabasta-ukratko li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--green);
}
.wp-block-vasabasta-ukratko li::after { content: ""; position: absolute; left: 6px; top: calc(.28em + 4px); width: 5px; height: 9px; border: solid var(--leaf); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Brojke: numbers with a source */
.wp-block-vasabasta-brojke { margin: 2.2em 0; }
.vb-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.vb-stat { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; border-radius: 20px; background: var(--paper-2); }
.vb-stat__value { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 50px); line-height: 1; letter-spacing: -.01em; color: var(--rasp) !important; }
.vb-stat__label { font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.vb-stats__source { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.vb-stats__source a { color: inherit; }

/* Citat */
.wp-block-vasabasta-citat { position: relative; margin: 2.6em 0 2.2em; padding: 46px 0 0 0; border-top: 1px solid var(--line); }
.wp-block-vasabasta-citat::before { content: "\201C"; position: absolute; top: -22px; left: 0; padding-right: 14px; background: var(--paper); font-family: var(--serif); font-size: 84px; line-height: 1; height: 44px; color: var(--rasp); }
.prose .wp-block-vasabasta-citat blockquote { margin: 0; padding: 0; border: 0; }
.vb-quote__text { margin: 0 !important; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; letter-spacing: -.005em; color: var(--ink); }
.wp-block-vasabasta-citat figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; font-size: 14.5px; }
.vb-quote__name { font-weight: 600; color: var(--ink); }
.vb-quote__role { color: var(--ink-3); }
.prose .pinline__name { text-decoration: none; color: var(--ink); }
.prose .pinline__name:hover { color: var(--rasp); }

/* Savet / Pažnja / Da li ste znali? — a round icon on the left, a label stuck on the top edge */
.wp-block-vasabasta-savet {
  --c: var(--green); --bg: #f1f5ec; --edge: #d9e6cf;
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px;
  margin: 2.4em 0 2em; padding: 26px 26px 10px 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--edge);
  font-size: 16.5px; line-height: 1.6;
}
.wp-block-vasabasta-savet > * { grid-column: 2; }
.wp-block-vasabasta-savet::before { /* icon */
  content: ""; grid-column: 1; grid-row: 1 / span 12; align-self: start;
  width: 46px; height: 46px; border-radius: 50%; background: var(--c) center / 24px no-repeat;
}
.wp-block-vasabasta-savet::after { /* label */
  position: absolute; top: -13px; left: 22px; padding: 4px 14px 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}
.wp-block-vasabasta-savet .vb-block__title { font-family: var(--serif); font-weight: 400; font-size: 26px !important; line-height: 1.1; color: var(--ink); margin: 0 0 6px !important; }
.wp-block-vasabasta-savet p { margin-bottom: .9em; }

/* Savet: a kitchen note, the label is a strip of tape */
.wp-block-vasabasta-savet.is-savet { background: #fbf8f2; border-color: #e6ddd5; box-shadow: 0 1px 2px rgba(23, 22, 15, .05), 0 14px 30px -18px rgba(23, 22, 15, .25); }
.wp-block-vasabasta-savet.is-savet::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238cc63f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9'/%3E%3Cpath d='M12 12c0-4.4 3.2-7.5 8-7.5 0 4.9-3.4 8-8 7.5Z'/%3E%3Cpath d='M12 14.5c0-3.3-2.4-5.6-6-5.6 0 3.6 2.6 5.9 6 5.6Z'/%3E%3C/svg%3E");
}
.wp-block-vasabasta-savet.is-savet::after {
  content: "Savet iz bašte"; top: -14px; left: 28px; padding: 5px 18px 4px; color: var(--green);
  background: rgba(140, 198, 63, .55); transform: rotate(-2.5deg);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 5px, #000 calc(100% - 5px), transparent 100%); /* torn tape ends */
  mask: linear-gradient(90deg, transparent 0, #000 5px, #000 calc(100% - 5px), transparent 100%);
}

/* Pažnja: quiet, the same neutral card as the rest of the text; only the small icon and the label are raspberry */
.wp-block-vasabasta-savet.is-paznja { --c: #fbe9ec; --bg: var(--card); --edge: var(--line); }
.wp-block-vasabasta-savet.is-paznja::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8193f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v6.5'/%3E%3Ccircle cx='12' cy='17.2' r='.5' fill='%23c8193f'/%3E%3C/svg%3E");
}
.wp-block-vasabasta-savet.is-paznja::after { content: "Pažnja"; position: static; grid-column: 2; grid-row: 1; padding: 0; margin: 2px 0 4px; color: var(--rasp); }
.wp-block-vasabasta-savet.is-paznja > :first-child { margin-top: 0; }
.wp-block-vasabasta-savet.is-paznja { padding-top: 22px; }

/* Da li ste znali? a warm card with a big question mark */
.wp-block-vasabasta-savet.is-znate { --c: #d9a21b; --bg: #fbf3df; --edge: #eedfb8; overflow: hidden; }
.wp-block-vasabasta-savet.is-znate::before { content: "?"; display: grid; place-items: center; font-family: var(--serif); font-size: 30px; line-height: 1; color: #fff; }
.wp-block-vasabasta-savet.is-znate::after { content: "Da li ste znali?"; position: static; grid-column: 2; grid-row: 1; padding: 0; margin: 2px 0 4px; color: #8a6414; }
.wp-block-vasabasta-savet.is-znate { background: radial-gradient(circle at calc(100% - 40px) 30px, rgba(217, 162, 27, .16) 0 58px, transparent 59px), #fbf3df; }
.wp-block-vasabasta-savet.is-znate > * { grid-row: auto; }
.wp-block-vasabasta-savet.is-znate > :first-child { margin-top: 0; }

@media (max-width: 640px) {
  .wp-block-vasabasta-savet { grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; padding: 24px 18px 8px 16px; }
  .wp-block-vasabasta-savet::before { width: 38px; height: 38px; background-size: 20px; }
  .wp-block-vasabasta-savet.is-znate::before { font-size: 24px; }
}

/* Pitanja i odgovori */
.wp-block-vasabasta-pitanja { margin: 2.6em 0 1.6em; }
.wp-block-vasabasta-pitanja .vb-block__title { font-size: clamp(32px, 3.2vw, 44px) !important; margin-bottom: 14px !important; }
.wp-block-vasabasta-pitanja details { border-bottom: 1px solid var(--line); }
.wp-block-vasabasta-pitanja details:first-of-type { border-top: 1px solid var(--line); }
.wp-block-vasabasta-pitanja summary { position: relative; padding: 18px 44px 18px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.wp-block-vasabasta-pitanja summary::-webkit-details-marker { display: none; }
.wp-block-vasabasta-pitanja summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--rasp); transition: transform .25s var(--ease); }
.wp-block-vasabasta-pitanja details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-vasabasta-pitanja details > :not(summary) { margin-top: 0; padding-right: 44px; }
.wp-block-vasabasta-pitanja details > :last-child { margin-bottom: 18px; }

.pend { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; max-width: 700px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pend p { margin: 0; font-weight: 600; }

/* ---------- Related + prev/next ---------- */
.related { padding: clamp(56px, 8vw, 100px) 0; background: var(--paper-2); }
.related .bgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pnav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pnav a { display: flex; flex-direction: column; gap: 8px; padding: clamp(28px, 4vw, 48px) var(--gut); text-decoration: none; transition: background .25s; }
.pnav a:hover { background: var(--card); }
.pnav a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.pnav span { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pnav strong { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; max-width: 22ch; }
.pnav a:hover strong { color: var(--rasp); }
.pmissing { padding: 120px 0; text-align: center; }
.pmissing h1 { font-family: var(--serif); font-weight: 400; font-size: 64px; margin: 0 0 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pbody { grid-template-columns: minmax(0, 1fr) 280px; }
  .ptoc { display: none; }
  .ptoc-m { display: block; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  .ptoc-m summary { padding: 14px 16px; font-weight: 600; cursor: pointer; }
  .ptoc-m ol { margin: 0; padding: 0 16px 14px 36px; }
  .ptoc-m li { margin: 6px 0; }
  .ptoc-m a { color: var(--ink-2); text-decoration: none; }
}
@media (max-width: 1024px) {
  .bhero__top, .feat__txt { grid-template-columns: 1fr; }
  .bgrid, .related .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbody { grid-template-columns: minmax(0, 1fr); }
  .pshop { position: static; }
  .pshop__list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 860px) {
  .btools { flex-direction: column; align-items: stretch; }
  .bsearch { flex-basis: auto; }
}
@media (max-width: 640px) {
  .bgrid, .related .bgrid { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: auto; grid-template-columns: 1fr; padding: 0; background: none; border: 0; }
  .pcard--wide .pcard__txt { padding: 0; }
  .prose { font-size: 17px; }
  .prose > p:first-of-type { font-size: 18.5px; }
  .pinline { grid-template-columns: 80px 1fr; }
  .pinline__media { width: 80px; height: 80px; }
  .pinline > [data-ctrl] { grid-column: 1 / -1; }
  .pinline .add, .pinline .stepper { width: 100%; justify-content: center; }
  .pinline .add .add__label { display: inline; }
  .feat__media { aspect-ratio: 16 / 9; }
  .pinline .stepper { justify-content: space-between; }
  .pnav { grid-template-columns: 1fr; }
  .pnav a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; }
  .phead__row { flex-direction: column; align-items: flex-start; }
}

/* =================== Recipes =================== */
.pcard__media { position: relative; }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; background: var(--rasp); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
}
.pcard__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffd3dc; }

/* hero: the dish first */
.rhero { position: relative; min-height: clamp(460px, 70vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.rhero__media { position: absolute; inset: 0; background: var(--ink); }
.rhero__media img { width: 100%; height: 100%; object-fit: cover; animation: rheroZoom 1.6s var(--ease) both; }
@keyframes rheroZoom { from { transform: scale(1.08); } }
.rhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 15, .15) 0%, rgba(23, 22, 15, .1) 35%, rgba(23, 22, 15, .78) 100%); }
.rhero__in { position: relative; padding-block: 120px clamp(32px, 5vw, 56px); }
.rhero .crumbs { margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.rhero .crumbs a { color: rgba(255, 255, 255, .85); }
.rhero .crumbs li + li::before { color: rgba(255, 255, 255, .4); }
.rhero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 96px); line-height: .94; letter-spacing: -.02em; margin: 16px 0 16px; max-width: 18ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.rhero__lead { max-width: 620px; margin: 0 0 20px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .88); }
.rhero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rhero__meta li { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 500; }

/* toolbar */
.rtools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.rtool {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.rtool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rtool:hover { border-color: var(--ink-3); background: #fff; }
.rtool[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.rtools__sep { flex: 1; }
.is-recipe .pbody { padding-top: clamp(32px, 4vw, 56px); }

/* ingredients card */
.ring {
  margin: 1.8em 0; padding: 22px 24px 14px; border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); scroll-margin-top: calc(var(--hdr, 72px) + 24px); font-size: 16.5px; line-height: 1.45;
}
.ring__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ring__title { font-family: var(--serif); font-size: 30px; line-height: 1.05; color: var(--ink); }
.ring__count { font-size: 13px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ring.is-done .ring__count { color: var(--green-2); }
.prose .ring ul { list-style: none; margin: 0; padding: 0; }
.prose .ring li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.prose .ring li:last-child { border-bottom: 0; }
.ring label { flex: 1; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.ring input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px;
  border: 1.5px solid var(--ink-3); background: #fff; cursor: pointer; display: grid; place-content: center; transition: background .2s, border-color .2s;
}
.ring input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.ring input:checked { background: var(--green-2); border-color: var(--green-2); }
.ring input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ring input:checked + span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); }
.ring__add {
  flex: none; height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--rasp-soft); color: var(--rasp-2);
  font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s;
}
.ring__add:hover { background: var(--rasp); color: #fff; }

/* steps */
.rsteps { margin: 1.8em 0; }
.rsteps__title { font-family: var(--serif); font-size: 30px; line-height: 1.05; color: var(--ink); margin: 0 0 14px !important; }
.prose .rsteps ol { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.prose .rsteps .rstep {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; margin: 0 0 10px; padding: 16px 18px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .2s, background .2s, opacity .2s;
}
.rstep:hover { border-color: var(--ink-3); }
.rstep:focus-visible { outline: 2px solid var(--rasp); outline-offset: 2px; }
.rstep__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); font-family: var(--serif); font-size: 24px; color: var(--rasp); transition: background .2s, color .2s; }
.rstep__t { padding-top: 9px; line-height: 1.55; }
.rstep.is-done { opacity: .5; }
.rstep.is-done .rstep__n { position: relative; background: var(--green-2); color: transparent; }
/* absolutely centred: the hidden step number stays in the circle's grid, the tick does not */
.rstep.is-done .rstep__n::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rstep.is-next { border-color: var(--green); background: #fff; box-shadow: 0 0 0 1px var(--green) inset; }
.rsteps__hint { margin: 6px 0 0 !important; font-size: 13px !important; color: var(--ink-3); }

.pshop__all { margin-top: 12px; min-height: 46px; font-size: 14.5px; }

/* cooking mode: larger text, sidebar out of the way */
body.is-cooking .is-recipe .prose { font-size: 21px; max-width: 760px; }
body.is-cooking .ring, body.is-cooking .rsteps .rstep { font-size: 19px; }
body.is-cooking .ptoc { opacity: .35; }

@media (max-width: 640px) {
  .rhero { min-height: 72vh; }
  .rhero__in { padding-top: 100px; }
  .rtools { gap: 8px; }
  .rtools .share, .rtools__sep { display: none; }
  .rtool { height: 40px; padding: 0 13px; font-size: 13.5px; }
  .ring { padding: 18px 16px 10px; border-radius: 20px; }
  .ring__title, .rsteps__title { font-size: 26px; }
  .prose .rsteps .rstep { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; }
  .rstep__n { width: 36px; height: 36px; font-size: 20px; }
  .rstep__t { padding-top: 6px; }
}

/* print: just the recipe */
@media print {
  .utility, .header, .rtools, .ptoc, .ptoc-m, .pshop, .pend, .related, .pnav, .footer, .mbar, .drawer, .scrim, .toast, .rprogress, .mega-scrim, .rsteps__hint, .ring__add, .pinline { display: none !important; }
  body { background: #fff; }
  .rhero { display: block; min-height: 0; color: #000; }
  .rhero__media { position: static; height: 200px; border-radius: 12px; overflow: hidden; }
  .rhero__media img { animation: none; }
  .rhero__media::after { display: none; }
  .rhero__in { padding: 16px 0 0; }
  .rhero h1 { font-size: 40px; text-shadow: none; }
  .rhero__lead, .rhero__meta li { color: #333; background: none; }
  .rhero .crumbs { display: none; }
  .pbody { display: block; padding: 16px 0; }
  .prose { max-width: none; font-size: 13pt; }
  .ring, .rstep { box-shadow: none; break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ===== product.css (from the approved prototype) ===== */
/* Vaša bašta – single product page (loads after styles.css and blog.css) */

.pdp { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(20px, 3vw, 36px) clamp(56px, 8vw, 110px); }

/* Gallery */
.pdp__gallery { position: sticky; top: calc(var(--hdr, 72px) + var(--sbar, 0px) + 20px); display: grid; gap: 12px; transition: top .45s var(--ease); }
.pdp__img {
  position: relative; aspect-ratio: 1 / .94; border-radius: var(--r-lg); overflow: hidden;
  background: var(--tint, var(--paper-2));
}
.pdp__img img {
  position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%);
}
.pdp__img--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pdp__img .card__tag { top: 20px; left: 20px; font-size: 12px; padding: 8px 14px 8px 10px; }
/* Info column */
.pdp__info { display: flex; flex-direction: column; gap: 22px; }
.pcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13px; font-weight: 400; line-height: 1.4; }
.pcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--ink-3); opacity: .6; }
.pcrumbs a { color: var(--ink-3); text-decoration: none; transition: color .2s; }
.pcrumbs li:last-child a { color: var(--ink-2); }
.pcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pdp h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.6vw, 84px); line-height: .92; letter-spacing: -.02em; }
.pdp__unit { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; }
.pdp__short { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.pdp__short p { margin: 0 0 8px; }
.pdp__short strong { color: var(--ink); font-weight: 600; }

.popts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.popt {
  position: relative; display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; text-align: left;
  border: 1px solid var(--line); background: var(--card); transition: border-color .2s, box-shadow .2s, background .2s;
}
.popt:hover { border-color: var(--ink-3); }
.popt span { font-size: 13.5px; color: var(--ink-2); }
.popt strong { font-size: 26px; letter-spacing: -.01em; }
.popt small { font-size: 12.5px; color: var(--ink-3); }
.popt::after {
  content: ""; position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--ink-3); transition: border .2s, background .2s;
}
.popt.is-current { border-color: var(--green); background: #fff; box-shadow: 0 0 0 1px var(--green) inset; }
.popt.is-current::after { border: 5px solid var(--green); }

.pbuy { display: flex; gap: 10px; align-items: stretch; }
/* quantity: three equal cells, the hover circle stays inside the pill */
.qty { display: inline-grid; grid-template-columns: 46px 34px 46px; align-items: center; justify-items: center; height: 58px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); flex: none; box-sizing: border-box; }
.qty button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: var(--ink); transition: background .2s; }
.qty button:hover { background: var(--paper-2); }
.qty button::before, .qty button::after { width: 14px; margin-left: -7px; }
.qty output { width: 100%; text-align: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1; }
.pbuy .btn { flex: 1; min-height: 58px; font-size: 16.5px; }
.pbuy .btn[disabled] { opacity: 1; background: var(--paper-2); color: var(--ink-3); }
.pbuy__total { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 500; font-size: 14.5px; }
.incart { margin: -8px 0 0; font-size: 14px; color: var(--green-2); font-weight: 600; }
.incart button { border: 0; background: none; padding: 0; color: inherit; font-weight: 700; text-decoration: underline; }

.dstrip { display: grid; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.dstrip p { display: flex; align-items: center; gap: 12px; margin: 0; padding: 11px 14px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.dstrip p + p { border-top: 1px solid var(--line); }
.dstrip strong { display: block; margin: 0 0 2px; color: var(--ink); font-weight: 600; }   /* the detail goes on its own line below */
.dstrip p { padding-block: 12px; }
.nowrap { white-space: nowrap; }
.dstrip__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--paper-2); }
.dstrip__icon svg { width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc a { color: var(--green-2); font-weight: 600; }

.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 16.5px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; font-weight: 400; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 0 18px; color: var(--ink-2); font-size: 15.5px; }
.acc details > div p { margin: 0 0 8px; }

/* Long description */
.pstory { padding: clamp(56px, 8vw, 110px) 0; background: var(--card); border-block: 1px solid var(--line); }
.pstory__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pstory__head { position: sticky; top: calc(var(--hdr, 72px) + var(--sbar, 0px) + 32px); transition: top .45s var(--ease); }
.pstory__head p { margin: 18px 0 0; color: var(--ink-2); max-width: 340px; }
.pstory .prose > p:first-of-type { font-size: 18px; color: #2a2820; }
.pstory .prose h2 { font-size: clamp(28px, 2.6vw, 38px); margin-top: 1.3em; }
.pstory .prose > h2:first-child { margin-top: 0; }

.precipes { padding: clamp(56px, 8vw, 110px) 0 0; }
.pmore { padding: clamp(56px, 8vw, 110px) 0; }

/* Sticky buy bar */
.sbar {
  position: fixed; left: 0; right: 0; top: var(--hdr, 72px); z-index: 35;
  background: var(--paper); box-shadow: 0 10px 24px -18px rgba(23, 22, 15, .5);
  border-bottom: 1px solid var(--line); transform: translateY(-110%); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s;
}
.sbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
.sbar__in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.sbar img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: var(--tint, var(--paper-2)); mix-blend-mode: multiply; }
.sbar__name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.sbar__meta { font-size: 13px; color: var(--ink-3); }
.sbar__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sbar__price { font-weight: 700; font-size: 18px; }
.sbar .btn { min-height: 46px; padding: 0 20px; }


/* Desktop: image, name, price, buy button and delivery all fit the first screen */
@media (min-width: 1025px) {
  .pdp { padding-top: 24px; gap: clamp(32px, 4vw, 64px); }
  .pdp__img { aspect-ratio: auto; height: clamp(380px, calc(100vh - var(--hdr, 72px) - 90px), 700px); }
  .pdp__info { gap: 16px; }
  .pcrumbs ol { margin-bottom: 8px; }
  .pdp h1 { font-size: clamp(40px, 3.8vw, 62px); line-height: .95; }
  .pdp__unit { margin-top: 8px; font-size: 15px; }
  .pdp__short { font-size: 15.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pdp__short p { display: inline; margin: 0 4px 0 0; }
  .popt { padding: 12px 16px; gap: 2px; }
  .popt strong { font-size: 22px; }
  .popt::after { top: 14px; right: 14px; }
  .qty { height: 54px; }
  .qty button { width: 40px; height: 40px; }
  .pbuy .btn { min-height: 54px; }
  .incart { margin: -6px 0 0; }
}

@media (min-width: 1025px) and (max-height: 780px) {
  .pdp h1 { font-size: clamp(36px, 3.2vw, 50px); }
  .pdp__short { -webkit-line-clamp: 2; }
  .popt small { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .pstory__in { grid-template-columns: 1fr; }
  .pstory__head { position: static; }
}
@media (max-width: 640px) {
  .pbuy .btn { font-size: 15.5px; padding: 0 16px; }
  .pbuy__total { display: none; }
  /* sticky bar moves to the bottom on phones */
  .sbar { top: auto; bottom: 0; border-bottom: 0; border-top: 1px solid var(--line); transform: translateY(110%); padding-bottom: env(safe-area-inset-bottom); }
  .sbar__in { min-height: 72px; gap: 10px; }
  .sbar__meta { display: none; }
  .sbar__price { font-size: 16px; }
  body.is-pdp { padding-bottom: 80px; }
}


/* ======================================================================
   WordPress additions (templates that did not exist in the prototype)
   ====================================================================== */

/* links styled as the prototype's buttons */
a.chip, a.cat, a.mcat { text-decoration: none; color: inherit; }
a.cat { color: var(--ink); }
.link-btn { border: 0; background: none; padding: 0; color: var(--green-2); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* logged-in admin bar */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .header { top: 0; } }

/* shop + category pages */
.shop--page { padding-top: clamp(20px, 3vw, 36px); }
.shop__crumbs ol { margin-bottom: 14px; }
.shop__about { max-width: 820px; margin: clamp(48px, 6vw, 80px) auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.grid__empty[hidden], .bempty[hidden] { display: none !important; }
.pcrumbs--light a, .pcrumbs--light li + li::before { color: rgba(255, 255, 255, .7); }

/* generic pages */
.wpage { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); }
.wpage__head { max-width: 900px; margin-bottom: clamp(28px, 4vw, 48px); }
.wpage__title { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: .92; letter-spacing: -.02em; }
.wpage__title em { color: var(--rasp); }
.wpage__lead { max-width: 620px; margin: 18px 0 0; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink-2); }
.wpage__prose { max-width: 760px; }
.wpage__prose > h2:first-child, .wpage__prose > h3:first-child { margin-top: 0; }
.wpage--center { text-align: center; }
.wpage--center .wpage__in { display: flex; flex-direction: column; align-items: center; padding-block: clamp(40px, 8vw, 120px); }
.wpage__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.wpage__in--split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 72px); align-items: start; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-bottom: clamp(48px, 6vw, 80px); }
.contact__card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.contact__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact__card--main { background: var(--green); color: #fff; border-color: var(--green); }
.contact__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 50%; background: var(--paper-2); }
.contact__card--main .contact__icon { background: rgba(255, 255, 255, .14); }
.contact__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.contact__card strong { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; word-break: break-word; }
.contact__card span:last-child { font-size: 14.5px; opacity: .8; }
.contact__places { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px 64px; align-items: start; margin-bottom: 56px; }
.contact__list { gap: 18px; }
.contact__list li { color: var(--ink-2); }
.contact__list strong { color: var(--ink); font-size: 17px; }
.contact__list span { color: var(--ink-2); }

/* wholesale */
.b2b--page .b2b__in { padding-block: clamp(40px, 6vw, 88px); }
.b2b--page h1 { margin-top: 6px; }
.inquiry { position: sticky; top: calc(var(--hdr, 72px) + 24px); display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.inquiry h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.02; }
.inquiry p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- WooCommerce: cart, checkout, account ---------- */
.wshop { max-width: 1100px; }
.wshop .woocommerce { font-size: 15.5px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-NoticeGroup .woocommerce-error {
  list-style: none; margin: 0 0 24px !important; padding: 16px 18px 16px 50px !important; border-radius: 16px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); position: relative; font-size: 15px;
}
.woocommerce-error, .woocommerce .woocommerce-error, .woocommerce-NoticeGroup .woocommerce-error { border: 1px solid #f1c3cc; background: #fdf1f3; } /* over WooCommerce's grey box, which loads later */
/* checkout: WooCommerce puts its errors first inside the two-column form; they span both columns above the steps */
form.co > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-error a { color: inherit; }
.woocommerce-error::before, .woocommerce-message::before, .woocommerce-info::before { position: absolute; left: 18px; top: 15px; font-weight: 700; }
.woocommerce-error::before { content: "!"; color: var(--rasp); }
.woocommerce-message::before { content: "✓"; color: var(--green-2); }
.woocommerce-info::before { content: "i"; color: var(--green-2); }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-info:has(.wc-forward) { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 20px; text-align: left; }
@media (max-width: 640px) { .woocommerce-info:has(.wc-forward) { flex-direction: column-reverse; align-items: flex-start; gap: 12px; } }
.woocommerce .woocommerce-info .wc-forward { flex: none; min-height: 40px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #place_order {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--green); color: #fff; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; transition: background .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #place_order:hover { background: var(--green-2); }
/* WooCommerce gives its buttons dark grey text on hover / focus / visited (and its own colours for .alt and
   disabled): ours stay white on green in every state */
.woocommerce a.button, .woocommerce a.button:visited, .woocommerce a.button:hover, .woocommerce a.button:focus,
.woocommerce button.button:hover, .woocommerce button.button:focus, .woocommerce input.button:hover, .woocommerce input.button:focus,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--green); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--green-2); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.button.disabled { background: var(--green); color: #fff; opacity: .5; }
.woocommerce #place_order { width: 100%; min-height: 58px; font-size: 17px; margin-top: 12px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.woocommerce form .form-row .required { color: var(--rasp); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: 500 15px var(--sans); color: var(--ink); box-sizing: border-box;
}
.woocommerce form .form-row textarea { min-height: 96px; }
.woocommerce form .form-row input:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .12); }
.woocommerce-checkout h3, #order_review_heading { margin: 0 0 16px; font-family: var(--serif); font-weight: 400; font-size: 34px; }
.woocommerce-checkout #order_review_heading { margin-top: 36px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table thead th { border-top: 0; background: var(--paper-2); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.woocommerce table.shop_table .order-total td, .woocommerce table.shop_table .order-total th { font-size: 18px; font-weight: 700; }
.woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.woocommerce ul#shipping_method li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.woocommerce ul#shipping_method li:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.woocommerce ul#shipping_method input { accent-color: var(--green); }
#payment { margin-top: 20px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
#payment ul.payment_methods { list-style: none; margin: 0 0 12px; padding: 0; }
#payment .payment_box { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); font-size: 14px; }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; color: var(--ink-2); }
.woocommerce-cart table.cart img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--paper-2); }
.woocommerce-cart .cart-collaterals { margin-top: 28px; max-width: 480px; margin-left: auto; }
.woocommerce-cart .cart_totals h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0 0 12px; }
.woocommerce .quantity .qty { width: 72px; min-height: 42px; border-radius: 10px; border: 1px solid var(--line); text-align: center; font: 600 15px var(--sans); }
.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 28px; }
.woocommerce-order-overview li { font-size: 14px; color: var(--ink-2); }
.woocommerce-order-overview strong { display: block; color: var(--ink); font-size: 17px; }
.woocommerce-thankyou-order-received { font-family: var(--serif); font-size: 40px; line-height: 1.05; margin: 0 0 20px; }
/* ---------- Moj nalog ---------- */
/* logged out: why an account helps + one card that switches between logging in and a new account */
/* Moj nalog (every tab, logged in or not): the page title and crumb only took space; the title stays for screen
   readers, each tab has its own heading or menu */
body.woocommerce-account .wpage { padding-top: clamp(20px, 3.5vw, 44px); }
body.woocommerce-account .wpage__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acct-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.acct-auth__intro { padding-top: clamp(8px, 2vw, 28px); } /* fixed at the top: switching Prijava / Novi nalog changes only the card */
.acct-auth__title { margin: 0 0 28px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.01em; }
.acct-auth__title em { color: var(--rasp); }
.acct-auth__perks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; max-width: 460px; }
.acct-auth__perks li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.acct-auth__perks strong { display: block; color: var(--ink); font-size: 16px; }
.acct-auth__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--green-2); }
.acct-auth__ico svg, .acct-card__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acct-auth__note { margin: 0; font-size: 14px; color: var(--ink-3); }
.acct-auth__card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgba(23, 22, 15, .3); }
.acct-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 24px; border-radius: 999px; background: var(--paper-2); isolation: isolate; }
.acct-switch__opt { position: relative; z-index: 1; padding: 11px 14px; border: 0; border-radius: 999px; background: none; font: 600 15px var(--sans); color: var(--ink-2); cursor: pointer; transition: color .25s; }
.acct-switch__opt[aria-selected="true"] { color: #fff; }
.acct-switch__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--green); transition: transform .35s var(--ease); }
.acct-auth[data-auth="register"] .acct-switch__pill { transform: translateX(100%); }
.acct-form[hidden] { display: none; }
.acct-form__title { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.acct-form__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.woocommerce .acct-form__label-row label { margin: 0; }
.acct-form__forgot { font-size: 13.5px; color: var(--green-2); font-weight: 600; }
.acct-check { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.acct-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.woocommerce .acct-form .acct-form__submit { width: 100%; min-height: 52px; font-size: 16px; }
.acct-form__alt { margin: 18px 0 0; text-align: center; font-size: 14.5px; color: var(--ink-3); }
.acct-steps { list-style: none; counter-reset: acct; margin: 0 0 16px; padding: 14px 16px; display: grid; gap: 8px; border-radius: 14px; background: var(--paper-2); font-size: 14px; color: var(--ink-2); }
.acct-steps li { counter-increment: acct; display: flex; gap: 10px; align-items: baseline; }
.acct-steps li::before { content: counter(acct); flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; transform: translateY(-1px); }
.acct-form .woocommerce-privacy-policy-text p { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.acct-form__captcha { margin: 0 0 16px; min-height: 65px; }
.acct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.woocommerce form.lost_reset_password { max-width: 480px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.woocommerce form.lost_reset_password > p:first-child { margin-top: 0; color: var(--ink-2); }
.woocommerce form.lost_reset_password .woocommerce-Button { width: 100%; min-height: 52px; }
.woocommerce form.lost_reset_password .form-row-first, .woocommerce form.lost_reset_password .form-row-last { float: none; width: 100%; }

/* logged in: menu on the left, the page on the right */
.woocommerce-account.logged-in .wshop > .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.woocommerce-account.logged-in .wshop > .woocommerce::before, .woocommerce-account.logged-in .wshop > .woocommerce::after { content: none; } /* WooCommerce's float clearfix would take a grid cell */
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce form.acct-form.acct-form { margin: 0; padding: 0; border: 0; border-radius: 0; } /* over WooCommerce's boxed login/register forms */
.woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--hdr, 72px) + 24px); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none;
  color: var(--ink-2); font-weight: 500; font-size: 15px; transition: background .2s, color .2s;
}
.woocommerce-MyAccount-navigation a::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.woocommerce-MyAccount-navigation a:hover { background: var(--card); color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation-link--dashboard a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7v9h-5v-6H9v6H4z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h4v16h-4M10 8l-4 4 4 4M6 12h10'/%3E%3C/svg%3E"); color: var(--ink-3); }

/* Pregled */
.acct-dash__hi { margin-bottom: 22px; }
.acct-dash__hi h2 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; }
.acct-dash__hi p { margin: 0; color: var(--ink-2); }
.acct-dash__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; }
.acct-card { position: relative; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.acct-card__label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); }
.acct-card__empty { margin: 0 0 16px; color: var(--ink-2); }
.acct-order__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.acct-order__num { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.acct-pill { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.acct-pill--go { background: #e3efdc; color: var(--green-2); }
.acct-pill--done { background: var(--paper-2); color: var(--ink-2); }
.acct-pill--wait { background: #fbefd2; color: #7a5200; }
.acct-pill--off { background: #f8e3e7; color: var(--rasp); }
.acct-order__meta { margin: 10px 0 14px; font-size: 14.5px; color: var(--ink-2); }
.acct-order__meta strong { color: var(--ink); }
.acct-order__thumbs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; }
.acct-order__thumbs img { display: block; width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: var(--paper-2); mix-blend-mode: multiply; }
.acct-order__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce .acct-order__actions a.button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce .acct-order__actions a.button--ghost:hover, .woocommerce .acct-order__actions a.button--ghost:focus { background: var(--paper-2); color: var(--ink); }
.acct-card--delivery { background: #eef4e8; border-color: #dbe7d2; }
.acct-card__ico { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--green-2); }
.acct-card__big { margin: 0 0 8px; font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.acct-card__sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.acct-dash__links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acct-link {
  position: relative; display: grid; gap: 3px; padding: 16px 44px 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s var(--ease);
}
.acct-link::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.acct-link:hover { border-color: var(--green); }
.acct-link:hover::after { color: var(--green-2); transform: translate(3px, -50%); }
.acct-link__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.acct-link__value { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the other account pages: headings in the site's serif, forms and addresses as cards */
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .woocommerce-MyAccount-content legend {
  margin: 32px 0 14px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--ink);
}
.woocommerce-MyAccount-content > :first-child, .woocommerce-MyAccount-content form > h2:first-child, .woocommerce-MyAccount-content .woocommerce-notices-wrapper + * { margin-top: 0; }

/* Porudžbine */
.woocommerce-MyAccount-content .woocommerce-orders-table .acct-pill { white-space: nowrap; }
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions { text-align: right; }
.woocommerce-MyAccount-content .woocommerce-orders-table .button { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.woocommerce-MyAccount-content .woocommerce-orders-table .button + .button { margin-left: 8px; }
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a { font-weight: 700; color: var(--ink); }

/* one order */
.acct-view__head { margin-bottom: 8px; }
.acct-view__head .acct-order__meta { margin-bottom: 0; }
.acct-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acct-notes__item { padding: 14px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green); }
.acct-notes__date { margin: 0 0 4px; font-size: 13px; color: var(--ink-3); }
.acct-notes__text p { margin: 0; }
.woocommerce-MyAccount-content .woocommerce-customer-details address {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); font-style: normal; line-height: 1.6;
}
.woocommerce-MyAccount-content .woocommerce-customer-details address p { margin: 10px 0 0; padding-left: 26px; position: relative; color: var(--ink-2); }
.woocommerce-MyAccount-content .woocommerce-customer-details address p::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--green-2);
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; font-family: inherit; margin: 0 !important; line-height: 1; /* WooCommerce pulls its own icon 1.5em to the left */
}
.woocommerce-customer-details--phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.woocommerce-customer-details--email { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-content .order-again { margin-top: 20px; }

/* Adrese */
.acct-addr__intro { margin: 0 0 16px; color: var(--ink-2); }
.acct-addr { display: grid; grid-template-columns: minmax(0, 420px); gap: 16px; }
.acct-addr__text { margin: 0 0 18px; font-style: normal; font-size: 16px; line-height: 1.6; }
.woocommerce .acct-addr .button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce .acct-addr .button--ghost:hover, .woocommerce .acct-addr .button--ghost:focus { background: var(--paper-2); color: var(--ink); }

/* editing the address and the account details */
.woocommerce-MyAccount-content .woocommerce-address-fields, .woocommerce-MyAccount-content .woocommerce-EditAccountForm { max-width: 640px; }
.woocommerce-MyAccount-content #billing_country_field { display: none !important; } /* one country, Serbia: a line of plain text otherwise (WooCommerce's script sets display: block on it) */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ink-3); }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset { margin: 28px 0 22px; padding: 4px 22px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm legend { margin: 0; padding: 0 8px; font-size: 24px; }
.woocommerce-MyAccount-content .woocommerce-address-fields .button, .woocommerce-MyAccount-content .woocommerce-EditAccountForm .button { min-height: 52px; padding: 0 28px; margin-top: 8px; }

/* notices: the "i" (and ✓ !) in a small round badge, level with the first line */
.woocommerce-error::before, .woocommerce-message::before, .woocommerce-info::before {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; top: 16px; font: 700 13px/1 var(--sans);
}
.woocommerce-info::before, .woocommerce-message::before { background: #e3efdc; }
.woocommerce-error::before { background: #f8dde3; }

@media (max-width: 860px) {
  .acct-auth { grid-template-columns: 1fr; }
  .acct-auth__card { order: -1; }
  .acct-auth__title { font-size: 34px; margin-bottom: 18px; }
  .woocommerce-account.logged-in .wshop > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .woocommerce-MyAccount-navigation { min-width: 0; }
  .woocommerce-MyAccount-navigation { position: static; margin: 0 calc(-1 * var(--gut)); }
  .woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; overflow-x: auto; padding: 2px var(--gut); scrollbar-width: none; }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation a { white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); }
  .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
  .acct-dash__grid, .acct-dash__links { grid-template-columns: 1fr; }
}
.vb-order-place { margin-top: 16px; }

@media (max-width: 1024px) {
  .wpage__in--split, .contact__places { grid-template-columns: 1fr; }
  .inquiry { position: static; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: 100%; float: none; }
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; }
  .woocommerce table.shop_table_responsive tr td::before { content: attr(data-title) ": "; font-weight: 600; }
}

/* checkout blocked below the delivery minimum */
.vb-cart-errors__box { max-width: 720px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vb-cart-errors__box h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.02; }
.vb-cart-errors__box h2 em { color: var(--rasp); }
.vb-cart-errors__box p { color: var(--ink-2); }
.vb-cart-errors__box .wpage__cta { justify-content: flex-start; }

/* ---------- Search results ---------- */
.srch { padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); }
.srch__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 120px); line-height: .9; letter-spacing: -.025em; word-break: break-word; }
.srch__count { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; }
.srch__form { position: relative; display: flex; gap: 10px; max-width: 720px; margin-top: 28px; }
.srch__form svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--ink-3); stroke-width: 2; pointer-events: none; }
.srch__form input { flex: 1; min-width: 0; height: 58px; padding: 0 20px 0 52px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 17px var(--sans); color: var(--ink); }
.srch__form input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .12); }
.srch__form .btn { min-height: 58px; padding: 0 28px; }
.srch__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.srch__cats > span { font-size: 14px; color: var(--ink-3); margin-right: 4px; }
.srch__block { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.srch__block--posts { background: var(--paper-2); padding-top: clamp(48px, 7vw, 96px); }
.srch__empty { max-width: 1320px; }
.srch__empty h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; }
.srch__empty h2 em { color: var(--rasp); }
.srch__empty p { color: var(--ink-2); margin: 0 0 14px; }
.srch__ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.srch__or { margin-top: 8px !important; }
@media (max-width: 640px) {
  .srch__form { flex-direction: column; }
  .srch__form input { flex: none; width: 100%; }
  .srch__form svg { top: 29px; }
}


/* ======================================================================
   Checkout (Shopify / Stripe patterns): minimal chrome, numbered steps,
   choice cards, sticky summary, total on the pay button
   ====================================================================== */
body.vb-checkout { background: var(--paper); }
body.vb-checkout .wpage { padding-top: clamp(20px, 3vw, 40px); }
body.vb-checkout .wpage__head { display: none; }
body.vb-checkout .wshop { max-width: none; }

.header--min { position: sticky; top: 0; }
.header--min .header__in { min-height: 68px; gap: 24px; }
.co-steps { display: flex; align-items: center; gap: 0; margin: 0 auto; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.co-steps li { display: flex; align-items: center; }
.co-steps li + li::before { content: ""; width: 34px; height: 1px; margin: 0 12px; background: var(--line); }
.co-steps button, .co-steps span { border: 0; background: none; padding: 0; font: inherit; color: inherit; }
.co-steps button:not([disabled]) { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.co-steps .is-done { color: var(--green-2); }
.co-steps .is-current { color: var(--ink); }
.co-secure { display: flex; align-items: center; gap: 18px; font-size: 13.5px; color: var(--ink-2); }
.co-secure__lock { display: inline-flex; align-items: center; gap: 6px; }
.co-secure svg { width: 16px; height: 16px; fill: none; stroke: var(--green-2); stroke-width: 2; }
.co-secure a { font-weight: 700; color: var(--ink); text-decoration: none; }
.footer-min { border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 13px; color: var(--ink-3); }
.footer-min__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-min p { margin: 0; }
.footer-min nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-min a { color: var(--ink-2); }

/* layout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.co__main { max-width: 640px; }
.co__side { position: sticky; top: calc(var(--hdr, 68px) + 20px); }

/* steps */
.co-step { padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.co-step:last-child { border-bottom: 0; }
.co-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.co-step__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.co-step__n { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; }
.co-step__aside { margin-left: auto; font-size: 14px; color: var(--green-2); font-weight: 600; }

/* fields */
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.co-fields > .form-row { width: auto !important; float: none !important; margin: 0 0 14px !important; }
.co-fields > .form-row-wide, .co-fields > details { grid-column: 1 / -1; }
.co .form-row label { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.co .form-row .optional { font-weight: 400; color: var(--ink-3); }
.co .form-row .required { color: var(--rasp); text-decoration: none; border: 0; }
.co .form-row input.input-text, .co .form-row textarea { width: 100%; min-height: 52px; padding: 12px 15px; border-radius: 12px; border: 1px solid #d9d2c5; background: #fff; font: 500 16px var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.co .form-row textarea { min-height: 88px; }
.co .form-row input:focus, .co .form-row textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .14); }
.co .form-row .description { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); }
.co .woocommerce-invalid input.input-text { border-color: var(--rasp); box-shadow: 0 0 0 3px rgba(200, 25, 63, .1); }
.co .woocommerce-validated input.input-text { border-color: #b9d3bf; }
.co-more { grid-column: 1 / -1; margin: -4px 0 14px; }
.co-more summary { display: inline-block; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--green-2); }
.co-more summary::-webkit-details-marker { display: none; }
.co-more[open] summary { display: none; }
.co-more--note { margin-top: 18px; }

/* choice cards: shipping method + pickup place */
.co-ship { display: grid; gap: 10px; }
.co-choice { position: relative; display: grid; grid-template-columns: 22px 40px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; border: 1px solid #d9d2c5; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.co-choice:hover { border-color: var(--ink-3); }
.co-choice input, .co-place input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 1.5px solid #b8b0a2; background: #fff; transition: border .15s; }
.co-choice input:checked, .co-place input:checked { border: 6px solid var(--green); }
.co-choice.is-checked { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.co-choice.is-disabled { cursor: not-allowed; background: var(--paper-2); }
.co-choice.is-disabled .co-choice__title, .co-choice.is-disabled .co-choice__price, .co-choice.is-disabled .co-choice__icon { opacity: .5; }
.co-choice__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); }
.co-choice__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.co-choice__title { display: block; font-weight: 700; font-size: 16px; }
.co-choice__meta { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.co-choice__warn { color: var(--rasp-2); font-weight: 600; }
.co-choice__price { text-align: right; font-weight: 700; font-size: 16px; white-space: nowrap; }
.co-choice__price small { display: block; font-size: 12px; font-weight: 600; color: var(--green-2); }
.co [data-when="preuzimanje"] { display: none; }
.co.is-pickup [data-when="preuzimanje"] { display: block; }
.co.is-pickup span[data-when="preuzimanje"] { display: inline; }
.co.is-pickup [data-when="dostava"] { display: none; }
.co-places { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.co.is-pickup .co-places { display: grid; }
.co-place { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid #d9d2c5; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.co-place input { flex: none; margin-top: 2px; }
.co-place.is-checked { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.co-place strong { display: block; font-size: 15px; line-height: 1.25; }
.co-place small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-3); }
.co-account { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid #d9d2c5; background: #fff; cursor: pointer; }
.co-account:hover { border-color: var(--ink-3); }
.co-account:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.co-account input { margin-top: 0; }
.co-account strong { display: block; font-size: 15px; line-height: 1.25; }
.co-account small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-3); }

/* checkboxes (new account, terms): the choice cards' radio drawn square, green with a white tick when on */
.co-account input, .co .woocommerce-form__label-for-checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid #b8b0a2; background: #fff center / 14px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.co-account input:checked, .co .woocommerce-form__label-for-checkbox input[type="checkbox"]:checked {
  border-color: var(--green); background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
}
.co-account input:focus-visible, .co .woocommerce-form__label-for-checkbox input[type="checkbox"]:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }
/* left unticked: the text fields' error ring instead of WooCommerce's dark red outline */
.co .woocommerce-invalid .woocommerce-form__label-for-checkbox input[type="checkbox"]:not(:checked) { border-color: var(--rasp); box-shadow: 0 0 0 3px rgba(200, 25, 63, .1); }
.co .woocommerce-invalid #terms:not(:focus-visible) { outline: 0; } /* WooCommerce's rule has the id too */

/* payment + pay button */
.co #payment { margin: 0; padding: 0; background: none; border: 0; }
.co #payment ul.payment_methods { margin: 0 0 16px; padding: 0; border: 0; }
.co #payment ul.payment_methods li { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--green); box-shadow: 0 0 0 1px var(--green) inset; background: #fff; list-style: none; }
.co #payment ul.payment_methods li + li { margin-top: 10px; }
.co #payment ul.payment_methods label { font-weight: 700; font-size: 16px; }
.co #payment ul.payment_methods input { accent-color: var(--green); margin-right: 8px; }
.woocommerce-checkout .co #payment div.payment_box { margin: 6px 0 0; padding: 0 0 0 28px; background: none; font-size: 14px; color: var(--ink-2); }
.woocommerce-checkout .co #payment div.payment_box p { margin: 0; }
.woocommerce-checkout .co #payment div.payment_box::before { display: none; }
/* one payment method: WooCommerce hides its radio, so the description lines up with the title */
.woocommerce-checkout .co #payment ul.payment_methods li:only-child div.payment_box { padding-left: 0; margin-top: 4px; }
.co #payment .form-row.place-order { margin: 0; padding: 0; }
.co .woocommerce-terms-and-conditions-wrapper { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-2); }
.co .woocommerce-privacy-policy-text p { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-3); }
.co .woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
/* WooCommerce keeps this label inline (its rule outranks the flex above), so the box sits in the line of text */
.co .woocommerce-form__label-for-checkbox input[type="checkbox"] { display: inline-block; margin: 0 10px 0 0; vertical-align: -4px; }
.woocommerce .co #place_order.co-pay, .co-pay {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 62px; margin: 4px 0 0; padding: 0 24px;
  border: 0; border-radius: 16px; background: var(--green); color: #fff; font: 700 18px var(--sans); cursor: pointer; box-shadow: 0 14px 30px -14px rgba(29, 74, 44, .8);
  transition: background .2s, transform .15s;
}
/* While the order is being sent, WooCommerce lays a 60 % white sheet over the whole form (jQuery blockUI) and adds
   .processing (removed again if it fails). The sheet stays, so nothing can be clicked twice, but it is invisible;
   the button says what is happening instead. Summary/payment refreshes (delivery ↔ pickup) get only a light veil. */
.co .blockUI.blockOverlay { background: rgba(247, 244, 236, .45) !important; opacity: 1 !important; cursor: progress !important; }
form.co.processing > .blockUI.blockOverlay { background: transparent !important; }
.woocommerce .co.processing #place_order { pointer-events: none; background: var(--green-2); }
.co.processing #place_order > * { display: none; }
.co.processing #place_order::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: co-spin .8s linear infinite; }
.co.processing #place_order::after { content: "Šaljem porudžbinu…"; }
@keyframes co-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .co.processing #place_order::before { animation-duration: 2.4s; } }

/* the newsletter box a plugin (Mailchimp for WooCommerce) prints under the customer's details, drawn like the
   "Napravite nalog" card above it. It marks its label "inline", and WooCommerce's own
   `.woocommerce form .form-row label.inline { display: inline }` would win over a plain rule, hence the longer selectors. */
/* the note field (order_comments) carries class input-text, and WooCommerce's `.woocommerce form .form-row .input-text`
   outranks `.co .form-row textarea`: the same look as the other fields, with a selector that wins */
.co .form-row textarea.input-text {
  width: 100%; min-height: 88px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: 500 15px var(--sans); line-height: 1.45; color: var(--ink); resize: vertical; box-sizing: border-box;
}
.co .form-row textarea.input-text::placeholder { color: var(--ink-3); font-weight: 400; }
.co .form-row textarea.input-text:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .14); }

/* a code for a discount, under "Vaša porudžbina" (form-checkout.php), and its line in the totals (review-order.php) */
.co-coupon { margin: 14px 0 0; }
.co-coupon > summary { display: inline-flex; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.co-coupon > summary::-webkit-details-marker { display: none; }
.co-coupon[open] > summary { margin-bottom: 10px; }
.co-coupon__row { display: flex; gap: 8px; }
.co-coupon__row input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #d9d2c5; border-radius: 12px; background: #fff;
  font: 600 15px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.co-coupon__row input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-3); }
.co-coupon__row input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .14); }
.co-coupon__row .btn { height: 46px; padding: 0 18px; flex: none; }
.co-coupon__msg { margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; color: #a3122f; }
.co-coupon__msg.is-ok { color: var(--green-2); }
.co-totals__discount dt strong { letter-spacing: .03em; }
.co-totals__discount dd { color: var(--green-2); font-weight: 600; }
.co-totals__discount .woocommerce-remove-coupon { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }

.co .form-row.mailchimp-newsletter { margin: 10px 0 0; padding: 0; }
.co .form-row.mailchimp-newsletter + .clear { display: none; }
.co .form-row.mailchimp-newsletter label.woocommerce-form__label-for-checkbox.inline {
  display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 16px;
  border: 1px solid #d9d2c5; background: #fff; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.35;
}
.co .form-row.mailchimp-newsletter label.woocommerce-form__label-for-checkbox.inline:hover { border-color: var(--ink-3); }
.co .form-row.mailchimp-newsletter label.woocommerce-form__label-for-checkbox.inline:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.co .form-row.mailchimp-newsletter label.woocommerce-form__label-for-checkbox.inline input[type="checkbox"] { margin-top: 0; }
.co-pay:hover { background: var(--green-2) !important; }
.co-pay:active { transform: scale(.99); }
.co-pay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.co-pay__sum { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 600; font-size: 16px; }
.co-trust { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.co-trust li { display: flex; gap: 10px; align-items: flex-start; }
.co-trust svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--green-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.co-trust strong { color: var(--ink); }
.co-trust a { color: var(--green-2); font-weight: 700; }

/* summary */
.co-sum-toggle { display: none; }
.co-sum-wrap { padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.co-sum-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.co-sum-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.co-sum-head .link-btn { font-size: 14px; }
.co-sum { background: none; border: 0; border-radius: 0; overflow: visible; }
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.co-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; }
.co-item__img { position: relative; width: 60px; height: 60px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.co-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: 12px; padding: 4px; box-sizing: border-box; }
.co-item__qty { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--ink-2); color: #fff; font-size: 12px; font-weight: 700; }
.co-item__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.co-item__name small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.co-item__sum { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.co-totals { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.co-totals div { display: flex; justify-content: space-between; gap: 12px; }
.co-totals dt { color: var(--ink-2); }
.co-totals dd { margin: 0; font-weight: 600; }
.co-totals__total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); align-items: baseline; }
.co-totals__total dt { color: var(--ink); font-weight: 700; font-size: 16px; }
.co-totals__total dd { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }

/* thank you */
.ty { max-width: 1080px; margin: 0 auto; padding-bottom: 24px; }
.ty-hero { max-width: 760px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ty-check { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 10px rgba(29, 74, 44, .08); animation: tyPop .6s var(--ease) both; }
.ty-check svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: tyDraw .5s .3s var(--ease) forwards; }
@keyframes tyPop { from { transform: scale(.4); opacity: 0; } }
@keyframes tyDraw { to { stroke-dashoffset: 0; } }
.ty-hero .eyebrow { margin: 0; }
.ty-hero h1 { margin: 10px 0 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 96px); line-height: .92; letter-spacing: -.02em; }
.ty-hero h1 em { color: var(--rasp); }
.ty-lead { max-width: 620px; margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.ty-lead strong { color: var(--ink); }
.ty-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.ty-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: stretch; }
.ty-panel { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.ty-panel h2 { margin: 0 0 22px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.ty-steps { list-style: none; margin: 0; padding: 0; }
.ty-steps li { position: relative; display: flex; gap: 16px; padding: 0 0 22px; }
.ty-steps li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 2px; background: var(--line); }
.ty-steps li.is-done:not(:last-child)::before { background: var(--green); }
.ty-steps__dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d9d2c5; background: #fff; }
.ty-steps li.is-done .ty-steps__dot { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ty-steps li.is-next .ty-steps__dot { border-color: var(--green); box-shadow: 0 0 0 4px rgba(43, 106, 61, .15); animation: tyPulse 2s infinite; }
@keyframes tyPulse { 50% { box-shadow: 0 0 0 7px rgba(43, 106, 61, .06); } }
.ty-steps strong { display: block; font-size: 16px; line-height: 1.3; }
.ty-steps span { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.ty-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 6px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.ty-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ty-facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; word-break: break-word; }
.ty-card__note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.ty-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 20px; padding: 18px 24px; border-radius: var(--r-lg); background: var(--paper-2); }
.ty-help p { margin: 0; font-size: 15px; color: var(--ink-2); }
.ty-help strong { color: var(--ink); }
.ty-help .btn { min-height: 46px; gap: 8px; }
.ty-help .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ty > p { display: none; }

@media (max-width: 1024px) {
  .co { grid-template-columns: 1fr; }
  .co__main { max-width: none; }
  .co__side { position: static; order: -1; margin-bottom: 28px; }
  .co-sum-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font: 600 15px var(--sans); color: var(--green-2); cursor: pointer; }
  .co-sum-toggle strong { color: var(--ink); font-size: 18px; }
  .co-sum-wrap { display: none; margin-top: 10px; }
  .co-sum-wrap.is-open { display: block; }
  .ty-grid { grid-template-columns: 1fr; }
  .ty-facts { grid-template-columns: 1fr; }
  .co-secure__lock { display: none; }
}
@media (max-width: 760px) {
  .co-steps { display: none; }
  .co-fields { grid-template-columns: 1fr; }
  .co-places { grid-template-columns: 1fr; }
  .co-choice { grid-template-columns: 22px 1fr auto; padding: 16px; }
  .co-choice__icon { display: none; }
  .co-step__head h2 { font-size: 28px; }
  .header--min .header__in { flex-wrap: nowrap; }
}

.mpromo__img.is-photo { transform: none; background: none; }
.mpromo__img.is-photo img { aspect-ratio: 4 / 3; }

/* recipe blocks outside a recipe post (the recipe layout replaces them with the cards) */
.wp-block-vasabasta-sastojci, .wp-block-vasabasta-priprema { margin: 1.8em 0; padding: 20px 24px 8px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.vb-block__title { font-family: var(--serif); font-size: 28px !important; line-height: 1.1; color: var(--ink); margin: 0 0 10px !important; }

/* uploaded logo (Prilagođavanje → Identitet veb mesta → Logo) */
.logo__img { display: block; height: 48px; width: auto; max-width: 180px; aspect-ratio: 458 / 141; overflow: visible; }
/* hover: the leaves sway and the intro's seed sparks rise from them (class set in app.js for a mouse, played to the end) */
.logo__leaf--l { transform-origin: 31px 54px; }
.logo__leaf--r { transform-origin: 44px 37px; }
.logo__sparks circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.logo.is-grow .logo__leaf--r { animation: logoLeafR .95s cubic-bezier(.2, .9, .3, 1.16); }
.logo.is-grow .logo__leaf--l { animation: logoLeafL .95s .07s cubic-bezier(.2, .9, .3, 1.16) backwards; }
.logo.is-grow .logo__sparks circle { animation: logoSpark .8s cubic-bezier(.22, 1, .36, 1) backwards; }
.logo.is-grow .logo__sparks circle:nth-child(2) { animation-delay: .08s; }
.logo.is-grow .logo__sparks circle:nth-child(3) { animation-delay: .16s; }
.logo.is-grow .logo__sparks circle:nth-child(4) { animation-delay: .05s; }
.logo.is-grow .logo__sparks circle:nth-child(5) { animation-delay: .2s; }
@keyframes logoLeafR { 30% { transform: rotate(-10deg) scale(1.06); } 62% { transform: rotate(4deg) scale(.99); } }
@keyframes logoLeafL { 30% { transform: rotate(9deg) scale(1.06); } 62% { transform: rotate(-3deg) scale(.99); } }
@keyframes logoSpark {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  35% { opacity: .9; transform: translate(calc(var(--x) * .5), calc(var(--y) * .5)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); }
}
.header--min .logo__img { height: 42px; }
@media (max-width: 860px) { .logo__img { height: 38px; } }

/* footer: the logo's shape filled with the footer gradient (green leaves → cream → fades into the footer) */
.footer__mark--logo {
  width: min(calc(100% - 2 * var(--gut)), 1180px); aspect-ratio: var(--logo-ratio, 458 / 141);
  margin: clamp(16px, 3vw, 40px) auto clamp(8px, 2vw, 24px); padding: 0; transform: none;
  background: linear-gradient(180deg, var(--leaf) 0%, #f6f1e7 38%, rgba(246, 241, 231, .5) 72%, rgba(246, 241, 231, .12) 100%);
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}

/* ---------- Badges: light glass pill, raspberry spark, spaced caps (like the eyebrows) ---------- */
.card__tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px -10px rgba(23, 22, 15, .45), inset 0 0 0 1px rgba(255, 255, 255, .7);
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
}
.card__tag::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--rasp)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 3.5l2.1 5.2 5.4.4-4.1 3.5 1.3 5.4L12 15.1 7.3 18l1.3-5.4-4.1-3.5 5.4-.4z'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.card__tag--green::before { background-color: var(--green-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16v12H4zM2 4h20v4H2zM12 8v12'/%3E%3C/svg%3E"); }
.card__tag--muted { background: rgba(23, 22, 15, .72); color: #fff; box-shadow: none; }
.card__tag--muted::before { background: rgba(255, 255, 255, .25); }
.card--photo .card__tag, .pdp__img--photo .card__tag { background: rgba(255, 255, 255, .9); }
/* "Nema na stanju" on a photo used to get the light background above but keep white text, so it read as a white
   smudge. It is its own quiet pill now: light, dark letters, a grey dot with a cross — legible on any photo. */
.card__tag--muted, .card--photo .card__tag--muted, .pdp__img--photo .card__tag--muted {
  background: rgba(252, 250, 245, .94); color: var(--ink-2);
  box-shadow: 0 8px 20px -12px rgba(23, 22, 15, .5), inset 0 0 0 1px var(--line);
}
.card__tag--muted::before {
  background: var(--ink-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

/* ---------- Pack size sticker on the product photo ---------- */
.pdp__pack {
  position: absolute; right: 22px; bottom: 22px; display: grid; place-content: center; justify-items: center; gap: 1px;
  width: 104px; height: 104px; border-radius: 50%; background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 14px 30px -16px rgba(23, 22, 15, .5), inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(29, 74, 44, .35);
  transform: rotate(-8deg); animation: packIn .7s .2s var(--ease) both;
}
.pdp__pack small { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-2); }
.pdp__pack strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: .95; letter-spacing: -.01em; white-space: nowrap; }
@keyframes packIn { from { opacity: 0; transform: rotate(-30deg) scale(.6); } }
@media (max-width: 640px) {
  .pdp__pack { width: 84px; height: 84px; right: 14px; bottom: 14px; }
  .pdp__pack strong { font-size: 27px; }
}

/* product buy bar attached to the header (moves with it, never separates) */
/* the bar slides down from under the header: it lives in a clipped strip right below it */
.sbar-clip { position: absolute; top: calc(100% + 1px); left: 0; right: 0; height: 120px; overflow: hidden; pointer-events: none; }
.sbar-clip > .sbar {
  position: absolute; top: 0; left: 0; right: 0; pointer-events: none;
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(23, 22, 15, .22);
}
.sbar-clip > .sbar.is-on { pointer-events: auto; }
.header.has-sbar { box-shadow: none; }   /* one shadow at a time: the bar carries it */

/* shop filters stuck under the header: same look as the product bar (full-width hairline + soft shadow) */
.toolbar[hidden] { display: none; }
.toolbar::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.toolbar.is-stuck::after { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(23, 22, 15, .22); }
@media (max-width: 640px) {
  .sbar-clip { position: static; height: auto; overflow: visible; }
  .sbar-clip > .sbar { position: fixed; top: auto; bottom: 0; border-bottom: 0; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -14px rgba(23, 22, 15, .22); }
  /* the toast clears the buy bar while it is up */
  body:has(.sbar-clip > .sbar.is-on) .toast { bottom: calc(var(--sbar-h, 74px) + 10px); }
  /* product page, phone: with something in the cart the cart bar stays too; while the buy bar is up it floats just
     above it, and the toast above both */
  body.is-pdp .mbar { transition: transform .45s var(--ease), bottom .45s var(--ease); }
  body.is-pdp:has(.sbar-clip > .sbar.is-on) .mbar { bottom: calc(var(--sbar-h, 74px) + 10px); }
  body.is-pdp.has-mbar:has(.sbar-clip > .sbar.is-on) .toast { bottom: calc(var(--sbar-h, 74px) + 78px); }
  body.is-pdp.has-mbar { padding-bottom: 150px; }
}

/* accordions: animated open/close (height set by app.js) */
details > .dt-body { overflow: hidden; }
.acc details[data-closing="1"] summary::after { transform: none; }
.faq__list details[data-closing="1"] summary::after { transform: none; background: transparent; color: inherit; border-color: var(--line); }

/* ---------- Nutrition label (like the declaration on a pack, in the site's style) ---------- */
.nlabel { padding: 18px 20px 16px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-size: 14.5px; }
.nlabel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 8px solid var(--ink); }
.nlabel__head strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; }
.nlabel__head span { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nlabel__energy { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 3px solid var(--ink); }
.nlabel__energy span { font-weight: 700; font-size: 16px; }
.nlabel__energy strong { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.nlabel table { width: 100%; border-collapse: collapse; }
.nlabel th, .nlabel td { padding: 7px 0; border-bottom: 1px solid rgba(23, 22, 15, .18); text-align: left; font-weight: 600; }
.nlabel td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nlabel tr.is-sub th { padding-left: 16px; font-weight: 400; color: var(--ink-2); }
.nlabel tr.is-sub td { font-weight: 400; }
.nlabel tr:last-child th, .nlabel tr:last-child td { border-bottom: 0; }
.nlabel__note { margin: 10px 0 0 !important; padding-top: 10px; border-top: 3px solid var(--ink); font-size: 13px; color: var(--ink-2); }

/* ---------- Stars ---------- */
.stars { position: relative; display: inline-block; width: 92px; height: 17px; flex: none; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23ddd5c9' d='M10 1.5l2.6 5.4 5.9.8-4.3 4.1 1 5.9L10 14.9l-5.2 2.8 1-5.9L1.5 7.7l5.9-.8z'/%3E%3C/svg%3E") left center / 18.4px 17px repeat-x; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23e2a100' d='M10 1.5l2.6 5.4 5.9.8-4.3 4.1 1 5.9L10 14.9l-5.2 2.8 1-5.9L1.5 7.7l5.9-.8z'/%3E%3C/svg%3E") left center / 18.4px 17px repeat-x; }
.stars--sm { width: 70px; height: 13px; background-size: 14px 13px; }
.stars--sm .stars__fill { background-size: 14px 13px; }

/* rating line under the product title */
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.pdp__rating strong { color: var(--ink); }
.pdp__rating span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.pdp__rating:hover span { text-decoration-color: currentColor; }

/* ---------- Reviews accordion ---------- */
.rvs summary { gap: 12px; }
.rvs__sum { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; margin-right: auto; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rvs__thanks { margin: 0 0 16px !important; padding: 12px 16px; border-radius: 12px; background: #e3efe3; color: var(--green) !important; font-weight: 600; }
.rvs__overview { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rvs__score { display: grid; justify-items: center; gap: 6px; text-align: center; }
.rvs__score strong { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: .9; color: var(--ink); }
.rvs__score > span:last-child { font-size: 13px; color: var(--ink-3); }
.rvs__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.rvs__bars li { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; }
.rvs__bars li > span:last-child { text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rvs__bar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.rvs__bar span { display: block; height: 100%; border-radius: inherit; background: #e2a100; }
.rvs__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 6px; }
.rvs__shown { font-size: 13.5px; color: var(--ink-3); }
.rvs__sort select { height: 38px; font-size: 13.5px; }
.rvs__list { display: grid; }
.rv { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv.is-new { animation: cardIn .5s var(--ease) backwards; }
.rv__head { display: flex; align-items: center; gap: 12px; }
.rv__avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--paper-2); font-family: var(--serif); font-size: 20px; color: var(--green); }
.rv__who { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.rv__who strong { color: var(--ink); font-size: 15px; }
.rv__who > span { font-size: 12.5px; color: var(--ink-3); }
.rv__verified { font-style: normal; color: var(--green-2); font-weight: 600; }
.rv__text { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.rv__text p { margin: 0 0 6px !important; }
.rvs__more { margin: 16px 0 4px; width: 100%; }
.rvs__empty { color: var(--ink-2); }

/* review form */
.rvf { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rvf h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); }
.rvf .form-row { margin: 0 0 12px; }
.rvf label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rvf .required { color: var(--rasp); }
.rvf textarea, .rvf input.input-text { width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 12px; border: 1px solid #d9d2c5; background: #fff; font: 500 15px var(--sans); color: var(--ink); }
.rvf textarea:focus, .rvf input.input-text:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(43, 106, 61, .12); }
.rvf small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.rvf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rvf__error { margin: 0 0 12px !important; color: var(--rasp-2) !important; font-weight: 600; font-size: 14px; }
.rvf__fine { margin: 8px 0 0 !important; font-size: 12.5px !important; color: var(--ink-3) !important; }
@media (max-width: 640px) {
  .rvs__overview { grid-template-columns: 1fr; }
  .rvf__row { grid-template-columns: 1fr; }
  .rvs__sum .stars { display: none; }
}

/* ---------- Review form: rating ---------- */
.rvf__stars { border: 0; margin: 0 0 16px; padding: 0; }
.rvf__stars legend { padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rvf__rate { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid #e6ddd0; }
.rvf__pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rvf__pick input { position: absolute; opacity: 0; pointer-events: none; }
.rvf .rvf__pick label { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 12px; cursor: pointer; transition: background .2s; }
.rvf__pick svg { width: 36px; height: 36px; fill: transparent; stroke: #cdbfa9; stroke-width: 1.5; stroke-linejoin: round; transition: fill .18s, stroke .18s, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.rvf__pick label:hover svg, .rvf__pick label:hover ~ label svg,
.rvf__pick input:checked ~ label svg { fill: #f2b01e; stroke: #e2a100; }
.rvf__pick label:hover svg { transform: scale(1.18) rotate(-6deg); }
.rvf__pick:hover input:checked ~ label svg { fill: #f2b01e; }
.rvf__pick input:focus-visible + label { outline: 2px solid var(--rasp); outline-offset: 2px; }
.rvf__pick.is-pop input:checked + label svg { animation: starPop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes starPop { 40% { transform: scale(1.35) rotate(-10deg); } }
.rvf__rate-label { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink-3); transition: color .2s; }
.rvf__rate-label.is-set { color: var(--ink); }

/* ---------- Review form: photos ---------- */
.rvf__photos { margin: 0 0 14px; }
.rvf__label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rvf__opt { font-weight: 400; color: var(--ink-3); }
.rvf__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.rvf__thumbs:not(:empty) { margin-bottom: 10px; }
.rvf__thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--paper-2); animation: cardIn .35s var(--ease) backwards; }
.rvf__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rvf__thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(23, 22, 15, .72); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.rvf .rvf__drop { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 18px; border-radius: 14px; border: 1.5px dashed #d2c6b3; background: #fff; color: var(--ink-2); font-weight: 400; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.rvf__drop:hover, .rvf__drop.is-over { border-color: var(--green-2); background: #f3f8f2; }
.rvf__drop[hidden] { display: none; }
.rvf__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rvf__drop svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--green-2); stroke-width: 1.7; stroke-linejoin: round; }
.rvf__drop strong { color: var(--ink); }
.rvf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rvf__captcha { margin: 4px 0 14px; }

/* ---------- Photos in reviews + lightbox ---------- */
.rv__imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rv__img { width: 76px; height: 76px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; transition: transform .25s var(--ease), box-shadow .25s; }
.rv__img:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(23, 22, 15, .5); }
.rv__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb { width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 22px; background: #111; overflow: hidden; }
.lb::backdrop { background: rgba(10, 10, 8, .8); }
.lb[open] { animation: qvIn .35s var(--ease); display: grid; place-items: center; }
.lb img { display: block; max-width: 100%; max-height: calc(100vh - 48px); object-fit: contain; }
.lb__close, .lb__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.lb__close { top: 12px; right: 12px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
.lb__count { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; }
.lb.is-single .lb__nav, .lb.is-single .lb__count { display: none; }
@media (max-width: 640px) {
  .rvf .rvf__pick label { width: 40px; height: 40px; }
  .rvf__pick svg { width: 32px; height: 32px; }
  .rvf__rate-label { font-size: 22px; }
}

/* ---------- Homepage review wall ---------- */
.rwall { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); background: var(--paper-2); }
.rwall__head { align-items: flex-end; }
.rwall__score { display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.rwall__score strong { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: .9; color: var(--ink); }
.rwall__score div { display: grid; gap: 6px; }
.rwall__score span:not(.stars):not(.stars__fill) { font-size: 13.5px; color: var(--ink-2); }

.rwall__wrap { position: relative; max-height: 1120px; overflow: hidden; overflow: clip; transition: max-height .7s var(--ease); }   /* clip: cannot be scrolled from inside (focus, scrollIntoView) */
.rwall__wrap:not(.is-open):not(.is-short) { clip-path: inset(0); }   /* Chrome lets animated cards in columns escape overflow: hidden */
.rwall__wrap.is-open { overflow: visible; }
.rwall__grid { columns: 3 300px; column-gap: 18px; }
.rwall__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  background: linear-gradient(to bottom, rgba(239, 232, 218, 0), var(--paper-2) 72%); pointer-events: none; transition: opacity .4s;
}
.rwall__fade .btn { pointer-events: auto; background: var(--card); box-shadow: var(--shadow); }
.rwall__wrap.is-open .rwall__fade, .rwall__wrap.is-short .rwall__fade { opacity: 0; visibility: hidden; }
.rwall__wrap.is-short { max-height: none; }

.wr {
  display: block; break-inside: avoid; margin: 0 0 18px; overflow: hidden;
  border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .9s var(--ease);
}
.wr:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.wr.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .35s var(--ease); }
.wr__photo { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: var(--paper-2); overflow: hidden; }
.wr__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.wr__photo:hover img { transform: scale(1.04); }
.wr__body { padding: 20px 20px 18px; }
.wr__text { margin: 12px 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink); quotes: none; }
.wr--quote .wr__text { font-family: var(--serif); font-size: clamp(24px, 2.1vw, 28px); line-height: 1.18; letter-spacing: -.005em; }
.wr--quote .wr__text::before { content: "“"; display: block; height: .5em; margin-bottom: 4px; font-size: 1.9em; line-height: 1; color: var(--rasp); }
.wr__foot { display: flex; align-items: center; gap: 10px; }
.wr__foot .rv__avatar { width: 34px; height: 34px; font-size: 18px; background: var(--paper-2); }
.wr__who { display: grid; line-height: 1.25; }
.wr__who strong { font-size: 14.5px; color: var(--ink); }
.wr__who span { font-size: 12.5px; color: var(--ink-3); }
.wr__prod {
  display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 12px 8px 8px; border-radius: 14px;
  background: var(--paper); color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600; line-height: 1.25;
  transition: background .25s;
}
.wr__prod img { width: 36px; height: 36px; flex: none; border-radius: 10px; object-fit: contain; background: var(--tint, var(--paper-2)); mix-blend-mode: multiply; }
.wr__prod span:not(.wr__arrow) { flex: 1; min-width: 0; }
.wr__arrow { color: var(--ink-3); transition: transform .25s var(--ease), color .25s; }
.wr__prod:hover { background: #fff; }
.wr__prod:hover .wr__arrow { transform: translateX(3px); color: var(--green); }

/* phones: a swipeable row instead of a very long column */
@media (max-width: 640px) {
  .rwall__score { padding: 10px 16px 10px 14px; }
  .rwall__score strong { font-size: 42px; }
  .rwall__wrap { max-height: none; overflow: visible; clip-path: none !important; }
  .rwall__fade { display: none; }
  .rwall__grid {
    columns: auto; display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 16px; scroll-padding: 0 var(--gut); scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .rwall__grid::-webkit-scrollbar { display: none; }
  .wr { flex: 0 0 84%; margin: 0; scroll-snap-align: start; }
  .wr:hover { transform: none; }
  .wr--quote .wr__text { font-size: 23px; }
  .wr__photo img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .rwall__wrap { transition: none; }
}

/* buttons inside page text (e.g. "Poručite ovde" on /ariljske-maline/) keep their own colours */
.prose a.btn { text-decoration: none; }
.prose a.btn--primary, .prose a.btn--primary:hover { color: #fff; }

/* pages built from section blocks (e.g. Česta pitanja): the page title, then full-width sections */
.wpage--sections { padding-bottom: 0; }
.wpage--sections + .faq { padding-top: clamp(24px, 4vw, 48px); }
.faq + .faq { padding-top: 0; }
.faq + .faq .faq__in { position: relative; padding-top: clamp(40px, 6vw, 72px); }
.faq + .faq .faq__in::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line); }
.wpage__lead { max-width: 640px; margin: 14px 0 0; color: var(--ink-2); font-size: clamp(16.5px, 1.4vw, 19px); }

/* ---------- Mobile product page: image, name, both prices and the buy button in the first screen ---------- */
@media (max-width: 860px) {
  /* one header row: logo · search · cart · menu. The delivery/pickup switch is the price choice on the page itself,
     the next delivery date is in that choice's strip; the search field opens from the magnifier */
  body.is-pdp .utility, body.is-pdp .header .mode--header { display: none; }
  body.is-pdp .header .search { display: none; }
  body.is-pdp .header.is-search .search { display: block; order: 5; flex-basis: 100%; }
  body.is-pdp .search-toggle { display: inline-grid; order: 1; margin-left: auto; }
  body.is-pdp .header.is-search .search-toggle { background: var(--paper-2); }
  body.is-pdp .cart-btn { order: 2; }
  body.is-pdp .menu-toggle { order: 3; }
}
@media (max-width: 640px) {
  .pdp { gap: 14px; padding-top: 10px; }
  .pdp__img { aspect-ratio: 16 / 11; border-radius: 22px; }
  .pdp__img .card__tag { top: 12px; left: 12px; font-size: 11px; padding: 6px 11px 6px 8px; }
  .pdp__img .card__tag:not(.card__tag--muted) { display: none; } /* phones: only "Nema na stanju" stays on the photo; the badge system is being redesigned */
  .pdp__pack { width: 64px; height: 64px; right: 10px; bottom: 10px; }
  .pdp__pack small { font-size: 8px; }
  .pdp__pack strong { font-size: 21px; }
  .pdp__info { gap: 12px; }
  /* name first, then straight to the choice and the button; the short text and details follow */
  .pdp__info > * { order: 2; }
  .pdp__head { order: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .popts, .pbuy, .incart, .dstrip { order: 1; }
  .pcrumbs { flex-basis: 100%; }
  .pcrumbs ol { margin: 0; }
  .pcrumbs li:not(:last-child) { display: none; }
  .pcrumbs li:last-child::before { content: "‹"; margin: 0 6px 0 0; font-size: 16px; line-height: 1; }
  .pdp h1 { flex-basis: 100%; font-size: 32px; line-height: 1.02; }
  .pdp__rating { margin: 0; gap: 6px; font-size: 13px; }
  .pdp__rating .stars { transform: scale(.85); transform-origin: left center; margin-right: -8px; }
  .pdp__unit { margin: 0; font-size: 13.5px; color: var(--ink-3); }
  .pdp__rating + .pdp__unit::before { content: "·"; margin-right: 10px; }
  /* the two prices side by side */
  .popts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .popt { gap: 1px; padding: 10px 12px 10px 13px; border-radius: 16px; }
  .popt span { font-size: 12.5px; padding-right: 22px; }
  .popt strong { font-size: 20px; }
  .popt small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .popt::after { top: 11px; right: 11px; width: 16px; height: 16px; }
  .popt.is-current::after { border-width: 4.5px; }
  .qty { height: 52px; grid-template-columns: 40px 30px 40px; }
  .qty button { width: 38px; height: 38px; }
  .pbuy .btn { min-height: 52px; }
}


/* small phones (≤ 380 px): logo, delivery/pickup switch and cart stay on one row instead of wrapping into three */
@media (max-width: 380px) {
  .header__in { gap: 8px 8px; }
  .logo__img { height: 32px; }
  .mode--header .mode__opt { padding: 8px 10px; font-size: 12.5px; }
  .cart-btn { padding: 0 12px; }
}

/* ---------- Preporuke (influencers): a looping carousel, the one in front plays (template-parts/sections/voices.php) ---------- */
.vc { padding: clamp(64px, 9vw, 120px) 0; background: var(--paper); overflow-x: clip; }
.vc__in { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.vc__head { position: sticky; top: calc(var(--hdr, 72px) + 32px); }
.vc__stars { margin-bottom: 22px; }
.vc__stars .stars { width: 138px; height: 26px; background-size: 27.6px 26px; }
.vc__stars .stars__fill { background-size: 27.6px 26px; }
.vc__head .h2 { font-size: clamp(40px, 4.6vw, 64px); }
.vc__nav { display: flex; align-items: center; gap: 12px; margin-top: 40px; }
.vc__arrow {
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 1px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease);
}
.vc__arrow:hover { background: var(--ink); color: var(--paper); }
.vc__arrow:active { transform: scale(.94); }
.vc__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* the rail runs to the right edge of the screen */
.vc__rail { margin-right: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gut))); min-width: 0; }
.vc__track {
  display: flex; gap: 48px; margin: 0; padding: 0 0 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none;
}
.vc__track::-webkit-scrollbar { display: none; }
.vc-slide {
  flex: none; display: grid; grid-template-columns: 300px 290px; grid-template-areas: "photo video" "body video"; grid-template-rows: auto 1fr;
  gap: 0 24px; scroll-snap-align: start; opacity: .32; transition: opacity .45s var(--ease);
}
.vc-slide.is-active { opacity: 1; }
.vc-slide--photo { grid-template-columns: 340px; grid-template-areas: "photo" "body"; }
.vc-slide--video { grid-template-columns: 300px 290px; grid-template-areas: "body video"; grid-template-rows: 1fr; }
.vc-slide__photo { grid-area: photo; margin: 0; aspect-ratio: 300 / 284; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.vc-slide--photo .vc-slide__photo { aspect-ratio: 4 / 5; }
.vc-slide__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-slide__video { grid-area: video; position: relative; width: 290px; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.vc-slide__video video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.vc-slide__play, .vc-slide__sound {
  position: absolute; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(23, 22, 15, .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .25s, transform .2s var(--ease);
}
.vc-slide__play { left: 50%; top: 50%; width: 66px; height: 66px; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
.vc-slide__video.is-paused .vc-slide__play { opacity: 1; pointer-events: auto; }
.vc-slide__play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.vc-slide__sound { right: 12px; bottom: 12px; width: 42px; height: 42px; }
.vc-slide__sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vc-slide__sound .vc-i-on, .vc-slide__sound[aria-pressed="true"] .vc-i-off { display: none; }
.vc-slide__sound[aria-pressed="true"] .vc-i-on { display: block; }
.vc-slide__body { grid-area: body; min-width: 0; padding-top: 18px; }
.vc-slide--video .vc-slide__body { padding-top: 0; align-self: end; }
.vc-slide__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.vc-slide__tags a {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 3px 11px 3px 3px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink-2); text-decoration: none; font-size: 12.5px; font-weight: 500; line-height: 1.2;
  transition: border-color .2s, color .2s;
}
.vc-slide__tags a:hover { border-color: var(--green-2); color: var(--ink); }
.vc-slide__tags img { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.vc-slide__tags span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vc-slide__quote { margin: 0; }
.vc-slide__title { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.vc-slide__quote p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.vc-slide__name { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.vc-slide__name a { color: inherit; text-decoration: none; }
.vc-slide__name a:hover { color: var(--green-2); }
.vc-slide__name a span { display: inline-block; transition: transform .2s var(--ease); }
.vc-slide__name a:hover span { transform: translate(2px, -2px); }
.vc-slide.is-active .vc-slide__tags a, .vc-slide.is-active .vc-slide__name a { pointer-events: auto; }
.vc-slide:not(.is-active) { cursor: pointer; }
.vc-slide:not(.is-active) a, .vc-slide:not(.is-active) button { pointer-events: none; } /* a click on a faded one brings it to the front */

@media (max-width: 1024px) {
  .vc__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vc__head { position: static; }
  .vc__nav { margin-top: 24px; }
  .vc__rail { margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); }
  .vc__track { padding: 0 var(--gut) 4px; scroll-padding-left: var(--gut); }
}
@media (max-width: 700px) {
  .vc__track { --vc-slide: calc(100vw - 2 * var(--gut) - 28px); gap: 16px; }
  .vc-slide, .vc-slide--video { width: var(--vc-slide); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "photo video" "body body"; gap: 0 12px; }
  .vc-slide--photo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "body"; }
  .vc-slide--video { grid-template-areas: "video video" "body body"; }
  .vc-slide--video .vc-slide__video { width: min(100%, 300px); }
  .vc-slide__photo { align-self: start; }
  .vc-slide__video { width: 100%; }
  .vc-slide__title { font-size: 26px; }
  .vc-slide__quote p { font-size: 16px; }
  .vc__arrow { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .vc-slide { transition: none; } }
.vc__track.is-jumping .vc-slide { transition: none; } /* the unseen jump from a copy to the real card */

/* shop chips: a soft edge on each side that still has chips; none at the row's start / end (app.js sets is-start,
   is-end), so the first and last chip show whole. On phones the row runs to the screen's edges. */
.chips {
  padding-right: 2px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.chips.is-start { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.chips.is-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.chips.is-start.is-end { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 860px) {
  .chips { margin: -2px calc(var(--gut) * -1); padding: 2px var(--gut); scroll-padding-inline: var(--gut); }

  /* scrolling down the shop, the header follows the finger out of view and the filter bar with it (app.js: headroom
     sets the transform); only the finishing move after the finger stops is animated */
  html.hdr-settle .header { transition: border-color .3s, box-shadow .3s, transform .25s var(--ease); }
  html.hdr-settle .toolbar { transition: transform .25s var(--ease); }
}
