/* ===== fonts.css ===== */
/* Self-hosted fonts (newsite/tools/fetch_fonts.py, from Google Fonts' public CSS API; SIL Open Font License).
   Variable fonts: one file per subset carries every weight. latin-ext holds the Latvian letters. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== 00-base.css ===== */
/* Plungo — the film's look for every page. Tokens, type, header, footer, buttons and the shared "film" blocks.
   Page families add their own files next to this one (pools.css, blog.css …); build.py joins them into site.css. */
:root {
  --bg: #05080c;
  --bg2: #0a1016;
  --ink: #f4f1ea;
  --mute: rgba(244, 241, 234, .64);
  --faint: rgba(244, 241, 234, .52);
  --line: rgba(244, 241, 234, .14);
  --glass: rgba(255, 255, 255, .06);
  --aqua: #6fe3f0;
  --warm: #ffd08a;
  --display: "Schibsted Grotesk", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 5vw, 72px);
  --radius: 24px;
  --plate: radial-gradient(110% 85% at 50% 28%, #fff 0%, #f3f6f6 50%, #dbe5e7 100%);  /* white packshots stand on this lit plate */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--aqua); color: #021820; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 99; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 10px; }
.mark { display: block; }
@keyframes whirl { to { transform: rotate(360deg); } }

/* ---------- header: a glass pill ---------- */
.nav { position: fixed; z-index: 50; inset: 14px 14px auto; display: flex; align-items: center; gap: 22px; padding: 9px 9px 9px 20px; border-radius: 999px;
  background: rgba(10, 14, 20, .32); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .4s var(--ease); }
.nav.solid { background: rgba(8, 12, 17, .78); }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand .mark { width: 26px; height: 26px; color: #fff; animation: whirl 14s linear infinite; }
.brand .word { height: 18px; width: auto; }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--mute); }
.nav nav a { position: relative; transition: color .2s; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }
.nav nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--aqua); }
.pill { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #05080c; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .25s; }
.pill:hover { transform: translateY(-1px); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: var(--ink); }
.cart-btn[hidden] { display: none; }
/* the header's shop button (owner: a shop button next to "Bezmaksas piedāvājums"); when the cart has items the cart button takes its place */
.shop-pill { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px 10px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, border-color .2s; flex: none; }
.shop-pill:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.shop-pill svg { width: 17px; height: 17px; flex: none; }
.cart-btn:not([hidden]) ~ .shop-pill { display: none; }
@media (min-width: 901px) and (max-width: 1000px) { .shop-pill { display: none; } }  /* the bar is full here; "Veikals" is in the menu row */
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--aqua); color: #021820; font: 800 11px/19px var(--body); text-align: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: none; cursor: pointer; position: relative; flex: none; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 24px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: rgba(3, 6, 9, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px; opacity: 0; transition: opacity .45s var(--ease); }
.menu.open { opacity: 1; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a { font: 900 clamp(44px, 12vw, 84px)/1.04 var(--display); letter-spacing: -0.05em; transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease), color .2s; }
.menu.open nav a { transform: none; opacity: 1; }
.menu nav a:hover { color: var(--aqua); }
.menu-foot { margin-top: 40px; display: flex; flex-direction: column; gap: 6px; color: var(--mute); font-weight: 600; }

/* ---------- type and buttons ---------- */
.eyebrow { font: 700 12px/1.3 var(--body); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.eyebrow.dim { color: var(--mute); margin-bottom: 20px; }
.eyebrow.aqua { color: var(--aqua); }
.display { font: 900 clamp(56px, 10vw, 168px)/1 var(--display); letter-spacing: -0.055em; margin: 0; }
.h2 { font: 900 clamp(46px, 7.2vw, 112px)/1 var(--display); letter-spacing: -0.055em; margin: 0; }
.h3 { font: 900 clamp(30px, 3.4vw, 52px)/1.02 var(--display); letter-spacing: -0.05em; margin: 0; }
.lead { color: var(--mute); font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; margin: 0; }
.muted { color: var(--mute); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #05080c; font-weight: 700; font-size: 16px;
  border: 0; cursor: pointer; transition: transform .3s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: rgba(255, 255, 255, .1); color: var(--ink); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.aqua { background: var(--aqua); color: #021820; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }
.link { display: inline-flex; gap: 8px; align-items: center; font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.link:hover { color: var(--aqua); border-color: var(--aqua); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 600 12px var(--body); letter-spacing: .08em; color: var(--faint); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: var(--mute); }
/* phones: links in the breadcrumb and the footer get a 44 px touch height without changing the look */
@media (pointer: coarse) {
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px; }
  .foot-nav a, .foot .cols a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot .cols a.made { min-height: 0; padding-block: 12px; }
  .foot > .lang-switch a { min-width: 44px; height: 44px; }
}

/* headline words rise one after another (site.js wraps each word) */
/* the mask reaches below the baseline far enough for the Latvian cedillas (ņ ļ ķ ģ) */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .02em .2em; margin: -.1em -.02em -.2em; }
[data-words] .w > span { display: inline-block; transform: translateY(130%); transition: transform 1.05s cubic-bezier(.16,.84,.2,1); }
[data-words].on .w > span { transform: none; }

/* ---------- film textures ---------- */
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.grade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.5) 100%), linear-gradient(180deg, rgba(10,40,60,.12), rgba(60,30,10,.08)); mix-blend-mode: multiply; }
.hero-still .bars i { position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 4; pointer-events: none; transition: height 1.6s cubic-bezier(.7,0,.2,1) .2s; }
.hero-still .bars i:first-child { top: 0; } .hero-still .bars i:last-child { bottom: 0; }
.hero-still.on .bars i { height: 0; }
.hero-still .grain, .hero-water .grain { z-index: 2; }
.touch { position: absolute; z-index: 3; right: clamp(20px, 5vw, 64px); top: 48%; display: flex; gap: 12px; align-items: center; pointer-events: none;
  font: 700 12px var(--body); letter-spacing: .18em; text-transform: uppercase; }
