.catalog-layout{ display:grid; grid-template-columns: 320px 1fr; gap:14px; margin-top:18px; }
.sidebar{ position: sticky; top: 110px; align-self:start; height: calc(100vh - 140px); overflow:auto; padding-bottom:20px; }
.side-card{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding:12px;
  margin-bottom:12px;
}
.side-title{ font-weight:800; margin-bottom:10px; }
.side-input{
  width:100%;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  outline:none;
}
.side-list{ margin-top:10px; display:grid; gap:8px; max-height: 340px; overflow:auto; }
.side-cat{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  cursor:pointer;
}
.side-cat.active{ border-color: rgba(47,125,225,.55); background: rgba(47,125,225,.14); }
.side-cat .cnt{ color: rgba(255,255,255,.65); font-size:12px; }
.side-row{ display:flex; gap:10px; align-items:center; margin:10px 0; color: rgba(255,255,255,.88); }
.side-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; margin-top:8px; }
.side-label{ font-size:12px; color: rgba(255,255,255,.65); margin: 2px 0 6px; }
.w100{ width:100%; }

@media (max-width: 1050px){
  .catalog-layout{ grid-template-columns: 1fr; }
  .sidebar{ position: relative; top:auto; height:auto; overflow: visible; }
  .side-list{ max-height: 220px; }
}/* ===== THEME VARIABLES ===== */
:root {
  /* Dark theme (default) */
  --bg0: #040a12;
  --bg1: #07131f;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --brand: #2f7de1;
  --brand2: #1a4e8f;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --line: rgba(255,255,255,.08);
  --radius: 18px;
  --radius2: 14px;
  --max: 100%;
  --r: 18px;
}

/* Light theme */
html[data-theme="light"] {
  --bg0: #f8f9fb;
  --bg1: #ffffff;
  --card: rgba(47,125,225,.06);
  --card2: rgba(47,125,225,.08);
  --stroke: rgba(47,125,225,.15);
  --text: #1a1f35;
  --muted: #4a5578;
  --brand: #2f7de1;
  --brand2: #1a4e8f;
  --shadow: 0 4px 20px rgba(47,125,225,.12);
  --line: rgba(47,125,225,.12);
  --radius: 18px;
  --radius2: 14px;
  --max: 100%;
  --r: 18px;
}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 30% -10%, rgba(47,125,225,.22), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(30,180,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 45%, #02060c);
  color: var(--text);
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

html[data-theme="light"] body {
  background:
    radial-gradient(1200px 600px at 30% -10%, rgba(47,125,225,.08), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(30,180,255,.04), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8f9fb 50%, #f0f4fb);
}

html[data-theme="light"] .topbar {
  background: rgba(255,255,255,.85) !important;
  border-bottom-color: rgba(47,125,225,.15) !important;
  backdrop-filter: blur(10px) !important;
}

html[data-theme="light"] .hero-card {
  background: linear-gradient(135deg, rgba(47,125,225,.08), rgba(47,125,225,.04)) !important;
  border-color: rgba(47,125,225,.15) !important;
}

html[data-theme="light"] .hero-card h1 {
  background: linear-gradient(135deg, #1a4e8f, #2f7de1) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

html[data-theme="light"] .btn.primary {
  background: linear-gradient(135deg, rgba(47,125,225,.25), rgba(47,125,225,.15)) !important;
  border-color: rgba(47,125,225,.35) !important;
}

/* ===== LIGHT THEME: COMPREHENSIVE TEXT COLOR FIXES ===== */
html[data-theme="light"] {
  color: #1a1f35 !important;
}

html[data-theme="light"] *,
html[data-theme="light"] body,
html[data-theme="light"] p,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] span,
html[data-theme="light"] div,
html[data-theme="light"] label,
html[data-theme="light"] a,
html[data-theme="light"] li,
html[data-theme="light"] td,
html[data-theme="light"] button,
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  color: #1a1f35 !important;
}

html[data-theme="light"] .muted,
html[data-theme="light"] .opacity-8,
html[data-theme="light"] .opacity-7,
html[data-theme="light"] .opacity-6 {
  color: rgba(26,31,53,.75) !important;
}

html[data-theme="light"] .hero-left p,
html[data-theme="light"] .pill,
html[data-theme="light"] .navlink,
html[data-theme="light"] .link,
html[data-theme="light"] .footer a {
  color: #1a1f35 !important;
}

html[data-theme="light"] .tile .tname,
html[data-theme="light"] .tile .tcount,
html[data-theme="light"] .tile .tsub,
html[data-theme="light"] .card .title,
html[data-theme="light"] .card .body,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .kv h1,
html[data-theme="light"] .kv .meta,
html[data-theme="light"] .desc,
html[data-theme="light"] .side-cat,
html[data-theme="light"] .trust-item,
html[data-theme="light"] .qrow {
  color: #1a1f35 !important;
}

html[data-theme="light"] .search input {
  color: #1a1f35 !important;
}

html[data-theme="light"] .side-input,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="password"],
html[data-theme="light"] input[type="number"],
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  background: rgba(26,31,53,.06) !important;
  color: #1a1f35 !important;
  border-color: rgba(47,125,225,.15) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: rgba(26,31,53,.55) !important;
}

html[data-theme="light"] .btn,
html[data-theme="light"] button {
  color: #1a1f35 !important;
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.15) !important;
}

html[data-theme="light"] .brand .name strong {
  color: #1a1f35 !important;
}

html[data-theme="light"] .brand .name span {
  color: #4a6fa5 !important;
}

html[data-theme="light"] .tile .tcount {
  color: rgba(26,31,53,.65) !important;
}

html[data-theme="light"] .tile .tsub {
  color: rgba(26,31,53,.65) !important;
}

html[data-theme="light"] .hero-left p {
  color: #1a1f35 !important;
}

html[data-theme="light"] .section-head h2 {
  color: #1a1f35 !important;
}

html[data-theme="light"] .card .title {
  color: #1a1f35 !important;
}

html[data-theme="light"] .card .body {
  color: #1a1f35 !important;
}

html[data-theme="light"] .catalog-header h1 {
  color: #1a1f35 !important;
}

html[data-theme="light"] .grid-head h2 {
  color: #1a1f35 !important;
}

html[data-theme="light"] .grid-head .small {
  color: #4a6fa5 !important;
}

