:root{
  --bg:#0b0c10;
  --panel:#11131a;
  --panel2:#0f1117;
  --text:#e9ecf1;
  --muted:#a8b0bf;
  --line:#222636;
  --accent:#6ee7ff;
  --accent2:#a78bfa;
  --focus:rgba(110,231,255,.45);
  --ring:0 0 0 3px rgba(110,231,255,.18);
  --shadowSoft:0 12px 34px rgba(0,0,0,.30);
  --danger:#ff5c7a;
  --radius:16px;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --shadow2:0 10px 28px rgba(0,0,0,.28);
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:
    radial-gradient(900px 520px at 50% -140px, rgba(110,231,255,.16), transparent 62%),
    radial-gradient(720px 420px at 12% 8%, rgba(167,139,250,.10), transparent 58%),
    radial-gradient(720px 420px at 88% 18%, rgba(110,231,255,.10), transparent 60%),
    var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  background:rgba(11,12,16,.62);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(34,38,54,.55);
}

.brand{display:flex;flex-direction:column;gap:2px}
.brand-title{font-weight:800;letter-spacing:.2px}
.brand-subtitle{font-size:12px;color:var(--muted)}

.admin-link{
  font-size:13px;
  padding:10px 12px;
  border:1px solid rgba(34,38,54,.9);
  background:
    linear-gradient(180deg, rgba(17,19,26,.85), rgba(15,17,23,.70));
  border-radius:12px;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  transition:transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.admin-link:hover{
  transform:translateY(-1px);
  border-color:rgba(110,231,255,.26);
  box-shadow:0 14px 32px rgba(0,0,0,.22);
}
.admin-link:active{transform:translateY(0)}
.admin-link:focus-visible{outline:none; box-shadow:var(--ring), 0 14px 32px rgba(0,0,0,.22)}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 16px 40px;
}

.highlight-wrap{margin-top:8px}
.highlight-stage{
  position:relative;
  height:360px;
  border:1px solid rgba(34,38,54,.9);
  background:
    radial-gradient(720px 360px at 50% 18%, rgba(110,231,255,.10), transparent 62%),
    linear-gradient(180deg, rgba(17,19,26,.92), rgba(15,17,23,.68));
  border-radius:var(--radius);
  box-shadow:var(--shadowSoft);
  overflow:hidden;
  isolation:isolate;
}

.highlight-card{
  position:absolute;
  top:50%;
  left:50%;
  width:min(280px, calc(100% - 56px));
  border:1px solid rgba(34,38,54,.95);
  background:
    linear-gradient(180deg, rgba(17,19,26,1), rgba(15,17,23,1));
  border-radius:18px;
  box-shadow:var(--shadow2);
  transform-origin:center;
  transition:transform 420ms cubic-bezier(.2,.8,.2,1), opacity 320ms ease, border-color 180ms ease, box-shadow 180ms ease;
  cursor:pointer;
  overflow:hidden;
  backface-visibility:hidden;
  user-select:none;
  -webkit-user-select:none;
}

.highlight-hit{
  position:absolute;
  top:50%;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  cursor:pointer;
  z-index:6;
}

.highlight-hit-left{
  left:0;
  width:30%;
  height:100%;
  transform:translateY(-50%);
  z-index:7;
}

.highlight-hit-center{
  left:50%;
  width:40%;
  height:100%;
  transform:translate(-50%,-50%);
  z-index:6;
}

.highlight-hit-right{
  right:0;
  width:30%;
  height:100%;
  transform:translateY(-50%);
  z-index:7;
}

.highlight-hit:focus{
  outline:none;
}

.highlight-card:hover{
  border-color:rgba(110,231,255,.22);
  box-shadow:0 14px 36px rgba(0,0,0,.30);
}
.highlight-card:focus-visible{
  outline:none;
  border-color:rgba(110,231,255,.28);
  box-shadow:var(--ring), 0 14px 36px rgba(0,0,0,.30);
}

.highlight-card[data-pos="left"]{
  transform:translate(-90%,-50%) scale(.82) rotate(-2deg);
  opacity:.92;
}

.highlight-card[data-pos="center"]{
  transform:translate(-50%,-50%) scale(1);
  opacity:1;
}

.highlight-card[data-pos="right"]{
  transform:translate(-10%,-50%) scale(.82) rotate(2deg);
  opacity:.92;
}

.highlight-card[data-pos="left"]{z-index:1}
.highlight-card[data-pos="center"]{z-index:3}
.highlight-card[data-pos="right"]{z-index:2}

.highlight-card:active{transform:translate(-50%,-50%) scale(.99)}

.highlight-card[data-pos="left"] .card-body,
.highlight-card[data-pos="right"] .card-body{
  opacity:.98;
}

.highlight-card[data-pos="center"] .card-body{
  opacity:1;
}

.card-media{
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  border-top-left-radius:18px;
  border-top-right-radius:18px;
  background:#0a0b10;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.card-body{
  padding:12px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.card-name{
  font-weight:700;
  line-height:1.15;
}

.card-prices{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}

.price-old{
  color:var(--muted);
  text-decoration:line-through;
  font-size:13px;
}

.price-new{
  font-weight:800;
  letter-spacing:.2px;
}

.badge{
  font-size:11px;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid rgba(110,231,255,.35);
  color:rgba(110,231,255,.95);
  background:rgba(110,231,255,.08);
}

.list-wrap{margin-top:18px}
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:14px 2px 10px;
}
.section-title{font-weight:800;letter-spacing:.2px}

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

.product-card{
  border:1px solid rgba(34,38,54,.95);
  background:
    linear-gradient(180deg, rgba(17,19,26,.88), rgba(15,17,23,.72));
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.22);
  transition:transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover{
  transform:translateY(-2px);
  border-color:rgba(110,231,255,.22);
  box-shadow:0 14px 34px rgba(0,0,0,.26);
}
.product-card:active{transform:translateY(0)}
.product-card:focus-visible{outline:none; box-shadow:var(--ring), 0 14px 34px rgba(0,0,0,.26)}

.product-card .card-body{padding:10px 10px 12px}
.product-card .card-name{font-size:14px}
.product-card .price-new{font-size:15px}
.product-card .price-old{font-size:12px}

@media (min-width: 720px){
  .highlight-stage{height:420px}
  .highlight-card{width:320px}
  .product-grid{grid-template-columns:repeat(4, minmax(0,1fr))}
  .highlight-hit-left,
  .highlight-hit-right{
    width:220px;
  }

  .highlight-hit-center{
    width:320px;
  }
}