/* Vaikų krautuvė: shared design system (all pages)
   Page-specific styles live in css/<page>.css */

:root {
  /* Colour */
  --c-cream: #FBF7F0;
  --c-sand: #F3EADC;
  --c-sand-deep: #E8D9C3;
  --c-white: #FFFFFF;
  --c-navy: #1F2A44;
  --c-navy-soft: #3A4664;
  --c-muted: #6B6F7B;
  --c-line: #E7DED0;
  --c-line-strong: #D6C9B5;
  --c-tomato: #E5533A;
  --c-tomato-dark: #C9402A;
  --c-tomato-tint: #FCE6E0;
  --c-sage: #3F7D5C;
  --c-sage-tint: #E3F0E7;
  --c-sun: #F4B740;
  /* Friendly pastel tints (soft kids-shop accents, used sparingly) */
  --t-peach: #F9E3DA; --t-peach-ink: #C9402A;
  --t-sun: #FBEBC8;   --t-sun-ink: #A86A00;
  --t-mint: #DDEBDF;  --t-mint-ink: #3F7D5C;
  --t-sky: #DCE6F2;   --t-sky-ink: #3B5F8F;
  --t-lilac: #EADFF0; --t-lilac-ink: #6B4C8A;

  /* Type */
  --font-display: "Figtree", "Helvetica Neue", Arial, sans-serif; /* headings: one bold sans (Bitė-like) */
  --font-logo: "Fraunces", Georgia, serif; /* logo wordmark only */
  --font-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1470px; /* content width like pigu.lt (Armandas 2026-10-28; was 1280px) */
  --gutter: 40px;
  --section-y: 88px;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 1px 2px rgba(31, 42, 68, .06), 0 8px 24px rgba(31, 42, 68, .06);
  --shadow-lift: 0 2px 4px rgba(31, 42, 68, .06), 0 16px 40px rgba(31, 42, 68, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.6;
  color: var(--c-navy);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
}
em, i, cite, dfn, var, address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-tomato); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--c-white); border-radius: var(--radius-s); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 18px; height: 18px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--sand { background: var(--c-sand); }

/* Draft marker: proposed values waiting for Kajus's confirmation */
/* .tbc marks placeholder values to confirm before launch (find them with: grep -rn 'class="tbc"'). Underline hidden on request 2026-10-20. */
.tbc { text-decoration: none; }

/* ---------- Friendly accents (shared) ---------- */
/* Pastel icon tile: <span class="pbadge pbadge--mint"><svg class="icon">…</svg></span> */
.pbadge { --pb: var(--t-peach); --pb-ink: var(--t-peach-ink); width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--pb); color: var(--pb-ink); transform: rotate(-4deg); transition: transform .25s var(--ease); }
.pbadge--s { width: 40px; height: 40px; border-radius: 13px; }
.pbadge--s .icon { width: 20px; height: 20px; }
.pbadge--sun { --pb: var(--t-sun); --pb-ink: var(--t-sun-ink); }
.pbadge--mint { --pb: var(--t-mint); --pb-ink: var(--t-mint-ink); }
.pbadge--sky { --pb: var(--t-sky); --pb-ink: var(--t-sky-ink); }
.pbadge--lilac { --pb: var(--t-lilac); --pb-ink: var(--t-lilac-ink); }
a:hover > .pbadge, button:hover > .pbadge, .pbadge-host:hover .pbadge { transform: rotate(4deg) scale(1.05); }
/* Signature doodle under main section titles: add class "doodle" to the h2 */
.doodle { position: relative; padding-bottom: 14px; }
.doodle::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cpath d='M2 6c5-6 9 6 14 0s9 6 14 0 9 6 14 0 7 4 10 0' fill='none' stroke='%23E5533A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.doodle--center::after { left: 50%; transform: translateX(-50%); }
/* Mascot for friendly moments (empty cart, no results, order placed) */
.mascot { width: 112px; height: 112px; transform: rotate(-6deg); filter: drop-shadow(0 10px 16px rgba(201, 64, 42, .22)); }

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; }
.h1 { font-size: clamp(36px, 4.4vw, 60px); }
.h2 { font-size: clamp(28px, 2.8vw, 40px); }
.h3 { font-size: 22px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-tomato); }
.lead { font-size: 18px; color: var(--c-navy-soft); }
.muted { color: var(--c-muted); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head p { margin-top: 8px; color: var(--c-muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; white-space: nowrap; border-bottom: 2px solid transparent; transition: border-color .2s var(--ease); }
.link-arrow:hover { border-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-tomato); color: var(--c-white); box-shadow: 0 6px 16px rgba(229, 83, 58, .28); }
.btn--primary:hover { background: var(--c-tomato-dark); }
.btn--dark { background: var(--c-navy); color: var(--c-white); }
.btn--dark:hover { background: var(--c-navy-soft); }
.btn--ghost { background: transparent; color: var(--c-navy); box-shadow: inset 0 0 0 1.5px var(--c-line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--c-navy); }
.btn--block { width: 100%; }
.btn--s { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--c-white);
  box-shadow: inset 0 0 0 1px var(--c-line);
  font-size: 15px; font-weight: 600;
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--c-navy); }
.chip.is-active { background: var(--c-navy); color: var(--c-white); box-shadow: none; }

