/* YSY pakuotės: demo dizainas v4 „Etiketė ir sagtis“.
   Taisyklės:
   - Spalvos paimtos iš tikrų YSY daiktų: citrininė „YsY“ etiketės geltona, tamsiai mėlyna, kraftas, bordo.
     Kiekviena kategorija turi savo spalvą: maišeliai kraftas, dėžės tamsiai mėlyna, dovanų dėžutės bordo.
   - Antraštės ir kainos: Newsreader (tvirtas serifas kaip „YsY“ etiketėje). Tekstas ir mygtukai: Schibsted Grotesk.
   - Kampai visur statūs. Šešėlių nėra, išskyrus uždangą po skydeliais ir sagties piešinį.
   - Nuotraukos visada ant šviesaus pagrindo, ir tamsiame režime.
   - Ikonos tik funkcinės (paieška, krepšelis, uždaryti, +/-).
   - Niekas nejuda įkeliant ar slenkant. Judesys tik kaip atsakas į veiksmą, išjungiamas pasirinkus „mažiau judesio“. */

/* Google Fonts Newsreader didžiąją Ū išskaido į U ir atskirą brūkšnelį, kuris nuslenka į dešinę („AČIU¯“).
   Šis aprašas raides U+0100-017F ima iš latin-ext failo, kuriame Ū nupiešta vientisa.
   WordPress svetainėje šriftą laikyti savo serveryje vienu failu, be latin ir latin-ext skaidymo. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(https://fonts.gstatic.com/s/newsreader/v26/cY9AfjOCX1hbuyalUrK439DyjIJFJpeBZQ.woff2) format("woff2"); unicode-range: U+0100-017F; }

:root {
  --paper: #F4F3EE;
  --surface: #FBFBF8;
  --tint: #E9E9E5;
  --ink: #14213D;
  --muted: #4A5468;
  --line: #D3D2CC;
  --field: #6E7381;
  --lemon: #F7EA12;
  --navy: #14213D;
  --kraft: #BF9A78;
  --burgundy: #51242C;
  --plate: #E3E5E7;
  --lime: #84DA3A;
  --ok: #136C3A;
  --err: #B3261E;
  --focus: #14213D;
  --hero-bg: #F7EA12;
  --hero-title: #14213D;
  --hero-text: #14213D;
  --panel-navy: #14213D;
  --panel-burgundy: #51242C;
  --stage: #14213D;
  --stage-text: #F4F3EE;
  --stage-muted: #C9CFDB;
  --biz-bg: #F7EA12;
  --biz-text: #14213D;
  --footer: #14213D;
  --cta-bg: #14213D;
  --cta-fg: #F7EA12;
  /* senieji pavadinimai, kuriuos naudoja kiti puslapiai */
  --bg: var(--paper);
  --accent: var(--lemon);
  --accent-ink: #14213D;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: var(--sans);
  --container: 1280px;
  --pad: 24px;
  /* z-index skalė: viršus 40, mobili pirkimo juosta 45, uždanga 60, skydeliai 70 */
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1626;
    --surface: #152037;
    --tint: #1C2840;
    --ink: #EEF0F4;
    --muted: #A9B2C3;
    --line: #2A3650;
    --field: #7C8597;
    --plate: #C9CFD6;
    --ok: #5FCF8F;
    --err: #FF8A80;
    --focus: #F7EA12;
    --hero-bg: #16213A;
    --hero-title: #F7EA12;
    --hero-text: #EEF0F4;
    --panel-navy: #2F4C85;
    --panel-burgundy: #7D3443;
    --stage: #1E2E50;
    --biz-bg: #16213A;
    --biz-text: #EEF0F4;
    --footer: #0A1120;
    --cta-bg: #F7EA12;
    --cta-fg: #14213D;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.1; text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 800; letter-spacing: -.012em; }