html[data-theme="light"] .desc h3 {
  color: #2f7de1 !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

html[data-theme="light"] .kv h1 {
  color: #1a1f35 !important;
}

html[data-theme="light"] .kv .meta {
  color: #1a1f35 !important;
}

html[data-theme="light"] .stock {
  color: #4a6fa5 !important;
}

html[data-theme="light"] .btn.primary:hover {
  background: linear-gradient(135deg, rgba(47,125,225,.35), rgba(47,125,225,.25)) !important;
  box-shadow: 0 6px 20px rgba(47,125,225,.25) !important;
}

html[data-theme="light"] .btn {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.15) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .btn:hover {
  background: rgba(47,125,225,.15) !important;
  border-color: rgba(47,125,225,.25) !important;
}

html[data-theme="light"] .card {
  background: linear-gradient(135deg, rgba(47,125,225,.06), rgba(47,125,225,.03)) !important;
  border-color: rgba(47,125,225,.12) !important;
}

html[data-theme="light"] .card:hover {
  background: linear-gradient(135deg, rgba(47,125,225,.10), rgba(47,125,225,.06)) !important;
  border-color: rgba(47,125,225,.25) !important;
  box-shadow: 0 8px 24px rgba(47,125,225,.15) !important;
}

html[data-theme="light"] .tile {
  background: linear-gradient(135deg, rgba(47,125,225,.06), rgba(47,125,225,.03)) !important;
  border-color: rgba(47,125,225,.12) !important;
}

html[data-theme="light"] .tile:hover {
  background: linear-gradient(135deg, rgba(47,125,225,.12), rgba(47,125,225,.06)) !important;
  border-color: rgba(47,125,225,.25) !important;
  box-shadow: 0 8px 24px rgba(47,125,225,.15) !important;
}

html[data-theme="light"] .metric {
  background: linear-gradient(135deg, rgba(47,125,225,.10), rgba(47,125,225,.05)) !important;
  border-color: rgba(47,125,225,.15) !important;
}

html[data-theme="light"] .metric:hover {
  border-color: rgba(47,125,225,.30) !important;
  background: linear-gradient(135deg, rgba(47,125,225,.15), rgba(47,125,225,.08)) !important;
}

html[data-theme="light"] .metric .big {
  background: linear-gradient(135deg, #2f7de1, #1a4e8f) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

html[data-theme="light"] .panel {
  background: linear-gradient(135deg, rgba(47,125,225,.06), rgba(47,125,225,.03)) !important;
  border-color: rgba(47,125,225,.12) !important;
}

html[data-theme="light"] .trust-card {
  background: linear-gradient(135deg, rgba(47,125,225,.08), rgba(47,125,225,.04)) !important;
  border-color: rgba(47,125,225,.15) !important;
}

html[data-theme="light"] .trust-item,
html[data-theme="light"] .qrow {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.12) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .chip {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.15) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .chip:hover {
  border-color: rgba(47,125,225,.35) !important;
  color: #2f7de1 !important;
}

html[data-theme="light"] .chip.active {
  background: rgba(47,125,225,.20) !important;
  border-color: rgba(47,125,225,.35) !important;
  color: #1a4e8f !important;
}

html[data-theme="light"] .side-cat {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.12) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .side-cat.active {
  background: rgba(47,125,225,.20) !important;
  border-color: rgba(47,125,225,.35) !important;
}

html[data-theme="light"] .side-card {
  background: rgba(47,125,225,.06) !important;
  border-color: rgba(47,125,225,.12) !important;
}

html[data-theme="light"] .side-input {
  background: rgba(47,125,225,.06) !important;
  border-color: rgba(47,125,225,.12) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .side-input::placeholder {
  color: rgba(74,98,170,.50) !important;
}

html[data-theme="light"] .section-head h2 {
  color: #1a1f35 !important;
}

html[data-theme="light"] .navlink {
  color: #1a1f35 !important;
  opacity: .9 !important;
}

html[data-theme="light"] .navlink:hover,
html[data-theme="light"] .navlink.active {
  opacity: 1 !important;
  color: #2f7de1 !important;
}

html[data-theme="light"] .price {
  color: #2f7de1 !important;
}

html[data-theme="light"] .desc h3 {
  color: #2f7de1 !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

html[data-theme="light"] .desc .text {
  background: rgba(47,125,225,.06) !important;
  border-color: rgba(47,125,225,.12) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .desc .text p,
html[data-theme="light"] .desc .text li {
  color: rgba(0,0,0,.88) !important;
}

.container{ max-width: 100%; }

.hero{ 
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  margin-top:18px;
  animation: fadeInUp .6s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-card, .hero-metrics, .trust-card{
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 8px 16px rgba(74,163,255,.1);
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}
.hero-card::before, .hero-metrics::before, .trust-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,163,255,.6), transparent);
}
.hero-card:hover, .hero-metrics:hover, .trust-card:hover{
  border-color: rgba(74,163,255,.3);
  box-shadow: 0 24px 72px rgba(0,0,0,.6), 0 12px 24px rgba(74,163,255,.2);
}
.hero-card{ 
  padding:22px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}
.hero-card h1{ 
  margin:0 0 10px;
  letter-spacing:.2px;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-actions{ 
  display:flex;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transform: translate(-50%, -50%);
  transition: width .5s ease, height .5s ease;
}
.btn:hover::before{
  width: 300px;
  height: 300px;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(74,163,255,.6), rgba(47,124,255,.5));
  border-color: rgba(74,163,255,.6);
  box-shadow: 0 4px 16px rgba(74,163,255,.3);
}
.btn.primary:hover{
  box-shadow: 0 8px 24px rgba(74,163,255,.5);
  background: linear-gradient(135deg, rgba(74,163,255,.7), rgba(47,124,255,.6));
}

.hero-metrics{ 
  padding:18px;
  display:grid;
  gap:14px;
  animation: fadeInUp .7s ease-out .1s backwards;
}
.metric{ 
  padding:14px 16px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.15));
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.metric::before{
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74,163,255,.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}
.metric:hover::before{
  opacity: 1;
}
.metric:hover{
  border-color: rgba(74,163,255,.3);
  background: linear-gradient(135deg, rgba(0,0,0,.3), rgba(0,0,0,.2));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,163,255,.2);
}
.metric .big{ 
  font-size:32px;
  font-weight:800;
  letter-spacing:.4px;
  background: linear-gradient(135deg, rgba(74,163,255,.9), rgba(74,163,255,.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 12px rgba(74,163,255,.4);
}
.muted{ color: var(--muted); }

.section{ 
  margin-top:22px;
  animation: fadeInUp .8s ease-out .2s backwards;
}
.section:nth-child(4){
  animation-delay: .3s;
}
.section:nth-child(5){
  animation-delay: .4s;
}
.section:nth-child(6){
  animation-delay: .5s;
}
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-bottom:10px; }
.section-head h2{ margin:0; font-size:18px; }
.link{ color: rgba(255,255,255,.78); text-decoration:none; }
.link:hover{ color: #fff; }

.cat-tiles{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
  perspective: 1000px;
}
.tile{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  cursor:pointer;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.tile::before{
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74,163,255,.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}
.tile:hover::before{
  opacity: 1;
}
.tile:hover{ 
  transform: translateY(-4px) rotateX(2deg);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border-color: rgba(74,163,255,.4);
  box-shadow: 0 12px 40px rgba(74,163,255,.2);
}
.tile .tname{ 
  font-weight:700;
  line-height:1.15;
  font-size: 15px;
}
.tile .tcount{ 
  color: rgba(255,255,255,.65);
  font-size:12px;
  margin-top:4px;
  font-weight: 500;
}
.tile .tsub{
  color: rgba(255,255,255,.45);
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.3;
  max-height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile .tarrow{
  font-size: 24px;
  color: rgba(74,163,255,.6);
  transition: transform .3s ease;
}
.tile:hover .tarrow{
  transform: translateX(4px);
  color: rgba(74,163,255,.9);
}

.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  perspective: 1200px;
}
.card{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  overflow:hidden;
  min-height: 360px;
  display:flex;
  flex-direction:column;
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
}
.card::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(74,163,255,.12), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.card:hover::after{
  opacity: 1;
}
.card:hover{
  transform: translateY(-6px) rotateX(2deg) scale(1.02);
  border-color: rgba(74,163,255,.35);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  box-shadow: 0 16px 48px rgba(74,163,255,.25), 0 8px 16px rgba(0,0,0,.3);
}
.card .img{
  height: 190px;
  background: linear-gradient(135deg, rgba(0,0,0,.3), rgba(0,0,0,.2));
  display:flex; align-items:center; justify-content:center;
  position: relative;
  overflow: hidden;
}
.card .img::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(74,163,255,.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover .img::before{
  opacity: 1;
}
.card img{ 
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.card:hover img{
  transform: scale(1.05) translateZ(0);
}
.card .body{ 
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
  z-index: 1;
}
.card .title{ 
  font-weight:700;
  line-height:1.2;
  min-height: 42px;
}
.card .row{ 
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.price{ 
  font-size:18px;
  font-weight:800;
  color: rgba(74,163,255,.95);
  text-shadow: 0 2px 8px rgba(74,163,255,.3);
}
.badge{ 
  font-size:12px;
  color: rgba(255,255,255,.75);
}

.card .actions{
  display:grid; grid-template-columns: 1fr 1fr;
  gap:10px;
  padding:12px;
  z-index: 1;
}
.card .actions button, .card .actions a{
  border-radius: 14px;
  border:1px solid rgba(74,163,255,.45);
  background: linear-gradient(135deg, rgba(74,163,255,.25), rgba(47,124,255,.15));
  color:#eaf2ff;
  padding:10px 12px;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
  font-weight: 600;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card .actions button::before, .card .actions a::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  transform: translate(-50%, -50%);
  transition: width .5s ease, height .5s ease;
}
.card .actions button:hover::before, .card .actions a:hover::before{
  width: 300px;
  height: 300px;
}
.card .actions button:hover, .card .actions a:hover{
  border-color: rgba(74,163,255,.7);
  background: linear-gradient(135deg, rgba(74,163,255,.4), rgba(47,124,255,.25));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74,163,255,.4);
}
.card .actions button:active, .card .actions a:active{
  transform: translateY(0);
}
.card .actions .ghost{
  border-color: rgba(255,255,255,.20);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  color: rgba(255,255,255,.90);
}
.card .actions .ghost:hover{
  border-color: rgba(255,255,255,.35);
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
  box-shadow: 0 4px 12px rgba(255,255,255,.2);
}

.sk{
  position: relative;
  overflow:hidden;
}
.sk::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  transform: translateX(-60%);
  animation: sk 1.1s infinite;
}
@keyframes sk { to { transform: translateX(60%);} }

/* Stagger animation for tiles and cards */
.tile, .card {
  animation: fadeInScale .5s ease-out backwards;
}
.tile:nth-child(1), .card:nth-child(1) { animation-delay: .05s; }
.tile:nth-child(2), .card:nth-child(2) { animation-delay: .1s; }
.tile:nth-child(3), .card:nth-child(3) { animation-delay: .15s; }
.tile:nth-child(4), .card:nth-child(4) { animation-delay: .2s; }
.tile:nth-child(5), .card:nth-child(5) { animation-delay: .25s; }
.tile:nth-child(6), .card:nth-child(6) { animation-delay: .3s; }
.tile:nth-child(7), .card:nth-child(7) { animation-delay: .35s; }
.tile:nth-child(8), .card:nth-child(8) { animation-delay: .4s; }
.tile:nth-child(n+9), .card:nth-child(n+9) { animation-delay: .45s; }

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Pulse animation for primary buttons */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(74,163,255,.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(74,163,255,0);
  }
}

.btn.primary {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.btn.primary:hover {
  animation: none;
}

.btn.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  background: linear-gradient(135deg, rgba(74,163,255,.4), rgba(47,124,255,.25)) !important;
  border-color: rgba(74,163,255,.6) !important;
}

/* Subtle floating animation for cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Removed conflicting animation - using transform in hover instead */

.trust{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-bottom:18px; }
.trust-card{ padding:18px; }
.trust-list{ display:grid; gap:10px; margin-top:10px; }
.trust-item{ display:flex; justify-content:space-between; gap:12px; padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.quick{ display:grid; gap:10px; margin:10px 0 12px; }
.qrow{ padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); color: rgba(255,255,255,.92); text-decoration:none; }

.footer{ display:flex; justify-content:space-between; gap:12px; padding:18px 0 30px; border-top:1px solid rgba(255,255,255,.08); margin-top:18px; }
.footer-links{ display:flex; gap:14px; }
.footer a{ color: rgba(255,255,255,.75); text-decoration:none; }
.footer a:hover{ color:#fff; }

@media (max-width: 1050px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cat-tiles{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cat-tiles{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(74,163,255,.25), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(47,124,255,.18), transparent 50%),
    linear-gradient(180deg, #07101f 0%, #050b15 100%);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,16,31,.65);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}

.brand{
  display:flex; align-items:center; gap:12px; min-width:260px;
}
.brand .logo{
  width:54px; height:73px;
  border-radius:8px;
  display:grid; place-items:center;
  overflow:hidden;
  transform: scale(1.4);
}
.brand .logo img{
  width:100%; height:100%; object-fit:contain;
  filter: brightness(0) invert(1);
}
html[data-theme="light"] .brand .logo img{
  filter: none;
}
.brand .name{
  display:flex; flex-direction:column; line-height:1.05;
}
.brand .name strong{
  font-size:18px; letter-spacing:.2px; font-weight:700;
}
.brand .name span{
  font-size:12px; color:var(--muted); font-weight:500;
}

.search{
  flex:1;
  display:flex; align-items:center;
  gap:10px;
  max-width:640px;
}
.search input{
  width:100%;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--text);
  padding:12px 14px;
  border-radius:999px;
  outline:none;
  font-size:14px;
}
.search input::placeholder{color:rgba(233,238,249,.55)}

html[data-theme="light"] .search input::placeholder{
  color:rgba(0,0,0,.45);
}

html[data-theme="light"] .search input {
  background: rgba(0,0,0,.04);
}

html[data-theme="light"] .search button {
  background: linear-gradient(180deg, rgba(47,125,225,.18), rgba(47,125,225,.08));
}
.search button{
  border:1px solid rgba(74,163,255,.35);
  background: linear-gradient(180deg, rgba(74,163,255,.24), rgba(47,124,255,.12));
  color:var(--text);
  padding:12px 14px;
  border-radius:999px;
  cursor:pointer;
}
.search button:hover{border-color:rgba(74,163,255,.55)}

.actions{
  display:flex; align-items:center; gap:10px;
}
.pill{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--text);
  font-size:13px;
}
.pill b{
  background: rgba(74,163,255,.20);
  border:1px solid rgba(74,163,255,.30);
  padding:2px 8px;
  border-radius:999px;
  font-size:12px;
}
.pill:hover{border-color:rgba(255,255,255,.16)}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  width: auto;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  outline: none;
  user-select: none;
  gap: 8px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.theme-toggle:hover {
  border-color: var(--brand);
  background: rgba(47,125,225,.25);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(47,125,225,.20);
  color: rgba(255,255,255,.95);
}

.theme-toggle:active {
  transform: scale(0.96);
}

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

.navline{
  padding:10px 0 14px 0;
}
.navline .nav{
  display:flex; gap:10px; flex-wrap:wrap;
}
.chip{
  font-size:13px;
  color:var(--muted);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.chip:hover{
  border-color:rgba(74,163,255,.35);
  color:var(--text);
  transform: translateY(-1px);
}
.chip.active{
  border-color:rgba(74,163,255,.55);
  color:var(--text);
  background: rgba(74,163,255,.10);
  box-shadow: 0 2px 8px rgba(74,163,255,.3);
}
.chip .count{
  font-size: 11px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  padding: 2px 6px;
  border-radius: 6px;
  min-width: 20px;
  text-align: center;
}

html[data-theme="light"] .chip .count{
  color: rgba(0,0,0,.5);
  background: rgba(0,0,0,.08);
}
.chip.active .count{
  background: rgba(74,163,255,.2);
  color: rgba(74,163,255,.9);
}
.chip.subcat{
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.06);
  margin-left: 20px;
  font-size: 12px;
}
.chip.subcat .arrow{
  color: rgba(74,163,255,.5);
  margin-right: 2px;
}
.chip.subcat:hover{
  border-color: rgba(74,163,255,.3);
}
.chip.subcat.active{
  background: rgba(74,163,255,.08);
  border-color: rgba(74,163,255,.4);
}

.hero{
  padding:34px 0 18px 0;
}
.hero-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  padding:22px;
}
.hero h1{
  margin:0 0 8px 0;
  font-size:32px;
  letter-spacing:-.4px;
}
.hero p{
  margin:0;
  color:var(--muted);
  max-width:64ch;
  line-height:1.55;
}
.hero .cta{
  margin-top:14px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-size:14px;
}
.btn.primary{
  border-color: rgba(74,163,255,.45);
  background: linear-gradient(180deg, rgba(74,163,255,.22), rgba(47,124,255,.10));
}
.btn:hover{border-color:rgba(255,255,255,.18)}
.btn.primary:hover{border-color:rgba(74,163,255,.65)}

.grid{
  padding:18px 0 34px 0;
}
.grid-head{
  display:flex; align-items:end; justify-content:space-between;
  gap:12px; margin: 8px 0 14px 0;
}
.grid-head h2{
  margin:0;
  font-size:18px;
  letter-spacing:-.2px;
}
.grid-head .small{
  color:var(--muted); font-size:13px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover{transform: translateY(-2px); border-color: rgba(74,163,255,.30)}
.thumb{
  aspect-ratio: 4/3;
  background: rgba(0,0,0,.25);
  position:relative;
}
.thumb img{
  width:100%; height:100%;
  object-fit:contain;
  padding:10px;
}
.badge{
  position:absolute; top:10px; left:10px;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(7,16,31,.7);
  color:var(--muted);
}
.card-body{padding:12px}
.title{
  font-size:14px;
  line-height:1.35;
  margin:0 0 8px 0;
  min-height: 38px;
}
.price-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
}
.price{
  font-size:16px;
  font-weight:700;
}
.muted{color:var(--muted); font-size:12px}
.card-actions{
  margin-top:10px;
  display:flex; gap:8px;
}
.iconbtn{
  flex:1;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  cursor:pointer;
  color:var(--text);
  font-size:13px;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
}
.iconbtn.primary{
  border-color: rgba(74,163,255,.45);
  background: linear-gradient(135deg, rgba(74,163,255,.25), rgba(47,124,255,.12));
}
.iconbtn:hover{
  border-color:rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}
.iconbtn:active{
  transform: translateY(0);
}
.iconbtn.primary:hover{
  border-color:rgba(74,163,255,.65);
  background: linear-gradient(135deg, rgba(74,163,255,.35), rgba(47,124,255,.18));
  box-shadow: 0 4px 12px rgba(74,163,255,.3);
}

.page{
  flex: 1;
  padding:18px 0 40px 0;
  animation: fadeInUp .6s ease-out;
}
.panel{
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 8px 16px rgba(74,163,255,.1);
  overflow:hidden;
  position: relative;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.panel::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,163,255,.6), transparent);
}
.panel:hover{
  border-color: rgba(74,163,255,.3);
  box-shadow: 0 24px 72px rgba(0,0,0,.6), 0 12px 24px rgba(74,163,255,.2);
  transform: translateY(-4px);
}
.panel-inner{
  padding:22px;
  animation: fadeInScale .7s ease-out .1s backwards;
}

.product{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
.gallery{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.mainimg{
  aspect-ratio: 4/3;
  display:grid; place-items:center;
  background: rgba(0,0,0,.22);
}
.mainimg img{width:100%; height:100%; object-fit:contain; padding:14px}
.thumbs{
  display:flex; gap:10px;
  padding:12px;
  overflow:auto;
  border-top:1px solid var(--line);
}
.thumbs button{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius:12px;
  padding:8px;
  cursor:pointer;
  min-width:76px;
}
.thumbs img{width:60px; height:60px; object-fit:contain}
.thumbs button.active{border-color: rgba(74,163,255,.55)}

.kv h1{margin:0 0 10px 0; font-size:22px; letter-spacing:-.2px}
.kv .meta{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px}
.kv .meta .chip{padding:6px 10px; font-size:12px}
.kv .buyrow{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.kv .buyrow .btn{border-radius:12px}
.kv .bigprice{font-size:24px; font-weight:800}

.desc{
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:18px;
  animation: fadeInUp .8s ease-out .2s backwards;
}
.desc h3{
  margin:0 0 12px 0;
  font-size:15px;
  color:var(--muted);
  font-weight:700;
  background: linear-gradient(135deg, rgba(74,163,255,.8), rgba(74,163,255,.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.desc .text{
  white-space: normal;
  line-height:1.5;
  color: rgba(255,255,255,.88);
  font-size:15px;
  padding:14px;
  border-radius:12px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
}

.desc .text p {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
}

.desc .text p:last-child {
  margin-bottom: 0 !important;
}

.desc .text ul,
.desc .text ol {
  margin: 0 0 6px 0 !important;
  padding-left: 20px !important;
}

.desc .text li {
  margin: 0 0 2px 0 !important;
  padding-left: 0 !important;
}

.desc .text a {
  color: #1e40af;
  text-decoration: underline;
}

.desc h3 {
  margin: 0 0 6px 0 !important;
}

/* Cart page styles */
.cart-item{
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform-style: preserve-3d;
}
.cart-item:hover{
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06)) !important;
  border-color: rgba(74,163,255,.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,163,255,.15);
}
.cart-item img{
  transition: transform .3s ease;
}
.cart-item:hover img{
  transform: scale(1.05);
}
.cart-item .iconbtn:hover{
  background: rgba(74,163,255,.2) !important;
  border-color: rgba(74,163,255,.4) !important;
}
.cart-item [data-del]:hover{
  background: rgba(255,100,100,.25) !important;
  border-color: rgba(255,100,100,.5) !important;
}

.footer{
  padding:22px 0 30px 0;
  color:var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.15);
}

@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr}
  .cards{grid-template-columns: repeat(2, 1fr)}
  .product{grid-template-columns: 1fr}
  .brand{min-width:auto}
}
@media (max-width: 520px){
  .cards{grid-template-columns: 1fr}
  .topbar-inner{flex-wrap:wrap}
  .search{order:3; width:100%; max-width:none}
}

/* ===== PREMIUM UI ADD-ON ===== */
.container{max-width:100%;margin:0 auto;padding:0 18px}
.topbar{position:sticky;top:0;z-index:10;background:rgba(10,12,18,.85);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-inner{display:flex;align-items:center;gap:14px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand .logo img{height:34px;width:auto;display:block}
.brand .name strong{display:block;letter-spacing:.4px}
.brand .name span{display:block;font-size:12px;opacity:.8;margin-top:2px}
.search{flex:1;display:flex;gap:8px}
.search input{flex:1;padding:11px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;outline:none}
.search button{padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(0,153,255,.18);color:#fff;font-weight:700;cursor:pointer}
.actions{display:flex;gap:10px}
.pill{display:inline-flex;gap:8px;align-items:center;padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none}
.navline{display:flex;gap:14px;flex-wrap:wrap;padding:10px 0 14px;border-top:1px solid rgba(255,255,255,.06)}
.navlink{color:#fff;text-decoration:none;opacity:.9}
.navlink:hover{opacity:1}

.hero{display:flex;gap:18px;align-items:stretch;margin:18px 0}
.hero-left{flex:1;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(135deg, rgba(0,153,255,.14), rgba(255,255,255,.04))}
.hero-left h1{margin:0 0 10px;font-size:26px;letter-spacing:.2px}
.hero-left p{margin:0 0 14px;opacity:.9;line-height:1.4}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap}
.hero-right{width:320px}
.hero-card{height:100%;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.05);display:flex;flex-direction:column;gap:12px;justify-content:center}
.hero-kpi{display:flex;align-items:baseline;gap:10px}
.hero-kpi b{font-size:26px}
.hero-kpi span{opacity:.85}

.block{margin:18px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 10px}
.small{font-size:13px;opacity:.8;text-decoration:none;color:inherit}

.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;padding:10px 12px;cursor:pointer}
.chip.active{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}

.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.card{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.05);overflow:hidden;transition:transform .12s ease,border-color .15s ease,background .15s ease}
.card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07)}
.card .img{display:block;aspect-ratio:4/3;background:rgba(255,255,255,.04)}
.card .img img{width:100%;height:100%;object-fit:cover;display:block}
.img-ph{width:100%;height:100%}
.card .body{padding:12px}
.card .title{font-weight:700;line-height:1.2;min-height:42px}
.card .meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:8px}
.price{font-weight:800}
.stock{font-size:13px;opacity:.85}
.tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none;cursor:pointer;font-weight:700}
.btn.primary{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}
.btn.ghost{background:transparent}
.btn.sm{padding:9px 11px;border-radius:12px;font-weight:750}

.footer{margin-top:24px;border-top:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 0}

@media (max-width: 980px){
  .hero{flex-direction:column}
  .hero-right{width:100%}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar-inner{flex-wrap:wrap}
  .search{width:100%}
}
@media (max-width: 520px){
  .grid{grid-template-columns:repeat(1,minmax(0,1fr))}
}

/* ===== PREMIUM UI ADD-ON ===== */
.container{max-width:100%;margin:0 auto;padding:0 18px}
.topbar{position:sticky;top:0;z-index:10;background:rgba(10,12,18,.85);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-inner{display:flex;align-items:center;gap:14px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand .logo img{height:34px;width:auto;display:block}
.brand .name strong{display:block;letter-spacing:.4px}
.brand .name span{display:block;font-size:12px;opacity:.8;margin-top:2px}
.search{flex:1;display:flex;gap:8px}
.search input{flex:1;padding:11px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;outline:none}
.search button{padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(0,153,255,.18);color:#fff;font-weight:700;cursor:pointer}
.actions{display:flex;gap:10px}
.pill{display:inline-flex;gap:8px;align-items:center;padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none}
.navline{display:flex;gap:14px;flex-wrap:wrap;padding:10px 0 14px;border-top:1px solid rgba(255,255,255,.06)}
.navlink{color:#fff;text-decoration:none;opacity:.9}
.navlink:hover{opacity:1}

.hero{display:flex;gap:18px;align-items:stretch;margin:18px 0}
.hero-left{flex:1;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(135deg, rgba(0,153,255,.14), rgba(255,255,255,.04))}
.hero-left h1{margin:0 0 10px;font-size:26px;letter-spacing:.2px}
.hero-left p{margin:0 0 14px;opacity:.9;line-height:1.4}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap}
.hero-right{width:320px}
.hero-card{height:100%;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.05);display:flex;flex-direction:column;gap:12px;justify-content:center}
.hero-kpi{display:flex;align-items:baseline;gap:10px}
.hero-kpi b{font-size:26px}
.hero-kpi span{opacity:.85}

.block{margin:18px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 10px}
.small{font-size:13px;opacity:.8;text-decoration:none;color:inherit}

.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;padding:10px 12px;cursor:pointer}
.chip.active{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}

.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.card{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.05);overflow:hidden;transition:transform .12s ease,border-color .15s ease,background .15s ease}
.card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07)}
.card .img{display:block;aspect-ratio:4/3;background:rgba(255,255,255,.04)}
.card .img img{width:100%;height:100%;object-fit:cover;display:block}
.img-ph{width:100%;height:100%}
.card .body{padding:12px}
.card .title{font-weight:700;line-height:1.2;min-height:42px}
.card .meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:8px}
.price{font-weight:800}
.stock{font-size:13px;opacity:.85}
.tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none;cursor:pointer;font-weight:700}
.btn.primary{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}
.btn.ghost{background:transparent}
.btn.sm{padding:9px 11px;border-radius:12px;font-weight:750}

