/*
Theme Name: Judame
Author: Macho
Description: Block theme of judame.lt (MAC-234). Made from the prototype stylesheet docs/design/site/src/parts.css (MAC-226).
Version: 0.3.30
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: judame
*/
/* The one stylesheet of the site. Every page part is defined here and shown one time on the parts page (dalys).
   Content, templates and patterns have no CSS of their own: site/tools/check.py fails if they have.
   Colors: only the tokens in :root. theme.json holds the same tokens (check.py compares them).
   Add a new color pair to site/tools/check.py before you use it. */
:root{
  --white:#FFFFFF;
  --violet-50:#F2F2F8;--violet-100:#E5E5F1;--violet-200:#CCCBE3;--violet-400:#7F7DB9;--violet-500:#5F5CA8;--violet-600:#514E8F;--violet-700:#413F72;--violet-900:#201F39;
  --teal-50:#F2FAF8;--teal-100:#E6F5F1;--teal-200:#CDECE3;--teal-300:#A9DECF;--teal-500:#62C3A7;--teal-800:#316254;
  --gray-100:#EEEEEE;--gray-200:#DCDDDE;--gray-700:#646567;--gray-900:#323333;
  --error:#B3261E;--error-50:#FCE8E6;

  --bg:var(--white);--text:var(--gray-900);--heading:var(--violet-900);--muted:var(--gray-700);
  --link:var(--violet-600);--link-hover:var(--violet-700);--focus:var(--violet-500);
  --r-s:.5rem;--r-m:1rem;--r-l:1.5rem;--r-btn:.75rem;
  --font:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --glass:color-mix(in srgb,var(--white) 80%,transparent);
  --shadow-1:0 1px 2px color-mix(in srgb,var(--violet-900) 8%,transparent),0 12px 28px -14px color-mix(in srgb,var(--violet-900) 28%,transparent);
  --shadow-2:0 2px 4px color-mix(in srgb,var(--violet-900) 8%,transparent),0 24px 48px -18px color-mix(in srgb,var(--violet-900) 38%,transparent);
  --brand-line:linear-gradient(90deg,var(--violet-500),var(--teal-500));
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:5.5rem}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:1.125rem;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p,ul,ol,dl,dd,fieldset{margin:0}
ul,ol{padding:0;list-style:none}
fieldset{min-width:0;padding:0;border:0}
svg{display:block;flex:none}
strong,b{font-weight:700}
a{color:var(--link);text-decoration-thickness:.08em;text-underline-offset:.2em}
a:hover{color:var(--link-hover);text-decoration-thickness:.16em}
:focus-visible,.is-focus{outline:3px solid var(--focus);outline-offset:2px}
[hidden]{display:none!important}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.wrap{width:100%;max-width:75rem;margin-inline:auto;padding-inline:1.25rem}
@media (min-width:48rem){.wrap{padding-inline:2rem}}

/* ---------- Part: type. Smallest text is 1rem (16 px). ---------- */
h1,h2,h3,h4,.t-h1,.t-h2,.t-h3{color:var(--heading);font-weight:700;line-height:1.2;letter-spacing:-.015em;overflow-wrap:break-word;text-wrap:balance}
h1,.t-h1{font-size:clamp(2.125rem,1.45rem + 3vw,3.5rem);font-weight:800;line-height:1.08;letter-spacing:-.03em}
h2,.t-h2{font-size:clamp(1.75rem,1.3rem + 1.9vw,2.75rem);line-height:1.15;letter-spacing:-.02em}
h3,.t-h3{font-size:1.375rem}
h4{font-size:1.125rem;letter-spacing:0}
.t-small,.note{font-size:1rem}
.note{max-width:52rem;margin-top:1.25rem;color:var(--muted)}
.eyebrow{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;color:var(--teal-800);font-size:1rem;font-weight:700}
.pill::before,.eyebrow::before{content:"";flex:none;width:.625rem;height:.625rem;border-radius:50%;background:var(--teal-500)}
.prose>*+*{margin-top:1rem}
.prose{max-width:44rem}


/* ---------- Part: buttons and links. Minimum height 3rem (48 px). ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:.5rem 1.5rem;border:2px solid transparent;border-radius:var(--r-btn);font:inherit;font-size:1.0625rem;font-weight:700;line-height:1.25;text-align:center;text-decoration:none;cursor:pointer}
.btn--primary{background:var(--violet-500);border-color:var(--violet-500);box-shadow:0 10px 20px -12px var(--violet-500);color:var(--white)}
.btn--primary:hover,.btn--primary.is-hover{background:var(--violet-600);border-color:var(--violet-600);color:var(--white)}
.btn--secondary{background:var(--white);border-color:var(--violet-600);color:var(--violet-600)}
.btn--secondary:hover,.btn--secondary.is-hover{background:var(--violet-50);border-color:var(--violet-700);color:var(--violet-700)}
.btn--block{width:100%}
.btn svg{width:1.125rem;height:1.125rem}
.btn .arrow{margin-left:.5rem}
.btn .lead-ico{margin-right:.5rem}
.btn .trail-ico{margin-left:.5rem;flex:none}
/* Contact actions (MAC-252): register online, call, write an e-mail. The primary button takes the full row; the 2 secondary
   buttons share the next row and stack when there is no room. No arrow: a leading icon on each button. */
.actions{display:flex;flex-wrap:wrap;gap:.75rem;max-width:36rem;margin-top:2rem}
.actions .btn{flex:1 1 16.5rem;min-width:0;padding-inline:1rem;overflow-wrap:anywhere}
.actions .btn--primary{flex-basis:100%}
.textbtn{display:inline-flex;align-items:center;min-height:2.75rem;padding:0;border:0;background:none;color:var(--link);font:inherit;font-size:1rem;font-weight:700;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
.textbtn:hover{color:var(--link-hover)}
.textlink{display:inline-flex;align-items:center;gap:.375rem;min-height:2.75rem;font-weight:700}
.textlink svg{width:1.125rem;height:1.125rem}

/* ---------- Part: glass (see-through white, blur, brand frame, light reflection) ---------- */
.glass{position:relative;border-radius:var(--r-l);background:var(--glass);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);box-shadow:var(--shadow-1)}
.glass::before{content:"";position:absolute;inset:0;border:1.5px solid var(--violet-200);border-radius:inherit;pointer-events:none}
@supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)){
  .glass::before{padding:1.5px;border:0;background:linear-gradient(135deg,var(--violet-500),var(--teal-500));-webkit-mask:linear-gradient(#000000 0 0) content-box,linear-gradient(#000000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
}
.glass::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(125deg,color-mix(in srgb,var(--white) 75%,transparent),transparent 34%);pointer-events:none}
.glass>*{position:relative;z-index:1}

/* ---------- Part: brand circles (calm motion; the motion button stops them, and the footer bubbles too) ----------
   Speed: 2 to 3 times the prototype (Jonas 2026-11-17, MAC-235). The travel distance is the prototype distance. */
.orb{position:absolute;z-index:-1;border-radius:50%;animation:drift-a 7s ease-in-out infinite alternate}
.orb--b{animation-name:drift-b;animation-duration:9s}
@keyframes drift-a{from{transform:translate3d(0,0,0)}to{transform:translate3d(-1.5rem,1.25rem,0)}}
@keyframes drift-b{from{transform:translate3d(0,0,0)}to{transform:translate3d(1.25rem,-1.5rem,0)}}
.motion-btn{display:none;align-items:center;gap:.5rem;min-height:2.75rem;padding:.25rem .875rem;border:0;border-radius:999px;background:var(--glass);box-shadow:0 0 0 1px var(--violet-200);color:var(--heading);font:inherit;font-size:1rem;font-weight:500;cursor:pointer}
.js .motion-btn{display:inline-flex}
.motion-btn:hover{background:var(--white);box-shadow:0 0 0 2px var(--violet-500)}
.motion-btn svg{width:1rem;height:1rem}
.motion-btn .ico-play,.motion-off .motion-btn .ico-pause{display:none}
.motion-off .motion-btn .ico-play{display:block}

/* ---------- Part: menu (sticky glass bar, catalog list, phone menu, language switch) ---------- */
.skip{position:absolute;left:1rem;top:-6rem;z-index:30;padding:.75rem 1.25rem;border-radius:var(--r-s);background:var(--white);color:var(--link);font-weight:700}
.skip:focus{top:1rem}
.top{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--white) 84%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);box-shadow:0 1px 0 var(--gray-200)}
.top::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--brand-line);opacity:0}
.top.is-scrolled{box-shadow:var(--shadow-1)}
.top.is-scrolled::after{opacity:1}
.top .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:0 1.5rem;padding-block:.75rem}
.top.is-scrolled .wrap{padding-block:.25rem}
/* Header logo (owner 2026-12-03 decision A, docs/09 "Header logo"): the color mark (2.25rem high in the 3rem link box, so
   the header height does not change) and the text "judame" as before, centered with the mark. Brand guide clear space =
   about 0.23 of the mark height (8 px): 6 px in the box + the bar padding; .5rem between the mark and the text. */
.brand{display:inline-flex;align-items:center;gap:.5rem;min-height:3rem;color:var(--violet-500);font-size:1.875rem;font-weight:800;line-height:1;letter-spacing:-.04em;text-decoration:none}
.brand:hover{color:var(--violet-500)}
.brand__logo{display:block;flex:none;width:2.25rem;height:2.25rem}
.brand__name{white-space:nowrap}
.menu-btn{display:none;margin-left:auto}
.mnav{flex:1 1 100%}
.mnav>ul{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem}
.mnav li{position:relative}
.mnav a:not(.btn),.mnav__item{display:inline-flex;align-items:center;gap:.375rem;min-height:2.75rem;padding:.25rem .875rem;border:0;border-radius:999px;background:transparent;color:var(--heading);font:inherit;font-size:1rem;font-weight:500;text-decoration:none;cursor:pointer}
.mnav a:not(.btn):hover,.mnav__item:hover,.mnav__item[aria-expanded="true"]{background:var(--violet-50);color:var(--violet-700)}
.mnav a[aria-current="page"]:not(.btn){box-shadow:inset 0 -2px 0 var(--violet-500);border-radius:0;font-weight:700}
.mnav__item svg{width:1rem;height:1rem}
.mnav__item[aria-expanded="true"] svg{transform:rotate(180deg)}
.mnav__sub{padding-left:.75rem}
/* Registration menu (MAC-192): the primary button "Registracija" opens the list #reg-list (call, online booking, e-mail),
   with the same script and look as the catalog list. */
.btn .trail-ico{width:1rem;height:1rem;margin-left:.375rem}
.regmenu__btn[aria-expanded="true"] .trail-ico{transform:rotate(180deg)}
.lang{display:flex;align-items:center;gap:.125rem}
/* Language place (MAC-241): plain text, not links, until the English pages exist (Q14). The current language has a frame;
   the other language is muted. A multilingual plugin later prints links with the same look. */