.touch i { width: 12px; height: 12px; border-radius: 50%; background: #fff; position: relative; }
.touch i::before, .touch i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid #fff; animation: ring 2.4s var(--ease) infinite; }
.touch i::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

/* ---------- page heroes ---------- */
.hero-still { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.hero-still.tall { min-height: 100svh; }
.still-img { position: absolute; inset: 0; z-index: 0; }
.still-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s cubic-bezier(.2,.6,.2,1), filter 2s; filter: contrast(1.06) saturate(.92) brightness(.8); }
.hero-still.on .still-img img { transform: scale(1.02); filter: contrast(1.06) saturate(.92) brightness(.9); }
.hero-still::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 28%, transparent 45%, rgba(5,8,12,.88) 100%); }
.still-copy { position: relative; z-index: 3; padding: 130px var(--pad) clamp(54px, 10vh, 110px); max-width: 1200px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.still-copy .eyebrow { margin-bottom: 18px; }
.still-copy .lede, .water-copy .lede { font-size: clamp(17px, 1.5vw, 21px); margin: 22px 0 0; max-width: 560px; color: rgba(255,255,255,.86); }
.still-copy .actions, .water-copy .actions { margin-top: 28px; }
.hero-water { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #021820; }
.hero-water .water { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.water-copy { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: clamp(44px, 10vh, 110px); max-width: 640px; pointer-events: none; text-shadow: 0 1px 24px rgba(3, 40, 54, .35); }
.water-copy .crumbs { position: static; }
.water-copy .actions { pointer-events: auto; }
.hero-water .crumbs { pointer-events: auto; }

/* ---------- blocks after the heroes (from the home page) ---------- */
.block { padding: clamp(90px, 13vw, 170px) var(--pad); }
.block.tight { padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(50px, 7vw, 90px); }
.block.alt { background: var(--bg2); }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.models { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; isolation: isolate; border: 1px solid var(--line); transition: transform .5s var(--ease); display: block; }
.card:hover { transform: translateY(-6px); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, transparent 50%, rgba(0,0,0,.75)); }
.card-body { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.tag { font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; }
.tag.size, .tag .size { text-transform: none; letter-spacing: .08em; }
.card h3 { font: 900 clamp(40px, 4vw, 58px)/.9 var(--display); letter-spacing: -0.055em; margin: auto 0 10px; }
.card .row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.card .row i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); transition: background .3s, color .3s; }
.card:hover .row i { background: #fff; color: #000; }
.steps { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.step .n { display: block; margin-top: 18px; font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.step h4 { font: 900 clamp(28px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -0.05em; margin: 10px 0 0; }
.step p { color: var(--mute); font-size: 15px; margin: 10px 0 0; max-width: 32ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(60px, 8vw, 100px); }
.fact { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); }
.fact b { display: block; font: 900 clamp(40px, 4.4vw, 68px)/.9 var(--display); letter-spacing: -0.055em; }
.fact span { display: block; margin-top: 14px; color: var(--mute); font-size: 15px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); padding: clamp(22px, 3vw, 40px); }

/* ---------- forms (glass) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: 0; transition: border-color .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #0a1016; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); background: rgba(111,227,240,.06); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #ff8a7a; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mute); }
.check input { width: 20px; height: 20px; accent-color: var(--aqua); margin-top: 2px; flex: none; }
.form-note { font-size: 13px; color: var(--faint); margin: 14px 0 0; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done .mark { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--aqua); animation: whirl 9s linear infinite; }
.form-done h3 { font: 900 clamp(32px, 4vw, 48px)/1 var(--display); letter-spacing: -0.05em; margin: 0; }
.form-done p { color: var(--mute); max-width: 44ch; margin: 14px auto 0; }

/* ---------- the ending: night water ---------- */
.finale { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #021820; }
.finale .water { position: absolute; inset: 0; width: 100%; height: 100%; }
.finale-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 11vh, 120px); text-align: center; padding: 0 20px; pointer-events: none; }
.finale-copy h2 { font: 900 clamp(56px, 9vw, 150px)/1 var(--display); letter-spacing: -0.055em; margin: 16px 0 0; text-shadow: 0 4px 40px rgba(0,0,0,.4); }
.finale-copy h2 span { color: var(--aqua); }
.finale-copy p { max-width: 560px; margin: 22px auto 0; color: rgba(255,255,255,.82); font-size: 18px; }
.finale-copy .actions { justify-content: center; margin-top: 28px; pointer-events: auto; }
/* phones: the copy (eyebrow, two-line headline, text, up to three buttons) is taller than one screen, so the section grows
   with it instead of cutting the first line off at the top; smaller headline, stronger shadow over the bright water */
@media (max-width: 700px) {
  .finale, body.shop .finale { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .finale-copy { position: relative; bottom: auto; padding: 112px 16px 56px; }
  .finale-copy h2 { font-size: clamp(38px, 11.5vw, 56px); line-height: 1.02; text-shadow: 0 2px 28px rgba(0,0,0,.55); }
  .finale-copy p { font-size: 16px; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
}

/* ---------- footer ---------- */
.foot { padding: 60px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; line-height: 1.7; }
.lockup { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); margin-bottom: 40px; color: var(--ink); }
.lockup .mark { width: clamp(72px, 13vw, 190px); height: auto; aspect-ratio: 1; animation: whirl 22s linear infinite; }
.lockup:hover .mark { animation-duration: 4s; }
.lockup .word { height: clamp(40px, 7.5vw, 112px); width: auto; opacity: .95; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 36px; font: 800 clamp(18px, 2vw, 24px) var(--display); letter-spacing: -0.03em; color: var(--ink); }
.foot-nav a:hover { color: var(--aqua); }
.foot .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }
.made { display: inline-flex; gap: 6px; align-items: center; }
.made img { height: 14px; width: auto; }

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

/* ---------- cart drawer (site.js): the same on every page; packshots stand on the lit plate ---------- */
.drawer { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: rgba(8, 12, 17, .96); border-left: 1px solid var(--line);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s linear .5s; display: flex; flex-direction: column; overscroll-behavior: contain; }
.drawer.open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.drawer-scrim { position: fixed; inset: 0; z-index: 59; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
html.dr-lock, html.dr-lock body { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 900 30px/1 var(--display); letter-spacing: -0.05em; margin: 0; }
.drawer-head h2 small { color: var(--mute); font: 700 .55em var(--body); letter-spacing: 0; margin-left: 6px; vertical-align: middle; }
.drawer-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: none; color: var(--ink); cursor: pointer; font-size: 20px; }
.drawer-items { flex: 1; overflow: auto; padding: 10px 24px; overscroll-behavior: contain; }
.ditem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ditem img { width: 64px; height: 64px; object-fit: contain; padding: 6px; border-radius: 12px; background: var(--plate); }
.ditem > span:first-child { width: 64px; height: 64px; border-radius: 12px; background: var(--plate); }
.ditem b { display: block; font-size: 15px; line-height: 1.3; }
.ditem b:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ditem > b { font: 800 15px var(--display); white-space: nowrap; }
.ditem small { color: var(--mute); }
.ditem-rm { display: inline-flex; align-items: center; min-height: 44px; margin-left: 8px; padding: 0 4px; border: 0; background: none; color: var(--mute); font: 600 12px var(--body);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; vertical-align: middle; }
.ditem-rm:hover { color: var(--ink); }
.ditem.new { animation: ditem-new 1.2s var(--ease); border-radius: 14px; }
@keyframes ditem-new { from { box-shadow: 0 0 0 2px var(--aqua); background: rgba(111,227,240,.08); } to { box-shadow: 0 0 0 2px transparent; background: transparent; } }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; margin-top: 6px; vertical-align: middle; }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty button:hover { background: rgba(255,255,255,.08); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.drawer-foot { padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot .drow { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; font-size: 14px; color: var(--mute); }
.drawer-foot .drow span:last-child { color: var(--ink); font-weight: 700; text-align: right; }
.drawer-foot .drow span.free { color: var(--aqua); }
.drawer-foot .drow span.arr { color: var(--warm, #ffd08a); }
.drawer-foot .drow.total { margin: 12px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.drawer-foot .drow.total span:last-child { font: 900 26px/1 var(--display); letter-spacing: -0.04em; word-spacing: .1em; }
.drawer-foot small { display: block; color: var(--mute); margin-bottom: 14px; }
.drawer-foot .btn { width: 100%; }
.drawer-foot .btn + .btn { margin-top: 8px; }
.drawer-empty { color: var(--mute); padding: 30px 0; }
.drawer-empty-act { display: grid; gap: 8px; }
.cart-btn[data-n="0"] b { opacity: .45; }
.cart-btn.bump b { animation: cart-bump .2s var(--ease); }
@keyframes cart-bump { 50% { transform: scale(1.35); } }
/* phones: "Pievienots grozam · Skatīt grozu" instead of opening the drawer */
.stoast { position: fixed; z-index: 70; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 6px 6px 6px 18px; border-radius: 99px; background: var(--ink); color: #05080c; font-weight: 700; font-size: 15px; white-space: nowrap;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.stoast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.stoast button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 99px; background: #05080c; color: var(--aqua); font: 800 14px var(--body); cursor: pointer; }
body.bb-on .stoast { bottom: calc(100px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .ditem.new, .cart-btn.bump b { animation: none; } .stoast { transition: none; } }
.toast { position: fixed; z-index: 70; left: 50%; top: 84px; transform: translate(-50%, -20px); max-width: calc(100vw - 32px); text-align: center; opacity: 0; padding: 14px 20px; border-radius: 99px; background: var(--ink); color: #05080c; font-weight: 700; font-size: 15px;
  transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- shop shortcut (core.shop_cta): a glass bar into the shop, with optional chips to listings ---------- */
.shop-cta-block.block.tight { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
/* right after a plain block (same background) its bottom padding is the gap already */
.block:not(.alt) + .shop-cta-block.block, .cv-pools + .shop-cta-block.block { padding-top: 0; }
.shop-cta { --sc-pad: clamp(20px, 3vw, 40px); --sc-ico: 56px; --sc-gap: clamp(16px, 2.4vw, 28px);
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 160% at 0% 0%, rgba(111,227,240,.16), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  transition: border-color .3s, transform .5s var(--ease); }
.shop-cta:hover { border-color: rgba(111,227,240,.45); }
.sc-main { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sc-gap); align-items: center; padding: var(--sc-pad); color: var(--ink); }
.sc-ico { display: grid; place-items: center; width: var(--sc-ico); height: var(--sc-ico); border-radius: 50%; background: var(--aqua); color: #021820; box-shadow: 0 0 0 8px rgba(111,227,240,.1); }
.sc-ico svg { width: 46%; height: 46%; }
.sc-copy { min-width: 0; }
.sc-eye { display: block; font: 700 12px/1.3 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--aqua); }
.sc-copy b { display: block; margin-top: 8px; font: 900 clamp(26px, 3.2vw, 46px)/1.02 var(--display); letter-spacing: -0.05em; word-spacing: .06em; }
.sc-text { display: block; margin-top: 8px; color: var(--mute); font-size: 15px; line-height: 1.5; }
.sc-go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-style: normal; font-size: 20px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.sc-main:hover .sc-go, .sc-main:focus-visible .sc-go { background: var(--aqua); color: #021820; border-color: var(--aqua); transform: translateX(4px); }
.sc-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--sc-pad) var(--sc-pad) calc(var(--sc-pad) + var(--sc-ico) + var(--sc-gap)); margin-top: calc(var(--sc-pad) * -.4); }
.sc-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  font-weight: 700; font-size: 14px; color: var(--ink); transition: border-color .2s, color .2s, background .2s; }
.sc-links a i { font-style: normal; color: var(--aqua); transition: transform .3s var(--ease); }
.sc-links a:hover { border-color: var(--aqua); color: var(--aqua); background: rgba(111,227,240,.06); }
.sc-links a:hover i { transform: translateX(3px); }
.foot .sc-foot { --sc-ico: 46px; --sc-pad: clamp(18px, 2.4vw, 28px); margin-bottom: clamp(36px, 5vw, 56px); }
.foot .sc-foot .sc-copy b { font-size: clamp(22px, 2.4vw, 32px); }
.foot .sc-foot .sc-text { font-size: 14px; }
.foot .sc-foot a:hover { color: inherit; }
.menu-shop { align-self: flex-start; margin-top: 30px; gap: 10px; padding: 0 22px 0 18px; }
.menu-shop svg { width: 20px; height: 20px; }
.menu-shop i { font-style: normal; }
@media (max-width: 560px) {
  .shop-cta { --sc-ico: 44px; --sc-gap: 14px; --sc-pad: 18px; }
  .sc-go { width: 40px; height: 40px; font-size: 17px; }
  .sc-links { padding-left: var(--sc-pad); margin-top: 0; }
  .sc-links a { min-height: 44px; padding: 0 14px; font-size: 13px; }
  .foot .sc-foot .sc-copy b { font-size: 21px; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { gap: 10px; }
  .nav nav { display: none; }
  .brand { margin-right: auto; }
  .pill { padding: 9px 14px; font-size: 13px; }
  .burger { display: block; }
  .shop-pill { padding: 9px 13px 9px 11px; font-size: 13px; min-height: 44px; }
  .models, .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { padding-left: 14px; }
  .pill { display: none; }
  .shop-pill { padding: 0 14px 0 12px; }
  .brand { margin-right: auto; }
  .brand .word { height: 16px; }
  .models, .steps { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3.4; }
  .form-grid { grid-template-columns: 1fr; }
  .touch { top: 40%; right: 16px; font-size: 10px; }
  .still-copy .actions .btn, .water-copy .actions .btn { flex: 1 1 auto; }
  .lockup .word { height: 34px; }
  .hero-still .bars i { height: 6vh; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .touch i::before, .touch i::after, .brand .mark, .lockup .mark, .form-done .mark { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-words] .w > span { transform: none; transition: none; }
  .still-img img { transform: none; transition: none; }
  .hero-still .bars i { display: none; }
}
.form-error { color: #ffb4a8; font-size: 14px; margin: 12px 0 0; }
.form-error a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lk { margin-right: .07em; }
.shop-cta.film-shop { margin-top: clamp(14px, 2vw, 24px); }

/* shop shortcut on phones: the bag and the arrow share the top row, the words get the full width */
@media (max-width: 560px) {
  .shop-cta { --sc-ico: 40px; }
  .sc-main { grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; }
  .sc-ico { grid-column: 1; grid-row: 1; box-shadow: 0 0 0 6px rgba(111,227,240,.1); }
  .sc-go { grid-column: 2; grid-row: 1; }
  .sc-copy { grid-column: 1 / -1; grid-row: 2; }
  .sc-copy b { margin-top: 6px; }
}

/* ---------- the drawer's delivery: free for light carts, heavy carts by postal code (site.js PlungoDelivery) ---------- */
.drawer-foot .d-kg, .drawer-foot .d-hint { color: var(--faint); font-weight: 600; font-size: 12px; }
.drawer-foot .d-demo { display: block; margin-top: 10px; color: var(--warm); font-size: 12px; line-height: 1.4; }
.d-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 13px; color: var(--mute); }
.d-code[hidden] { display: none; }
.d-code input { width: 132px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05);
  color: var(--ink); font: 700 16px var(--body); text-align: center; }
.d-code input:focus { outline: none; border-color: var(--aqua); background: rgba(111,227,240,.06); }

/* the heroes' shortcut into the shop (film, /baseini/, /parsegi/): a ghost button with the bag */
.btn-shop svg { width: 18px; height: 18px; flex: none; margin-left: -4px; }
.drawer-foot .drow > span:first-child, .drawer-foot [data-d-fee] { white-space: nowrap; }

/* ===== 05-configurator.css ===== */
/* The configurator's base layout (assets/js/configurator.js): the portal widget's own default styles
   (https://plungo.lv/widget/configurator.js, CSS), kept as they are. Inside :where(), so the site's dark styling in
   10-pools.css and 20-covers.css wins over them; only the few sizes a general "input { width: 100% }" would break stay firm. */
:where(.dcfg-root){--dcfg-accent:var(--accent,#0d7680);--dcfg-ink:var(--ink,#14232a);--dcfg-muted:var(--muted,#5d6b71);--dcfg-line:var(--line,#e2ddd3);--dcfg-surface:var(--surface,#fff);--dcfg-soft:var(--accent-soft,color-mix(in srgb,var(--dcfg-accent) 10%,#fff));--dcfg-bg:var(--bg,#f6f4ef);container-type:inline-size;color:var(--dcfg-ink)}
:where(.dcfg-root) :where(*){box-sizing:border-box}
:where(.dcfg-root .dcfg){display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start}
:where(.dcfg-root .dcfg-main){display:grid;gap:16px}
:where(.dcfg-root .dcfg-step){border:0;margin:0;padding:22px;background:var(--dcfg-surface);border-radius:16px;box-shadow:0 0 0 1px var(--dcfg-line)}
:where(.dcfg-root .dcfg-step legend){float:left;width:100%;font-weight:700;font-size:1.05rem;margin-bottom:14px;display:flex;align-items:baseline;gap:12px;padding:0}
:where(.dcfg-root .dcfg-step legend em){font-style:normal;font-weight:500;font-size:.8rem;color:var(--dcfg-muted);margin-left:auto}
:where(.dcfg-root .dcfg-num){font-weight:400;font-size:1.3rem;color:var(--dcfg-accent)}
:where(.dcfg-root .dcfg-opts){clear:both;display:grid;gap:8px}
:where(.dcfg-root .dcfg-opt){display:flex;align-items:center;gap:14px;padding:13px 15px;border:1.5px solid var(--dcfg-line);border-radius:12px;cursor:pointer;background:var(--dcfg-surface)}
:where(.dcfg-root .dcfg-opt.is-on){border-color:var(--dcfg-accent);background:var(--dcfg-soft)}
:where(.dcfg-root .dcfg-opt.is-locked){cursor:default}
:where(.dcfg-root .dcfg-opt input){accent-color:var(--dcfg-accent);width:18px;height:18px;margin:0;flex:none}
:where(.dcfg-root .dcfg-opt-main){flex:1;display:grid}
:where(.dcfg-root .dcfg-opt-label){font-weight:600;font-size:.95rem}
:where(.dcfg-root .dcfg-opt-desc){font-size:.83rem;color:var(--dcfg-muted)}
:where(.dcfg-root .dcfg-opt-price){font-weight:600;font-size:.9rem;white-space:nowrap}
:where(.dcfg-root .dcfg-opt-price.is-zero){color:var(--dcfg-accent);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}
:where(.dcfg-root .dcfg-opt-price small){display:block;font-weight:500;font-size:.72rem;color:var(--dcfg-muted);text-align:right}
:where(.dcfg-root .dcfg-dims){clear:both;display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:start}
:where(.dcfg-root .dcfg-dim){display:flex;align-items:center;border:1.5px solid var(--dcfg-line);border-radius:10px;background:var(--dcfg-bg)}
:where(.dcfg-root .dcfg-dim:focus-within){border-color:var(--dcfg-accent);background:#fff}
:where(.dcfg-root .dcfg-dim.is-bad){border-color:#b4462b}
:where(.dcfg-root .dcfg-dim input){border:0;background:transparent;font:inherit;font-size:1.15rem;font-weight:600;padding:10px 12px;width:100%;min-width:0;color:inherit;outline:none}
:where(.dcfg-root .dcfg-dim em){font-style:normal;color:var(--dcfg-muted);padding-right:14px}
:where(.dcfg-root .dcfg-area){background:var(--dcfg-soft);border-radius:10px;padding:10px 16px;display:grid;align-self:center;margin-top:4px}
:where(.dcfg-root .dcfg-area span){font-size:.75rem;color:var(--dcfg-muted);text-transform:uppercase;letter-spacing:.06em}
:where(.dcfg-root .dcfg-area strong){font-size:1.15rem}
:where(.dcfg-root .dcfg-sum){position:sticky;top:var(--dcfg-top,96px);background:var(--dcfg-surface);border-radius:16px;padding:24px;box-shadow:0 0 0 1px var(--dcfg-line),0 8px 24px rgba(20,35,42,.06)}
:where(.dcfg-root .dcfg-sum-head .eyebrow){font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--dcfg-accent);font-weight:700}
:where(.dcfg-root .dcfg-sum-head strong){display:block;font-size:1.6rem;line-height:1.15;margin-top:4px}
:where(.dcfg-root .dcfg-sum-head .muted){display:block;margin-top:4px;font-size:.9rem;color:var(--dcfg-muted)}
:where(.dcfg-root .dcfg-sum-list){list-style:none;padding:0;margin:18px 0;display:grid;gap:10px;font-size:.9rem}
:where(.dcfg-root .dcfg-sum-list li){display:flex;justify-content:space-between;gap:16px}
:where(.dcfg-root .dcfg-sum-list li span:first-child){color:var(--dcfg-muted)}
:where(.dcfg-root .dcfg-total){display:flex;justify-content:space-between;align-items:baseline;padding-top:16px;border-top:1px solid var(--dcfg-line)}
:where(.dcfg-root .dcfg-total strong){font-size:1.6rem}
:where(.dcfg-root .dcfg-note){font-size:.8rem;color:var(--dcfg-muted);margin:10px 0 18px}
:where(.dcfg-root .dcfg-flag){font-size:.75rem;background:#fff4e0;color:#8a5a00;border-radius:8px;padding:6px 10px;margin:-8px 0 18px}
:where(.dcfg-root .dcfg-lead){background:var(--dcfg-surface);border-radius:16px;padding:28px;box-shadow:0 0 0 1px var(--dcfg-line)}
:where(.dcfg-root .dcfg-lead h3){margin:0 0 6px;font-size:1.3rem}
:where(.dcfg-root .dcfg-lead .muted){color:var(--dcfg-muted);margin:0 0 18px}
:where(.dcfg-root .dcfg-lead-actions){display:flex;justify-content:space-between;gap:12px;margin-top:22px;flex-wrap:wrap}
:where(.dcfg-root .dcfg-error){color:#b4462b;font-weight:600;margin:14px 0 0}
:where(.dcfg-root .dcfg-trap){position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
:where(.dcfg-root .form-grid){display:grid;grid-template-columns:1fr 1fr;gap:16px}
:where(.dcfg-root .field){display:grid;gap:6px;font-size:.85rem;font-weight:600}
:where(.dcfg-root .field small){font-weight:400;color:var(--dcfg-muted)}
:where(.dcfg-root .field-wide){grid-column:1/-1}
:where(.dcfg-root .field input,.dcfg-root .field select,.dcfg-root .field textarea){font:inherit;font-weight:400;font-size:.95rem;padding:11px 13px;border:1.5px solid var(--dcfg-line);border-radius:10px;background:var(--dcfg-bg);color:inherit;width:100%}
:where(.dcfg-root .dcfg-dim input){border:0;padding:10px 12px;background:transparent;font-size:1.15rem;font-weight:600}
:where(.dcfg-root .btn){display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:12px 22px;font:inherit;font-weight:600;font-size:.95rem;cursor:pointer}
:where(.dcfg-root .btn-primary){background:var(--dcfg-accent);color:#fff}
:where(.dcfg-root .btn-ghost){background:transparent;border-color:var(--dcfg-line);color:inherit}
:where(.dcfg-root .btn-block){width:100%}
:where(.dcfg-root .btn[disabled]){opacity:.6;cursor:wait}
:where(.dcfg-root .dcfg-done){background:var(--dcfg-surface);border-radius:16px;padding:48px 28px;text-align:center;max-width:640px;margin:0 auto;box-shadow:0 0 0 1px var(--dcfg-line)}
:where(.dcfg-root .done-icon){width:60px;height:60px;border-radius:50%;background:var(--dcfg-soft);color:var(--dcfg-accent);font-size:1.7rem;display:grid;place-items:center;margin:0 auto 18px}
:where(.dcfg-root .dcfg-only){max-width:720px}
.dcfg-root .dcfg-opt input{width:18px;height:18px;min-height:0;margin:0;padding:0;flex:none;border-radius:50%}
.dcfg-root .dcfg-opt input[type=checkbox]{border-radius:4px}
.dcfg-root .dcfg-dim input{width:100%;min-width:0;min-height:0;border:0;border-radius:10px;background:transparent;box-shadow:none}
.dcfg-root .dcfg-trap input{width:1px;min-height:0}
@container (max-width:820px){:where(.dcfg-root .dcfg){grid-template-columns:1fr}:where(.dcfg-root .dcfg-sum){position:static}}
@container (max-width:520px){:where(.dcfg-root .form-grid){grid-template-columns:1fr}:where(.dcfg-root .dcfg-dims){grid-template-columns:1fr 1fr}:where(.dcfg-root .dcfg-area){grid-column:1/-1}:where(.dcfg-root .dcfg-step,.dcfg-root .dcfg-sum,.dcfg-root .dcfg-lead){padding:18px}:where(.dcfg-root .dcfg-opt){flex-wrap:wrap}:where(.dcfg-root .dcfg-opt-price){margin-left:32px}}

/* ===== 10-pools.css ===== */
/* Pools: /baseini/ and the model pages. Everything is scoped under body.pools. */

/* ---------- model hero: the name as big as the film's words ---------- */
.pools-model .hero-still .display { font-size: clamp(64px, 18vw, 300px); line-height: 1; letter-spacing: -0.065em; margin-left: -.04em; }
.pm-harmony .still-img img { object-position: 58% 50%; }
.pm-oasis .still-img img { object-position: 50% 50%; }
.pm-pearl .still-img img { object-position: 64% 50%; }
.pm-cool .still-img img { object-position: 40% 50%; }
.pools .pm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 18px; }
.pools .pm-price small { font: 700 13px var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pools .pm-price b { font: 900 clamp(34px, 4.4vw, 60px)/1 var(--display); letter-spacing: -0.045em; color: var(--aqua); }
.pools .pm-price span { flex-basis: 100%; color: rgba(255,255,255,.78); font-size: 15px; }
.pools .hero-still .actions { margin-top: 26px; }

/* ---------- cards in threes on the model pages ---------- */
.pools .models.three { grid-template-columns: repeat(3, 1fr); }
.pools .reads-all { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 60px); }

/* ---------- the four pools to scale ---------- */
.scale-fig { margin: clamp(40px, 6vw, 80px) 0 0; padding: clamp(18px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(120% 80% at 50% 0%, rgba(111,227,240,.07), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.scale-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--display); }
.scale-svg.stack { display: none; }
.scale-svg .sp { cursor: pointer; transition: opacity .4s var(--ease); }
.scale-svg .sp:focus-visible { outline: none; }
.scale-svg .sp:focus-visible .sp-line { stroke: var(--aqua); stroke-width: 7; }
.scale-svg .sp-water { transform: scaleY(0); transform-origin: 50% 100%; transform-box: fill-box; transition: transform 1.8s cubic-bezier(.2,.7,.1,1), filter .4s; }
.scale-svg .sp-line { fill: none; stroke: #fff; stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.6,0,.2,1), stroke .3s; }
.scale-svg .sp-area { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; fill: #032430; fill-opacity: .78; opacity: 0; transition: opacity .8s 1.4s; }
.scale-svg .sp-name { font-size: 70px; font-weight: 900; letter-spacing: -0.045em; fill: var(--ink); }
.scale-svg .sp-name.sm { font-size: 50px; }
.scale-svg .sp-sub { font-family: var(--body); font-size: 28px; font-weight: 700; fill: var(--mute); }
.scale-svg .sp-sub.dimtxt { fill: var(--aqua); font-size: 27px; }
.scale-svg .sp-dim path, .scale-svg .sp-ruler { fill: none; stroke: rgba(255,255,255,.38); stroke-width: 2.5; }
.scale-svg .sp-dim text { font-family: var(--body); font-size: 27px; font-weight: 700; fill: var(--mute); }
.scale-svg .sp-tick { font-family: var(--body); font-size: 22px; font-weight: 700; fill: var(--mute); }
.scale-svg.stack .sp-tick { font-size: 30px; }
.scale-svg.stack .sp-sub.dimtxt { font-size: 34px; }
.scale-svg .sp-ground { stroke: rgba(255,255,255,.22); stroke-width: 2; }
.in .scale-svg .sp-water, .scale-svg.in .sp-water { transform: none; }
.in .scale-svg .sp-line, .scale-svg.in .sp-line { stroke-dashoffset: 0; }
.in .scale-svg .sp-area { opacity: 1; }
.scale-svg .sp:nth-of-type(2) .sp-water, .scale-svg .sp:nth-of-type(2) .sp-line { transition-delay: .15s; }
.scale-svg .sp:nth-of-type(3) .sp-water, .scale-svg .sp:nth-of-type(3) .sp-line { transition-delay: .3s; }
.scale-svg .sp:nth-of-type(4) .sp-water, .scale-svg .sp:nth-of-type(4) .sp-line { transition-delay: .45s; }
.scale-svg .sp:hover .sp-water { filter: brightness(1.15) saturate(1.1); }
[data-hl] .scale-svg .sp:not(.is-hl) { opacity: .32; }
[data-hl] .scale-legend a:not(.is-hl) { opacity: .4; }
.scale-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: clamp(20px, 3vw, 34px); padding-top: 20px; border-top: 1px solid var(--line); }
.scale-legend a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 8px 6px; border-radius: 12px; transition: opacity .3s, background .3s; }
.scale-legend a:hover { background: rgba(255,255,255,.05); }
.scale-legend i { grid-row: span 2; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #8ff0f7, #0b6f88); }
.scale-legend b { font: 800 18px/1.1 var(--display); letter-spacing: -0.02em; }
.scale-legend span { font-size: 13px; color: var(--mute); }

/* the model page: this model in water, the others as ghosts */
.pm-plan { margin: clamp(40px, 6vw, 80px) 0 0; padding: clamp(18px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.pm-plan figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: clamp(14px, 2vw, 24px); }
.pm-plan figcaption .eyebrow { margin: 0; }
.pm-plan figcaption b { font: 800 clamp(20px, 2vw, 28px)/1.1 var(--display); letter-spacing: -0.03em; }
.pm-plan figcaption .link { margin-left: auto; padding: 12px 0; }
.pm-plan .scale-svg { max-width: 780px; margin: 0 auto; }
.scale-svg.overlay .sp.ghost .sp-line { stroke: rgba(255,255,255,.55); stroke-width: 3; stroke-dasharray: .012 .008; stroke-dashoffset: 0; }
.scale-svg.overlay .sp.ghost:hover .sp-line { stroke: var(--aqua); }
.scale-svg .sp-oname { font-size: 26px; font-weight: 800; fill: rgba(255,255,255,.88); stroke: rgba(2,24,32,.55); stroke-width: 6px; paint-order: stroke; letter-spacing: -0.01em; }
.scale-svg .sp-oname.on { font-size: 34px; font-weight: 900; fill: #032430; stroke: none; }

/* ---------- comparison ---------- */
.cmp-head { margin-top: clamp(70px, 9vw, 120px); }
.cmp-wrap { margin-top: clamp(24px, 3vw, 40px); }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp thead td { width: 21%; }
.cmp thead th { text-align: left; padding: 0 16px 16px; font: 900 clamp(24px, 2.4vw, 38px)/1 var(--display); letter-spacing: -0.045em; }
.cmp thead th a { display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.cmp thead th a:hover { color: var(--aqua); }
.cmp tbody th { text-align: left; font: 700 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding: 20px 16px 20px 0; vertical-align: top; }
.cmp td { padding: 18px 16px; vertical-align: top; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; line-height: 1.45; }
.cmp tbody th { border-top: 1px solid var(--line); }
.cmp td b { display: block; overflow-wrap: break-word; color: var(--ink); font: 800 clamp(18px, 1.6vw, 24px)/1.15 var(--display); letter-spacing: -0.03em; }
.cmp td small { display: block; margin-top: 4px; color: var(--mute); font-size: 13px; }
.cmp td small.from { display: inline; margin: 0 6px 0 0; font: 700 11px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); vertical-align: middle; }
.cmp tr.price td b { font-size: clamp(22px, 2.2vw, 34px); color: var(--aqua); }
.cmp .no { color: var(--faint); font: 800 22px var(--display); }
.cmp tbody tr { transition: background .25s; }
.cmp tbody tr:hover { background: rgba(255,255,255,.025); }
.cmp.full td { font-size: 14px; color: rgba(244,241,234,.82); }
.cmp-more { margin-top: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.02); }
.cmp-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font: 800 20px var(--display); letter-spacing: -0.02em; }
.cmp-more summary::-webkit-details-marker { display: none; }
.cmp-more summary i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); transition: transform .4s var(--ease), background .3s; }
.cmp-more[open] summary i { transform: rotate(45deg); background: rgba(255,255,255,.1); }
.cmp-more .cmp-wrap { margin: 0; padding: 0 24px 24px; }
.std { margin-top: clamp(70px, 9vw, 120px); }
.std .eyebrow { margin-bottom: 16px; }
.pools .std-facts { grid-template-columns: repeat(4, 1fr); margin-top: clamp(26px, 3vw, 40px); }
.pools .std-facts .fact span em { font-style: normal; color: var(--ink); font-weight: 700; display: block; margin-bottom: 4px; }

/* ---------- what the price includes ---------- */
.incl-grid { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.incl { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.incl-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d1820; }
.incl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.incl:hover .incl-img img { transform: scale(1.05); }
.incl-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,8,12,.55)); }
.incl-n { position: absolute; z-index: 1; left: 18px; bottom: 12px; font: 900 44px/1 var(--display); letter-spacing: -0.05em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.incl figcaption { padding: 22px 22px 26px; }
.incl h3 { font: 900 clamp(24px, 2vw, 30px)/1.05 var(--display); letter-spacing: -0.045em; margin: 0; }
.incl p { color: var(--mute); font-size: 15px; margin: 10px 0 0; }

/* ---------- the route: a line of water that fills as you scroll ---------- */
.rt-list { list-style: none; margin: clamp(48px, 7vw, 90px) 0 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; --p: 0; }
.rt-list::before, .rt-list::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); }
.rt-list::after { background: linear-gradient(90deg, var(--aqua), #2fc3d8); transform-origin: left; transform: scaleX(var(--p)); box-shadow: 0 0 18px rgba(111,227,240,.6); }
.rt { position: relative; }
.rt::before { content: ""; position: absolute; z-index: 1; top: -34px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255,255,255,.35); transition: background .4s, border-color .4s, box-shadow .4s; }
.rt.lit::before { background: var(--aqua); border-color: var(--aqua); box-shadow: 0 0 0 6px rgba(111,227,240,.15); }
.block.alt .rt::before { background: var(--bg2); }
.rt-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.rt-img img { width: 100%; height: 100%; object-fit: cover; }
.rt .n { display: block; margin-top: 18px; font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.rt h3 { font: 900 clamp(28px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -0.05em; margin: 10px 0 0; }
.rt p { color: var(--mute); font-size: 15px; margin: 10px 0 0; max-width: 34ch; }
.pools .assure { list-style: none; padding: 0; margin: clamp(40px, 6vw, 70px) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pools .assure li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-weight: 600; font-size: 15px; }
.pools .assure li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); flex: none; }

/* ---------- covers: a film still with the way to the covers ---------- */
.covers-still { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #031119; }
.cs-img { position: absolute; inset: 0; z-index: -2; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.8); }
.covers-still::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,12,.88) 0%, rgba(5,8,12,.55) 50%, rgba(5,8,12,.15) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 70%, var(--bg) 100%); }
.covers-still .grain { z-index: 0; }
.cs-copy { position: relative; z-index: 1; padding: clamp(110px, 14vw, 160px) var(--pad) clamp(70px, 10vw, 130px); max-width: 860px; }
.cs-copy .eyebrow { margin-bottom: 18px; }
.cs-copy .lead { margin-top: 22px; color: rgba(255,255,255,.82); max-width: 48ch; }
.cs-links { margin-top: 32px; display: grid; gap: 8px; max-width: 520px; }
.cs-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: rgba(10,14,20,.45); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-weight: 700; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.cs-links a:hover { background: rgba(111,227,240,.12); border-color: rgba(111,227,240,.5); transform: translateX(4px); }
.cs-links i { font-style: normal; color: var(--aqua); }

/* ---------- articles ---------- */
.posts { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; }
.post-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #0d1820; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post .tag { margin-top: 18px; color: var(--aqua); }
.post h3 { font: 800 clamp(20px, 1.7vw, 24px)/1.15 var(--display); letter-spacing: -0.03em; margin: 8px 0 0; }
.post p { color: var(--mute); font-size: 15px; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-go { margin-top: 14px; font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.post-go i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.post:hover .post-go { color: var(--aqua); }
.post:hover .post-go i { transform: translateX(5px); }

/* ---------- model page: intro, facts ---------- */
.pm-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end; }
.pm-text { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.6; color: rgba(244,241,234,.86); margin: 0; }
.pm-intro .assure { margin-top: 26px; }
.qfs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.qf { padding: 26px 18px 0 0; }
.qf + .qf { padding-left: 18px; border-left: 1px solid var(--line); }
.qf b { display: block; font: 900 clamp(52px, 6.4vw, 128px)/1 var(--display); letter-spacing: -0.06em; white-space: nowrap; }
.qf span { display: block; margin-top: 10px; font: 700 12px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

/* ---------- gallery: a strip of stills you drag ---------- */
.gal-block { padding-left: 0; padding-right: 0; }
.gal-block > .split { padding: 0 var(--pad); }
.gal-ctl { display: flex; align-items: center; gap: 10px; }
.gal-count { font: 700 13px var(--body); letter-spacing: .16em; color: var(--mute); margin-right: 8px; font-variant-numeric: tabular-nums; }
.gal-count b { color: var(--ink); }
.gal-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.05); cursor: pointer; font-size: 20px; transition: background .25s, color .25s; }
.gal-btn:hover { background: var(--ink); color: #05080c; }
.g-strip { position: relative; margin-top: clamp(36px, 5vw, 60px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; scroll-padding: 0 var(--pad); }
.g-strip::-webkit-scrollbar { display: none; }
.g-strip.drag { cursor: grabbing; scroll-snap-type: none; }
.g-strip.drag button { pointer-events: none; }
.g-strip ul { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: 14px; width: max-content; }
.g-slide { flex: none; height: clamp(300px, 62vh, 660px); max-width: 82vw; scroll-snap-align: start; border-radius: 20px; overflow: hidden; position: relative; background: #0d1820; }
.g-slide button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.95); -webkit-user-drag: none; user-select: none; }
.g-slide:hover img { transform: scale(1.03); filter: none; }
.g-slide.whole { background: #eef3f4; }
.g-slide.whole img { object-fit: contain; padding: 7%; }
.g-progress { margin: 26px var(--pad) 0; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.g-progress i { display: block; height: 100%; width: 100%; background: var(--aqua); transform-origin: left; transform: scaleX(.12); transition: transform .2s linear; }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3,6,9,.97); color: var(--ink); display: none; }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .4s var(--ease); }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 94vw; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 10px; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
.lb-bar span { font: 700 13px var(--body); letter-spacing: .16em; color: var(--mute); margin-right: 10px; font-variant-numeric: tabular-nums; }
.lb-bar button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); cursor: pointer; font-size: 20px; color: var(--ink); }
.lb-bar button:hover { background: var(--ink); color: #05080c; }

/* ---------- a still between the scenes ---------- */
.pm-still { position: relative; height: 86svh; min-height: 520px; overflow: hidden; isolation: isolate; background: #000; display: grid; place-items: center; }
.pm-still .still-img img { transform: scale(1.1); transition: transform 9s cubic-bezier(.2,.6,.2,1); }
.pm-still.on .still-img img { transform: scale(1); }
.pm-still::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--bg) 0%, rgba(0,0,0,.2) 22%, rgba(0,0,0,.25) 78%, var(--bg) 100%); }
.pm-still .bars i { position: absolute; left: 0; right: 0; height: 12vh; background: #000; z-index: 4; transition: height 1.6s cubic-bezier(.7,0,.2,1) .2s; }
.pm-still .bars i:first-child { top: 0; } .pm-still .bars i:last-child { bottom: 0; }
.pm-still.in .bars i { height: 7vh; }
.pm-still .grain { z-index: 2; }
.pm-still-cap { position: relative; z-index: 3; margin: 0; padding: 0 20px; text-align: center; font: 900 clamp(52px, 10.4vw, 176px)/1.02 var(--display); letter-spacing: -0.055em; text-shadow: 0 2px 40px rgba(0,0,0,.4); }

/* ---------- specs ---------- */
.sgs { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: .8fr 1fr 1.4fr; gap: 14px; align-items: start; }
.sg h3 { font: 900 clamp(24px, 2vw, 30px)/1.05 var(--display); letter-spacing: -0.04em; margin: 0 0 14px; }
.sg dl { margin: 0; }
.sr-row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.sr-row dt { font: 700 12px/1.45 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.sr-row dd { margin: 0; font-size: 15px; line-height: 1.5; }

/* ---------- configurator: the portal's widget in the film's clothes ---------- */
.cfg-block { scroll-margin-top: 70px; }
.cfg-stage { margin-top: clamp(40px, 6vw, 80px); }
.cfg-wait { display: flex; align-items: center; gap: 14px; padding: 40px 28px; border: 1px dashed rgba(255,255,255,.2); border-radius: var(--radius); color: var(--mute); font-weight: 600; }
.cfg-wait a { color: var(--aqua); text-decoration: underline; }
.cfg-spin { width: 28px; height: 28px; flex: none; animation: whirl 1.2s linear infinite; }
.cfg-spin circle { fill: none; stroke: var(--aqua); stroke-width: 3; stroke-dasharray: 60 40; stroke-linecap: round; }
.pools .dcfg-root { --dcfg-accent: var(--aqua); --dcfg-ink: var(--ink); --dcfg-muted: var(--mute); --dcfg-line: rgba(255,255,255,.14); --dcfg-surface: rgba(255,255,255,.035);
  --dcfg-soft: rgba(111,227,240,.09); --dcfg-bg: rgba(255,255,255,.05); --dcfg-top: 96px; color: var(--ink); }
.pools .dcfg-root .dcfg { grid-template-columns: 1fr minmax(320px, 400px); gap: clamp(16px, 3vw, 40px); }
.pools .dcfg-root .dcfg-main { gap: 14px; }
.pools .dcfg-root .dcfg-step { padding: clamp(18px, 2.4vw, 28px); border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line); }
.pools .dcfg-root .dcfg-step legend { font: 800 clamp(20px, 1.8vw, 26px)/1.1 var(--display); letter-spacing: -0.03em; gap: 14px; margin-bottom: 18px; }
.pools .dcfg-root .dcfg-step legend em { font: 600 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.pools .dcfg-root .dcfg-num { font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); align-self: center; }
.pools .dcfg-root .dcfg-opts { gap: 8px; }
.pools .dcfg-root .dcfg-opt { padding: 15px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.025); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.pools .dcfg-root .dcfg-opt:hover { border-color: rgba(255,255,255,.32); }
.pools .dcfg-root .dcfg-opt.is-on { border-color: var(--aqua); background: rgba(111,227,240,.09); box-shadow: 0 0 0 1px var(--aqua), 0 10px 40px -20px rgba(111,227,240,.6); }
.pools .dcfg-root .dcfg-opt input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; display: grid; place-items: center; cursor: pointer; }
.pools .dcfg-root .dcfg-opt input[type=checkbox] { border-radius: 7px; }
.pools .dcfg-root .dcfg-opt input:checked { border-color: var(--aqua); background: var(--aqua); box-shadow: inset 0 0 0 4px #082a33; }
.pools .dcfg-root .dcfg-opt input[type=checkbox]:checked { box-shadow: none; background: var(--aqua) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23021820' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat; }
.pools .dcfg-root .dcfg-opt input:disabled { opacity: .7; cursor: default; }
.pools .dcfg-root .dcfg-opt-label { font-weight: 700; font-size: 16px; }
.pools .dcfg-root .dcfg-opt-desc { color: var(--mute); font-size: 14px; }
.dcfg-root .dcfg-opt-link { color: var(--aqua); font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(111,227,240,.4); text-underline-offset: 3px; margin-left: 4px; }
.dcfg-root .dcfg-opt-link:hover { text-decoration-color: var(--aqua); }
.pools .dcfg-root .dcfg-opt-price { font: 700 15px var(--body); color: var(--ink); }
.pools .dcfg-root .dcfg-opt-price.is-zero { color: var(--aqua); font-size: 11px; letter-spacing: .14em; }
.pools .dcfg-root .dcfg-sum { border-radius: 26px; padding: clamp(22px, 2.6vw, 32px); background: linear-gradient(170deg, rgba(111,227,240,.12), rgba(10,16,22,.9) 45%); box-shadow: inset 0 0 0 1px rgba(111,227,240,.28), 0 40px 80px -40px rgba(0,0,0,.8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.pools .dcfg-root .dcfg-sum-head .eyebrow { color: var(--aqua); font-size: 11px; letter-spacing: .22em; }
.pools .dcfg-root .dcfg-sum-head strong { font: 900 clamp(34px, 3.4vw, 48px)/1 var(--display); letter-spacing: -0.05em; margin-top: 10px; }
.pools .dcfg-root .dcfg-sum-list { font-size: 14px; margin: 22px 0; }
.pools .dcfg-root .dcfg-sum-list li span:last-child { font-weight: 700; white-space: nowrap; }
.pools .dcfg-root .dcfg-total { flex-direction: column; align-items: flex-start; gap: 6px; border-top-color: rgba(255,255,255,.16); padding-top: 20px; }
.pools .dcfg-root .dcfg-total span { font: 700 11px var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.pools .dcfg-root .dcfg-total strong { font: 900 clamp(46px, 4.6vw, 68px)/1 var(--display); letter-spacing: -0.055em; color: var(--ink); text-shadow: 0 0 40px rgba(111,227,240,.35); }
.pools .dcfg-root .dcfg-note { color: var(--mute); font-size: 13px; margin: 14px 0 18px; }
.pools .dcfg-root .dcfg-flag { background: rgba(255,208,138,.12); color: var(--warm); border: 1px solid rgba(255,208,138,.3); border-radius: 10px; margin: -6px 0 18px; }
.pools .dcfg-root .btn { min-height: 52px; padding: 0 24px; font-size: 16px; font-weight: 700; border-radius: 999px; }
.pools .dcfg-root .btn-primary { background: var(--aqua); color: #021820; border: 0; }
.pools .dcfg-root .btn-primary:hover { background: #8ff0f7; }
.pools .dcfg-root .btn-ghost { background: rgba(255,255,255,.07); color: var(--ink); border: 1px solid rgba(255,255,255,.3); }
.pools .dcfg-root .dcfg-lead { border-radius: 24px; padding: clamp(22px, 3vw, 36px); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line); }
.pools .dcfg-root .dcfg-lead h3 { font: 900 clamp(28px, 3vw, 42px)/1.02 var(--display); letter-spacing: -0.05em; margin-bottom: 10px; }
.pools .dcfg-root .dcfg-lead .muted { color: var(--mute); }
.pools .dcfg-root .form-grid { gap: 14px; }
.pools .dcfg-root .field > span { color: var(--mute); }
.pools .dcfg-root .dcfg-error { color: #ffb4a8; }
.pools .dcfg-root .dcfg-done { border-radius: 26px; padding: clamp(36px, 5vw, 60px) 24px; background: linear-gradient(170deg, rgba(111,227,240,.12), rgba(10,16,22,.9) 55%); box-shadow: inset 0 0 0 1px rgba(111,227,240,.28); }
.pools .dcfg-root .dcfg-done h3 { font: 900 clamp(30px, 3.6vw, 48px)/1 var(--display); letter-spacing: -0.05em; margin: 0 0 12px; }
.pools .dcfg-root .dcfg-done p { color: var(--mute); }
.pools .dcfg-root .done-icon { background: rgba(111,227,240,.14); color: var(--aqua); }

/* ---------- phones: a small bar with the price and the way to the configurator ---------- */
.pm-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(8,12,17,.82); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transform: translateY(160%); transition: transform .5s var(--ease); }
.pm-bar.show { transform: none; }
.pm-bar div { display: flex; flex-direction: column; line-height: 1.2; }
.pm-bar b { font: 900 20px var(--display); letter-spacing: -0.03em; }
.pm-bar span { font-size: 13px; color: var(--mute); }
.pm-bar .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .incl-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .pools .std-facts { grid-template-columns: repeat(2, 1fr); }
  .sgs { grid-template-columns: 1fr 1fr; }
  .sgs .sg:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .pools .models.three { grid-template-columns: 1fr 1fr; }
  .rt-list { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .pm-intro-grid { grid-template-columns: 1fr; }
  .qfs { grid-template-columns: 1fr 1fr; }
  .qf:nth-child(3) { padding-left: 0; border-left: 0; }
  .qf:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 26px; }
  .pm-bar { display: flex; }
  .pools .dcfg-root .dcfg { grid-template-columns: 1fr; }
  .pools .dcfg-root .dcfg-sum { position: static; }
  .sgs { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  /* the comparison turns into one card per row, the model names above each value */
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 18px 0 6px; border-top: 1px solid var(--line); }
  .cmp tbody tr:hover { background: none; }
  .cmp tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 4px; color: var(--aqua); }
  .cmp td { border: 0; padding: 10px 0; }
  .cmp td::before { content: attr(data-m); display: block; margin-bottom: 3px; font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  .cmp-more summary { padding: 18px; }
  .cmp-more .cmp-wrap { padding: 0 18px 18px; }
}
@media (max-width: 900px) {
  .scale-svg.side { display: none; }
  .scale-svg.stack { display: block; max-width: 600px; margin: 0 auto; }
  .scale-legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pools .std-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .incl-grid, .posts, .pools .models.three { grid-template-columns: 1fr; }
  .rt-list { grid-template-columns: 1fr; padding: 0 0 0 34px; row-gap: 40px; }
  .rt-list::before, .rt-list::after { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .rt-list::after { background: linear-gradient(180deg, var(--aqua), #2fc3d8); transform-origin: top; transform: scaleY(var(--p)); }
  .rt::before { top: 4px; left: -34px; }
  .g-slide { height: 64vw; max-width: 90vw; border-radius: 16px; }
  .g-strip ul { gap: 10px; }
  .gal-btn { width: 46px; height: 46px; }
  .gal-block > .split { align-items: flex-end; }
  .qf b { font-size: clamp(44px, 13vw, 60px); }
  .qf { padding-right: 10px; }
  .qf + .qf { padding-left: 14px; }
  .qf:nth-child(3) { padding-left: 0; }
  .pm-plan figcaption .link { margin-left: 0; }
  .sr-row { grid-template-columns: 1fr; gap: 4px; }
  .pools .pm-price span { font-size: 14px; }
  .covers-still { min-height: 0; }
  .covers-still::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(5,8,12,.45) 25%, rgba(5,8,12,.78) 60%, var(--bg) 100%); }
  .pools .assure li { font-size: 14px; padding: 10px 14px; }
  .pools .dcfg-root .dcfg-opt { flex-wrap: nowrap; align-items: flex-start; }
  .pools .dcfg-root .dcfg-opt-price { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scale-svg .sp-water { transform: none; transition: none; }
  .scale-svg .sp-line { stroke-dashoffset: 0; transition: none; }
  .scale-svg .sp-area { opacity: 1; transition: none; }
  .pm-still .still-img img { transform: none; transition: none; }
  .pm-still .bars i { display: none; }
  .cfg-spin { animation: none; }
}

/* model hero: price under the name, then the buttons */
.pools-model .still-copy { display: flex; flex-direction: column; align-items: flex-start; }
.pools-model .still-copy .crumbs { order: 0; }
.pools-model .still-copy .eyebrow { order: 1; }
.pools-model .still-copy .display { order: 2; }
.pools-model .still-copy .pm-price { order: 3; }
.pools-model .still-copy .actions { order: 4; align-self: stretch; }

/* small finishing touches */
.pools .card .tag { text-transform: none; letter-spacing: .06em; font-size: 12px; }
.scale-svg.side, .scale-svg.stack { overflow: hidden; }
@media (min-width: 901px) { .scale-legend { display: none; } }
@media (max-width: 560px) {
  .incl-img { aspect-ratio: 16 / 10; }
  /* articles: a strip you swipe, not a long column */
  .posts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .posts::-webkit-scrollbar { display: none; }
  .post { flex: none; width: 80vw; scroll-snap-align: start; }
}

@media (max-width: 560px) { .cmp td b { font-size: 17px; } .cmp tr.price td b { font-size: 21px; } }

/* /baseini/ without WebGL: the words that would lie on the pool floor are shown as a plain headline */
.pools-index .pools-fb { margin: 0 0 18px; font: 900 clamp(52px, 8vw, 110px)/1 var(--display); letter-spacing: -0.055em; color: #fff; }
@media (min-width: 640px) and (max-width: 1000px) { .cmp tbody tr { grid-template-columns: repeat(4, 1fr); } }
/* /baseini/ finale carries the live page's longer question and three contacts: a little smaller on phones so it fits one screen */
@media (max-width: 560px) { .pools-index .finale-copy h2 { font-size: 44px; } .pools-index .finale-copy .actions .btn { min-height: 48px; } }
/* the model page plan on phones: names and metre marks stay readable when the drawing is ~40% of its size */
@media (max-width: 560px) { .scale-svg.overlay .sp-oname { font-size: 34px; } .scale-svg.overlay .sp-oname.on { font-size: 42px; } .scale-svg.overlay .sp-tick { font-size: 30px; } }
/* phones: the lanes already carry each name and size, and every pool is a link, so the legend would only repeat them */
@media (max-width: 560px) { .scale-legend { display: none; } }

/* ===== 20-covers.css ===== */
/* Pārsegi (/parsegi/ and the two cover pages) — body.covers. The film's look: still heroes, the "Miers" chapter
   (a cover closing, scrubbed by scroll), photo scenes, a film-strip gallery, the portal configurator in glass. */

.covers .h2 { font-size: clamp(42px, 7.2vw, 112px); }
.cover-page .hero-still .display { font-size: clamp(40px, 8.4vw, 136px); max-width: 12ch; }
.covers .hero-still .display { line-height: 1.02; }

/* ---------- section heads ---------- */
.cv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; }
.cv-head .lead { max-width: 48ch; }

/* ---------- cover hero: price, quick facts, promises ---------- */
.cv-hero-meta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 34px; margin-top: 26px; }
.cv-price { display: grid; gap: 2px; }
.cv-price small { font: 700 11px var(--body); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.cv-price b { font: 900 clamp(44px, 5vw, 76px)/1 var(--display); letter-spacing: -0.05em; }
.cv-price span { font-size: 13px; color: rgba(255,255,255,.66); }
.cv-qf { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid rgba(255,255,255,.22); }
.cv-qf li { display: grid; }
.cv-qf b { font: 800 22px/1.1 var(--display); letter-spacing: -0.03em; }
.cv-qf span { font-size: 13px; color: rgba(255,255,255,.66); }
.still-copy .cv-hero-meta + .actions { margin-top: 24px; }
.cv-assure { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.78); }
.cv-assure li { display: flex; align-items: center; gap: 9px; }
.cv-assure li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); flex: none; }

/* ---------- scroll chapters (the still version first: no JS, reduced motion, save-data) ---------- */
.cv-scrub { position: relative; background: #000; }
.cv-scrub .sc-stage { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 140px) var(--pad); display: grid; gap: 40px; }
.cv-scrub .grade { z-index: 2; }
.cv-scrub .grain { z-index: 3; }
.sc-bg { display: none; }
.sc-frame { position: relative; z-index: 1; width: min(400px, 100%); aspect-ratio: 400 / 720; border-radius: 26px; overflow: hidden; margin: 0 auto; background: #0b1218; }
.sc-still, .sc-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-cv { opacity: 0; }
.sc-shots { position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; }
.sc-shot { margin: 0; position: absolute; inset: 0; }
.sc-shot img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(.92) brightness(.86); }
.cv-scrub:not(.is-live) .sc-shot:not(:first-child) { display: none; }
.sc-caps { position: relative; z-index: 4; display: grid; gap: 34px; }
.sc-cap h2 { font: 900 clamp(40px, 11vw, 124px)/1.02 var(--display); letter-spacing: -0.055em; margin: 10px 0 0; text-shadow: 0 2px 40px rgba(0,0,0,.4); }
.sc-cap p { font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.86); margin: 16px 0 0; max-width: 34ch; text-shadow: 0 1px 18px rgba(0,0,0,.5); }
.sc-cap.end h2 { color: var(--aqua); }
.sc-hud, .sc-dots { display: none; }

/* live: a sticky stage, scroll is the timeline */
.cv-scrub.is-live.miers { height: 560vh; height: 560svh; }
.cv-scrub.is-live.cv-scene { height: calc(var(--shots, 4) * 110vh + 100vh); height: calc(var(--shots, 4) * 110svh + 100svh); }
.cv-scrub.is-live .sc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; display: block; }
.cv-scrub.is-live .sc-caps { position: absolute; inset: 0; display: block; pointer-events: none; }
.cv-scrub.is-live .sc-cap { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(104px, 15vh, 160px); opacity: 0; visibility: hidden; will-change: opacity, transform; }
.cv-scrub.is-live .sc-cap.end h2 { font-size: clamp(88px, 26vw, 300px); line-height: 1; }
.cv-scrub.is-live .sc-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 22%, transparent 42%, rgba(3,6,9,.88) 100%); }

/* the cover closing: on phones the frame is the whole screen */
.cv-scrub.is-live .sc-frame { position: absolute; inset: 0; width: auto; aspect-ratio: auto; border-radius: 0; margin: 0; }
.cv-scrub.is-live.has-frames .sc-cv { opacity: 1; transition: opacity .6s; }
.cv-scrub.is-live .sc-hud { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 14px;
  font: 700 11px var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.sc-hud i { flex: 1; max-width: 280px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.sc-hud b { display: block; height: 100%; background: var(--aqua); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--aqua); }
.sc-hud span:first-child { min-width: 9.5em; }

/* the photo scene: stills cross-fade and push in */
.cv-scrub.is-live .sc-shots { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.cv-scrub.is-live .sc-shot { opacity: 0; will-change: opacity, transform; }
.cv-scrub.is-live .sc-shot:first-child { opacity: 1; }
.cv-scrub.is-live .sc-dots { position: absolute; z-index: 5; right: clamp(16px, 3vw, 40px); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.sc-dots i { width: 3px; height: 26px; border-radius: 3px; background: rgba(255,255,255,.25); transition: background .4s, box-shadow .4s; }
.sc-dots i.on { background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }

@media (min-width: 900px) {
  .cv-scrub:not(.is-live).miers .sc-stage { grid-template-columns: 1fr minmax(280px, 400px); align-items: center; }
  .cv-scrub:not(.is-live).miers .sc-frame { grid-column: 2; grid-row: 1; }
  .cv-scrub:not(.is-live).miers .sc-caps { grid-column: 1; grid-row: 1; }
  .sc-cap h2 { font-size: clamp(56px, 7vw, 124px); }
  .cv-scrub.is-live.miers .sc-bg { display: block; position: absolute; z-index: 0; inset: -10%; width: 120%; height: 120%; filter: blur(44px) brightness(.42) saturate(1.25); opacity: 0; transition: opacity 1s; }
  .cv-scrub.is-live.miers.has-frames .sc-bg { opacity: 1; }
  .cv-scrub.is-live.miers .sc-frame { inset: auto; top: 50%; right: max(var(--pad), 9vw); height: min(84vh, 820px); aspect-ratio: 400 / 720; border-radius: 30px;
    transform: translateY(-50%) scale(calc(.94 + var(--p, 0) * .06)); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); }
  .cv-scrub.is-live.miers .sc-stage::after { background: linear-gradient(90deg, rgba(3,6,9,.7) 0%, rgba(3,6,9,.2) 55%, transparent 80%), linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%); }
  .cv-scrub.is-live.miers .sc-cap { right: auto; max-width: min(52vw, 780px); bottom: auto; top: 50%; margin-top: -1.6em; }
  .cv-scrub.is-live.miers .sc-cap h2 { font-size: clamp(56px, 6.6vw, 120px); }
  .cv-scrub.is-live.miers .sc-cap.end h2 { font-size: clamp(120px, 15vw, 260px); }
  .cv-scrub.is-live .sc-hud { right: auto; width: min(46vw, 520px); }
}

/* ---------- the story line: words light up ---------- */
.cv-story { padding-bottom: clamp(50px, 7vw, 90px); }
.cv-light { font: 800 clamp(30px, 4.6vw, 74px)/1.1 var(--display); letter-spacing: -0.04em; margin: 22px 0 0; max-width: 24ch; }
.cv-light.is-live .lw { color: rgba(244,241,234,.14); transition: color .5s var(--ease); }
.cv-light .lw.on { color: var(--ink); }

/* ---------- features ---------- */
.cv-feats { list-style: none; margin: clamp(44px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 5vw, 80px); }
.cv-feat { border-top: 1px solid var(--line); padding: 30px 0 44px; }
.cv-feat i { font: 700 12px var(--body); font-style: normal; letter-spacing: .22em; color: var(--aqua); }
.cv-feat h3 { font: 900 clamp(30px, 3.2vw, 50px)/1.04 var(--display); letter-spacing: -0.05em; margin: 14px 0 0; }
.cv-feat p { color: var(--mute); margin: 14px 0 0; max-width: 42ch; }

/* ---------- gallery: a film strip ---------- */
.reel-ctrl { display: flex; align-items: center; gap: 14px; }
.reel-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06); color: var(--ink); font-size: 20px; cursor: pointer; transition: background .25s, color .25s, opacity .25s; }
.reel-btn:hover:not([disabled]) { background: var(--ink); color: #05080c; }
.reel-btn[disabled] { opacity: .3; cursor: default; }
.reel-count { font: 700 12px var(--body); letter-spacing: .18em; color: var(--mute); min-width: 6.4em; text-align: center; }
.reel { margin: clamp(40px, 6vw, 70px) calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; cursor: grab; }
.reel::-webkit-scrollbar { display: none; }
.reel.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.reel.is-drag img { pointer-events: none; }
.reel-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; }
.reel-item { flex: none; height: clamp(280px, 66vh, 700px); aspect-ratio: var(--ar, 1.5); max-width: 86vw; scroll-snap-align: start; }
.reel-item button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #0b1218; cursor: zoom-in; }
.reel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.94); }
.reel-item button:hover img { transform: scale(1.04); filter: saturate(1.05); }
.reel-item button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.reel-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 14px 22px 14px 16px; border-radius: 99px;
  background: rgba(8,12,17,.5); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 700 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.reel-play svg { width: 26px; height: 26px; color: var(--aqua); }
.is-video img { filter: brightness(.7); }

/* lightbox */
.cvlb { position: fixed; inset: 0; z-index: 80; background: rgba(2,4,6,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .35s var(--ease); overflow: hidden; }
.cvlb[hidden] { display: none; }
.cvlb.open { opacity: 1; }
.cvlb .grain { z-index: 1; opacity: .05; }
.cvlb-media { position: absolute; z-index: 2; inset: 76px 84px 40px; display: flex; align-items: center; justify-content: center; }
.cvlb-media img, .cvlb-media video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 16px; object-fit: contain; box-shadow: 0 40px 120px -30px #000; }
.cvlb-media video { width: min(100%, 1280px); background: #000; }
.cvlb-media.in > * { animation: lbIn .7s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.cvlb-bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 18px; padding: 16px var(--pad); }
.cvlb-n { font: 700 12px var(--body); letter-spacing: .18em; color: var(--aqua); flex: none; }
.cvlb-cap { font-size: 14px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.cvlb-x { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; flex: none; }
.cvlb-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.06); color: #fff; font-size: 20px; cursor: pointer; transition: background .25s, color .25s; }
.cvlb-nav:hover { background: var(--ink); color: #05080c; }
.cvlb-nav.prev { left: 16px; } .cvlb-nav.next { right: 16px; }

/* ---------- specs ---------- */
.cv-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(44px, 6vw, 80px); align-items: start; }
.cv-spec { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 12px; background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); }
.cv-spec h3 { font: 700 12px var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--aqua); margin: 0 0 8px; }
.cv-spec dl { margin: 0; }
.cv-spec dl div { padding: 15px 0; border-top: 1px solid var(--line); }
.cv-spec dl div:first-child { border-top: 0; }
.cv-spec dt { font-size: 13px; color: var(--faint); font-weight: 600; }
.cv-spec dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; line-height: 1.4; }

/* ---------- the configurator (portal widget, made native to the dark film) ---------- */
.cv-cfg-shell { margin-top: clamp(44px, 6vw, 80px); }
.cv-cfg-wait { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 300px; border: 1px dashed rgba(255,255,255,.18); border-radius: var(--radius); color: var(--mute); font-weight: 600; }
.cv-cfg-wait .mark { width: 34px; height: 34px; color: var(--aqua); animation: whirl 2.6s linear infinite; }
.cv-cfg-alt { margin: 28px 0 0; color: var(--mute); text-align: center; font-size: 15px; }
.cv-cfg-alt a { color: var(--ink); border-bottom: 1px solid rgba(255,255,255,.3); }
.cv-cfg-alt a:hover { color: var(--aqua); border-color: var(--aqua); }
.cv-cfg-fallback .h3 { margin-bottom: 8px; }
.cv-cfg-fallback .muted { margin: 0 0 22px; }
[data-configurator][hidden] { display: none; }

.covers .dcfg-root { --dcfg-accent: var(--aqua); --dcfg-ink: var(--ink); --dcfg-muted: var(--mute); --dcfg-line: rgba(255,255,255,.14); --dcfg-surface: rgba(255,255,255,.035);
  --dcfg-soft: rgba(111,227,240,.09); --dcfg-bg: rgba(255,255,255,.05); --dcfg-top: 96px; color: var(--ink); font-family: var(--body); }
.covers .dcfg-root .dcfg { grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; }
.covers .dcfg-root .dcfg-main { gap: 14px; }
.covers .dcfg-root .dcfg-step, .covers .dcfg-root .dcfg-lead, .covers .dcfg-root .dcfg-done { border: 1px solid var(--line); box-shadow: none; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); padding: clamp(20px, 2.4vw, 30px); }
.covers .dcfg-root .dcfg-step legend { font: 800 clamp(20px, 1.8vw, 24px)/1.2 var(--display); letter-spacing: -0.025em; margin-bottom: 18px; align-items: center; }
.covers .dcfg-root .dcfg-num { font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); border: 1px solid rgba(111,227,240,.4); border-radius: 99px; padding: 5px 9px; }
.covers .dcfg-root .dcfg-step legend em { font: 600 12px var(--body); letter-spacing: .04em; color: var(--faint); }
.covers .dcfg-root .dcfg-opts { gap: 10px; }
.covers .dcfg-root .dcfg-opt { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.025); padding: 15px 16px; transition: border-color .25s, background .25s, box-shadow .35s; }
.covers .dcfg-root .dcfg-opt:hover { border-color: rgba(255,255,255,.32); }
.covers .dcfg-root .dcfg-opt.is-on { border-color: var(--aqua); background: rgba(111,227,240,.08); box-shadow: inset 0 0 0 1px var(--aqua), 0 18px 50px -28px rgba(111,227,240,.7); }
.covers .dcfg-root .dcfg-opt input { accent-color: var(--aqua); }
.covers .dcfg-root .dcfg-opt-label { font-weight: 700; font-size: 15.5px; }
.covers .dcfg-root .dcfg-opt-desc { font-size: 13.5px; color: var(--mute); margin-top: 2px; }
.covers .dcfg-root .dcfg-opt-price { font-weight: 700; font-size: 14.5px; }
.covers .dcfg-root .dcfg-opt-price.is-zero { color: var(--aqua); font-size: 11px; letter-spacing: .16em; }
.covers .dcfg-root .dcfg-opt-price small { color: var(--faint); }
.covers .dcfg-root .dcfg-dims { gap: 14px; }
.covers .dcfg-root .dcfg-dim { border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.05); transition: border-color .2s, background .2s; }
.covers .dcfg-root .dcfg-dim:focus-within { border-color: var(--aqua); background: rgba(111,227,240,.07); }
.covers .dcfg-root .dcfg-dim.is-bad { border-color: #ff8a7a; }
.covers .dcfg-root .dcfg-dim input { color: var(--ink); font: 800 24px/1.2 var(--display); letter-spacing: -0.03em; padding: 12px 14px; }
.covers .dcfg-root .dcfg-dim em { color: var(--mute); font-weight: 700; }
.covers .dcfg-root .field small { color: var(--faint); font-weight: 500; font-size: 12px; }
.covers .dcfg-root .dcfg-area { background: rgba(111,227,240,.08); border: 1px solid rgba(111,227,240,.25); border-radius: 14px; padding: 12px 18px; }
.covers .dcfg-root .dcfg-area span { color: var(--mute); font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.covers .dcfg-root .dcfg-area strong { font: 900 24px/1.1 var(--display); letter-spacing: -0.03em; color: var(--aqua); }
.covers .dcfg-root .dcfg-sum { border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); border: 1px solid rgba(111,227,240,.3);
  background: radial-gradient(120% 80% at 100% 0%, rgba(111,227,240,.16), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: 0 40px 100px -50px rgba(0,0,0,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.covers .dcfg-root .dcfg-sum-head .eyebrow { color: var(--aqua); letter-spacing: .22em; font-size: 11px; }
.covers .dcfg-root .dcfg-sum-head strong { font: 900 clamp(26px, 2.4vw, 34px)/1.05 var(--display); letter-spacing: -0.04em; margin-top: 8px; }
.covers .dcfg-root .dcfg-sum-head .muted { color: var(--mute); font-size: 14px; }
.covers .dcfg-root .dcfg-sum-list { font-size: 14.5px; margin: 22px 0; }
.covers .dcfg-root .dcfg-sum-list li { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.covers .dcfg-root .dcfg-sum-list li span:last-child { font-weight: 700; white-space: nowrap; }
.covers .dcfg-root .dcfg-total { flex-direction: column; align-items: flex-start; gap: 6px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.covers .dcfg-root .dcfg-total span { font: 700 11px var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.covers .dcfg-root .dcfg-total strong { font: 900 clamp(46px, 4.6vw, 64px)/1 var(--display); letter-spacing: -0.055em; color: var(--ink); text-shadow: 0 0 40px rgba(111,227,240,.35); }
.covers .dcfg-root .dcfg-note { color: var(--mute); font-size: 13px; line-height: 1.5; margin: 14px 0 18px; }
.covers .dcfg-root .dcfg-flag { background: rgba(255,208,138,.1); color: var(--warm); border: 1px solid rgba(255,208,138,.3); border-radius: 10px; font-weight: 600; }
.covers .dcfg-root .btn { min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.covers .dcfg-root .btn-primary { background: var(--aqua); color: #021820; border: 0; }
.covers .dcfg-root .btn-primary:hover { background: #8cf0fb; }
.covers .dcfg-root .btn-ghost { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid rgba(255,255,255,.28); }
.covers .dcfg-root .btn-block { width: 100%; }
.covers .dcfg-root .dcfg-lead h3, .covers .dcfg-root .dcfg-done h3 { font: 900 clamp(28px, 3vw, 40px)/1.05 var(--display); letter-spacing: -0.045em; margin: 0 0 10px; }
.covers .dcfg-root .dcfg-lead .muted, .covers .dcfg-root .dcfg-done p { color: var(--mute); }
.covers .dcfg-root .form-grid { gap: 14px; }
.covers .dcfg-root .field > span { color: var(--mute); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.covers .dcfg-root .dcfg-error { color: #ffb4a8; }
.covers .dcfg-root .done-icon { background: rgba(111,227,240,.12); color: var(--aqua); box-shadow: 0 0 40px rgba(111,227,240,.3); }
@container (max-width: 860px) {
  .covers .dcfg-root .dcfg { grid-template-columns: minmax(0, 1fr); }
  .covers .dcfg-root .dcfg-sum { position: static; }
}
@container (max-width: 520px) {
  .covers .dcfg-root .dcfg-step, .covers .dcfg-root .dcfg-sum, .covers .dcfg-root .dcfg-lead { padding: 18px; }
  .covers .dcfg-root .dcfg-lead-actions .btn { flex: 1 1 auto; }
}

/* ---------- /parsegi/: the two covers ---------- */
.cv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); margin-top: clamp(44px, 6vw, 80px); }
.cv-type { display: flex; flex-direction: column; }
.cv-type-pic { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: 28px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.cv-type-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); filter: contrast(1.05) saturate(.92); }
.cv-type-pic:hover img { transform: scale(1.05); }
.cv-type-pic::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.4), transparent 30%, transparent 50%, rgba(3,6,9,.86)); }
.cv-type-pic .tag { position: absolute; top: 22px; left: 24px; padding: 8px 12px; border-radius: 99px; background: rgba(8,12,17,.4); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cv-type-name { position: absolute; left: 24px; bottom: 22px; display: grid; }
.cv-type-name b { font: 900 clamp(32px, 9vw, 84px)/1 var(--display); letter-spacing: -0.055em; }
.cv-type-name small { font-size: 15px; color: rgba(255,255,255,.75); font-weight: 600; margin-top: 4px; }
.cv-type-price { position: absolute; right: 24px; top: 22px; font: 800 20px var(--display); letter-spacing: -0.02em; }
.cv-type-price small { font: 700 10px var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-right: 4px; }
.cv-type-body { padding: 26px 4px 0; display: flex; flex-direction: column; flex: 1; }
.cv-type-line { font: 800 clamp(22px, 2.2vw, 30px)/1.15 var(--display); letter-spacing: -0.03em; margin: 0 0 12px; }
.cv-type-body > .muted { margin: 0 0 24px; max-width: 52ch; }
.cv-type-body .eyebrow.dim { margin-bottom: 12px; }
.cv-ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.cv-ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.cv-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--aqua);
  background: radial-gradient(circle, var(--aqua) 0 3px, transparent 3.5px); }
.cv-type-body .actions { margin-top: auto; }
.cv-compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: clamp(70px, 9vw, 120px); }
.cv-compare-head .eyebrow.dim { margin: 0; }
.cv-compare { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.035), transparent); }
.cv-compare table { width: 100%; border-collapse: collapse; }
.cv-compare th, .cv-compare td { padding: 18px 24px; text-align: left; vertical-align: top; }
.cv-compare thead th { font: 900 clamp(22px, 2.4vw, 34px)/1.05 var(--display); letter-spacing: -0.04em; padding-top: 24px; }
.cv-compare thead a:hover { color: var(--aqua); }
.cv-compare tbody tr { border-top: 1px solid var(--line); }
.cv-compare tbody th { width: 20%; font: 700 11.5px/1.6 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding-top: 21px; }
.cv-compare tbody td { font-size: 15.5px; color: rgba(244,241,234,.86); width: 40%; }
.cv-compare tbody tr:last-child td { font: 900 22px var(--display); letter-spacing: -0.03em; color: var(--ink); }

/* material numbers */
.cv-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px clamp(14px, 2.4vw, 34px); margin-top: clamp(44px, 6vw, 80px); }
.cv-num { border-top: 1px solid var(--line); padding-top: 22px; }
.cv-num b { display: block; font: 900 clamp(48px, 5.4vw, 92px)/1 var(--display); letter-spacing: -0.055em; white-space: nowrap; }
.cv-num b small { font-size: .34em; letter-spacing: 0; color: var(--aqua); margin-left: .12em; vertical-align: .9em; }
.cv-num span { display: block; margin-top: 14px; color: var(--mute); font-size: 15px; max-width: 28ch; }
.cv-pcpvc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.cv-pcpvc > div { border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); }
.cv-pc { border-color: rgba(111,227,240,.35) !important; background: radial-gradient(100% 120% at 0% 0%, rgba(111,227,240,.14), transparent 60%); }
.cv-pvc { opacity: .72; }
.cv-pcpvc p { margin: 14px 0 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.45; }
.cv-pcpvc .eyebrow.dim { margin: 0; }
.cv-fair { margin: clamp(30px, 4vw, 50px) 0 0; color: var(--mute); max-width: 62ch; }
.cv-fair b { color: var(--ink); }

