/* Layout: announcement + sticky header; hash-routed views. Home: desk hero, school-year month calendar,
   category folders, close-look viewer, bundles, institutions band. Cart is a right drawer. */
:root {
  --paper: #f5f7fa;
  --card: #ffffff;
  --soft: #eceff4;
  --ink: #1c2838;
  --muted: #5a6779;
  --line: #dfe4ec;
  --accent: #1d6b58;
  --accent-hover: #175747;
  --accent-ink: #ffffff;
  --accent-soft: #e2f1ec;
  --sun: #f2b53a;
  --danger: #b4382b;
  --c-darbeliai: #ffd9cf;
  --c-planai: #d6e8fb;
  --c-uzduotys: #fdeec2;
  --c-sventes: #e7defb;
  --c-dekoracijos: #d4f0e0;
  --c-rinkiniai: #f9dcea;
  --c-paketai: #fde3c8;
  --cover-ink: #1c2838;
  --band: #1c2838;
  --band-ink: #f5f7fa;
  --shadow: 0 1px 2px rgba(28,40,56,.06), 0 10px 28px rgba(28,40,56,.08);
  --overlay: rgba(20,28,40,.45);
  --font-display: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121821; --card: #1a222e; --soft: #232d3b; --ink: #e8edf4; --muted: #9aa7b8; --line: #2b3646;
    --accent: #4fc2a3; --accent-hover: #6fd3b8; --accent-ink: #0e1a16; --accent-soft: #1b3330; --sun: #f2c25a; --danger: #f08a7d;
    --c-darbeliai: #4f3530; --c-planai: #2a3f58; --c-uzduotys: #4d4426; --c-sventes: #3c3456; --c-dekoracijos: #26443a; --c-rinkiniai: #4d2f40; --c-paketai: #4d3b28;
    --cover-ink: #f1f4f8; --band: #0b1017; --band-ink: #e8edf4;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.3); --overlay: rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121821; --card: #1a222e; --soft: #232d3b; --ink: #e8edf4; --muted: #9aa7b8; --line: #2b3646;
  --accent: #4fc2a3; --accent-hover: #6fd3b8; --accent-ink: #0e1a16; --accent-soft: #1b3330; --sun: #f2c25a; --danger: #f08a7d;
  --c-darbeliai: #4f3530; --c-planai: #2a3f58; --c-uzduotys: #4d4426; --c-sventes: #3c3456; --c-dekoracijos: #26443a; --c-rinkiniai: #4d2f40; --c-paketai: #4d3b28;
  --cover-ink: #f1f4f8; --band: #0b1017; --band-ink: #e8edf4;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.3); --overlay: rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
.ssr-top { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ssr-top > a { display: flex; align-items: center; gap: 10px; font: 800 1.3rem var(--font-display); color: var(--ink); text-decoration: none; }
.ssr-top nav { display: flex; flex-wrap: wrap; gap: 16px; }
.ssr-top nav a, .ssr-main a { color: var(--ink); }
.ssr-main { max-width: 860px; margin: 0 auto; padding: 32px 20px; }
.ssr-main h1 { font: 800 2rem/1.15 var(--font-display); margin: 0 0 12px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; padding-top: env(safe-area-inset-top, 0px); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.strong { font-weight: 800; }
.loading { padding-block: 120px; text-align: center; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 0; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .55; cursor: wait; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; color: var(--accent); }
.more { font-weight: 800; color: var(--accent); text-decoration: none; white-space: nowrap; display: inline-block; padding-block: 8px; margin-block: -8px; }
.more:hover { text-decoration: underline; }
.linkbtn { border: 0; background: none; color: var(--accent); font-weight: 700; padding: 8px 0; margin-block: -8px; text-decoration: underline; font-size: .88rem; }

/* Header */
.announce { background: var(--band); color: var(--band-ink); text-align: center; font-size: .86rem; padding: 7px 16px; }
.announce b { color: var(--sun); letter-spacing: .04em; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 16px; padding-block: 12px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.01em; white-space: nowrap; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex: none; display: block; }
.logo-text { display: grid; line-height: 1.05; }
.logo-text small { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .01em; color: var(--muted); margin-top: 3px; white-space: normal; max-width: 232px; line-height: 1.25; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 11px; border-radius: 9px; font-weight: 700; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { background: var(--soft); color: var(--accent); }
.search { position: relative; flex: 1; max-width: 340px; margin-left: auto; min-width: 0; }
.search input { width: 100%; padding: 10px 14px 10px 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; z-index: 40; min-width: 280px; }
.sg { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-decoration: none; }
.sg:hover, .sg.on { background: var(--soft); }
.sg .lt { width: 40px; height: 44px; }
.sg .lt .sheet { width: 26px; }
.sg-t { font-weight: 700; font-size: .9rem; line-height: 1.25; flex: 1; min-width: 0; }
.sg-p { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg-all { display: block; text-align: center; padding: 8px; font-weight: 700; font-size: .88rem; color: var(--accent); text-decoration: none; }
.sg-empty { padding: 12px; color: var(--muted); font-size: .9rem; }
.icons { display: flex; gap: 6px; align-items: center; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; text-decoration: none; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 23px; height: 23px; }
.icon-btn.cart { background: var(--accent); color: var(--accent-ink); }
.icon-btn.cart:hover { background: var(--accent-hover); }
.bubble { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: var(--sun); color: #1c2838; font-size: .72rem; font-weight: 800; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.lang-sw { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-right: 4px; }
.lang-sw a { padding: 5px 10px; font-weight: 800; font-size: .78rem; text-decoration: none; letter-spacing: .04em; }
.lang-sw a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 0 0 14px 14px; padding: 8px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}
@media (max-width: 680px) {
  .bar { flex-wrap: wrap; gap: 8px; }
  .logo { flex: 1; font-size: 1.2rem; }
  .logo-text small { display: none; }
  .logo-mark { width: 32px; height: 32px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .lang-sw a { padding: 5px 8px; }
  /* slenkant žemyn antraštė išvažiuoja (transform nekeičia išdėstymo, turinys nešokinėja), slenkant aukštyn grįžta */
  .top { transition: transform .25s ease; }
  .top.compact:not(:focus-within) { transform: translateY(-100%); }
}

/* Sheets */
.sheet { position: relative; background: #fff; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.10); aspect-ratio: 210 / 297; overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sheet svg { display: block; width: 100%; height: 100%; }
.sheet.img img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
.sheet.img::after { content: ""; position: absolute; inset: 0; }
.physbig { user-select: none; -webkit-touch-callout: none; }
.physbig img.photo, .phys img.photo { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.mock { position: relative; display: block; aspect-ratio: 4 / 3; max-width: 100%; background: var(--c); overflow: hidden; }
.mock::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--cover-ink) 1px, transparent 1.2px); background-size: 14px 14px; opacity: .08; }
.mock .sheet { position: absolute; width: 42%; left: 50%; top: 50%; transition: transform .25s ease; }
.mock .s1 { transform: translate(-28%, -48%) rotate(6deg); }
.mock .s2 { transform: translate(-72%, -52%) rotate(-4deg); }
.mock.trio .sheet { width: 36%; }
.mock.trio .s1 { transform: translate(-6%, -46%) rotate(9deg); }
.mock.trio .s2 { transform: translate(-50%, -54%) rotate(0deg); z-index: 2; }
.mock.trio .s3 { transform: translate(-94%, -46%) rotate(-9deg); }
.card:hover .mock .s1 { transform: translate(-22%, -50%) rotate(9deg); }
.card:hover .mock .s2 { transform: translate(-76%, -52%) rotate(-6deg); }
.card:hover .mock.trio .s1 { transform: translate(0%, -46%) rotate(12deg); }
.card:hover .mock.trio .s2 { transform: translate(-50%, -56%) rotate(0deg); }
.card:hover .mock.trio .s3 { transform: translate(-100%, -46%) rotate(-12deg); }
.phys { position: absolute; inset: 0; display: grid; place-items: center; }
.phys svg { width: 92%; height: auto; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px; }
.grid.g3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); }
.badge { position: absolute; left: 10px; top: 10px; z-index: 3; background: var(--sun); color: #1c2838; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.badge.free { background: var(--accent); color: var(--accent-ink); }
.badge.save { background: #1c2838; color: #fff; }
.heart { position: absolute; right: 10px; top: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.12); color: var(--muted); }
.heart svg { width: 19px; height: 19px; }
.heart[aria-pressed="true"] { color: #e0485f; }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-meta { font-size: .78rem; color: var(--muted); font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.mat { background: var(--soft); color: var(--ink); border-radius: 999px; padding: 1px 8px; font-weight: 700; font-size: .72rem; }
.hl { color: var(--accent); }
.card h3 { font-size: 1.08rem; font-weight: 700; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.fmt { font-size: .82rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price s { font-family: var(--font-body); font-weight: 600; font-size: .85rem; color: var(--muted); margin-left: 6px; }
.slot { display: contents; }
.add { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 10px; padding: 8px 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .88rem; white-space: nowrap; }
.add svg { width: 16px; height: 16px; }
.add:hover { background: var(--accent-hover); }
.add.in { background: var(--accent-soft); color: var(--accent); }
.add:disabled { background: var(--soft); color: var(--muted); cursor: default; }

/* Hero */
.hero2 { padding-block: 44px 28px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero2 h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; margin-top: 12px; position: relative; z-index: 0; }
.hero2 h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero2 h1 em::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .2em; background: var(--sun); opacity: .5; z-index: -1; border-radius: 4px; transform: rotate(-1.2deg); }
.hero2 .lead { color: var(--muted); font-size: 1.1rem; max-width: 54ch; margin-top: 16px; }
.hero-search { display: flex; gap: 8px; margin-top: 24px; max-width: 520px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 6px; }
.hero-search:focus-within { border-color: var(--accent); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; font-size: 1.02rem; outline: none; }
.hero-search .btn { padding: 10px 18px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; font-size: .88rem; color: var(--muted); }
.quick span { margin-right: 4px; }
.quick button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .85rem; color: var(--ink); }
.quick button:hover { border-color: var(--accent); color: var(--accent); }
.desk { position: relative; aspect-ratio: 1 / .86; max-width: 100%; }
.desk::before { content: ""; position: absolute; inset: 8% 0 2% 6%; background: var(--c-planai); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.ds { position: absolute; width: 39%; }
.ds1 { left: 4%; top: 15%; transform: rotate(-9deg); }
.ds2 { left: 30%; top: 3%; transform: rotate(2deg); z-index: 2; }
.ds3 { left: 57%; top: 16%; transform: rotate(10deg); }
.desk .sticky { position: absolute; left: 0; bottom: 3%; width: 30%; aspect-ratio: 1; background: #ffe27a; color: #1c2838; transform: rotate(-6deg); padding: 4%; font-family: var(--font-display); font-weight: 700; font-size: clamp(.78rem, 1.5vw, 1.05rem); line-height: 1.15; box-shadow: 0 8px 16px rgba(0,0,0,.14); z-index: 3; display: grid; align-content: center; }
.crayons { position: absolute; right: 0; bottom: 0; width: 50%; z-index: 3; }
.crayons svg { width: 100%; height: auto; display: block; }
.clip { position: absolute; left: 48%; top: -2%; width: 5%; z-index: 4; }
.clip svg { width: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .ds, .sticky, .crayons { animation: deal .7s cubic-bezier(.2,.8,.2,1) both; }
  .ds2 { animation-delay: .08s; } .ds3 { animation-delay: .16s; } .sticky { animation-delay: .26s; } .crayons { animation-delay: .32s; }
}
@keyframes deal { from { translate: 0 22px; } to { translate: 0 0; } }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } .hero2 { padding-block: 24px 8px; } .desk { max-width: 540px; } }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; border-block: 1px solid var(--line); margin-block: 16px 8px; }
.trust > div { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.trust b { display: block; color: var(--ink); font-size: .95rem; }
.trust svg { flex: none; width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 880px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

.sec { padding-block: 40px 8px; }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-h h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; }
.sec-h p:not(.eyebrow) { color: var(--muted); margin-top: 4px; max-width: 62ch; }
.sec-h .eyebrow { margin-bottom: 6px; }

/* Month calendar */
.month-strip { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.mbtn { flex: 1 0 auto; min-width: 70px; display: grid; justify-items: center; gap: 0; padding: 10px 12px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); font-weight: 800; position: relative; }
.mbtn small { font-weight: 700; color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
.mbtn:hover { border-color: var(--ink); }
.mbtn[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mbtn[aria-selected="true"] small { color: inherit; opacity: .7; }
.mbtn.now::after { content: ""; position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.month-panel { display: grid; grid-template-columns: 300px 1fr; gap: 22px; margin-top: 14px; align-items: start; }
.mcard { background: var(--c); color: var(--cover-ink); border-radius: 20px; padding: 22px; display: grid; gap: 10px; }
.mcard .eyebrow { color: inherit; opacity: .7; }
.mcard h3 { font-size: 2.2rem; font-weight: 800; }
.mcard .theme { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.mcard .theme span { display: block; font-family: var(--font-body); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; opacity: .7; font-weight: 800; }
.mcard h4 { font-family: var(--font-body); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; opacity: .7; font-weight: 800; margin-top: 6px; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.events li { display: grid; gap: 0; font-size: .92rem; border-left: 3px solid currentColor; padding-left: 10px; }
.events b { font-size: .82rem; }
.mcard .more { color: inherit; text-decoration: underline; margin-top: 4px; }
@media (max-width: 900px) { .month-panel { grid-template-columns: 1fr; } }

/* Folders */
.folders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; padding-top: 20px; }
.folder { position: relative; display: block; text-decoration: none; color: var(--cover-ink); }
.peek-sheet { position: absolute; top: -26px; right: 22px; width: 74px; transform: rotate(7deg); transition: transform .25s ease; z-index: 0; }
.peek-phys { display: block; width: 92px; background: var(--card); border-radius: 8px; padding: 4px; box-shadow: var(--shadow); }
.peek-phys svg { width: 100%; height: auto; display: block; }
.folder:hover .peek-sheet { transform: translateY(-10px) rotate(4deg); }
.folder-body { position: relative; z-index: 1; display: grid; gap: 4px; background: var(--c); border-radius: 0 16px 16px 16px; padding: 22px 20px 18px; min-height: 128px; align-content: end; }
.folder-body .tab { position: absolute; top: -14px; left: 0; width: 44%; height: 16px; background: var(--c); border-radius: 10px 10px 0 0; }
.folder-body h3 { font-size: 1.3rem; }
.f-n { font-weight: 700; font-size: .88rem; opacity: .75; }
.f-ic { width: 30px; height: 30px; opacity: .7; }
.f-ic svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .folders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .folders { grid-template-columns: 1fr; } }

/* Close look */
.peek { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.peek-stage { position: relative; background: var(--c); border-radius: 18px; padding: 32px 64px 44px; display: grid; place-items: center; overflow: hidden; }
.peek-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--cover-ink) 1px, transparent 1.2px); background-size: 16px 16px; opacity: .08; }
.pk-sheet { width: min(300px, 100%); position: relative; cursor: zoom-in; }
.pk-btn { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.pk-btn svg { width: 20px; height: 20px; }
.pk-prev { left: 12px; } .pk-next { right: 12px; }
.pk-count { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; background: var(--card); color: var(--ink); border-radius: 999px; padding: 2px 12px; font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.peek-info { display: grid; gap: 12px; min-width: 0; }
.peek-info h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.peek-info > p { color: var(--muted); }
.peek-buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.peek-buy .add { padding: 12px 22px; font-size: .95rem; }
@media (max-width: 860px) { .peek { grid-template-columns: 1fr; padding: 18px; gap: 20px; } .peek-stage { padding-inline: 56px; } }

/* Institutions band */
.inst { background: var(--band); color: var(--band-ink); border-radius: 24px; padding: 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.inst .eyebrow { color: var(--sun); }
.inst h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 6px; }
.inst-text { opacity: .82; margin-top: 10px; max-width: 54ch; }
.inst ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.inst li { display: flex; gap: 10px; align-items: flex-start; }
.inst li svg { flex: none; width: 20px; height: 20px; color: var(--sun); margin-top: 2px; }
.inst-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 24px; display: grid; gap: 12px; justify-items: start; }
.inst-card h3 { font-size: 1.3rem; }
.inst-card p { opacity: .82; }
.inst-card .btn.primary { background: var(--sun); color: #1c2838; }
.inst-card .more { color: var(--band-ink); text-decoration: underline; }
@media (max-width: 820px) { .inst { grid-template-columns: 1fr; padding: 24px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.freeband { margin-top: 48px; background: var(--accent-soft); border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; overflow: hidden; }
.freeband h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 6px; }
.freeband p:not(.eyebrow) { color: var(--muted); margin-block: 10px 20px; max-width: 50ch; }
.freeband .fan { position: relative; height: 220px; }
.freeband .fan .sheet { position: absolute; width: 130px; left: 50%; top: 50%; }
.freeband .fan .sheet:nth-child(1) { transform: translate(-85%, -50%) rotate(-10deg); }
.freeband .fan .sheet:nth-child(2) { transform: translate(-15%, -50%) rotate(8deg); }
.freeband .fan3 .sheet { width: 118px; }
.freeband .fan3 .sheet:nth-child(1) { transform: translate(-115%, -48%) rotate(-10deg); }
.freeband .fan3 .sheet:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg); z-index: 2; }
.freeband .fan3 .sheet:nth-child(3) { transform: translate(15%, -48%) rotate(10deg); }
.grid.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.cols3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid.cols3 { grid-template-columns: 1fr; } }
.free-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.free-head .page-lead { margin-bottom: 0; }
.free-how { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; margin-block: 18px 22px; font-size: .94rem; }
@media (max-width: 760px) { .freeband { grid-template-columns: 1fr; padding: 24px; } }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding-block: 12px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 14px; color: var(--muted); max-width: 70ch; }

/* Catalog */
.crumbs { font-size: .85rem; color: var(--muted); padding-block: 18px 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.page-h { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 18px; }
.page-lead { color: var(--muted); max-width: 62ch; margin: -8px 0 22px; }
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding-bottom: 48px; }
.filters { position: sticky; top: 90px; display: grid; gap: 20px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.f-head { display: flex; justify-content: space-between; align-items: center; }
.f-head h2 { font-size: 1.2rem; }
.f-group h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 8px; font-weight: 800; }
.f-group select { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.opt { display: flex; align-items: center; gap: 10px; padding-block: 4px; font-size: .94rem; cursor: pointer; }
.opt input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.opt .cnt { margin-left: auto; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.opt .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.range { width: 100%; accent-color: var(--accent); }
.range-v { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.res-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.res-bar .cnt { color: var(--muted); font-size: .92rem; }
.res-bar select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-flex; gap: 6px; align-items: center; background: var(--soft); border: 0; border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 700; }
.f-toggle { display: none; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: 16px; }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.promo-strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--c-paketai); color: var(--cover-ink); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; text-decoration: none; }
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; max-height: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
  .filters.open { display: grid; }
  .f-toggle { display: inline-flex; }
}

/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; padding-bottom: 20px; }
.gallery { position: sticky; top: 90px; display: grid; gap: 12px; min-width: 0; }
.gal-main { position: relative; display: grid; place-items: center; background: var(--c); border-radius: 20px; padding: 36px 24px; border: 0; width: 100%; cursor: zoom-in; overflow: hidden; }
.gal-main::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--cover-ink) 1px, transparent 1.2px); background-size: 16px 16px; opacity: .08; }
.gal-main .sheet { width: min(340px, 74%); transform: rotate(-1.5deg); }
.gal-main .physbig { width: 100%; max-width: 480px; position: relative; }
.gal-main .physbig svg, .lb-stage .physbig svg { width: 100%; height: auto; display: block; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; background: var(--card); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; }
.thumb { flex: none; width: 74px; height: 86px; border-radius: 12px; border: 2px solid transparent; background: var(--c); display: grid; place-items: center; padding: 6px; overflow: hidden; }
.thumb[aria-current="true"] { border-color: var(--accent); }
.thumb .sheet { width: 46px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.thumb .physbig { width: 100%; }
.thumb .physbig svg, .thumb svg.ph { width: 100%; height: auto; }
.gal-note { font-size: .82rem; color: var(--muted); }
.info { min-width: 0; display: grid; gap: 16px; }
.info h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
.info .lead { color: var(--muted); font-size: 1.04rem; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price { font-size: 2rem; }
.save-tag { background: var(--sun); color: #1c2838; font-weight: 800; font-size: .82rem; padding: 3px 10px; border-radius: 999px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .add { padding: 14px 26px; font-size: 1rem; border-radius: 12px; flex: 1; max-width: 320px; justify-content: center; }
.buy-row .heart { position: static; width: 50px; height: 50px; border-radius: 12px; border: 1.5px solid var(--line); box-shadow: none; }
.perks { list-style: none; padding: 14px 16px; margin: 0; background: var(--soft); border-radius: 14px; display: grid; gap: 8px; font-size: .92rem; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks svg { flex: none; width: 19px; height: 19px; color: var(--accent); margin-top: 2px; }
.info h2 { font-size: 1.15rem; margin-top: 8px; }
.inc { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.inc li { display: flex; gap: 10px; }
.inc li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--sun); margin-top: 9px; transform: rotate(45deg); }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: .93rem; margin: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.bundle-list { display: grid; gap: 8px; }
.bl { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.bl:hover { border-color: var(--accent); }
.bl .tb { flex: none; width: 46px; height: 52px; border-radius: 8px; background: var(--c); display: grid; place-items: center; overflow: hidden; }
.bl .tb .sheet { width: 30px; }
.bl .bt { flex: 1; min-width: 0; font-weight: 700; font-size: .92rem; line-height: 1.3; }
.bl .bp { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 24px; } .gallery { position: static; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(12,18,26,.9); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: calc(16px + env(safe-area-inset-top, 0px)) 8px calc(16px + env(safe-area-inset-bottom, 0px)); }
.lb-stage { display: grid; place-items: center; height: 100%; min-width: 0; }
.lb-stage .sheet { height: min(86vh, 900px); width: auto; max-width: 100%; }
.lb-stage .physbig { width: min(760px, 100%); background: var(--paper); border-radius: 16px; padding: 20px; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; justify-self: center; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lb-count { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); color: #fff; font-size: .88rem; font-weight: 700; }
@media (max-width: 560px) { .lightbox { grid-template-columns: 44px 1fr 44px; padding-inline: 2px; } .lb-btn { width: 40px; height: 40px; } }

/* Drawer */
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--card); z-index: 60; display: flex; flex-direction: column; box-shadow: var(--shadow); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.d-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.d-head h2 { font-size: 1.35rem; }
.x { border: 0; background: transparent; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.x:hover { background: var(--soft); }
.x svg { width: 20px; height: 20px; }
.ship-bar { padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.ship-bar .track { height: 7px; background: var(--soft); border-radius: 999px; margin-top: 6px; overflow: hidden; }
.ship-bar .track i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.d-items { flex: 1; overflow-y: auto; padding: 4px 20px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: start; }
.lt { width: 56px; height: 60px; border-radius: 10px; background: var(--c); display: grid; place-items: center; overflow: hidden; flex: none; }
.lt .sheet { width: 34px; }
.lt svg.ph, .lt .physbig { width: 100%; height: auto; }
.l-title { font-weight: 700; font-size: .92rem; line-height: 1.3; text-decoration: none; display: block; }
.l-title:hover { color: var(--accent); }
.l-sub { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.l-right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.l-right b { font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; }
.qty button { border: 0; background: transparent; width: 30px; height: 30px; font-weight: 800; }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; }
.remove { border: 0; background: transparent; color: var(--muted); font-size: .8rem; padding: 0; text-decoration: underline; }
.remove:hover { color: var(--danger); }
.d-sum { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; font-size: .95rem; }
.row.total { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; margin-top: 4px; }
.row.disc { color: var(--accent); font-weight: 700; }
.note { font-size: .82rem; color: var(--muted); }
.note.ok { color: var(--accent); font-weight: 700; font-size: .92rem; }
.note.bad { color: var(--danger); font-weight: 700; font-size: .92rem; }
.d-sum .btn { width: 100%; margin-top: 6px; }
.d-empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 14px; justify-items: center; }

/* Checkout */
.co { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; padding-bottom: 48px; }
.co-form { display: grid; gap: 18px; min-width: 0; }
.co-sec { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; }
.co-sec h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.co-sec h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1rem; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field.bad input, .field.bad select { border-color: var(--danger); }
.field small { color: var(--muted); font-size: .8rem; }
.field .err { color: var(--danger); font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.choice { display: grid; gap: 8px; }
.ch { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.ch:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.ch input { accent-color: var(--accent); margin-top: 4px; }
.ch b { display: block; }
.ch small { color: var(--muted); font-size: .84rem; }
.ch .r { margin-left: auto; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pay-choice { margin: 14px 0 4px; }
.tr-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0; }
.tr-box dt { color: var(--muted); }
.tr-box dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.tr-box .sel { user-select: all; }
@media (max-width: 520px) { .tr-box dl { grid-template-columns: 1fr; gap: 0; } .tr-box dt { font-size: .85rem; } .tr-box dd { margin-bottom: 8px; font-size: 1.05rem; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.check.bad { color: var(--danger); }
.inv { display: grid; gap: 12px; padding: 14px; background: var(--soft); border-radius: 12px; }
.co-sum { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 10px; }
.co-sum h2 { font-size: 1.2rem; }
.co-sum hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.cs-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.cs-line .lt { width: 44px; height: 48px; }
.cs-line .lt .sheet { width: 26px; }
.cs-line b { font-variant-numeric: tabular-nums; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); text-transform: uppercase; }
.promo button { border: 0; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 0 14px; font-weight: 700; }
.promo-msg { font-size: .82rem; }
.promo-msg:empty { display: none; }
.promo-msg.ok { color: var(--accent); font-weight: 700; }
.promo-msg.no { color: var(--danger); }
.demo { background: var(--c-uzduotys); color: var(--cover-ink); border-radius: 12px; padding: 10px 14px; font-size: .86rem; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); }
.secure svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .co-sum { position: static; order: -1; } }

/* Thanks */
.thanks { padding-block: 40px 56px; display: grid; gap: 18px; }
.ok-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ok-ic svg { width: 36px; height: 36px; }
.thanks h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.thanks h2 { font-size: 1.2rem; margin-bottom: 6px; }
.order-nr { font-family: ui-monospace, Consolas, monospace; background: var(--soft); padding: 2px 8px; border-radius: 6px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.timeline li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--accent); background: var(--card); margin-top: 4px; justify-self: center; position: relative; z-index: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: .92rem; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 8px; }

/* Info pages */
.prose { max-width: 72ch; padding-bottom: 56px; display: grid; gap: 14px; }
.prose h2 { font-size: 1.3rem; margin-top: 14px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.prose strong { color: var(--ink); }
.prose a, .faq a { color: var(--accent); font-weight: 700; }
.ph { background: var(--c-uzduotys); color: var(--cover-ink); padding: 0 4px; border-radius: 4px; }

/* Subscription */
.announce a { color: inherit; }
.from { font-weight: 800; color: var(--muted); align-self: center; }
.cta { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.subband { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: var(--accent-soft); border-radius: 24px; padding: 32px; }
.subband h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 6px; }
.subband p:not(.eyebrow) { color: var(--muted); margin-top: 10px; max-width: 48ch; }
.subband-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.mini-months { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-months li { background: var(--c); color: var(--cover-ink); border-radius: 14px; padding: 12px 16px; display: grid; }
.mini-months li:nth-child(2) { margin-left: 18px; } .mini-months li:nth-child(3) { margin-left: 36px; opacity: .85; }
.mini-months small { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.mini-months b { font-family: var(--font-display); font-size: 1.15rem; }
@media (max-width: 780px) { .subband { grid-template-columns: 1fr; padding: 22px; } .mini-months li:nth-child(n) { margin-left: 0; } }

.sub-hero { padding-block: 40px 16px; }
.sub-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.sub-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin-top: 14px; }
.sub-note { display: flex; gap: 8px; align-items: flex-start; max-width: 52ch; margin-top: 14px; font-weight: 700; color: var(--accent); }
.sub-note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.sub-intro { margin-top: 8px; font-weight: 800; color: #c2412d; max-width: 52ch; }
.sub-again { text-align: center; margin-top: 24px; }
.co-more { margin-top: 14px; }
.co-more summary { cursor: pointer; font-weight: 700; color: var(--accent); padding-block: 8px; }
.gal-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; }
.gal { flex: 0 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: zoom-in; text-decoration: none; }
.gal-l { font-weight: 700; font-size: .88rem; }
.gal-game { cursor: pointer; }
.gal-box { aspect-ratio: 210 / 297; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; text-align: center; }
.gal-box svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .gal-row { overflow: visible; } .gal { flex: 1 1 0; min-width: 0; } }
.sub-stack { position: relative; aspect-ratio: 1 / .8; max-width: 100%; }
.sub-stack::before { content: ""; position: absolute; inset: 6% 4% 4% 8%; background: var(--c); border-radius: 28px; transform: rotate(-3deg); }
.ss { position: absolute; width: 38%; }
.ss1 { left: 34%; top: 6%; z-index: 3; transform: rotate(1deg); }
.ss2 { left: 12%; top: 12%; z-index: 2; transform: rotate(-8deg); }
.ss3 { left: 56%; top: 14%; z-index: 1; transform: rotate(8deg); }
.ss-tag { position: absolute; left: 4%; bottom: 4%; z-index: 4; background: var(--card); border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow); display: grid; transform: rotate(-2deg); }
.ss-tag small { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; color: var(--muted); }
.ss-tag b { font-family: var(--font-display); font-size: 1.2rem; }
.issue-fan { background: var(--c); border-radius: 20px; padding: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; min-height: 100%; align-items: center; }
.if-sheet { border: 0; padding: 0; background: none; width: min(180px, 30%); min-width: 120px; cursor: zoom-in; transition: transform .2s ease; }
.if-sheet:nth-child(1) { transform: rotate(-3deg); } .if-sheet:nth-child(3) { transform: rotate(3deg); }
.if-sheet:hover { transform: translateY(-6px); }
.months-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mtile { background: var(--c); color: var(--cover-ink); border-radius: 16px; padding: 16px; display: grid; gap: 4px; min-height: 120px; align-content: start; }
.mtile small { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; opacity: .75; }
.mtile b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.mt-status { margin-top: auto; font-size: .78rem; font-weight: 800; opacity: .7; }
.mt-status.ok { opacity: 1; }
.mt-status.ok::before { content: "✓ "; }
@media (max-width: 860px) { .months-grid { grid-template-columns: 1fr 1fr; } }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.plan-tag { justify-self: start; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--c-planai); border-radius: 999px; padding: 3px 10px; }
.plan { position: relative; text-align: left; background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 24px 22px; display: grid; gap: 6px; align-content: start; color: var(--ink); }
.plan:hover { border-color: var(--ink); }
.plan.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.plan h3 { font-size: 1.3rem; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan-price small { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--muted); }
.plan-pm { font-weight: 800; color: var(--accent); font-size: .92rem; }
.plan-intro { justify-self: start; font-size: 13px; font-weight: 800; color: #fff; background: #e5533d; border-radius: 999px; padding: 4px 12px; }
.plan-save { justify-self: start; font-size: 12.5px; font-weight: 800; color: var(--accent); background: var(--accent-soft, #e2f1ec); border-radius: 999px; padding: 3px 10px; }
.plan p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.plan-choose { margin-top: 12px; display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: var(--accent); }
.plan-choose svg { width: 18px; height: 18px; }
.plan-best { position: absolute; top: -12px; left: 20px; background: var(--sun); color: #1c2838; border-radius: 999px; padding: 3px 12px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

/* Games */
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .game-grid { grid-template-columns: 1fr; } }
.game-card { display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s; }
.game-card:hover { box-shadow: var(--shadow); }
.gc-art { display: flex; justify-content: center; align-items: center; gap: 4%; padding: 22px 16px; background: #fff3dd; }
.game-card.sub .gc-art { background: var(--accent-soft); }
.gc-art .gi { width: 28%; max-width: 90px; aspect-ratio: 1; height: auto; transition: transform .25s; }
.gc-art .gi:nth-child(1) { transform: rotate(-8deg); } .gc-art .gi:nth-child(3) { transform: rotate(8deg); }
.game-card:hover .gc-art .gi:nth-child(2) { transform: translateY(-6px); }
.gc-body { display: grid; gap: 4px; padding: 16px 18px 18px; align-content: start; }
.gc-body small { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.gc-body b { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.gc-task { color: var(--muted); font-size: .92rem; }
.gc-play { margin-top: 8px; font-weight: 800; color: var(--accent); }
.games-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: end; }
.how-box { background: #fff3dd; color: #1c2838; border-radius: 16px; padding: 16px 20px; }
.how-box h3 { font-size: 1.05rem; margin-bottom: 6px; }
.how-box ol { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: .94rem; }
@media (max-width: 760px) { .games-head { grid-template-columns: 1fr; } }
.sub-h2 { font-size: 1.4rem; margin: 18px 0 14px; }
.kind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind-list li { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 12px; padding: 8px 12px; font-weight: 800; }
.kind-list span { width: 36px; height: 36px; flex: none; }
.kind-list .gi { width: 100%; height: 100%; }

/* Footer */
footer { margin-top: 56px; background: var(--card); border-top: 1px solid var(--line); padding-block: 40px 24px; font-size: .9rem; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.f-grid h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; font-weight: 800; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.f-grid a { text-decoration: none; }
.f-grid a:hover { color: var(--accent); text-decoration: underline; }
.f-grid p { color: var(--muted); }
.news { display: flex; gap: 8px; margin-top: 12px; }
.news input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); }
.news button { border: 0; background: var(--accent); color: var(--accent-ink); border-radius: 10px; padding: 0 16px; font-weight: 800; }
.news-msg { font-size: .84rem; margin-top: 6px; color: var(--muted); }
.news-msg.ok { color: var(--accent); font-weight: 700; }
.news-msg.bad { color: var(--danger); font-weight: 700; }
.f-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .f-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: 14px; font-weight: 600; font-size: .92rem; z-index: 80; box-shadow: var(--shadow); max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; }
.toast button { border: 0; background: none; color: var(--sun); font-weight: 800; padding: 0; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Idėjų straipsniai (/idejos) */
.ideas-intro { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.ideas { display: grid; gap: 14px; margin: 22px 0 40px; }
.idea-card { display: grid; gap: 6px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: inherit; }
.idea-card:hover { border-color: var(--accent); }
.idea-card h2 { font-size: 1.25rem; margin: 0; }
.idea-card p { margin: 0; color: var(--muted); }
.idea-m { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin: 0; }
.article { padding-bottom: 40px; }
.article .lead { font-size: 1.12rem; }
.article h2 { font-size: 1.35rem; margin: 30px 0 10px; }
.article ol, .article ul { padding-left: 22px; }
.article li { margin: 6px 0; }
.article .cta { margin: 34px 0 10px; padding: 22px; border-radius: 18px; background: var(--soft); }
.article .cta p { margin: 0 0 10px; }
.article .cta .btn { margin: 6px 8px 0 0; }
.article-back { margin-top: 24px; }

/* Dovanų prenumerata (/dovana) */
.gift-hero { max-width: 760px; }
.gift-lead { color: var(--muted); font-size: 1.08rem; }
.gift-steps { padding-left: 22px; display: grid; gap: 6px; margin: 14px 0; }
.gift-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.gift-link { margin-top: 14px; }
.gift-link .more { white-space: normal; }
@media (max-width: 900px) { .gift-forms { grid-template-columns: 1fr; } }
/* prenumeratos užsakymas: viena kortelė, telefone telpa maždaug į vieną ekraną */
.order-sec { padding-top: 12px; }
.order { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 14px; display: grid; gap: 12px; }
.order h2 { font-size: 1.35rem; }
.opt { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.opt legend { font-weight: 800; font-size: .92rem; padding: 0; margin-bottom: 6px; }
.plan-list { display: grid; gap: 8px; }
.pl { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.pl:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pl input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; margin: 0; }
.pl-main { flex: 1; min-width: 0; line-height: 1.25; }
.pl-main b { font-size: .97rem; }
.pl-main small { display: block; color: var(--muted); font-size: .79rem; margin-top: 2px; }
.pl-best { font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.pl:has(input:checked) .pl-best { background: var(--card); }
.pl-price { font-weight: 800; font-size: 1.12rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-price s { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 8px; text-align: center; line-height: 1.25; }
.seg b { display: block; font-size: .95rem; }
.seg small { display: block; color: var(--muted); font-size: .77rem; margin-top: 2px; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.order .two { gap: 8px; grid-template-columns: 1fr 1fr; }
.order .opt-who .field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.order .opt-who .co-more .field > label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.order .field { gap: 3px; }
.order .field input { padding: 10px 12px; }
.order .co-more { margin-top: 0; }
.order .co-more summary { padding-block: 2px; font-size: .86rem; }
.order .checks { display: grid; gap: 8px; }
.order .check { font-size: .83rem; line-height: 1.35; }
.order .btn { width: 100%; }
.order-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: -6px; }
.promo-d summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: .86rem; }
.promo-d .promo { margin-top: 8px; }
#sTotal:empty { display: none; }
