/* fortinet.lt — dizaino sistema
   Kryptis: tinklo irangos estetika. Saltas sviesus fonas, tamsios "chassis" paneles,
   mono duomenys (SKU/kainos), Fortinet raudona kaip signaline spalva, LED statuso motyvas. */

:root {
  --ink: #0c1014;
  --ink-2: #59636e;
  --chassis: #12171d;
  --chassis-2: #1b222b;
  --bg: #f2f4f6;
  --surface: #ffffff;
  --line: #dfe4e9;
  --line-dark: rgba(255, 255, 255, .09);
  --red: #e32119;
  --red-deep: #b4160c;
  --red-soft: #fdecea;
  --led: #2ea043;
  --amber: #e3a008;
  --r-card: 14px;
  --r-ctl: 9px;
  --shadow: 0 1px 2px rgba(12, 16, 20, .05), 0 8px 24px rgba(12, 16, 20, .06);
  --font-d: "Space Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-b: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

h1, h2, h3, .logo-text { font-family: var(--font-d); letter-spacing: -.01em; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* ---------- LED motyvas ---------- */
.led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--led); box-shadow: 0 0 6px rgba(46, 160, 67, .7);
  flex-shrink: 0;
}
.led.blink { animation: ledpulse 2.4s ease-in-out infinite; }
@keyframes ledpulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Antraste ---------- */
.site-header {
  background: var(--chassis);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 22px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--red); color: #fff;
  font-family: var(--font-d); font-weight: 700; font-size: 20px;
}
.logo-mark.sm { width: 22px; height: 22px; font-size: 13px; border-radius: 5px; }
.logo-text { font-size: 20px; font-weight: 500; }
.logo-text b { font-weight: 700; color: var(--red); }

