@import url("/static/css/tokens.css");

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.3;
  font-optical-sizing: none;      /* Figma renders the static cut; keep opsz fixed */
  -webkit-font-smoothing: antialiased;
  /* Comment 47 / R2-26: the footer always meets the viewport bottom. The height is motion.js's
     `--canvas-vh` (viewport ÷ zoom, in px): Chrome and Firefox scale `vh` inside a zoomed body,
     WebKit does not, so a `100vh / zoom` body was 1/zoom too tall on a Safari laptop (900px
     viewport at 1440 → a 1080px page). No JS = no zoom, so plain 100vh is right there. */
  display: flex; flex-direction: column; min-height: var(--canvas-vh, 100vh);
}
#main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: var(--container); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.mobile-only { display: none; }
.desktop-only { display: contents; }

/* Component 16 (mobile) announcement band — no desktop equivalent */
.announce { display: none; }

/* Hamburger — mobile only */
.burger { display: none; }

/* ---------- type scale (Figma text styles) ---------- */
.t-display {                       /* CormorantGaramond-Medium 80/72 */
  font-family: var(--font-display);
  font-weight: 500; font-size: 80px; line-height: 72px; letter-spacing: 0; margin: 0;
}
.t-section {                       /* DMSans-ExtraLight 32/41.7 ls 3.2, textCase UPPER */
  font-weight: 200; font-size: 32px; line-height: 41.7px; letter-spacing: 3.2px; margin: 0;
  text-transform: uppercase;
}
.t-body {                          /* DMSans-Regular 16/20.8 */
  font-weight: 400; font-size: 16px; line-height: 20.8px;
}
.t-body-tracked { font-weight: 400; font-size: 16px; line-height: 20.8px; letter-spacing: 1.6px; }
.t-sm { font-weight: 300; font-size: 14px; line-height: 18.2px; }
.t-sm-tracked { font-weight: 400; font-size: 14px; line-height: 18.2px; letter-spacing: 1.4px; }
.t-xs { font-weight: 300; font-size: 12px; line-height: 15.6px; }

/* ---------- buttons ---------- */
.btn {
  text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 400; font-size: 16px; line-height: 20.8px;
  border-radius: var(--r-pill); padding: 24px 32px;
  transition: background-color var(--t-tint) var(--ease-out), color var(--t-tint) var(--ease-out),
    border-color var(--t-tint) var(--ease-out);
}
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--ink-hover); }   /* ASSETS 452:4464 */
.btn--ghost { color: var(--cream); border: 1px solid var(--cream); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--cream); color: var(--ink); }

.btn-pill {                        /* Frame 68 — 155x50, r32, 20/32 padding */
  text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 20px 32px; border-radius: var(--r-btn); white-space: nowrap;
  border: 1px solid var(--accent); color: var(--accent);
  font-weight: 500; font-size: 14px; line-height: 18.2px;
  transition: background-color var(--t-tint) var(--ease-out), color var(--t-tint) var(--ease-out);
}
/* ASSETS „Visi outline“ Frame 8 → Frame 5565: filled #403632, cream label, no visible stroke */
.btn-pill:hover, .btn-pill:focus-visible {
  background: var(--ink-hover); border-color: var(--ink-hover); color: var(--cream);
}

/* ---------- header (Component 4 — 1728x72) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h); background: var(--ink);
}
/* Client request 2026-11-03 (DEVIATIONS): the bar alone is wider than the 1140 column — the
   1728 canvas less a 64px gutter a side, logo far left, icons far right, so the seven-item
   menu keeps the comp's 16px / 32px. The page below keeps its column; ≤767px is mobile.css's. */
.site-header__inner {
  width: 1600px; margin-inline: auto; height: 100%;
  display: flex; align-items: center;
}
.site-header__logo { width: 166px; height: 40px; flex: none; }
.site-header__logo img { width: 166px; height: 40px; }
/* An uploaded logo (Nustatymai) keeps its own proportions inside the wordmark's box. */
.site-header__logo img, .drawer__top img { object-fit: contain; }

/* Frame 70 @560,30: 16/20.8 ls 1.6, 32px gaps, 100px after the logo (ends 460). The nav fills
   the room up to 32px before the actions block (Group 2 @1252), which `margin-left: auto` keeps
   in place for every menu and locale; each item hugs its label (the menu is admin-edited, so no
   pinned per-item widths). When the comp's own values overflow, the fit script in base.html
   (codity #182, DEVIATIONS 2026-11-03) adds `.site-nav--fit` (24px after the logo) and sets, in
   this order: `--nav-gap` down to a 12px floor, then `--nav-fs` down to a 14px FLOOR; a menu that
   still does not fit gets `.site-header--collapsed` — the burger + drawer, as at ≤767px. */
.site-nav {
  display: flex; align-items: center; gap: var(--nav-gap, 32px);
  margin-left: 100px; margin-right: 32px; flex: 1 1 0; min-width: 0;
}
.site-nav--fit { margin-left: 24px; }
.site-nav a {
  color: var(--sand); font-weight: 400; font-size: var(--nav-fs, 16px); line-height: 20.8px;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; flex: none;
  text-rendering: geometricPrecision;   /* unhinted: the row measures the same at every canvas zoom */
  transition: color var(--t-tint) var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cream); }