.lang a:not(.btn),.lang>span{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;padding:.25rem .5rem;border-radius:999px;font-size:1rem;font-weight:700}
.lang>span{color:var(--muted)}
.lang a[aria-current="true"]:not(.btn),.lang>span[aria-current="true"]{background:var(--violet-50);box-shadow:inset 0 0 0 1px var(--violet-200);color:var(--violet-700)}
@media (max-width:67.99rem){
  .js .menu-btn{display:inline-flex}
  .js .mnav{display:none}
  .js .mnav.is-open{display:block;padding-block:.5rem .75rem}
  .mnav>ul{flex-direction:column;align-items:stretch}
  .mnav .btn{margin-top:.5rem}
}
@media (min-width:68rem){
  .mnav{flex:1 1 auto}
  .mnav>ul{justify-content:flex-end}
  .mnav .btn{margin-left:.5rem}
  .js .mnav__sub{position:absolute;right:0;top:calc(100% + .625rem);min-width:13rem;padding:.5rem;border:1px solid var(--gray-200);border-radius:var(--r-m);background:var(--white);box-shadow:var(--shadow-2)}
  .js .mnav__sub a:not(.btn){display:flex;border-radius:var(--r-s)}
}

/* ---------- Part: large hero (home page) ---------- */
/* MAC-252: the gradient ends white, so the hero joins the white process section with no edge. */
.d-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,var(--white) 0%,var(--violet-50) 55%,var(--white) 100%)}
.d-hero .wrap{display:grid;align-items:center;gap:3rem;padding-block:clamp(2.5rem,1.5rem + 5vw,5.5rem) clamp(2rem,1.5rem + 3vw,4rem)}
@media (min-width:60rem){.d-hero .wrap{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:3rem 4rem}}
.d-hero__text{min-width:0}
.d-hero h1{font-size:clamp(2.25rem,1.4rem + 3.6vw,4rem)}
.d-hero>.orb--1{right:-9rem;top:-10rem;width:32rem;height:32rem;background:var(--violet-100)}
.d-hero>.orb--2{left:-6rem;bottom:3rem;width:17rem;height:17rem;background:var(--teal-200)}
.d-hero>.orb--5{right:8%;bottom:10rem;width:9rem;height:9rem;background:var(--violet-200)}
.hero__lead{max-width:33rem;margin-top:1.25rem;color:var(--text);font-size:1.25rem;line-height:1.5}
.hero__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
/* Home hero phone (MAC-192): a quiet text link, not a button: no frame, no fill, normal weight, muted color, small icon. */
.hero__phone{margin-top:1.5rem}
.hero__phone a{display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;color:var(--muted);font-weight:400;text-decoration:none}
.hero__phone a:hover{color:var(--text);text-decoration:underline;text-underline-offset:.2em}
.hero__phone svg{width:1rem;height:1rem}
.pill{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1.25rem;padding:.375rem .875rem;border-radius:999px;background:var(--white);box-shadow:0 0 0 1px var(--violet-200);color:var(--teal-800);font-size:1rem;font-weight:700;line-height:1.4}
.cats{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:2rem;color:var(--heading);font-size:1rem;font-weight:500}
.cats a{display:inline-flex;align-items:center;min-height:2.75rem;padding:.25rem 1rem;border-radius:999px;background:var(--glass);box-shadow:0 0 0 1px var(--violet-200);color:var(--heading);font-weight:700;text-decoration:none}
.cats a:hover{background:var(--white);box-shadow:0 0 0 2px var(--violet-500);color:var(--violet-700)}
.d-hero__visual{position:relative;width:100%;max-width:26rem;margin-inline:auto}
.d-hero__visual .orb--3{right:-2rem;bottom:-1.75rem;width:6rem;height:6rem;background:var(--teal-500)}
.d-hero__visual .orb--4{left:-1.25rem;top:-1.25rem;width:3rem;height:3rem;background:var(--violet-500);animation-duration:6s}
.d-hero__visual .photo{aspect-ratio:4/5;border-radius:2rem;box-shadow:var(--shadow-2)}
.d-hero__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem}
@media (min-width:60rem){.d-hero__foot{grid-column:1/-1}}
.photo{position:relative;overflow:hidden;border-radius:var(--r-l);background:linear-gradient(135deg,var(--violet-50),var(--teal-50));box-shadow:var(--shadow-1)}
.photo img{display:block;width:100%;height:100%;object-fit:cover}
/* MAC-17 v1 (owner 2026-12-03): no empty frame. If [judame_photo] prints nothing (the ID is not an image), no frame shows. */
.photo:empty{display:none}
/* MAC-17 v1 (owner 2026-12-03 ~12:25 UTC): existing product photos in the home catalog rows. photo--product: the whole
   product on white (the photos have a white background); photo--wide: the frame of the 15:8 Erhem slides. */
.photo--product{background:var(--white)}
.photo--product img{object-fit:contain}
.feature__media .photo.photo--wide{aspect-ratio:15/8}
/* The Erhem slide has its series label at the top left: the badge goes to the bottom left of this photo. */
.feature__media .photo--wide+.badge{top:auto;bottom:1rem}
.float{position:absolute;display:flex;align-items:center;gap:.75rem;max-width:15rem;padding:.75rem 1rem;border-radius:var(--r-m);background:color-mix(in srgb,var(--white) 86%,transparent);color:var(--heading);font-size:1rem;font-weight:700;line-height:1.3}
.float svg{width:1.5rem;height:1.5rem;color:var(--teal-800)}
.float--md{left:.5rem;bottom:1.5rem}
@media (min-width:36rem){.float--md{left:-1.5rem}}
/* Home hero slideshow (MAC-17, owner 2026-12-03 "A"): 2 photos crossfade in the 4:5 frame, so the height never changes
   (no layout shift). All slides sit in one grid cell. Inactive slides stay in the cell (opacity 0), so the lazy slide 2
   loads near the viewport. Each slide has its own badge (.hs__badge) in the same place. Without JS: slide 1 and its badge
   only, no dots. The crossfade is a transition only with motion on; site.js changes the slide only with motion on. */
.hs__frame{display:grid;isolation:isolate}
.hs__slide{position:relative;grid-area:1/1;min-width:0}
.hs__slide--scanner img{object-position:50% 100%}
.hs__slide+.hs__slide,.hs__badge+.hs__badge{display:none}
.js .hs__slide+.hs__slide{display:block}
.js .hs__badge+.hs__badge{display:flex}
.js .hs__slide,.js .hs__badge{opacity:0;visibility:hidden}
.js .hs__slide.is-active,.js .hs__badge.is-active{opacity:1;visibility:visible}
.hs__slide.is-active{z-index:1}
.hs__dots{display:none;justify-content:center;gap:.125rem;margin-top:.75rem}
.js .hs__dots{display:flex}
.hs__dot{display:grid;place-items:center;width:2.75rem;height:2.75rem;padding:0;border:0;border-radius:999px;background:none;cursor:pointer}
.hs__dot::before{content:"";display:block;width:.625rem;height:.625rem;border-radius:999px;background:var(--violet-400)}
.hs__dot:hover::before{background:var(--violet-600)}
.hs__dot[aria-current="true"]::before{width:1.75rem;background:var(--violet-700)}
.hs__dot:focus-visible{outline-offset:-.25rem}
/* The dots row (2.75rem + .75rem) is under the frame: the badge and the teal orb keep their place on the photo. */
.js .d-hero__visual--slides .float--md{bottom:5rem}
.js .d-hero__visual--slides .orb--3{bottom:1.75rem}
/* The scanner slide badge (owner on c1 2026-12-03): higher, so it does not cover the scanner. Its center is at --hs-up of
   the photo height above the photo bottom (100% = the visual box = the photo + the 3.5rem dots row). */
.js .d-hero__visual--slides .hs__badge+.hs__badge{--hs-up:.445;top:calc((100% - 3.5rem)*(1 - var(--hs-up)));bottom:auto;transform:translateY(-50%)}
@media (prefers-reduced-motion:no-preference){
  /* Only the incoming slide (on top, z-index 1) fades in; the outgoing slide stays opaque under it until the fade ends,
     so the frame background never shows through. The badges cross-fade. */
  html.js:not(.motion-off) .hs__slide{transition:opacity 0s linear 1.2s,visibility 0s linear 1.2s}
  html.js:not(.motion-off) .hs__badge{transition:opacity 1.2s ease,visibility 0s linear 1.2s}
  html.js:not(.motion-off) .hs__slide.is-active,html.js:not(.motion-off) .hs__badge.is-active{transition:opacity 1.2s ease,visibility 0s}
  html:not(.motion-off) .hs__dot::before{transition:width .3s ease,background-color .3s ease}
}

/* ---------- Part: manufacturer strip (D4). Logos only, original colors, no caption and no box (Jonas 2026-11-25).
   The Aetrex brand guide asks for clear space around the logo (about 0.3 of its height): the gap between the logos. ---------- */
.makers{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem}
.makers__label{color:var(--heading);font-size:1rem;font-weight:500}
.makers ul{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem}
.maker{display:flex;align-items:center}
.maker__logo{display:block;width:auto;height:1.75rem}
/* The round Aetrex mark looks smaller at the same height: about 15 % higher, by eye (Jonas 2026-11-25). */
.maker__logo--aetrex{height:2rem}
/* The Aurelka Orto logo is 7.5:1 (the other logos 3:1 to 5:1): a lower height keeps its width near the old logo, about 144 px (Jonas 2026-12-02). */
.maker__logo[src$="/aurelka-orto.svg"]{height:1.2rem}

/* ---------- Part: small hero (inner pages) with breadcrumb ---------- */
.page-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,var(--white) 0%,var(--violet-50) 100%)}
.page-hero .wrap{padding-block:clamp(1rem,.75rem + 1.5vw,2rem) clamp(1.5rem,1rem + 2vw,2.5rem)}
.page-hero h1{max-width:46rem;font-size:clamp(2rem,1.5rem + 2.4vw,3rem)}
.page-hero .hero__lead{max-width:44rem}
/* A long lead uses the full content width (text sheet R4, owner 2026-11-30: itvarai-2 and tyrimai-ir-ideklai). */
.page-hero .hero__lead--wide{max-width:none}
.page-hero>.orb--1{right:-8rem;top:-12rem;width:26rem;height:26rem;background:var(--violet-100)}
.page-hero>.orb--2{right:-3rem;bottom:-5rem;width:9rem;height:9rem;background:var(--violet-200)}
/* Hero variants (MAC-17, Jonas 2026-12-02: more variety between the pages). The content file of a page adds one class
   page-hero--<name> to section.page-hero, and the orbs .orb--3 and .orb--4 when the variant has them. No class = the 2
   violet circles above (parts page, 404 page). Page map: docs/09 "Page hero variants". Each rule: inset (top right
   bottom left), size, color. Colors: palette variables only. Text contrast (AA): under the breadcrumb or a link only
   violet-100, teal-100, teal-200; violet-200 and teal-300 only under the h1 and the lead; teal-500 only small, at the
   right, under the h1 or the lead (gray-900 5.96:1). orb--1 (drift-a 7s) and orb--2 (drift-b 9s) keep their motion
   (browser test). The motion button and reduced motion stop every orb (see the motion part). */