.footer{margin-top:24px;border-top:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 0}

@media (max-width: 980px){
  .hero{flex-direction:column}
  .hero-right{width:100%}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar-inner{flex-wrap:wrap}
  .search{width:100%}
}
@media (max-width: 520px){
  .grid{grid-template-columns:repeat(1,minmax(0,1fr))}
}

/* ===== PREMIUM UI ADD-ON ===== */
.container{max-width:100%;margin:0 auto;padding:0 18px}
.topbar{position:sticky;top:0;z-index:10;background:rgba(10,12,18,.85);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-inner{display:flex;align-items:center;gap:14px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand .logo img{height:34px;width:auto;display:block}
.brand .name strong{display:block;letter-spacing:.4px}
.brand .name span{display:block;font-size:12px;opacity:.8;margin-top:2px}
.search{flex:1;display:flex;gap:8px}
.search input{flex:1;padding:11px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;outline:none}
.search button{padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(0,153,255,.18);color:#fff;font-weight:700;cursor:pointer}
.actions{display:flex;gap:10px}
.pill{display:inline-flex;gap:8px;align-items:center;padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none}
.navline{display:flex;gap:14px;flex-wrap:wrap;padding:10px 0 14px;border-top:1px solid rgba(255,255,255,.06)}
.navlink{color:#fff;text-decoration:none;opacity:.9}
.navlink:hover{opacity:1}

.hero{display:flex;gap:18px;align-items:stretch;margin:18px 0}
.hero-left{flex:1;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(135deg, rgba(0,153,255,.14), rgba(255,255,255,.04))}
.hero-left h1{margin:0 0 10px;font-size:26px;letter-spacing:.2px}
.hero-left p{margin:0 0 14px;opacity:.9;line-height:1.4}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap}
.hero-right{width:320px}
.hero-card{height:100%;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.05);display:flex;flex-direction:column;gap:12px;justify-content:center}
.hero-kpi{display:flex;align-items:baseline;gap:10px}
.hero-kpi b{font-size:26px}
.hero-kpi span{opacity:.85}

.block{margin:18px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 10px}
.small{font-size:13px;opacity:.8;text-decoration:none;color:inherit}

.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;padding:10px 12px;cursor:pointer}
.chip.active{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}

.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.card{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.05);overflow:hidden;transition:transform .12s ease,border-color .15s ease,background .15s ease}
.card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07)}
.card .img{display:block;aspect-ratio:4/3;background:rgba(255,255,255,.04)}
.card .img img{width:100%;height:100%;object-fit:cover;display:block}
.img-ph{width:100%;height:100%}
.card .body{padding:12px}
.card .title{font-weight:700;line-height:1.2;min-height:42px}
.card .meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:8px}
.price{font-weight:800}
.stock{font-size:13px;opacity:.85}
.tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none;cursor:pointer;font-weight:700}
.btn.primary{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}
.btn.ghost{background:transparent}
.btn.sm{padding:9px 11px;border-radius:12px;font-weight:750}