/* Collapsed (a menu too long for the 14px floor): the drawer's burger, drawn at the desktop
   icons' 18px glyph height, 32px before the logo. */
.site-header--collapsed .site-nav { display: none; }
.site-header--collapsed .burger {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 22px; height: 16px; margin-right: 32px; flex: none;
}
.site-header--collapsed .burger span { display: block; height: 2px; background: var(--sand); }

/* Group 2 @1252,18 (182x34): search 18 · 21 · heart 20 · 20 · user 16 · 20 · pill 67.
   The row's optical centre is y=35, one pixel above the bar's own centre. */
.site-header__actions {
  position: relative;
  display: flex; align-items: center; gap: 20px; margin-left: auto;
  height: 34px; align-self: flex-start; margin-top: 18px; flex: none;
}
.site-header__actions .icon-btn { display: flex; align-items: center; justify-content: center; flex: none; }
.site-header__actions .icon-btn:nth-child(2) { margin-left: 1px; }
.site-header__actions .icon-btn:nth-child(1) img { width: 18px; height: 18px; }
.site-header__actions .icon-btn:nth-child(2) img { width: 20px; height: 18px; }
.site-header__actions .icon-btn:nth-child(3) img { width: 16px; height: 18px; }
/* Header heart: filled while the wishlist holds something; the two glyphs cross-fade. */
.hwish { position: relative; }
.hwish img { transition: opacity var(--t-tint) var(--ease-out); }
.hwish__solid { position: absolute; inset: 0; margin: auto; opacity: 0; }
.hwish.is-active .hwish__solid { opacity: 1; }
.hwish.is-active img:first-child { opacity: 0; }

/* Signed in (frame `Pirkimų istorija` 376:10981): Ellipse 190 432:4343 — 5x5 --success with
   its own 5px glow, @1347,33 against the person icon @1331.4,26 — and the account card
   Group 5683 432:4379 @1168,60 266x192, its right edge on the actions row's (1434), 42px
   under the row's top (18). Rows @1184,73 + n*42 (the 234x42 Rectangle 2996 pitch), icon
   @16 (1px above the row's centre), label @58 — DM Sans 16/20.832 w400. */