.page-hero--teal>.orb--1{inset:-9rem -7rem auto auto;width:clamp(16rem,10rem + 18vw,28rem);height:clamp(16rem,10rem + 18vw,28rem);background:var(--teal-100)}
.page-hero--teal>.orb--2{inset:auto auto -6rem 38%;width:11rem;height:11rem;background:var(--teal-200)}
.page-hero--teal>.orb--3{inset:55% 7% auto auto;width:3.5rem;height:3.5rem;background:var(--teal-500);animation-duration:11s}
.page-hero--duo>.orb--1{inset:auto -5rem -7rem auto;width:clamp(12rem,8rem + 14vw,20rem);height:clamp(12rem,8rem + 14vw,20rem);background:var(--violet-200)}
.page-hero--duo>.orb--2{inset:-8rem auto auto 45%;width:18rem;height:18rem;background:var(--violet-100)}
.page-hero--duo>.orb--3{inset:18% 10% auto auto;width:6rem;height:6rem;background:var(--teal-200);animation-duration:12s}
.page-hero--duo>.orb--4{inset:42% 4% auto auto;width:2.5rem;height:2.5rem;background:var(--teal-500)}
.page-hero--scatter>.orb--1{inset:-11rem -4rem auto auto;width:20rem;height:20rem;background:var(--violet-100)}
.page-hero--scatter>.orb--2{inset:auto 14% -3rem auto;width:7rem;height:7rem;background:var(--teal-200)}
.page-hero--scatter>.orb--3{inset:24% 24% auto auto;width:4rem;height:4rem;background:var(--violet-200);animation-duration:10s}
.page-hero--scatter>.orb--4{inset:58% 5% auto auto;width:2.5rem;height:2.5rem;background:var(--teal-300)}
.page-hero--rise>.orb--1{inset:-12rem auto auto -6rem;width:22rem;height:22rem;background:var(--teal-100)}
.page-hero--rise>.orb--2{inset:auto 32% -2rem auto;width:5rem;height:5rem;background:var(--teal-200)}
.page-hero--rise>.orb--3{inset:auto 16% -3.5rem auto;width:8rem;height:8rem;background:var(--teal-300);animation-duration:10s}
.page-hero--rise>.orb--4{inset:auto -3rem -5rem auto;width:12rem;height:12rem;background:var(--violet-200)}
.page-hero--wide>.orb--1{inset:-14rem auto auto -10rem;width:clamp(22rem,15rem + 22vw,36rem);height:clamp(22rem,15rem + 22vw,36rem);background:var(--violet-100)}
.page-hero--wide>.orb--2{inset:30% -3rem auto auto;width:9rem;height:9rem;background:var(--teal-200)}
.page-hero--wide>.orb--3{inset:20% 18% auto auto;width:3rem;height:3rem;background:var(--teal-500);animation-duration:11s}
.page-hero--mix>.orb--1{inset:-10rem 8% auto auto;width:clamp(14rem,8rem + 20vw,24rem);height:clamp(14rem,8rem + 20vw,24rem);background:var(--teal-100)}
.page-hero--mix>.orb--2{inset:auto -3rem -4rem auto;width:10rem;height:10rem;background:var(--violet-200)}
.page-hero--mix>.orb--3{inset:15% 30% auto auto;width:6rem;height:6rem;background:var(--violet-100);animation-duration:12s}
/* On a narrow screen the text fills the width: the small dots go half out of the right edge, not on a word. */
@media (max-width:47.99rem){.page-hero--teal>.orb--3,.page-hero--duo>.orb--4,.page-hero--scatter>.orb--4,.page-hero--wide>.orb--3{right:-1.25rem}}
.page-hero__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:1.5rem}
/* Model page (MAC-241): the one price of the page, "nuo X €" under the title. The form shows the exact price. */
.page-hero__price{margin-top:.75rem;font-size:1.5rem}
.crumbs{margin-bottom:1rem;color:var(--muted);font-size:1rem}
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 .5rem}
.crumbs li{display:inline-flex;align-items:center;min-height:2.75rem}
.crumbs li+li::before{content:"/";margin-right:.5rem}
.crumbs a{display:inline-flex;align-items:center;min-height:2.75rem}

/* ---------- Part: compensation block (home hero; the one framed block of the hero, on glass) ----------
   MAC-252: the dark band is gone (client, 2026-11-18: too dark, too many background changes). Dark design is only the footer. */
.comp{display:grid;gap:1.5rem;padding:clamp(1.5rem,1rem + 2.5vw,2.5rem)}
.comp__text{min-width:0}
.comp h2{font-size:clamp(1.5rem,1.2rem + 1.3vw,2rem)}
.comp p{max-width:40rem;margin-top:.75rem}
.comp .textlink{margin-top:.75rem}
.comp__list{display:grid;gap:.75rem;padding-top:1.5rem;border-top:1px solid var(--violet-200)}
.comp__list li{display:flex;align-items:flex-start;gap:.75rem;color:var(--heading);font-weight:500}
.comp__list svg{width:1.5rem;height:1.5rem;margin-top:.1rem;color:var(--teal-800)}
@media (min-width:60rem){
  .d-hero .comp{grid-column:1/-1}
  .comp{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:3rem}
  .comp__list{padding-top:0;padding-left:3rem;border-top:0;border-left:1px solid var(--violet-200)}
}

/* ---------- Part: section and section heading ---------- */
/* MAC-290 (client 2026-11-21): smaller gaps between sections, site-wide. Was clamp(3rem,2rem + 4vw,5.5rem) and
   clamp(2rem,1.5rem + 2vw,3.5rem). */
.section{padding-block:clamp(2.5rem,1.75rem + 2.5vw,3.75rem)}
.section--tight{padding-block:clamp(1.5rem,1.25rem + 1.25vw,2.5rem)}
.section__head{max-width:44rem;margin-bottom:2rem}
.section__head--center{margin-inline:auto;text-align:center}
.section__head--center .eyebrow{justify-content:center}
/* A long section head uses the full content width (text sheet R5, owner 2026-11-30: kompensavimas). */
.section__head--wide{max-width:none}
/* Compensation page (MAC-17, owner 2026-12-02): the VLK catalogs card continues the white steps section before it.
   No top padding, so the gap after the disclaimer box is half of a section gap: 60 px at 1280 px, 40 px at 360 px. */
.section#vlk-katalogai{padding-top:0}
.section__lead{margin-top:.75rem;color:var(--muted)}
/* D1: a tinted section with a brand line at the top. It makes a clear border to the section before it. */
.section--tint{position:relative;background:linear-gradient(180deg,var(--violet-50) 0%,var(--violet-50) 40%,var(--white) 100%)}
.section--tint::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--brand-line)}

/* ---------- Part: steps (vertical, static: numbers 1 to N and a line between them; MAC-252 took out the scroll motion) ---------- */
@media (min-width:60rem){
  .process__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:4.5rem}
  .process__media{position:sticky;top:7rem}
}
.process__media{position:relative;margin-bottom:2.5rem}
.process__media .photo{aspect-ratio:4/3}
@media (min-width:60rem){.process__media{margin-bottom:0}.process__media .photo{aspect-ratio:4/5}}
.process__media .float{left:1rem;bottom:1rem}
/* MAC-17 v1 release photos (owner 2026-12-03): the 4:5 scanner photo of the insoles page sits at the bottom of the 4:3
   frame below 60rem, so the scanner stays whole (only the top of the wall is cut). */
.process__media .photo img{object-position:50% 100%}
/* The scanner is at the bottom of the photo: the chip goes to the top left corner, so it does not cover the scanner.
   Below 36rem the frame is too low for the chip: the chip is under the photo. */
.process__media .float{top:1rem;bottom:auto}
@media (max-width:35.99rem){.process__media .float{position:static;margin-top:.75rem}}
/* MAC-17 v1 (owner 2026-12-03): the home steps have no photo until v1.1, so no photo column. The heading and the chip
   (not on a photo: static) are on the left, sticky from 60rem; the steps are on the right. */
.float--static{position:static;display:inline-flex;margin-top:1.5rem}
@media (min-width:60rem){.process__head{position:sticky;top:7rem}.process__grid--text .steps{margin-top:.5rem}}
.process{position:relative}
.steps{margin:2.25rem 0 0}
.step{position:relative;padding:0 0 2.25rem 4.5rem}
.step:last-child{padding-bottom:0}
.step::before{content:"";position:absolute;left:calc(1.5rem - 1px);top:0;bottom:0;width:2px;background:var(--violet-200)}
.step:last-child::before{display:none}
.step__num{position:absolute;left:0;top:0;z-index:1;display:grid;place-items:center;width:3rem;height:3rem;border:2px solid var(--violet-500);border-radius:50%;background:var(--violet-500);box-shadow:0 0 0 6px var(--white);color:var(--white);font-weight:800}
.step h3{padding-top:.5rem;font-size:1.25rem}
.step p{margin-top:.375rem;color:var(--muted)}
/* MAC-255: the home steps link the page "Kaip mes dirbame"; MAC-285: and its FAQ. The links start at the step text
   (under the titles), side by side. */
.process__links{display:flex;flex-wrap:wrap;column-gap:1.5rem;margin-top:1.5rem;margin-left:4.5rem}
.process__more,.process__duk{margin:0}

/* ---------- Part: video (MAC-255 layout by a fable design subagent; MAC-284: YouTube on a click). Our own poster in
   a link to YouTube; a click puts the www.youtube-nocookie.com player in its place (site.js). No request to YouTube
   before the click. No motion. ---------- */
/* A centered, wrapping row: 1 item sits in the middle, 3 items give 2 + 1 centered. flex-start: a wide and a tall item
   in one row keep their own heights. */
.videos{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:2rem 1.5rem}
/* Wide file (16:9): one column on a phone, 2 columns from 48rem. No grow: a last item alone in its row keeps the size
   of the others. min-width 0 lets an item shrink at 320 px and at 200 % text. */
.video{flex:0 1 100%;min-width:0;max-width:100%}
@media (min-width:48rem){.video{flex-basis:calc((100% - 1.5rem)/2)}}
/* One video only: centered, 52rem at most (about 468 px high at 16:9), not the full width of the wrap. */
.video:only-child{flex-basis:52rem}
/* Tall or square file (data-orient="tall", render.py): a narrow column, so the height stays about 28.5rem. One tall
   video alone: 20rem. */
.video[data-orient="tall"]{flex-basis:16rem}
.video[data-orient="tall"]:only-child{flex-basis:20rem}
/* One video alone ({{video:<key>}}, MAC-284): the width of its block, 40rem at most; a tall video 20rem. */
.video--one{max-width:40rem}
.video--one[data-orient="tall"]{max-width:20rem}
.video figure{margin:0}
/* The box: the width of its column, the height from the width and height attributes of the poster, so the size is
   known before the poster loads (no layout shift; the poster has the ratio of the video). The player of the click
   gets the same ratio (site.js), so the box does not change. max-height: never higher than 36rem or the window; then
   the picture fits whole (contain) with bars. Bars and the frame are violet-900: the frame of a video, not a section
   background. */