/* ---------- Header (2 rows: utility bar + main bar) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--c-white); box-shadow: 0 1px 0 var(--c-line), 0 6px 18px rgba(31, 42, 68, .04); }

.topbar { background: var(--c-navy); color: var(--c-white); }
.topbar__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: 28px; height: 48px; }
.topbar__tabs { justify-self: start; }
.topbar__tabs { display: flex; align-self: stretch; }
.topbar__tab { display: flex; align-items: center; padding: 0 22px; white-space: nowrap; font-size: 15px; font-weight: 600; color: #D5D9E3; transition: color .2s var(--ease); }
.topbar__tab:hover { color: var(--c-white); }
.topbar__tab.is-active { background: var(--c-white); color: var(--c-navy); }
.topbar .search { flex: 0 1 300px; }
.search { position: relative; }
.search input { width: 100%; height: 38px; padding: 0 46px 0 16px; border: 0; border-radius: 8px; background: var(--c-white); color: var(--c-navy); font-size: 15px; }
.search input::placeholder { color: var(--c-muted); }
.search input:focus { outline: none; box-shadow: 0 0 0 3px var(--c-sun); }
.search button[type="submit"] { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: transparent; color: var(--c-navy); }
.topbar__links { display: flex; align-items: center; justify-self: end; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; white-space: nowrap; }
.topbar__links a { color: #E4E7EE; transition: color .2s var(--ease); }
.topbar__links a:hover { color: var(--c-white); }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }

.header__main { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-logo); font-size: 26px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; font-variation-settings: "SOFT" 100, "opsz" 48; }
.brand__logo { display: block; width: auto; height: 46px; }
.footer .brand__logo { height: 42px; }
.drawer .brand__logo { height: 38px; }

.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; }
.nav__link { display: flex; align-items: center; height: 72px; padding: 0 13px; font-size: 16px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .2s var(--ease), color .2s var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link { box-shadow: inset 0 -3px 0 var(--c-tomato); }
.nav__link--sale { color: var(--c-tomato); font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font-size: 16px; font-weight: 600; transition: background-color .2s var(--ease); }
.icon-btn:hover { background: var(--c-sand); }
.icon-btn .icon { width: 26px; height: 26px; }
.icon--l { width: 30px !important; height: 30px !important; }
.icon-btn__count { position: absolute; top: 2px; right: 0; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c-tomato); color: var(--c-white); font-size: 14px; font-weight: 800; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px var(--c-white); }
.icon-btn__count[data-count="0"] { display: none; }
.icon-btn--account { padding-left: 14px; }
.menu-toggle { display: none; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-white); border-top: 1px solid var(--c-line); box-shadow: 0 24px 48px rgba(31, 42, 68, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 48px; padding-block: 32px 40px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; align-content: start; }
.mega__cols a { display: block; padding: 8px 0; font-weight: 550; border-bottom: 1px solid var(--c-line); }
.mega__cols a:hover { color: var(--c-tomato); }
.mega__title { grid-column: 1 / -1; margin-bottom: 6px; font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.mega__promo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; background: var(--c-sand); }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__promo span { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 14px; border-radius: var(--radius-s); background: rgba(255, 255, 255, .94); font-weight: 700; }
.nav__chev { width: 16px; height: 16px; margin-left: 4px; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
/* "Visos prekės" panel (VK_Mega_Walker::all_cats_panel) */
.mega--all .mega__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mega__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 40px; align-items: start; }
.mega__group a { display: block; padding: 8px 0; font-weight: 550; border-bottom: 1px solid var(--c-line); }
.mega__group a:hover { color: var(--c-tomato); }
.mega__group .mega__group-title { margin-bottom: 4px; padding: 0 0 10px; border-bottom: 2px solid var(--c-tomato); font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.mega__all { justify-self: start; }

/* Live search: dropdown on desktop, full-screen overlay on mobile (js/search.js) */
.topbar .search { width: 100%; }
.search__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 60;
  width: 820px; max-height: min(640px, calc(100vh - 140px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 22px 18px; border-radius: var(--radius); background: var(--c-white); color: var(--c-navy);
  box-shadow: 0 0 0 1px var(--c-line), 0 24px 48px rgba(31, 42, 68, .18);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s;
}
.search.is-open .search__panel, .search:not(.is-enhanced):focus-within .search__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.search__group + .search__group { margin-top: 18px; }
.search__group-head { display: flex; align-items: center; justify-content: space-between; }
.search__title { margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.search__clear { margin-bottom: 10px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }
.search__chips { gap: 8px; }
.search__chips .chip { min-height: 38px; padding: 0 14px; font-size: 14px; background: var(--c-cream); }
.search__chips .chip .icon { width: 15px; height: 15px; color: var(--c-muted); }
.search__chips .chip:hover, .search__chips .chip.is-active { background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-navy); }

.search__grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 28px; }
.search__grid--cats { grid-template-columns: minmax(0, 1fr); }
.search__side .search__title:not(:first-child) { margin-top: 18px; }
.search__cats a, .search__suggest a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.search__suggest a { justify-content: flex-start; font-weight: 500; color: var(--c-navy-soft); }
.search__suggest a strong { color: var(--c-navy); }
.search__suggest .icon { width: 15px; height: 15px; color: var(--c-muted); }
.search__count { min-width: 40px; padding: 2px 8px; border-radius: 999px; background: var(--c-cream); font-size: 14px; font-weight: 700; color: var(--c-muted); text-align: center; }
.search__products { display: grid; gap: 4px; }
.search__product { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px; margin-inline: -8px; border-radius: 12px; }
.search__product img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--c-sand); }
.search__product-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search__product-title { font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search__product-meta { font-size: 14px; color: var(--c-sage); font-weight: 600; }
.search__price { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.search__price strong { font-size: 16px; font-weight: 800; }
.search__price strong.is-sale { color: var(--c-tomato); }
.search__price s { font-size: 14px; color: var(--c-muted); }
.search__panel mark { background: transparent; color: inherit; font-weight: 800; box-shadow: inset 0 -.4em 0 rgba(244, 183, 64, .45); }
.search__cats a:hover, .search__suggest a:hover, .search__product:hover,
.search__cats a.is-active, .search__suggest a.is-active, .search__product.is-active { background: var(--c-cream); }
.search__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; min-height: 48px; border-radius: 999px; background: var(--c-navy); color: var(--c-white); font-size: 15px; font-weight: 700; }
.search__all:hover, .search__all.is-active { background: var(--c-tomato); }
.search__empty { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 6px 0 18px; }
.search__mascot { grid-row: span 2; width: 72px; height: 72px; }
.search__empty-title { font-size: 18px; font-weight: 700; }
.search__empty-text { margin-top: 4px; color: var(--c-muted); }
.search__cancel { display: none; }

/* Benefits bar (under hero / header) */
.usp { background: #151D31; color: var(--c-white); }
.usp__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usp__item { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 76px; padding: 0 16px; font-size: 16px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.usp__item + .usp__item { border-left: 1px solid rgba(255, 255, 255, .14); }
.usp__item .pbadge { box-shadow: 0 0 0 3px rgba(255, 255, 255, .06); }

/* ---------- Product card ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 0 0 14px; border-radius: 22px; overflow: hidden; background: var(--c-white); /* photo runs edge to edge (2026-10-20) */
  box-shadow: 0 0 0 1px var(--c-line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(31, 42, 68, .04), 0 18px 40px rgba(31, 42, 68, .12); }
.card__media { position: relative; aspect-ratio: 1; border-radius: 22px 22px 0 0; overflow: hidden; background: var(--c-sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
/* Draft stock photos with off-centre subjects */
.card__media img[src*="p-meskiukas"], .card__media img[src*="p-traukinys"] { object-position: 68% 50%; }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1.25; letter-spacing: .01em; }
.badge--sale { background: var(--c-tomato); color: var(--c-white); box-shadow: 0 4px 10px rgba(229, 83, 58, .3); }
.badge--new { background: var(--c-navy); color: var(--c-white); }
.badge--soft { background: var(--c-white); color: var(--c-navy); box-shadow: inset 0 0 0 1px var(--c-line); }

.card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 16px 0; }
.card__meta { font-size: 14px; font-weight: 600; color: var(--c-muted); }
.card__title { min-height: calc(1.4em * 2); font-size: 16px; font-weight: 650; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__title a:hover { color: var(--c-tomato); }
.card__info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.card__eta { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--c-muted); }
.card__eta svg { width: 15px; height: 15px; flex: none; }
.card__options { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--c-tomato-dark); }
.card__options::before { content: ""; flex: 0 0 12px; height: 12px; border-radius: 50%; background: conic-gradient(var(--c-tomato) 0 25%, var(--t-sky-ink) 0 50%, var(--c-sun) 0 75%, var(--c-sage) 0); } /* "several options" dot */
.card__ship { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--c-sage); white-space: nowrap; }
.card__ship .icon { width: 18px; height: 18px; stroke-width: 2; }
.card__foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: auto; padding-top: 2px; } /* tighter cards (Armandas 2026-10-28) */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-variant-numeric: tabular-nums; }
.price__now { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.price__now--sale { color: var(--c-tomato); }
.price__was { font-size: 15px; font-weight: 500; color: var(--c-muted); text-decoration: line-through; }
.card__add {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 42px; border: 0; border-radius: 999px;
  background: var(--c-sand); color: var(--c-navy); font-size: 15px; font-weight: 700;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.card:hover .card__add { background: var(--c-navy); color: var(--c-white); }
.card .card__add:hover { background: var(--c-tomato); color: var(--c-white); }
.card__add:active { transform: translateY(1px); }
.card .card__add.is-added { background: var(--c-sage); color: var(--c-white); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-sage); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--low { color: #B7791F; }

/* ---------- Category circles + popular searches (home + category) ---------- */
.subcats { padding-block: 4px 28px; border-top: 1px solid var(--c-line); }
.subcats__list { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; padding-top: 28px; }
.subcat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; font-weight: 650; line-height: 1.3; }
.subcat__img { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--c-sand); box-shadow: 0 0 0 1px var(--c-line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.subcat__img img { width: 100%; height: 100%; object-fit: cover; }
.subcats__list li:nth-child(5n+1) .subcat__img { --ring: var(--t-peach); }
.subcats__list li:nth-child(5n+2) .subcat__img { --ring: var(--t-sun); }
.subcats__list li:nth-child(5n+3) .subcat__img { --ring: var(--t-mint); }
.subcats__list li:nth-child(5n+4) .subcat__img { --ring: var(--t-sky); }
.subcats__list li:nth-child(5n+5) .subcat__img { --ring: var(--t-lilac); }
.subcat__img { box-shadow: 0 0 0 5px var(--ring, var(--t-peach)) !important; }
.subcat:hover .subcat__img { transform: translateY(-3px) rotate(-3deg); }
.subcat:hover .subcat__name { color: var(--c-tomato-dark); }
.popular { display: flex; align-items: center; gap: 16px; padding-bottom: 36px; }
.popular__label { flex: none; font-size: 15px; font-weight: 700; }
.popular__chips .chip { min-height: 38px; padding: 0 14px; font-size: 14px; background: transparent; }
.popular__chips .chip:hover { background: var(--c-white); }

/* ---------- Breadcrumbs ---------- */
.crumbs li { white-space: nowrap; }
.crumbs li:last-child { white-space: normal; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-block: 16px; font-size: 14px; color: var(--c-muted); }
.crumbs a:hover { color: var(--c-navy); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--c-line-strong); }
.crumbs [aria-current] { color: var(--c-navy); font-weight: 600; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 650; }
.input { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius-s); background: var(--c-white); font-size: 16px; }
.input:focus { outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 4px rgba(31, 42, 68, .08); }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c-white); color: var(--c-tomato); }
.trust__item strong { display: block; font-size: 16px; line-height: 1.3; }
.trust__item span { font-size: 15px; color: var(--c-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--c-navy); color: #E9E4DA; }
.footer a:hover { color: var(--c-white); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: 72px 56px; }
.footer .brand { color: var(--c-white); }
.footer__about p { margin-top: 16px; max-width: 34ch; color: #C7C3BB; }
.footer h3 { margin-bottom: 16px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-white); }
.footer li + li { margin-top: 10px; }
.footer__contact { margin-top: 20px; display: grid; gap: 8px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--c-white); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #C7C3BB; }
.pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay li { display: grid; place-items: center; height: 40px; min-width: 64px; padding: 0 12px; border-radius: 10px; background: var(--c-white); }
.footer .pay li + li { margin-top: 0; }
.pay img { display: block; width: auto; max-width: 84px; object-fit: contain; }

/* Footer kids vibe: cloud edge + floating 3D toys (Microsoft Fluent Emoji, MIT) */
.footer { position: relative; }
.footer__wave { position: absolute; left: 0; bottom: 100%; width: 100%; height: 48px; display: block; }
.footer__wave path { fill: var(--c-navy); }
.footer__toys { position: absolute; inset: 0; pointer-events: none; }
.toy { position: absolute; width: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .25)); animation: toyFloat 6s ease-in-out infinite; }
.toy--balloon { width: 84px; left: 9%; top: -112px; animation-duration: 7s; }
.toy--kite { width: 92px; right: 24%; top: -118px; animation-delay: -2s; }
.toy--teddy { width: 118px; right: 5%; top: -100px; animation-name: toyRock; animation-duration: 5s; transform-origin: 50% 100%; }
@keyframes toyFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes toyRock { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.footer .container { position: relative; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: var(--c-navy); color: var(--c-white); font-weight: 650; white-space: nowrap; max-width: calc(100vw - 32px); box-shadow: var(--shadow-lift); transform: translate(-50%, calc(100% + 32px)); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.toast a { color: var(--c-sun); text-decoration: underline; }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(31, 42, 68, .45); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); display: flex; flex-direction: column; background: var(--c-cream); transform: translateX(-100%); transition: transform .3s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--c-line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 16px 24px; }
.drawer__body > ul > li > a, .drawer__body summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-size: 17px; font-weight: 650; border-bottom: 1px solid var(--c-line); cursor: pointer; list-style: none; }
.drawer__body summary::-webkit-details-marker { display: none; }
.drawer__body details[open] summary .icon { transform: rotate(180deg); }
.drawer__body details ul { padding: 6px 0 12px 12px; }
.drawer__body details li a { display: block; padding: 9px 0; color: var(--c-navy-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .icon-btn__label { display: none; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  :root { --gutter: 28px; --section-y: 72px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; }
  .header__main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; height: auto; padding-top: 8px; row-gap: 8px; }
  .header__main .search { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-bottom: 12px; }
  .brand { font-size: 23px; }
  .header__actions .icon-btn--account { display: none; }
  .cart-btn .icon-btn__label { display: none; }
  .cart-btn { padding: 0 12px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section-y: 56px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; }
  .card__title { font-size: 15px; }
  .price__now { font-size: 18px; }
  .card__badges { top: 8px; left: 8px; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 24px; padding-block: 56px 40px; }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .search input { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Mobile header + full-screen search (≤900px) ---------- */
@media (max-width: 900px) {
  .topbar__tabs, .topbar__links { display: none; }
  .topbar__inner { display: flex; height: 60px; }
  .topbar .search { flex: 1 1 auto; }
  .search input { height: 42px; font-size: 16px; }
  .search button[type="submit"] { top: 6px; }
  .header__main { display: flex; height: 60px; padding-top: 0; gap: 8px; }
  .header__main .brand { margin-right: auto; }
  .brand { font-size: 21px; gap: 8px; }
  .brand__logo { height: 38px; }
  .icon-btn__label { display: none; }

  .search.is-open { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 0 12px; padding: 10px 16px 0; background: var(--c-white); }
  .search.is-open input { grid-column: 1; grid-row: 1; height: 46px; background: var(--c-cream); box-shadow: inset 0 0 0 1.5px var(--c-line-strong); }
  .search.is-open button[type="submit"] { top: 18px; right: auto; left: calc(100% - 128px); }
  .search.is-open .search__cancel { display: inline-flex; align-items: center; grid-column: 2; grid-row: 1; height: 46px; padding: 0 4px; border: 0; background: none; font-size: 16px; font-weight: 700; color: var(--c-navy); }
  .search__panel { left: 0; width: auto; transform: none; }
  .search.is-open .search__panel { position: static; grid-column: 1 / -1; grid-row: 2; width: 100%; max-height: none; height: 100%; margin-top: 10px; padding: 8px 0 32px; border-radius: 0; box-shadow: none; transform: none; border-top: 1px solid var(--c-line); }
  .search__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search__main { order: -1; }
  .search__all { position: sticky; bottom: 12px; }
}

/* keep floating footer toys off the slim SEO bar */
main > .guide-band:last-child { padding-bottom: 96px; }

/* ===== Responsive pass (tablet + mobile, all pages) ===== */
/* Small laptops: keep the 2-row header from overflowing */
@media (max-width: 1200px) {
  .topbar__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px) minmax(0, 1fr); gap: 20px; }
  .nav__link { padding: 0 10px; font-size: 15px; }
  .header__main { gap: 24px; }
}
/* Tablets + phones: compact header (menu button, logo, cart) + full-width search */
@media (max-width: 1100px) {
  .topbar__tabs, .topbar__links { display: none; }
  .topbar__inner { display: flex; height: 60px; }
  .topbar .search { flex: 1 1 auto; width: 100%; }
  .search input { height: 42px; font-size: 16px; }
  .search button[type="submit"] { top: 6px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__main { display: flex; height: 64px; gap: 6px; }
  .header__main .brand { margin-right: auto; }
  .brand__logo { height: 40px; }
  .icon-btn--account { padding-left: 10px; }
  .icon-btn__label { display: none; }
  .search__panel { width: min(820px, calc(100vw - 32px)); }
  .usp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp__item { justify-content: flex-start; min-height: 64px; white-space: normal; }
  .usp__item:nth-child(3) { border-left: 0; }
  .usp__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 900px) {
  .search.is-open { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 0 12px; padding: 10px 16px 0; background: var(--c-white); }
}
@media (max-width: 760px) {
  .header__main { height: 58px; }
  .brand__logo { height: 36px; }
  .icon-btn { min-height: 44px; min-width: 44px; padding: 0 8px; justify-content: center; }
  .usp__item { gap: 10px; padding: 12px 10px; font-size: 14px; line-height: 1.3; }
  .usp__item .pbadge--s { width: 34px; height: 34px; border-radius: 11px; }
  .usp__item .pbadge--s .icon { width: 18px; height: 18px; }
  /* category circles: one swipeable row */
  .subcats__list { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 14px; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 4px; }
  .subcats__list::-webkit-scrollbar { display: none; }
  .subcats__list li { flex: 0 0 84px; scroll-snap-align: start; }
  .subcat { font-size: 14px; gap: 8px; }
  .subcat__img { width: 72px; height: 72px; }
  /* product cards: 2 per row, compact */
  .products { gap: 12px; }
  .card { padding: 0 0 10px; border-radius: 18px; }
  .card__media { border-radius: 18px 18px 0 0; }
  .card__body { padding: 10px 10px 0; gap: 4px; }
  .card__meta { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card__title { font-size: 15px; }
  .card__ship { font-size: 14px; }
  .card__ship .icon { width: 16px; height: 16px; }
  .price__now { font-size: 18px; }
  .price__was { font-size: 14px; }
  .card__add { height: 42px; font-size: 14px; gap: 6px; }
  .card__add .icon { width: 16px; height: 16px; }
  .badge { padding: 3px 8px; }
  /* footer */
  .footer__wave { height: 28px; }
  .toy--balloon { width: 56px; left: 4%; top: -70px; }
  .toy--kite { width: 60px; right: 30%; top: -78px; }
  .toy--teddy { width: 76px; right: 3%; top: -64px; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; padding-block: 48px 32px; }
  .footer__about { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .pay li { height: 36px; min-width: 56px; padding: 0 10px; }
  .section-head { margin-bottom: 20px; }
  .h2 { font-size: 28px; }
}
@media (max-width: 340px) {
  .card__add span { display: none; }
  .card__add { font-size: 0; }
}

/* ---------- Language switch (LT / EN): design only, translation later (Polylang, free) ---------- */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.lang__opt { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 28px; padding: 0 8px; line-height: 1; text-decoration: none; border: 0; border-radius: 999px; background: transparent; color: #D5D9E3; font-size: 14px; font-weight: 800; letter-spacing: .03em; transition: background-color .2s var(--ease), color .2s var(--ease); }
.lang__opt:hover { color: var(--c-white); }
.lang__opt.is-active, .lang__opt.is-active:hover { background: var(--c-white); color: var(--c-navy); }
.topbar__links .topbar__lang { margin-left: 4px; }
/* Top bar keeps the header's max-width (aligned with logo + account). Links: Sekti siuntą · Pagalba · phone · LT/EN */
@media (min-width: 1281px) {
  .topbar__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px) minmax(0, 1fr); gap: 24px; }
  .topbar__links { gap: 18px; }
}
@media (max-width: 1280px) { .topbar__links li:has(> .topbar__phone) { display: none; } }
@media (min-width: 1101px) and (max-width: 1280px) {
  .topbar__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 340px) minmax(0, 1fr); gap: 16px; }
  .topbar__links { gap: 14px; }
  .topbar__tab { padding: 0 16px; }
}
.drawer__lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 0 4px; border-top: 1px solid var(--c-line); font-weight: 700; }
.drawer__lang .lang, .co-header .lang { background: var(--c-sand); }
.drawer__lang .lang__opt, .co-header .lang__opt { height: 36px; min-width: 48px; color: var(--c-navy-soft); }
.drawer__lang .lang__opt:hover, .co-header .lang__opt:hover { color: var(--c-navy); }
.drawer__lang .lang__opt.is-active, .co-header .lang__opt.is-active,
.drawer__lang .lang__opt.is-active:hover, .co-header .lang__opt.is-active:hover { background: var(--c-navy); color: var(--c-white); }
@media (max-width: 1200px) { .topbar__links { gap: 18px; } }