.footer{margin-top:24px;border-top:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 0}

@media (max-width: 980px){
  .hero{flex-direction:column}
  .hero-right{width:100%}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar-inner{flex-wrap:wrap}
  .search{width:100%}
}
@media (max-width: 520px){
  .grid{grid-template-columns:repeat(1,minmax(0,1fr))}
}

/* ===== PREMIUM UI ADD-ON ===== */
.container{max-width:100%;margin:0 auto;padding:0 18px}
.topbar{position:sticky;top:0;z-index:10;background:rgba(10,12,18,.85);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-inner{display:flex;align-items:center;gap:14px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand .logo img{height:34px;width:auto;display:block}
.brand .name strong{display:block;letter-spacing:.4px}
.brand .name span{display:block;font-size:12px;opacity:.8;margin-top:2px}
.search{flex:1;display:flex;gap:8px}
.search input{flex:1;padding:11px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;outline:none}
.search button{padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(0,153,255,.18);color:#fff;font-weight:700;cursor:pointer}
.actions{display:flex;gap:10px}
.pill{display:inline-flex;gap:8px;align-items:center;padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none}
.navline{display:flex;gap:14px;flex-wrap:wrap;padding:10px 0 14px;border-top:1px solid rgba(255,255,255,.06)}
.navlink{color:#fff;text-decoration:none;opacity:.9}
.navlink:hover{opacity:1}

.hero{display:flex;gap:18px;align-items:stretch;margin:18px 0}
.hero-left{flex:1;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(135deg, rgba(0,153,255,.14), rgba(255,255,255,.04))}
.hero-left h1{margin:0 0 10px;font-size:26px;letter-spacing:.2px}
.hero-left p{margin:0 0 14px;opacity:.9;line-height:1.4}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap}
.hero-right{width:320px}
.hero-card{height:100%;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.05);display:flex;flex-direction:column;gap:12px;justify-content:center}
.hero-kpi{display:flex;align-items:baseline;gap:10px}
.hero-kpi b{font-size:26px}
.hero-kpi span{opacity:.85}

.block{margin:18px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 10px}
.small{font-size:13px;opacity:.8;text-decoration:none;color:inherit}

.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;padding:10px 12px;cursor:pointer}
.chip.active{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}

.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.card{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.05);overflow:hidden;transition:transform .12s ease,border-color .15s ease,background .15s ease}
.card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07)}
.card .img{display:block;aspect-ratio:4/3;background:rgba(255,255,255,.04)}
.card .img img{width:100%;height:100%;object-fit:cover;display:block}
.img-ph{width:100%;height:100%}
.card .body{padding:12px}
.card .title{font-weight:700;line-height:1.2;min-height:42px}
.card .meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:8px}
.price{font-weight:800}
.stock{font-size:13px;opacity:.85}
.tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;text-decoration:none;cursor:pointer;font-weight:700}
.btn.primary{background:rgba(0,153,255,.18);border-color:rgba(0,153,255,.35)}
.btn.ghost{background:transparent}
.btn.sm{padding:9px 11px;border-radius:12px;font-weight:750}