.video__link{position:relative;display:block;overflow:hidden;border-radius:var(--r-m);background:var(--violet-900);box-shadow:var(--shadow-1);color:var(--violet-900);text-decoration:none}
.video__poster,.video__frame{display:block;width:100%;height:auto;max-height:max(15rem,min(36rem,100vh - 7rem));border:0;object-fit:contain}
.video__frame{border-radius:var(--r-m);background:var(--violet-900);box-shadow:var(--shadow-1)}
/* The play label: a white pill on the poster with the play icon and the word YouTube, so the visitor knows where the
   video plays before the click. */
.video__play{position:absolute;left:.75rem;bottom:.75rem;max-width:calc(100% - 1.5rem);display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .875rem .375rem .375rem;border-radius:999px;background:var(--white);box-shadow:var(--shadow-1);font-size:1rem;font-weight:700;line-height:1.2}
.video__icon{flex:none;width:2.25rem;height:2.25rem;padding:.5rem;border-radius:50%;background:var(--violet-500);fill:var(--white)}
.video__host{font-weight:500}
.video__link:hover .video__icon{background:var(--violet-700)}
.video__title{margin-top:.75rem;color:var(--heading);font-size:1.125rem;font-weight:700;line-height:1.35;text-align:center}
/* Short text of a story under its caption (MAC-285). */
.video__text{margin-top:.375rem;color:var(--muted);font-size:1rem;text-align:center}
/* A video in a FAQ answer (MAC-285): the caption is the question of the summary, so it is not shown (display:none, so
   a screen reader does not read the question two times). aria-labelledby of the link and the title of the player
   still take its text. */
.faq__body .video--one{margin-top:1rem}
.faq__body .video__title{display:none}

/* ---------- Part: jump links (MAC-285): a short list of links to the sections of a long page, in the page hero. ---------- */
.jumps ul{display:flex;flex-wrap:wrap;align-items:center;gap:0 1rem;margin-top:1.25rem}
.jumps li{display:flex;align-items:center;gap:1rem}
.jumps li+li::before{content:"·";color:var(--muted);font-weight:700}
.jumps a{display:inline-flex;align-items:center;min-height:2.75rem;font-weight:700}

/* ---------- Part: FAQ groups (MAC-285; MAC-290 look by a fable design subagent). One white card per group, in a
   centered column. The group heading is larger, violet-600 and has a 2px rule under it, so it does not read as one
   more question. The compensation page FAQ (owner 2026-11-30) uses one card with no group title. ---------- */
.faq-group{max-width:52rem;margin-inline:auto;padding:1.5rem clamp(.75rem,4vw,2rem) .5rem;border:1px solid var(--violet-200);border-radius:var(--r-m);background:var(--white);box-shadow:var(--shadow-1)}
/* Kaip mes dirbame page (owner 2026-11-30): the FAQ cards have the width of the CTA card (the full .wrap). The parts
   page (section.part#duk) keeps the 52rem column. */
.section#duk .faq-group,.section#klausimai .faq-group{max-width:none}
/* MAC-17 (owner 2026-12-02: the answers wrapped at 44rem, about 2/3 of the card). The answers get 54rem: about 96 to
   115 characters a line at 1280 px (the full card would give up to 141). The questions use the full card width.
   Same on the Kaip mes dirbame page (.section#duk); the parts page (section.part#duk) keeps 44rem. */
.section#duk .faq__body,.section#klausimai .faq__body{max-width:54rem}
/* A card with no group title (compensation page): no 2px rule above the first question. */
.faq-group>.faq:first-child{border-top:0}
.faq-group__title{margin-bottom:.875rem;color:var(--violet-600);font-size:1.5rem;font-weight:800;letter-spacing:-.02em}
.faq-group .faq{max-width:none;border-top:2px solid var(--violet-200)}
.faq-group .faq details:last-child{border-bottom:0}
/* A FAQ list with no card on the tinted section: white sign circle (violet-50 would not show on violet-50). */
.section--tint .faq summary::after{background:var(--white)}
/* In the white card the sign circle is violet-50 again. */
.section--tint .faq-group .faq summary::after{background:var(--violet-50)}

/* ---------- Part: path (numbered cards in a row) ---------- */
.path{display:grid;gap:1rem;counter-reset:path;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}
.path>li{padding:1.5rem;border:1px solid var(--gray-200);border-radius:var(--r-m);background:var(--white)}
.path>li::before{counter-increment:path;content:counter(path);display:grid;place-items:center;width:2.5rem;height:2.5rem;margin-bottom:.875rem;border-radius:50%;background:var(--violet-500);color:var(--white);font-weight:800}
.path h3{font-size:1.25rem}
.path p{margin-top:.375rem;color:var(--muted);font-size:1rem}

/* ---------- Part: feature rows (text and photo side by side) ---------- */
.features{overflow:hidden}
.feature{display:grid;align-items:center;gap:2rem;padding-block:clamp(1.5rem,1rem + 2.5vw,3rem)}
@media (min-width:56rem){
  .feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2.5rem,6vw,5.5rem)}
  .feature--flip .feature__media{order:-1}
}
.feature h3{font-size:clamp(1.625rem,1.3rem + 1.4vw,2.25rem);line-height:1.15;letter-spacing:-.02em}
.feature p{margin-top:1rem}
.feature .btn{margin-top:1.75rem}
.checks{display:grid;gap:.625rem;margin-top:1.25rem}
.checks li{display:flex;align-items:flex-start;gap:.625rem}
.checks svg{width:1.375rem;height:1.375rem;margin-top:.2rem;color:var(--teal-800)}
/* MAC-17 (owner 2026-12-02): the word "Neprivaloma:" at the start of a list item. Bold (strong) and teal 800, the color
   of the check icon, so a reader who skims sees it. 6.3:1 on violet 50, 7.0:1 on white (pairs in check.py). */
.optional{color:var(--teal-800)}
.feature__media{position:relative;isolation:isolate}
.feature__media::before{content:"";position:absolute;z-index:-1;right:-.75rem;bottom:-.75rem;width:9rem;height:9rem;border-radius:50%;background:var(--teal-200)}
.feature--flip .feature__media::before{right:auto;left:-.75rem;background:var(--violet-200)}
@media (min-width:56rem){.feature__media::before{right:-1.75rem;bottom:-1.75rem}.feature--flip .feature__media::before{left:-1.75rem}}
.feature__media .photo{aspect-ratio:4/3}
.feature__media .badge{position:absolute;left:1rem;top:1rem;box-shadow:var(--shadow-1)}

/* ---------- Part: badges (compensation state), MD mark and certificate line ---------- */
/* MAC-253 (Šaltlita 2026-11-18): "Kompensuojama*" (the footer note explains the star); "Nekompensuojama" is red with an
   X icon (--error on --error-50); the certificate line is one sentence, no certificate files and no marks. */
.badge{display:inline-flex;align-items:center;gap:.375rem;padding:.1875rem .625rem;border-radius:999px;background:var(--teal-100);color:var(--teal-800);font-size:1rem;font-weight:700;line-height:1.4}
.badge--none{background:var(--error-50);color:var(--error)}
.badge--info{background:var(--violet-50);box-shadow:inset 0 0 0 1px var(--violet-200);color:var(--violet-700)}
.ico{width:1.125rem;height:1.125rem}
.md-mark{display:grid;place-items:center;flex:none;min-width:2.75rem;height:2rem;padding-inline:.25rem;border:2px solid var(--violet-900);border-radius:.25rem;background:var(--white);color:var(--violet-900);font-size:1rem;font-weight:800;line-height:1}
.certline{display:flex;align-items:flex-start;gap:.5rem;max-width:52rem;margin-top:1.5rem;color:var(--muted);font-size:1rem}
.certline .ico{flex:none;margin-top:.2rem;color:var(--teal-800)}
/* Lines of equal length: no single word alone on the last line (text sheet R4, owner 2026-11-30). */
.certline>span{text-wrap:balance}
.draft{display:inline-flex;align-items:center;padding:.0625rem .625rem;border:1px dashed var(--gray-700);border-radius:999px;background:var(--white);color:var(--gray-700);font-size:1rem;font-weight:500;line-height:1.4}

/* ---------- Part: product card and card grid ---------- */
.cards{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr))}
/* A short list: 3 columns at most. With large text it goes to fewer columns by itself. */
.cards--3{grid-template-columns:repeat(auto-fill,minmax(min(100%,max(15rem,30%)),1fr))}
.card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--gray-200);border-radius:var(--r-m);background:var(--white)}
.card:hover{border-color:var(--violet-200);box-shadow:var(--shadow-1)}
.card:has(.card__title a:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.card__media{position:relative;display:grid;place-items:center;aspect-ratio:3/2;background:linear-gradient(135deg,var(--violet-50),var(--teal-50));color:var(--violet-600)}
.card__media>svg{width:56%;height:auto}
/* Brace cards (MAC-17, Jonas 2026-11-25): the Erhem photos are about 15:8 (768 x 410); the same frame shape, no white bands. */
.card__media--wide{aspect-ratio:15/8}
/* The photo is fixed to the edges of the 3:2 frame, else the grid row takes the photo height and the frame cuts it (Jonas 2026-11-25). */
.card__media>.card__photo{position:absolute;inset:0}
/* MAC-17 v1 (kompensavimas): the Erhem slide afo-night-r2 (1170 x 626, light background) fills the 3:2 card frame. The
   image box is larger than the frame, so the frame shows only the source window x 6-861, y 30-600 (855 x 570): the
   whole main brace (x 334-752, y 44-579), without the second brace at the right (from x 872). Values: 1170/855,
   626/570, -6/855, -30/570. */
.card__media--fill>.card__photo{inset:auto;left:-.7%;top:-5.26%;width:136.84%;height:109.82%;max-width:none;object-fit:cover}
.card__photo{display:block;width:100%;height:100%;object-fit:contain;background:var(--white)}
.card__media .badge{position:absolute;left:.75rem;top:.75rem}
.card__media.is-adult{background:linear-gradient(135deg,var(--violet-200),var(--violet-50));color:var(--violet-900)}
.card__media .card__adult{left:auto;top:auto;right:.75rem;bottom:.75rem;display:none}
.card__media.is-adult .card__adult{display:inline-flex}
.card__body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.5rem;padding:1.25rem}
.card__title{font-size:1.25rem;line-height:1.25}
.card__title a{color:inherit;text-decoration:none}
.card__title a::after{content:"";position:absolute;inset:0}
.card__title a:hover{text-decoration:underline}
.card__title a:focus-visible{outline:0}
.card__desc{color:var(--muted);font-size:1rem;line-height:1.5}
.card__meta{font-size:1rem;font-weight:500}
.card__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem;width:100%;margin-top:auto;padding-top:.875rem;border-top:1px solid var(--gray-200)}
.price{color:var(--heading);font-size:1.375rem;font-weight:800;letter-spacing:-.01em;white-space:nowrap}
.price small{color:var(--muted);font-size:1rem;font-weight:500}
/* Manufacturer mark (Jonas 2026-11-17, MAC-237): in the place of the certificate marks MD and CE on every card
   (footwear Aurelka, braces Erhem, insoles Aetrex). The vector logo of the maker (render.py MAKER_LOGOS), original colors;
   a maker without a logo file shows its name as text. Height 1.5rem: the Aetrex mark is then about 88 px wide (guide minimum 52 px). Certificates: one certificate line on the page (MAC-253), no marks. */