.acct-toggle { position: relative; }
.acct-toggle__dot {
  position: absolute; left: 16px; top: 7px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 5px var(--success);
}
.acct-menu {
  position: absolute; right: 0; top: 42px; z-index: 5; width: 266px;
  padding: 12px 15px 10px; background: var(--white); border: 1px solid var(--sand);
  border-radius: 16px; box-shadow: 0 0 20px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-tint) var(--ease-out), visibility 0s linear var(--t-tint);
}
.acct-menu.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity var(--t-tint) var(--ease-out), visibility 0s;
}
.acct-menu form { margin: 0; }
.acct-menu__item {
  width: 234px; height: 42px; padding: 0 0 0 16px; border-radius: 16px;
  display: flex; align-items: center; gap: 24px; text-align: left; white-space: nowrap;
  color: var(--ink); font-weight: 400; font-size: 16px; line-height: 20.832px;
  transition: background-color var(--t-tint) var(--ease-out), color var(--t-tint) var(--ease-out);
}
.acct-menu__item:hover, .acct-menu__item:focus-visible, .acct-menu__item[aria-current] {
  background: var(--cream); color: var(--accent);
}
.acct-menu__icon {                                    /* the account sidebar's own exports, */
  flex: none; width: 18px; height: 18px; position: relative; top: -1px;   /* tinted by color */
  background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.acct-menu__icon--history { --icon: url("../img/icons/icon-acct-history.svg"); }
.acct-menu__icon--person {                            /* Group 1 432:4361: 16 wide, @+1 */
  --icon: url("../img/icons/icon-acct-person.svg"); width: 16px; margin-inline: 1px;
}
.acct-menu__icon--password { --icon: url("../img/icons/icon-acct-password-off.svg"); }
.acct-menu__icon--logout { --icon: url("../img/icons/icon-acct-logout.svg"); }

/* Group 5724 519:4578 — the footer's language picker (2026-09-25 revision): „Lietuvių k.“
   cream 14/18.2 w300 ls 1.4 @1200,7253, Vector 42 chevron 9x5 @1285 (8px after the text), 24px
   before the socials @1318. `<details>` needs no JavaScript; the open panel is a declared
   deviation (design/DEVIATIONS.md) — the comp draws only closed — and opens UPWARD. */
.lang-switch { position: relative; flex: none; }
.lang-switch__chip {
  /* 4.6px, not the comp's 8: DM Sans' advance for „Lietuvių k.“ runs 3.4px wider than Figma's
     77px box, so the text's LEFT edge (1200) is what is held — measured, home.json */
  display: flex; align-items: center; gap: 4.6px; cursor: pointer; list-style: none;
  color: var(--cream); font-weight: 300; font-size: 14px; line-height: 18.2px;
  letter-spacing: 1.4px; transition: color var(--t-tint) var(--ease-out);
}
.lang-switch__chip::-webkit-details-marker { display: none; }
.lang-switch__chip::marker { content: ""; }
.lang-switch:hover .lang-switch__chip, .lang-switch__chip:focus-visible,
.lang-switch[open] .lang-switch__chip { color: var(--sand); }
.lang-switch__chevron { transition: transform var(--t-move) var(--ease-out); }
.lang-switch[open] .lang-switch__chevron { transform: rotate(180deg); }
/* The open panel is the ASSETS dropdown (Group 5708 452:4679): white r16, 1px INSIDE #d4c5b5
   stroke, 0 0 20 rgba(0,0,0,.25); rows 26 tall at a 30 pitch, 16 in from the edge, the
   highlighted one #f5f0e8 r8 with its 14/400 ink text 8 in. */
.lang-switch__panel {
  position: absolute; left: 0; bottom: 100%; margin-bottom: 12px; z-index: 5; min-width: 120px;
  display: flex; flex-direction: column; gap: 4px; padding: 15px;   /* + the 1px stroke = 16 */
  background: var(--white); border: 1px solid var(--sand); border-radius: 16px;
  box-shadow: var(--drop-shadow);
  animation: lang-drop-in var(--t-move) var(--ease-out);
}
@keyframes lang-drop-in { from { opacity: 0; transform: translateY(8px); } }
.lang-switch__panel a {
  display: flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 8px;
  color: var(--ink); font-size: 14px; line-height: 18.2px; white-space: nowrap;
  transition: background-color var(--t-tint) var(--ease-out);
}
.lang-switch__panel a:hover, .lang-switch__panel a:focus-visible { background: var(--cream); }
/* Flags, not words (client, 2026-10-27; design/DEVIATIONS.md): one 21x14 box for both — the
   SVGs `slice` into it — and a hairline so the white of the Union Jack holds its edge. */
.lang-switch__flag {
  display: block; width: 21px; height: 14px; flex: none; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(245, 240, 232, .25);
}
.lang-switch__panel { min-width: 0; padding: 7px; border-radius: 12px; }   /* + stroke = 8 */
.lang-switch__panel a { justify-content: center; padding: 0 6px; }

.cart-pill {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 34px; padding: 8px 16px; border-radius: 40px;
  background: var(--accent); color: var(--sand);
  font-weight: 400; font-size: 16px; line-height: 20.8px;
}
.cart-pill img { width: 17px; height: 18px; flex: none; }

/* ---------- search bar: Rectangle 5 377:4792 — 1728x72 over the header ---------- */
.hsearch {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h); background: var(--ink);
}
.hsearch[hidden] { display: none; }
.hsearch__form { display: flex; align-items: center; height: 100%; }
.hsearch__go { flex: none; display: flex; padding: 0; background: none; border: 0; cursor: pointer; }
.hsearch__go img { width: 18px; height: 18px; }                    /* 377:4802 @294,26 */
.hsearch__input {                                                  /* 377:4817 @353,26 */
  flex: 1 1 auto; min-width: 0; margin-left: 41px; padding: 0;
  background: none; border: 0; outline: none;   /* comment 46: no ring around the bar's input — the caret is its focus cue */
  color: var(--shell); font-family: var(--font-body); font-weight: 200;
  font-size: 24px; line-height: 31.2px;
}
.hsearch__input::placeholder { color: var(--shell); opacity: .55; }
.hsearch__input::-webkit-search-cancel-button { display: none; }
.hsearch__close { flex: none; display: flex; margin-left: 24px; }  /* 377:4813 @1418,28 */
.hsearch__close img { width: 17px; height: 17px; }

/* ---------- drawer (no frame in the design; built from the header tokens) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(44, 36, 32, .6); opacity: 0; transition: opacity var(--t-tint) var(--ease-out); }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw);
  background: var(--ink); color: var(--sand); padding: 22px 24px 32px;
  transform: translateX(-100%); transition: transform var(--t-move) var(--ease-out);
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 22px; }
.drawer__close { font-size: 28px; line-height: 1; color: var(--sand); width: 32px; height: 32px; display: grid; place-items: center; }
.drawer__nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid rgba(212, 197, 181, .15);
  color: var(--sand); font-weight: 400; font-size: 16px; line-height: 20.8px; letter-spacing: 1.6px; text-transform: uppercase;
}
.drawer__nav li { opacity: 0; transform: translateX(-12px); transition: opacity var(--t-move) var(--ease-out), transform var(--t-move) var(--ease-out); transition-delay: calc(.08s + var(--i) * var(--stagger-tight)); }
.drawer.is-open .drawer__nav li { opacity: 1; transform: none; }
.drawer__meta a { display: block; padding: 8px 0; color: var(--muted); font-weight: 300; font-size: 14px; line-height: 18.2px; letter-spacing: 1.4px; }
/* The scroll lock of every drawer / overlay sits on the ROOT, the page's real scroller: on
   `body` (with the root's own overflow-x set) it made the body a scroll container of its own,
   and the sticky header — pinned inside it — slid out of view when the page was scrolled. The
   comps draw the lit header above the scrim, so the root keeps its scroll position instead. */