.footer{margin-top:24px;border-top:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 0}

@media (max-width: 980px){
  .hero{flex-direction:column}
  .hero-right{width:100%}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar-inner{flex-wrap:wrap}
  .search{width:100%}
}
@media (max-width: 520px){
  .grid{grid-template-columns:repeat(1,minmax(0,1fr))}
}cd ~/STROYKLIMAT/site
python3 -m http.server 8000

/* Fix background jitter / “cycling” on scroll */
html, body { height: 100%; }
body{
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* === FIX: page background must cover full height (no white bottom) === */
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 700px at 50% -100px, rgba(40,120,255,.25), rgba(0,0,0,0) 55%),
              radial-gradient(900px 500px at 20% 20%, rgba(0,190,255,.12), rgba(0,0,0,0) 60%),
              #070E18;
  background-attachment: fixed;
  color: #eaf2ff;
}
main { padding-bottom: 80px; }

/* === FIX: images inside cards === */
.card .img img, .prod-card .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .img, .prod-card .img {
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  overflow: hidden;
}

/* === CATALOG UI polish === */
.catalog-header{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; margin: 18px 0 10px;
}
.catalog-header h1{ margin:0; font-size: 44px; letter-spacing:.2px; }
.controls{ display:flex; gap:12px; flex-wrap:wrap; }
.ctrl{ display:flex; flex-direction:column; gap:6px; font-size:12px; color: rgba(234,242,255,.75); }
.ctrl select{
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #eaf2ff;
  padding: 10px 12px;
  border-radius: 14px;
  outline: none;
}
.ctrl select:focus{ border-color: rgba(80,160,255,.45); box-shadow: 0 0 0 3px rgba(80,160,255,.14); }