.card__maker{display:flex;align-items:center;min-height:2rem;margin-left:auto;color:var(--heading);font-size:1rem;font-weight:800;letter-spacing:-.01em}
.card__maker-logo{display:block;width:auto;height:1.5rem}
/* Aurelka Orto (7.5:1): height .9rem = about 108 px wide, near the old logo (Jonas 2026-12-02). Then price "nuo 285 €" (about 91 px)
   + gap 12 px + logo fit in one line of the narrowest desktop card (catalog at 1280 px: 214 px). max-width: never wider than the card. */
.card__maker-logo[src$="/aurelka-orto.svg"]{height:.9rem;max-width:100%}

/* ---------- Part: catalog layout, filter panel (left; on a phone a button opens it) ---------- */
.catalog{display:grid;gap:1.5rem}
@media (min-width:60rem){.catalog{grid-template-columns:17.5rem minmax(0,1fr);align-items:start;gap:2.5rem}}
.filters{padding:1.25rem;border:1px solid var(--gray-200);border-radius:var(--r-l);background:var(--white);box-shadow:var(--shadow-1)}
@media (min-width:60rem){.filters{position:sticky;top:6rem;max-height:calc(100vh - 7rem);overflow:auto}}
/* Braces panel (figure + word filter) is 945 px = about 59rem high (measured on c1 at 1280 px, MAC-254; it was 1103 px
   with the 8-part list, MAC-241). It sticks at all window heights and does not scroll inside itself (MAC-238 F1 list).
   When the panel is higher than the window, site.js sets --filters-top to a negative value: the panel scrolls with
   the page until its bottom edge is 1rem above the window bottom, then it stays there (MAC-17, 2026-11-23).
   The figure scales with the window height (rule below), so the panel fits a window of about 49rem (785 px) and higher.
   The negative top of site.js stays for lower windows. */
@media (min-width:60rem){.filters:has(.bodymap){max-height:none;overflow:visible;top:var(--filters-top,6rem)}}
/* Figure height (MAC-17): 26.5rem = present height (200 px wide); 35rem = rest of panel (about 435 px, was 521 px) + sticky top 6rem + 1rem below; 14rem = smallest figure (about 106 px wide).
   The panel with the full 26.5rem figure fits a window of about 61.5rem (985 px).
   The body map hint is visually hidden (class vh, MAC-17, client request 2026-11-23). */
@media (min-width:60rem){.filters:has(.bodymap) .bodymap__svg{width:auto;height:clamp(14rem,calc(100vh - 35rem),26.5rem)}}
.filters__toggle{display:none;width:100%}
.filters__toggle svg{margin-right:.5rem}
.filters__panel{display:grid;gap:1.5rem}
.filters__title{font-size:1.25rem}
@media (max-width:59.99rem){
  .js .filters__toggle{display:inline-flex}
  .js .filters:not(.is-open) .filters__panel{display:none}
  .js .filters.is-open .filters__panel{margin-top:1.25rem}
  .js .filters__title{display:none}
}
.filters__group legend,.filters__group>label{display:block;padding:0;color:var(--heading);font-weight:700}
.filters__group legend{margin-bottom:.625rem}
.filters__hint{margin-top:.5rem;color:var(--muted);font-size:1rem;line-height:1.45}

/* ---------- Part: chips (one choice) and select ---------- */
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chips--col{flex-direction:column;flex-wrap:nowrap}
.chip{position:relative;display:flex}
.chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.chip span{display:inline-flex;flex:1;align-items:center;min-height:2.75rem;padding:.25rem 1rem;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 1px var(--gray-700);color:var(--heading);font-size:1rem;font-weight:500;line-height:1.3}
.chip input:hover+span{background:var(--violet-50)}
.chip input:checked+span{background:var(--violet-500);box-shadow:none;color:var(--white);font-weight:700}
.chip input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
.select{display:block;width:100%;min-height:3rem;margin-top:.5rem;padding:.5rem .875rem;border:1px solid var(--gray-700);border-radius:var(--r-s);background:var(--white);color:var(--text);font:inherit}

/* ---------- Part: body map (the detailed choice of the 8 body parts; the word filter has the 3 areas) ----------
   MAC-254: one front view (content part bodymap); the part "back" is a zone on the chest. Each body part is one group
   (bodymap__part) with its zones inside. Stroke widths are CSS px (non-scaling-stroke).
   fill-opacity on zones: a zone lies on top of the joint drawing, and the drawing must stay visible.
   States are on the part group and drawn on its zones, so the 2 zones of a paired part change together:
   hover; :focus-visible (site.js makes the group a keyboard button); is-on (selected).
   The focus mark is the zone stroke, not an outline: an outline on an SVG group is not reliable in all browsers.
   Size: the figure is 268 x 568 units. max-width 12.5rem gives a scale of about 0.75 (height about 424 px), also in a
   320 px window, so the smallest zone (r 26 circle) is about 39 px. Keep the scale at 0.5 or more (24 px zones). */
.bodymap{display:grid;justify-items:center;gap:.5rem;margin-bottom:1rem}
.bodymap__svg{width:100%;max-width:12.5rem;height:auto;overflow:visible}
.bodymap__view{stroke-linecap:round;stroke-linejoin:round}
.bodymap__base{fill:var(--violet-50);stroke:none}
.bodymap__line{fill:none;stroke:var(--violet-600);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.bodymap__detail{fill:none;stroke:var(--violet-400);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
/* Zone edge at rest: violet-600 (about 6.6:1 on violet-50). violet-400 had about 2.97:1 against the zone fill, less than
   3:1 (WCAG 1.4.11; MAC-238 F1 list, MAC-241). */
.bodymap__part,.bodymap__part:focus-visible{outline:0}
.bodymap__zone{fill:var(--violet-200);fill-opacity:.4;stroke:var(--violet-600);stroke-width:1.5;stroke-linejoin:round;vector-effect:non-scaling-stroke;outline:0;cursor:pointer}
.bodymap__part:hover .bodymap__zone{fill-opacity:.75;stroke:var(--violet-700);stroke-width:2}
.bodymap__part:focus-visible .bodymap__zone{stroke:var(--violet-500);stroke-width:4}
.bodymap__part.is-on .bodymap__zone{fill:var(--violet-500);fill-opacity:.6;stroke:var(--violet-900);stroke-width:3}
.bodymap__part.is-on:hover .bodymap__zone{fill-opacity:.7}
/* Selected + focus has 2 marks (MAC-254 review): a thicker stroke and a darker fill. In forced colors the focus stroke is
   the system Highlight color, so the focus does not depend on the stroke width only. */
.bodymap__part.is-on:focus-visible .bodymap__zone{fill-opacity:.9;stroke:var(--violet-900);stroke-width:5}
@media (forced-colors:active){.bodymap__part:focus-visible .bodymap__zone{stroke:Highlight;stroke-width:5}}

/* ---------- Part: result count and empty state ---------- */
.results{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem 1rem;min-height:2.75rem;margin-bottom:1rem;color:var(--muted);font-size:1rem}
.results strong{color:var(--heading)}
.empty{padding:2rem 1.5rem;border:1px dashed var(--gray-700);border-radius:var(--r-m);text-align:center}
.empty p{margin-top:.5rem;color:var(--muted)}

/* ---------- Part: note box ---------- */
.notebox{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem;border-radius:var(--r-m);background:var(--teal-50);box-shadow:inset 4px 0 0 var(--teal-500)}
.notebox>svg{width:1.75rem;height:1.75rem;margin-top:.15rem;color:var(--teal-800)}
.notebox strong{display:block;color:var(--heading)}
.notebox p+p{margin-top:.5rem}

/* ---------- Part: map box (MAC-17). Own placeholder until a click (site.js puts the Google iframe in its place).
   Without JavaScript the button and its note are hidden; the Waze and Google Maps links below always show. ---------- */
.mapbox{overflow:hidden;border:1px solid var(--gray-200);border-radius:var(--r-l);background:var(--white);box-shadow:var(--shadow-1)}
.mapbox__ph{display:grid;justify-items:center;align-content:center;gap:.75rem;min-height:22rem;padding:1.5rem;background:linear-gradient(135deg,var(--violet-50),var(--teal-50));text-align:center}
.mapbox__pin{width:3rem;height:3rem;color:var(--violet-600)}
.mapbox__addr{font-weight:700;color:var(--heading)}
.mapbox__btn,.mapbox__note{display:none}
.js .mapbox__btn{display:inline-flex}
.js .mapbox__note{display:block;font-size:.875rem;color:var(--muted)}
.mapbox__frame{display:block;width:100%;height:22rem;border:0}
.maplinks{display:flex;flex-wrap:wrap;gap:.75rem}
@media (max-width:35.99rem){.maplinks .btn{width:100%}}
.stack>*+*{margin-top:1.5rem}

/* ---------- Part: legal text (MAC-17, page privatumo-politika). One column of .prose; h2 smaller than a section h2.
   Tables scroll inside .table-scroll on a phone (the page has no horizontal scroll). .fill-mark = an open fact
   («UŽPILDYSIME …», render.py --final fails while one is left): red on the error tint, the pair of .badge--none. ---------- */
/* The 2 legal pages (section.legal: privatumo-politika, pirkimo-pardavimo-taisykles; owner 2026-12-03): the text uses the
   full width of .wrap (as the header, the hero and the footer), not the 44rem measure of .prose. */
.legal>.wrap.prose{max-width:75rem}
.legal h2{margin-top:2.5rem;font-size:clamp(1.375rem,1.2rem + .8vw,1.75rem)}
.legal h2:first-child{margin-top:0}
.table-scroll{overflow-x:auto;border-radius:var(--r-m)}
.legal-table{width:100%;min-width:36rem;border-collapse:collapse;font-size:1rem}
.legal-table th,.legal-table td{padding:.625rem .75rem;border-bottom:1px solid var(--gray-200);text-align:left;vertical-align:top}
.legal-table thead th{border-bottom:2px solid var(--violet-200);color:var(--muted);font-weight:500}
.legal-table tbody th{color:var(--heading);font-weight:700}
.legal-list{padding-left:1.25rem;list-style:disc}
.legal-list li+li{margin-top:.375rem}
.fill-mark{padding:0 .25rem;border-radius:.25rem;background:var(--error-50);color:var(--error);font-weight:700}
.video-note{margin-top:1.5rem;text-align:center}

/* ---------- Part: FAQ list ---------- */
.faq{max-width:52rem;border-top:1px solid var(--gray-200)}
.faq details{border-bottom:1px solid var(--gray-200)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.5rem;padding:.75rem 0;color:var(--heading);font-weight:700;cursor:pointer;list-style:none;overflow-wrap:anywhere}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";display:grid;place-items:center;flex:none;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--violet-50);color:var(--violet-600);font-size:1.375rem;font-weight:500;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq summary:hover{color:var(--violet-700)}
.faq__body{max-width:44rem;padding:0 0 1.25rem}
.faq__body>*+*{margin-top:.75rem}

/* ---------- Part: foot test cards (page kaip-mes-dirbame, block #tyrimas; owner chose design variant A "trys kortelės"
   2026-11-30) ----------
   Price line: one calm line under the lead; the amounts come from site/data/foot-test-prices.json.
   No audience row (owner 2026-12-02: adults/children variant and GIF are v1.1). Cards: the product card (.card) with a 5:4
   photo, a number badge and a "what it shows" list; 1 column on a phone, photo beside the text from 36rem, 3 columns
   from 56rem. No script. "Read more": the .faq look. */
.test-price{margin-top:.75rem;font-size:1rem;font-weight:500}
.cards--tests{grid-template-columns:minmax(0,1fr)}
@media (min-width:56rem){.cards--tests{grid-template-columns:repeat(3,minmax(0,1fr))}}
.card--test{min-width:0}
.card--test .card__media{aspect-ratio:5/4}
.card--test .card__media>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
@media (min-width:36rem) and (max-width:55.99rem){
  .card--test{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
  .card--test .card__media{align-self:start;height:100%;min-height:12rem}
}
.card__num{position:absolute;left:.75rem;top:.75rem;display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--violet-500);color:var(--white);font-size:1rem;font-weight:800}
.card--test .card__body{min-width:0}
.card__shows{align-self:stretch;margin-top:.5rem;padding-top:.875rem;border-top:1px solid var(--gray-200);color:var(--heading);font-size:1rem;font-weight:700}
.card--test .checks{align-self:stretch;margin-top:0;gap:.5rem}
.card--test .checks li{font-size:1rem;line-height:1.45;min-width:0}
.card--test .checks svg{width:1.25rem;height:1.25rem;margin-top:.1rem}
.more{max-width:none;margin-top:2rem;border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200)}
.more summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.5rem;padding:.75rem 0;color:var(--heading);font-weight:700;cursor:pointer;list-style:none}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:"+";display:grid;place-items:center;flex:none;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--violet-50);color:var(--violet-600);font-size:1.375rem;font-weight:500;line-height:1}
.more[open] summary::after{content:"–"}
.more summary:hover{color:var(--violet-700)}
.more__body{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1.25rem 2.5rem;padding:0 0 1.5rem}
.more__body h3{font-size:1.125rem;letter-spacing:0}
.more__body h3+p{margin-top:.375rem}
.more__body p+p{margin-top:.5rem}
.more__body p{font-size:1rem}