html:has(> body.drawer-open) { overflow: hidden; }

/* ---------- footer (Component 14 — 1728x360) ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-top: 75.8px; }
.site-footer__cols {
  display: grid; grid-template-columns: 291px 294px 288px auto; column-gap: 0;
}
.site-footer__cols > nav:first-child { padding-left: 2px; }   /* column 1 text sits at 296 */
.fcol__toggle { display: flex; align-items: center; gap: 8px; text-transform: inherit; letter-spacing: inherit; color: inherit; pointer-events: none; }
.fcol__toggle img { display: none; }
.site-footer__label {
  text-transform: uppercase;
  color: var(--gold); font-weight: 300; font-size: 14px; line-height: 18.2px;
  letter-spacing: 1.4px; margin: 0 0 15.8px;
}
.site-footer__cols a, .site-footer__cols li {
  color: var(--cream); font-weight: 300; font-size: 14px; line-height: 18.2px;
  letter-spacing: 1.4px;
}
.site-footer__cols li + li { margin-top: 10.8px; }
.site-footer__cols a:hover { color: var(--gold); }
.newsletter__copy {
  font-weight: 300; font-size: 12px; line-height: 15.6px; letter-spacing: 1.2px;
  margin: 0 0 11.5px; padding-top: 1.6px; max-width: 267px;   /* 116:1298 cap @+114 (the „Sau“ row's); the field stays put */
}
.newsletter__field {
  display: flex; align-items: center; gap: 9px;
}
.newsletter__input {
  width: 201px; height: 42px; border-radius: 24px; border: 1px solid var(--accent);
  background: transparent; color: var(--cream); padding: 0 16px;
  font-weight: 500; font-size: 14px; line-height: 18.2px;
}
.newsletter__input::placeholder { color: var(--accent); }
.newsletter__submit { width: 41px; height: 42px; flex: none; }
.newsletter__consent {
  /* Group 5381 @1167,5145 — a 16px row: the box on the comp's y. The label hangs from the row's
     top, 1px down, so its cap top lands 4px under the box top and its baseline 12px (252:935
     @5149, cap-trimmed 8px) — centring it put both 1px high at 1728 */
  display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; height: 16px;   /* 12 - the box's 4 */
  font-weight: 300; font-size: 12px; line-height: 15.6px; letter-spacing: 1.2px;
}
.newsletter__consent span { margin-top: 1px; }
.newsletter__consent input {           /* the one checkbox (tokens.css), on the 16px box's centre */
  appearance: none; width: var(--check); height: var(--check); flex: none; margin: -2px 0;
  border: 1px solid var(--accent); border-radius: var(--r-check); background: transparent;
  cursor: pointer;
  transition: background var(--t-tint) var(--ease-out), border-color var(--t-tint) var(--ease-out);
}
.newsletter__consent input:checked {   /* checked box — 468:4362 */
  background: var(--accent) url("../img/icons/icon-check-white.svg") no-repeat 4.5px 5.5px / 10px 7px;
  border-color: var(--accent);
}
/* Comment 17: the link is part of #252:935 — 12/15.6 ls 1.2 like its sentence, not the 14px column links */
.site-footer .newsletter__consent a { font: inherit; letter-spacing: inherit; }
.newsletter__consent a, .nl__consent a { text-decoration: underline; }
/* Vector 10 @5209 — 48px under the consent row (Group 5381 ends at 5161) */
.site-footer__rule { height: 1px; background: rgba(139, 99, 85, .4); margin-top: 48px; }
.site-footer__bottom {
  /* Comp positions: copyright @294, socials @1318-1434. */
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 21.8px 0 41.1px; color: var(--accent);   /* text cap 7252, footer ends 7309 */
  font-weight: 300; font-size: 14px; line-height: 18.2px; letter-spacing: 1.4px;
}
.site-footer__end { display: flex; align-items: center; gap: 24px; }
.site-footer__social { display: flex; align-items: center; gap: 24px; }

/* ---------- carousel (collections, blog) ---------- */
.carousel { overflow: hidden; }
.carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track[hidden] { display: none; }
.carousel__track { transition: opacity var(--t-tint) var(--ease-out); }
.carousel__track.is-fading { opacity: 0; }
.carousel__track > * { flex: none; scroll-snap-align: start; }
.dots .dot { transition: background-color var(--t-tint) var(--ease-out), opacity var(--t-tint) var(--ease-out); }
.dots .dot:not(.is-active):hover { background: var(--muted); }
.dots .dot.is-active:hover { opacity: .7; }
.tabs { position: relative; }
.tabs__ink {
  position: absolute; left: 0; bottom: 0; height: 1px; background: var(--accent);
  width: var(--w, 0); transform: translateX(var(--x, 0)); transition: transform var(--t-move) var(--ease-out), width var(--t-move) var(--ease-out);
}
.js .tab.is-active { border-bottom-color: transparent; }

