/* =========================================================
   Luxora Resells – stilius
   Kompozicija įkvėpta „Mr. C Residences“: tamsus kino kadras,
   vertikali navigacija dešinėje, plonas kontūrinis CTA.
   Tapatybė – Luxora banerio: geltona, balta, juoda, teptuko šriftas.
   ========================================================= */

:root {
  --bg: #0b0b0a;
  --bg-2: #111110;
  --surface: #181816;
  --surface-2: #22221f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.5);
  --text: #f5f5ef;
  --muted: #b4b4a9;          /* 9.5:1 ant --bg */
  --brand: #f4e23b;          /* Luxora geltona */
  --brand-hi: #fff48a;
  --brand-glow: rgba(244, 226, 59, 0.16);
  --on-brand: #0b0b0a;
  --sale: #ff6a45;
  --error: #ff8f80;          /* 7:1 ant --surface */

  --font-ui: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-brush: 'Permanent Marker', 'Segoe Print', cursive;

  --radius: 2px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 260ms;

  --z-header: 40;
  --z-toast: 1000;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 2000;
  background: var(--brand); color: var(--on-brand); padding: 12px 18px;
  font-weight: 700; text-decoration: none; transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 40px; height: 40px; stroke-width: 1.5; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 32px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; background: none;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: scale(0.98); }