/* ---------- Part: slot (a marked place for a part that comes later) ---------- */
.slot{max-width:52rem;display:grid;justify-items:start;gap:.5rem;padding:1.5rem;border:2px dashed var(--violet-600);border-radius:var(--r-l);background:var(--violet-50)}
.slot p{color:var(--text)}

/* ---------- Part: model page (gallery, facts, order box) ---------- */
/* Top of the model page (MAC-17 D13, Jonas 2026-11-25): no page hero. Plain white: breadcrumb, h1, one line with the
   price and the badges, then the grid. At 1280 px the grid starts about 190 px under the top of the content. */
.model-page{padding-block:clamp(.75rem,.5rem + 1vw,1.25rem) clamp(1.5rem,1.25rem + 1.25vw,2.5rem)}
.model-page .crumbs{margin-bottom:.25rem}
.model-page h1{font-size:clamp(1.75rem,1.4rem + 1.5vw,2.5rem)}
.model-head__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:.75rem}
.model-head__meta .price{font-size:1.5rem}
/* Jump link "Užsakyti" to the order box (Jonas 2026-12-02): only below 60rem, where the grid is one column and the order
   box comes after the gallery and the facts. From 60rem the order box is next to the gallery in the first screen.
   The jump keeps the box title under the sticky menu: html scroll-padding-top 5.5rem > menu height 4.5rem. */
@media (min-width:60rem){.model-head__order{display:none}}
.model-page .model{margin-top:1.5rem}
.gallery{min-width:0}
.model{display:grid;gap:2rem}
@media (min-width:60rem){.model{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:3.5rem}}
.gallery__main{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:4/3;border-radius:var(--r-l);background:linear-gradient(135deg,var(--violet-50),var(--teal-50));box-shadow:var(--shadow-1);color:var(--violet-600)}
/* A photo fits whole on white (MAC-17 D13; the old photos are square 540 to 720 px). The photo is fixed to the edges of
   its frame: in the grid frame the auto row took the photo height (540 px), so the frame cut the top and the bottom (Jonas 2026-11-25). */
.gallery__main>img,.thumb>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:var(--white)}
.thumb>img{border-radius:inherit}
.gallery__pic{display:grid;place-items:center;width:100%;height:100%}
.gallery__pic>svg{width:60%;height:auto}
.gallery__main .badge{position:absolute;left:1rem;top:1rem}
/* Brace model page (MAC-17 B-Db): the Erhem photos are about 15:8 (768 x 410), as .card__media--wide; a list of the
   old page text has bullets (as .legal-list). */
.gallery__main--wide{aspect-ratio:15/8}
.brace-list{padding-left:1.25rem;list-style:disc}
.brace-list li+li{margin-top:.375rem}
.brace-text{margin-top:2rem}
.gallery__thumbs{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.75rem}
.thumb{position:relative;display:grid;place-items:center;width:5.5rem;height:4.25rem;padding:0;border:1px solid var(--gray-700);border-radius:var(--r-s);background:var(--violet-50);color:var(--violet-600);cursor:pointer}
/* Phone: 4 small pictures in one row (375 px). */
@media (max-width:29.99rem){.gallery__thumbs{gap:.5rem}.thumb{width:4.5rem;height:3.5rem}}
.thumb[aria-pressed="true"]{border:3px solid var(--violet-500)}
.thumb>svg{width:66%;height:auto}
.thumb:has(img){overflow:hidden;background:var(--white)}
/* Color options of the order form on a model page (MAC-17, owner 2026-12-03; docs/09 "Model page layout"). One rule for
   all models: a CSS grid of fixed swatches (image 3.5rem square, code line under it), gap .75rem both ways, as many
   columns as fit (auto-fill: 3 at 320 px, 4 at 375 px, 9 at 768 px, 6 at 1280 px), rows from the left, the last row
   not stretched. The field title and an error message take the full row. This overrides the inline-flex, the margins
   and the 50 px image size of Forminator and of the form custom CSS (they use !important; these rules have the page
   ID). The Forminator form and its settings do not change. Insole pages keep the Forminator look. */
#modelis .orderbox__form .forminator-field:has(>.forminator-radio.forminator-has_image){display:grid;grid-template-columns:repeat(auto-fill,3.5rem);gap:.75rem;justify-content:start;align-items:start}
#modelis .orderbox__form .forminator-field:has(>.forminator-radio.forminator-has_image)>:not(.forminator-radio){grid-column:1/-1;margin:0}
#modelis .orderbox__form .forminator-field .forminator-radio.forminator-has_image{display:flex!important;flex-direction:column;align-items:stretch;width:3.5rem;min-width:0!important;margin:0!important;padding:0!important;float:none!important}
#modelis .orderbox__form .forminator-field .forminator-radio.forminator-has_image .forminator-radio-image{box-sizing:border-box;width:100%;height:auto;aspect-ratio:1;margin:0!important;padding:3px!important}
#modelis .orderbox__form .forminator-field .forminator-radio.forminator-has_image .forminator-radio-image>span{width:100%!important;height:100%!important}
/* The selected color: a violet frame at every width (the form CSS shows it only from 783 px). Keyboard focus: a dark
   gray ring outside the image (the radio input is hidden), so focus and selection do not look the same. */
#modelis .orderbox__form .forminator-field .forminator-radio.forminator-has_image input:checked+.forminator-radio-image{background-color:var(--violet-500)!important}
#modelis .orderbox__form .forminator-field .forminator-radio.forminator-has_image input:focus-visible+.forminator-radio-image{outline:2px solid var(--text);outline-offset:3px}
/* The color code (site.js, site/data/color-codes.json): centered under its image, one font for all, two digits ("07");
   a longer code stays whole. An empty code line (form not in the data) keeps its height, so the grid stays even. */