/* ---------- mini-cart drawer — `krepselis-sidebar` 347:13187, panel 461 @1267 ----------
   The comp lets the content flow from the top (the panel is taller than it), so the panel
   itself scrolls; nothing is bottom-anchored. Cap-top positions are converted to line-box
   tops with the DM Sans cap offset (16/20.8 -> 4.72, 14/18.2 -> 4.13, 12/15.6 -> 3.54). */
.cart-drawer { position: fixed; inset: 0; z-index: 120; }
/* The Turnstile challenge dock (static/js/turnstile.js; no comp — design/DEVIATIONS.md). Empty
   and 0 tall at rest (`appearance: interaction-only`); Cloudflare's own box appears here only when
   it asks for a click, above every overlay (.modal 40, the consent card 45, the drawers 100/120). */
.ts-dock { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translateX(-50%); }
.cart-drawer[hidden] { display: none; }
.cart-drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; }
.cart-drawer__frost {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(15.5px); backdrop-filter: blur(15.5px);
}
/* Rectangle 8 375:3831 (2026-09-25): #000 at 40% + BACKGROUND_BLUR r31 — CSS blur() takes the
   sigma, Figma's radius is twice it (comment 32). The blur is a sibling UNDER the tint, not the
   tint itself: re-blurring the page costs a whole frame on a weak GPU (83 ms in headless
   Chromium), so it fades in once the panel has arrived and the slide itself stays at 60 fps. */
/* comment 31 — `prideta-i-krepseli` 416:4552 (2026-09-25): the head, a scrolling middle and a
   foot anchored to the panel's bottom (Bendra suma cap 834 … trust line cap 990 on a 1037
   panel, the same in the one-line and the three-recommendation panels). Line tops below are
   cap tops minus the cap offset Chrome renders DM Sans at (16/20.8 3.84, 14/18.2 4.09,
   12/15.6 2.57, 10/18 4.9 — measured, see design/verify/prideta-i-krepseli*.json). */
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; width: 461px; height: 100%;
  display: flex; flex-direction: column; background: var(--white);
  transform: translateX(100%);
}
.cart-drawer__head {
  position: relative; flex: none;
  height: 58px; padding: 20.2px 32px 0;                     /* title cap 24, rule 58 */
  border-bottom: 1px solid var(--shell);
}
.cart-drawer__title {
  display: flex; align-items: flex-start; gap: 14px;       /* tick @32, text @62 */
  margin: 0; font-weight: 300; font-size: 16px; line-height: 20.8px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent);
}
.cart-drawer__tick { display: none; margin-top: .8px; }     /* tick top 21 */
.cart-drawer__added { display: none; color: var(--ink); }
.cart-drawer.is-added .cart-drawer__added,
.cart-drawer.is-added .cart-drawer__tick,
.cart-drawer:has(.cart-empty) .cart-drawer__tick { display: block; }
.cart-drawer.is-added .cart-drawer__standard,
.cart-drawer:has(.cart-empty) .cart-drawer__count { display: none; }
.cart-drawer__close { position: absolute; right: 24px; top: 24px; width: 10px; height: 10px; }
.cart-drawer__body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
/* client 2026-11-04: ONE scrolling column — lines, recommendations and the foot scroll together,
   nothing is pinned, so no line is ever squeezed (design/DEVIATIONS.md) */
.cart-drawer__scroll { flex: none; padding: 0 32px; }

/* free shipping, short of it — Group 5621 426:4433: lead cap 90, bar 108, note cap 124 */
.cart-ship__lead {
  margin: 28.16px 0 0; font-weight: 300; font-size: 16px; line-height: 20.8px;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent);
}
.cart-ship__lead-phone { display: none; }                  /* the 360 sheet's wording (mobile.css) */
.cart-ship__bar { margin-top: 1.04px; height: 6px; border-radius: 24px; background: var(--shell); overflow: hidden; }
.cart-ship__bar span { display: block; height: 6px; border-radius: 24px; background: var(--accent); }
.cart-ship__note { margin: 5.1px 0 0; font-weight: 300; font-size: 10px; line-height: 18px; }
/* reached — Group 5612 416:4714: the accent tick @82 and one 14/18.2 line, cap 85 */
.cart-ship--reached {
  display: flex; align-items: center; gap: 14px; margin: 22.91px 0 0;
  font-weight: 300; font-size: 14px; line-height: 18.2px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--ink);
}
.cart-ship--reached img { flex: none; }

/* lines — image 130 @+0, text column @+162; the rule sits halfway along the 32 between rows
   (Vector 50 @268). Short of free: image 163 (note line ends 137.1); reached: 122. */
