/* Inter (SIL OFL) – šriftas patalpintas pačioje svetainėje, jokių užklausų į Google (privatumas, greitis) */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #0b0914;
  --panel: #13101f;
  --panel2: #1a162b;
  --panel-card: #161224;
  --line: #2e243d;
  --line-light: #3e3152;
  --text: #f7f3fb;
  --muted: #a499b5;
  --purple: #9d4edd;
  --purple-glow: #c77dff;
  --purple-dark: #6e1cb8;
  --accent: #7b2cbf;
  --green: #10b981;
  --red: #ef4444;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
button, input, select, textarea { font: inherit; }

/* Announcement Bar */
.announcement {
  text-align: center;
  background: linear-gradient(90deg, #160c29 0%, #2a1147 50%, #160c29 100%);
  color: #e0aaff;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}

/* Header */
.header {
  height: 76px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(11, 9, 20, 0.85);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(157, 78, 221, 0.6));
  transition: transform 0.3s;
}
.brand:hover img { transform: scale(1.08) rotate(-3deg); }
.brand > span > span {
  background: linear-gradient(110deg, #e0aaff, #c77dff, #7b2cbf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.header nav a:hover { color: #fff; }

.head-search {
  height: 42px;
  display: flex;
  flex: 1;
  max-width: 360px;
  margin-left: auto;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.head-search:focus-within { border-color: var(--purple-glow); }
.head-search input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 14px;
  color: #fff;
  outline: none;
}
.head-search button {
  background: transparent;
  border: none;
  padding: 0 14px;
  color: var(--muted);
  cursor: pointer;
}
.head-search button:hover { color: #fff; }

.cart-link {
  background: linear-gradient(135deg, var(--accent), var(--purple-dark));
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(123, 44, 191, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cart-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6);
}
.cart-link b {
  background: #fff;
  color: var(--purple-dark);
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 11px;
}

.mobile-menu { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 60px 5%;
  align-items: center;
  background: radial-gradient(circle at 70% 30%, rgba(157, 78, 221, 0.15) 0%, transparent 60%);
}
.hero-copy label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--purple-glow);
  margin-bottom: 12px;
  display: block;
}
.hero-copy h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(110deg, #e0aaff, #9d4edd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 520px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(157, 78, 221, 0.35);
  transition: all 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(157, 78, 221, 0.55);
}
.btn.secondary {
  background: var(--panel2);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.secondary:hover { border-color: var(--purple-glow); color: #fff; }

.hero-points {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}
.hero-points span { display: flex; align-items: center; gap: 6px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(157, 78, 221, 0.25);
  transition: transform 0.4s ease;
}

/* Layout Wrap */
.wrap { padding: 50px 5%; max-width: 1350px; margin: 0 auto; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}
.section-title small { font-size: 11px; letter-spacing: 1.5px; color: var(--purple-glow); font-weight: 700; display: block; margin-bottom: 4px; }
.section-title h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.section-title h2 em { font-style: normal; color: var(--purple-glow); }
.section-title a { color: var(--purple-glow); font-weight: 600; font-size: 13px; }
.section-title a:hover { text-decoration: underline; }

/* Product Grid & Cards (ENHANCED IMAGES) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--panel-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-light);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(157, 78, 221, 0.2);
}

.product-picture {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #08060f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.product-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.product-card:hover .product-picture img {
  transform: scale(1.04);
}
.product-picture span {
  font-weight: 800;
  font-size: 20px;
  color: var(--muted);
  letter-spacing: 1px;
}
.product-picture i {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(19, 16, 31, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-glow);
}
.product-picture .zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.product-picture:hover .zoom-hint { opacity: 1; }

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info small {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 600;
}
.product-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name:hover { color: var(--purple-glow); }
.product-info p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product-foot strong {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.product-foot button {
  background: var(--panel2);
  border: 1px solid var(--line-light);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.product-foot button:hover:not(:disabled) {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.4);
}
.product-foot button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: transparent;
}

.stock {
  font-size: 11px;
  margin-top: 8px;
  font-weight: 600;

}
.stock.in { color: var(--green); }
.stock.out { color: var(--red); }

/* LIGHTBOX MODAL FOR ENHANCED IMAGES */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 10, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: fadeIn 0.25s ease;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(157, 78, 221, 0.3);
}
.lightbox-caption {
  margin-top: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: var(--panel2);
  border: 1px solid var(--line-light);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: var(--purple); }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* Catalog Page */
.page { min-height: 70vh; }
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs a:hover { color: var(--purple-glow); }

.page-heading { margin-bottom: 36px; }
.page-heading small { font-size: 11px; letter-spacing: 1.5px; color: var(--purple-glow); font-weight: 700; }
.page-heading h1 { font-size: 36px; font-weight: 900; margin-top: 4px; }
.page-heading h1 em { font-style: normal; color: var(--purple-glow); }
.page-heading p { color: var(--muted); font-size: 15px; margin-top: 6px; }

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
}

/* Filters Sidebar */
.filters {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
}
.filters h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple-glow);
  margin-bottom: 16px;
}
.filters hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
.filters a {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.filters a span {
  background: var(--panel2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
}
.filters a:hover, .filters a.selected {
  background: var(--panel2);
  color: #fff;
}
.filters a.selected { border-left: 3px solid var(--purple); font-weight: 700; }

.filters label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.filters input, .filters select {
  width: 100%;
  margin-top: 6px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  outline: none;
}
.filters input:focus, .filters select:focus { border-color: var(--purple-glow); }

.outline {
  background: transparent;
  border: 1px solid var(--line-light);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: all 0.2s;
}
.outline:hover { border-color: var(--purple-glow); color: var(--purple-glow); }

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: var(--panel);
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.results-bar span { font-weight: 600; color: var(--muted); }
.results-bar select {
  background: var(--panel2);
  border: 1px solid var(--line);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  outline: none;
}

/* Product Detail Page */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 60px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}
.detail-image {
  background: #08060f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s ease;
}
.detail-image:hover img { transform: scale(1.06); }

.detail-info small { color: var(--purple-glow); font-weight: 700; letter-spacing: 1px; font-size: 11px; }
.detail-info h1 { font-size: 32px; font-weight: 900; margin: 10px 0 16px 0; line-height: 1.25; }
.detail-info p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.detail-price { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.availability { margin-bottom: 24px; font-weight: 700; color: var(--green); }
.btn.add-detail { padding: 15px 36px; font-size: 16px; width: 100%; justify-content: center; }
.detail-note { margin-top: 16px; font-size: 12px; color: var(--muted); text-align: center; }

.spec-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}
.spec-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.spec-section h2 em { font-style: normal; color: var(--purple-glow); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.spec-grid div {
  background: var(--panel2);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.spec-grid span { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.spec-grid b { font-size: 14px; color: #fff; }

/* Cart Page */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}
.cart-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.cart-line {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line:last-child { border-bottom: none; }
.cart-thumb {
  width: 70px;
  height: 70px;
  background: #08060f;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-product { flex: 1; }
.cart-product a { font-weight: 700; font-size: 15px; color: #fff; }
.cart-product a:hover { color: var(--purple-glow); }
.cart-product small { display: block; color: var(--muted); margin-top: 4px; }

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
}
.qty button { background: none; border: none; color: #fff; font-size: 16px; cursor: pointer; padding: 0 6px; }
.remove { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.remove:hover { color: var(--red); }

.checkout-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
}
.checkout-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.total { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.total b { font-size: 24px; color: var(--purple-glow); }
.checkout-card p { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.checkout-card .btn { width: 100%; justify-content: center; }

.checkout-panel {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}
.checkout-panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.checkout-panel h2 em { font-style: normal; color: var(--purple-glow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.checkout-panel label { display: block; margin-bottom: 16px; font-size: 12px; font-weight: 600; color: var(--muted); }
.checkout-panel input, .checkout-panel textarea {
  width: 100%;
  margin-top: 6px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  outline: none;
}
.checkout-panel input:focus, .checkout-panel textarea:focus { border-color: var(--purple-glow); }

/* Promo section */
.promo {
  margin: 60px 5%;
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel2) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.promo small { font-size: 11px; letter-spacing: 1.5px; color: var(--purple-glow); font-weight: 700; }
.promo h2 { font-size: 28px; font-weight: 900; margin-top: 6px; }
.promo p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--panel2);
  border: 1px solid var(--purple);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2000;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 50px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #08060f;
  text-align: center;
  color: var(--muted);
}
footer div { display: flex; gap: 24px; }
footer a:hover { color: #fff; }

/* ADMIN PANEL STYLES */
.admin-body { background: #08060f; }
.admin-wrap { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.login-card {
  max-width: 420px;
  margin: 80px auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.login-card h1 { font-size: 24px; font-weight: 800; margin: 8px 0; }
.login-card p { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.login-card input {
  width: 100%;
  background: var(--panel2);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 16px;
}
.login-card .btn { width: 100%; justify-content: center; }
.login-card .hint { margin-top: 16px; font-size: 11px; text-align: center; }
.login-card code { background: var(--panel2); padding: 3px 6px; border-radius: 4px; color: var(--purple-glow); }
.error { color: var(--red); font-size: 13px; margin-top: 10px; font-weight: 600; }

.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-top h1 { font-size: 32px; font-weight: 900; }

.admin-tabs { display: flex; gap: 12px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.admin-tabs button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
}
.admin-tabs button.active { background: var(--panel2); color: var(--purple-glow); }

.admin-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.admin-table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  margin-bottom: 20px;
}
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 20px; border-bottom: 1px solid var(--line); }
th { background: var(--panel2); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
td { font-size: 14px; }
tr:last-child td { border-bottom: none; }

.prod-cell { display: flex; align-items: center; gap: 14px; }
.prod-thumb { flex: 0 0 44px; }
.prod-thumb {
  width: 44px;
  height: 44px;
  background: #08060f;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-badge { font-weight: 800; font-size: 10px; color: var(--muted); }

.tag { background: var(--panel2); padding: 4px 10px; border-radius: 12px; font-size: 12px; color: var(--purple-glow); font-weight: 600; }
.cond-badge { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.cond-badge.new { background: rgba(16, 185, 129, 0.2); color: var(--green); }
.cond-badge.used { background: rgba(157, 78, 221, 0.2); color: var(--purple-glow); }
.in-stock { color: var(--green); }
.out-stock { color: var(--red); }

.table-actions { display: flex; gap: 8px; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; cursor: pointer; }
.btn-sm.outline { background: transparent; border: 1px solid var(--line-light); color: #fff; }
.btn-sm.danger { background: rgba(239, 68, 68, 0.2); border: 1px solid var(--red); color: var(--red); }
.btn-sm.danger:hover { background: var(--red); color: #fff; }

.order-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.order-status-wrap select {
  background: var(--panel2);
  border: 1px solid var(--line);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
}
.order-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.order-customer p { margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.order-customer strong { color: #fff; }
.order-items ul { list-style: none; margin: 10px 0; }
.order-items li { font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.order-total { font-size: 16px; font-weight: 800; margin-top: 12px; color: var(--purple-glow); }

/* Admin Modal */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal:not([hidden]) {
  display: flex !important;
}
.admin-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-x {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.admin-form label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%;
  margin-top: 4px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  outline: none;
}
.admin-form .btn { width: 100%; justify-content: center; margin-top: 16px; }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .header nav { display: none; }
  .mobile-menu { display: block; }
}


/* =====================================================================
   v12 — papildymai: katalogas, kontaktai, mobili versija, administravimas
   ===================================================================== */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--purple-glow); outline-offset: 2px; }
.announcement { min-height: 34px; }

/* ---- antraštė ---- */
.header nav a { position: relative; padding: 6px 0; }
.header nav a.active { color: #fff; }
.header nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--purple-glow); }
.brand { min-width: 0; }
.brand img { object-fit: contain; }

/* ---- pradžia ---- */
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--purple-glow); margin-bottom: 12px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; gap: 8px 22px; margin-top: 32px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.hero-visual { isolation: isolate; }
.hero-visual::before { content: ''; position: absolute; inset: 8% 4%; z-index: -1; background: radial-gradient(closest-side, rgba(157, 78, 221, .45), transparent); filter: blur(30px); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.trust-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.trust-card span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); color: var(--purple-glow); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.trust-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.trust-card p { color: var(--muted); font-size: 13px; }

/* ---- kortelės ---- */
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 800; letter-spacing: 1px; font-size: 15px; text-align: center; padding: 10px;
  background: radial-gradient(circle at 50% 40%, rgba(157, 78, 221, .14), transparent 70%); }
.ph > img, .product-picture .ph > img, .detail-image .ph > img, .cart-thumb .ph > img { width: 56px; height: auto; padding: 0; opacity: .4; object-fit: contain; filter: none; }
.cart-thumb .ph { gap: 0; font-size: 0; } .cart-thumb .ph > img { width: 34px; }
.cart-thumb { flex: 0 0 70px; }
.product-picture .sold-flag { position: absolute; inset: auto 0 0 0; text-align: center; font-style: normal; font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 7px; background: rgba(239, 68, 68, .85); color: #fff; }
.product-card.is-sold .product-picture > img { filter: grayscale(.9) opacity(.45); }
.product-card.is-sold .product-name { color: var(--muted); }
.stock.in { color: var(--green); } .stock.low { color: #f59e0b; } .stock.out { color: var(--red); }
.product-info p { min-height: 0; }

/* ---- katalogas ---- */
.filters { position: sticky; top: 96px; }
.filters .chk, .filters fieldset .chk { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: #d9d0e6; margin-bottom: 10px; cursor: pointer; }
.filters .chk input { width: auto; margin: 0; padding: 0; accent-color: var(--purple); }
.filters fieldset { border: none; margin: 0 0 14px; padding: 0; min-width: 0; }
.filters legend { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; padding: 0; }
.filters a.selected { border-left: 3px solid var(--purple); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.results-bar { gap: 12px; }
.results-bar #resultCount { flex: 1; }
.filters-toggle { display: none; align-items: center; gap: 6px; background: var(--panel2); border: 1px solid var(--line-light); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.load-more { display: flex; margin: 30px auto 0; }
.empty-state { grid-column: 1 / -1; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-light); border-radius: var(--radius); padding: 44px 20px; }
.empty-state p { margin-bottom: 16px; font-size: 15px; }
.empty-state .btn { color: #fff; }
.loading { text-align: center; color: var(--muted); padding: 120px 0; }
.breadcrumbs .current { color: #cfc4de; }

/* ---- prekės puslapis ---- */
.detail-image { cursor: default; position: relative; }
.detail-image.zoomable { cursor: zoom-in; }
.detail-image .ph { font-size: 22px; }
.detail-info .lead { color: #d9d0e6; font-size: 16px; margin-bottom: 18px; }
.availability.out { color: var(--red); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.add-detail { width: auto; flex: 1 1 220px; }
.detail-actions .btn.secondary { flex: 0 0 auto; padding: 15px 22px; }
.in-cart { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.in-cart a { color: var(--purple-glow); font-weight: 600; }
.related { margin-top: 60px; }

/* ---- krepšelis ---- */
.cart-line .line-total { min-width: 84px; text-align: right; }
.qty button { width: 26px; height: 26px; border-radius: 6px; }
.qty button:hover:not(:disabled) { background: var(--panel); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.checkout-card .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.notice { background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .4); color: #fcd34d; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 13px; }
.checkout-panel .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.45; }
.checkout-panel .consent input { width: auto; margin: 3px 0 0; accent-color: var(--purple); }
.checkout-panel .btn { margin-top: 4px; }
.form-msg { margin-top: 14px; font-size: 13px; font-weight: 600; min-height: 1em; }
.form-msg.error { color: var(--red); }
.form-msg.ok { color: var(--green); }
.link-btn { background: none; border: none; color: var(--purple-glow); text-decoration: underline; cursor: pointer; font-weight: 700; padding: 0; }
.order-done, .info-page { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 48px; margin-bottom: 30px; }
.order-done { text-align: center; max-width: 640px; margin: 20px auto; }
.order-done h1, .info-page h1 { font-size: 36px; font-weight: 900; letter-spacing: -1px; margin: 6px 0 14px; }
.order-done p, .info-page p { color: var(--muted); font-size: 15px; margin-bottom: 14px; max-width: 640px; }
.order-done p b { color: #fff; }
.order-done .btn, .info-page .btn { margin-top: 10px; }
.order-done small, .info-page small { font-size: 11px; letter-spacing: 1.5px; color: var(--purple-glow); font-weight: 700; }
.info-page h1 em { font-style: normal; color: var(--purple-glow); }
.order-done p { margin-left: auto; margin-right: auto; }
.done-mark { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 185, 129, .15); border: 1px solid var(--green); color: var(--green); font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.notfound { text-align: center; }
.notfound p { margin-left: auto; margin-right: auto; }

/* ---- kontaktai ---- */
.contact-layout { display: grid; grid-template-columns: minmax(240px, 1fr) 1.5fr; gap: 28px; align-items: start; }
.contact-layout:not(:has(.info-grid)) { grid-template-columns: 1fr; }
.info-grid { display: grid; gap: 14px; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.info-card span { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.info-card b { font-size: 16px; color: #fff; word-break: break-word; }
.info-card a:hover { color: var(--purple-glow); }
.contact-form-card { margin-top: 0; }
.contact-form-card.solo { max-width: 720px; width: 100%; margin: 0 auto; }
.contact-form-card .sent { text-align: center; padding: 20px 0; }
.contact-form-card .sent h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form-card .sent p { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- apačia ---- */
footer .brand { font-size: 22px; }
.footer-contact { display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
footer div { flex-wrap: wrap; justify-content: center; }
footer small { color: #6f6483; }

/* ---- administravimas ---- */
.admin-wrap .brand { margin-bottom: 8px; }
.login-card .hint { line-height: 1.6; }
.admin-top-actions { display: flex; gap: 12px; align-items: center; }
.admin-top-actions .outline { width: auto; margin: 0; }
.outline-link { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 10px 18px; font-weight: 600; color: #fff; white-space: nowrap; }
.outline-link:hover { border-color: var(--purple-glow); color: var(--purple-glow); }
.admin-tabs { flex-wrap: wrap; }
.admin-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.count-badge { background: var(--purple); color: #fff; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-toolbar input, .admin-toolbar select, .admin-actions select { background: var(--panel2); border: 1px solid var(--line); color: #fff; padding: 10px 14px; border-radius: 8px; outline: none; }
.admin-toolbar input { flex: 1 1 260px; }
.admin-hint { color: var(--muted); font-size: 13px; margin: -6px 0 18px; }
.btn-sm.outline { width: auto; margin: 0; padding: 6px 12px; font-weight: 600; }
.btn-sm.outline:hover { border-color: var(--purple-glow); color: var(--purple-glow); }
.table-actions { flex-wrap: wrap; }
.prod-cell small, td small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 800; }
.chip.active { background: rgba(16, 185, 129, .18); color: var(--green); }
.chip.sold { background: rgba(245, 158, 11, .18); color: #f59e0b; }
.chip.deleted { background: rgba(239, 68, 68, .18); color: var(--red); }
.chip.new { background: rgba(157, 78, 221, .25); color: var(--purple-glow); }
.row-deleted td { opacity: .55; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.order-card.st-0 { border-left: 4px solid #f59e0b; }
.order-card.st-1 { border-left: 4px solid var(--purple); }
.order-card.st-2 { border-left: 4px solid var(--green); }
.order-card.st-3 { border-left: 4px solid var(--red); opacity: .75; }
.order-customer a { color: var(--purple-glow); }
.msg-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-bottom: 16px; }
.msg-card.unread { border-color: var(--purple); box-shadow: 0 0 0 1px rgba(157, 78, 221, .3); }
.msg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.msg-head small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.msg-head a { color: var(--purple-glow); }
.msg-product { font-size: 12px; color: var(--purple-glow); margin-bottom: 8px; }
.msg-card p { color: #d9d0e6; white-space: pre-wrap; margin-bottom: 14px; }
.upload-box { display: grid; grid-template-columns: 150px 1fr; gap: 18px; margin: 4px 0 14px; padding: 14px; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; }
.upload-preview { aspect-ratio: 1; background: #08060f; border: 1px dashed var(--line-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-size: 12px; text-align: center; }
.upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.upload-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; align-content: flex-start; }
.upload-controls strong { width: 100%; font-size: 13px; }
.upload-controls small { width: 100%; color: var(--muted); font-size: 11px; }
.upload-controls label { margin: 0; }
.upload-controls > label:last-child { width: 100%; margin-top: 6px; }
.upload-btn { display: inline-block; cursor: pointer; margin: 0 !important; color: #fff !important; font-size: 12px !important; }
.settings-form { max-width: 560px; }
.admin-form .form-msg { margin-top: 12px; }

/* ---- mobili versija ---- */
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .catalog-layout > * { min-width: 0; }
  .results-bar { flex-wrap: wrap; }
  .results-bar select { min-width: 0; flex: 1 1 160px; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header { height: auto; flex-wrap: wrap; padding: 10px 4%; gap: 10px; }
  .brand { margin-right: auto; font-size: 22px; }
  .head-search { order: 5; flex: 1 1 100%; max-width: none; margin-left: 0; height: 40px; }
  .header nav.open { display: flex; order: 6; flex: 1 1 100%; flex-direction: column; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; }
  .header nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .header nav.open a:last-child { border-bottom: none; }
  .header nav a.active::after { display: none; }
  .hero { padding: 36px 5% 20px; gap: 28px; }
  .hero-copy h1 { font-size: 36px; }
  .pc-map { max-width: 360px; }
  .wrap { padding: 32px 5%; }
  .section-title h2 { font-size: 22px; }
  .page-heading h1, .order-done h1, .info-page h1 { font-size: 28px; }
  .order-done, .info-page { padding: 28px 22px; }
  .detail-layout { padding: 18px; gap: 24px; }
  .detail-info h1 { font-size: 24px; }
  .detail-price { font-size: 30px; }
  .spec-section, .checkout-panel { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .promo { flex-direction: column; align-items: flex-start; padding: 28px 22px; margin: 36px 5%; }
  .cart-line { flex-wrap: wrap; gap: 12px 14px; }
  .cart-product { flex: 1 1 calc(100% - 100px); }
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
  .order-body { grid-template-columns: 1fr; }
  .order-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .admin-actions { flex-wrap: wrap; gap: 12px; }
  .upload-box { grid-template-columns: 1fr; }
  .upload-preview { max-width: 160px; }
  th, td { padding: 12px 14px; }
}

/* ===== v13: galerija, testų nuotraukos, juodraščiai ===== */
.gallery { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
button.detail-image { width: 100%; padding: 0; font: inherit; color: inherit; aspect-ratio: 4 / 5; max-height: 620px; cursor: zoom-in; }
button.detail-image img { padding: 14px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb {
  flex: 0 0 68px; height: 68px; padding: 0; background: #08060f; border: 2px solid var(--line);
  border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { border-color: var(--purple-glow); }
.thumb.active { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(157, 78, 221, .35); }
.thumb:focus-visible, .test-shot:focus-visible, button.detail-image:focus-visible { outline: 2px solid var(--purple-glow); outline-offset: 2px; }

.tests-section { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px 36px; margin-bottom: 60px; }
.tests-section h2 { font-size: 24px; font-weight: 900; margin: 0 0 6px; }
.tests-section h2 em { color: var(--purple-glow); font-style: normal; }
.tests-lead { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.tests-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.test-shot {
  padding: 0; background: #08060f; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  aspect-ratio: 16 / 10; cursor: zoom-in; transition: border-color .2s, transform .2s;
}
.test-shot:hover { border-color: var(--purple-glow); transform: translateY(-2px); }
.test-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }

.lightbox-content { max-width: min(94vw, 1500px); }
.lightbox-content img { max-width: 94vw; max-height: 80vh; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-light); background: rgba(20, 16, 32, .85); color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
}
.lightbox-nav:hover { background: var(--purple); }
.lightbox-nav.prev { left: 8px; } .lightbox-nav.next { right: 8px; }

@media (max-width: 768px) {
  button.detail-image { max-height: 480px; }
  .tests-section { padding: 20px 16px; margin-bottom: 36px; }
  .tests-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { padding: 12px; }
  .lightbox-close { top: -40px; right: 4px; }
  .lightbox-nav { width: 38px; height: 38px; }
}

/* v13 admin: greitas kainos redagavimas, nuotraukų tvarkyklė */
.inline-wrap { display: inline-flex; align-items: center; gap: 6px; }
.inline-wrap span { color: var(--muted); font-size: 12px; }
.inline-num {
  width: 84px; padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line-light, #3a3350);
  background: #0c0914; color: #fff; font: inherit; font-weight: 700;
}
.inline-num[data-inline="stock"] { width: 64px; }
.inline-num:focus { outline: 2px solid var(--purple-glow); outline-offset: 1px; }
.inline-num.needs { border-color: #f59e0b; background: rgba(245, 158, 11, .12); }
.inline-num.saved { border-color: var(--green); box-shadow: 0 0 0 2px rgba(34, 197, 94, .35); }
.inline-num.bad { border-color: var(--red); }
.chip.draft { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.btn-sm.primary { background: var(--purple); border-color: var(--purple); color: #fff; }

.media-box { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 14px 0; display: grid; gap: 10px; }
.media-box small { color: var(--muted); font-weight: 400; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.media-empty { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding: 10px 0; }
.media-item { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #08060f; border: 1px solid var(--line); }
.media-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-badge { position: absolute; left: 4px; top: 4px; background: var(--purple); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; }
.media-actions { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 2px; padding: 3px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.media-actions button { flex: 1; border: 0; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 5px; cursor: pointer; font-size: 15px; line-height: 1.4; padding: 0; }
.media-actions button:hover:not(:disabled) { background: var(--purple); }
.media-actions button:disabled { opacity: .3; cursor: default; }
.media-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.media-controls input { flex: 1 1 220px; min-width: 0; }
.chip.draft { background: rgba(245, 158, 11, .16); color: #fbbf24; }
td .prod-cell { min-width: 240px; }
.admin-table-wrap td { vertical-align: middle; }

/* ===== v14: katalogo filtrai ===== */
/* Šoninė juosta „prilipusi“, todėl turi tilpti į ekraną ir slinkti viduje – kitaip apatiniai filtrai pasiekiami tik puslapio gale. */
.filters {
  position: sticky; top: 92px; align-self: start;
  max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--line-light, #3a3350) transparent;
}
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: var(--line-light, #3a3350); border-radius: 6px; }
.filters-hint { color: var(--muted); font-size: 12px; margin: 0 0 14px; line-height: 1.5; }
.subcats { margin: 0 0 8px 12px; padding-left: 8px; border-left: 1px solid var(--line); }
.subcats a { padding: 6px 10px; font-size: 13px; }
.fgroup { border-top: 1px solid var(--line); padding: 10px 0 4px; margin: 0; }
.fgroup > summary {
  cursor: pointer; list-style: none; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  color: #cfc4e2; padding: 4px 0 10px; display: flex; justify-content: space-between; align-items: center;
}
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary::after { content: '▾'; color: var(--muted); transition: transform .2s; }
.fgroup:not([open]) > summary::after { transform: rotate(-90deg); }
.fgroup > summary:focus-visible { outline: 2px solid var(--purple-glow); outline-offset: 2px; border-radius: 4px; }
.fopts { max-height: 232px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.filters .chk { justify-content: flex-start; }
.filters .chk .n { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); background: var(--panel2); padding: 1px 8px; border-radius: 10px; }
.filters .chk.dim { opacity: .45; cursor: default; }
.filters .chk input:disabled { cursor: default; }
.filters .price-row label { margin-bottom: 10px; }
.filters > .chk { margin: 12px 0; }
@media (max-width: 900px) {
  .filters { position: static; max-height: none; overflow: visible; }
}

/* v14 admin: filtrų reikšmės */
.attr-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 14px 0; min-width: 0; }
.attr-box legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.attr-box legend small { color: var(--muted); font-weight: 400; }
.attr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.attr-grid label { margin: 0; }
@media (max-width: 600px) { .attr-grid { grid-template-columns: 1fr; } }

/* v15: aprašymas ir specifikacijos pagal šabloną */
.spec-section .desc { display: grid; gap: 0; max-width: 760px; }
.spec-section .desc p { margin: 0; padding: 14px 0; color: #d9d0e6; line-height: 1.65; border-top: 1px solid var(--line); }
.spec-section .desc p:first-child { border-top: 0; padding-top: 0; color: #fff; font-size: 16px; }
.spec-title { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-glow); margin: 28px 0 -4px; }
.spec-grid.facts { margin-top: 14px; }
.spec-grid.facts div { padding: 10px 14px; }
.spec-foot { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.spec-foot a { color: var(--purple-glow); font-weight: 700; }
.tpl-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 -2px; }
.tpl-row small { color: var(--muted); font-size: 12px; }

/* v16: telefono lauko klaida */
.field-hint { display: block; min-height: 0; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: #ff8d9a; line-height: 1.4; }
.field-hint:empty { display: none; }
input.invalid { border-color: #ff5c70 !important; box-shadow: 0 0 0 3px rgba(255, 92, 112, .14); }

/* ============ v16: kategorijų plytelės ============ */
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 50px; }
.category-tile {
  position: relative; display: flex; flex-direction: column; min-height: 156px; padding: 18px 18px 16px;
  background: linear-gradient(180deg, var(--panel) 0%, #100d1b 100%);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.category-tile::after {            /* švelnus violetinis švytėjimas kampe */
  content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(157, 78, 221, .22), transparent); opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.category-tile:hover, .category-tile:focus-visible { border-color: var(--purple-glow); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(199, 125, 255, .25); outline: none; }
.category-tile:hover::after, .category-tile:focus-visible::after { opacity: 1; }
.cat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: auto; }
.cat-icon {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
  background: var(--panel2); border: 1px solid var(--line-light); color: var(--purple-glow);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.category-tile:hover .cat-icon, .category-tile:focus-visible .cat-icon { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); border-color: transparent; color: #fff; }
.cat-count { font-size: 12.5px; font-weight: 600; color: var(--muted); padding-top: 4px; text-align: right; }
.cat-count.soon { color: #7d7290; font-weight: 500; }
.cat-name { margin-top: 22px; font-size: 17px; font-weight: 800; line-height: 1.2; color: #fff; letter-spacing: -.2px; }
.cat-hint { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ============ v16: hero nuotrauka su kliekamais taškais ============ */
.pc-map { position: relative; width: 100%; max-width: 495px; }
.pc-map img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line-light); box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 30px rgba(157, 78, 221, .25); }
.hero-visual { flex-direction: column; gap: 14px; }
.pc-hint { max-width: 495px; width: 100%; text-align: left; font-size: 13px; color: var(--muted); }
.hot { position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: block; outline: none; -webkit-tap-highlight-color: transparent; }
/* v17: taškas piešiamas CSS'u (nuotrauka švari) – baltas branduolys + violetinis švytėjimas */
.hot::before { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 45%, #ecd6ff 100%); box-shadow: 0 0 0 4px rgba(157, 78, 221, .6), 0 0 14px 4px rgba(199, 125, 255, .85); animation: hot-breathe 3.2s ease-in-out infinite; transition: inset .18s ease, box-shadow .18s ease; }
@keyframes hot-breathe { 0%, 100% { box-shadow: 0 0 0 4px rgba(157, 78, 221, .6), 0 0 12px 3px rgba(199, 125, 255, .7); } 50% { box-shadow: 0 0 0 5px rgba(157, 78, 221, .4), 0 0 20px 6px rgba(199, 125, 255, 1); } }
.hot:hover, .hot:focus-visible { z-index: 5; }
.hot:hover::before, .hot:focus-visible::before { inset: 12px; animation: none; box-shadow: 0 0 0 6px rgba(199, 125, 255, .45), 0 0 26px 8px rgba(199, 125, 255, 1); }
.hot-label {
  position: absolute; top: 50%; z-index: 3; white-space: nowrap; pointer-events: none;
  background: rgba(14, 10, 26, .96); border: 1px solid var(--purple-glow); color: #fff; padding: 7px 11px; border-radius: 9px;
  font-size: 13px; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .55), 0 0 18px rgba(157, 78, 221, .35);
  opacity: 0; transform: translateY(-50%) scale(.96); transition: opacity .16s ease, transform .16s ease;
}
.hot.r .hot-label { left: calc(100% - 6px); transform-origin: left center; }
.hot.l .hot-label { right: calc(100% - 6px); transform-origin: right center; }
.hot:hover .hot-label, .hot:focus-visible .hot-label { opacity: 1; transform: translateY(-50%) scale(1); }
.hot-label em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 8px; }
@keyframes hot-ping { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.hot::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; border: 2px solid var(--purple-glow); opacity: 0; animation: hot-ping 1.6s ease-out .9s 2; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hot::after, .hot::before { animation: none; } .hot-label, .hot::before, .category-tile, .cat-icon { transition: none; } }

@media (max-width: 1100px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-tile { min-height: 138px; padding: 14px; }
  .cat-icon { width: 42px; height: 42px; }
  .cat-name { font-size: 15px; margin-top: 16px; }
  .cat-hint { font-size: 12px; }
  .cat-count { font-size: 11.5px; }
  .hot-label { font-size: 12px; padding: 6px 9px; }
}

/* v16: telefone prekių kortelės – dvi kolonos, kad nuotraukos nebūtų per didelės */
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-info { padding: 12px; }
  .product-info small { font-size: 10px; margin-bottom: 4px; }
  .product-name { font-size: 14px; margin-bottom: 4px; }
  .product-info p { font-size: 11.5px; margin-bottom: 10px; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .product-foot strong { font-size: 17px; }
  .product-foot button { width: 100%; padding: 9px 8px; }
  .stock { font-size: 10.5px; margin-top: 6px; }
}

/* v18: įspėjimai užsakymuose */
.order-warn { display: block; margin-top: 2px; color: #f59e0b; font-weight: 600; font-size: 12.5px; }
.order-done { margin-top: 10px; font-size: 13px; color: var(--green); }

/* v19: teisinės informacijos puslapiai */
.info-page.legal { max-width: 860px; }
.info-page.legal h2 { font-size: 19px; font-weight: 800; margin: 26px 0 8px; color: #fff; letter-spacing: -.2px; }
.info-page.legal p { max-width: 760px; line-height: 1.6; }
.info-page.legal a, .form-note a, .consent a { color: var(--purple-glow); text-decoration: underline; text-underline-offset: 2px; }
.legal-seller { color: #fff !important; background: var(--panel2, rgba(255,255,255,.04)); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; line-height: 1.7 !important; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.checkout-panel .consent span { display: block; }
.launch-warn { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid #f59e0b; background: rgba(245, 158, 11, .1); color: #fcd34d; font-size: 14px; line-height: 1.5; }
.launch-warn button { margin-left: 8px; }
@media (max-width: 640px) { .info-page.legal { padding: 28px 20px; } }
/* v30: puslapis „Pristatymas ir apmokėjimas“ */
.info-page.legal ul { color: var(--muted); font-size: 15px; line-height: 1.6; padding-left: 20px; margin: 0 0 14px; max-width: 760px; }
.info-page.legal ul b { color: #fff; }
.ship-table-wrap { overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.ship-table { min-width: 520px; font-size: 14px; }
.ship-table th, .ship-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; color: #fff; white-space: nowrap; }
.ship-table th { font-size: 12px; font-weight: 700; color: var(--muted); }
.ship-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .ship-table { min-width: 0; font-size: 13px; }
  .ship-table th, .ship-table td { padding: 9px 7px; white-space: normal; }
  .ship-table th { font-size: 9.5px; letter-spacing: .3px; }
}
.settings-sub { margin: 22px 0 2px; font-size: 16px; font-weight: 800; color: #fff; }

/* ===== v20: pirkėjo paskyra ===== */
.account-link { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-light); border-radius: var(--radius); font-weight: 600; font-size: 14px; color: var(--text); white-space: nowrap; transition: border-color .2s, color .2s; }
.account-link svg { flex: none; }
.account-link span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.account-link:hover, .account-link.active { border-color: var(--purple-glow); color: #fff; }
.account-link.in { border-color: var(--purple); background: rgba(157, 78, 221, .12); }
.loading.small { padding: 30px 0; }
.account-lead { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 760px; margin-bottom: 22px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-card { margin-top: 0; }
.account-card .account-lead { margin-top: -10px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.account-section { margin: 0 0 40px; }
.account-section > h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.account-section > h2 em { font-style: normal; color: var(--purple-glow); }
.account-note { margin: -8px 0 18px; }
.btn.danger { background: rgba(239, 68, 68, .14); border: 1px solid var(--red); color: #fca5a5; box-shadow: none; }
.btn.danger:hover { background: var(--red); color: #fff; box-shadow: none; }
.my-order { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid #f59e0b; border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; }
.my-order.st-1 { border-left-color: var(--purple); }
.my-order.st-2 { border-left-color: var(--green); }
.my-order.st-3 { border-left-color: var(--red); opacity: .8; }
.my-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.my-order-head h3 { font-size: 17px; font-weight: 800; }
.my-order-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.status-pill { display: inline-block; padding: 5px 12px; border-radius: 14px; font-size: 12px; font-weight: 800; background: rgba(245, 158, 11, .16); color: #fbbf24; white-space: nowrap; }
.status-pill.st-1 { background: rgba(157, 78, 221, .22); color: var(--purple-glow); }
.status-pill.st-2 { background: rgba(16, 185, 129, .16); color: var(--green); }
.status-pill.st-3 { background: rgba(239, 68, 68, .16); color: #fca5a5; }
.my-order-items { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; gap: 8px; }
.my-order-items li { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.my-order-items a { color: #fff; text-decoration: underline; text-decoration-color: var(--line-light); text-underline-offset: 3px; }
.my-order-items a:hover { text-decoration-color: var(--purple-glow); }
.my-order-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 13.5px; }
.my-order-foot strong { color: #fff; font-size: 16px; }
.my-order-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .header { gap: 8px; }
  .account-link { padding: 9px 11px; } .account-link span { display: none; }
  .cart-link { padding: 9px 13px; font-size: 14px; gap: 6px; }
  .mobile-menu { padding: 0 4px; }
}
@media (max-width: 400px) { .brand { font-size: 20px; gap: 6px; } .brand img { width: 34px; height: 34px; } }
@media (max-width: 340px) { .brand { font-size: 18px; } .brand img { width: 30px; height: 30px; } .cart-link { padding: 9px 10px; } .account-link { padding: 9px 9px; } }
@media (max-width: 640px) { .my-order { padding: 16px; } .my-order-items li { font-size: 14px; } }

/* ===== v20: administravimas – statistika ir klientai ===== */
.stat-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stat-card span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.stat-card b { display: block; font-size: 30px; font-weight: 900; margin: 4px 0 2px; }
.stat-card small { color: var(--muted); font-size: 12px; }
.stat-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; min-width: 0; }
.stat-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.stat-chart { display: flex; align-items: flex-end; gap: 2px; height: 150px; border-bottom: 1px solid var(--line-light); }
.stat-chart .bar { flex: 1 1 0; min-width: 2px; height: 100%; display: flex; align-items: flex-end; }
.stat-chart .bar i { display: block; width: 100%; min-height: 2px; background: var(--purple); border-radius: 3px 3px 0 0; opacity: .85; }
.stat-chart .bar.has-order i { background: var(--purple-glow); opacity: 1; box-shadow: 0 0 10px rgba(199, 125, 255, .6); }
.stat-chart .bar:hover i { opacity: 1; }
.stat-axis { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 11.5px; flex-wrap: wrap; }
.stat-table { width: 100%; border-collapse: collapse; }
.stat-table th, .stat-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13.5px; vertical-align: middle; }
.stat-table th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; }
.stat-table .num { text-align: right; width: 90px; font-variant-numeric: tabular-nums; font-weight: 700; }
.stat-table a { color: #fff; text-decoration: underline; text-decoration-color: var(--line-light); text-underline-offset: 3px; }
.bar-label { margin-bottom: 4px; word-break: break-word; }
.bar-track { height: 6px; background: var(--panel2); border-radius: 3px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--purple-glow)); border-radius: 3px; }
.notrack-row { display: block; margin: 8px 0 12px; font-size: 13.5px; }
.notrack-row small { color: var(--muted); }
@media (max-width: 1000px) { .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-grid { grid-template-columns: 1fr; } }

/* ===== v21: paskyros skyriai, pristatymo būdas, užsakymo atšaukimas ===== */
.account-tabs { display: flex; gap: 4px; margin: 0 0 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 13px 20px; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s; }
.account-tabs button:hover { color: #fff; }
.account-tabs button.active { color: #fff; border-bottom-color: var(--purple-glow); }
.account-panel[hidden] { display: none !important; }
.account-card.narrow { max-width: 560px; }
.account-card input:disabled { opacity: .6; cursor: not-allowed; }
.claim-box { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.claim-box summary { cursor: pointer; padding: 16px 0; color: var(--muted); font-size: 14.5px; list-style: none; display: flex; align-items: center; gap: 10px; }
.claim-box summary::-webkit-details-marker { display: none; }
.claim-box summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-light); color: var(--purple-glow); font-weight: 800; flex: none; }
.claim-box[open] summary::before { content: '–'; }
.claim-box summary b { color: #fff; }
.claim-box[open] { padding-bottom: 8px; }
.claim-box .account-lead { margin-bottom: 16px; }
.claim-box .checkout-panel { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; }
.claim-box .form-grid { margin-bottom: 8px; }
.my-order-delivery { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.my-order-delivery b { color: #fff; font-weight: 700; }
.my-order-actions { margin-top: 14px; display: flex; justify-content: flex-end; }
.btn.small { padding: 8px 16px; font-size: 13px; margin-top: 0; }

.delivery-pick { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.delivery-pick legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.delivery-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.checkout-panel label.delivery-opt { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: 12px; background: var(--panel2); cursor: pointer; color: var(--text); transition: border-color .2s, background .2s; }
.checkout-panel label.delivery-opt:hover { border-color: var(--purple-glow); }
.checkout-panel label.delivery-opt input { width: auto; margin: 3px 0 0; padding: 0; flex: none; accent-color: var(--purple); }
.delivery-opt span { display: grid; gap: 3px; }
.delivery-opt b { font-size: 14.5px; color: #fff; font-weight: 700; }
.delivery-opt small { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.delivery-opt:has(input:checked) { border-color: var(--purple-glow); background: rgba(157, 78, 221, .14); box-shadow: 0 0 0 1px var(--purple-glow) inset; }
.delivery-extra[hidden] { display: none !important; }
.checkout-panel label.delivery-extra { margin: 0 0 4px; }
@media (max-width: 860px) { .delivery-options { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .claim-box { padding: 0 16px; } .account-tabs button { padding: 12px 14px; font-size: 14px; } }

.account-tabs button { flex: 1 1 auto; text-align: center; }
@media (max-width: 640px) { .account-tabs button { padding: 12px 8px; font-size: 14px; } }

/* ===== v22: paštomato pasirinkimas (operatorius, paieška, žemėlapis) ===== */
.locker-box { margin: 0 0 6px; }
.carrier-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.carrier-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.checkout-panel label.carrier-opt { display: inline-flex; margin: 0; cursor: pointer; }
.carrier-opt input { position: absolute; opacity: 0; width: 1px !important; height: 1px; pointer-events: none; }
.carrier-opt span { padding: 9px 18px; border: 1px solid var(--line-light); border-radius: 999px; background: var(--panel2); color: var(--text); font-size: 14px; font-weight: 700; transition: border-color .2s, background .2s; }
.carrier-opt:hover span { border-color: var(--purple-glow); }
.carrier-opt input:checked + span { border-color: var(--purple-glow); background: rgba(157, 78, 221, .2); color: #fff; }
.carrier-opt input:focus-visible + span { outline: 2px solid var(--purple-glow); outline-offset: 2px; }
.locker-omniva[hidden], .locker-manual[hidden], .locker-chosen[hidden], .locker-finder[hidden], .locker-results[hidden], .locker-map-wrap[hidden] { display: none !important; }
.locker-chosen { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin-bottom: 14px; border: 1px solid var(--purple-glow); border-radius: 12px; background: rgba(157, 78, 221, .12); }
.locker-chosen-text { font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.4; }
.locker-chosen-text::before { content: '✓ '; color: var(--green); }
.locker-results { list-style: none; margin: -6px 0 14px; padding: 6px; border: 1px solid var(--line-light); border-radius: 12px; background: var(--panel2); max-height: 320px; overflow-y: auto; }
.locker-item { display: grid; gap: 2px; width: 100%; text-align: left; padding: 10px 12px; background: none; border: 0; border-radius: 8px; color: var(--text); cursor: pointer; font: inherit; }
.locker-item:hover, .locker-item:focus-visible { background: rgba(157, 78, 221, .18); outline: none; }
.locker-item b { font-size: 14px; color: #fff; }
.locker-item small, .locker-more, .locker-none { font-size: 12.5px; color: var(--muted); }
.locker-more, .locker-none { padding: 10px 12px; }
.locker-map-wrap { position: relative; z-index: 0; isolation: isolate; margin-top: 14px; border: 1px solid var(--line-light); border-radius: 12px; overflow: hidden; }
.locker-map { height: 380px; background: #1a162b; }
.locker-popup { display: grid; gap: 4px; min-width: 190px; font-size: 13px; line-height: 1.4; color: #1a1a1a; }
.locker-popup b { font-size: 14px; }
.locker-popup .btn { margin-top: 8px; color: #fff; }
.locker-manual-note { display: block; margin-top: 6px; font-weight: 500; }
.lockers-box { margin-top: 28px; }
@media (max-width: 640px) { .locker-map { height: 320px; } .locker-chosen { flex-direction: column; align-items: flex-start; } }

/* ===== v23: slaptažodžio atkūrimas el. paštu ===== */
.forgot-box { margin-top: 16px; padding: 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.forgot-box summary { padding: 14px 0; }
.forgot-box[open] { padding-bottom: 4px; }
.forgot-box .btn { margin-top: 4px; }
.reset-card { max-width: 520px; }
.order-mail { margin-top: 10px; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.order-mail .mail-ok { color: var(--green); }
.order-mail .mail-bad { color: #f87171; }
.order-mail .btn-sm { margin-left: 6px; }

/* ===== v24: apmokėjimas pavedimu ===== */
.my-order-pay { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: 12px; background: rgba(157, 78, 221, .08); }
.my-order-pay h4 { font-size: 14.5px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.my-order-pay dl { margin: 0; display: grid; gap: 4px; }
.my-order-pay dl > div { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.my-order-pay dt { color: var(--muted); min-width: 130px; }
.my-order-pay dd { margin: 0; color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.my-order-pay dd.iban { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .3px; user-select: all; }
.my-order-pay small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.my-order-paid { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--green); }
.order-pay { margin-top: 10px; font-size: 13px; color: var(--muted); }
.order-pay.paid { color: var(--green); }
.order-pay .btn-sm { margin-left: 6px; }

/* ===== v24: pristatymo kainos ir paštomatų sąrašas ===== */
.carrier-opt em { font-style: normal; color: var(--muted); font-size: .9em; margin-left: 2px; }
.carrier-opt.off { opacity: .45; cursor: not-allowed; }
.carrier-opt.off input { pointer-events: none; }
.ship-note { margin: 8px 0 0; color: #f59e0b; }
.delivery-sum { margin-top: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 6px; font-size: 14.5px; }
.delivery-sum:empty { display: none; }
.delivery-sum > div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.delivery-sum b { color: #fff; font-weight: 700; text-align: right; }
.delivery-sum .muted b { color: var(--muted); font-weight: 600; }
.delivery-sum .sum-total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; color: #fff; font-size: 16px; }
.delivery-sum .sum-total b { font-size: 17px; }
.locker-results { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.locker-group { position: sticky; top: 0; z-index: 1; padding: 6px 12px; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: var(--purple-glow); background: var(--panel2); border-bottom: 1px solid var(--line); }
.locker-manual .link-btn { display: block; margin-top: 8px; font-size: 13px; }
.order-ship { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.order-ship input { width: 90px; padding: 6px 8px; background: var(--bg, #0b0814); color: #fff; border: 1px solid var(--line-light, #3a2f5a); border-radius: 8px; }
.order-ship .muted { color: var(--muted); }
.order-track input[type=text] { width: 200px; }
.order-track .chk-inline { display: inline-flex; align-items: center; gap: 6px; }
.order-track .chk-inline input { width: auto; }
.track-num { font-weight: 700; letter-spacing: .4px; }
.ship-grid label .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.ship-grid label .pair.three { grid-template-columns: 1fr 1fr 1fr; }

/* ---- mokėjimas internetu (v25) ---- */
.pay-options { grid-template-columns: repeat(2, 1fr); }
.pay-pick { margin-top: 4px; }
.done-mark.warn { background: rgba(245, 158, 11, .15); border-color: #f59e0b; color: #f59e0b; }
.done-mark.wait { background: rgba(157, 78, 221, .15); border-color: var(--purple-glow); color: var(--purple-glow); }
.pay-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.pay-actions .btn { margin-top: 0; }
.my-order-pay-online p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.my-order-pay-note { margin-top: 12px; font-size: 14px; color: #f59e0b; }
@media (max-width: 860px) { .pay-options { grid-template-columns: 1fr; } }
.admin-hint.ok { color: var(--green); }
.pay-result .done-mark { display: flex; margin: 0 auto 12px; }
.pay-result small { display: block; margin-bottom: 4px; }
.pay-result.warn h1 { color: #f59e0b; }
.pay-result.wait h1 { color: var(--text); }

/* ===== v28: užsakymo forma blokais (kontaktai / pristatymas / apmokėjimas), žingsniai, pristatymo terminas ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cart-layout[hidden], .checkout-panel[hidden], .co-pending[hidden] { display: none !important; }
.steps { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 26px; padding: 0; }
.steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.steps li + li::before { content: ''; width: 34px; height: 2px; margin-right: 0; border-radius: 2px; background: var(--line-light); }
.steps li span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-light); border-radius: 50%; background: var(--panel2); font-size: 12.5px; }
.steps li.on { color: #fff; }
.steps li.on span { border-color: var(--purple-glow); background: linear-gradient(135deg, var(--purple), var(--accent)); color: #fff; }
.steps li.done { color: var(--text); }
.steps li.done span { border-color: var(--green); background: rgba(16, 185, 129, .15); color: var(--green); }

.checkout-panel.co { margin-top: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.co-main { display: grid; gap: 18px; min-width: 0; }
.co-card { min-width: 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.co-title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 18px; font-weight: 800; }
.co-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--accent)); color: #fff; font-size: 14px; font-weight: 800; }
.co-title .eta-pill, .co-title .co-opt { margin-left: auto; }
.co-opt { font-size: 12px; font-weight: 600; color: var(--muted); }
.eta-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid rgba(16, 185, 129, .45); border-radius: 999px; background: rgba(16, 185, 129, .1); color: var(--green); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.eta-pill .ic, .eta-line .ic { flex: none; }
.checkout-card p.eta-line, .co-summary p.eta-line { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--green); font-size: 13px; font-weight: 600; }
.form-grid .wide { grid-column: 1 / -1; }
.co-card .delivery-pick { margin: 0; }
.co-card .account-note { margin: 0 0 16px; }
.co-card label:last-child { margin-bottom: 0; }

.co-summary { position: sticky; top: 92px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.co-summary h3 { margin-bottom: 16px; font-size: 18px; font-weight: 800; }
.co-items { list-style: none; display: grid; gap: 12px; max-height: 300px; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--line); overflow: auto; }
.co-items li { display: flex; align-items: center; gap: 12px; }
.co-thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: #08060f; overflow: hidden; }
.co-thumb img { width: 100%; height: 100%; object-fit: contain; }
.co-iname { display: grid; flex: 1; gap: 2px; min-width: 0; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.35; }
.co-iname small { color: var(--muted); font-size: 12px; font-weight: 500; }
.co-items b { font-size: 13.5px; white-space: nowrap; }
.co-summary .delivery-sum { margin: 0 0 14px; }
.co-summary .consent { margin: 4px 0 14px; font-size: 12px; }
.co-summary .btn { width: 100%; justify-content: center; }
.co-back { display: block; margin: 14px auto 0; font-size: 13px; font-weight: 600; }
@media (max-width: 960px) { .co-layout { grid-template-columns: 1fr; } .co-summary { position: static; } }
@media (max-width: 640px) {
  .co-card { padding: 20px 18px; }
  .co-title { flex-wrap: wrap; font-size: 16px; }
  .steps li:not(.on) { font-size: 0; gap: 0; }
  .steps li:not(.on) span { font-size: 12.5px; }
  .steps li + li::before { width: 18px; margin-right: 0; }
}
.nw { white-space: nowrap; }
.co-card .form-grid { margin-bottom: 0; }
.co-card .form-grid label { margin-bottom: 0; }

/* ===== v28: administravimas – Nustatymai skiltimis ===== */
.set-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.set-tabs button { padding: 9px 18px; border: 1px solid var(--line-light); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.set-tabs button:hover { border-color: var(--purple-glow); color: #fff; }
.set-tabs button.active { border-color: var(--purple-glow); background: rgba(157, 78, 221, .18); color: #fff; }
#settingsForm.settings-form { max-width: 760px; max-height: none; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.set-pane { display: grid; gap: 18px; }
.set-pane[hidden], .set-savebar[hidden] { display: none !important; }
.set-card { padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.set-card .settings-sub { margin: 0 0 6px; }
.set-card .admin-hint { margin: 0 0 16px; }
.set-card .form-grid { margin-bottom: 0; }
.set-card label:last-child { margin-bottom: 0; }
.set-card .btn { width: auto; }
.set-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 16px; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--line); background: linear-gradient(to top, var(--bg) 70%, rgba(11, 9, 20, 0)); }
.set-savebar .btn, #settingsForm .set-savebar .btn { width: auto; margin-top: 0; }
.set-savebar .form-msg { margin: 0; }
@media (max-width: 640px) { .set-card { padding: 20px 18px; } .set-card .form-grid { grid-template-columns: 1fr; } .set-tabs button { padding: 8px 14px; font-size: 13px; } }

/* ===== v29: pranešimai ir skelbimai (administravimas) ===== */
.chk-group { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 14px; }
.admin-form label.chk-row, .chk-row { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: #fff; cursor: pointer; }
.admin-form .chk-row input[type="checkbox"], .chk-row input[type="checkbox"] { width: auto; margin: 0; accent-color: var(--purple-glow); }
.chk-row small { color: var(--muted); font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.set-card .btn-row .btn { margin-top: 0; }
.admin-hint.ok { color: var(--green); }
.tg-chats { display: grid; gap: 8px; margin-top: 12px; }
.tg-chats:empty { display: none; }
.tg-chat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line-light); border-radius: 10px; background: var(--panel2); font-size: 14px; }
.tg-chat small { color: var(--muted); }
.notify-log { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.notify-log .ok { color: var(--green); }
.notify-log .bad { color: var(--red); }
.lst-tokens { margin-top: 14px; font-size: 13px; color: var(--muted); }
.lst-tokens summary { cursor: pointer; font-weight: 700; color: #fff; }
.lst-tokens ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.lst-tokens code { color: var(--purple-glow); }
.admin-form.lst-box { max-width: 760px; }
.lst-copyrow { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.lst-copyrow label { flex: 1; margin: 0; }
.lst-copyrow .btn-sm { flex: none; margin-bottom: 2px; }
.lst-box textarea { font-family: inherit; line-height: 1.5; resize: vertical; }
.lst-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.admin-form .lst-actions .btn { width: auto; margin-top: 0; }
.lst-box .media-box { margin-bottom: 14px; }
.lst-badge { display: block; margin-top: 4px; color: var(--purple-glow); }
@media (max-width: 640px) { .lst-copyrow { flex-wrap: wrap; } .lst-copyrow label { flex: 1 1 100%; } }
.lst-box h2 { margin: 2px 0 10px; }