.btn-outline { border-color: rgba(255, 255, 255, 0.75); color: var(--text); }
.btn-outline:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hi); border-color: var(--brand-hi); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-link { color: var(--text); padding-inline: 16px; }
.btn-link:hover { color: var(--brand); }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; border-radius: var(--radius); color: var(--text);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.icon-btn:hover { color: var(--brand); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 12px 0;
}
.text-link .icon { transition: transform var(--t-fast); }
.text-link:hover { color: var(--brand); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 22px var(--gutter);
  transition: padding var(--t-med);
}
/* Fonas atskirame sluoksnyje: backdrop-filter ant paties header
   paverstų jį fiksuoto mobiliojo meniu „containing block“. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: rgba(11, 11, 10, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity var(--t-med);
}
.site-header.scrolled { padding-block: 12px; }
.site-header.scrolled::before { opacity: 1; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  font-family: var(--font-brush); font-size: 34px; line-height: 1;
  transform: rotate(-6deg) translateY(-2px);
  background: linear-gradient(to top, var(--brand) 35%, #fffbe0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-size: 22px; font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-place { margin-top: 4px; font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

.main-nav a {
  display: block; text-decoration: none;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  transition: color var(--t-fast);
}
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--brand); }
.main-nav .nav-discord { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.lang-btn { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; gap: 4px; color: var(--muted); }
.lang-opt.is-active { color: var(--brand); font-weight: 800; }
.lang-sep { opacity: 0.5; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: var(--on-brand);
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.45); } 100% { transform: scale(1); } }
.menu-btn { display: none; }

/* Desktop: vertikali navigacija dešinėje (kaip Mr. C), kol esame hero */
@media (min-width: 1100px) {
  .main-nav ul { display: flex; justify-content: center; gap: clamp(16px, 2vw, 28px); }
  .site-header:not(.scrolled) .main-nav {
    position: absolute; top: 78px; right: var(--gutter);
  }
  .site-header:not(.scrolled) .main-nav ul {
    flex-direction: column; align-items: flex-end; gap: 6px;
    padding-right: 14px; border-right: 1px solid var(--line-strong);
    animation: fadeIn var(--t-med) ease both;
  }
  .site-header:not(.scrolled) .main-nav a { font-size: 14px; }
  .site-header.scrolled .main-nav ul { animation: fadeIn var(--t-med) ease both; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile / planšetė: meniu per visą ekraną */
@media (max-width: 1099.98px) {
  .menu-btn { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; align-items: center; justify-content: flex-end;
    padding: 100px var(--gutter) 40px;
    background: rgba(11, 11, 10, 0.97);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-med), visibility var(--t-med);
  }
  .main-nav ul {
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
    padding-right: 16px; border-right: 1px solid var(--line-strong);
  }
  .main-nav a { font-size: clamp(20px, 5vw, 28px); padding: 6px 0; }
  .site-header.menu-open .main-nav { opacity: 1; visibility: visible; }
  .site-header.menu-open::before { opacity: 0; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
  .brand-mark { font-size: 30px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 130px var(--gutter) 110px; text-align: center;
}
.hero-bg, .hero-bg > * { position: absolute; inset: 0; }
.hero-bg { z-index: -1; background: #0a0a09; }
.hero-glow {
  background:
    radial-gradient(60% 55% at 0% 0%, rgba(244, 226, 59, 0.34), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(231, 245, 60, 0.10), transparent 70%),
    radial-gradient(70% 60% at 50% 55%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(160deg, #1a1a14 0%, #0b0b0a 55%, #070707 100%);
}
.hero-ghost {
  inset: auto; left: 50%; top: 50%;
  font-family: var(--font-brush); font-size: 36vw; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 226, 59, 0.09);
  transform: translate(-50%, -52%) rotate(-8deg);
  animation: ghost 24s ease-in-out infinite alternate;
  user-select: none;
}
@keyframes ghost { to { transform: translate(-46%, -48%) rotate(-6deg); } }
#sparks { width: 100%; height: 100%; }
.hero-grain {
  opacity: 0.16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-vignette { background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.78) 100%); }

.hero-content { max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  animation: rise 800ms var(--ease-out) both;
}
.hero-logo {
  position: relative; margin: 18px 0 4px; padding-bottom: 0.25em;
  animation: rise 900ms 120ms var(--ease-out) both;
}
.hero-logo-lux, .hero-logo-res { display: block; font-family: var(--font-brush); line-height: 0.9; }
.hero-logo-lux {
  font-size: clamp(76px, 15vw, 190px);
  transform: rotate(-7deg);
  background: linear-gradient(to top, var(--brand) 32%, #fffbe0 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(244, 226, 59, 0.25));
}
.hero-logo-res {
  font-size: clamp(44px, 8.5vw, 108px); color: #f7f7f2;
  transform: rotate(-7deg) translate(18%, -18%);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}
.hero-title {
  margin-top: 8px;
  font-size: clamp(26px, 4.2vw, 52px); font-weight: 300; letter-spacing: 0.02em; text-transform: uppercase;
  animation: rise 900ms 240ms var(--ease-out) both;
}
.hero-title strong { font-weight: 700; }
.hero-sub {
  max-width: 52ch; margin-top: 16px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px);
  animation: rise 900ms 320ms var(--ease-out) both;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 34px;
  animation: rise 900ms 400ms var(--ease-out) both;
}
.hero-ctas .btn-outline { padding-inline: 44px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero vaizdo įrašas (vertikalus 9:16).
   Telefone – visas fonas; kompiuteryje – stačias rėmas šalia teksto. */
.hero-media { position: absolute; inset: 0; z-index: -1; margin: 0; will-change: transform; }
.hero-frame { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hero-frame video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms ease; }
.hero.has-video .hero-frame video { opacity: 1; }
.hero-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 10, 0.72) 0%, rgba(11, 11, 10, 0.5) 45%, rgba(11, 11, 10, 0.85) 100%);
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 110px);
    padding-inline: clamp(32px, 6vw, 110px);
    text-align: left;
  }
  .hero-media {
    position: relative; inset: auto; z-index: 0; justify-self: end;
    width: min(100%, calc(70svh * 9 / 16)); aspect-ratio: 9 / 16;
  }
  .hero-media::before {
    content: ''; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
    border: 1px solid var(--brand);
  }
  .hero-frame::after { background: linear-gradient(180deg, transparent 60%, rgba(11, 11, 10, 0.45)); }
  .hero-content { align-items: flex-start; }
  .hero-ctas { justify-content: flex-start; }
  .hero-ctas .btn-link { padding-left: 0; }
}
/* Vieta vertikaliai navigacijai dešinėje */
@media (min-width: 1100px) { .hero-content { padding-right: 120px; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.scroll-cue .icon { width: 16px; height: 16px; animation: nudge 1.8s ease-in-out infinite; }
.scroll-cue:hover { color: var(--brand); }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* ---------------- Trust strip ---------------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-list {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.trust-list li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 16px; }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list .icon { color: var(--brand); width: 26px; height: 26px; stroke-width: 1.6; }
.trust-list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.trust-list span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { justify-content: flex-start; }
  .trust-list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------------- Sections ---------------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 300; text-transform: uppercase; letter-spacing: 0.01em; }
.section-title strong { font-weight: 800; }

/* ---------------- Product cards ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
@media (max-width: 600px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.card-btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t-med), transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.card-btn:hover { border-color: rgba(244, 226, 59, 0.6); transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(244, 226, 59, 0.35); }
.card-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  background:
    radial-gradient(70% 70% at 30% 20%, var(--brand-glow), transparent 70%),
    linear-gradient(180deg, #202019, #141412);
}
.card-media svg { width: 86%; height: auto; transition: transform 420ms var(--ease-out); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }

/* Visa nuotrauka (contain) virš sulietos jos pačios kopijos – rėmelio dydis nesikeičia */
.photo-bg, .photo-fg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-bg { object-fit: cover; filter: blur(18px) brightness(0.5) saturate(1.15); transform: scale(1.2); }
.photo-fg { object-fit: contain; transition: transform 420ms var(--ease-out); }
.card-btn:hover .photo-fg { transform: scale(1.03); }
.card-btn:hover .card-media svg { transform: translateY(-6px) rotate(-4deg) scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-block; padding: 4px 8px; border-radius: var(--radius);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3;
}
.badge-new { background: var(--brand); color: var(--on-brand); }
.badge-used { border: 1px solid rgba(255, 255, 255, 0.7); color: var(--text); background: rgba(0, 0, 0, 0.35); }
.badge-sale { background: var(--sale); color: var(--on-brand); }
.card-view {
  position: absolute; right: 10px; bottom: 10px;
  padding: 6px 10px; background: var(--text); color: var(--on-brand);
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity var(--t-fast), transform var(--t-fast);
}
.card-btn:hover .card-view, .card-btn:focus-visible .card-view { opacity: 1; transform: none; }
.card-info { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; flex: 1; }
.card-brand { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card-name { font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.card-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-top: auto; padding-top: 10px; }
.price { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price strong { font-size: 18px; font-weight: 800; }
.price s { font-size: 13px; color: var(--muted); }
.card-sizes { font-size: 12px; color: var(--muted); }
@media (max-width: 600px) {
  .card-info { padding: 12px; }
  .card-name { font-size: 14px; }
  .price strong { font-size: 16px; }
  .card-view { display: none; }
}

/* ---------------- Filters ---------------- */
.filters { display: grid; gap: 18px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 10px 18px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.filter-row { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr; gap: 16px; align-items: end; }
@media (max-width: 900px) { .filter-row { grid-template-columns: 1fr 1fr; } .field--search { grid-column: 1 / -1; } }
@media (max-width: 480px) { .filter-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field label output { color: var(--text); }
.req { color: var(--brand); }
.field input:not([type="range"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 16px; transition: border-color var(--t-fast);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23f4e23b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 44px !important; }
.field--range input[type="range"] { width: 100%; height: 48px; accent-color: var(--brand); cursor: pointer; }
.field-error { color: var(--error); font-size: 14px; }
.field-hint { color: var(--muted); font-size: 14px; }
.result-count { font-size: 13px; color: var(--muted); }

.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 64px 16px; border: 1px dashed var(--line);
}
.empty-state[hidden] { display: none; }
.empty-state .icon { color: var(--brand); }
.empty-state h3 { font-size: 20px; text-transform: uppercase; }
.empty-state p { color: var(--muted); max-width: 46ch; margin-bottom: 8px; }


/* ---------------- Reviews ---------------- */
.stars { display: flex; gap: 4px; color: var(--brand); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke-width: 1; }

/* Didelis +rep skaičius */
.rep-stat { display: flex; align-items: center; gap: 16px; }
.rep-count {
  font-size: clamp(56px, 8vw, 96px); font-weight: 800; line-height: 0.9; letter-spacing: -0.02em;
  color: var(--brand); font-variant-numeric: tabular-nums;
}
.rep-meta { display: grid; gap: 8px; }
.rep-meta p { max-width: 17ch; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }

/* Slenkanti atsiliepimų juosta */
.rep-marquee {
  --rep-duration: 72s;
  overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.rep-track { display: flex; align-items: stretch; gap: 16px; width: max-content; animation: rep-scroll var(--rep-duration) linear infinite; }
.rep-marquee:hover .rep-track, .rep-marquee:focus-within .rep-track, .rep-marquee.is-paused .rep-track { animation-play-state: paused; }
/* -50% = viena sąrašo kopija; + pusė tarpo tarp kopijų */
@keyframes rep-scroll { to { transform: translateX(calc(-50% - 8px)); } }

.rep-card {
  flex: none; width: 260px; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--t-med);
}
.rep-card:hover { border-color: rgba(244, 226, 59, 0.5); }
.rep-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-2); }
.rep-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.rep-body .stars .icon { width: 14px; height: 14px; }
.rep-text { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.rep-card--text .rep-body { justify-content: center; padding: 24px 20px; }
.rep-card--text .rep-text { font-size: 18px; line-height: 1.5; }
.rep-card--text .rep-text::before {
  content: '“'; display: block; height: 0.6em; margin-bottom: 10px;
  font-size: 64px; line-height: 1; font-weight: 800; color: var(--brand);
}
.rep-author {
  margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.rep-author span { color: var(--text); overflow-wrap: anywhere; }
.rep-author time { white-space: nowrap; }

.rep-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 28px; }
.rep-toggle { background: none; border: 0; color: var(--muted); min-height: 44px; }
.rep-toggle:hover { color: var(--brand); }

@media (max-width: 600px) {
  .rep-card { width: 220px; }
  .rep-stat { width: 100%; }
}
/* Mažiau judesio: juosta nesisuka, ją galima slinkti ranka */
@media (prefers-reduced-motion: reduce) {
  .rep-track { animation: none; padding-inline: var(--gutter); }
  .rep-marquee { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .rep-card { scroll-snap-align: start; }
  .rep-card[aria-hidden="true"], .rep-toggle { display: none; }
}

/* ---------------- FAQ ---------------- */
.ship-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin-bottom: 40px; }
.ship-cards li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 22px; border: 1px solid var(--line); background: var(--surface);
}
.ship-cards .icon { grid-row: span 2; width: 28px; height: 28px; color: var(--brand); stroke-width: 1.6; }
.ship-cards strong { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.ship-cards span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .ship-cards { grid-template-columns: 1fr; } }

.faq-list { max-width: 880px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; min-height: 44px; cursor: pointer; list-style: none;
  font-size: clamp(16px, 1.6vw, 18px); font-weight: 600;
  transition: color var(--t-fast);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--brand); }
.faq-list summary .icon { color: var(--brand); transition: transform var(--t-med) var(--ease-out); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* ---------------- Contact ---------------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-form { display: grid; gap: 18px; margin-top: 28px; max-width: 620px; }
.contact-form .btn { justify-self: start; }
.discord-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(28px, 4vw, 44px); border: 1px solid rgba(244, 226, 59, 0.4);
}
.discord-card-bg {
  position: absolute; inset: -14% 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 10, 0.72), rgba(11, 11, 10, 0.94)),
    url('../assets/banner-wide.webp') center / cover no-repeat;
}
.discord-logo { width: 44px; height: 44px; color: var(--brand); }
.discord-card h3 { font-size: 24px; text-transform: uppercase; }
.discord-card p { color: var(--muted); }
.discord-url {
  padding: 6px 14px; border-radius: 10px; background: #f5f5ef; color: var(--on-brand) !important;
  font-family: var(--font-brush); font-size: 18px; transform: rotate(-2deg);
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
/* overflow: pasuktas „Resells“ logotipe telefone neturi išplėsti puslapio */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; overflow: hidden; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.footer-logo { text-decoration: none; display: inline-block; padding: 4px 0 10px; }
.footer-logo .hero-logo-lux { font-size: 44px; }
.footer-logo .hero-logo-res { font-size: 24px; transform: rotate(-7deg) translate(30%, -20%); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
.footer-nav a { display: inline-block; padding: 10px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.footer-nav a:hover { color: var(--brand); }
.footer-nav .footer-admin { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.footer-nav .footer-admin .icon { width: 14px; height: 14px; }
.footer-nav .footer-admin:hover { color: var(--brand); }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } .footer-nav { justify-content: flex-start; } }

/* ---------------- Dialogs ---------------- */
dialog { color: var(--text); padding: 0; border: 0; }
dialog::backdrop { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal {
  width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: auto;
}
.modal[open] { animation: modalIn var(--t-med) var(--ease-out); }
.modal.is-closing { animation: modalOut 180ms ease-in forwards; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(8px) scale(0.98); } }
.modal-close { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(11, 11, 10, 0.6); }

.product-modal-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; }
.pm-media {
  display: grid; place-items: center; padding: 40px 24px; min-height: 320px;
  background:
    radial-gradient(70% 70% at 30% 25%, rgba(244, 226, 59, 0.22), transparent 70%),
    linear-gradient(180deg, #22221b, #121210);
}
.pm-media svg { width: 100%; max-width: 440px; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.55)); }
.pm-media.has-photo { display: flex; flex-direction: column; padding: 0; background: var(--bg); }
.pm-photo { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; }
/* Kompiuteryje nuotraukos plotas užima visą stulpelio aukštį (be tuščios juostos apačioje) */
@media (min-width: 761px) { .pm-media.has-photo .pm-photo { flex: 1; aspect-ratio: auto; min-height: 360px; } }
@media (max-width: 760px) { .pm-photo { aspect-ratio: auto; height: min(55vh, 100vw); } }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.pm-thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); background: none; opacity: 0.65; transition: opacity var(--t-fast), border-color var(--t-fast); }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumb:hover { opacity: 1; }
.pm-thumb[aria-pressed="true"] { opacity: 1; border-color: var(--brand); }
.pm-info { display: flex; flex-direction: column; gap: 14px; padding: 44px 32px 32px; }
.pm-brand { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); }
.pm-title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.pm-price strong { font-size: 26px; font-weight: 800; }
.pm-price { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.pm-price s { color: var(--muted); }
.pm-desc { color: var(--muted); }
.size-picker { border: 0; margin: 4px 0 0; padding: 0; }
.size-picker legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size-opt span {
  display: grid; place-items: center; min-width: 56px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; font-size: 14px;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.size-opt:hover span { border-color: var(--brand); }
.size-opt input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.size-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.pm-perks { display: grid; gap: 8px; margin-top: 4px; }
.pm-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pm-perks .icon { color: var(--brand); width: 18px; height: 18px; }
@media (max-width: 760px) {
  .product-modal-inner { grid-template-columns: 1fr; }
  .pm-media { min-height: 220px; padding: 48px 24px 24px; }
  .pm-info { padding: 24px 20px 28px; }
}

.small-modal { width: min(520px, calc(100% - 32px)); padding: 36px 28px 28px; }
.small-modal h2 { font-size: 22px; text-transform: uppercase; margin-bottom: 12px; padding-right: 36px; }
.small-modal p { color: var(--muted); }
.order-summary {
  margin: 18px 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line);
  font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.6;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.modal-actions .btn { flex: 1 1 200px; }

/* ---------------- Cart drawer ---------------- */
.drawer {
  margin: 0 0 0 auto; width: min(440px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%;
  background: var(--surface); border-left: 1px solid var(--line);
}
.drawer[open] { animation: drawerIn 320ms var(--ease-out); }
.drawer.is-closing { animation: drawerOut 180ms ease-in forwards; }
@keyframes drawerIn { from { transform: translateX(100%); } }
@keyframes drawerOut { to { transform: translateX(100%); } }
.drawer-inner { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 16px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; }
.free-ship { margin-bottom: 18px; font-size: 13px; }
.free-ship[hidden] { display: none; }
.progress { height: 4px; margin-top: 8px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--brand); transform-origin: left; transition: transform 400ms var(--ease-out); }
.cart-items { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-thumb { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1; background: linear-gradient(180deg, #22221b, #121210); }
.cart-thumb svg { width: 90%; }
.cart-name { font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.cart-size { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--line); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty-btn { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: var(--text); }
.qty-btn:hover:not(:disabled) { color: var(--brand); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-btn .icon { width: 16px; height: 16px; }
.cart-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-variant-numeric: tabular-nums; }
.remove-btn { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -10px; background: none; border: 0; color: var(--muted); }
.remove-btn:hover { color: var(--error); }
.remove-btn .icon { width: 18px; height: 18px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 0; text-align: center; color: var(--muted); }
.cart-empty[hidden] { display: none; }
.cart-empty .icon { color: var(--brand); }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer-foot[hidden] { display: none; }
.totals { display: grid; gap: 6px; margin: 0 0 18px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals-total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 800; }
.totals-total dt { color: var(--text); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.secure-note .icon { width: 16px; height: 16px; color: var(--brand); }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast);
  max-width: min(480px, calc(100% - 32px)); padding: 14px 20px;
  background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 16px); opacity: 0;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------------- Reveal on scroll ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1000ms var(--ease-out) var(--d, 0ms), transform 1100ms var(--ease-out) var(--d, 0ms); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------------- Motion (js/motion.js prideda .motion) ---------------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Antraštės: kiekvienas žodis iškyla iš po „kaukės“ */
.motion .section-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.motion .section-title .w > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1100ms var(--ease-out) calc(var(--i, 0) * 70ms + 80ms);
}
.motion .section-title.in .w > span { transform: none; }

/* Linija prieš „kicker“ išsitiesia */
.motion .kicker::before { transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out); }
.motion .kicker.in::before { transform: none; }

/* Paveikslėlio atidengimas iš apačios + lėtas priartinimo atlaisvinimas */
.motion .unmask { clip-path: inset(100% 0 0 0); transition: clip-path 1400ms var(--ease-out); }
.motion .unmask img { scale: 1.18; transition: scale 1800ms var(--ease-out); }
.motion .unmask.in { clip-path: inset(0); }
.motion .unmask.in img { scale: 1; }

/* Hero vaizdo įrašo atidengimas pasikrovus */
.motion .hero-frame { clip-path: inset(100% 0 0 0); transition: clip-path 1600ms var(--ease-out) 200ms; }
.motion .hero-frame video { scale: 1.2; transition: opacity 900ms ease, scale 2400ms var(--ease-out) 200ms; }
.motion .hero.has-video .hero-frame { clip-path: inset(0); }
.motion .hero.has-video .hero-frame video { scale: 1; }
.motion .hero-media::before { opacity: 0; transition: opacity 1200ms ease 1200ms; }
.motion .hero.has-video .hero-media::before { opacity: 1; }

/* ---------------- Kontaktų forma: būsenos ir apsauga ---------------- */
/* Spąstai robotams – žmonės šio lauko nemato */
.contact-form[hidden] { display: none; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; font-size: 14px; border: 1px solid var(--error); color: var(--error); }
.form-status[hidden] { display: none; }
.form-sent {
  display: grid; gap: 10px; justify-items: start; margin-top: 28px; padding: 28px;
  border: 1px solid rgba(244, 226, 59, 0.5); background: var(--brand-glow);
}
.form-sent[hidden] { display: none; }
.form-sent .icon { width: 32px; height: 32px; color: var(--brand); }
.form-sent h3 { font-size: 20px; text-transform: uppercase; }
.form-sent p { color: var(--muted); }

.terms-note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }
.terms-note a { color: var(--text); }

/* ---------------- Footer: teisinės nuorodos ---------------- */
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; grid-column: 1 / -1; }
.footer-legal-links a, .footer-legal-links button {
  display: inline-block; padding: 10px 0; background: none; border: 0;
  font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.footer-legal-links a:hover, .footer-legal-links button:hover { color: var(--brand); }
.footer-legal-links li[hidden] { display: none; }

/* ---------------- Slapukų juosta ---------------- */
.cc-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 900;
  width: min(520px, calc(100% - 32px)); padding: 20px;
  display: grid; gap: 16px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(12px); transition: opacity var(--t-med), transform var(--t-med) var(--ease-out);
}
.cc-banner.show { opacity: 1; transform: none; }
.cc-banner[hidden] { display: none; }
.cc-banner p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.cc-banner a { color: var(--text); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { flex: 1 1 140px; padding-inline: 16px; }
@media (max-width: 480px) { .cc-banner { left: 8px; bottom: 8px; width: calc(100% - 16px); padding: 16px; } }

/* ---------------- Antriniai puslapiai (taisyklės, privatumas, 404) ---------------- */
.page-header {
  position: sticky; top: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(11, 11, 10, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.page-header-actions { display: flex; align-items: center; gap: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.back-link .icon { transform: rotate(180deg); width: 16px; height: 16px; }
.back-link:hover { color: var(--brand); }
@media (max-width: 480px) { .back-link span { display: none; } }

.legal { max-width: 780px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.legal .updated { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 18px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); scroll-margin-top: 90px; }
.legal p, .legal li { color: #d6d6ce; line-height: 1.7; overflow-wrap: anywhere; }
.legal p { margin-top: 12px; }
.legal ul, .legal ol { margin-top: 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal a { color: var(--brand); }
.legal strong { color: var(--text); }
.legal .todo { color: var(--error); font-weight: 700; }
.legal .table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #d6d6ce; }
.legal th { color: var(--text); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--surface); }
.legal tr:last-child td { border-bottom: 0; }
.legal code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--text); }
.legal [data-lang-block][hidden] { display: none; }

.not-found {
  min-height: calc(100vh - 73px); min-height: calc(100svh - 73px);
  display: grid; place-content: center; justify-items: center; gap: 18px;
  padding: 48px var(--gutter); text-align: center;
}
.not-found .big {
  font-family: var(--font-brush); font-size: clamp(110px, 30vw, 240px); line-height: 0.9;
  transform: rotate(-6deg);
  background: linear-gradient(to top, var(--brand) 35%, #fffbe0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.not-found h1 { font-size: clamp(22px, 4vw, 32px); text-transform: uppercase; }
.not-found p { color: var(--muted); max-width: 40ch; }
.not-found .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.not-found [data-lang-block][hidden] { display: none; }

/* ---------------- Užsakymas ir apmokėjimas pavedimu ---------------- */
.checkout-modal, .pay-modal { width: min(560px, calc(100% - 24px)); }
.checkout-form, .pay-body { display: grid; gap: 18px; padding: 32px 28px 28px; }
.checkout-form h2, .pay-body h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; padding-right: 40px; }
.co-summary { margin-top: -10px; color: var(--muted); font-size: 14px; }
.checkout-form fieldset { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.checkout-form legend { margin-bottom: 4px; padding: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.carrier-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.carrier { position: relative; }
.carrier input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.carrier span {
  display: grid; place-items: center; min-height: 52px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius); font-weight: 800; letter-spacing: 0.04em;
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.carrier:hover span { border-color: var(--brand); }
.carrier input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.carrier input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.pay-options { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.pay-options .carrier span { height: 100%; padding: 8px 12px; text-align: center; line-height: 1.25; letter-spacing: 0.02em; }
.pay-actions { display: grid; gap: 10px; }
.co-terms { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15px; }
.co-terms input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.co-terms a { color: var(--brand); }
.co-hint { font-size: 13px; color: var(--muted); text-align: center; }
.form-status:focus { outline: none; }
@media (max-width: 520px) {
  .checkout-form, .pay-body { padding: 28px 18px 22px; }
  .co-row { grid-template-columns: 1fr; }
}

.pay-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); }
.pay-body h2 { margin-top: -10px; }
.pay-order { font-size: 15px; color: var(--muted); }
.pay-order strong { color: var(--text); font-size: 18px; letter-spacing: 0.06em; }
.pay-lead { color: var(--muted); }
.pay-lead strong { color: var(--text); }
.pay-details { display: grid; margin: 0; border: 1px solid var(--line); }
.pay-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; padding: 10px 12px; }
.pay-row + .pay-row { border-top: 1px solid var(--line); }
.pay-row dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pay-row dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; min-width: 0; }
.pay-value { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pay-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.pay-copy:hover { border-color: var(--brand); color: var(--brand); }
.pay-copy .icon { width: 15px; height: 15px; }
.pay-warning { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--brand-glow); border: 1px solid rgba(244, 226, 59, 0.5); font-size: 14px; }
.pay-warning .icon { color: var(--brand); flex: none; }
.pay-urgent { padding: 12px 14px; border: 1px solid var(--error); background: rgba(255, 143, 128, 0.1); color: var(--error); font-weight: 800; font-size: 15px; line-height: 1.4; }
.pay-items { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.pay-items li { display: flex; justify-content: space-between; gap: 12px; }
.pay-items strong { color: var(--text); font-variant-numeric: tabular-nums; }
.pay-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 800; }
.pay-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
@media (max-width: 520px) {
  .pay-row { grid-template-columns: 1fr; gap: 4px; }
  .pay-copy span { display: none; }
  .pay-copy { width: 44px; justify-content: center; padding: 0; }
}

.my-orders { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.my-orders[hidden] { display: none; }
.my-orders h3 { margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.my-orders ul { display: grid; gap: 8px; }
.my-order {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; width: 100%;
  min-height: 48px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-align: left; font-size: 14px;
}
.my-order:hover { border-color: var(--brand); }
.order-pill {
  display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid currentColor;
}
.order-pill--unpaid { color: var(--brand); }
.order-pill--paid { color: #6ee07a; }
.order-pill--shipped { color: #7cc4ff; }
.order-pill--cancelled { color: var(--muted); }

/* ---------------- Gyvas pokalbis ---------------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 950;
  display: grid; place-items: center; width: 60px; height: 60px; padding: 0;
  border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(244, 226, 59, 0.5);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast);
}
.chat-launcher:hover { background: var(--brand-hi); transform: translateY(-2px); }
.chat-launcher .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.chat-launcher.is-open { transform: scale(0.92); }
.chat-badge {
  position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--sale); color: #fff; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center;
  box-shadow: 0 0 0 3px var(--bg);
}
.chat-badge[hidden] { display: none; }

.chat-panel {
  position: fixed; right: 20px; bottom: 92px; z-index: 950;
  width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(12px) scale(0.98); transform-origin: bottom right;
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-out);
}
.chat-panel.show { opacity: 1; transform: none; }
.chat-panel[hidden] { display: none; }
.chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 10px 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.chat-title { font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.chat-status { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.chat-panel.is-online .chat-dot, .chat-cta-status.is-online .chat-dot { background: #6ee07a; box-shadow: 0 0 0 3px rgba(110, 224, 122, 0.2); }

.chat-log {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 16px; list-style: none;
}
.chat-msg { max-width: 82%; display: grid; gap: 4px; }
.chat-msg p { padding: 10px 13px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg time { font-size: 11px; color: var(--muted); }
.chat-msg--them { align-self: flex-start; }
.chat-msg--them p { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; }
.chat-msg--me { align-self: flex-end; justify-items: end; }
.chat-msg--me p { background: var(--brand); color: var(--on-brand); border-radius: 14px 4px 14px 14px; }

.chat-form { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--bg-2); }
.chat-profile { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-profile[hidden] { display: none; }
.chat-profile .chat-hint { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.chat-form input, .chat-form textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font-size: 16px;
}
.chat-form input:focus-visible, .chat-form textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.chat-compose { display: flex; align-items: flex-end; gap: 8px; }
.chat-compose textarea { flex: 1; resize: none; max-height: 140px; line-height: 1.4; }
.chat-send {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--radius); background: var(--brand); color: var(--on-brand);
}
.chat-send:hover { background: var(--brand-hi); }
.chat-send:disabled { opacity: 0.6; cursor: progress; }
.chat-error { font-size: 13px; color: var(--error); }
.chat-error[hidden] { display: none; }

/* Telefone – per visą ekraną */
@media (max-width: 560px) {
  .chat-launcher { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  .chat-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; transform-origin: bottom; }
  .chat-panel:not([hidden]) ~ .chat-launcher, .chat-launcher.is-open { display: none; }
  .chat-profile { grid-template-columns: 1fr; }
}
/* Slapukų juosta neturi uždengti pokalbio mygtuko */
.cc-banner { right: auto; }
@media (max-width: 480px) { .cc-banner { bottom: 80px; } }

/* Kontaktų skiltis: kvietimas į pokalbį */
.chat-cta { display: grid; gap: 18px; justify-items: start; margin-top: 24px; max-width: 520px; }
.chat-cta p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.chat-cta-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); font-size: 13px; color: var(--text); }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