h2 { font: 800 clamp(1.875rem, 1.1rem + 2.2vw, 2.75rem)/1.05 var(--serif); letter-spacing: -.012em; }
h3 { font: 700 1.1875rem/1.25 var(--sans); }
.panel-head h2, .co-step h2, .summary h2, .form h2, .info h2, .buy-desc h2 { font: 700 1.25rem/1.25 var(--sans); letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--lemon); color: #14213D; }
.ph { font-size: 1.25em; line-height: 1; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head.stack { flex-direction: column; align-items: start; gap: 8px; }
.section-head.stack p { color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 80; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.only-mobile.only-mobile { display: none; }
/* Žymė vietoms, kur trūksta kliento duomenų */
.todo { display: inline-block; background: var(--lemon); color: #14213D; border: 1px dashed #14213D; padding: 0 6px; font: 600 .875rem/1.5 var(--sans); }

/* Mygtukai: stačiakampiai, kaip etiketės */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; font: 700 1rem/1.1 var(--sans); white-space: nowrap; border: 2px solid var(--ink); background: transparent; color: var(--ink); transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lemon); color: #14213D; border-color: #14213D; }
.btn-primary:hover { background: #14213D; color: var(--lemon); border-color: #14213D; }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-ink { background: var(--cta-bg); color: var(--cta-fg); border-color: var(--cta-bg); }
.btn-ink:hover { background: transparent; color: var(--hero-title); border-color: var(--hero-title); }
.btn-lg { min-height: 56px; padding-inline: 28px; font-size: 1.0625rem; }
.btn-xl { min-height: 64px; padding-inline: 28px; font-size: 1.1875rem; }
.btn-sm { min-height: 44px; padding-inline: 14px; font-size: .9375rem; }
.btn-block { width: 100%; }
.link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; font-weight: 600; }
.link:hover { text-decoration-thickness: 3px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; }
.icon-btn:hover { background: var(--tint); }
@media (prefers-color-scheme: dark) {
  .btn-primary:hover { background: transparent; color: var(--lemon); border-color: var(--lemon); }
}

/* Viršus */
.announce { background: var(--ink); color: var(--paper); font-size: .875rem; text-align: center; padding: 7px 16px; }
.header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { background: var(--lemon); color: #14213D; font: 500 1.375rem/1 var(--serif); padding: 8px 9px 7px; letter-spacing: 0; }
.logo-text { font: 700 1.0625rem/1 var(--sans); letter-spacing: -.01em; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { padding-block: 6px; font: 500 .9375rem/1 var(--sans); white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current] { border-bottom-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-safe { color: var(--muted); font-size: .9375rem; margin-left: auto; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; font-weight: 700; font-size: .9375rem; border: 2px solid var(--ink); }
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.cart-count { min-width: 24px; height: 24px; padding: 0 6px; background: var(--lemon); color: #14213D; display: inline-grid; place-items: center; font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Bendri elementai: apkarpyta nuotrauka ir kainos etiketė.
   .crop rodo tik originalaus failo stačiakampį x, y, w, h (iw, ih: failo matmenys). */
.crop { position: relative; display: block; overflow: hidden; aspect-ratio: var(--w) / var(--h); background: var(--plate); }
.crop > img { position: absolute; max-width: none; height: auto; width: calc(var(--iw) / var(--w) * 100%); left: calc(var(--x) / var(--w) * -100%); top: calc(var(--y) / var(--h) * -100%); }
.tag { display: flex; align-items: stretch; flex: none; }
.tag-thumb { width: 52px; height: 52px; object-fit: cover; background: var(--plate); }
.tag-label { display: inline-grid; align-content: center; justify-items: start; min-width: 64px; padding: 4px 10px; background: var(--lemon); color: #14213D; border: 2px solid #14213D; }
.tag-from { font: 600 .75rem/1 var(--sans); }
.tag-price { font: 800 1.75rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }

/* 1. Pirmas ekranas */
.crop-hero-bag { --iw: 1000; --ih: 998; --x: 130; --y: 20; --w: 760; --h: 760; }
.crop-hero-box { --iw: 1080; --ih: 1191; --x: 590; --y: 730; --w: 461; --h: 461; }
.hero { background: var(--hero-bg); color: var(--hero-text); padding: 24px 0 28px; }
.hero-grid {
  --s: clamp(240px, calc(100vh - 440px), 400px);
  --s: min(clamp(240px, calc(100svh - 440px), 400px), calc((min(100vw, 1280px) - 72px) * .32));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px;
}
.hero-title { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin: 0 0 20px; color: var(--hero-title); font: 800 clamp(44px, calc((min(100vw, 1280px) - 104px) / 19.44), 60px)/1.06 var(--serif); letter-spacing: -.012em; }
.hero-line { display: block; }
.tile { display: grid; grid-template-rows: auto 1fr; }
.tile-fig { position: relative; display: grid; column-gap: 20px; min-height: var(--s); align-items: start; }
.tile-bag .tile-fig { grid-template-columns: minmax(0, 1fr) var(--s); }
.tile-box .tile-fig { grid-template-columns: var(--s) minmax(0, 1fr); }
.tile-photo { width: var(--s); height: var(--s); }
.tile-photo::after { content: ""; position: absolute; inset: 0; border: 2px solid #14213D; pointer-events: none; }
.tile-bag .tile-photo { grid-column: 2; grid-row: 1; }
.tile-bag .lane { grid-column: 1; grid-row: 1; padding-top: calc(var(--s) * .408 - 13px); }
.tile-box .lane { padding-top: calc(var(--s) * .19 - 13px); }
.lane { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font: 400 1rem/1.45 var(--sans); }
.lane p { margin: 0; text-wrap: pretty; }
.lane .link, .hero-cta .link { text-wrap: balance; }
.lane-title { position: relative; z-index: 1; padding-right: 12px; background: var(--hero-bg); font: 700 1.125rem/26px var(--sans); }
.lane .link, .hero-cta .link { color: var(--hero-title); }
.leader { position: absolute; z-index: 0; height: 2px; background: var(--hero-title); box-shadow: 0 0 0 2px var(--hero-bg); pointer-events: none; }
.leader::after { content: ""; position: absolute; top: -6px; width: 2px; height: 14px; background: inherit; box-shadow: inherit; }
.tile-bag .leader { left: 0; right: calc(var(--s) * .637 - 1px); top: calc(var(--s) * .408 - 1px); }
.tile-bag .leader::after { right: 0; }
.tile-box .leader { left: calc(var(--s) * .477 - 1px); width: calc(var(--s) * .523 + 9px); top: calc(var(--s) * .19 - 1px); }
.tile-box .leader::after { left: 0; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 12px 12px 12px 18px; }
.band-kraft { background: var(--kraft); color: #14213D; }
.band-navy { background: var(--panel-navy); color: #F4F3EE; }
.band-burgundy { background: var(--panel-burgundy); color: #F4F3EE; }
.band-text { display: grid; gap: 2px; }
.band-name { font: 700 1.1875rem/1.25 var(--sans); text-decoration: underline 1.5px transparent; text-underline-offset: 4px; transition: text-decoration-color .15s; }
.band:hover .band-name { text-decoration-color: currentColor; }
.band-why { display: none; font: 600 .9375rem/1.3 var(--sans); }
.band-short { display: none; }
.band-count { font: 500 .9375rem/1.3 var(--sans); }
.hero-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 24px; align-items: start; margin-top: 16px; }
.band-gift .band-left { display: flex; align-items: center; gap: 16px; }
.gift-thumbs { display: flex; gap: 6px; }
.gift-thumbs img { width: 52px; height: 52px; object-fit: cover; background: var(--plate); }
.hero-cta { display: grid; gap: 10px; justify-items: start; }
.hero-cta .btn { width: 100%; }
.hero :focus-visible { outline-color: var(--hero-title); }
.hero-engr { display: none; }
@media (min-width: 1024px) {
  .hero-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-cta { grid-template-columns: var(--s) minmax(0, 1fr); column-gap: 20px; align-items: center; }
  .hero-cta .btn { min-height: 76px; }
}

/* 2. Lentynos: visos prekės pagal kategorijas */
.shelves { padding: 72px 0 32px; }
.shelf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-bottom: 48px; }
.shelf-head { grid-column: 1 / 4; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
.shelf-head h2 { font-size: 2rem; line-height: 1.05; }
.shelf-head h2:focus { outline: none; }
.shelf-head p { margin: 0; }
.shelf-head .link { color: inherit; }
.shelf-kraft .shelf-head { background: var(--kraft); color: #14213D; }
.shelf-navy .shelf-head { background: var(--panel-navy); color: #F4F3EE; }
.shelf-burgundy .shelf-head { background: var(--panel-burgundy); color: #F4F3EE; }
.shelf-kraft .shelf-head :focus-visible { outline-color: #14213D; }
.shelf-navy .shelf-head :focus-visible, .shelf-burgundy .shelf-head :focus-visible { outline-color: var(--lemon); }
.shelf-price { margin-top: auto !important; display: flex; align-items: center; gap: 12px; font: 500 .9375rem/1.3 var(--sans); }
.shelf-price .tag-price { font-size: 1.5rem; }
.shelf-price .is-quote { color: inherit; }
.shelf-cards { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.ask { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 0; border: 2px solid var(--ink); }
.ask p { margin: 0; color: var(--muted); font-size: .9375rem; }
.ask .btn { margin: auto -20px -2px; width: calc(100% + 40px); border-width: 2px 0 0; }

/* Prekių kortelės (lentynos ir katalogas) */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--plate); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.card-media img + img { opacity: 0; }
.card:hover .card-media img + img { opacity: 1; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; flex: 1; }
.card-title { font: 700 1.0625rem/1.25 var(--sans); }
.card-title:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.card-sub { color: var(--muted); font-size: .9063rem; line-height: 1.4; }
.card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font: 800 1.125rem/1.2 var(--sans); }
.price.is-quote { font-size: .9375rem; font-weight: 700; }
.dims { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.card .btn { margin-top: 12px; }

/* 3. Užrašas ant sagties */
.stage { background: var(--stage); color: var(--stage-text); padding: 80px 0; }
.stage-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; grid-template-rows: auto 1fr auto; grid-template-areas: "art art art art art art . head head head head head" "art art art art art art . form form form form form" "real real real real real real real real real real real real"; }
.stage-head { grid-area: head; display: grid; gap: 12px; align-content: start; }
.stage-head h2:focus { outline: none; }
.stage-head p { margin: 0; color: var(--stage-muted); font-size: 1.0625rem; }
.stage-art { grid-area: art; margin: 0; }
.stage-art figcaption { margin-top: 10px; color: var(--stage-muted); font-size: .875rem; }
.clasp-svg { display: block; width: 100%; height: auto; }
.stage-form { grid-area: form; display: grid; gap: 22px; align-content: start; margin-top: 28px; }
.finish { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.finish legend { margin-bottom: 10px; padding: 0; color: var(--stage-muted); font: 600 .875rem/1 var(--sans); }
.finish label { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 2px solid #C9CFDB; cursor: pointer; }
.finish label b { font: 700 1rem/1.3 var(--sans); }
.finish label > span { color: var(--stage-muted); font: 400 .875rem/1.35 var(--sans); }
.finish input { position: absolute; opacity: 0; pointer-events: none; }
.finish label:has(input:checked) { border-color: var(--lemon); box-shadow: inset 0 0 0 1px var(--lemon); }
.finish label:has(input:focus-visible) { outline: 3px solid var(--lemon); outline-offset: 2px; }
.finish label { padding-left: 44px; }
.finish label::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border: 2px solid currentColor; }
.finish label:has(input:checked)::before { border-color: var(--lemon); background: var(--lemon); box-shadow: inset 0 0 0 3px var(--stage); }
.stage .field label { color: var(--stage-text); }
.stage .input { height: 52px; background: #F4F3EE; color: #14213D; border: 2px solid #C9CFDB; font-size: 1.0625rem; }
.stage .input::placeholder { color: #4A5468; }
.stage .input:focus { border-color: var(--lemon); box-shadow: none; outline: 3px solid var(--lemon); outline-offset: 2px; }
.hint-row { display: flex; justify-content: space-between; gap: 12px; color: var(--stage-muted); font-size: .8125rem; }
.hint-row [data-engr-count] { font-variant-numeric: tabular-nums; }
.stage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stage-actions .btn { min-height: 56px; }
.stage-actions [data-engr-cta] { flex: 1 1 auto; }
@media (max-width: 767px), (min-width: 1024px) and (max-width: 1279px) {
  .stage-actions .btn { flex: 1 1 100%; }
}
.stage .btn { border-color: #F4F3EE; color: #F4F3EE; }
.stage .btn:hover { background: #F4F3EE; color: #14213D; }
.stage .btn-primary { background: var(--lemon); color: #14213D; border-color: var(--lemon); }
.stage .btn-primary:hover { background: #F4F3EE; border-color: #F4F3EE; color: #14213D; }
.stage-price { margin: 0; font: 600 1rem/1.4 var(--sans); }
.stage .link { color: #F4F3EE; justify-self: start; }
.stage :focus-visible { outline-color: var(--lemon); }
.stage-real { grid-area: real; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 56px; }
.stage-real h3 { grid-column: 1 / 4; margin: 0; }
.stage-real ul { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, 180px); gap: 24px; margin: 0; padding: 0; list-style: none; }
.stage-real a { display: grid; gap: 10px; font: 600 .9375rem/1.35 var(--sans); }
.stage-real a:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
/* Sagties piešinys: „aciu“ ir „merci“ apdailos */
.clasp-svg .front { fill: url(#g-kraft); }
.clasp-svg[data-finish="merci"] .front { fill: url(#g-navy); }
.clasp-svg[data-finish="merci"] .ribs { display: none; }
.clasp-svg .strap { fill: #84DA3A; }
.clasp-svg .strap-back { fill: #5FB52A; }
.clasp-svg[data-finish="merci"] .strap { fill: #D9CDB4; }
.clasp-svg[data-finish="merci"] .strap-back { fill: #BDB096; }
.clasp-svg .clasp-face { fill: url(#g-gold); }
.clasp-svg[data-finish="merci"] .clasp-face { fill: url(#g-amber); }
.clasp-svg .clasp-back { fill: #7A6620; visibility: hidden; }
.clasp-svg[data-finish="merci"] .clasp-back { fill: #A97700; }
.clasp-svg .engr-h { display: none; }
.clasp-svg[data-finish="merci"] .engr-h { display: inline; }
.clasp-svg[data-finish="merci"] .engr-v { display: none; }
.engr-v text { font: 700 58px var(--serif); fill: #84DA3A; }
.engr-v .heart { fill: #84DA3A; }
.engr-h text { font: 700 46px var(--serif); fill: #1B1B1B; }
.engr-h .heart { fill: #1B1B1B; }
.clasp { transform-box: fill-box; transform-origin: 50% 0; transition: transform 280ms cubic-bezier(.3, .7, .2, 1); }
.clasp-svg.is-open .clasp { transform: scaleY(-.3); }
.clasp-face, .clasp-details, .clasp-back { transition: visibility 0s 140ms; }
.clasp-svg.is-open .clasp-face, .clasp-svg.is-open .clasp-details { visibility: hidden; }
.clasp-svg.is-open .clasp-back { visibility: visible; }
.clasp-svg .opening { opacity: 0; transition: opacity 140ms 140ms; }
.clasp-svg.is-open .opening { opacity: 1; }

/* 4. Rankena viršuje */
.handle { padding: 88px 0; }
.handle-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; grid-template-rows: auto 1fr; grid-template-areas: "fig fig fig fig fig fig . head head head head head" "fig fig fig fig fig fig . text text text text text"; }
.handle-head { grid-area: head; }
.handle-head h2:focus { outline: none; }
.compare { grid-area: fig; margin: 0; }
.compare-label { margin: 0; padding-left: 10px; border-left: 2px solid var(--ink); font: 700 1.125rem/1.3 var(--sans); }
.compare-top { margin-left: calc(51.97% - 1px); padding-bottom: 12px; }    /* (515-120)/760 */
.compare-bottom { margin-left: calc(23.42% - 1px); padding-top: 12px; }   /* (298-120)/760 */
.compare-photo { display: block; width: 100%; height: auto; background: var(--plate); }
.compare .halo { fill: none; stroke: var(--paper); stroke-width: 7; vector-effect: non-scaling-stroke; }
.compare .ink { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.compare figcaption { margin-top: 14px; color: var(--muted); font-size: .875rem; }
.handle-text { grid-area: text; display: grid; gap: 18px; align-content: start; min-width: 0; }
.handle-text p { margin: 0; font-size: 1.0625rem; }
.handle-text h3 { margin-top: 10px; }
.reuse { display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 16px; margin-top: 6px; }
.reuse a { display: grid; gap: 8px; align-content: start; font: 600 .9375rem/1.35 var(--sans); }
.reuse a:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.reuse img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--plate); }

/* 5. Įmonėms */
.biz { background: var(--biz-bg); color: var(--biz-text); padding: 72px 0; }
.biz-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.biz-fig { grid-column: 1 / 5; margin: 0; }
.biz-fig figcaption { margin-top: 10px; font-size: .875rem; }
.biz-text { grid-column: 6 / 13; display: grid; gap: 18px; justify-items: start; }
.biz-text h2 { color: var(--hero-title); }
.biz-text h2:focus { outline: none; }
.biz-text p { margin: 0; max-width: 56ch; font-size: 1.0625rem; }
.biz .link { color: inherit; }
.biz :focus-visible { outline-color: var(--hero-title); }

/* 6. Pirkimo sąlygos */
.terms-sec { padding: 72px 0 80px; }
.terms-sec h2 { margin-bottom: 28px; }
.terms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.terms-grid > div { display: grid; gap: 8px; align-content: start; padding-top: 14px; border-top: 2px solid var(--ink); }
.terms-grid p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* Poraštė */
.footer { background: var(--footer); color: #F4F3EE; padding-block: 48px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.footer h3 { font: 600 .9375rem/1.3 var(--sans); margin-bottom: 12px; letter-spacing: 0; }
.footer li + li { margin-top: 6px; }
.footer a:not(.logo):hover { text-decoration: underline; text-underline-offset: 3px; }
.footer .muted { color: #C9CFDB; font-size: .9375rem; }
.footer .input { background: #1C2B4A; color: #F4F3EE; border-color: #C9CFDB; }
.footer .input::placeholder { color: #A9B2C3; }
.footer .input:focus { border-color: var(--lemon); box-shadow: inset 0 0 0 1px var(--lemon); }
.footer .btn-dark { background: var(--lemon); color: #14213D; border-color: var(--lemon); }
.footer .btn-dark:hover { background: transparent; color: var(--lemon); }
.footer :focus-visible { outline-color: var(--lemon); }
.news { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.news input { flex: 1 1 160px; min-width: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .14); color: #C9CFDB; font-size: .875rem; }

/* Laukai */
.field { display: grid; gap: 6px; }
.field label, .label { font-size: .875rem; font-weight: 600; }
.field .hint { color: var(--muted); font-size: .8125rem; }
.field .error { color: var(--err); font-size: .8125rem; display: none; }
.field.invalid .error { display: block; }
.field.invalid .input { border-color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }
.input { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--field); background: var(--surface); }
textarea.input { height: auto; min-height: 140px; padding-block: 10px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

/* Puslapio antraštė, katalogas */
.page-head { padding-block: 32px 20px; }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .875rem; margin-bottom: 12px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 12px; border-block: 1px solid var(--line); margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-right: auto; }
.chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--field); background: transparent; font-weight: 500; font-size: .9375rem; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip small { opacity: .75; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.tick { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.tick input, .check input { appearance: none; flex: none; width: 20px; height: 20px; border: 2px solid var(--ink); margin: 0; display: grid; place-items: center; cursor: pointer; background: var(--surface); }
.tick input:checked, .check input:checked { background: var(--ink); }
.tick input:checked::after, .check input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: rotate(-45deg) translateY(-1px); }
.sort { width: auto; height: 40px; font-size: .9375rem; font-weight: 500; background-position: calc(100% - 19px) 17px, calc(100% - 14px) 17px; }
.empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--field); display: grid; gap: 12px; justify-items: center; }

/* Prekės puslapis */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: 8px 72px; }
.gallery { position: sticky; top: 88px; display: grid; gap: 8px; }
.gallery-main { aspect-ratio: 1; background: var(--plate); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; }
.thumbs button { width: 84px; height: 84px; border: 2px solid transparent; padding: 0; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; background: var(--plate); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.buy h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin-top: 6px; }
.buy-sub { font-size: 1.0625rem; color: var(--muted); margin-top: 8px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.buy-price .price { font-family: var(--serif); font-weight: 800; font-size: 2.25rem; letter-spacing: -.012em; }
.stock { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--ok); margin-top: 6px; }
.stock.out { color: var(--muted); }
.buy-lead { margin-top: 18px; max-width: 56ch; }
.specs { margin-top: 20px; font-size: .9375rem; }
.specs div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding-block: 9px; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 500; }
.buy-box { margin-top: 24px; display: grid; gap: 16px; }
.qty-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--field); background: var(--surface); }
.qty button { width: 46px; height: 46px; display: grid; place-items: center; }
.qty button:hover { background: var(--tint); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.qty input:focus { outline: none; }
.qty:has(input:focus) { outline: 3px solid var(--focus); outline-offset: 2px; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 42px; }
.qty.sm button { width: 40px; height: 40px; }
.qty.sm input { width: 36px; }
.qty-chips { display: flex; gap: 6px; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; padding-top: 14px; border-top: 2px solid var(--ink); }
.buy-total b { font-family: var(--serif); font-weight: 800; font-size: 1.625rem; letter-spacing: -.012em; }
.buy-actions { display: grid; gap: 8px; }
.terms { margin-top: 28px; font-size: .9375rem; }
.terms div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); }
.terms div:last-child { border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 600; }
.terms dd { color: var(--muted); }
.buy-desc { margin-top: 28px; display: grid; gap: 10px; max-width: 60ch; }
.buybar { display: none; }

/* Skydeliai: krepšelis, meniu, paieška */
.scrim { position: fixed; inset: 0; background: rgb(10 14 26 / .55); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.panel { position: fixed; z-index: 70; background: var(--paper); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; visibility: hidden; }
.panel-right { top: 0; right: 0; bottom: 0; width: min(440px, 100vw); transform: translateX(100%); border-left: 2px solid var(--ink); }
.panel-left { top: 0; left: 0; bottom: 0; width: min(360px, 88vw); transform: translateX(-100%); border-right: 2px solid var(--ink); }
.panel-top { top: 0; left: 0; right: 0; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain; transform: translateY(-100%); border-bottom: 2px solid var(--ink); padding-block: 8px 16px; }
.panel.on { visibility: visible; transform: none; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.panel-body { flex: 1; overflow: auto; padding: 16px 20px; overscroll-behavior: contain; }
.panel-foot { padding: 16px 20px 20px; border-top: 2px solid var(--ink); background: var(--surface); display: grid; gap: 10px; }
.ship-meter { font-size: .9063rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ship-meter .bar { height: 4px; background: var(--tint); margin-top: 8px; }
.ship-meter .bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transition: transform .3s; }
.ship-meter.is-free .bar i { background: var(--ok); }
.line { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding-block: 14px; align-items: start; }
.line + .line { border-top: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: cover; background: var(--plate); }
/* Ką tik įdėta eilutė: languota „finišo“ juostelė kaip ant dėžutės „Skrydis“ */
.line.is-new::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 8px; background: repeating-conic-gradient(#0F1420 0 25%, #F5F6F5 0 50%) 0 0 / 8px 8px; transform-origin: top; animation: ysy-finish .2s ease-out both; }
@keyframes ysy-finish { from { transform: scaleY(0); } }
.line-title { font-weight: 700; line-height: 1.3; }
.line-note { color: var(--muted); font-size: .8438rem; overflow-wrap: anywhere; }
.line-ctl { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line-rm { color: var(--muted); font-size: .8438rem; text-decoration: underline; text-underline-offset: 3px; padding-block: 10px; }
.line-rm:hover { color: var(--ink); }
.line-price { font-weight: 700; white-space: nowrap; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row.total { font-weight: 600; font-size: 1.0625rem; align-items: baseline; }
.sum-row.total b { font-family: var(--serif); font-weight: 800; font-size: 1.625rem; letter-spacing: -.012em; }
.menu-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 1.125rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.search-in { display: flex; align-items: center; gap: 12px; }
.search-in input { flex: 1; height: 52px; border: 0; background: transparent; font-size: 1.125rem; font-weight: 500; min-width: 0; }
.search-in input:focus { outline: none; }
.search-in input::placeholder { color: var(--muted); }
.search-in:has(input:focus) { box-shadow: inset 0 -3px 0 var(--focus); }
.search-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.search-res a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 8px; }
.search-res a:hover, .search-res a:focus-visible { background: var(--tint); }
.search-res img { width: 56px; height: 56px; object-fit: cover; background: var(--plate); }
.search-res b { display: block; line-height: 1.25; }
.search-res span { color: var(--muted); font-size: .875rem; }
.search-res p { overflow-wrap: anywhere; }

/* Apmokėjimas */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; padding-block: 32px 80px; }
.checkout h1 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.05; margin-bottom: 6px; }
.co-step { border-top: 2px solid var(--ink); padding-block: 22px 28px; display: grid; gap: 16px; }
.co-step:first-of-type { margin-top: 24px; }
.co-step h2 { display: flex; align-items: center; gap: 12px; }
.co-step h2 span { width: 28px; height: 28px; background: var(--lemon); color: #14213D; display: grid; place-items: center; font: 700 .9375rem/1 var(--sans); letter-spacing: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border: 1px solid var(--field); background: var(--surface); cursor: pointer; }
.opt:hover { border-color: var(--ink); }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), inset 6px 0 0 var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt input { appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); margin: 0; display: grid; place-items: center; }
.opt input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.opt input:focus-visible { outline: none; }
.opt b { display: block; line-height: 1.3; }
.opt span { color: var(--muted); font-size: .875rem; }
.opt .opt-price { font-weight: 700; color: var(--ink); font-size: 1rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.check input { margin-top: 2px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.summary { position: sticky; top: 88px; background: var(--surface); border: 2px solid var(--ink); padding: clamp(18px, 2.5vw, 28px); }
.summary > summary { display: none; }
.summary-in { display: grid; gap: 12px; }
.summary .line { grid-template-columns: 56px 1fr auto; padding-block: 10px; }
.summary .line img { width: 56px; height: 56px; }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.done { max-width: 620px; padding-block: 64px 96px; display: grid; gap: 14px; }
.done h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.done dl { margin-block: 12px; }
.done dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); }
.done dl div:last-child { border-bottom: 1px solid var(--line); }
.done dt { color: var(--muted); }
.done dd { font-weight: 600; }
.done .btn { justify-self: start; }

/* Kontaktai */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: start; padding-bottom: 24px; }
.contact-list div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding-block: 14px; border-top: 1px solid var(--line); }
.contact-list div:first-child { border-top: 2px solid var(--ink); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); }
.contact-list dd { font-weight: 500; }
.contact-list .big { font: 800 1.5rem/1.2 var(--serif); letter-spacing: -.01em; word-break: break-word; }
.form { display: grid; gap: 16px; border-top: 2px solid var(--ink); padding-top: 20px; }
.form .btn { justify-self: start; }
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.info > section { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.info p { color: var(--muted); }
.info table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.info td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .clasp, .clasp-face, .clasp-details, .clasp-back, .clasp-svg .opening { transition: none !important; }
}

/* Didelis ekranas be antro prierašo sakinio */
@media (max-width: 1279px) {
  .lane-extra { display: none; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .hero-title { font-size: 48px; }
}

/* Planšetė */
@media (max-width: 1099px) {
  .nav { display: none; }
  .only-mobile.only-mobile { display: inline-grid; }
  .header-in { gap: 8px; }
}
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .hero-title { grid-template-columns: 1fr; font-size: clamp(36px, calc((100vw - 64px) / 15.3), 52px); }
  .hero-title br { display: none; }
  .tile-bag .tile-fig, .tile-box .tile-fig { grid-template-columns: 1fr; min-height: 0; }
  .tile-photo { width: 100%; height: auto; }
  .tile-bag .tile-photo { grid-column: 1; }
  .lane, .leader { display: none; }
  .band-why { display: block; }
  .hero-bottom { grid-template-columns: 1fr; row-gap: 12px; }
  .hero-cta { grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; }
  .hero-cta .btn { width: auto; min-width: 300px; }
  .hero-biz { display: none; }
  .hero-engr { display: inline; }

  .shelf-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 10px; }
  .shelf-head > * { grid-column: 1; }
  .shelf-head .shelf-price { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0 !important; }
  .shelf-cards { grid-column: 1 / -1; margin-top: 20px; }

  .stage-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "art" "form" "real"; }
  .stage-art, .stage-form { max-width: 560px; }
  .stage-head { margin-bottom: 24px; }
  .stage-form { margin-top: 24px; }
  .stage-real { grid-template-columns: minmax(0, 1fr); row-gap: 16px; margin-top: 40px; }
  .stage-real h3, .stage-real ul { grid-column: 1; }

  .terms-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .info { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 899px) {
  .shelf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Telefonas */
@media (max-width: 767px) {
  :root { --pad: 16px; }
  .header-in { height: 56px; }
  .logo-text, .cart-btn span { display: none; }
  .cart-btn { padding-inline: 10px; }

  .crop-hero-bag { --x: 220; --y: 90; --w: 560; --h: 560; }
  .crop-hero-box { --x: 620; --y: 730; --w: 440; --h: 440; }
  .hero { padding: 16px 0 20px; }
  .hero-grid { column-gap: 12px; }
  .hero-title { font-size: clamp(26px, 9vw, 34px); line-height: 1.08; margin-bottom: 14px; }
  .hero-title br { display: inline; }
  .band { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; min-height: 0; padding: 10px; }
  .tile .band { justify-content: space-between; }
  .band-kraft .band-name, .band-navy .band-name, .band-why { display: none; }
  .band-short { display: block; font: 600 .875rem/1.25 var(--sans); }
  .band-count { display: none; }
  .tag-thumb { width: 30px; height: 30px; }
  .tag-label { grid-auto-flow: column; align-items: baseline; gap: 4px; min-width: 0; padding: 2px 6px; border-width: 1.5px; }
  .tag-price { font-size: 1.1875rem; }
  .hero-bottom { margin-top: 10px; }
  .band-gift { flex-direction: row; align-items: center; padding: 8px 10px; }
  .band-gift .band-left { gap: 10px; }
  .gift-thumbs { gap: 4px; flex: none; }
  .gift-thumbs img { width: 32px; height: 32px; }
  .band-gift .band-name { font-size: .875rem; }
  .hero-cta { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; min-width: 0; min-height: 52px; font-size: 1.0625rem; }

  .shelves { padding: 40px 0 8px; }
  .shelf { grid-template-columns: 1fr; margin-bottom: 40px; }
  .shelf-head { display: flex; flex-direction: column; margin: 0 calc(var(--pad) * -1); padding: 20px var(--pad); }
  .shelf-head h2 { font-size: 1.625rem; }
  .shelf-head .shelf-price { margin-top: 4px !important; }
  .shelf-cards { gap: 28px 12px; margin-top: 16px; }

  .stage { padding: 48px 0; }
  .stage-real ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stage-real a { font-size: .8125rem; }
  .stage-grid { display: flex; flex-direction: column; }
  .stage-form { display: contents; }
  .stage-head { order: 1; }
  .finish { order: 2; }
  .stage-art { order: 3; margin-top: 20px; display: flex; flex-direction: column-reverse; }
  .stage-art figcaption { margin: 0 0 8px; }
  .clasp-svg { aspect-ratio: 600 / 480; }
  .stage-form .field { order: 4; margin-top: 16px; }
  .stage-actions { order: 5; margin-top: 16px; }
  .stage-price { order: 6; margin-top: 16px; }
  .stage-form > .link { order: 7; margin-top: 16px; align-self: flex-start; }
  .stage-real { order: 8; }

  .handle { padding: 56px 0; }
  .handle-grid { grid-template-columns: 1fr; grid-template-areas: "head" "fig" "text"; row-gap: 24px; }
  .reuse { grid-template-columns: 1fr 1fr; }

  .biz { padding: 48px 0; }
  .biz-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .biz-fig, .biz-text { grid-column: 1; }
  .biz-fig { order: 2; max-width: 240px; }
  .biz-text .btn { width: 100%; }

  .terms-sec { padding: 48px 0 56px; }
  .terms-grid { grid-template-columns: 1fr; gap: 20px; }

  .pdp, .checkout, .contact { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; }
  .specs div, .terms div, .contact-list div, .done dl div { grid-template-columns: 7.5rem 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .grid.scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .grid.scroller::-webkit-scrollbar { display: none; }
  .grid.scroller .card { flex: 0 0 68%; scroll-snap-align: start; }
  .card-title { font-size: 1rem; }
  .card-sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-row { flex-direction: column-reverse; justify-content: flex-start; align-items: start; gap: 0; }
  .card .btn { padding-inline: 8px; font-size: .875rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .thumbs button { width: 64px; height: 64px; }
  .pdp { padding-bottom: 48px; }
  body[data-page="product"] .footer { padding-bottom: 104px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 2px solid var(--ink); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .buybar.on { transform: none; visibility: visible; transition: transform .25s; }
  :root:has(body[data-page="product"]) { scroll-padding-bottom: 96px; }
  .buybar div { flex: 1; min-width: 0; line-height: 1.25; }
  .buybar div span { display: block; color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .row-2 { grid-template-columns: 1fr; }
  .checkout { padding-top: 0; gap: 0; }
  .summary { position: static; order: -1; border-width: 0 0 2px; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad); }
  .summary > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 14px; font-weight: 600; cursor: pointer; list-style: none; }
  .summary > summary::-webkit-details-marker { display: none; }
  .summary > summary span::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
  .summary[open] > summary span::after { transform: rotate(-135deg); margin-bottom: -1px; }
  .summary-in { padding-bottom: 18px; }
  .summary-in h2 { display: none; }
  .checkout form { padding-top: 24px; }
  .header-safe { display: none; }
  .header-safe + .btn { margin-left: auto; }
  .search-res { grid-template-columns: 1fr; }
  .toolbar { gap: 12px; }
  .sort { flex: 1; min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); width: 100vw; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 44px; }
  .form .btn { justify-self: stretch; }
}

/* Labai siauri telefonai */
@media (max-width: 359px) {
  .gift-thumbs img:nth-child(3) { display: none; }
}

/* Žemi ekranai (telefonas gulsčiai, 400 % mastelis): krepšelis slenka visas */
@media (max-height: 560px) {
  .panel-right { overflow-y: auto; overscroll-behavior: contain; }
  .panel-right .panel-body { flex: none; overflow: visible; }
}

/* Programiškai fokusuojami pranešimai po sėkmingo veiksmo: be rėmelio, nes jie nėra valdikliai */
.done h1:focus, [data-contact-ok] h2:focus, [data-news-ok]:focus, [data-notify-ok]:focus { outline: none; }

/* Windows didelio kontrasto režimas: pasirinkta būsena matoma ne tik spalva */
@media (forced-colors: active) {
  .finish label:has(input:checked)::before { forced-color-adjust: none; background: Highlight; border-color: Highlight; }
  .chip[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .opt input:checked::after { forced-color-adjust: none; background: CanvasText; }
}