/* articles */
.cv-reads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(44px, 6vw, 80px); }
.cv-read { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); transition: border-color .3s, transform .5s var(--ease); }
.cv-read:hover { border-color: rgba(111,227,240,.4); transform: translateY(-4px); }
.cv-read-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.cv-read-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); filter: contrast(1.05) saturate(.9) brightness(.9); }
.cv-read:hover .cv-read-pic img { transform: scale(1.05); }
.cv-read-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 30px); flex: 1; }
.cv-read-body b { font: 800 clamp(22px, 2vw, 30px)/1.14 var(--display); letter-spacing: -0.03em; }
.cv-read-body .muted { font-size: 15px; }
.cv-read-body .link { align-self: flex-start; margin-top: auto; padding-top: 8px; }
.cv-five { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cv-five li { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: rgba(244,241,234,.86); }
.cv-five i { font-style: normal; color: var(--aqua); margin-right: 6px; font-weight: 700; }

/* the pools band */
.cv-pools { padding: 0 var(--pad) clamp(90px, 13vw, 170px); }
.cv-pools-in { position: relative; display: block; min-height: clamp(440px, 72vh, 760px); border-radius: 30px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.cv-pools-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 2s var(--ease); filter: contrast(1.05) saturate(.92) brightness(.85); }
.cv-pools-in:hover img { transform: scale(1.04); }
.cv-pools-in::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,6,9,.82), rgba(3,6,9,.35) 55%, transparent), linear-gradient(0deg, rgba(3,6,9,.6), transparent 50%); }
.cv-pools-copy { position: absolute; left: clamp(22px, 4vw, 60px); right: clamp(22px, 4vw, 60px); bottom: clamp(26px, 5vw, 64px); display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.cv-pools-copy b { font: 900 clamp(38px, 5.4vw, 84px)/1.02 var(--display); letter-spacing: -0.055em; }
.cv-pools-copy .muted { color: rgba(255,255,255,.8); max-width: 44ch; }
.cv-pools-copy .link { align-self: flex-start; }

/* ---------- related (cover pages) ---------- */
.cv-rel-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin-top: clamp(44px, 6vw, 80px); }
.cv-other { position: relative; display: block; min-height: clamp(360px, 52vh, 560px); border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.cv-other img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.cv-other:hover img { transform: scale(1.05); }
.cv-other::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, rgba(3,6,9,.85)); }
.cv-other-body { position: absolute; inset: 0; padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; justify-content: space-between; }
.cv-other-body b { font: 900 clamp(32px, 3.6vw, 58px)/1.02 var(--display); letter-spacing: -0.05em; margin-top: auto; max-width: 14ch; }
.cv-other-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-top: 12px; }
.cv-other-row i { font-style: normal; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); transition: background .3s, color .3s; }
.cv-other:hover .cv-other-row i { background: #fff; color: #000; }
.cv-rel-hub { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px);
  background: radial-gradient(120% 100% at 100% 0%, rgba(111,227,240,.12), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.04), transparent); transition: border-color .3s; }