.cart-lines { margin-top: 25.9px; }
.cart-ship--reached + .cart-lines { margin-top: 22.89px; }
.cart-line { display: grid; grid-template-columns: 130px 1fr; column-gap: 32px; align-items: start; }
.cart-line + .cart-line { margin-top: 15.5px; padding-top: 15.5px; border-top: 1px solid var(--shell); }
.cart-line__img { width: 130px; height: 130px; object-fit: cover; }
.cart-line__body { position: relative; display: flow-root; min-width: 0; }
.cart-line__name {
  margin: 14.22px 0 0; font-size: 16px; line-height: 20.8px; letter-spacing: 1.6px;  /* cap +18 */
  text-transform: uppercase; padding-right: 60px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-line__brand {
  margin: 7.41px 0 0; font-weight: 500; font-size: 12px; line-height: 15.6px;          /* cap +45 */
  text-transform: uppercase; color: var(--accent);
}
.cart-line__variant {                                        /* Group 5642: text cap +72 */
  display: flex; align-items: center; gap: 6px; margin: 11.4px 0 0;
  font-size: 12px; line-height: 15.6px; color: var(--muted);
}
.cart-line__swatch { flex: none; align-self: flex-start; margin-top: -.43px;     /* Ellipse 4 top 232 */
  width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--sand); }
.cart-line__price { position: absolute; right: 0; top: 14.22px; margin: 0; font-size: 16px; line-height: 20.8px; }
.cart-line__was {
  position: absolute; right: 0; top: 42.43px; margin: 0; font-size: 12px; line-height: 15.6px;
  color: var(--danger); text-decoration: line-through;
}
/* the qty pill (+77 without a variant, +98 with one) and the edit/delete pair centred on it */
.cart-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 18.97px; }
.cart-line__variant + .cart-line__price + .cart-line__row,
.cart-line__variant + .cart-line__price + .cart-line__was + .cart-line__row { margin-top: 12.97px; }
.cart-line__acts { display: flex; gap: 16px; }
.cart-line__edit, .cart-line__del { display: block; width: 12px; height: 12px; }
.cart-line__edit img, .cart-line__del img { display: block; }

/* qty pill — Group 4393, 110x35 r40, stroke #e6dace */
.qty {
  display: flex; align-items: center; justify-content: space-between;
  width: 110px; height: 35px; padding: 0 15px; border: 1px solid var(--shell); border-radius: 40px;
}
.qty__btn { width: 12px; height: 12px; line-height: 12px; text-align: center; font-size: 15px; }
/* Vector 31 @16 / Group 4392 @82 of the pill, both centred on its y18 (half a px under 17.5) */
.cart-line .qty__btn { display: grid; place-items: center; margin-top: 1px; }
.cart-line .qty__btn img { display: block; }
.qty__value { margin-top: 1.66px; font-weight: 500; font-size: 16px; line-height: 20.8px; letter-spacing: 1.6px; }

/* recommendations — Rectangle 9 @1267,471 (461x315, full bleed) + Group 5615 */
.cart-recs { position: relative; margin: 32px -32px 0; padding: 29.91px 32px 0; min-height: 355px; box-sizing: border-box; background: var(--cream); }
/* client 2026-11-04: the band is no longer sticky — it scrolls with the lines and the foot, so
   a short viewport (R2-07) reaches every control by scrolling and no line is covered */