/* Mobile menu: shopper links from the top bar + language switch */
.drawer__extra { margin-top: 18px; padding: 16px; border-radius: var(--radius); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); }
.drawer__label { margin-bottom: 6px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.drawer__links a { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--c-line); }
.drawer__links li:last-child a { border-bottom: 0; }
.drawer__links .icon { color: var(--c-tomato); }
.drawer__extra .drawer__lang { margin-top: 10px; padding-top: 14px; }

/* ---------- Mini cart (inc/overlays.php, main.js): panel from the right ---------- */
.mc { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .3s; }
.mc.is-open { visibility: visible; transition: none; }
.mc__scrim { position: absolute; inset: 0; background: rgba(31, 42, 68, .45); opacity: 0; transition: opacity .25s var(--ease); }
.mc.is-open .mc__scrim { opacity: 1; }
.mc__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; width: min(420px, 100%); background: var(--c-cream); box-shadow: var(--shadow-lift); transform: translateX(100%); transition: transform .3s var(--ease); }
.mc.is-open .mc__panel { transform: none; }
.mc__body { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.mc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.mc__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.mc__title span { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--c-muted); }
.mc-ship { display: grid; gap: 8px; margin: 14px 20px 0; padding: 12px 14px; border-radius: var(--radius-s); background: var(--c-white); font-size: 14px; color: var(--c-navy-soft); }
.mc-ship p { display: flex; align-items: center; gap: 8px; }
.mc-ship strong { color: var(--c-navy); }
.mc-ship.is-complete strong { color: var(--t-mint-ink); }
.mc-ship__note { font-size: 13px; color: var(--c-muted); }
.mc-ship__track { display: block; height: 6px; border-radius: 999px; background: var(--c-sand); overflow: hidden; }
.mc-ship__track span { display: block; height: 100%; border-radius: inherit; background: var(--c-tomato); transform-origin: left; }
.mc-ship.is-complete .mc-ship__track span { background: var(--t-mint-ink); }
.mc__list { flex: 1; min-height: 0; margin: 0; padding: 4px 20px; list-style: none; overflow-y: auto; overscroll-behavior: contain; transition: opacity .15s var(--ease); }
.mc.is-busy .mc__list { opacity: .55; pointer-events: none; }
.mc-line { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 14px 28px 14px 0; border-bottom: 1px solid var(--c-line); }
.mc-line:last-child { border-bottom: 0; }
.mc-line__img { display: block; width: 76px; height: 76px; border-radius: var(--radius-s); overflow: hidden; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
.mc-line__img img { width: 100%; height: 100%; object-fit: cover; }
.mc-line__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-line__title { font-size: 15px; font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-line__title a:hover { color: var(--c-tomato); }
.mc-line__variant { font-size: 13px; color: var(--c-muted); }
.mc-line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.mc-line__price { font-weight: 800; color: var(--c-navy); white-space: nowrap; }
.mc-line__remove { position: absolute; top: 12px; right: -4px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--c-muted); cursor: pointer; transition: color .15s var(--ease), background-color .15s var(--ease); }
.mc-line__remove:hover { color: var(--c-tomato); background: var(--c-white); }
.mc-qty { display: inline-flex; align-items: center; height: 34px; border-radius: 999px; background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-line-strong); }
.mc-qty button { display: grid; place-items: center; width: 32px; height: 100%; border: 0; background: none; color: var(--c-navy); cursor: pointer; }
.mc-qty button:disabled { opacity: .3; cursor: default; }
.mc-qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 700; }
.mc__foot { display: grid; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--c-white); border-top: 1px solid var(--c-line); }
.mc__row { display: flex; justify-content: space-between; font-size: 15px; color: var(--c-navy-soft); }
.mc__row .is-discount { color: var(--c-tomato); font-weight: 700; }
.mc__sum { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: 20px; font-weight: 800; color: var(--c-navy); }
.mc__sum small { display: block; font-size: 13px; font-weight: 500; color: var(--c-muted); }
.mc__cartlink { justify-self: center; padding: 4px 8px; font-size: 15px; font-weight: 700; color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }
.mc__assure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--c-muted); }
.mc__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 28px; text-align: center; color: var(--c-navy-soft); }
.mc__empty strong { font-size: 18px; color: var(--c-navy); }
.mc__empty .btn { margin-top: 8px; }