.color-option__code{display:block;min-height:1.25rem;margin-top:.25rem;color:var(--text);font-size:.9375rem;font-weight:700;line-height:1.25rem;text-align:center;text-indent:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.facts{margin-top:1.5rem;border-top:1px solid var(--gray-200)}
/* The value goes under its name when there is no room for 2 columns (phone, large text). */
.facts>div{display:flex;flex-wrap:wrap;gap:.125rem 1rem;padding:.75rem 0;border-bottom:1px solid var(--gray-200)}
.facts dt{flex:0 0 11rem;color:var(--muted);font-size:1rem}
.facts dd{flex:1 1 12rem;min-width:0;font-weight:500}
/* Copy row (MAC-17): one tap selects the whole value; the button goes under the value when there is no room (320 px phone).
   The button shows only with JavaScript; the check icon shows only with is-done.
   All copy buttons stand at the right end of their row, so they make one column (Jonas 2026-11-25). */
.copyrow{display:flex;flex-wrap:wrap;align-items:center;gap:0 .25rem}
.copyrow .copybtn{margin-left:auto}
.copyval{user-select:all;-webkit-user-select:all;white-space:nowrap}
.copyval--wrap{flex:0 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
.copybtn{display:none;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:.5rem;border:0;border-radius:var(--r-s);background:transparent;color:var(--link);cursor:pointer}
.js .copybtn{display:inline-flex}
.copybtn:hover{color:var(--link-hover)}
.copybtn svg{width:1.25rem;height:1.25rem}
.copybtn .copybtn__done,.copybtn.is-done .copybtn__copy{display:none}
.copybtn.is-done .copybtn__done{display:block}
/* Order box gaps (Jonas 2026-12-02: about half): .75rem between the heading, the links and the form (was 1.25rem). */
.orderbox{display:grid;gap:.75rem;padding:clamp(1.25rem,1rem + 1vw,2rem)}
/* The Forminator order form of the model (MAC-237). Its fields keep the Forminator look and the form CSS of macho-prices. */
.orderbox__form{min-width:0}
/* The form CSS of macho-prices (kainos/form-settings.json custom_css) gives the first row margin-top 30px !important, to
   keep it clear of the old page heading. In the order box the box gap does that, so the first row gets .75rem here.
   The theme does not change the form settings. The form CSS rule has 6 classes and !important, so this rule has 7 and
   !important (no form ID: the same rule for all model forms). */
.orderbox__form .forminator-ui.forminator-custom-form.forminator-design--flat .forminator-response-message:not(.forminator-show)+.forminator-row{margin-top:.75rem!important}
/* Links to the 2 blocks of the model page (MAC-17 D13): "Kaip išsirinkti dydį?", "Kas yra korekcijos?". */
.orderbox__links{display:flex;flex-wrap:wrap;gap:0 1.5rem}
/* The 2 closed blocks under the facts (MAC-17 D13): the .faq look of the VLK pages. */
.model-more{max-width:none;margin-top:1.5rem}
.model-more .faq__body{max-width:none}
.model-more h3{margin-top:1.25rem;font-size:1.125rem}
/* Insole product page (MAC-17 I-D): the 4 categories of the order form and the hint under the facts. */
.insole-cats{margin-top:1.5rem}
.insole-cats__list{margin-top:.75rem;padding-left:1.5rem;list-style:decimal}
.insole-cats__list li+li{margin-top:.5rem}
.insole-cats__hint{display:flex;flex-wrap:wrap;align-items:center;gap:0 .75rem;margin-top:1rem}
.facts--short{margin-top:.5rem}
.facts--short dt{flex-basis:14rem;color:var(--heading);font-weight:700}
.facts--short dd{font-weight:400}
.sizes{width:100%;max-width:24rem;border-collapse:collapse;font-variant-numeric:tabular-nums}
.sizes caption{padding-bottom:.5rem;color:var(--heading);font-weight:700;text-align:left}
.sizes th,.sizes td{padding:.375rem .75rem;border-bottom:1px solid var(--gray-200);text-align:left}
.sizes thead th{border-bottom:2px solid var(--violet-200);color:var(--muted);font-size:1rem;font-weight:500}
.sizes tbody th{color:var(--heading);font-weight:700}
/* Measuring drawing (MAC-17 D13): 2 panels, palette colors only; decoration (aria-hidden), the steps are the text. */
.measure{display:block;width:100%;max-width:24rem;height:auto;margin-top:.75rem}
.measure__paper{fill:var(--white);stroke:var(--gray-200);stroke-width:2}
.measure__foot{fill:var(--violet-50);stroke:var(--violet-600);stroke-width:2.5}
.measure__foot--drawn{fill:none;stroke-dasharray:5 5}
.measure__toe{fill:none;stroke:var(--violet-600);stroke-width:2;stroke-dasharray:3 3}
.measure__pencil{fill:var(--teal-500);stroke:var(--teal-800);stroke-width:2}
.measure__pencil-tip{fill:var(--white);stroke:var(--teal-800);stroke-width:2}
.measure__angle{stroke:var(--gray-700);stroke-width:2}
.measure__line{stroke:var(--teal-800);stroke-width:2.5}
.measure__label{fill:var(--teal-800);font-size:16px;font-weight:700}
.measure__steps{margin-top:.75rem;padding-left:1.5rem;list-style:decimal}
.measure__steps li+li{margin-top:.5rem}

/* ---------- Part: form fields ---------- */
.form{display:grid;gap:1.5rem;max-width:32rem}
.field label{display:block;font-weight:700;line-height:1.35}
.field__req{color:var(--muted);font-weight:400}
/* D2: the hint sits close to its label */
.field__hint{color:var(--muted);font-size:1rem;line-height:1.35}
.field input{display:block;width:100%;min-height:3rem;margin-top:.5rem;padding:.5rem .875rem;border:1px solid var(--gray-700);border-radius:var(--r-s);background:var(--white);color:var(--text);font:inherit}
/* D3: sample text in the field. The label above the field stays visible. */
.field input::placeholder{color:var(--gray-700);opacity:1}
.field--error input{border:2px solid var(--error)}
.field__error{display:flex;align-items:flex-start;gap:.5rem;margin-top:.5rem;color:var(--error);font-size:1rem;font-weight:700}
.field__error .ico{margin-top:.2rem}
.form .note{margin-top:0}

/* ---------- Part: final call to action (glass card with the form) ---------- */
.cta{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,var(--white) 0%,var(--violet-50) 100%)}
.cta .wrap{padding-block:clamp(2.5rem,1.75rem + 3.5vw,4.5rem)}
/* CTA circles (MAC-252, Jonas 2026-11-18): each circle stays fully inside the block at 320 to 1280 px, also at the end of
   its drift (drift-a: 1.5rem left, 1.25rem down; drift-b: 1.25rem right, 1.5rem up). So: 2rem from the edges, size in vw. */
.cta>.orb--1{left:2rem;bottom:2rem;width:min(16rem,45vw);height:min(16rem,45vw);background:var(--violet-200)}
.cta>.orb--2{right:2rem;top:2rem;width:min(12rem,35vw);height:min(12rem,35vw);background:var(--teal-200)}
.cta>.orb--3{right:24%;bottom:2rem;width:4rem;height:4rem;background:var(--teal-500)}
.cta__card{display:grid;gap:2rem;padding:clamp(1.5rem,1rem + 3vw,3rem)}
@media (min-width:56rem){.cta__card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:3.5rem}}
.cta__card p{margin-top:1rem}
.cta__card .field__hint{margin-top:0}
/* Slim CTA (MAC-252, Jonas 2026-11-18): heading, text and the action row are centered at all widths. The row keeps its
   max width and sits in the middle; on a phone the buttons stack, still centered. */
.cta--slim .cta__card{grid-template-columns:minmax(0,1fr);justify-items:stretch;text-align:center}
.cta--slim .cta__card p{max-width:40rem;margin-inline:auto}
/* A long CTA text uses the full card width (text sheet R5, owner 2026-11-30: kompensavimas). */
.cta--slim .cta__card p.cta__text--wide{max-width:none}
.cta--slim .actions{justify-content:center;margin-inline:auto}
.cta--slim .eyebrow{justify-content:center}

/* ---------- Part: footer (the one dark part of each page; MAC-252) ---------- */
.foot{position:relative;isolation:isolate;overflow:hidden;background:var(--violet-900);color:var(--violet-200);font-size:1rem}
/* Footer bubbles (MAC-252): 7 decorative circles behind the text. Colors: violet-700 and teal-800 at low opacity on violet-900,
   so the text passes 4.5:1 over each bubble and each overlap (pairs in check.py; about 6:1 by design). The 2 teal bubbles never meet.
   At rest (motion button off, reduced motion) they are still circles. Motion: see the motion part.
   Places (Jonas 2026-11-18): each bubble stays fully inside the footer at 320 to 1280 px, at rest and at the end of its rise
   (--bx, --by, scale 1.06). The lowest footer was 282 px (17.6rem, 1280 px) before the note line of MAC-253 (it only adds
   height), so bottom + 1.03 x size + rise is at most 17rem. */
.bub{position:absolute;z-index:-1;border-radius:50%;background:color-mix(in srgb,var(--violet-700) 55%,transparent);pointer-events:none}
.bub--t{background:color-mix(in srgb,var(--teal-800) 40%,transparent)}
.bub--line{background:transparent;box-shadow:inset 0 0 0 1.5px var(--violet-700)}
.bub--1{left:3%;bottom:.5rem;width:7rem;height:7rem;--bt:18s;--bd:-2s;--bx:1rem;--by:-6rem}
.bub--2{left:22%;bottom:6%;width:2.5rem;height:2.5rem;--bt:11s;--bd:-6s;--bx:-.75rem;--by:-9rem}
.bub--3{left:41%;bottom:.5rem;width:5rem;height:5rem;--bt:16s;--bd:-9s;--bx:1rem;--by:-7rem}
.bub--4{left:58%;bottom:15%;width:1.5rem;height:1.5rem;--bt:9s;--bd:-3s;--bx:.5rem;--by:-8rem}
.bub--5{left:70%;bottom:.5rem;width:5rem;height:5rem;--bt:20s;--bd:-12s;--bx:-1rem;--by:-5rem}
.bub--6{right:6%;bottom:1rem;width:3rem;height:3rem;--bt:13s;--bd:-5s;--bx:.75rem;--by:-8rem}
.bub--7{right:2%;bottom:34%;width:6rem;height:6rem;--bt:19s;--bd:-14s;--bx:-1rem;--by:-4rem}
@keyframes bub-rise{
  0%{opacity:0;transform:translate3d(0,0,0) scale(.92)}
  15%{opacity:1}
  80%{opacity:1}
  100%{opacity:0;transform:translate3d(var(--bx,1rem),var(--by,-9rem),0) scale(1.06)}
}
.foot .wrap{padding-block:3rem 2rem}
.foot__grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr))}
.foot__brand{color:var(--white);font-size:1.75rem;font-weight:800;line-height:1.2;letter-spacing:-.04em}
.foot h2{margin-bottom:.5rem;color:var(--white);font-size:1rem;letter-spacing:0}
.foot a{display:inline-flex;align-items:center;min-height:2.75rem;color:var(--violet-200)}
.foot a:hover{color:var(--white)}
.foot li{line-height:2.75rem}
.foot :focus-visible{outline-color:var(--white)}
/* Motion button (owner 2026-12-02): only here, in the footer of every page, under the brand line. Solid violet-900 behind
   the label, so a bubble never lowers the contrast: white text 15.9:1, violet-200 edge 10.0:1, hover white on violet-700
   9.6:1 (pairs in check.py). Focus: the white footer outline (3px). The choice stays on every page (site.js). */
.foot .motion-btn{margin-top:1rem;background:var(--violet-900);box-shadow:0 0 0 1px var(--violet-200);color:var(--white)}
.foot .motion-btn:hover{background:var(--violet-700);box-shadow:0 0 0 2px var(--white)}
/* The note of the star of "Kompensuojama*" (shared block judame-pastaba, MAC-253): the last line of every footer. */
.foot__note{margin-top:.5rem;line-height:1.5}