.cats{ margin: 18px 0 12px; }
.section-title{ font-weight:700; margin-bottom:10px; }
.chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#eaf2ff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor:pointer;
}
.chip.active{ border-color: rgba(80,160,255,.55); background: rgba(80,160,255,.14); }

.grid-wrap{ margin-top: 10px; }
.pager{
  display:flex; align-items:center; justify-content:center;
  gap: 14px; margin: 20px 0 40px;
}
.pager .btn[disabled]{ opacity:.5; cursor:not-allowed; }


.catalog-layout{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 18px;
}

.sidebar{
  position: sticky;
  top: 96px;
}

.side-block{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.side-title{
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.side-input{
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}

.cats-list{
  margin-top: 10px;
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.cat-item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.cat-item:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.06); border-color: rgba(125,211,252,0.25); }
.cat-item.active{ background: rgba(96,165,250,0.14); border-color: rgba(96,165,250,0.35); }
.cat-item b{ color: var(--muted); font-weight: 700; }

.check{
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
  color: var(--text);
}

.ctrl2 span{ display:block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.ctrl2 input{
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}

.range-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.content{ min-width: 0; }

.chips-wrap{ margin: 6px 0 10px; }
.chips{ display:flex; gap: 8px; flex-wrap: wrap; }
.chip{
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.chip.active{ background: rgba(125,211,252,0.14); border-color: rgba(125,211,252,0.35); }

.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card{
  position: relative;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.card:hover{ transform: translateY(-2px); border-color: rgba(125,211,252,0.25); background: var(--card2); }
.card-link{ position:absolute; inset:0; z-index:1; }

.card .img{ height: 180px; background: rgba(255,255,255,0.04); display:flex; align-items:center; justify-content:center; }
.card .img img{ width:100%; height:100%; object-fit: cover; display:block; }
.img-ph{ width:100%; height:100%; opacity:0.55; }

.card .body{ padding: 12px; display:grid; gap: 8px; }
.card .title{ font-weight: 700; line-height: 1.25; }
.price{ font-size: 18px; font-weight: 800; }
.stock{ color: var(--muted); font-size: 13px; }

.row{ display:flex; gap: 10px; align-items:center; position: relative; z-index: 2; }

.btn{
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
}
.btn-primary{
  background: linear-gradient(135deg, rgba(96,165,250,0.40), rgba(125,211,252,0.22));
  border-color: rgba(125,211,252,0.35);
}
.btn-ghost{ background: rgba(255,255,255,0.04); }
.fav{ width: 44px; display:flex; align-items:center; justify-content:center; font-size: 18px; }

.skeleton{ display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sk{ background: rgba(255,255,255,0.08); border-radius: 12px; }
.sk-card{ padding: 0; overflow:hidden; }
.sk-card .body{ padding: 12px; }
.sk-line{ height: 12px; margin-bottom: 10px; }
.sk-line.short{ width: 60%; }
.sk-btns{ display:flex; gap: 10px; }
.sk-btn{ height: 40px; flex: 1; }

@media (max-width: 1100px){
  .grid, .skeleton{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px){
  .catalog-layout{ grid-template-columns: 1fr; }
  .sidebar{ position: static; }
  .grid, .skeleton{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .grid, .skeleton{ grid-template-columns: 1fr; }
  .card .img{ height: 210px; }
}

/* ===== FEATURES SECTION BOTTOM ===== */
.features-bottom {
  margin: 20px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-item {
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 8px 16px rgba(74,163,255,.1);
  padding: 30px 20px;
  text-align: center;
  transition: all .3s ease;
}

.feature-item:hover {
  border-color: rgba(74,163,255,.30);
  transform: translateY(-4px);
  box-shadow: 0 24px 72px rgba(0,0,0,.6), 0 12px 24px rgba(74,163,255,.2);
}

.feature-value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(74,163,255,.9), rgba(74,163,255,.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-label {
  font-size: 16px;
  color: rgba(255,255,255,.68);
  font-weight: 500;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .feature-value {
    font-size: 36px;
  }
}

@media (max-width: 520px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .feature-item {
    padding: 24px 16px;
  }
  
  .feature-value {
    font-size: 32px;
  }
  
  .feature-label {
    font-size: 14px;
  }
}


/* ===== LIGHT THEME - ADDITIONAL UI ELEMENTS ===== */
html[data-theme="light"] .search-form {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.20) !important;
}

html[data-theme="light"] .search-form:focus-within {
  background: rgba(47,125,225,.12) !important;
  border-color: rgba(47,125,225,.35) !important;
  box-shadow: 0 0 0 3px rgba(47,125,225,.12) !important;
}

html[data-theme="light"] .search-input {
  background: transparent !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .search-input::placeholder {
  color: rgba(74,98,170,.50) !important;
}

html[data-theme="light"] .cart-cnt {
  background: linear-gradient(135deg, #2f7de1, #1a4e8f) !important;
  color: white !important;
}

html[data-theme="light"] .theme-toggle {
  background: linear-gradient(135deg, rgba(47,125,225,.15), rgba(47,125,225,.08)) !important;
  border-color: #2f7de1 !important;
  color: #1a4e8f !important;
  text-shadow: 0 1px 2px rgba(255,255,255,.5) !important;
}

html[data-theme="light"] .theme-toggle:hover {
  background: linear-gradient(135deg, rgba(47,125,225,.28), rgba(47,125,225,.18)) !important;
  border-color: #1a4e8f !important;
  color: #0d2a5c !important;
  box-shadow: 0 4px 12px rgba(47,125,225,.30) !important;
  transform: scale(1.08) !important;
  text-shadow: 0 1px 3px rgba(255,255,255,.6) !important;
}

html[data-theme="light"] .theme-toggle:focus-visible {
  outline: 2px solid #2f7de1 !important;
  outline-offset: 2px !important;
}

html[data-theme="light"] textarea,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="number"],
html[data-theme="light"] select {
  background: rgba(47,125,225,.06) !important;
  color: #1a1f35 !important;
  border-color: rgba(47,125,225,.15) !important;
}

html[data-theme="light"] textarea:focus,
html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus {
  background: rgba(47,125,225,.10) !important;
  border-color: rgba(47,125,225,.35) !important;
  box-shadow: 0 0 0 3px rgba(47,125,225,.12) !important;
}

html[data-theme="light"] textarea::placeholder,
html[data-theme="light"] input::placeholder {
  color: rgba(74,98,170,.50) !important;
}

html[data-theme="light"] footer {
  background: linear-gradient(180deg, rgba(47,125,225,.06), rgba(47,125,225,.03)) !important;
  border-top-color: rgba(47,125,225,.12) !important;
}

html[data-theme="light"] footer .link {
  color: #2f7de1 !important;
}

html[data-theme="light"] footer .link:hover {
  color: #1a4e8f !important;
  text-decoration: underline !important;
}

html[data-theme="light"] .col a {
  color: #2f7de1 !important;
}

html[data-theme="light"] .col a:hover {
  color: #1a4e8f !important;
  text-decoration: underline !important;
}

html[data-theme="light"] .desc a {
  color: #2f7de1 !important;
}

html[data-theme="light"] .desc a:hover {
  color: #1a4e8f !important;
  text-decoration: underline !important;
}

html[data-theme="light"] .sort-btn {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.15) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .sort-btn.active {
  background: rgba(47,125,225,.20) !important;
  border-color: rgba(47,125,225,.35) !important;
  color: #1a4e8f !important;
}

html[data-theme="light"] .fav-btn,
html[data-theme="light"] .cart-btn {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.15) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .fav-btn:hover,
html[data-theme="light"] .cart-btn:hover {
  background: rgba(47,125,225,.18) !important;
  border-color: rgba(47,125,225,.30) !important;
}

html[data-theme="light"] .fav-btn.active {
  background: rgba(255,100,100,.20) !important;
  border-color: rgba(255,100,100,.35) !important;
  color: #d32f2f !important;
}

html[data-theme="light"] .q-inp {
  background: rgba(47,125,225,.06) !important;
  border-color: rgba(47,125,225,.15) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .q-plus,
html[data-theme="light"] .q-minus {
  background: rgba(47,125,225,.08) !important;
  border-color: rgba(47,125,225,.15) !important;
  color: #1a1f35 !important;
}

html[data-theme="light"] .q-plus:hover,
html[data-theme="light"] .q-minus:hover {
  background: rgba(47,125,225,.15) !important;
  border-color: rgba(47,125,225,.25) !important;
}
/* ===== SHOWCASE MODE ===== */

[data-store-mode="showcase"] .add-to-cart {
  display: none;
}

[data-store-mode="showcase"] .price-request-btn {
  display: inline-block;
}

[data-store-mode="shop"] .price-request-btn {
  display: none;
}

.showcase-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.showcase-form {
  position: relative;
  z-index: 1;
  max-width: 500px;
  width: 90%;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  max-height: 90vh;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand);
  background: rgba(47, 125, 225, 0.10);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

html[data-theme="light"] .showcase-form {
  background: #ffffff;
  border-color: rgba(31, 127, 225, 0.20);
}

html[data-theme="light"] .form-input,
html[data-theme="light"] .form-textarea {
  background: rgba(31, 127, 225, 0.05);
  border-color: rgba(31, 127, 225, 0.20);
  color: #1a1f35;
}

html[data-theme="light"] .form-input::placeholder,
html[data-theme="light"] .form-textarea::placeholder {
  color: rgba(26, 31, 53, 0.45);
}

html[data-theme="light"] .form-input:focus,
html[data-theme="light"] .form-textarea:focus {
  background: rgba(31, 127, 225, 0.10);
  border-color: #2f7de1;
}

html[data-theme="light"] .form-label {
  color: #1a1f35;
}

/* ===== TESTIMONIALS WIDGET ===== */
.hero-left {
  flex: 1;
}

.hero-right {
  width: 380px;
  min-width: 320px;
}

.testimonials-widget {
  position: relative;
  overflow: hidden;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.testimonials-dots {
  display: flex;
  gap: 6px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: rgba(47, 125, 225, 0.9);
  width: 20px;
  border-radius: 4px;
}

.testimonials-container {
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-text {
  margin: 0 0 16px;
  padding: 0 0 0 16px;
  border-left: 3px solid rgba(47, 125, 225, 0.5);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  font-size: 14px;
  color: var(--text);
}

.testimonial-rating {
  font-size: 12px;
  color: var(--muted);
}

.testimonial-date {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.7;
}

@media (max-width: 980px) {
  .hero-right {
    width: 100%;
  }
}

/* Light theme testimonials */
html[data-theme="light"] .testimonial-text {
  border-left-color: rgba(47, 125, 225, 0.6);
}

html[data-theme="light"] .testimonial-dot {
  background: rgba(47, 125, 225, 0.3);
}

html[data-theme="light"] .testimonial-dot.active {
  background: #2f7de1;
}

/* ===== TESTIMONIALS PAGE ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 125, 225, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.testimonial-card-rating {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.testimonial-card-date {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
  white-space: nowrap;
}

.testimonial-card-text {
  margin: 0 0 12px;
  padding: 0 0 0 12px;
  border-left: 3px solid rgba(47, 125, 225, 0.5);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.testimonial-card-product {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 2px solid rgba(47, 125, 225, 0.3);
}

.testimonial-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  row-gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  background: rgba(47, 125, 225, 0.12);
  border: 1px solid rgba(47, 125, 225, 0.25);
  border-radius: 14px;
  color: var(--text);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Review Form */
.review-form-section {
  max-width: 700px;
  margin: 48px auto 0;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(47, 125, 225, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.rating-input {
  display: flex;
  gap: 8px;
}

.form-message {
  margin-top: 16px;
}

/* Light theme for testimonials page */
html[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: rgba(47, 125, 225, 0.15);
}

html[data-theme="light"] .testimonial-card:hover {
  border-color: rgba(47, 125, 225, 0.4);
  box-shadow: 0 4px 16px rgba(47, 125, 225, 0.08);
}

html[data-theme="light"] .testimonial-card-text {
  border-left-color: rgba(47, 125, 225, 0.6);
}

html[data-theme="light"] .testimonial-card-product {
  background: rgba(47, 125, 225, 0.05);
  border-left-color: rgba(47, 125, 225, 0.4);
}

html[data-theme="light"] .badge {
  background: rgba(47, 125, 225, 0.08);
  border-color: rgba(47, 125, 225, 0.25);
}

html[data-theme="light"] .review-form-section {
  background: #ffffff;
  border-color: rgba(47, 125, 225, 0.15);
}

html[data-theme="light"] .form-input,
html[data-theme="light"] .form-textarea {
  background: rgba(47, 125, 225, 0.04);
  border-color: rgba(47, 125, 225, 0.15);
  color: #1a1f35;
}

html[data-theme="light"] .form-input:focus,
html[data-theme="light"] .form-textarea:focus {
  background: rgba(47, 125, 225, 0.08);
  border-color: #2f7de1;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONSENT BANNER ===== */
.consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4000;
  background: rgba(5, 12, 20, 0.92);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
html[data-theme="light"] .consent-banner {
  background: rgba(255, 255, 255, 0.92);
}
.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.consent-text {
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
}
.consent-actions {
  display: flex;
  gap: 10px;
}
.consent-actions .btn {
  padding: 8px 12px;
  font-size: 13px;
}
@media (max-width: 640px) {
  .consent-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== PRIVACY FAB + MODAL ===== */
.privacy-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 3500;
  box-shadow: var(--shadow);
}
.privacy-fab:hover {
  border-color: rgba(47, 125, 225, 0.5);
}
.privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3600;
}
.privacy-modal.active {
  display: flex;
}
.privacy-dialog {
  width: min(560px, 92vw);
  background: var(--bg1);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.privacy-dialog h3 {
  margin: 0 0 8px;
}
.privacy-dialog p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.privacy-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Footer */
.footer {
  margin-top: 80px;
  padding: 48px 0 24px;
  border-top: 1px solid var(--stroke);
  background: var(--bg0);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--brand);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--brand);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer {
    margin-top: 60px;
    padding: 32px 0 20px;
  }
}