/* ---------- Sign-in modal (inc/overlays.php, main.js): login / registration without leaving the page ---------- */
.authm { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; }
.authm[hidden] { display: none; }
.authm__scrim { position: absolute; inset: 0; background: rgba(31, 42, 68, .5); }
.authm__box { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 20px; border-radius: var(--radius-l); background: var(--c-cream); box-shadow: var(--shadow-lift); }
.authm__close { position: absolute; top: 14px; right: 14px; z-index: 1; }
.authm__loading { padding: 64px 0; text-align: center; color: var(--c-muted); }
.authm__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 48px 16px 0; padding: 4px; border-radius: 999px; background: var(--c-sand); }
.authm__tab { height: 42px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 700; color: var(--c-navy-soft); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.authm__tab[aria-selected="true"] { background: var(--c-white); color: var(--c-navy); box-shadow: var(--shadow); }
.authm .auth__top, .authm .perks, .authm .auth__switch { display: none; }
.authm .auth__card { margin: 0; box-shadow: none; }
.authm__guest { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--t-mint); font-size: 14px; line-height: 1.5; color: var(--c-navy-soft); }
.authm__guest .icon { flex: none; margin-top: 2px; color: var(--t-mint-ink); }
@media (max-width: 760px) {
  .authm { place-items: end stretch; padding: 0; }
  .authm__box { width: 100%; max-height: 92dvh; border-radius: var(--radius-l) var(--radius-l) 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .mc__panel, .mc__scrim { transition: none; }
}
/* Cart sharing button (mini cart + cart page) */
.mc__links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 18px; }
.mc__share { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 8px; border: 0; background: none; font-size: 15px; font-weight: 700; color: var(--c-navy); cursor: pointer; }
.mc__share:hover { color: var(--c-tomato); }
.mc__share:disabled { opacity: .5; cursor: wait; }
.summary__share { width: 100%; margin-top: 10px; padding: 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--c-line-strong); }