.cart-recs__title {
  margin: 0; font-weight: 300; font-size: 14px; line-height: 18.2px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent);
}
.cart-recs__nav { position: absolute; right: 32px; top: 32px; display: flex; gap: 4px; }
.cart-recs__arrow {
  width: 14px; height: 14px; display: grid; place-items: center;
  border: 1px solid var(--sand); border-radius: 50%;
}
.cart-recs__list { display: flex; gap: 18px; margin-top: 11.93px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.cart-recs__list::-webkit-scrollbar { display: none; }
.rec { flex: none; width: 120px; }
.rec__img { width: 120px; height: 120px; object-fit: cover; }
.rec__brand {
  margin: 13.41px 0 0; font-weight: 500; font-size: 12px; line-height: 15.6px;
  text-transform: uppercase; color: var(--accent);
}
/* R2-07: the button follows the name's LAST line (cap box bottom 690 → Frame 8 @706 = 16),
   so a one-line name no longer leaves a 34px hole above it */
.rec__name {
  margin: 2.81px 0 0; font-size: 14px; line-height: 18px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.rec__form { margin-top: 12.21px; }
/* Frame 8 416:4552 hugs its label (pad 8/16, 113 for „€120“): a longer price or the EN label
   widens the pill, up to the card's 120, instead of running out of it */
.rec__add {
  display: flex; align-items: center; justify-content: center; height: 23px; padding: 0 15px;
  width: fit-content; max-width: 100%; white-space: nowrap; border: 1px solid var(--sand); border-radius: 40px;
  font-weight: 500; font-size: 10px; line-height: 13px; text-transform: uppercase; color: var(--accent);
}

/* foot — Bendra suma cap 834, Frame 5 @869 (397x47), Tęsti cap 940, trust cap 990 */
/* R2-07: 28.16 = the band's bottom (801) to Bendra suma's cap (833) less the 3.84 cap offset —
   the gap the comp draws, kept when the band sits on the foot over a scrolled list */
.cart-drawer__foot { flex: none; margin-top: auto; padding: 28.16px 32px 34.95px; }
.cart-total {
  display: flex; justify-content: space-between; margin: 0;
  font-size: 16px; line-height: 20.8px; letter-spacing: 1.6px; text-transform: uppercase;
}
.cart-total__sum { letter-spacing: 0; }
.cart-cta {
  display: flex; align-items: center; justify-content: center; margin-top: 18.93px;
  height: 47px; border-radius: 40px; background: var(--ink); color: var(--cream);
  font-weight: 500; font-size: 14px; line-height: 18.2px; text-transform: uppercase;
}
.cart-continue {
  display: block; width: 100%; margin-top: 19.91px;
  font-weight: 500; font-size: 14px; line-height: 18.2px; text-transform: uppercase;
}
.cart-note {
  margin: 32.34px 0 0; text-align: center; font-size: 12px; line-height: 15.6px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
}
/* empty — Group 5659 426:4592: bag 36x40 top 485, cap 541 — the pair centred on the panel */
.cart-empty { position: absolute; left: 0; right: 0; top: calc(50% - 33.5px); text-align: center; }
.cart-empty img { display: block; margin: 0 auto; }
.cart-empty__lead {
  margin: 11.27px 0 0; font-weight: 300; font-size: 16px; line-height: 20.8px;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--shell);
}
/* A slot's phone photo has its own focal point (PH-19): `media.focus_style` writes it as
   --focus-m next to the desktop one, and only the phone canvas reads it. */
@media (max-width: 767px) {
  img[style*="--focus-m"] { object-position: var(--focus-m) !important; }
}

/* ---------- form controls — the ASSETS sheet 437:4356 (T-069) ----------
   ONE input, `partials/field.html`: Frame 91 452:4602 (Default) · 5566 (Hover) · 5567 (Active)
   · 5570 (Filled) · 5569/5571 (Disabled) · 5577/5576 (Error) — 50 tall, r40, white, 1px INSIDE
   #d4c5b5. Empty, the label IS the placeholder: 14/24 w400 #b0a191, cap @+20,+20. Focused or
   with a value it floats to 10/24 w500 (cap @+20,+12) and the value types at 14/24 w500 ink (cap
   @+28). Hover and focus stroke #8b6355. Disabled #f5f0e8: an empty one keeps the #b0a191
   placeholder, a filled one a #d4c5b5 label over a #b0a191 value. Error #fb6262 on the stroke,
   the label and the value (w400); its message is 12/24 #fb6262 at the field's own left edge,
   cap 9 under it — the page frame's error 369:5322 (the sheet itself spaces it 16, see
   design/DEVIATIONS.md), so a page makes 24px of room under an errored field. */
.fld { position: relative; margin: 0; }
.fld__input {
  display: block; width: 100%; height: 50px; margin: 0; padding: 19.8px 20px 4.2px 19px;
  border: 1px solid var(--sand); border-radius: 40px; background-color: var(--white);
  color: var(--ink); font-family: var(--font-body); font-weight: 500; font-size: 14px;
  line-height: 24px;
  transition: border-color var(--t-tint) var(--ease-out), background-color var(--t-tint) var(--ease-out),
              color var(--t-tint) var(--ease-out);
}
.fld__input::placeholder { color: transparent; }
.fld__input:hover, .fld__input:focus { border-color: var(--accent); outline: none; }
.fld__label {
  position: absolute; left: 20px; top: 12.8px; pointer-events: none;
  color: var(--muted); font-weight: 400; font-size: 14px; line-height: 24px;
  transform-origin: 0 50%;
  transition: transform var(--t-move) var(--ease-out), font-weight var(--t-tint) linear,
              color var(--t-tint) var(--ease-out);
}
/* Floats the moment the field is clicked into (Active 452:4606 — Figma comments #37 / R2-10:
   „kai paspaudi ant input JAU turi sumažėt title“) and stays up while it carries a value. */
.fld__input:focus + .fld__label,
.fld__input:not(:placeholder-shown) + .fld__label,
.fld__select + .fld__label {
  /* 14 -> 10: the line's centre (+24.8) drops 9.37 so the scaled cap lands on +12 (R2-10) */
  transform: translateY(-9.37px) scale(.7143); font-weight: 500;
}
.fld__input:is(:disabled, [readonly]) { background-color: var(--cream); color: var(--muted); cursor: default; }
.fld__input:is(:disabled, [readonly]):hover { border-color: var(--sand); }
.fld__input:is(:disabled, [readonly]):not(:placeholder-shown) + .fld__label { color: var(--sand); }
.fld--error .fld__input { border-color: var(--danger); color: var(--danger); font-weight: 400; }
.fld--error .fld__label { color: var(--danger); }
.fld__error {                              /* the field's own width, as 369:5322's box is */
  position: absolute; left: 0; right: 0; top: 51.4px; color: var(--danger);
  font-weight: 400; font-size: 12px; line-height: 24px;
}
textarea.fld__input {                     /* grows a 24px line at a time, never a scrollbar */
  height: auto; min-height: 50px; resize: none; overflow: hidden; field-sizing: content;
}
.fld:has(> button) .fld__input { padding-right: 54px; }   /* the value stops short of the eye */

/* The select — 452:4628 (Default) … 452:4680 (Selected): the input's pill with the frames'
   own caret (Vector 6, 8x4 @+20 from the right, +23 down — 367:5174, 376:10757; the export
   is 9x6 with its stroke, so it sits half a px out, inside the 1px border). It stays a NATIVE <select> (semantics,
   keyboard, the phone's own picker); where `appearance: base-select` exists the open list is
   the sheet's — Rectangle 16 452:4673: white, 1px INSIDE #d4c5b5, r16, 0 0 20 rgba(0,0,0,.25),
   8 under the pill, 16 inset; rows 26 tall r8 on a 30 pitch, 14/18.2 w400 ink 8 in, the
   current one #f5f0e8 (Rectangle 17 452:4674). Elsewhere the OS list opens. An empty first
   option is the placeholder (Frame 5572 „Select“ at rest), so the label stays down until the
   select is focused or open. */
.fld__select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("../img/icons/icon-chevron-field.svg");
  background-repeat: no-repeat; background-position: right 18.5px top 21.5px; background-size: 9px 6px;
}
.fld__select:has(option[value=""]:checked):not(:focus) + .fld__label { transform: none; font-weight: 400; }
@supports (appearance: base-select) {
  .fld__select, .fld__select::picker(select) { appearance: base-select; }
  .fld__select::picker-icon { display: none; }
  .fld__select:open { border-color: var(--accent); }
  /* open, the focus sits on an option in the picker — the click still floats the label */
  .fld__select:has(option[value=""]:checked):open + .fld__label {
    transform: translateY(-9.37px) scale(.7143); font-weight: 500;
  }
  .fld__select::picker(select) {
    box-sizing: border-box; margin-top: 8px; padding: 16px; border: 1px solid var(--sand);
    border-radius: 16px; background: var(--white); box-shadow: 0 0 20px rgba(0, 0, 0, .25);
    opacity: 0;
    transition: opacity var(--t-tint) var(--ease-out), display var(--t-tint) allow-discrete,
                overlay var(--t-tint) allow-discrete;
  }
  .fld__select:open::picker(select) { opacity: 1; }
  @starting-style { .fld__select:open::picker(select) { opacity: 0; } }
  .fld__select option {
    min-height: 26px; padding: 0 8px; border-radius: 8px; cursor: pointer;
    color: var(--ink); font-family: var(--font-body); font-weight: 400; font-size: 14px;
    line-height: 18.2px; transition: background-color var(--t-tint) var(--ease-out);
  }
  .fld__select option + option { margin-top: 4px; }
  .fld__select option:is(:hover, :focus-visible, :checked) { background-color: var(--cream); outline: none; }
  .fld__select option::checkmark { display: none; }
  .fld__select option[value=""] { display: none; }
}