.search { flex: 1; display: flex; max-width: 620px; }
.search input {
  flex: 1; border: 1px solid var(--line-dark); border-right: 0;
  border-radius: var(--r-ctl) 0 0 var(--r-ctl);
  padding: 10px 14px; background: var(--chassis-2); color: #fff;
  outline: none; min-width: 0; font-size: 14px;
}
.search input::placeholder { color: #7c8794; }
.search input:focus { border-color: var(--red); }
.search button {
  border: 0; border-radius: 0 var(--r-ctl) var(--r-ctl) 0; padding: 0 18px;
  background: var(--red); color: #fff; font-weight: 600;
}
.search button:hover { background: var(--red-deep); }

.header-nav { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-nav a {
  padding: 9px 13px; border-radius: var(--r-ctl);
  font-weight: 600; font-size: 13.5px; color: #cdd5dd;
}
.header-nav a:hover { color: #fff; background: var(--chassis-2); }
.nav-cart { background: var(--red); color: #fff !important; }
.nav-cart:hover { background: var(--red-deep) !important; }
.cart-badge {
  background: #fff; color: var(--red);
  border-radius: 99px; font-size: 11.5px; font-weight: 800;
  padding: 1px 7px; margin-left: 6px; font-family: var(--font-m);
}

/* ---------- Pagrindinis konteineris ---------- */
.app { max-width: 1280px; margin: 0 auto; padding: 28px 24px 72px; min-height: 60vh; }

/* ---------- Hero: chassis panele su portu tinkleliu ---------- */
.hero {
  background: var(--chassis);
  color: #fff;
  border-radius: 18px;
  padding: 52px 52px 48px;
  margin-bottom: 36px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
  animation: heroin .5s ease-out both;
}
@keyframes heroin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero::before {
  /* portu tinklelio tekstura fone */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero-copy { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: #9aa6b2; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; font-weight: 700;
  max-width: 560px; letter-spacing: -.02em;
}
.hero h1 span { color: var(--red); }
.hero p { margin: 16px 0 28px; max-width: 480px; color: #b6c0ca; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Firewall priekines paneles iliustracija (signature) */
.fw-panel {
  position: relative;
  background: var(--chassis-2);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 22px 22px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.35);
}
.fw-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-m); font-size: 11px; letter-spacing: .1em;
  color: #7c8794; text-transform: uppercase; margin-bottom: 14px;
}
.fw-leds { display: flex; gap: 8px; }
.fw-led { width: 7px; height: 7px; border-radius: 50%; background: #3a444f; }
.fw-led.on { background: var(--led); box-shadow: 0 0 5px rgba(46,160,67,.8); }
.fw-led.on.blink { animation: ledpulse 1.8s ease-in-out infinite; }
.fw-led.on.blink2 { animation: ledpulse 2.7s ease-in-out .6s infinite; }
.fw-led.amber { background: var(--amber); box-shadow: 0 0 5px rgba(227,160,8,.7); }
.fw-ports { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.fw-port {
  aspect-ratio: 4 / 3; border-radius: 3px;
  background: #0a0e12; border: 1px solid #2a333d;
  position: relative;
}
.fw-port::after {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 40%; height: 2px; border-radius: 1px; background: #2a333d;
}
.fw-port.live { border-color: #2f4a37; }
.fw-port.live::after { background: var(--led); box-shadow: 0 0 4px rgba(46,160,67,.8); }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--r-ctl); padding: 12px 22px;
  font-weight: 650; font-size: 14.5px; font-family: var(--font-b);
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid var(--line-dark); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink-2); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

.section-title { font-size: 21px; font-weight: 700; margin: 38px 0 18px; }

/* ---------- Kategoriju korteles: SKU prefikso plyteles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px; transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex; flex-direction: column; gap: 10px;
}
.cat-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
  background: var(--chassis); color: #fff;
  font-family: var(--font-m); font-weight: 600; font-size: 13px; letter-spacing: .04em;
  border-radius: 7px; padding: 6px 10px;
  transition: background .15s;
}
.cat-card:hover .cat-tile { background: var(--red); }
.cat-card h3 { font-size: 15.5px; font-weight: 650; }
.cat-card p { font-size: 13px; color: var(--ink-2); }

/* ---------- Info kortos ---------- */
.info-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 38px; }
.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 20px 22px;
  font-size: 13.5px; color: var(--ink-2);
}
.info-card b {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 14.5px; margin-bottom: 7px; font-weight: 650;
}
.info-card b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 5px rgba(46,160,67,.6); }

/* ---------- Katalogas ---------- */
.catalog { display: grid; grid-template-columns: 248px 1fr; gap: 26px; align-items: start; }
.sidebar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 14px; position: sticky; top: 84px; max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.sidebar h3 {
  font-family: var(--font-m); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-2); padding: 4px 8px 10px; display: inline-block;
}
.fam-details summary { cursor: pointer; list-style: none; }
.fam-details summary::-webkit-details-marker { display: none; }
.fam-link {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-radius: 7px; font-size: 13.5px;
}
.fam-link:hover { background: var(--bg); }
.fam-link.active { background: var(--red-soft); color: var(--red-deep); font-weight: 650; }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.results-head h2 { font-size: 20px; font-weight: 700; }
.results-head .meta { color: var(--ink-2); font-size: 13.5px; }
.filter-chips { display: flex; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); border-radius: 99px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: all .15s;
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.active { background: var(--chassis); color: #fff; border-color: var(--chassis); }

/* ---------- Produktu korteles ---------- */
.prod-list { display: flex; flex-direction: column; gap: 12px; }
.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px 22px; display: grid; grid-template-columns: 1fr 252px; gap: 20px;
  transition: box-shadow .15s, border-color .15s;
}
.prod-card:hover { box-shadow: var(--shadow); border-color: #cbd3da; }
.prod-main { min-width: 0; }
.prod-tags { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-m); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 2.5px 8px; border-radius: 5px; background: var(--bg); color: var(--ink-2);
}
.tag.hw { background: var(--red-soft); color: var(--red-deep); }
.tag.lic { background: #e8f0fe; color: #1a56db; }
.tag.lc-eoo_soon { background: #fff4d6; color: #8a6400; }
.tag.lc-eol { background: #fde8e6; color: var(--red-deep); }
.tag.lc-eos { background: var(--chassis); color: #fff; }
.prod-card h3 { font-size: 15.5px; line-height: 1.35; font-weight: 650; font-family: var(--font-b); }
.prod-card h3 a:hover { color: var(--red); }
.prod-desc {
  font-size: 13px; color: var(--ink-2); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-sku { font-family: var(--font-m); font-size: 12px; color: var(--ink-2); margin-top: 10px; }
.model-link { font-size: 13px; color: var(--red); font-weight: 600; margin-top: 8px; display: inline-block; }
.model-link:hover { text-decoration: underline; }

.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.spec-chip {
  font-family: var(--font-m); font-size: 11.5px; font-weight: 500; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px;
}
.spec-chip.ds-link { background: var(--red-soft); border-color: transparent; color: var(--red-deep); font-weight: 600; }
.spec-chip.ds-link:hover { background: var(--red); color: #fff; }

.prod-buy {
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
  border-left: 1px solid var(--line); padding-left: 20px;
}
.prod-buy select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: var(--r-ctl); background: var(--surface); font-size: 13px;
  font-family: var(--font-m);
}
.price { font-family: var(--font-m); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.price small { font-family: var(--font-b); font-size: 12px; font-weight: 500; color: var(--ink-2); display: block; margin-top: 2px; }
.price.nera { font-size: 15px; color: var(--ink-2); font-weight: 500; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 24px; align-items: center; }
.pager button {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--r-ctl); padding: 8px 14px; font-weight: 600; font-size: 13.5px;
}
.pager button:hover:not(:disabled) { border-color: var(--ink-2); }
.pager button:disabled { opacity: .4; }
.pager span { color: var(--ink-2); font-size: 13.5px; font-family: var(--font-m); }

.empty { text-align: center; padding: 64px 20px; color: var(--ink-2); }
.empty b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; font-family: var(--font-d); }

/* ---------- Modelio puslapis ---------- */
.model-head { margin-bottom: 24px; }
.model-head h1 { font-size: 30px; font-weight: 700; }
.model-head p { color: var(--ink-2); margin-top: 6px; max-width: 640px; }
.back-link { font-size: 13.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.back-link:hover { color: var(--red); }
.group-title { font-size: 16.5px; font-weight: 700; margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; }

/* ---------- Saugos paketai ---------- */
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.bundle-card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-card);
  padding: 26px; position: relative;
}
.bundle-card.featured { border-color: var(--red); box-shadow: var(--shadow); }
.bundle-flag {
  position: absolute; top: -11px; left: 20px; background: var(--red); color: #fff;
  font-family: var(--font-m); font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 3px 10px; border-radius: 99px;
}
.bundle-card h3 { font-size: 17.5px; margin-bottom: 4px; }
.bundle-pos { font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.bundle-card ul { list-style: none; }
.bundle-card li { font-size: 13.5px; padding: 4.5px 0; border-bottom: 1px dashed var(--line); }
.bundle-card ul.bundle-no { margin-top: 10px; }
.bundle-card ul.bundle-no li { color: var(--ink-2); }
.free-list { list-style: none; columns: 2; column-gap: 32px; }
.free-list li { padding: 4px 0; break-inside: avoid; }

/* ---------- Vedlys ---------- */
.wizard { max-width: 760px; margin: 0 auto; }
.wizard-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px; box-shadow: var(--shadow);
}
.wizard-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.wizard-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--bg); }
.wizard-progress i.done { background: var(--red); }
.wizard h2 { font-size: 22px; margin-bottom: 6px; }
.wizard .wizard-sub { color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.opt {
  border: 1.5px solid var(--line); border-radius: 11px; background: var(--surface);
  padding: 14px; text-align: left; transition: border-color .12s, background .12s;
}
.opt:hover { border-color: var(--ink-2); }
.opt.selected { border-color: var(--red); background: var(--red-soft); }
.opt b { display: block; font-size: 14.5px; font-weight: 650; }
.opt span { font-size: 12.5px; color: var(--ink-2); }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.sauga-detail {
  margin-top: 16px; padding: 18px 20px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 11px;
  font-size: 13px; min-height: 40px;
}
.sauga-detail:empty { display: none; }
.sauga-detail-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.sauga-detail-head b { font-size: 14.5px; }
.sauga-detail-head span { color: var(--ink-2); }
.sauga-detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin-bottom: 10px; }
.sauga-detail-cols ul { list-style: none; }
.sauga-detail-cols li { padding: 2.5px 0; }
.sauga-detail-cols li.taip { color: var(--ink); }
.sauga-detail-cols li.ne { color: var(--ink-2); }
@media (max-width: 700px) { .sauga-detail-cols { grid-template-columns: 1fr; } }
.wizard-field { margin: 12px 0 0; font-size: 14px; }
.wizard-field input[type=number] {
  width: 130px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--r-ctl); font-family: var(--font-m); margin-top: 6px;
}