/* Card discount badge (top right of the photo): a small red pill, the saving is the first thing a shopper sees */
/* White ring + dark shadow: stays readable on any photo, also red or busy packaging */
.card__deal { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: baseline; gap: 4px; padding: 5px 10px; border-radius: 999px; background: var(--c-tomato); color: var(--c-white); font-size: 14px; font-weight: 800; line-height: 1.2; white-space: nowrap; box-shadow: 0 0 0 2px var(--c-white), 0 4px 12px rgba(31, 42, 68, .35); }
.card__deal small { font-size: 11px; font-weight: 700; opacity: .9; }

/* ---------- Product card, informative layout (parts/product-card.php, Armandas 2026-10-28) ----------
   Round cart button on the photo, one info label, price, green delivery lines; no wide button. */
.card__add--round { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--c-white); color: var(--c-navy); box-shadow: 0 0 0 1px var(--c-line), 0 6px 16px rgba(31, 42, 68, .14); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.card__add--round .icon { width: 22px; height: 22px; }
.card:hover .card__add--round { background: var(--c-navy); color: var(--c-white); }
.card .card__add--round:hover { background: var(--c-tomato); color: var(--c-white); transform: scale(1.06); }
.card .card__add--round.is-added { background: var(--c-sage); color: var(--c-white); }
.card__body { gap: 5px; padding: 12px 16px 14px; }
.card { padding-bottom: 0; } /* body padding is enough (removes the empty strip under the delivery line) */
.card__label { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 4px 9px; border-radius: 6px; box-shadow: 0 2px 8px rgba(31, 42, 68, .15); font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.card__label .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.card__label--low { background: var(--c-tomato-tint); color: var(--c-tomato-dark); }
.card__label--hot { background: var(--t-sun); color: var(--t-sun-ink); }
.card__label--new { background: var(--t-sky); color: var(--t-sky-ink); }
.card__foot { gap: 2px; margin-top: auto; padding-top: 2px; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 4px 8px; min-height: 18px; } /* options left, free delivery right */
.card__row .card__eta--free { flex: none; margin-left: auto; white-space: nowrap; }
.card__row .card__options { flex: none; white-space: nowrap; } /* never cut "3 spalvos" */
.card__row .card__options, .card__row .card__eta { font-size: 12px; }
.card__delivery { font-size: 13px; line-height: 1.35; }
.card__eta { gap: 6px; margin: 0; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--c-sage); }
.card__eta svg { width: 15px; height: 15px; stroke-width: 2; }
.card__eta--free { color: var(--t-sky-ink); }
.card__eta-short { display: none; }
@media (max-width: 760px) { .card__eta-short { display: inline; } }
.card__eta--out { position: relative; z-index: 2; color: var(--c-muted); font-weight: 650; }
.card__eta--out:hover { color: var(--c-tomato-dark); }
@media (max-width: 760px) {
  .card__add--round { right: 8px; bottom: 8px; width: 38px; height: 38px; }
  .card__add--round .icon { width: 19px; height: 19px; }
  .card__body { padding: 10px 10px 12px; }
  .card__eta, .card__delivery { font-size: 12px; }
  .card__eta-long { display: none; } /* phones: "3–6 d. d." and "Nemokamai", one line each */
  .card__label { left: 8px; bottom: 8px; font-size: 11px; padding: 3px 7px; }
}