/* ---------- Parts page only (dalys.html) ---------- */
.part{padding-block:2.5rem;border-top:1px solid var(--gray-200)}
.part .wrap{display:grid;gap:1.5rem}
@media (min-width:64rem){.part .wrap{grid-template-columns:19rem minmax(0,1fr);gap:3rem}}
.part__name{font-size:1.5rem}
.part__rule{margin-top:.75rem;font-size:1rem;line-height:1.55}
.part__use{margin-top:.75rem;color:var(--muted);font-size:1rem;line-height:1.5}
.part__demo{min-width:0}
.part__demo--tint{position:relative;isolation:isolate;overflow:hidden;padding:1.5rem;border-radius:var(--r-m);background:var(--violet-50)}
.part__demo--dark{padding:1.5rem;border-radius:var(--r-m);background:var(--violet-900)}
.part__demo--dark :focus-visible,.part__demo--dark .is-focus{outline-color:var(--white)}
.part__demo--narrow{max-width:20rem}
/* MAC-252: demo of the footer bubbles (the same .bub classes as the footer). */
.part__demo--bubbles{position:relative;isolation:isolate;overflow:hidden;min-height:17.5rem}
.demo-orb{position:absolute;z-index:-1;right:2rem;top:-2rem;width:8rem;height:8rem;border-radius:50%;background:var(--teal-500)}
.partnav{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.partnav a{display:inline-flex;align-items:center;min-height:2.75rem;padding:.25rem .875rem;border-radius:999px;background:var(--white);box-shadow:0 0 0 1px var(--violet-200);color:var(--heading);font-size:1rem;font-weight:500;text-decoration:none}
.partnav a:hover{box-shadow:0 0 0 2px var(--violet-500);color:var(--violet-700)}
.swatches{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,10.5rem),1fr))}
.swatch{overflow:hidden;border:1px solid var(--gray-200);border-radius:var(--r-m);background:var(--white)}
.swatch__color{height:4rem;border-bottom:1px solid var(--gray-200)}
.swatch__color--violet-500{background:var(--violet-500)}.swatch__color--teal-500{background:var(--teal-500)}.swatch__color--violet-900{background:var(--violet-900)}.swatch__color--gray-900{background:var(--gray-900)}
.swatch__color--gray-700{background:var(--gray-700)}.swatch__color--violet-50{background:var(--violet-50)}.swatch__color--violet-100{background:var(--violet-100)}.swatch__color--violet-200{background:var(--violet-200)}
.swatch__color--violet-600{background:var(--violet-600)}.swatch__color--violet-700{background:var(--violet-700)}.swatch__color--teal-50{background:var(--teal-50)}.swatch__color--teal-100{background:var(--teal-100)}
.swatch__color--teal-200{background:var(--teal-200)}.swatch__color--teal-800{background:var(--teal-800)}.swatch__color--gray-100{background:var(--gray-100)}.swatch__color--gray-200{background:var(--gray-200)}
.swatch__color--error{background:var(--error)}.swatch__color--error-50{background:var(--error-50)}
.swatch__body{padding:.75rem .875rem .875rem;font-size:1rem;line-height:1.4}
.swatch__name{color:var(--heading);font-weight:700}
.swatch__hex{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.swatch__role{margin-top:.25rem;color:var(--muted)}
.type-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem 2rem;padding-block:1rem;border-top:1px solid var(--gray-200)}
.type-row__label{flex:0 0 11rem;color:var(--muted);font-size:1rem}
.type-row>:last-child{flex:1 1 16rem;min-width:0}
.row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem}
.row+.row{margin-top:1rem}
.row__label{flex:1 1 100%;color:var(--muted);font-size:1rem}
.part__demo--dark .row__label{color:var(--violet-200)}

/* ---------- WordPress wrappers ----------
   A template part is a wrapper element. display:contents lets the sticky menu stick to the page, not to its wrapper. */
.wp-block-template-part{display:contents}

/* ---------- Part: VLK braces catalog (MAC-297, page vlk-itvaru-katalogas; Jonas OK 2026-11-23) ---------- */
/* The approval sentence: a clear band under the h1. */
.vlk-approval{display:inline-block;max-width:44rem;margin-top:1rem;padding:.625rem 1rem;border-radius:var(--r-s);background:var(--white);box-shadow:inset 4px 0 0 var(--violet-500);color:var(--heading);font-weight:700}
/* Jump links as chips (the 3 areas): the look of .chip, as links. */
.jumps--chips ul{gap:.5rem}
.jumps--chips li+li::before{content:none}
.jumps--chips a{padding:.25rem 1rem;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 1px var(--gray-700);color:var(--heading);font-weight:500;text-decoration:none}
.jumps--chips a:hover{background:var(--violet-50)}
/* Compensation text and the note box with the term and the registration number: side by side from 60rem. */
.vlk-info{display:grid;gap:1.5rem}
@media (min-width:60rem){.vlk-info{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:3rem}}
.vlk-info .facts{margin-top:.75rem}
.vlk-info .facts dt{flex-basis:9rem}
/* Full width on the VLK pages (Jonas 2026-11-23): a text block alone in the grid (footwear page: no facts box) takes
   both columns, and the shared 44rem limits of .prose and .faq__body do not apply here. */
.vlk-info>:only-child{grid-column:1/-1}
.vlk-info .prose,.vlk-group .faq__body{max-width:none}
/* Paragraphs 2 to 6 of the compensation text are in a closed <details> (Jonas 2026-11-23): a link-style summary (the
   look of .textbtn) with a chevron that turns when open. */
.vlk-more summary{display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;color:var(--link);font-weight:700;text-decoration:underline;text-underline-offset:.2em;cursor:pointer;list-style:none}
.vlk-more summary::-webkit-details-marker{display:none}
.vlk-more summary::after{content:"";flex:none;width:.5rem;height:.5rem;margin-top:-.25rem;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.vlk-more[open] summary::after{margin-top:.25rem;transform:rotate(-135deg)}
.vlk-more summary:hover{color:var(--link-hover)}
.vlk-more>p{margin-top:1rem}
/* One section per area; the sticky header must not cover the area heading after a jump. */
.vlk-area,.vlk-group{scroll-margin-top:6rem}
.vlk-group+.note{margin-top:2.5rem}
.vlk-area .note p+p{margin-top:.75rem}
.vlk-area+.vlk-area{border-top:1px solid var(--gray-200)}
.vlk-area__title{margin-bottom:1.5rem}
.vlk-group+.vlk-group{margin-top:2.5rem}
.vlk-group__title{font-size:1.375rem;overflow-wrap:anywhere;text-wrap:pretty} /* long group headings: no balance (Jonas 2026-11-23) */
.vlk-group .faq{max-width:none;margin-block:.5rem 1.25rem}
/* Model slider (Jonas 2026-11-23): one row of cards per group that scrolls with snap points. 1 card on a phone, 3 from
   48rem, 4 from 68rem. A thin native scroll bar stays (it shows that the row scrolls). The slider box is a size container
   (100cqi = the width of the list), so the buttons sit at the middle of the photo (3:2) of the first visible card. Smooth scroll only from site.js
   (the behavior option), never with .motion-off or reduced motion. */
.vlk-slider{position:relative;--col:100cqi;container-type:inline-size}
.vlk-models{display:grid;grid-auto-flow:column;grid-auto-columns:100%;gap:1rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:.75rem}
.vlk-models>li{min-width:0;scroll-snap-align:start}
@media (min-width:48rem){.vlk-slider{--col:calc((100cqi - 2rem)/3)}.vlk-models{grid-auto-columns:calc((100% - 2rem)/3)}}
@media (min-width:68rem){.vlk-slider{--col:calc((100cqi - 3rem)/4)}.vlk-models{grid-auto-columns:calc((100% - 3rem)/4)}}
.vlk-slider__btn{position:absolute;z-index:1;top:calc(var(--col)/3);display:none;place-items:center;width:2.75rem;height:2.75rem;padding:0;border:0;border-radius:50%;background:var(--white);box-shadow:var(--shadow-1);color:var(--link);cursor:pointer;transform:translateY(-50%)}
.js .vlk-slider__btn{display:grid}
.js .vlk-slider__btn[hidden]{display:none}
.vlk-slider__btn--prev{left:.5rem}
.vlk-slider__btn--next{right:.5rem}
.vlk-slider__btn svg{width:1.25rem;height:1.25rem}
.vlk-slider__btn:hover{color:var(--link-hover)}
.vlk-slider__btn:disabled{opacity:.4;box-shadow:none;cursor:default}
.vlk-models .card__body{padding:.75rem 1rem}
.vlk-models .card__title{font-size:1.0625rem;overflow-wrap:anywhere}
/* "Kiti modeliai" on a model page (owner 2026-12-02: the 3 full cards took too much space; then 4 in a row and a slider
   on all screens). The VLK slider box and its buttons (site.js "Model slider"; data-slider="card": a button scrolls by
   one card), with the footwear card in a compact form: photo, title link, price "nuo X €"; no sizes line and no maker
   mark. Scroll snap rows, no library: from 60rem 4 cards visible, from 48rem 3, below 48rem a card is 78 % of the list
   width (18rem at most, the next card shows at the right edge; the list goes to the screen edges and the buttons are not
   shown: swipe). The list stays a <ul> and each card has one link: Tab scrolls the next card into view. The thin scroll
   bar stays. Padding around the list: room for the focus outline of a card (the negative margin keeps the card width). */
.vlk-slider--others{--col:calc((100cqi - 2rem)/3)}
@media (min-width:60rem){.vlk-slider--others{--col:calc((100cqi - 3rem)/4)}}
.vlk-slider--others .vlk-slider__btn{top:calc(.375rem + var(--col)/3)}
.cards--others{display:flex;gap:1rem;margin-inline:-.3125rem;padding:.375rem .3125rem .75rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:.3125rem;scrollbar-width:thin}
.cards--others>.card{flex:0 0 calc((100% - 2rem)/3);min-width:0;scroll-snap-align:start}
@media (min-width:60rem){.cards--others>.card{flex-basis:calc((100% - 3rem)/4)}}
@media (max-width:47.99rem){
  .cards--others{gap:.75rem;margin-inline:-1.25rem;padding-inline:1.25rem;scroll-padding-inline:1.25rem}
  .cards--others>.card{flex-basis:min(78%,18rem)}
  .js .vlk-slider--others .vlk-slider__btn{display:none}
}
.cards--others .card__body{gap:.25rem;padding:.75rem .875rem}
.cards--others .card__title{font-size:1rem}
.cards--others .card__meta,.cards--others .card__maker{display:none}
.cards--others .card__foot{padding-top:.5rem}
.cards--others .price{font-size:1.125rem}

/* ---------- Motion. All of it stops with the button (html.motion-off) or with the device setting. ---------- */
.motion-off .orb{animation:none}
/* Reveal order on a page: the prototype set it with style="--d:N"; content has no style attribute, so it is a class (MAC-235). */
.reveal--1{--d:1}.reveal--2{--d:2}.reveal--3{--d:3}.reveal--4{--d:4}
@media (prefers-reduced-motion:reduce){.orb{animation:none}}
@media (prefers-reduced-motion:no-preference){
  html:not(.motion-off){scroll-behavior:smooth}
  .js:not(.motion-off) .reveal{opacity:0;transform:translateY(1.25rem);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--d,0)*90ms)}
  .js:not(.motion-off) .reveal.is-in{opacity:1;transform:none}
  html:not(.motion-off) .top,html:not(.motion-off) .top .wrap,html:not(.motion-off) .top::after{transition:box-shadow .3s ease,padding .3s ease,opacity .3s ease}
  html:not(.motion-off) .btn{transition:background-color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
  html:not(.motion-off) .btn .arrow{transition:transform .2s ease}
  html:not(.motion-off) .btn:hover .arrow{transform:translateX(.25rem)}
  html:not(.motion-off) .btn--primary:hover{transform:translateY(-1px)}
  html:not(.motion-off) .photo img{transition:transform .9s cubic-bezier(.2,.7,.2,1)}
  html:not(.motion-off) .feature:hover .photo img{transform:scale(1.04)}
  html:not(.motion-off) .mnav__item svg{transition:transform .2s ease}
  /* Footer bubbles (MAC-252): only here, so the motion button and the device setting leave them still. They move only on a
     page that has the motion button and the script (.js). Since 2026-12-02 the button is in the footer pattern, so every
     page with the footer has it; with no script (the button is hidden then) the bubbles are still (WCAG 2.2.2). A browser
     without :has() shows still bubbles too. */
  html.js:not(.motion-off):has([data-motion-btn]) .bub{animation:bub-rise var(--bt,14s) linear var(--bd,0s) infinite}
  html:not(.motion-off) .card{transition:box-shadow .2s ease,border-color .2s ease}
}