/* ---------- the toast — Group 5712 470:4434 (T-093) ----------
   Rectangle 3001 267x48 r40 #35d36f, the text 16/24 w400 white (cap @+24,+18), the × (Group
   5450, 16x16 two 1px white strokes) @+235,+16 in a 48px hit box. The ONE storefront notice:
   every flash renders it (`partials/flashes.html`); an error is the sheet's #fb6262. A longer
   message grows leftwards from the right edge and wraps rather than leave the screen. Shown
   8 under the header on the container's right edge — where 347:11875 puts it. */
.flashes { position: relative; z-index: 30; height: 0; }
.flashes--fixed { position: fixed; left: 0; right: 0; z-index: 60; }   /* motion.js `toast()` */
.flashes__stack {
  position: absolute; right: 0; top: 8px; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 100%;
}
.toast {
  position: relative; box-sizing: border-box; min-width: 267px; max-width: 100%; min-height: 48px;
  padding: 12px 64px 12px 24px; border-radius: 40px; display: flex; align-items: center;
  background: var(--success); color: var(--white);
  font-weight: 400; font-size: 16px; line-height: 24px;
  animation: toast-in var(--t-tint) var(--ease-out);   /* no fill: the close transition owns opacity after */
  transition: opacity var(--t-tint) var(--ease-out);
}
.toast--danger { background: var(--danger); }
.toast.is-closing { opacity: 0; }
@keyframes toast-in { from { opacity: 0; } }
.toast__close {                                         /* a 48px hit box centred on the × */
  position: absolute; right: 0; top: 0; width: 48px; height: 48px; padding: 0; border: 0;
  display: flex; align-items: center; justify-content: center; background: none; cursor: pointer;
  border-radius: 40px; transition: opacity var(--t-tint) var(--ease-out);
}
.toast__close:hover { opacity: .7; }
.toast__close:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }
.toast__close img { width: 17px; height: 17px; }

/* the consent card's reopen link (partials/footer.html) — the footer bottom line's own text, in
   sand: the line's accent is 2.9:1 on ink (the palette's A1), a control has to read (9.1:1) */
.site-footer__cookies {
  color: var(--sand); font: inherit; letter-spacing: inherit;
  text-decoration: underline transparent; text-underline-offset: 3px;
  transition: text-decoration-color var(--t-tint) var(--ease-out);
}
.site-footer__cookies:hover, .site-footer__cookies:focus-visible { text-decoration-color: currentColor; }