/* Desktop up to 1560 px: slimmer side padding so the 1470 px content uses the screen (pigu.lt uses 24 px) */
@media (min-width: 1101px) and (max-width: 1560px) { :root { --gutter: 24px; } }

/* Logged-in admin bar (WP sets --wp-admin--admin-bar--height): slide-in panels start below it, not under it. */
.admin-bar .drawer, .admin-bar .mc, .admin-bar .search.is-open { top: var(--wp-admin--admin-bar--height, 0px); }

/* ---------- Mobile drawer v2 (2026-10-28): account row, quick pills, category accordions with photos ---------- */
.drawer__body { padding: 14px 16px 28px; }
.dacct { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); }
.dacct__icon { flex: none; }
.dacct__text { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.dacct__text strong { font-size: 16px; }
.dacct__text small { font-size: 13px; color: var(--c-muted); }
.dacct > .icon { color: var(--c-navy-soft); }
.dpills { display: flex; gap: 8px; margin: 14px -16px 4px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
.dpills::-webkit-scrollbar { display: none; }
.drawer__body .dpills .dpill { min-height: 0; height: 38px; justify-content: flex-start; border-bottom: 0; font-size: 14px; }
.dpill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); font-size: 14px; font-weight: 650; white-space: nowrap; }
.dpill .icon { color: var(--c-tomato); }
.dpill--hot { background: var(--c-tomato); color: var(--c-white); box-shadow: none; }
.dpill--hot .icon { color: currentColor; }
.drawer__body > .drawer__label { margin: 18px 0 4px; }
.drawer__body .dcats > li > a.dcat,
.drawer__body .dcats summary.dcat { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0; font-size: 16px; font-weight: 650; border-bottom: 1px solid var(--c-line); justify-content: flex-start; }
.dcat__thumb { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--c-sand); display: grid; place-items: center; }
.dcat__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dcat__thumb--icon { color: var(--c-tomato); }
.dcat__name { flex: 1; min-width: 0; }
.dcat__count { flex: none; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--c-sand); font-size: 12px; font-weight: 700; color: var(--c-navy-soft); text-align: center; }
.dcat-group summary .icon { flex: none; transition: transform .2s var(--ease); }
.dcat-group[open] summary .icon { transform: rotate(180deg); }
.dcat-group[open] summary { border-bottom-color: transparent; }
.drawer__body .dsubs { margin: 0 0 10px; padding: 6px; border-radius: var(--radius); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line); }
.drawer__body .dsubs li a.dsub { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius-s); color: var(--c-navy); }
.drawer__body .dsubs li a.dsub:hover { background: var(--c-sand); }
.drawer__body .dsubs li a.dsub--all { justify-content: space-between; font-weight: 700; color: var(--c-tomato); }
.dsub__img { flex: none; width: 36px; height: 36px; border-radius: var(--radius-s); overflow: hidden; background: var(--c-sand); }
.dsub__img img { width: 100%; height: 100%; object-fit: cover; }
.dsub__text { display: grid; line-height: 1.25; }
.dsub__name { font-size: 15px; font-weight: 600; }
.dsub__count { font-size: 12px; color: var(--c-muted); }
.dnote { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 12px; border-radius: var(--radius); background: var(--c-sage-tint); font-size: 14px; font-weight: 650; }
.dnote .icon { color: var(--c-sage); }

/* Mobile header: account icon next to the cart (opens login, or the account when signed in). */
@media (max-width: 900px) {
  .header__actions { display: flex; align-items: center; gap: 2px; }
  .header__actions .icon-btn--account { display: inline-flex; order: -1; padding-left: 8px; }
}