.cv-rel-hub:hover { border-color: rgba(111,227,240,.45); }
.cv-rel-hub b { font: 900 clamp(28px, 2.8vw, 42px)/1.05 var(--display); letter-spacing: -0.045em; }
.cv-rel-hub .link { align-self: flex-start; margin-top: 8px; }
.cv-related .cv-reads { margin-top: 14px; }
.cv-rel-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(16px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.cv-rel-more a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.cv-rel-more .eyebrow { grid-column: 1; margin: 0; font-size: 11px; }
.cv-rel-more b { grid-column: 1; font: 800 19px/1.25 var(--display); letter-spacing: -0.02em; transition: color .2s; }
.cv-rel-more i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 20px; transition: transform .3s var(--ease); }
.cv-rel-more a:hover b { color: var(--aqua); }
.cv-rel-more a:hover i { transform: translateX(4px); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cv-duo, .cv-reads, .cv-rel-grid { grid-template-columns: 1fr; }
  .cv-specs { grid-template-columns: 1fr; }
  .cv-nums { grid-template-columns: 1fr 1fr; }
  .cv-pcpvc { grid-template-columns: 1fr; }
  .cv-rel-more { grid-template-columns: 1fr; }
  .cvlb-media { inset: 70px 0 96px; }
  .cvlb-media img { border-radius: 0; }
  .cvlb-nav { top: auto; bottom: 22px; transform: none; }
  .cvlb-nav.prev { left: auto; right: 84px; } .cvlb-nav.next { right: 18px; }
}
@media (max-width: 700px) {
  .cv-feats { grid-template-columns: 1fr; }
  .reel-item { height: clamp(220px, 64vw, 460px); }
  .cv-type-pic { aspect-ratio: 4 / 4.4; }
  .cv-type-body .actions .btn { flex: 1 1 auto; }
  .cv-compare thead tr, .cv-compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; }
  .cv-compare thead td { display: none; }
  .cv-compare tbody th { grid-column: 1 / -1; width: auto; padding: 16px 16px 0; }
  .cv-compare tbody td { width: auto; padding: 6px 16px 16px; font-size: 14.5px; }
  .cv-compare tbody td + td { border-left: 1px solid var(--line); }
  .cv-compare thead th { padding: 18px 16px 12px; }
  .cv-compare tbody tr:last-child td { font-size: 19px; }
  .cv-num b { font-size: 40px; }
  .cv-num span { font-size: 14px; }
  .cv-hero-meta { gap: 14px 22px; }
  .reel-ctrl { width: 100%; justify-content: space-between; }
  .cv-pools-in { min-height: 520px; }
  .cv-pools-in::after { background: linear-gradient(0deg, rgba(3,6,9,.92), rgba(3,6,9,.4) 60%, rgba(3,6,9,.1)); }
}
@media (prefers-reduced-motion: reduce) {
  .cv-cfg-wait .mark { animation: none; }
  .reel-item img, .cv-type-pic img, .cv-read-pic img, .cv-pools-in img, .cv-other img { transition: none; }
}
@media (min-width: 901px) { .cv-type-name b { font-size: clamp(40px, 4.6vw, 84px); } }
.cover-page .hero-still::after { background: linear-gradient(90deg, rgba(3,6,9,.6), rgba(3,6,9,.15) 60%, transparent), linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 28%, transparent 40%, rgba(5,8,12,.9) 100%); }
.cv-scrub:not(.is-live) .sc-cap h2 { font-size: clamp(36px, 5.6vw, 76px); }
@media (min-width: 900px) { .cv-scrub:not(.is-live).miers .sc-stage { align-items: start; } .cv-scrub:not(.is-live).miers .sc-frame { position: sticky; top: 110px; } }
/* phones: the copy runs the full width over the picture, so the scrim darkens the lower two thirds evenly */
@media (max-width: 700px) {
  .cover-page .hero-still::after { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(3,6,9,.2) 18%, rgba(3,6,9,.55) 34%, rgba(3,6,9,.7) 60%, rgba(5,8,12,.92) 100%); }
}
/* crumbs over a photo: lighter, and a taller tap area without moving the layout */
.covers .hero-still .crumbs { color: rgba(255,255,255,.74); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.covers .hero-still .crumbs [aria-current] { color: rgba(255,255,255,.92); }
.covers .hero-still .crumbs a { padding: 13px 0; margin: -13px 0; }
/* phones: the comparison's columns stack in pairs, so each cell names its cover */
.cv-compare tbody td::before { content: none; }
@media (max-width: 700px) {
  .cv-compare tbody td::before { content: attr(data-l); display: block; margin-bottom: 4px; font: 700 10px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
}

/* ===== 30-shop.css ===== */
/* Shop: /veikals/, /grozs/ (+ thank you, invoice), /pasutijums/ and the shop chrome every shop page shares (the header's search and
   always-visible cart, the shop bar with "Kategorijas" and search). Everything is scoped under body.shop.
   Product packshots (white backgrounds) stand on a lit "plate" — a lightbox in the dark cinema. */
body.shop {
  --hdr: 86px;          /* top of the floating header pill + its height + a hair */
  --sbar-h: 64px;       /* the shop bar */
  --r-sm: 14px;         /* chips, inputs, small cards */
  --shop-gap: clamp(56px, 8vw, 112px);
  --tap: 44px;
  --plate: radial-gradient(110% 85% at 50% 28%, #fff 0%, #f3f6f6 50%, #dbe5e7 100%);
}
.shop [hidden]:not(.keep) { display: none !important; }
.shop .aq { color: var(--aqua); }
.shop .tag.aqua-t { color: var(--aqua); }

/* ---------- header extras: search button, the cart stays when empty ---------- */
.nav .nav-search { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: none; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.nav .nav-search svg { width: 19px; height: 19px; }
.nav .nav-search:hover { background: var(--ink); color: #05080c; border-color: var(--ink); }
.nav .nav-search + .cart-btn { margin-left: -12px; }
.shop .cart-btn.keep[hidden] { display: grid; }

/* ---------- crumbs: one line (the page's own name is cut with "…"); phones: "← parent" ---------- */
.shop .crumbs { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; min-width: 0; }
.shop .crumbs > * { flex: none; }
.shop .crumbs > [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.shop .crumb-back { display: none; align-items: center; gap: 8px; min-height: var(--tap); margin: -10px 0 4px; font: 700 13px var(--body); letter-spacing: .04em; color: var(--mute); }
.shop .crumb-back:hover { color: var(--ink); }

/* ---------- ticks: short assurances in one row ---------- */
.shop .ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--mute); }
.shop .ticks li { display: inline-flex; align-items: center; gap: 8px; line-height: 1.3; }
.shop .ticks svg { flex: none; width: 16px; height: 16px; color: var(--aqua); }
.shop .ticks a { color: var(--ink); font-weight: 700; }
.shop .ticks a:hover { color: var(--aqua); }

/* =====================================================================================================
   THE SHOP BAR (catalog.shop_bar(); behaviour in catalog.js)
   ===================================================================================================== */
.sbar-wrap { position: sticky; top: var(--hdr); z-index: 40; padding: 0 var(--pad); margin: 12px 0 clamp(14px, 1.6vw, 22px); pointer-events: none; }
.sbar { position: relative; z-index: 1; max-width: 1480px; margin: 0 auto; pointer-events: auto; }
.sbar-in { display: flex; align-items: center; gap: 10px; height: var(--sbar-h); padding: 8px; border-radius: 999px; background: rgba(8,12,17,.8); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 18px 50px -30px #000; }
.sbar-cat { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07); color: var(--ink); font: 700 14px var(--body); cursor: pointer; transition: background .25s, border-color .25s; }
.sbar-cat:hover, .sbar-cat[aria-expanded="true"] { border-color: var(--aqua); background: rgba(111,227,240,.1); }
.sbar-cat svg { width: 18px; height: 18px; }
.sbar-cat .chev, .sc-g .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sbar-cat[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sbar .ks { flex: 1; height: 46px; padding: 0 4px 0 16px; background: rgba(255,255,255,.05); }
.sbar .ks input { font-size: 15px; }
.sbar .ks-go { height: 38px; padding: 0 16px; font-size: 14px; }
.sbar .ks-pop { top: calc(100% + 14px); }
.sbar.hero-search:not(.show-search):not(.is-float) .ks { display: none; }
.sbar-note { flex: none; margin: 0 12px 0 auto; color: var(--mute); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sbar-note a { color: var(--ink); font-weight: 800; margin-left: 4px; }
.sbar-note a:hover { color: var(--aqua); }
.sbar .ks + .sbar-note { margin-left: 4px; }
.sbar.hero-search:not(.show-search):not(.is-float) .sbar-note { margin-left: auto; }  /* the search is hidden: the note goes right */
.sbar-scrim { position: fixed; inset: 0; z-index: 0; background: rgba(0,0,0,.5); pointer-events: auto; }
.sbar.is-float { position: fixed; top: var(--hdr); left: 16px; right: 16px; max-width: 980px; margin: 0 auto; }

/* Kategorijas: a 4 × 3 popover under the bar */
.sbar-cats { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: calc(100svh - var(--hdr) - var(--sbar-h) - 24px); overflow: auto; overscroll-behavior: contain;
  padding: 18px 20px 20px; border-radius: 26px; background: #080c11; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 50px 100px -40px #000; }
.sbar-cats:focus { outline: none; }
.sc-head { display: none; }
.sc-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 22px; }
.sc-g { min-width: 0; }
/* desktop: every group open, its name a link (.sc-gl); phones: the name is the accordion's summary */
.sc-g > summary { display: none; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.sc-g > summary::-webkit-details-marker { display: none; }
.sc-gl { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 14px; transition: background .2s; }
.sc-gl:hover { background: rgba(255,255,255,.05); }
.sc-gl:hover b, .sc-gl[aria-current] b { color: var(--aqua); }
.sc-g li a.is-on { color: var(--aqua); }
.sc-ph { flex: none; display: block; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--plate); }
.sc-ph img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.sc-ph .kc-none .mark { width: 60%; }
.sc-t { min-width: 0; }
.sc-t b { display: block; font: 800 15px/1.2 var(--display); letter-spacing: -0.02em; transition: color .2s; }
.sc-t small { display: block; color: var(--faint); font-size: 12px; font-weight: 600; margin-top: 2px; }
.sc-g ul { list-style: none; margin: 0 0 12px; padding: 0 6px 0 58px; }
.sc-g li a { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13.5px; font-weight: 600; color: rgba(244,241,234,.78); line-height: 1.3; }
.sc-g li a:hover { color: var(--aqua); }
.sc-g li small { flex: none; color: var(--faint); font-size: 11.5px; font-weight: 700; }
.sc-g li.sc-all a { color: var(--aqua); font-weight: 700; }
.sbar-all { margin-top: 14px; }
html.sb-lock, html.sb-lock body { overflow: hidden; }

/* =====================================================================================================
   /veikals/
   ===================================================================================================== */
.shop .block.shop-sec { padding: var(--shop-gap) var(--pad) 0; }
.shop .shop-sec > * { max-width: 1480px; margin-left: auto; margin-right: auto; }
.shop .shop-sec > .split { align-items: flex-end; gap: 14px 40px; }
.shop .shop-sec .h2 { font-size: clamp(28px, 4.2vw, 56px); letter-spacing: -0.05em; }
.shop .shop-sec .eyebrow.dim { margin-bottom: 14px; }
.shop .shop-sec .lead { max-width: 52ch; }
.shop .shop-sec.shop-x, .shop .shop-sec.shop-rel { padding-bottom: var(--shop-gap); }

/* hero: a compact film still, height from its content */
.shop-hero { min-height: 0; overflow: visible; }
.shop-hero:focus-within { z-index: 45; }
.shop-hero-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.shop-hero .still-img img { filter: contrast(1.05) saturate(1.05) brightness(.8); }
.shop-hero .still-copy { width: 100%; max-width: none; padding: calc(var(--hdr) + 24px) var(--pad) 24px; }
.shop-hero-in { max-width: 1480px; margin: 0 auto; }
.shop-hero .crumbs { margin-bottom: 14px; }
.shop-h1 { font: 900 clamp(36px, 6vw, 84px)/1 var(--display); letter-spacing: -0.05em; margin: 12px 0 0; }
.shop-hero .lede { max-width: 620px; margin-top: 16px; font-size: clamp(15px, 1.3vw, 18px); }
.shop-search { max-width: 680px; margin-top: 22px; }
.shop-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.shop-quick a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; border-radius: 99px; border: 1px solid rgba(255,255,255,.24);
  background: rgba(8,12,17,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.shop-quick a small { color: var(--faint); font-size: 12px; font-weight: 700; }
.shop-quick a:hover { border-color: var(--aqua); color: var(--aqua); }
.shop-hero .strust { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; text-shadow: none; }

/* the 12 groups */
.shop-groups.block.shop-sec { padding-top: 28px; }
.kt-sm-grid { margin-top: 28px; }


/* populāri: catalogue cards */
.shop-pop .kgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; }

/* how to buy, delivery facts */
.shop .shop-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shop .shop-steps .fact { padding: 24px; }
.shop .shop-steps .n { display: block; font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.shop .shop-steps .fact b { margin-top: 10px; font: 800 clamp(22px, 2vw, 28px)/1.1 var(--display); letter-spacing: -0.03em; }
.shop .shop-steps .fact span:last-child { margin-top: 8px; }
.shop .ship-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.shop .shop-steps + .ship-facts { margin-top: 14px; }
.shop .ship-facts .fact { min-width: 0; padding: clamp(18px, 2.2vw, 28px); }
.shop .ship-facts .fact b { font-size: clamp(28px, 3vw, 44px); line-height: 1; color: var(--ink); white-space: nowrap; }
.nw { white-space: nowrap; font-style: normal; }
.shop .ship-facts .fact:first-child b { color: var(--aqua); }
.shop .ship-facts .fact span { font-size: 15px; margin-top: 12px; }
.shop .ship-note { margin: 14px 0 0; color: var(--mute); font-size: 14px; }

/* brands */
.shop-brands.block.shop-sec { padding-top: clamp(40px, 5vw, 64px); }



/* ---------- Padomi: chapters ---------- */
.shop .pad-list { margin-top: 28px; border-bottom: 1px solid var(--line); }
.shop .pad-row { display: grid; grid-template-columns: 56px 1fr 46px; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.shop .pad-n { font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.shop .pad-t b { display: block; font: 800 clamp(18px, 1.8vw, 26px)/1.15 var(--display); letter-spacing: -0.03em; transition: color .25s; }
.shop .pad-t small { display: block; color: var(--mute); font-size: 14px; margin-top: 6px; max-width: 80ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop .pad-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); font-size: 17px; transition: background .3s, color .3s, transform .4s var(--ease); }
.shop .pad-row:hover .pad-t b { color: var(--aqua); }
.shop .pad-row:hover .pad-go { background: var(--aqua); color: #021820; border-color: var(--aqua); transform: translateX(4px); }
.shop .pad-all { margin: 22px 0 0; }

/* ---------- cross links: pools and covers ---------- */
.shop .xlinks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.shop .xl { position: relative; display: block; aspect-ratio: 21 / 9; border-radius: 26px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.shop .xl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.shop .xl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 35%, rgba(0,0,0,.72)); }
.shop .xl:hover img { transform: scale(1.05); }
.shop .xl-copy { position: absolute; inset: 0; padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; justify-content: space-between; }
.shop .xl-copy b { font: 900 clamp(24px, 2.4vw, 40px)/1.02 var(--display); letter-spacing: -0.05em; padding-right: 60px; }
.shop .xl-copy i { position: absolute; right: clamp(18px, 2.2vw, 28px); bottom: clamp(18px, 2.2vw, 28px); font-style: normal; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); transition: background .3s, color .3s; }
.shop .xl:hover .xl-copy i { background: #fff; color: #000; }


/* the quantity stepper (catalogue product pages) */


.shop .qty-big { flex: none; display: inline-flex; align-items: center; height: 60px; padding: 0 6px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; }
.shop .qty-big button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 22px; cursor: pointer; transition: background .2s; }
.shop .qty-big button:hover { background: rgba(255,255,255,.1); }
.shop .qty-big input { width: 42px; border: 0; background: none; text-align: center; font: 800 18px var(--body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.shop .qty-big input::-webkit-outer-spin-button, .shop .qty-big input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop .ticks.assure { margin-top: 22px; }





/* phones: the buy bar */
.buybar { display: none; }


/* =====================================================================================================
   CHECKOUT (/grozs/)
   ===================================================================================================== */
.co-head { position: relative; isolation: isolate; padding: calc(var(--hdr) + 26px) var(--pad) 24px; }
.co-head-in { position: relative; max-width: 1440px; margin: 0 auto; }
.co-head .crumbs { margin-bottom: 12px; }
.co-title { font: 900 clamp(30px, 4.4vw, 60px)/1 var(--display); letter-spacing: -0.05em; margin: 0; }
.co-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--faint); }
.co-steps li { display: inline-flex; align-items: center; gap: 8px; }
.co-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-size: 11px; font-weight: 800; }
.co-steps li.done { color: var(--mute); }
.co-steps li.done b { border-color: transparent; background: rgba(111,227,240,.16); color: var(--aqua); }
.co-steps li[aria-current] { color: var(--ink); }
.co-steps li[aria-current] b { border-color: var(--aqua); background: var(--aqua); color: #021820; }

.co-wrap { max-width: 1440px; margin: 0 auto; padding: clamp(24px, 3vw, 40px) var(--pad) clamp(90px, 10vw, 150px); }
.co-loading { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 90px 0; color: var(--mute); font-weight: 600; }
.co-loading .mark { width: 56px; height: 56px; color: var(--aqua); animation: whirl 2.6s linear infinite; }
.co-notice { padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255,208,138,.4); background: rgba(255,208,138,.08); color: var(--warm); margin: 0 0 20px; font-size: 14px; }
.co-empty { padding-top: 20px; }
.co-empty .h2 { font-size: clamp(28px, 4.2vw, 56px); }
.co-empty .lead { margin: 14px 0 22px; }

.co { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2.6vw, 36px); align-items: start; }
.co-main { min-width: 0; display: grid; gap: 14px; }
.co-final { padding: 0; }
.co-panel, .co-sum { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); padding: clamp(20px, 2.6vw, 32px); }
.co-panel { margin: 0; min-width: 0; }
.co-panel legend { float: left; width: 100%; padding: 0; margin: 0 0 22px; display: flex; align-items: baseline; gap: 14px; font: 900 clamp(24px, 2.4vw, 34px)/1.05 var(--display); letter-spacing: -0.04em; }
.co-panel legend + * { clear: both; }
.co-panel .n { font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.co-switch { margin-top: 4px; }
.co-company { margin-top: 2px; }
.co-gap { margin-top: 14px; }
.co-sum-tog { display: none; }
.co-agree { display: grid; gap: 12px; padding: 0 6px; }
.co-agree:not(:has(.check)) { display: none; }
.co-final-note { margin: 0; padding: 0 6px; }

.opts { display: grid; gap: 10px; }
.opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.025); cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.opt:hover { border-color: rgba(255,255,255,.34); }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt-dot { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); transition: border-color .25s; }
.opt-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--aqua); transform: scale(0); transition: transform .3s var(--ease); }
.opt input:checked + .opt-dot { border-color: var(--aqua); }
.opt input:checked + .opt-dot::after { transform: none; }
.opt:has(input:checked) { border-color: var(--aqua); background: rgba(111,227,240,.07); box-shadow: inset 0 0 0 1px var(--aqua); }
.opt:has(input:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 3px; }
.opt-t b { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; }
.opt-t small { display: block; color: var(--mute); font-size: 13px; margin-top: 3px; }
.opt strong { font-weight: 800; font-size: 15px; white-space: nowrap; }
.shop .free { color: var(--aqua); }

.locker { margin-top: 16px; }
.locker-list { list-style: none; margin: 10px 0 0; padding: 0; max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.locker-list:empty { display: none; }
.locker-list li { padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.locker-list li:last-child { border-bottom: 0; }
.locker-list li:hover, .locker-list li:focus { background: rgba(111,227,240,.09); outline: none; }
.locker-list li.none { color: var(--mute); cursor: default; }
.locker-list b, .locker-chosen b { display: block; font-size: 15px; line-height: 1.3; }
.locker-list small, .locker-chosen small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.locker-chosen { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--aqua); border-radius: 16px; background: rgba(111,227,240,.07); }
.locker-chosen .ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: #021820; font-weight: 800; }
.locker-chosen .link { min-height: 44px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0; cursor: pointer; font-size: 11px; color: var(--ink); }
.locker.bad .field input { border-color: #ff8a7a; }

.co-aside { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 14px; }
.co-h { font: 900 clamp(28px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -0.04em; margin: 0 0 6px; }
.co-lines, .co-totals { transition: opacity .3s; }
.co.is-pricing .co-lines, .co.is-pricing .co-totals, .co.is-pricing .co-final-total { opacity: .45; }
.co-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.co-line img, .co-line > span:first-child { width: 48px; height: 48px; object-fit: contain; padding: 4px; border-radius: 10px; background: var(--plate); }
.co-line-t { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; }
.co-line-t:hover { color: var(--aqua); }
.co-line small { display: block; color: var(--mute); font-size: 13px; margin: 3px 0 8px; }
.co-line .qty { margin-top: 0; }
.co-line .qty button { width: 44px; height: 44px; font-size: 18px; }
.co-rm { display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; background: none; border: 0; padding: 0 4px; margin-left: 8px; color: var(--faint); font-size: 12px; text-decoration: underline; cursor: pointer; }
.co-rm:hover { color: var(--ink); }
.co-line > b { font-weight: 800; white-space: nowrap; font-size: 15px; }
.co-totals { margin-top: 16px; display: grid; gap: 8px; font-size: 15px; }
.co-totals > div { display: flex; justify-content: space-between; gap: 14px; color: var(--mute); }
.co-totals > div > span:last-child { color: var(--ink); font-weight: 600; }
.co-totals > div > span.free { color: var(--aqua); }
.co-totals .grand { align-items: baseline; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.co-totals .grand span:first-child { font-weight: 700; }
.co-totals .grand span:last-child { font: 900 clamp(36px, 3.2vw, 48px)/1 var(--display); letter-spacing: -0.045em; }
.co-final-total { display: none; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.co-final-total span { font-weight: 700; }
.co-final-total b { font: 900 36px/1 var(--display); letter-spacing: -0.045em; }
.co-consents { display: grid; gap: 12px; }
.co-consents .check a { color: var(--ink); text-decoration: underline; }
.check.bad span { color: #ffb4a8; }
.co-submit { width: 100%; min-height: 60px; margin-top: 0; font-size: 17px; }
.co-final .form-note { margin-top: 12px; }

/* done: night water and the thank-you */
.co-done { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; background: #021820; display: flex; align-items: center; justify-content: center; text-align: center; outline: none; }
.co-done .water { position: absolute; inset: 0; width: 100%; height: 100%; }
.co-done-copy { position: relative; z-index: 2; padding: 120px 20px 90px; max-width: 980px; opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease) .3s, transform 1.2s var(--ease) .3s; }
.co-done.on .co-done-copy { opacity: 1; transform: none; }
.co-done-copy .mark { width: 76px; height: 76px; margin: 0 auto 26px; color: #fff; animation: whirl 9s linear infinite; }
.co-done-copy .eyebrow b { color: var(--aqua); }
.co-done h2 { font: 900 clamp(52px, 9vw, 150px)/1 var(--display); letter-spacing: -0.055em; margin: 18px 0 0; text-shadow: 0 4px 40px rgba(0,0,0,.4); }
.co-done h2 span { color: var(--aqua); }
.co-done p { color: rgba(255,255,255,.85); font-size: 18px; margin: 22px auto 0; max-width: 44ch; }
.co-done .actions { justify-content: center; margin-top: 30px; }

/* =====================================================================================================
   CART DRAWER AND TOAST on shop pages (the drawer itself: site.js / 00-base.css; catalog.js adds the rest)
   ===================================================================================================== */
/* (moved to 00-base.css: the drawer, its rows and the phone toast are the same on every page) */

/* =====================================================================================================
   RESPONSIVE
   ===================================================================================================== */
@media (max-width: 1100px) {
  .sbar-note { display: none; }
  .sc-body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-pop .kgrid, .shop-goes .kgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-pop .kc:nth-child(n+7), .shop-goes .kc:nth-child(n+4) { display: none; }
  .shop .ship-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shop .xlinks { grid-template-columns: 1fr; }

  .buybar { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 22px; background: rgba(8,12,17,.86); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transform: translateY(150%); transition: transform .5s var(--ease); }
  .buybar.on { transform: none; }
  body.bb-on main { padding-bottom: 84px; }
  .bb-t { flex: 1; min-width: 0; }
  .bb-t b { display: block; font-size: 12px; font-weight: 600; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-t span { display: block; font: 900 21px/1.15 var(--display); letter-spacing: -0.03em; }
  .bb-t s { font: 600 12px var(--body); color: var(--faint); letter-spacing: 0; }
  .buybar .btn { flex: none; min-height: 48px; padding: 0 18px; font-size: 15px; }

  .co { display: flex; flex-direction: column; gap: 14px; }
  .co-main { order: 0; width: 100%; }
  .co-aside { display: contents; }
  .co-sum { order: -1; width: 100%; }
  .co-agree { order: 1; width: 100%; }
  .co-final { order: 2; width: 100%; }
  .co-final-note { order: 3; }
  .co-final-total { display: flex; }
}
@media (max-width: 700px) {
  body.shop { --hdr: 76px; --sbar-h: 56px; }
  .shop .crumbs:has(+ .crumb-back) { display: none; }
  .shop .crumb-back { display: inline-flex; }
  .nav .nav-search + .cart-btn { margin-left: 0; }

  /* the bar is not sticky on phones: header + bar + toolbar would eat the screen */
  .sbar-wrap { position: relative; top: auto; margin-top: 12px; padding: 0 16px; }
  .sbar-in { padding: 6px; gap: 6px; border-radius: 22px; }
  .sbar-cat { height: 44px; padding: 0 12px; }
  .sbar .ks { height: 44px; padding: 0 12px; }
  .sbar .ks-go { display: none; }
  .sbar.hero-search:not(.show-search):not(.is-float) .sbar-cat { flex: 1; justify-content: center; }
  .sbar.is-float { left: 10px; right: 10px; }
  .sbar.is-float .sbar-cat { display: none; }
  .sbar.is-float .ks { height: 50px; }
  /* Kategorijas: a full-height sheet with accordions */
  .sbar-cats { position: fixed; z-index: 49; inset: var(--hdr) 0 0; top: var(--hdr); max-height: none; display: flex; flex-direction: column; padding: 0;
    border-radius: 22px 22px 0 0; background: var(--bg2); border-bottom: 0; }
  .sc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
  .sc-head b { font: 800 22px var(--display); letter-spacing: -0.03em; }
  .sc-x { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: none; color: var(--ink); cursor: pointer; }
  .sc-x svg { width: 20px; height: 20px; }
  .sc-body { display: block; flex: 1; overflow: auto; overscroll-behavior: contain; padding: 4px 12px 16px; }
  .sc-g { border-bottom: 1px solid var(--line); }
  .sc-g > summary { display: flex; min-height: 60px; padding: 6px 8px 6px 6px; }
  .sc-g > summary .sc-t { flex: 1; }
  .sc-g > summary .chev { display: block; flex: none; color: var(--mute); }
  .sc-gl { display: none; }
  .sc-g[open] > summary .chev { transform: rotate(180deg); }
  .sc-g ul { padding: 0 8px 10px 58px; margin: 0; }
  .sc-g li a { min-height: var(--tap); align-items: center; font-size: 15px; }
  .sbar-all { flex: none; display: flex; justify-content: center; margin: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-bottom: 0; }

  .shop-hero .still-copy { padding: calc(var(--hdr) + 18px) 16px 22px; }
  .shop-h1 { font-size: clamp(36px, 11vw, 46px); }
  .shop-hero .lede { font-size: 15px; margin-top: 12px; }
  .shop-search { margin-top: 18px; }
  .shop-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 0 16px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .shop-quick::-webkit-scrollbar { display: none; }
  .shop-quick a { flex: none; min-height: 44px; font-size: 13px; }
  .shop-hero .strust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 18px; padding-top: 14px; font-size: 12.5px; }

  .shop .block.shop-sec { padding-left: 16px; padding-right: 16px; }
  .shop-groups.block.shop-sec { padding-top: 32px; }
  .kt-sm-grid { margin-top: 20px; }
  .shop-pop .kgrid, .shop-goes .kgrid { margin-top: 20px; }
  .shop .shop-steps { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .shop .shop-steps .fact { padding: 18px; }
  .shop .shop-steps .fact b { font-size: 21px; }
  .shop .ship-facts { gap: 8px; margin-top: 22px; }
  .shop .shop-steps + .ship-facts { margin-top: 8px; }
  .shop .ship-facts .fact { padding: 16px 14px; border-radius: 18px; }
  .shop .ship-facts .fact b { font-size: clamp(24px, 7.2vw, 30px); }
  .shop .ship-facts .fact span { font-size: 13.5px; margin-top: 10px; }
  .shop .pad-row { grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 10px; padding: 16px 0; }
  .shop .pad-go { width: 40px; height: 40px; }
  .shop .pad-t small { font-size: 13.5px; }
  .shop .xl { aspect-ratio: 16 / 10; border-radius: 20px; }
  .shop .xl-copy b { font-size: 24px; }

  .co-head { padding: calc(var(--hdr) + 14px) 16px 16px; }
  .co-steps { gap: 6px 14px; font-size: 12px; margin-top: 14px; }
  .co-steps b { width: 24px; height: 24px; }
  .co-wrap { padding-left: 16px; padding-right: 16px; }
  .co-sum-tog { display: flex; align-items: center; gap: 10px; width: 100%; min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--ink); font: 700 15px var(--body); text-align: left; cursor: pointer; }
  .co-sum-tog span { flex: 1; min-width: 0; }
  .co-sum-tog b { font: 900 18px var(--display); letter-spacing: -0.03em; white-space: nowrap; }
  .co-sum-tog .chev { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
  .co-sum-tog[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .co-sum { padding: 10px 16px; }
  .co-sum:not(.open) > :not(.co-sum-tog) { display: none; }
  .co-sum.open > .co-h { display: none; }
  .co-final { position: sticky; bottom: 0; z-index: 30; margin: 0 -16px; width: auto; border-top: 1px solid rgba(255,255,255,.14); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0;
    background: rgba(8,12,17,.9); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 0; }
  .co-final-total { margin-bottom: 8px; }
  .co-final-total b { font-size: 28px; }
  .co-final .co-submit { margin-top: 0; min-height: 54px; }
  .stoast { font-size: 14px; padding-left: 16px; }
}
@media (max-width: 560px) {
  .co-panel, .co-final:not(:only-child) { border-radius: 20px; }
  .co-panel { padding: 20px 16px; }
  .co-panel legend { font-size: 24px; }
  .opt { padding: 14px; gap: 12px; }
  .opt-t b { font-size: 15px; }
  .co-done-copy .actions .btn { flex: 1 1 auto; }
}
@media (hover: none) {
}
@media (prefers-reduced-motion: reduce) {
  .co-done-copy { opacity: 1; transform: none; transition: none; }
  .stoast { transition: none; }
}
.co-totals .grand span:last-child, .co-final-total b, .bb-t span, .pd-stat b, .co-line > b { word-spacing: .1em; }
.shop-brands .kbrands a { font-size: clamp(15px, 1.3vw, 18px); }

/* phones: a shorter /veikals/ (the film mood stays in the hero, the word-rise and the finale) */
@media (max-width: 700px) {
  body.shop { --shop-gap: 44px; }
  .shop .shop-sec .h2 br { display: none; }
  .shop .shop-sec > .split { flex-wrap: nowrap; align-items: flex-end; gap: 12px; }
  .shop .shop-sec > .split > .link { flex: none; font-size: 11px; letter-spacing: .1em; }
  .shop .shop-sec > .split .lead { font-size: 14px; }
  .shop .shop-sec > .split:has(.lead) { flex-wrap: wrap; }
  .shop .shop-steps .fact { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; padding: 14px 16px; }
  .shop .shop-steps .n { grid-row: span 2; padding-top: 4px; }
  .shop .shop-steps .fact b { margin-top: 0; font-size: 18px; }
  .shop .shop-steps .fact span:last-child { margin-top: 4px; font-size: 13.5px; }
  .shop .pad-t small { display: none; }
  .shop .pad-row { padding: 14px 0; }
  .shop-x .xlinks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shop-x .xl { aspect-ratio: 4 / 5; border-radius: 18px; }
  .shop-x .xl-copy { padding: 14px; }
  .shop-x .xl-copy b { font-size: 18px; padding-right: 0; }
  .shop-x .xl-copy b br { display: none; }
  .shop-x .xl-copy i { width: 36px; height: 36px; right: 12px; top: 12px; bottom: auto; }
  .shop .finale { height: 78svh; min-height: 520px; }
}
.sbar .ks { min-width: 0; }
@media (max-width: 700px) {
  .sbar.hero-search:not(.is-float) .ks { display: none; }
  .sbar.hero-search:not(.is-float) .sbar-cat { flex: 1; justify-content: center; }
  .sbar-cat span { white-space: nowrap; }
}
@media (max-width: 700px) {
  body.shop { --shop-gap: 40px; }
  .shop-how > .split .lead { display: none; }
  .shop-brands .kbrands { flex-wrap: nowrap; gap: 12px; }
  .shop-brands .kbrands > div { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .shop-brands .kbrands > div::-webkit-scrollbar { display: none; }
  .shop-brands .kbrands a { flex: none; }
}
@media (max-width: 700px) {
  .shop-groups.block.shop-sec { padding-top: 24px; }
}
@media (max-width: 700px) {
  .co-final { align-self: stretch; }
  .co-final-total span { font-size: 14px; }
}

/* ---------- review fixes (19 Nov) ---------- */
/* the word-rise masks clip a text-shadow into dark boxes: a drop-shadow on the whole headline instead */
.shop-hero .shop-h1 { text-shadow: none; filter: drop-shadow(0 2px 22px rgba(0,0,0,.35)); }
/* the hero melts into the page instead of ending in a hard edge */
.shop-hero-fx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(60px, 9vw, 120px); z-index: 3; pointer-events: none;
  background: linear-gradient(rgba(5,8,12,0), var(--bg)); }
@media (max-width: 1100px) {
}
@media (max-width: 700px) {
  .hide-m { display: none; }
  .strust a { white-space: nowrap; }
  .shop .shop-sec > .split > .link, .shop .pad-all .link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  /* category / product pages: "Kategorijas" is an icon, the search gets the width */
  .sbar:not(.hero-search) .sbar-cat { width: 44px; padding: 0; justify-content: center; }
  .sbar:not(.hero-search) .sbar-cat span, .sbar:not(.hero-search) .sbar-cat .chev { display: none; }
  /* /grozs/: a focused field never hides under the header or the sticky submit bar */
  html:has(body.shop-cart) { scroll-padding-top: 90px; scroll-padding-bottom: 150px; }
}
@media (max-width: 380px) {
  .shop .ship-facts .fact b { font-size: clamp(20px, 6.2vw, 30px); }
}

/* =====================================================================================================
   DELIVERY (newsite/delivery.py, site.js PlungoDelivery): the product page's line + postal-code checker,
   the public price table (/veikals/#piegade and /noteikumi/). Not scoped under .shop: /noteikumi/ shows the table too.
   ===================================================================================================== */
.ship-line { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 18px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(111,227,240,.05); font-size: 14.5px; line-height: 1.45; color: var(--mute); }
.ship-line > svg { width: 22px; height: 22px; color: var(--aqua); margin-top: 1px; }
.ship-line p { margin: 0; }
.ship-line b { color: var(--ink); }
.ship-kg { color: var(--faint); white-space: nowrap; }
.ship-check { display: flex; gap: 8px; margin-top: 10px; }
.ship-check[hidden] { display: none; }
.ship-check input { flex: 1; min-width: 0; max-width: 170px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05); color: var(--ink); font: 600 16px var(--body); }
.ship-check input:focus { outline: none; border-color: var(--aqua); background: rgba(111,227,240,.06); }
.ship-check button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.3); background: none; color: var(--ink);
  font: 700 14px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.ship-check button:hover { background: var(--ink); color: #05080c; }
.ship-res { margin: 8px 0 0 !important; }
.ship-res:empty { display: none; }
.ship-res b { color: var(--aqua); }

.ship-head { margin-top: clamp(48px, 6vw, 84px); display: grid; gap: 12px; }
.ship-head .eyebrow.dim { margin-bottom: 0; }
.ship-head .lead { max-width: 70ch; }
.ship-table { margin-top: 22px; }
.ship-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); }
.ship-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; margin: 0; }
.ship-table caption { caption-side: top; text-align: left; padding: 16px 18px 6px; color: var(--mute); font-size: 13px; }
.ship-table th, .ship-table td { padding: 14px 18px; border: 0; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; background: none; }
.ship-table thead th { border-top: 0; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.ship-table th:first-child { text-align: left; }
.ship-table tbody th { font-weight: 700; color: var(--ink); }
.ship-table td { font: 800 17px var(--display); letter-spacing: -0.02em; color: var(--ink); transition: background .3s, color .3s; }
.ship-table td.free { text-align: center; color: var(--aqua); font: 700 15px var(--body); letter-spacing: 0; }
.ship-table td.arr { text-align: center; color: var(--warm, #ffd08a); font: 700 15px var(--body); letter-spacing: 0; }
.ship-table .hit { color: var(--aqua); background: rgba(111,227,240,.09); }
.ship-fine { color: var(--mute); font-size: 14px; margin: 12px 0 0; }
.ship-check-tbl { flex-wrap: wrap; align-items: center; margin-top: 16px; }
.ship-check-tbl label { flex-basis: 100%; font: 700 13px var(--body); letter-spacing: .04em; color: var(--mute); }
.ship-check-tbl .ship-res { flex-basis: 100%; color: var(--ink); }

/* =====================================================================================================
   CHECKOUT additions: the demo notice, delivery ways, parcel lockers, availability, the empty cart's cards
   ===================================================================================================== */
.co-demo { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; border: 1px dashed rgba(255,208,138,.55); background: rgba(255,208,138,.07); color: var(--warm); font-size: 14px; }
.co-demo b { color: var(--warm); }
.co-demo[hidden] { display: none; }
.opt.off { opacity: .5; cursor: not-allowed; }
.opt.off input { cursor: not-allowed; }
.co-av { color: var(--warm); font-weight: 700; }
.co-av-note { margin: 14px 0 0; color: var(--mute); font-size: 13px; line-height: 1.5; }
.co-arr-note { margin: 12px 0 0; color: var(--mute); font-size: 13px; line-height: 1.5; }
.co-totals > div > span.arr { color: var(--warm, #ffd08a); }
.co-totals .vat { font-size: 13px; }
.co-totals small { color: var(--faint); font-size: 12px; font-weight: 600; }
.field span small { font-weight: 600; color: var(--faint); letter-spacing: 0; }
.co-carriers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.co-carrier { position: relative; }
.co-carrier input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.co-carrier span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22);
  font-weight: 700; font-size: 14px; transition: border-color .2s, background .2s, color .2s; }
.co-carrier input:checked + span { border-color: var(--aqua); background: rgba(111,227,240,.1); color: var(--aqua); }
.co-carrier input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.co-locker .form-note { margin-top: 8px; }
.co-pop { margin-top: 32px; }
@media (min-width: 1000px) { .co-pop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- the order's way: Saņemts → Apmaksāts → (Pasūtīts no ražotāja) → Nodots piegādei → Piegādāts ---------- */
.tracker { list-style: none; margin: 18px 0; padding: 0; display: grid; }
.tracker li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; padding-bottom: 20px; color: var(--faint); font-weight: 700; font-size: 15px; line-height: 1.35; }
.tracker li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: var(--bg); margin: 2px 0 0 6px; z-index: 1; }
.tracker li::after { content: ""; position: absolute; left: 13px; top: 20px; bottom: 0; width: 2px; background: rgba(255,255,255,.12); }
.tracker li:last-child { padding-bottom: 0; }
.tracker li:last-child::after { display: none; }
.tracker li.done { color: var(--ink); }
.tracker li.done::before { background: var(--aqua); border-color: var(--aqua); }
.tracker li.done::after { background: rgba(111,227,240,.6); }
.tracker li.now { color: var(--ink); }
.tracker li.now::before { border-color: var(--aqua); box-shadow: 0 0 0 5px rgba(111,227,240,.16); animation: trk-pulse 1.8s infinite; }
@keyframes trk-pulse { 50% { box-shadow: 0 0 0 9px rgba(111,227,240,0); } }
.tracker small { font-weight: 500; font-size: 13px; color: var(--mute); }
.tracker li > small { white-space: nowrap; padding-top: 1px; }

/* ---------- /grozs/paldies/ ---------- */
.co-done.ty-hero { min-height: 72svh; }
.ty-h1 { font: 900 clamp(52px, 9vw, 150px)/1 var(--display); letter-spacing: -0.055em; margin: 18px 0 0; text-shadow: 0 4px 40px rgba(0,0,0,.4); overflow-wrap: anywhere; }
.ty-hero [hidden] { display: none !important; }
.ty-wrap, .trk-wrap, .inv-wrap { max-width: 1440px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--pad) clamp(70px, 9vw, 130px); }
.ty-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ty-panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); padding: clamp(20px, 2.6vw, 32px); }
.ty-panel .eyebrow.dim { margin-bottom: 6px; }
.ty-inv-card { margin-top: 16px; display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: #f4f1ea; color: #0b1116; }
.ty-inv-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ty-inv-row b { font-weight: 800; text-align: right; }
.ty-inv-row b.ok { color: #0a7a52; }
.ty-inv-row b.wait { color: #8a5200; }
.ty-pay-ref { margin: 4px 0 0; font-size: 13px; color: #45505a; }
.ty-sent { color: var(--mute); font-size: 14px; margin: 14px 0 0; }
.ty-panel .actions { margin-top: 16px; }
.ty-panel .actions .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
.ty-facts { margin: 18px 0 0; display: grid; gap: 12px; font-size: 14px; }
.ty-facts div { display: grid; gap: 3px; }
.ty-facts dt { color: var(--faint); font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; }
.ty-facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.ty-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.ty-missing { padding: 24px 0; }
.ty-missing .lead { margin: 12px 0 20px; }
@media (max-width: 1100px) { .ty-grid { grid-template-columns: 1fr 1fr; } .ty-order { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .ty-grid { grid-template-columns: 1fr; }
  .co-done.ty-hero { min-height: 0; }
  .co-done.ty-hero .co-done-copy { padding: 116px 16px 56px; }
  .co-done.ty-hero .actions .btn { flex: 1 1 100%; }
}

/* ---------- /pasutijums/ ---------- */
.trk-grid { display: grid; gap: 14px; max-width: 880px; }
.trk-find { display: grid; gap: 14px; max-width: 560px; }
.trk-find .btn { justify-self: start; }
.trk-find .form-error { margin: 0; }
.trk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.trk-top .muted { margin: 4px 0 0; font-size: 14px; }
.trk-pill { flex: none; padding: 7px 14px; border-radius: 99px; background: rgba(111,227,240,.12); color: var(--aqua); font: 800 13px var(--body); white-space: nowrap; }
.trk-pill.received { background: rgba(255,208,138,.12); color: var(--warm); }
.trk-line { margin: 22px 0 18px; }
.trk-carrier { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(111,227,240,.4); background: rgba(111,227,240,.06); }
.trk-carrier span { font: 800 16px var(--display); letter-spacing: .03em; }
.trk-res .actions { margin-top: 18px; }
.trk-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,208,138,.4); color: var(--warm); font-size: 13px; }
.trk-demo[hidden] { display: none; }
.trk-demo .btn { min-height: 44px; font-size: 14px; padding: 0 16px; }
.trk-help { color: var(--mute); font-size: 14px; margin: 22px 0 0; }
.trk-help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* the online withdrawal: a quiet text link in the order details, a small panel, then the status (pages/shop.py withdrawal_box) */
.trk-wd { margin-top: 14px; min-width: 0; }
.trk-wd[hidden], .trk-wd [hidden] { display: none; }
.trk-wd-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--mute); font: 600 14px var(--body); text-decoration: underline; text-decoration-color: rgba(244,241,234,.35); text-underline-offset: 4px; }
.trk-wd-link:hover, .trk-wd-link:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.trk-wd-form { display: grid; gap: 16px; margin-top: 4px; padding: clamp(16px, 2vw, 22px); border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); min-width: 0; }
.trk-wd-h { margin: 0; font: 800 18px/1.2 var(--display); letter-spacing: -0.02em; }
.trk-wd-scope { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.trk-wd-scope legend { padding: 0; margin: 0 0 10px; color: var(--faint); font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; }
.trk-wd-lines { display: grid; gap: 2px; margin: 2px 0 0 30px; min-width: 0; }
.trk-wd-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 6px 0; border-top: 1px solid var(--line); }
.trk-wd-line .check { min-width: 0; color: var(--ink); }
.trk-wd-line .check span { overflow-wrap: anywhere; }
.trk-wd-line select { flex: none; min-width: 64px; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: var(--ink); }
.trk-wd-line select option { background: #0a1016; color: var(--ink); }
.trk-wd-one { flex: none; min-width: 64px; text-align: center; color: var(--mute); font-size: 14px; }
.trk-wd-form .field textarea { min-height: 72px; }
.trk-wd-cost { margin: 0; color: var(--mute); font-size: 13px; line-height: 1.5; }
.trk-wd-cost a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.trk-wd-form .form-error { margin: 0; }
.trk-wd-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.trk-wd-act .btn { min-height: 44px; font-size: 14px; padding: 0 18px; }
.trk-wd-done { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,208,138,.35); background: rgba(255,208,138,.05); font-size: 14px; line-height: 1.5; outline: none; }
.trk-wd-st { margin: 0; font-weight: 800; color: var(--warm); }
.trk-wd-list { margin: 8px 0 0; padding: 0 0 0 18px; color: var(--ink); overflow-wrap: anywhere; }
.trk-wd-note { margin: 8px 0 0; color: var(--mute); font-size: 13px; overflow-wrap: anywhere; }
.trk-pill.wd { background: rgba(255,208,138,.12); color: var(--warm); }
.tracker li.wd::before { background: var(--warm); border-color: var(--warm); }

/* ---------- /grozs/rekins/: white paper on the dark page; printing (= "PDF") leaves only the paper ---------- */
.inv-bar { max-width: 980px; margin: 0 auto; padding: calc(var(--hdr) + 18px) var(--pad) 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shop-invoice .inv-bar .crumb-back { display: inline-flex; margin: 0; }
.inv-wrap { max-width: 980px; padding-top: 16px; }
.inv-sheet { background: #fff; color: #10161c; border-radius: 6px; padding: clamp(22px, 5vw, 56px); box-shadow: 0 40px 120px -40px rgba(111,227,240,.35); font: 400 14px/1.5 var(--body); }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 20px; border-bottom: 2px solid #10161c; }
.inv-brand { display: flex; align-items: center; gap: 12px; }
.inv-brand .mark { width: 44px; height: 44px; color: #0b6f7c; }
.inv-brand b { display: block; font: 900 22px/1.1 var(--display); letter-spacing: -0.03em; }
.inv-brand small { color: #5b6670; }
.inv-title { text-align: right; }
.inv-title h1 { font: 900 clamp(22px, 3vw, 32px)/1.1 var(--display); letter-spacing: -0.03em; margin: 0; }
.inv-title p { margin: 4px 0 0; }
.inv-stamp { display: inline-block; margin-top: 8px !important; padding: 3px 10px; border: 2px solid currentColor; border-radius: 6px; font: 800 12px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.inv-stamp.ok { color: #0a7a52; }
.inv-stamp.wait { color: #8a5200; }
.inv-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.inv-meta div { min-width: 0; }
.inv-meta dt, .inv-parties h2 { font: 700 10.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: #5b6670; margin: 0 0 4px; }
.inv-meta dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid #d9dee2; border-bottom: 1px solid #d9dee2; }
.inv-parties p { margin: 0; overflow-wrap: anywhere; }
.inv-parties .inv-h-ship { margin-top: 14px; }
.inv-bank { margin-top: 10px !important; }
.inv-lines td.inv-arr { font-style: italic; }
.inv-lines { width: 100%; border-collapse: collapse; margin-top: 18px; }
.inv-lines th { font: 700 10.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: #5b6670; text-align: left; padding: 8px 6px; border-bottom: 1px solid #10161c; }
.inv-lines td { padding: 10px 6px; border-bottom: 1px solid #e3e7ea; vertical-align: top; }
.inv-lines .r { text-align: right; white-space: nowrap; }
.inv-code { display: block; color: #6b7680; font-size: 12px; }
.inv-sum { margin: 16px 0 0 auto; max-width: 340px; display: grid; gap: 6px; }
.inv-sum div { display: flex; justify-content: space-between; gap: 16px; }
.inv-sum dt { color: #45505a; }
.inv-sum dd { margin: 0; font-weight: 700; white-space: nowrap; }
.inv-sum .grand { margin-top: 4px; padding-top: 10px; border-top: 2px solid #10161c; align-items: baseline; }
.inv-sum .grand dt { color: #10161c; font-weight: 700; }
.inv-sum .grand dd { font: 900 24px var(--display); letter-spacing: -0.02em; }
.inv-note { margin: 22px 0 0; font-weight: 700; }
/* a demonstration order's invoice can never pass for a real one, on screen or printed (shop.js hides [data-demo] for real orders) */
.inv-sheet { position: relative; overflow: hidden; }
.inv-demo { margin: 0 0 16px; padding: 8px 12px; border: 2px dashed #b3261e; border-radius: 6px; color: #b3261e; font: 800 13px var(--body); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.inv-watermark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 2;
  font: 900 clamp(48px, 11vw, 120px)/1 var(--display); letter-spacing: -0.02em; text-transform: uppercase; color: rgba(179, 38, 30, .1); transform: rotate(-28deg); white-space: nowrap; }
.inv-demo[hidden], .inv-watermark[hidden] { display: none; }
.inv-fine { margin: 10px 0 0; color: #6b7680; font-size: 12px; }
@media (max-width: 700px) {
  .inv-top { flex-direction: column; }
  .inv-title { text-align: left; }
  .inv-meta { grid-template-columns: 1fr 1fr; }
  .inv-parties { grid-template-columns: 1fr; }
  .inv-lines { font-size: 13px; }
  .inv-lines th:first-child, .inv-lines td:first-child { display: none; }
  .inv-lines th:nth-child(5), .inv-lines td:nth-child(5) { display: none; }
}
@media print {
  @page { size: A4; margin: 14mm; }
  html, body { background: #fff !important; color: #000 !important; }
  .nav, .menu, .foot, .finale, .no-print, .skip, .drawer, .drawer-scrim, .toast, .stoast, .co-demo { display: none !important; }
  .inv-wrap { padding: 0; max-width: none; }
  .inv-sheet { box-shadow: none; border-radius: 0; padding: 0; }
  .inv-meta { grid-template-columns: repeat(4, 1fr); }
  .inv-parties { grid-template-columns: 1fr 1fr; }
  .inv-lines th, .inv-lines td { display: table-cell !important; }
  .inv-watermark { color: rgba(179, 38, 30, .14); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .inv-demo { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== 35-catalog.css ===== */
/* Catalogue: /veikals/katalogs/…, /veikals/p/…, the search, the catalogue card and the group tiles (also on /veikals/).
   A working catalogue inside the film: dark water light, product photos on lit white plates, fast to scan. */
.catalog .aq { color: var(--aqua); }

/* ---------- page head: light moving under dark water ---------- */
.kb { position: relative; z-index: 25; isolation: isolate; padding: 124px var(--pad) clamp(34px, 5vw, 64px); }
.kb:focus-within { z-index: 45; }
.kb.kb-compact { padding: calc(var(--hdr, 86px) + 28px) var(--pad) 28px; }
.kb-fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.kb-fx .kb-glow, .kb-fx .grain { z-index: 0; }
.kb-glow { position: absolute; inset: -30% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 46% at 22% 34%, rgba(111,227,240,.20), transparent 70%), radial-gradient(30% 36% at 82% 8%, rgba(255,208,138,.08), transparent 70%),
    radial-gradient(40% 40% at 70% 90%, rgba(30,120,150,.16), transparent 70%);
  animation: kb-drift 22s ease-in-out infinite alternate; }
@keyframes kb-drift { to { transform: translate3d(4%, 3%, 0) scale(1.06); } }
.kb .grain, .kp .grain { z-index: -1; }
.kb-in { position: relative; max-width: 1480px; margin: 0 auto; }
.kb .crumbs { margin-bottom: 18px; }
.kb-t { font: 900 clamp(44px, 7.6vw, 124px)/1 var(--display); letter-spacing: -0.055em; margin: 14px 0 0; text-wrap: balance; overflow-wrap: anywhere; }
.kb-cat .kb-t { font-size: clamp(40px, 6vw, 96px); }
.kb-lead { color: var(--mute); font-size: clamp(15px, 1.3vw, 18px); max-width: 62ch; margin: 18px 0 0; }
.kb-compact .kb-t, .kb-compact.kb-cat .kb-t { font-size: clamp(30px, 4.4vw, 60px); letter-spacing: -0.05em; }
.kb-compact .kb-lead { font-size: 15px; max-width: 90ch; margin-top: 12px; }
.kb-compact .crumbs { margin-bottom: 12px; }
.kb-compact .ks { margin-top: 20px; max-width: 680px; }
.kb .ks { margin-top: 26px; max-width: 760px; }

/* ---------- search ---------- */
.ks { position: relative; z-index: 30; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 6px 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s, background .25s, box-shadow .25s; }
.ks:focus-within { border-color: var(--aqua); background: rgba(111,227,240,.07); box-shadow: 0 0 0 5px rgba(111,227,240,.12); }
.ks > svg { flex: none; width: 20px; height: 20px; color: var(--mute); }
.ks input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 17px; font-weight: 500; color: var(--ink); }
.ks input::placeholder { color: var(--faint); }
.ks input::-webkit-search-cancel-button, .ks input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.ks-key { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line); color: var(--faint); font: 700 12px var(--body); }
.ks:focus-within .ks-key { display: none; }
.ks-go { flex: none; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--aqua); color: #021820; font-weight: 800; font-size: 15px; cursor: pointer; transition: transform .25s var(--ease); }
.ks-go:hover { transform: translateY(-1px); }
.ks-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(68vh, 600px); overflow: auto; overscroll-behavior: contain; padding: 8px;
  border-radius: 24px; background: #080c11; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 40px 90px -30px #000; text-align: left; }
.ks-pop[hidden] { display: none; }
.ks-sec { padding: 10px 12px 6px; font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.ks-opt { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 16px; cursor: pointer; color: var(--ink); }
.ks-opt[aria-selected="true"] { background: rgba(111,227,240,.11); }
.ks-opt .ks-img { width: 52px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.ks-opt .ks-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.ks-opt .ks-img .mark { width: 26px; height: 26px; color: #9fb4b9; }
.ks-opt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.3; }
.ks-opt small { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-opt strong { font-weight: 800; font-size: 14px; white-space: nowrap; }
.ks-opt mark { background: none; color: var(--aqua); }
.ks-opt.cat { grid-template-columns: 52px minmax(0, 1fr) auto; }
.ks-opt.cat .ks-img { background: rgba(111,227,240,.1); color: var(--aqua); font-weight: 800; }
.ks-opt.all { display: flex; justify-content: center; min-height: 48px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; color: var(--aqua); font-weight: 700; font-size: 14px; }
.ks-none { padding: 18px 14px; color: var(--mute); font-size: 14px; }

/* ---------- category tiles: lit photo cards ---------- */
.kt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 80px); }
.kt { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); transition: transform .5s var(--ease), border-color .3s, opacity 1.1s var(--ease); }
.kt:hover { transform: translateY(-6px); border-color: rgba(111,227,240,.55); }
.kt-ph { position: relative; display: block; flex: 1 0 auto; aspect-ratio: 4 / 3; margin: 7px 7px 0; border-radius: 20px; overflow: hidden;
  background: var(--plate, radial-gradient(110% 85% at 50% 28%, #fff 0%, #f1f5f5 45%, #d5e1e4 100%)); }
.kt-ph::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(111,227,240,.2), transparent); pointer-events: none; }
.kt-ph img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.kt:hover .kt-ph img { transform: scale(1.06); }
.kt-b { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.kt-b b { display: block; font: 800 clamp(18px, 1.5vw, 23px)/1.12 var(--display); letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: anywhere; }
.kt-b small { display: block; margin-top: 6px; color: var(--mute); font-size: 13px; font-weight: 600; }
.kt-b i { flex: none; font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); transition: background .3s, color .3s; }
.kt:hover .kt-b i { background: var(--aqua); color: #021820; border-color: var(--aqua); }
.kt.big { grid-column: span 2; grid-row: span 2; }
.kt.big .kt-ph { flex: 1 0 0; aspect-ratio: auto; min-height: 260px; }
.kt.big .kt-b b { font-size: clamp(28px, 3vw, 48px); letter-spacing: -0.045em; }
.kt .tn-s { display: none; }
/* compact tiles: the 12 groups on /veikals/ */
.kt-sm-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.kt.kt-sm { border-radius: var(--r-sm, 14px); }
.kt-sm .kt-ph { aspect-ratio: 1; margin: 5px 5px 0; border-radius: 10px; }
.kt-sm .kt-ph img { padding: 10%; }
.kt-sm .kt-b { padding: 10px 12px 12px; }
.kt-sm .kt-b b { font: 800 16px/1.2 var(--display); letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.kt-sm .kt-b small { margin-top: 4px; font-size: 12px; }
.kt-sm:hover { transform: translateY(-3px); }

/* ---------- brands ---------- */
.kbrands { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.kbrands .eyebrow { margin: 0; }
.kbrands div { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.kbrands a { font: 800 clamp(17px, 1.6vw, 22px)/1.2 var(--display); letter-spacing: -0.02em; color: var(--mute); transition: color .2s; }
.kbrands a:hover { color: var(--aqua); }

/* ---------- catalogue root: the groups ---------- */
.kwrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--pad) clamp(80px, 10vw, 140px); }
.kgroups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kg { display: flex; flex-direction: column; min-width: 0; border-radius: 26px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); transition: border-color .3s; scroll-margin-top: 100px; }
.kg:hover { border-color: rgba(111,227,240,.4); }
.kg-top { display: flex; flex-direction: column; color: var(--ink); }
.kg-ph { position: relative; display: block; aspect-ratio: 16 / 9; margin: 7px 7px 0; border-radius: 20px; overflow: hidden;
  background: var(--plate, radial-gradient(110% 85% at 50% 28%, #fff 0%, #f1f5f5 45%, #d5e1e4 100%)); }
.kg-ph::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(111,227,240,.2), transparent); pointer-events: none; }
.kg-ph img { width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.kg-top:hover .kg-ph img { transform: scale(1.05); }
.kg-t { display: block; padding: 16px 20px 4px; }
.kg-t b { display: block; font: 800 clamp(21px, 1.7vw, 27px)/1.1 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.kg-top:hover .kg-t b { color: var(--aqua); }
.kg-t small { display: block; margin-top: 6px; color: var(--aqua); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kg-lead { display: block; margin-top: 8px; color: var(--mute); font-size: 14px; line-height: 1.45; }
.kg-cats { list-style: none; margin: 8px 0 0; padding: 4px 12px 14px; display: flex; flex-direction: column; }
.kg-cats a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 38px; padding: 9px 8px; border-top: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: rgba(244,241,234,.86); transition: color .2s, background .2s; }
.kg-cats li:first-child a { border-top: 0; }
.kg-cats a:hover { color: var(--aqua); }
.kg-cats small { flex: none; color: var(--faint); font-size: 12px; font-weight: 700; }
.kg-cats a.more { color: var(--aqua); justify-content: flex-start; }
.kg-more { display: none; }
.kat-root .kbrands { margin-top: clamp(50px, 6vw, 80px); padding-top: 30px; border-top: 1px solid var(--line); }
.kres { margin: 28px 0 clamp(40px, 6vw, 80px); }
.kat-root .kgroups { margin-top: 28px; }
.kres-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 20px; }
.kres-t { font: 900 clamp(28px, 3.4vw, 52px)/1.05 var(--display); letter-spacing: -0.045em; margin: 0; overflow-wrap: anywhere; }

/* ---------- chips (subcategories in the page head) ---------- */
.kchips { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
.kchips::-webkit-scrollbar { display: none; }
.kchips > * { scroll-snap-align: start; flex: none; }
.kchips.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.kchips.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%); mask-image: linear-gradient(90deg, transparent, #000 8%); }
.kchips.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kchip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2);
  color: var(--mute); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.kchip small { color: var(--faint); font-size: 12px; font-weight: 700; }
.kchip:hover { color: var(--ink); border-color: rgba(255,255,255,.5); }
.kchip.is-on { background: var(--ink); color: #05080c; border-color: var(--ink); }
.kchip.is-on small { color: rgba(5,8,12,.55); }
.kchip.up { border-style: dashed; }

/* ---------- a listing: sidebar (tree + filters) and the cards ---------- */
.kwrap-l { max-width: 1560px; }
.kl { display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: 28px; align-items: start; }
.kside { position: sticky; top: calc(var(--hdr, 86px) + var(--sbar-h, 64px) + 8px); max-height: calc(100vh - var(--hdr, 86px) - var(--sbar-h, 64px) - 20px); max-height: calc(100dvh - var(--hdr, 86px) - var(--sbar-h, 64px) - 20px); overflow: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; padding: 2px 6px 24px 0; }
.kside:focus { outline: none; }
.kside-head, .kside-foot, .kside-scrim { display: none; }
.kside-scrim[hidden] { display: none; }
.kmain { min-width: 0; }

/* the category tree */
.ktree { margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ktree ul { list-style: none; margin: 0; padding: 0; }
.ktree ul ul { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--line); }
.ktree a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-height: 34px; padding: 7px 10px; border-radius: 10px;
  color: rgba(244,241,234,.78); font-weight: 600; line-height: 1.3; transition: background .2s, color .2s; }
.ktree a:hover { background: rgba(255,255,255,.05); color: var(--ink); }
.ktree a small { flex: none; color: var(--faint); font-size: 11.5px; font-weight: 700; }
.ktree li.on > a { color: var(--ink); }
.ktree a[aria-current] { background: rgba(111,227,240,.12); color: var(--aqua); }
.ktree a[aria-current] small { color: var(--aqua); opacity: .8; }
.ktree .ktree-up { display: inline-flex; min-height: 30px; padding: 4px 10px; color: var(--faint); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.ktree .ktree-g { margin-top: 2px; font: 800 17px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }

/* filters */
.kf { display: flex; flex-direction: column; gap: 2px; }
.kf-sec { border-bottom: 1px solid var(--line); padding: 2px 0 12px; }
.kf-sec[hidden] { display: none; }
.kf-sec > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 4px 10px; cursor: pointer; list-style: none;
  font: 700 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-radius: 10px; }
.kf-sec > summary::-webkit-details-marker { display: none; }
.kf-sec > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.kf-sec:not([open]) > summary::after { transform: rotate(-45deg); }
.kf-sec > summary:hover { color: var(--ink); }
.kf-sec > summary:focus-visible { outline: 2px solid var(--aqua); outline-offset: -2px; }
.kf-on { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--aqua); color: #021820; font-size: 11px; letter-spacing: 0; }
.kf-on[hidden] { display: none; }
.kf fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.kf-opts { display: flex; flex-direction: column; gap: 1px; }
.kf-o { position: relative; display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 6px 10px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: rgba(244,241,234,.86); transition: background .15s; }
.kf-o:hover { background: rgba(255,255,255,.05); }
.kf-o[hidden] { display: none; }
.kf-o input { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.34); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.kf-o input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #021820; border-bottom: 2px solid #021820; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.kf-o input:checked { background: var(--aqua); border-color: var(--aqua); }
.kf-o input:checked::after { opacity: 1; }
.kf-o input:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.kf-o span { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.kf-o small { flex: none; color: var(--faint); font-size: 12px; font-weight: 700; }
.kf-opts.clip .kf-o.x:not(:has(input:checked)) { display: none; }
.kf-all { margin: 4px 0 0 10px; padding: 6px 0; border: 0; background: none; color: var(--aqua); font: 700 13px var(--body); cursor: pointer; }
.kf-all:hover { text-decoration: underline; }
/* sizes as chips: d20 d25 d32 … */
.kf-opts.chips { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 2px 6px 0; }
.kf-opts.chips .kf-o { min-height: 36px; padding: 0 12px; gap: 6px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); font-size: 13px; }
.kf-opts.chips .kf-o input { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 99px; background: none; opacity: 0; }
.kf-opts.chips .kf-o span { flex: none; }
.kf-opts.chips .kf-o small { font-size: 11px; }
.kf-opts.chips .kf-o:has(input:checked) { background: var(--aqua); border-color: var(--aqua); color: #021820; }
.kf-opts.chips .kf-o:has(input:checked) small { color: rgba(2,24,32,.6); }
.kf-opts.chips .kf-o:has(input:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 2px; }
.kf-range { display: flex; align-items: center; gap: 8px; padding: 4px 10px 0; }
.kf-range label { flex: 1; min-width: 0; position: relative; }
.kf-range span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 12px; font-weight: 700; pointer-events: none; }
.kf-range input { width: 100%; height: 42px; padding: 0 10px 0 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: var(--ink); font: 600 15px var(--body); -moz-appearance: textfield; }
.kf-range label:last-child input { padding-left: 46px; }
.kf-range input::-webkit-outer-spin-button, .kf-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kf-range input:focus { outline: none; border-color: var(--aqua); }
.kf-range i { color: var(--faint); font-style: normal; }
.kf-stock { padding: 10px 0 14px; }

/* toolbar, active filters */
.kbar { position: sticky; top: calc(var(--hdr, 86px) + var(--sbar-h, 64px) + 8px); z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; margin: 0 0 12px; border-radius: 20px;
  background: rgba(8,12,17,.86); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.kbar-n { margin: 0 auto 0 0; color: var(--mute); font-size: 14px; font-weight: 600; white-space: nowrap; }
.kbar-f { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06);
  color: var(--ink); font: 700 14px var(--body); cursor: pointer; }
.kbar-f svg { width: 18px; height: 18px; }
.kbar-f b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--aqua); color: #021820; font-size: 11px; }
.kbar-f b[hidden] { display: none; }
.ksel select { appearance: none; -webkit-appearance: none; height: 44px; max-width: 280px; padding: 0 38px 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2);
  background-color: rgba(255,255,255,.05); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 22px) 19px, calc(100% - 17px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.ksel select:focus-visible { outline: none; border-color: var(--aqua); }
.ksel option { background: #0a1016; color: var(--ink); }
.ktog { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.ktog small { color: var(--faint); font-weight: 700; }
.ktog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ktog-s { position: relative; flex: none; width: 38px; height: 22px; border-radius: 99px; background: rgba(255,255,255,.18); transition: background .25s; }
.ktog-s::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.ktog input:checked + .ktog-s { background: var(--aqua); }
.ktog input:checked + .ktog-s::after { transform: translateX(16px); background: #021820; }
.ktog:has(input:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 2px; }
.kact { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.kact[hidden] { display: none; }
.kchipx { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 14px; border-radius: 99px; border: 1px solid rgba(111,227,240,.45); background: rgba(111,227,240,.1);
  color: var(--ink); font: 700 13px var(--body); cursor: pointer; transition: background .2s; }
.kchipx span { color: var(--mute); font-weight: 600; }
.kchipx svg { width: 15px; height: 15px; color: var(--aqua); }
.kchipx:hover { background: rgba(111,227,240,.2); }
.kchip-clear { min-height: 36px; padding: 0 12px; border: 0; background: none; color: var(--mute); font: 700 13px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.kchip-clear:hover { color: var(--ink); }
.kl.is-loading .kgrid { opacity: .45; transition: opacity .2s; }
.kl .kgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* ---------- product cards: equal heights, the whole card is the link, one footer [availability][round button] ---------- */
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 216px), 1fr)); gap: 12px; }
.kc { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); transition: border-color .3s, transform .4s var(--ease);
  content-visibility: auto; contain-intrinsic-size: auto 400px; }
.kc:hover { border-color: rgba(111,227,240,.45); transform: translateY(-3px); }
.kc-ph { position: relative; display: block; aspect-ratio: 1; margin: 6px 6px 0; border-radius: 17px; overflow: hidden;
  background: var(--plate, radial-gradient(110% 85% at 50% 28%, #fff 0%, #f3f6f6 50%, #dbe5e7 100%)); }
.kc-ph img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .9s var(--ease), opacity .4s; }
.js-fade .kc-ph img:not(.ld), .js-fade .kt-ph img:not(.ld) { opacity: 0; }
.kt-ph img { transition: transform 1.2s var(--ease), opacity .4s; }
.kc:hover .kc-ph img { transform: scale(1.05); }
.kc-none { display: grid; place-items: center; width: 100%; height: 100%; }
.kc-none .mark { width: 34%; height: auto; color: #b8c8cc; }
.kc-b { flex: 1; display: flex; flex-direction: column; padding: 12px 14px 14px; }
.kc-br { font: 700 10.5px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.kc-n { margin: 6px 0 0; font: 600 15px/1.3 var(--body); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; overflow-wrap: anywhere; }
.kc-n a:hover { color: var(--aqua); }
.kc-n a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kc-v { margin: 6px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-v b { color: var(--ink); font-weight: 700; }
.kc-v.is-match { color: var(--aqua); }
.kc-v.is-match b { color: var(--aqua); }
.kc-p { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.kc-p b { font: 900 20px/1 var(--display); letter-spacing: -0.03em; word-spacing: .06em; }
.kc-p b small { font: 700 13px var(--body); letter-spacing: 0; color: var(--mute); }
.kc-p s { color: var(--faint); font-size: 13px; font-weight: 600; }
.kc-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.kc-f .av { min-width: 0; }
.kc-add, .kc-pick { position: relative; z-index: 2; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.kc-add { border: 0; background: var(--aqua); color: #021820; }
.kc-add svg, .kc-pick svg { width: 20px; height: 20px; }
.kc-add:hover { transform: scale(1.08); background: #9aeef6; }
.kc-pick { border: 1px solid rgba(111,227,240,.55); color: var(--aqua); background: rgba(111,227,240,.06); }
.kc-pick:hover { background: var(--aqua); color: #021820; border-color: var(--aqua); }
.kv-t .kc-add { margin-left: auto; }
.av { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--mute); line-height: 1.25; }
.av i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); opacity: .8; }
.av.on { color: var(--ink); }
.av.on i { background: var(--aqua); opacity: 1; box-shadow: 0 0 0 3px rgba(111,227,240,.18); }
.kmore { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.kmore-n { margin: 0; color: var(--faint); font-size: 13px; font-weight: 600; }
.kmore:empty { display: none; }
.kempty { padding: 50px 0; text-align: center; color: var(--mute); }
.kempty[hidden] { display: none; }
.kempty p { margin: 0 0 18px; }
.kempty a { color: var(--ink); border-bottom: 1px solid rgba(255,255,255,.3); }

/* ---------- delivery note ---------- */
.knote { display: flex; align-items: center; gap: 16px 22px; margin-top: clamp(40px, 6vw, 70px); scroll-margin-top: 100px; padding: 20px 24px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(111,227,240,.06), rgba(255,255,255,.01)); }
.knote > svg { flex: none; width: 30px; height: 30px; color: var(--aqua); }
.knote p { margin: 0; flex: 1; color: var(--mute); font-size: 15px; }
.knote p b { color: var(--ink); }
.knote .link { flex: none; }

/* =====================================================================================================
   PRODUCT PAGE
   ===================================================================================================== */
.kp { position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: calc(var(--hdr, 86px) + 22px) var(--pad) clamp(36px, 4vw, 60px); }
.kp-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "crumbs crumbs" "gal side"; column-gap: clamp(26px, 4vw, 64px); align-items: start; }
.kp-crumbs { grid-area: crumbs; min-width: 0; margin-bottom: 16px; }
.kp-crumbs .crumbs { margin: 0; }
.kp-side { grid-area: side; min-width: 0; }
.kp-head { min-width: 0; }
.kp-head .eyebrow a { border-bottom: 1px solid rgba(111,227,240,.4); }
.kp-head .eyebrow a:hover { border-color: var(--aqua); }
.kp-t { font: 900 clamp(26px, 3vw, 44px)/1.06 var(--display); letter-spacing: -0.045em; margin: 14px 0 0; text-wrap: balance; overflow-wrap: anywhere; }
.kp-codes { margin: 14px 0 0; color: var(--mute); font-size: 13px; letter-spacing: .04em; }
.kp-codes b { color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.kp-codes i { font-style: normal; margin: 0 6px; opacity: .5; }
.kp-gal { grid-area: gal; position: sticky; top: calc(var(--hdr, 86px) + var(--sbar-h, 64px) + 16px); min-width: 0; }
.kp-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; aspect-ratio: 1;
  border-radius: 28px; background: var(--plate, radial-gradient(110% 85% at 50% 28%, #fff 0%, #f1f5f5 45%, #d3dfe2 100%)); box-shadow: 0 60px 140px -70px rgba(111,227,240,.5); }
.kp-track::-webkit-scrollbar { display: none; }
.kp-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: grid; place-items: center; }
.kp-slide::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(111,227,240,.18), transparent); pointer-events: none; }
.kp-slide img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; }
.kp-slide .kc-none .mark { width: 26%; }
.kp-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.kp-thumb { flex: none; width: 68px; height: 68px; padding: 0; border-radius: 14px; overflow: hidden; border: 0; background: #eef3f4; cursor: pointer; opacity: .55; transition: opacity .25s, box-shadow .25s; }
.kp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.kp-thumb:hover { opacity: .85; }
.kp-thumb.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--aqua); }
.kp-buy-box { min-width: 0; }
.kp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 22px; }
.kp-price b { font: 900 clamp(30px, 3vw, 40px)/1 var(--display); letter-spacing: -0.04em; word-spacing: .1em; }
.kp-price s { color: var(--faint); font-size: 18px; font-weight: 600; }
.kp-price small { color: var(--mute); font-size: 14px; font-weight: 600; }
.kp-off { align-self: center; padding: 5px 10px; border-radius: 99px; background: var(--aqua); color: #021820; font: 800 13px/1.2 var(--body); }
.kp-av { margin: 14px 0 0; }
.kp-av .av { font-size: 14px; }
.kp-buy { display: flex; gap: 10px; margin-top: 24px; }
.kp-buy .btn { flex: 1; min-height: 60px; font-size: 17px; }
.kp-buy .qty-big input { width: 52px; min-height: 44px; }
.kp-note { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 18px; padding: 16px 18px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.kp-note svg { width: 26px; height: 26px; color: var(--aqua); }
.kp-note p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.5; }
.kp-note b { color: var(--ink); font-weight: 700; }
.kp-ticks { margin-top: 16px; font-size: 13px; }
.kp-help { margin: 14px 0 0; color: var(--mute); font-size: 14px; }
.kp-order { margin-top: 6px; font-size: 13px; }
.kp-order[hidden] { display: none; }
/* anchors to the sections below */
.kp-jump { padding: 0 var(--pad); margin: 18px 0 0; }
.kp-jump-in { max-width: 1440px; margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.kp-jump-in::-webkit-scrollbar { display: none; }
.kp-jump a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); color: var(--mute); font-weight: 700; font-size: 14px; transition: color .2s, border-color .2s; }
.kp-jump a:hover { color: var(--ink); border-color: var(--aqua); }
#apraksts, #specifikacija, #izmeri, #dokumenti { scroll-margin-top: calc(var(--hdr, 86px) + var(--sbar-h, 64px) + 16px); }
.kv-anchor { position: relative; top: calc(-1 * (var(--hdr, 86px) + var(--sbar-h, 64px) + 16px)); display: block; height: 0; }
.kp-help a { color: var(--ink); border-bottom: 1px solid rgba(255,255,255,.3); }
.kp-help a:hover { color: var(--aqua); border-color: var(--aqua); }

.kp-det { margin-top: 18px; padding: clamp(48px, 6vw, 90px) var(--pad); border-top: 1px solid var(--line); background: var(--bg2); }
.kp-det-in { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 90px); align-items: start; }
.kp-prose p { margin: 0 0 1em; color: rgba(244,241,234,.82); font-size: clamp(16px, 1.15vw, 18px); max-width: 66ch; overflow-wrap: anywhere; }
.kp-prose p.kp-lede { color: var(--ink); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.45; }
.kp-facts, .kp-spec dl { margin: 0 0 1em; max-width: 66ch; }
.kp-facts div, .kp-spec dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.kp-facts dt, .kp-spec dt { color: var(--mute); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.kp-facts dd, .kp-spec dd { margin: 0; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.kp-spec dl { border-bottom: 1px solid var(--line); }
.kp-docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.kp-docs a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.24); font-weight: 700; font-size: 14px; transition: border-color .25s, color .25s; }
.kp-docs a:hover { border-color: var(--aqua); color: var(--aqua); }
.kp-docs svg { width: 20px; height: 20px; color: var(--aqua); }

.kp-rel { max-width: 1440px; margin: 0 auto; padding: clamp(70px, 9vw, 130px) var(--pad); }
.kp-rel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 30px; margin-bottom: clamp(28px, 4vw, 48px); }
.kp-h { font: 900 clamp(36px, 4.6vw, 76px)/1.02 var(--display); letter-spacing: -0.05em; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.kp-rel .kgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- family page: the variant picker and every size in one table ---------- */
.kv { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.kv legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 0; margin-bottom: 12px; font-size: 15px; }
.kv legend span { color: var(--mute); font-weight: 600; }
.kv legend b { font-weight: 800; }
.kv legend small { margin-left: auto; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kv-c { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.04); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.kv-c input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.kv-c:hover { border-color: rgba(255,255,255,.55); }
.kv-c.off { border-style: dashed; color: var(--mute); }
.kv-c.off::after { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--warm); opacity: .7; }
.kv-c:has(input:checked) { border: 1px solid var(--aqua); background: var(--aqua); color: #021820; }
.kv-c:has(input:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 3px; }
.kv-sel select { width: 100%; height: 54px; padding: 0 44px 0 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.3); appearance: none; -webkit-appearance: none;
  background-color: rgba(255,255,255,.06); color: var(--ink); font: 700 16px var(--body); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 26px) 24px, calc(100% - 20px) 24px; background-size: 6px 6px; background-repeat: no-repeat; }
.kv-sel select:focus-visible { outline: none; border-color: var(--aqua); }
.kv-sel option { background: #0a1016; }
.kat-fam .kp-price { margin-top: 22px; }
.kv-all { margin-top: 18px; padding: clamp(44px, 5vw, 80px) var(--pad); border-top: 1px solid var(--line); }
.kv-all + .kp-det { margin-top: 0; }
.kv-all-in { max-width: 1440px; margin: 0 auto; }
.kv-all-head { margin-bottom: 22px; }
.kv-all-head .kp-h { font-size: clamp(28px, 3.2vw, 48px); }
.kv-tw { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); }
.kv-t { width: 100%; border-collapse: collapse; font-size: 15px; }
.kv-t th, .kv-t td { padding: 8px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.kv-t thead th, .kv-t thead th.c, .kv-t thead th.pr { border-top: 0; color: var(--faint); font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; padding-top: 14px; padding-bottom: 12px; }
.kv-t tbody th { font-weight: 800; white-space: nowrap; }
.kv-t tbody th a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.kv-t tbody th a:hover { color: var(--aqua); border-color: var(--aqua); }
.kv-t .c { color: var(--mute); font-size: 13px; }
.kv-t .pr { text-align: right; font: 800 17px var(--display); white-space: nowrap; }
.kv-t .ad { width: 60px; text-align: right; }
.kv-t tbody tr[aria-current] { background: rgba(111,227,240,.08); }
.kv-t tbody tr[aria-current] th a { color: var(--aqua); border-color: var(--aqua); }

/* =====================================================================================================
   /grozs/ — order request mode (shop.js)
   ===================================================================================================== */
.co-req-note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; margin: 10px 0 4px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(111,227,240,.3); background: rgba(111,227,240,.06); color: var(--mute); font-size: 14px; line-height: 1.5; }
.co-req-note svg { width: 24px; height: 24px; color: var(--aqua); }
.co-req-note b { color: var(--ink); }
.co-line .co-sku { display: block; color: var(--faint); font-size: 12px; margin: 2px 0 0; }

/* =====================================================================================================
   RESPONSIVE
   ===================================================================================================== */
@media (max-width: 1180px) {
  .kl { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 1100px) {
  .kt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kt-grid.kt-sm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-rel .kgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kp-rel .kc:nth-child(n+7) { display: none; }
}
@media (max-width: 900px) {
  .kt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-grid.kt-sm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kp { padding-top: calc(var(--hdr, 86px) + 12px); }
  .kp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "gal" "side"; }
  .kp-crumbs { margin-bottom: 6px; }
  .kp-head { padding-top: 0; margin-top: 18px; }
  .kp-gal { position: static; }
  .kp-det-in { grid-template-columns: minmax(0, 1fr); }
  .kp-rel .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-rel .kc:nth-child(n+5) { display: none; }
  .ks-key { display: none; }
}
/* phones and tablets: the sidebar becomes a full-height sheet behind "Filtri (n)" */
@media (max-width: 960px) {
  .kl { display: block; }
  .kside { position: fixed; z-index: 81; inset: 0; top: auto; height: 100%; max-height: none; display: flex; flex-direction: column; padding: 0; overflow: hidden;
    background: #070b10; transform: translateY(102%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
  .kl.sheet-on .kside { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .kside-scrim { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.55); }
  .kside-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: max(14px, env(safe-area-inset-top)) 12px 12px var(--pad); border-bottom: 1px solid var(--line); }
  .kside-head h2 { margin: 0; font: 800 22px var(--display); letter-spacing: -0.03em; }
  .kside-x { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: none; color: var(--ink); cursor: pointer; }
  .kside-x svg { width: 20px; height: 20px; }
  .kside-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 12px calc(var(--pad) - 8px) 24px; -webkit-overflow-scrolling: touch; }
  .kside-foot { display: flex; align-items: center; gap: 12px; flex: none; padding: 12px var(--pad) max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #070b10; }
  .kside-foot .link { flex: none; min-height: 48px; padding: 0 6px; border: 0; background: none; color: var(--mute); cursor: pointer; }
  .kside-foot .btn { flex: 1; min-height: 54px; }
  .ktree { font-size: 15px; }
  .kf-o { min-height: 44px; font-size: 15px; }
  .kf-opts.chips .kf-o { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .kbar { padding: 6px; gap: 6px; }
  .kbar-f { display: inline-flex; flex: none; }
  .kbar-n { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: center; font-size: 13px; }
  .ksel { flex: 0 1 auto; min-width: 0; }
  .ksel select { width: 100%; min-width: 92px; max-width: 46vw; }
  html.k-lock, html.k-lock body { overflow: hidden; }
  html.k-lock .nav { visibility: hidden; }
  .kv-t thead { display: none; }
  .kv-t, .kv-t tbody { display: block; }
  .kv-t tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "o p a" "c v a"; align-items: center; gap: 2px 14px; padding: 10px 14px; border-top: 1px solid var(--line); }
  .kv-t tbody tr:first-child { border-top: 0; }
  .kv-t th, .kv-t td { padding: 0; border: 0; }
  .kv-t tbody th { grid-area: o; white-space: normal; }
  .kv-t tbody th a { padding: 0; }
  .kv-t .c { grid-area: c; font-size: 12px; overflow-wrap: anywhere; }
  .kv-t td:nth-child(3) { grid-area: v; text-align: right; }
  .kv-t .pr { grid-area: p; font-size: 16px; }
  .kv-t .ad { grid-area: a; width: auto; }
}
@media (max-width: 700px) {
  .kb.kb-compact { padding: calc(var(--hdr, 76px) + 14px) 16px 20px; }
  .kb-compact .kb-t, .kb-compact.kb-cat .kb-t { font-size: clamp(30px, 8.6vw, 40px); }
  .kb-compact .kb-lead { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .kb-compact .kchips { margin: 16px -16px 0; padding: 0 16px; }
  .kwrap { padding-left: 16px; padding-right: 16px; }
  .kbar { top: var(--hdr, 76px); }
  .kl .kgrid, .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kt-grid.kt-sm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .kt-sm .kt-ph { margin: 4px 4px 0; border-radius: 9px; }
  .kt-sm .kt-b { padding: 8px 8px 10px; }
  .kt-sm .kt-b b { font-size: 13px; line-height: 1.2; }
  .kt-sm .kt-b small { font-size: 11px; }
  .kt-sm:hover { transform: none; }
  /* the groups: three categories, the rest behind "Visas N kategorijas" */
  .kgroups { grid-template-columns: minmax(0, 1fr); }
  .kg:not(.open) .kg-cats li:nth-child(n+4) { display: none; }
  .kg-more { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin: -4px 12px 12px; border-radius: 12px; border: 1px solid var(--line);
    background: none; color: var(--aqua); font: 700 14px var(--body); cursor: pointer; }
  .kg-more .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
  .kg-more[aria-expanded="true"] .chev { transform: rotate(180deg); }
  /* shelves: related cards and "Populāri" as a swipe row */
  .kshelf { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px;
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .kshelf::-webkit-scrollbar { display: none; }
  .kshelf > .kc, .kp-rel .kshelf > .kc, .shop-pop .kshelf > .kc, .shop-goes .kshelf > .kc { display: flex; flex: 0 0 calc((100% - 10px) / 2.2); scroll-snap-align: start; content-visibility: visible; }
  .kp-rel { padding-left: 16px; padding-right: 16px; }
  .kp-jump { padding: 0 16px; margin-top: 14px; }
  #apraksts, #specifikacija, #izmeri, #dokumenti { scroll-margin-top: calc(var(--hdr, 76px) + 12px); }
  .kv-anchor { top: calc(-1 * (var(--hdr, 76px) + 12px)); }
  .kc:hover { transform: none; }
}
@media (max-width: 560px) {
  .kb { padding-top: 104px; }
  .kb-t { font-size: clamp(44px, 13vw, 64px); }
  .kb-cat .kb-t { font-size: clamp(36px, 10.5vw, 52px); }
  .kb .ks { margin-top: 18px; }
  .ks { height: 54px; padding: 0 5px 0 16px; }
  .ks input { font-size: 16px; }
  .ks-go { display: none; }
  .ks { padding-right: 16px; }
  .ks-pop { left: -6px; right: -6px; border-radius: 20px; max-height: calc(100svh - 190px); }
  .ks-opt { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 7px 8px; }
  .ks-opt .ks-img { width: 44px; height: 44px; }
  .ks-opt b { font-size: 13px; }
  .ks-opt strong { font-size: 13px; }
  .kt-grid { gap: 8px; }
  .kt { border-radius: 20px; }
  .kt-ph { margin: 5px 5px 0; border-radius: 16px; }
  .kt-b { padding: 11px 12px 13px; }
  .kt-b b { font-size: 16px; }
  .kt-b small { font-size: 12px; margin-top: 4px; }
  .kt-b i { display: none; }
  .kt.big { grid-column: span 2; grid-row: auto; }
  .kt.big .kt-ph { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .kt.big .kt-b b { font-size: 26px; }
  .kgroups { grid-template-columns: minmax(0, 1fr); }
  .kbar { border-radius: 18px; }
  .kbar-f { padding: 0 12px; gap: 6px; }
  .ksel select { max-width: 140px; padding-left: 12px; padding-right: 30px; font-size: 13px; background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px; }
  .kbar-n { font-size: 12.5px; }
  .kg { border-radius: 22px; }
  .kg-top { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .kg-ph { aspect-ratio: 1; margin: 6px; border-radius: 16px; }
  .kg-ph img { padding: 10%; }
  .kg-t { padding: 10px 14px 10px 6px; }
  .kg-t b { font-size: 19px; }
  .kg-lead { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .kg-cats a { min-height: 44px; align-items: center; }
  .kc-v { font-size: 11.5px; margin-top: 5px; }
  .kv-c { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .kc { border-radius: 18px; }
  .kc-ph { margin: 4px 4px 0; border-radius: 14px; }
  .kc-b { padding: 10px 10px 10px; }
  .kc-br { font-size: 9.5px; letter-spacing: .12em; }
  .kc-n { font-size: 13px; line-height: 1.3; margin-top: 4px; }
  .kc-p b { font-size: 18px; }
  .kc-p s { font-size: 11px; }
  .kc-f { margin-top: 8px; }
  .av { font-size: 11px; gap: 6px; }
  .kmore .btn { width: 100%; }
  .knote { flex-direction: column; align-items: flex-start; padding: 18px; }
  .kp-gal { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
  .kp-track { border-radius: 0; box-shadow: none; aspect-ratio: 5 / 4; }
  .kp-thumb { width: 56px; height: 56px; }
  .kp-thumbs { padding-left: var(--pad); padding-right: var(--pad); }
  .kp-t { font-size: clamp(28px, 8.4vw, 40px); }
  .kp-price b { font-size: clamp(30px, 9vw, 38px); }
  .kp-buy .btn { font-size: 16px; padding: 0 16px; }
  .kp-facts div, .kp-spec dl div { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
  .kp-facts dt, .kp-spec dt { font-size: 13px; }
  .kp-facts dd, .kp-spec dd { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-glow { animation: none; }
  .kc, .kc-ph img, .kt, .kt-ph img, .kc-add, .kg-more .chev { transition: none; }
  .kc:hover, .kt:hover, .kt-sm:hover { transform: none; }
  .kc:hover .kc-ph img, .kt:hover .kt-ph img { transform: none; }
  .js-fade .kc-ph img:not(.ld), .js-fade .kt-ph img:not(.ld) { opacity: 1; }
}
@media (max-width: 700px) {
  .kshelf > .kc, .kp-rel .kshelf > .kc, .shop-pop .kshelf > .kc, .shop-goes .kshelf > .kc { flex-basis: calc((100% - 10px) / 2.1); }
  .kc-f { gap: 6px; }
  .kc-f .av { white-space: nowrap; }
}

/* ---------- review fixes (19 Nov) ---------- */
/* group tiles: the photo keeps one height in a row, a 2-line name grows the text part instead */
.kt-sm .kt-ph { flex: none; }
.kt-sm .kt-b { flex: 1; }
/* tablets and phones: the short group names (the full name stays in title / aria-label) */
@media (max-width: 1100px) {
  .kt-sm .tn-l { display: none; }
  .kt-sm .tn-s { display: inline; }
}
.shop .kp-note + .ticks, .shop .kp-ticks { margin-top: 14px; }
@media (max-width: 700px) {
  /* three tiles in a row: "Apgaismojums" stays one word */
  .kt-sm .kt-b { padding: 8px 7px 10px; }
  .kt-sm .kt-b b { font-size: 12.5px; overflow-wrap: normal; hyphens: manual; }
  .ktree a, .ktree .ktree-up { min-height: 44px; align-items: center; }
  .kbrands a { padding-block: 13px; }
  /* cards: a shorter photo, so two rows fit between the header and the toolbar */
  .kc-ph { aspect-ratio: 5 / 4; }
  .kc-b { padding: 10px; }
  .kc-n { font-size: 14px; line-height: 1.25; }
}

/* ===== 40-blog.css ===== */
/* Padomi — the blog as a cinematic magazine (/padomi/ and /padomi/<slug>/). Everything is scoped to body.blog. */

/* small text on dark: --faint (.42) is under 4.5:1 at 12–14px, so the blog uses a brighter tone for meta lines */
.blog { --meta: rgba(244, 241, 234, .62); }

/* ---------- shared: the story card ---------- */
.blog .pc[hidden], .blog .lead-story[hidden] { display: none; }
.blog .pc > a { display: flex; flex-direction: column; height: 100%; }
.blog .pc-img { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0b1218; isolation: isolate; }
.blog .pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: contrast(1.05) saturate(.94) brightness(.9);
  transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.blog .pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42), transparent 34%, transparent 70%, rgba(0,0,0,.25)); pointer-events: none; }
.blog .pc a:hover .pc-img img { transform: scale(1.08); filter: contrast(1.06) saturate(1) brightness(1); }
.blog .pc-n { position: absolute; z-index: 1; top: 14px; left: 18px; font: 900 46px/1 var(--display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.85); }
.blog .pc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 2px 0; }
.blog .pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 600 12.5px/1.4 var(--body); color: var(--meta); }
.blog .pc-meta > :not(:first-child)::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: middle; opacity: .7; }
.blog .pc-tag { color: var(--aqua); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.blog .pc h3 { font: 800 clamp(22px, 1.9vw, 28px)/1.12 var(--display); letter-spacing: -0.03em; margin: 12px 0 0; transition: color .25s; }
.blog .pc p { color: var(--mute); font-size: 15.5px; line-height: 1.55; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog .pc-more, .blog .ls-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.blog .pc-more i, .blog .ls-more i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.blog .pc a:hover h3 { color: var(--aqua); }
.blog .pc a:hover .pc-more i, .blog .lead-story a:hover .ls-more i { background: var(--aqua); border-color: var(--aqua); color: #021820; transform: translateX(4px); }
.blog .pc.wide h3 { font-size: clamp(25px, 2.6vw, 38px); line-height: 1.06; letter-spacing: -0.04em; }
.blog .pc.wide .pc-img { aspect-ratio: 16 / 9; }
.blog .pc.wide .pc-n { font-size: 60px; }

/* the editorial grid: two wide, three narrow, two wide */
.blog .mag-grid { margin-top: clamp(56px, 8vw, 100px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(44px, 5vw, 64px) clamp(16px, 2vw, 28px); }
.blog .mag-grid .pc { grid-column: span 2; }
.blog .mag-grid .pc.wide { grid-column: span 3; }
.blog .mag-grid.three { margin-top: clamp(40px, 6vw, 70px); }

/* ---------- /padomi/ ---------- */
.blog-index .mag { padding-top: clamp(80px, 11vw, 150px); }
.blog .chips { margin-top: clamp(40px, 6vw, 72px); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.blog .chips::-webkit-scrollbar { display: none; }
.blog .chip { flex: none; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: var(--glass); color: var(--mute);
  font: 700 14px var(--body); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.blog .chip sup { font-size: 10px; margin-left: 1px; color: var(--meta); top: -.6em; }
.blog .chip:hover { color: var(--ink); border-color: rgba(255,255,255,.45); }
.blog .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #05080c; }
.blog .chip[aria-pressed="true"] sup { color: rgba(5,8,12,.55); }

.blog .lead-story { margin-top: 22px; }
.blog .lead-story > a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; isolation: isolate; }
.blog .ls-img { position: relative; aspect-ratio: 21 / 9; overflow: hidden; }
.blog .ls-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: contrast(1.06) saturate(.92) brightness(.82);
  transition: transform 6s cubic-bezier(.2,.6,.2,1), filter 1.5s; }
.blog .lead-story.in .ls-img img { transform: scale(1.02); }
.blog .lead-story a:hover .ls-img img { transform: scale(1.05); filter: contrast(1.06) saturate(1) brightness(.9); transition-duration: 1.6s; }
.blog .ls-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, rgba(5,8,12,.2) 50%, rgba(5,8,12,.92) 100%),
  linear-gradient(90deg, rgba(5,8,12,.55), transparent 60%); }
.blog .ls-img .grain { z-index: 2; }
.blog .ls-img .bars i { position: absolute; left: 0; right: 0; height: 13%; background: #000; z-index: 3; transition: height 1.5s cubic-bezier(.7,0,.2,1) .25s; }
.blog .ls-img .bars i:first-child { top: 0; } .blog .ls-img .bars i:last-child { bottom: 0; }
.blog .lead-story.in .ls-img .bars i { height: 0; }
.blog .ls-badge { position: absolute; z-index: 4; top: 22px; left: 22px; padding: 7px 12px; border-radius: 99px; background: var(--aqua); color: #021820; font: 800 11px var(--body); letter-spacing: .16em; text-transform: uppercase; }
.blog .ls-body { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: clamp(26px, 4vw, 60px); max-width: 980px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.blog .ls-body .pc-meta { color: rgba(255,255,255,.72); }
.blog .ls-body h2 { font: 900 clamp(34px, 4.8vw, 80px)/1.02 var(--display); letter-spacing: -0.05em; margin: 16px 0 0; }
.blog .ls-body p { color: rgba(255,255,255,.84); max-width: 58ch; margin: 16px 0 0; font-size: clamp(16px, 1.3vw, 18px); }

/* ---------- article: hero ---------- */
.blog-post .post-hero { min-height: 86svh; }
.blog-post .post-hero .still-copy { max-width: 1180px; }
.blog-post .post-hero .display { letter-spacing: -0.045em; line-height: 1.03; }
.blog-post .post-hero.t-s .display { font-size: clamp(44px, 7.6vw, 124px); }
.blog-post .post-hero.t-m .display { font-size: clamp(38px, 5.8vw, 96px); }
.blog-post .post-hero.t-l .display { font-size: clamp(32px, 4.6vw, 74px); }
.blog-post .post-hero .crumbs [aria-current] { display: inline-block; max-width: min(46ch, 62vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.blog .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 26px; font: 600 14px/1.4 var(--body); color: rgba(255,255,255,.84); }
.blog .post-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--aqua); }

/* the reading-progress line, hanging under the glass header (blog.js places it) */
.blog .read-progress { position: fixed; z-index: 49; top: 84px; left: 40px; right: 40px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.blog .read-progress.on { opacity: 1; }
.blog .read-progress i { display: block; height: 100%; border-radius: inherit; background: var(--aqua); box-shadow: 0 0 12px rgba(111,227,240,.7); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- article: the long read ---------- */
.blog .bp-article { padding: clamp(64px, 9vw, 128px) var(--pad) 0; }
.blog .post-grid { max-width: 70ch; margin: 0 auto; font-size: clamp(17.5px, 1.2vw, 19px); }
.blog .toc { display: none; }
.blog .toc-m { margin: 0 0 40px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); }
.blog .toc-m summary { list-style: none; cursor: pointer; padding: 16px 20px; font: 700 12px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; align-items: center; }
.blog .toc-m summary::-webkit-details-marker { display: none; }
.blog .toc-m summary::after { content: "+"; font: 400 22px/1 var(--body); color: var(--aqua); transition: transform .3s var(--ease); }
.blog .toc-m[open] summary::after { transform: rotate(45deg); }
.blog .toc-m ol, .blog .toc ol { list-style: none; margin: 0; padding: 0; }
.blog .toc-m ol { padding: 0 20px 10px; }
.blog .toc-m li a { display: block; padding: 12px 0; min-height: 44px; box-sizing: border-box; border-top: 1px solid var(--line); font: 600 15px/1.35 var(--body); color: var(--mute); }

.blog .prose { color: rgba(244,241,234,.86); line-height: 1.75; max-width: 68ch; }
.blog .prose > :first-child { margin-top: 0; }
.blog .prose p { margin: 0 0 1.15em; }
.blog .prose .intro { font-size: 1.24em; line-height: 1.6; color: var(--ink); font-weight: 500; }
.blog .prose .intro::first-letter { float: left; font: 900 3.5em/.92 var(--display); color: var(--aqua); margin: .06em .12em 0 0; }
.blog .prose h2 { font: 900 clamp(30px, 3.3vw, 46px)/1.06 var(--display); letter-spacing: -0.045em; color: var(--ink); margin: 2.1em 0 .65em; scroll-margin-top: 110px; }
.blog .prose h2::before { content: ""; display: block; width: 44px; height: 2px; background: var(--aqua); margin-bottom: 24px; box-shadow: 0 0 14px rgba(111,227,240,.5); }
.blog .prose h2 + h2, .blog .prose h2 + h3 { margin-top: .4em; }
.blog .prose h2 + h2::before { display: none; }
.blog .prose h3 { font: 800 clamp(22px, 2vw, 28px)/1.16 var(--display); letter-spacing: -0.03em; color: var(--ink); margin: 1.7em 0 .45em; }
.blog .prose .numbered .n { color: var(--aqua); font-variant-numeric: tabular-nums; margin-right: .1em; }
.blog .prose strong { color: var(--ink); font-weight: 700; }
.blog .prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(111,227,240,.7); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.blog .prose a:hover { color: var(--aqua); text-decoration-color: var(--aqua); }
.blog .prose ul, .blog .prose ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.blog .prose li { position: relative; padding-left: 1.6em; margin: .45em 0; }
.blog .prose ul > li::before { content: ""; position: absolute; left: 0; top: .86em; width: 12px; height: 2px; border-radius: 2px; background: var(--aqua); }

/* tables: glass, scrolling sideways on phones with soft edge hints */
.blog .table-wrap { margin: 1.8em 0 2em; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; -webkit-overflow-scrolling: touch;
  background: linear-gradient(90deg, var(--bg) 30%, rgba(5,8,12,0)) left / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--bg) 30%, rgba(5,8,12,0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(111,227,240,.28), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(111,227,240,.28), transparent) right / 14px 100% no-repeat scroll, var(--bg); }
.blog .table-wrap:focus-visible { outline-offset: 4px; }
.blog .prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.blog .prose th { text-align: left; padding: 16px 18px 14px; font: 700 11px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); white-space: nowrap; border-bottom: 1px solid rgba(111,227,240,.3); }
.blog .prose td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.blog .prose tbody tr:first-child td { border-top: 0; }
.blog .prose td:first-child { color: var(--ink); font-weight: 700; }
.blog .prose tbody tr { transition: background .2s; }
.blog .prose tbody tr:hover { background: rgba(111,227,240,.05); }

/* the summary as a pull-quote */
.blog .pull { margin: 2.4em 0; padding: 4px 0 4px clamp(20px, 3vw, 34px); border-left: 2px solid var(--aqua); }
.blog .pull blockquote { margin: 0; }
.blog .pull p { margin: 0; font: 800 clamp(24px, 2.5vw, 36px)/1.22 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.blog .pull p::before { content: "\201E"; color: var(--aqua); }
.blog .pull p::after { content: "\201C"; color: var(--aqua); }
.blog .fig { margin: 2.2em 0; }
.blog .fig img { width: 100%; border-radius: 20px; border: 1px solid var(--line); }

/* the end of the article: author, share, back */
.blog .post-end { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; max-width: 68ch; }
.blog .by { display: flex; align-items: center; gap: 14px; }
.blog .by-mark { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--aqua); flex: none; }
.blog .by-mark .mark { width: 26px; height: 26px; animation: whirl 14s linear infinite; }
.blog .by b { display: block; font: 800 17px/1.2 var(--display); letter-spacing: -0.02em; }
.blog .by small { color: var(--meta); font-size: 13px; }
.blog .post-end-act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.blog .share { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); background: var(--glass);
  font: 700 14px var(--body); cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
.blog .share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.blog .share:hover, .blog .share.ok { border-color: var(--aqua); color: var(--aqua); }

/* ---------- article: what the article mentions ---------- */
.blog .related { padding-top: clamp(80px, 10vw, 140px); }
.blog .rel { margin-top: clamp(40px, 6vw, 72px); }
.blog .rel + .rel { margin-top: 18px; }
.blog .blog-models { margin-top: 0; }
.blog .prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.blog .prod-img { position: relative; display: grid; place-items: center; background: #fff; padding: clamp(20px, 3vw, 40px); min-height: 280px; overflow: hidden; }
.blog .prod-img img { width: 100%; max-height: 380px; object-fit: contain; transition: transform 1.2s var(--ease); }
.blog .prod-img:hover img { transform: scale(1.05); }
.blog .prod-img .off { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 99px; background: var(--aqua); color: #021820; font: 800 13px var(--body); }
.blog .prod-body { padding: clamp(26px, 3.6vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.blog .prod-body h3 { font: 900 clamp(30px, 3.4vw, 50px)/1.03 var(--display); letter-spacing: -0.045em; margin: 14px 0 0; }
.blog .prod-body h3 a:hover { color: var(--aqua); }
.blog .prod-body p { color: var(--mute); margin: 14px 0 0; max-width: 52ch; }
.blog .prod-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 24px; }
.blog .prod-price b { font: 900 clamp(40px, 4.4vw, 64px)/1 var(--display); letter-spacing: -0.05em; }
.blog .prod-price s { color: var(--meta); font-weight: 600; font-size: 18px; }
.blog .prod-body small { display: block; color: var(--meta); font-size: 13px; margin-top: 10px; }
.blog .prod-body .actions { margin-top: 24px; }
.blog .bp-covers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.blog .cover-card { aspect-ratio: 16 / 11; }
.blog .cover-card h3 { font-size: clamp(30px, 4.4vw, 64px); line-height: 1; }
.blog .gos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 18px; }
.blog .go { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); transition: border-color .3s, transform .4s var(--ease); }
.blog .go b { display: block; font: 800 21px/1.15 var(--display); letter-spacing: -0.03em; }
.blog .go small { display: block; color: var(--mute); font-size: 14px; margin-top: 4px; }
.blog .go i { flex: none; font-style: normal; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); transition: background .3s, color .3s, border-color .3s; }
.blog .go:hover { border-color: rgba(111,227,240,.5); transform: translateY(-3px); }
.blog .go:hover i { background: var(--aqua); border-color: var(--aqua); color: #021820; }
.blog .more .split .lead { max-width: none; }

/* the closing invitation is longer than the film's */
.blog .finale-copy h2 { font-size: clamp(44px, 7.2vw, 124px); }

/* ---------- wide screens: the chapter list rides along ---------- */
@media (min-width: 1180px) {
  .blog .post-grid.has-toc { max-width: 1240px; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 68ch) minmax(0, .5fr); column-gap: clamp(40px, 4vw, 72px); }
  .blog .has-toc .toc { display: block; grid-column: 1; grid-row: 1 / span 2; }
  .blog .has-toc .prose, .blog .has-toc .post-end { grid-column: 2; }
  .blog .has-toc .toc-m { display: none; }
  .blog .toc-in { position: sticky; top: 120px; max-width: 250px; margin-left: auto; }
  .blog .toc ol { margin-top: -6px; }
  .blog .toc a { display: block; padding: 8px 0 8px 16px; border-left: 1px solid var(--line); font: 600 13.5px/1.35 var(--body); color: var(--meta); transition: color .25s, border-color .25s; }
  .blog .toc a:hover { color: var(--ink); }
  .blog .toc a.is-on { color: var(--ink); border-left-color: var(--aqua); }
  .blog .toc .share { margin-top: 28px; }
}

/* ---------- tablets and phones ---------- */
@media (max-width: 1200px) and (min-width: 901px) { .blog .ls-img { aspect-ratio: 16 / 9; } }
@media (max-width: 1100px) {
  .blog .mag-grid .pc, .blog .mag-grid .pc.wide { grid-column: span 3; }
  .blog .mag-grid.three .pc:last-child { display: none; }
}
@media (max-width: 900px) {
  .blog .ls-img { aspect-ratio: 4 / 3; }
  .blog .ls-body { position: static; padding: 22px 20px 26px; background: var(--bg2); text-shadow: none; }
  .blog .ls-body h2 { font-size: clamp(30px, 7.4vw, 44px); line-height: 1.05; }
  .blog .ls-body .pc-meta { color: var(--meta); }
  .blog .prod { grid-template-columns: 1fr; }
  .blog .prod-img { min-height: 0; aspect-ratio: 4 / 3; }
  .blog .bp-covers { grid-template-columns: 1fr; }
}
/* a lone card (odd last one on tablets, or a single filter result) spans the row as a horizontal story */
@media (min-width: 701px) and (max-width: 1100px) {
  .blog .mag-grid .pc.solo { grid-column: 1 / -1; }
}
@media (min-width: 701px) {
  .blog .mag-grid .pc.only { grid-column: 1 / -1; }
  .blog .mag-grid .pc.only > a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
  .blog .mag-grid .pc.only .pc-body { padding-top: 0; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .blog .mag-grid .pc.solo > a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
  .blog .mag-grid .pc.solo .pc-body { padding-top: 0; }
}
@media (max-width: 700px) {
  .blog .mag-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .blog .mag-grid .pc, .blog .mag-grid .pc.wide { grid-column: auto; }
  .blog .mag-grid.three .pc:last-child { display: block; }
  .blog .pc .pc-img, .blog .pc.wide .pc-img { aspect-ratio: 16 / 11; }
  .blog .pc.wide h3, .blog .pc h3 { font-size: 26px; line-height: 1.1; }
  .blog .chips { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad); }
  .blog .table-wrap table { min-width: 540px; }
  .blog .prose .intro { font-size: 1.16em; }
  .blog .pull p { font-size: 25px; }
  .blog .post-end { flex-direction: column; align-items: flex-start; }
  .blog .cover-card { aspect-ratio: 4 / 3.6; }
  .blog .finale-copy .actions .btn { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .blog-post .post-hero { min-height: 92svh; }
  .blog-post .post-hero.t-l .display { font-size: 31px; }
  .blog-post .post-hero.t-m .display { font-size: 36px; }
  .blog-post .post-hero.t-s .display { font-size: 42px; }
  .blog .post-meta { font-size: 13px; }
  .blog .ls-badge { top: 14px; left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog .ls-img .bars i { display: none; }
  .blog .ls-img img, .blog .lead-story.in .ls-img img { transform: none; transition: none; }
  .blog .by-mark .mark { animation: none; }
  .blog .read-progress i { box-shadow: none; }
}
.blog .pull.long p { font-size: clamp(21px, 2vw, 29px); line-height: 1.26; }
@media (max-width: 700px) { .blog .pull.long p { font-size: 21px; } }

/* ===== 50-info.css ===== */
/* Info pages: /piedavajums/ /kontakti/ /privatums/ /noteikumi/ (pages/info.py, assets/js/info.js).
   Everything is scoped under body.info so nothing leaks into other page families. */

/* ---------- shared bits ---------- */
.info .aq { color: var(--aqua); }
.info .h2 .aq .w > span, .info .h2 .aq { color: var(--aqua); }

/* ---------- facts strip right after the water ---------- */
.info .info-facts-block { padding-top: clamp(36px, 6vw, 70px); padding-bottom: 0; }
.info .info-facts { margin-top: 0; }
.info .info-facts .fact b { font-size: clamp(34px, 3.6vw, 56px); line-height: 1; }

/* ---------- model cards: choose one, go to its configurator ---------- */
.info .info-models { margin-top: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-model { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s; }
.info-model img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92) brightness(.92); }
.info-model::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 30%, transparent 42%, rgba(3,8,12,.9) 100%); }
.info-model { container-type: inline-size; }
@container (max-width: 340px) { .info-model .go .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.info .info-form-side .h2 { font-size: clamp(46px, 5.6vw, 92px); }
.info-model .num { position: absolute; top: 20px; left: 22px; font: 700 11px var(--body); letter-spacing: .2em; color: rgba(255,255,255,.8); }
.info-model-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.info-model h3 { font: 900 clamp(42px, 4.2vw, 64px)/1 var(--display); letter-spacing: -0.055em; margin: 0; }
.info-model .dims { display: block; margin-top: 8px; font: 700 12px var(--body); letter-spacing: .16em; color: rgba(255,255,255,.78); }
.info-model .mfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.info-model .price { font-weight: 800; font-size: 17px; white-space: nowrap; }
.info-model .price small { font-weight: 600; color: var(--mute); font-size: 13px; }
.info-model .go { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; }
.info-model .go i, .info-row i, .info-door i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  transition: background .35s, color .35s, transform .45s var(--ease); flex: none; }
.info-model .go i svg, .info-row i svg, .info-door i svg { width: 18px; height: 18px; }
.info-model:hover, .info-model:focus-visible { transform: translateY(-6px); border-color: rgba(111,227,240,.5); }
.info-model:hover img, .info-model:focus-visible img { transform: scale(1.1); filter: saturate(1.02) brightness(1); }
.info-model:hover .go i, .info-model:focus-visible .go i { background: var(--aqua); color: #021820; border-color: var(--aqua); transform: translateX(3px); }
.info-models-note { margin: 26px 0 0; color: var(--mute); font-size: 15px; }
.info-models-note a { color: var(--ink); border-bottom: 1px solid rgba(111,227,240,.5); }
.info-models-note a:hover { color: var(--aqua); }

/* ---------- a film still between sections ---------- */
.info-still { position: relative; height: 82svh; min-height: 460px; overflow: hidden; isolation: isolate; background: #000; display: grid; place-items: center; }
.info-still-img { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.info-still-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: contrast(1.06) saturate(.9) brightness(.62); transition: transform 6s cubic-bezier(.2,.6,.2,1), filter 2.4s; }
.info-still.on .info-still-img img { transform: scale(1.02); filter: contrast(1.06) saturate(.92) brightness(.72); }
.info-still .grain { z-index: 2; }
.info-still .bars i { position: absolute; left: 0; right: 0; height: 14vh; background: #000; z-index: 4; transition: height 1.6s cubic-bezier(.7,0,.2,1) .1s; }
.info-still .bars i:first-child { top: 0; } .info-still .bars i:last-child { bottom: 0; }
.info-still.on .bars i { height: 7vh; }
.info-still::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(90% 70% at 50% 50%, transparent 30%, rgba(0,0,0,.55) 100%); }
.info-still-cap { position: relative; z-index: 3; margin: 0; padding: 0 20px; text-align: center; font: 900 clamp(48px, 9.4vw, 160px)/1.02 var(--display); letter-spacing: -0.055em; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.info-still-cap .aq, .info-still-cap .aq .w > span { color: var(--aqua); }

/* ---------- the form, with "what happens next" beside it ---------- */
.info .info-form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.info .info-form-side { position: sticky; top: 110px; }
.info .info-form-side .lead { margin-top: 24px; }
.info-next { margin-top: clamp(36px, 5vw, 56px); }
.info-steps { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.info-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: linear-gradient(180deg, var(--aqua), rgba(111,227,240,.08)); }
.info-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 12px 0; }
.info-steps .n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(111,227,240,.55);
  font: 800 12px var(--body); letter-spacing: .08em; color: var(--aqua); }
.block.alt .info-steps .n { background: var(--bg2); }
.info-steps h3 { font: 900 clamp(24px, 2.2vw, 32px)/1.05 var(--display); letter-spacing: -0.045em; margin: 8px 0 0; }
.info-steps p { margin: 6px 0 0; color: var(--mute); font-size: 15px; max-width: 36ch; }
.info-direct { margin-top: clamp(30px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.info-direct span { font: 700 12px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.info-direct a { font: 900 clamp(28px, 3vw, 44px)/1.08 var(--display); letter-spacing: -0.045em; transition: color .2s; width: fit-content; }
.info-direct a.mail { font: 700 17px/1.4 var(--body); letter-spacing: 0; color: var(--mute); }
.info-direct a:hover { color: var(--aqua); }

.info-form { position: relative; padding: clamp(24px, 3.4vw, 46px); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border-color: rgba(255,255,255,.16);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.info-form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(111,227,240,.55), transparent 35%, transparent 70%, rgba(111,227,240,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.info-form h3 { font: 900 clamp(30px, 3vw, 44px)/1.04 var(--display); letter-spacing: -0.05em; margin: 0; }
.info-form > .muted { margin: 10px 0 26px; font-size: 15px; }
.info-form .form-grid { gap: 16px; }
.info-form .form-note { line-height: 1.5; }
.info-form .form-note a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.info-submit { width: 100%; margin-top: 24px; min-height: 58px; font-size: 17px; }
.info-submit:hover { background: #8cecf6; }

/* the live <select>s as glass pills (radio inputs, same names and values) */
.info-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.info-choice legend { padding: 0; margin-bottom: 9px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--mute); }
.info-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.info-pill { position: relative; cursor: pointer; }
.info-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.info-pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  font-size: 15px; font-weight: 600; color: var(--ink); transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.info-pill:hover span { border-color: rgba(255,255,255,.45); }
.info-pill input:checked + span { background: var(--aqua); border-color: var(--aqua); color: #021820; font-weight: 700; }
.info-pill input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 3px; }
.info-hints { margin-top: -4px; }
.info-hint { margin: 0; font-size: 14px; color: var(--mute); }
.info-hint a { color: var(--aqua); border-bottom: 1px solid rgba(111,227,240,.4); }
.info-aside-link { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--mute); }

/* ---------- reading rows (articles) ---------- */
.info-rows { margin-top: clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); transition: padding .45s var(--ease), color .3s; }
.info-row .n { font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.info-row .t { font: 800 clamp(20px, 2.4vw, 34px)/1.15 var(--display); letter-spacing: -0.035em; }
.info-row:hover { padding-left: 12px; color: var(--aqua); }
.info-row:hover i { background: var(--aqua); color: #021820; border-color: var(--aqua); }
.info-reading .link { margin-top: 30px; }

/* ---------- kontakti: the details, like end credits ---------- */
.info-credits { padding-top: clamp(70px, 9vw, 130px); }
.info-credit { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 18px 30px; align-items: center; padding: clamp(26px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); }
.info-credit:last-child { border-bottom: 1px solid var(--line); }
.info-credit .k { font: 700 12px var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.info-credit .big { display: inline-block; font: 900 clamp(36px, 7vw, 116px)/1.02 var(--display); letter-spacing: -0.055em; transition: color .25s; }
.info-credit .big.mail { font-size: clamp(25px, 5.6vw, 92px); overflow-wrap: anywhere; }
.info-credit .big.addr { font-size: clamp(28px, 4.4vw, 68px); line-height: 1.04; }
.info-credit a.big:hover { color: var(--aqua); }
.info-req { display: flex; flex-direction: column; gap: 4px; color: var(--mute); }
.info-req strong { font: 900 clamp(28px, 3.4vw, 48px)/1.05 var(--display); letter-spacing: -0.045em; color: var(--ink); }
.info-copy { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.05); color: var(--ink);
  font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.info-copy:hover { border-color: rgba(255,255,255,.5); }
.info-copy.is-done { background: var(--aqua); border-color: var(--aqua); color: #021820; }
.info-credit .x { justify-self: end; }

/* doors to the rest of the site */
.info-doors { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 4.6; padding: 24px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.info-door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); filter: brightness(.82); }
.info-door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(3,8,12,.88)); }
.info-door h3 { font: 900 clamp(36px, 3.3vw, 56px)/1 var(--display); letter-spacing: -0.055em; margin: 8px 0 0; padding-right: 46px; }
@media (max-width: 1200px) { .info-doors { grid-template-columns: 1fr 1fr; } .info-door { aspect-ratio: 16 / 11; } .info-door h3 { font-size: clamp(36px, 5vw, 56px); } }
.info-door i { position: absolute; right: 22px; bottom: 26px; }
.info-door:hover { transform: translateY(-6px); border-color: rgba(111,227,240,.5); }
.info-door:hover img { transform: scale(1.07); }
.info-door:hover i { background: var(--aqua); color: #021820; border-color: var(--aqua); }

/* ---------- legal pages: calm long-form ---------- */
.info-legal-head { position: relative; overflow: hidden; isolation: isolate; min-height: 58svh; display: flex; align-items: flex-end; padding: 140px var(--pad) clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line); }
.info-legal-glow { position: absolute; inset: -20%; z-index: -1; opacity: .85;
  background: radial-gradient(40% 50% at 18% 70%, rgba(111,227,240,.20), transparent 70%), radial-gradient(35% 45% at 80% 30%, rgba(40,140,170,.22), transparent 70%),
    radial-gradient(50% 60% at 55% 110%, rgba(111,227,240,.12), transparent 70%);
  animation: info-drift 22s ease-in-out infinite alternate; }
@keyframes info-drift { from { transform: translate3d(-3%, 2%, 0) scale(1); } to { transform: translate3d(3%, -2%, 0) scale(1.08); } }
.info-legal-head .grain { z-index: 0; }
.info-legal-head-in { position: relative; z-index: 1; max-width: 1200px; }
.info-legal-head .eyebrow { margin-bottom: 18px; }
.info-legal-title { font: 900 clamp(42px, 7.4vw, 124px)/1.02 var(--display); letter-spacing: -0.055em; margin: 0; max-width: 14ch; }

.info-legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding: clamp(50px, 7vw, 100px) var(--pad) clamp(70px, 9vw, 130px); }
.info-toc { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: rgba(255,255,255,.025); }
.info-toc .eyebrow { margin-bottom: 12px; }
.info-toc ol { list-style: none; margin: 0; padding: 0; }
.info-toc li a { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 9px 0 9px 12px; margin-left: -12px; border-left: 2px solid transparent; color: var(--mute);
  font-size: 15px; font-weight: 600; line-height: 1.35; transition: color .25s, border-color .25s; }
.info-toc li a span { font: 700 11px/1.9 var(--body); letter-spacing: .14em; color: var(--faint); }
.info-toc li a:hover { color: var(--ink); }
.info-toc li a.is-on { color: var(--ink); border-left-color: var(--aqua); }
.info-toc li a.is-on span { color: var(--aqua); }
.info-toc-other { display: inline-block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; color: var(--mute); font-size: 14px; font-weight: 600; }
.info-toc-other:hover { color: var(--aqua); }

.info-prose { max-width: 700px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.75; color: rgba(244,241,234,.84); }
.info-prose p { margin: 0 0 1.1em; }
.info-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(111,227,240,.6); text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.info-prose a:hover { color: var(--aqua); }
.info-intro p { font: 500 clamp(20px, 1.9vw, 26px)/1.55 var(--body); color: var(--ink); letter-spacing: -0.01em; }
.info-sec { padding-top: clamp(36px, 4vw, 52px); margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.info-sec h2 { font: 800 clamp(26px, 2.8vw, 40px)/1.1 var(--display); letter-spacing: -0.035em; color: var(--ink); margin: 0 0 18px; }
.info-sec h2 .n { display: block; margin-bottom: 12px; font: 700 12px/1 var(--body); letter-spacing: .22em; color: var(--aqua); }

.info-quiet { text-align: center; padding: clamp(80px, 10vw, 140px) var(--pad); border-top: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 100%, rgba(111,227,240,.08), transparent 70%); }
.info-quiet .mark { width: 64px; height: 64px; margin: 0 auto 26px; color: var(--aqua); opacity: .9; animation: whirl 18s linear infinite; }
.info-quiet .eyebrow { margin-bottom: 14px; }
.info-quiet p { color: var(--mute); margin: 16px 0 0; }
.info-quiet p a { color: var(--ink); }
.info-quiet p a:hover { color: var(--aqua); }
.info-quiet .actions { justify-content: center; margin-top: 28px; }

.info-progress { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 2px; background: var(--aqua); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
  box-shadow: 0 0 12px rgba(111,227,240,.6); }

/* ---------- wide screens ---------- */
@media (min-width: 1000px) {
  .info-legal { grid-template-columns: 260px minmax(0, 700px); gap: clamp(60px, 8vw, 140px); justify-content: center; }
  .info-toc { position: sticky; top: 110px; align-self: start; border: 0; background: none; padding: 6px 0 0; }
}

/* ---------- tablets and phones ---------- */
@media (max-width: 1100px) {
  .info .info-models { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .info .info-form-grid { grid-template-columns: minmax(0, 1fr); }
  .info .info-form-side { position: static; }
  .info-credit { grid-template-columns: minmax(0, 1fr) auto; }
  .info-credit .k { grid-column: 1 / -1; }
  .info-doors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  /* the models become a strip you swipe through, like frames on a film */
  .info .info-models { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1);
    padding: 4px var(--pad) 18px; scroll-padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .info .info-models::-webkit-scrollbar { display: none; }
  .info-model { flex: 0 0 82%; scroll-snap-align: start; aspect-ratio: 3 / 4; }
  .info-model:hover { transform: none; }
  .info-credit { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .info-credit .x { justify-self: start; }
  .info-doors { grid-template-columns: 1fr; }
  .info-doors .info-door, .info-doors .info-door:last-child { aspect-ratio: 16 / 11; }
  .info-row { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 20px 0; }
  .info-still { height: 70svh; }
  .info-still .bars i { height: 10vh; } .info-still.on .bars i { height: 5vh; }
  .info-form { margin-left: -6px; margin-right: -6px; }
  .info-pill span { min-height: 44px; padding: 0 15px; font-size: 14px; }
  .info-legal-head { min-height: 50svh; padding-top: 120px; }
  .info .info-facts { gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); }
  .info .info-facts .fact { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 0; border-radius: 0; background: none; }
  .info .info-facts .fact + .fact { border-top: 1px solid var(--line); }
  .info .info-facts .fact b { font-size: 26px; white-space: nowrap; }
  .info .info-facts .fact span { margin: 0; text-align: right; font-size: 13px; line-height: 1.35; max-width: 20ch; }
  .info-model .go .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .info-legal-glow, .info-quiet .mark { animation: none; }
  .info-still-img img { transform: none; transition: none; }
  .info-still .bars i { display: none; }
  .info-model, .info-model img, .info-door, .info-door img { transition: none; }
}

/* ---------- review pass ---------- */
/* big display lines that are not split into word masks: the tight tracking swallowed the spaces
   ("1darbadiena", "+37120289755"), so give the words back their air */
.info .info-facts .fact b, .info-form h3, .info-direct a, .info-credit .big, .info-req strong, .info-row .t, .info-steps h3,
.info-door h3, .info-quiet .h3, .info-sec h2, .info .hero-still .display, .info .h2, .info .h3, .info-still-cap, .info-legal-title { word-spacing: .1em; }
/* crumbs over photos and bright water: readable */
.info .hero-still .crumbs, .info .hero-water .crumbs { color: rgba(255,255,255,.72); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.info .hero-still .crumbs [aria-current], .info .hero-water .crumbs [aria-current] { color: rgba(255,255,255,.92); }
/* kontakti: "Parunāsim / par tavu baseinu" in two lines on tablets and desktops */
.info-contacts .hero-still .display { font-size: clamp(56px, 8.6vw, 140px); }
/* tap targets: at least 44px without changing the look */
.info .link, .info-direct a, .info-toc-other, .info-quiet p a, .info-credit a.big { position: relative; }
.info .link::before, .info-direct a::before, .info-toc-other::before, .info-quiet p a::before, .info-credit a.big::before { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; min-height: 100%; transform: translateY(-50%); }
.info-toc li a { padding-top: 12px; padding-bottom: 12px; }
.info-copy { min-height: 44px; }

/* kontakti: Saulkrasti is only the legal address (owner, 19 Nov 2026) */
.info-addr-note { display: block; max-width: 46ch; margin-top: 12px; color: var(--mute); font-size: 15px; }
/* /noteikumi/: the delivery price table inside the prose */
.info-prose .ship-table { margin-top: 18px; }
.info-prose .ship-table table { font-size: 14px; }

/* /noteikumi/: the withdrawal section's sub-heads and the model withdrawal form (#atteikuma-veidlapa) */
.info-prose h3 { font: 700 clamp(19px, 1.5vw, 22px)/1.3 var(--display); letter-spacing: -0.015em; word-spacing: .08em; color: var(--ink); margin: 1.7em 0 .5em; }
.wd-actions { margin: 4px 0 22px; }
.wd-print { font-family: inherit; cursor: pointer; }
.wd-form { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); background: rgba(255,255,255,.03);
  font-size: 16px; line-height: 1.6; color: var(--ink); }
.info-prose .wd-form h3.wd-title { font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -0.03em; margin: 0 0 6px; }
.info-prose .wd-form p { margin: 0; }
.info-prose .wd-form .wd-note { color: var(--mute); margin-bottom: 22px; font-size: 15px; }
.wd-to { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.info-prose .wd-to p { margin-top: 4px; }
.wd-label { display: block; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--mute); }
.wd-row { display: block; margin-top: 18px; }
.wd-input { display: block; width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 2px; margin: 0; border: 0; border-bottom: 1px solid rgba(244,241,234,.4);
  border-radius: 0; background: transparent; color: var(--ink); font: 500 16px/1.4 var(--body); }
.wd-input:focus { outline: none; border-bottom-color: var(--aqua); box-shadow: 0 1px 0 var(--aqua); }
.wd-free + .wd-free { margin-top: 2px; }
.wd-sign { display: block; height: 56px; border-bottom: 1px solid rgba(244,241,234,.4); }
.info-prose .wd-form .wd-src { margin-top: 28px; font-size: 12.5px; line-height: 1.5; color: var(--faint); }

@media print {
  /* the legal pages on paper: the text only, black on white */
  .info-legal-page .info-legal-head, .info-legal-page .info-toc, .info-legal-page .info-quiet, .info-progress, .wd-actions { display: none !important; }
  .info-legal-page .info-legal { display: block; padding: 0; }
  .info-legal-page .info-prose { max-width: none; font-size: 11pt; line-height: 1.5; color: #000; }
  .info-legal-page .info-intro p, .info-legal-page .info-sec h2, .info-legal-page .info-prose h3, .info-legal-page .info-prose a { color: #000; }
  .info-legal-page .info-sec { border-top-color: #bbb; padding-top: 14pt; margin-top: 14pt; }
  .info-legal-page .info-sec h2 .n { color: #555; }
  .info-legal-page .ship-table, .info-legal-page .ship-table th, .info-legal-page .ship-table td, .info-legal-page .ship-table caption, .info-legal-page .ship-table * { color: #000 !important; background: none !important; border-color: #bbb; }
  .info-legal-page .ship-table table { min-width: 0; font-size: 9pt; }
  .info-legal-page .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }  /* not scrolled into view yet */
  .info-legal-page .ship-table th, .info-legal-page .ship-table td { padding: 5pt 6pt; font-size: 9pt; }
  .wd-form { break-inside: avoid; border: 1px solid #000; border-radius: 0; background: none; color: #000; font-size: 11pt; }
  .wd-to { border-bottom-color: #999; }
  .wd-label, .info-prose .wd-form .wd-note, .info-prose .wd-form .wd-src { color: #333; }
  .wd-input { color: #000; border-bottom-color: #000; min-height: 0; padding: 14pt 0 3pt; }
  .wd-sign { border-bottom-color: #000; height: 40pt; }
  /* "Drukāt veidlapu" (info.js): the form alone */
  html.print-form body > :not(main), html.print-form main > :not(.info-legal), html.print-form .info-legal > :not(.info-prose),
  html.print-form .info-prose > :not(#atteikuma-veidlapa), html.print-form #atteikuma-veidlapa > :not(.wd-form) { display: none !important; }
  html.print-form #atteikuma-veidlapa { border: 0; margin: 0; padding: 0; }
  html.print-form .wd-form { border: 0; padding: 0; font-size: 12pt; }
  html.print-form .info-prose .wd-form h3.wd-title { font-size: 22pt; }
}

/* ===== i18n/lang.css (build.py appends it to site.css): the language switch, LV | EN ===== */
.lang-switch { display: flex; align-items: center; gap: 2px; flex: none; font: 700 12px/1 var(--body); letter-spacing: .08em; color: var(--mute); }
.lang-switch a { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; color: var(--mute); transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, .1); }
.lang-switch i { font-style: normal; opacity: .35; }
.nav .lang-switch { margin-left: -8px; }
.menu .lang-switch { margin-top: 26px; font-size: 15px; }
.foot > .lang-switch { margin: -18px 0 30px -6px; font-size: 13px; }
.menu .lang-switch a { min-width: 44px; height: 44px; }
@media (max-width: 1180px) {  /* tight bar (the shop adds a search button): only the other language */
  .nav .lang-switch a[aria-current], .nav .lang-switch i { display: none; }
  .nav .lang-switch { margin-left: -14px; margin-right: -6px; }
  .nav .lang-switch a { min-width: 24px; padding: 0 3px; }
}
@media (max-width: 1000px) {  /* the shop's bar (search button) is full here: the switch is in the footer */
  .shop .nav .lang-switch { display: none; }
}
@media (max-width: 900px) {  /* phones and tablets: the switch is in the menu (and the footer) */
  .nav .lang-switch { display: none; }
}

/* ===== live.css ===== */
/* The live site only (build.py --live appends this to site.css): the shop's "Drīzumā" page (/veikals/, pages/shop.py coming_soon). */
.shop-soon .aq, .shop-soon .aq .w > span { color: var(--aqua); }
.shop-soon .hero-still .still-copy { max-width: 760px; }
/* the word-rise masks clip a text-shadow into dark boxes (as .shop-h1 in 30-shop.css): a drop-shadow on the whole headline */
.shop-soon .hero-still h1 { text-shadow: none; filter: drop-shadow(0 2px 22px rgba(0,0,0,.35)); }

/* the notify form in the hero: e-mail + button on one line, stacked on phones */
.soon-form { margin-top: 30px; display: flex; align-items: flex-end; gap: 10px; max-width: 560px; text-shadow: none; }
.soon-form .soon-field { flex: 1 1 260px; min-width: 0; color: rgba(255,255,255,.78); }
.soon-form .soon-field input { background: rgba(5,8,12,.42); border-color: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.soon-form .soon-field input::placeholder { color: rgba(244,241,234,.45); }
.soon-form .soon-btn { flex: none; min-height: 52px; justify-content: center; white-space: nowrap; }
.soon-note { margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.66); max-width: 560px; }
.soon-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.soon-note a:hover { color: var(--aqua); }
.shop-soon .still-copy .form-done { text-align: left; padding: 26px 0 0; max-width: 560px; }
.shop-soon .still-copy .form-done .mark { margin: 0 0 14px; width: 48px; height: 48px; }
.shop-soon .still-copy .form-done p { margin: 10px 0 0; color: rgba(255,255,255,.8); }

/* what the shop will have: big numbered names, no links (nothing to open yet) */
.soon-cats { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.soon-cats li { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 24px; background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  display: flex; flex-direction: column; gap: 18px; min-height: 140px; justify-content: space-between; }
.soon-cats .n { font: 700 12px var(--body); letter-spacing: .2em; color: var(--aqua); }
.soon-cats b { font: 900 clamp(26px, 2.4vw, 34px)/1.02 var(--display); letter-spacing: -0.045em; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .soon-form { flex-direction: column; align-items: stretch; }
  .soon-form .soon-field { flex: none; }
  .soon-form .soon-btn { width: 100%; }
  .soon-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .soon-cats li { padding: 16px 16px 18px; min-height: 108px; border-radius: 16px; }
  .soon-cats b { font-size: 22px; }
}