.rec-item {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.rec-qty {
  font-family: var(--font-m); font-weight: 600; font-size: 13.5px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  text-align: center; padding: 8px 0;
}
.rec-item h4 { font-size: 14.5px; font-weight: 650; }
.rec-item .kodel { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.rec-item .sku { font-family: var(--font-m); font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.rec-price { font-family: var(--font-m); font-weight: 600; white-space: nowrap; }
.rec-total { display: flex; justify-content: space-between; padding: 16px 0; font-size: 16.5px; }
.rec-total b { font-family: var(--font-m); }
.pastaba {
  background: #fff8e6; border: 1px solid #eee0b2; color: #7a5d00;
  border-radius: var(--r-ctl); padding: 10px 14px; font-size: 13.5px; margin-top: 10px;
}

/* ---------- Krepselis ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.cart-items, .cart-summary, .quote-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px;
}
.cart-summary { position: sticky; top: 84px; }
.cart-row {
  display: grid; grid-template-columns: 1fr 100px 110px 34px; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row h4 { font-size: 14px; line-height: 1.4; font-weight: 650; }
.cart-row .sku { font-family: var(--font-m); font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.qty-input {
  width: 100%; padding: 8px; border: 1px solid var(--line);
  border-radius: var(--r-ctl); text-align: center; font-family: var(--font-m);
}
.cart-row .suma { font-family: var(--font-m); font-weight: 600; text-align: right; font-size: 14px; }
.remove-btn { border: 0; background: none; color: var(--ink-2); font-size: 17px; border-radius: 6px; padding: 4px 8px; }
.remove-btn:hover { color: var(--red); background: var(--red-soft); }

.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.sum-row.total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.sum-row.total span:last-child { font-family: var(--font-m); }
.discount-note {
  background: var(--red-soft); color: var(--red-deep); border-radius: var(--r-ctl);
  padding: 12px 14px; font-size: 13.5px; margin: 14px 0; font-weight: 600;
}

.quote-form { margin-top: 20px; }
.quote-form h3 { margin-bottom: 16px; font-size: 18px; }
.form-field { margin-bottom: 13px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl);
  background: var(--surface);
}
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid rgba(227, 33, 25, .25); border-color: var(--red);
}
.form-error { color: var(--red); font-size: 13.5px; margin-top: 8px; }
.form-consent { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.5; }
.form-consent a { color: var(--red); font-weight: 600; }
.form-consent a:hover { text-decoration: underline; }

/* ---------- Teisiniai puslapiai ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 28px; margin-bottom: 20px; }
.legal h2 { font-size: 18px; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink); line-height: 1.65; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--red); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal-disclaimer { margin-bottom: 10px; }
.legal-disclaimer b { display: inline-block; margin-bottom: 4px; }
.legal-updated { color: var(--ink-2); font-size: 13px; margin-top: 28px; }

.success-box {
  max-width: 560px; margin: 40px auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 52px 38px;
}
.success-box .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e7f5eb; color: var(--led); font-size: 30px;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.success-box h2 { margin-bottom: 8px; }
.success-box p { color: var(--ink-2); margin-bottom: 22px; }
.success-box .nr {
  font-family: var(--font-m); background: var(--bg); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 6px; color: var(--ink); font-weight: 600;
}

/* ---------- Poraste ---------- */
.site-footer { background: var(--chassis); color: #aeb8c2; margin-top: 48px; border-top: 1px solid var(--line-dark); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 32px 24px; font-size: 13.5px; }
.footer-inner b { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-note { margin-top: 12px; font-size: 13px; }
.footer-links { display: flex; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; font-weight: 600; color: #cdd5dd; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 14px; font-size: 12px; color: #7c8794; max-width: 860px; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--chassis); color: #fff; border: 1px solid var(--line-dark);
  border-radius: 10px; padding: 13px 22px; font-weight: 600; font-size: 14px; z-index: 100;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
}
.toast a { color: #ff958c; margin-left: 8px; }
.toast b { font-family: var(--font-m); font-weight: 600; }

.loading { text-align: center; color: var(--ink-2); padding: 64px; font-family: var(--font-m); font-size: 13.5px; }

/* ---------- Judesio mazinimas ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Mobilus ---------- */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; max-width: none; width: 100%; }
  .hero { grid-template-columns: 1fr; padding: 36px 26px; gap: 28px; }
  .fw-panel { max-width: 380px; }
  .catalog { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
  .fam-details summary { display: flex; justify-content: space-between; align-items: center; }
  .fam-details summary::after { content: "▾"; color: var(--ink-2); }
  .fam-details[open] summary::after { content: "▴"; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .prod-card { grid-template-columns: 1fr; }
  .prod-buy { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .free-list { columns: 1; }
}
