:root{
  --bg:#050914;
  --panel:rgba(255,255,255,.12);
  --panel2:rgba(255,255,255,.07);
  --line:rgba(255,255,255,.22);
  --text:#f8fbff;
  --muted:#b9c8dc;
  --blue:#46c7ff;
  --violet:#9a6dff;
  --green:#72ffc3;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 14% 4%,rgba(70,199,255,.18),transparent 34%),
    radial-gradient(circle at 84% 0%,rgba(154,109,255,.28),transparent 36%),
    linear-gradient(180deg,#081120 0%,#050914 60%,#03060d 100%);
  overflow-x:hidden;
}
button,input{font:inherit}
.noise{position:fixed;inset:0;pointer-events:none;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E")}
.glow{position:fixed;border-radius:999px;filter:blur(82px);pointer-events:none;opacity:.55}
.glow-1{width:420px;height:420px;background:#2aa8ff;left:-180px;top:-130px}
.glow-2{width:520px;height:520px;background:#7e5cff;right:-190px;top:-90px}
.glow-3{width:360px;height:360px;background:#5fffd0;left:38%;bottom:-220px;opacity:.22}
.app{position:relative;max-width:1240px;margin:0 auto;padding:18px 14px 140px}
.glass{
  background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
  border:1px solid var(--line);
  box-shadow:0 28px 80px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter:blur(24px) saturate(160%);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
}
.topbar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  border-radius:24px;padding:14px 18px;margin-bottom:14px;
}
.topbar-left{display:flex;flex-direction:column;gap:2px}
.brand-mark,.brand,.section-title span{color:var(--blue);font-weight:950;letter-spacing:.13em;font-size:13px}
.brand-sub{color:#9eb4cb;font-size:12px}
.topnav{display:flex;gap:10px;flex-wrap:wrap}
.topnav button,.filters button,.back,.bottom-nav-btn,.product-filter-btn{
  border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.08);color:white;
  border-radius:999px;padding:12px 16px;font-weight:900;cursor:pointer;white-space:nowrap;
  transition:.18s ease;
}
.topnav button:hover,.filters button:hover,.bottom-nav-btn:hover,.product-filter-btn:hover{background:rgba(255,255,255,.14)}
.hero{
  position:relative;min-height:620px;border-radius:34px;overflow:hidden;padding:44px;
  display:flex;align-items:flex-end;
}
.hero-bg{position:absolute;inset:0;background:url("./assets/hero.jpg") center/cover no-repeat;transform:scale(1.02);filter:brightness(1.06) saturate(1.02)}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(3,7,14,.92) 0%,rgba(3,7,14,.70) 34%,rgba(3,7,14,.10) 74%,rgba(3,7,14,.28) 100%),
    linear-gradient(0deg,rgba(3,7,14,.80) 0%,transparent 56%);
}
.hero-content{position:relative;z-index:2;max-width:680px}
.hero h1{font-size:clamp(48px,7vw,88px);line-height:.9;letter-spacing:-.07em;margin:18px 0 18px;text-shadow:0 12px 32px rgba(0,0,0,.45)}
.hero p{font-size:18px;line-height:1.55;color:var(--muted);max-width:620px;margin:0 0 24px}
.hero-actions{display:flex;gap:12px;align-items:center;max-width:860px}
.search{
  flex:1;height:60px;border-radius:19px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.20);
  display:flex;align-items:center;gap:12px;padding:0 18px;color:#84d6ff;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
.search input{all:unset;width:100%;font-size:16px;color:white}
.search input::placeholder{color:#aebcd0}
.hero-btn,.checkout,.add,.mini-btn{
  border:0;border-radius:18px;padding:0 22px;height:60px;color:white;font-weight:950;cursor:pointer;
  background:linear-gradient(90deg,#42c7ff,#8a6dff);box-shadow:0 18px 45px rgba(81,125,255,.34)
}
.hero-btn-primary{min-width:230px;font-size:16px}
.hero-features{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.hero-features div{border-radius:18px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);padding:14px 16px;backdrop-filter:blur(16px)}
.hero-features b{display:block;color:var(--green);font-size:13px}.hero-features span{font-weight:800;font-size:14px}
.trust-strip{
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0 16px;padding:12px;border-radius:22px
}
.trust-strip div{
  padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  color:#dff8ff;font-weight:800;font-size:14px;text-align:center
}
.filters{margin:0 0 28px;border-radius:22px;padding:12px;display:flex;gap:10px;overflow:auto}
.filters button.active,.product-filter-btn.active{background:linear-gradient(90deg,rgba(70,199,255,.55),rgba(154,109,255,.55));border-color:rgba(255,255,255,.36)}
.product-filters{
  display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px;padding:12px;
  border-radius:20px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12)
}
.section-title{margin:0 0 18px}.section-title.compact{margin:0 0 12px}
.section-title h2{font-size:38px;line-height:1;margin:8px 0 0;letter-spacing:-.04em}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{
  position:relative;min-height:340px;border-radius:28px;overflow:hidden;padding:20px;cursor:pointer;
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.055));
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 24px 70px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.18);
  transition:.22s ease;
}
.card:hover{transform:translateY(-5px);border-color:rgba(80,203,255,.56);box-shadow:0 30px 82px rgba(0,0,0,.44),0 0 0 1px rgba(80,203,255,.15)}
.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.88;transition:.25s}
.card:hover img{transform:scale(1.045);opacity:.96}
.card::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(5,9,17,.06) 0%,rgba(5,9,17,.24) 34%,rgba(5,9,17,.92) 100%),
    radial-gradient(circle at 0% 0%,rgba(255,255,255,.18),transparent 38%);
}
.mini-badge,.tag-row span{
  position:relative;z-index:1;display:inline-flex;align-items:center;gap:6px;
  border-radius:999px;padding:9px 12px;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);color:#eff8ff;font-weight:800;font-size:12px;
  backdrop-filter:blur(14px)
}
.tag-row{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.card h3,.card p,.card strong,.price,.add,.price-note,.card-cta,.product-meta{position:relative;z-index:1}
.card h3{font-size:26px;line-height:1.05;margin:154px 0 10px;letter-spacing:-.03em}
.card p{margin:0;color:var(--muted);line-height:1.45}
.card-footer{position:relative;z-index:1;display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:16px}
.price-note{font-size:15px;color:#dff8ff;font-weight:900}
.price-note span{display:block;color:var(--green);font-size:22px;line-height:1.1}
.card-cta{color:#dff8ff;font-weight:900;font-size:15px}
.product-grid .card{min-height:430px}
.product-grid .card h3{margin-top:188px}
.price{font-size:25px;color:var(--green);font-weight:950;margin-top:12px}
.product-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}
.add{width:100%;margin-top:12px;height:52px;border-radius:16px}
.popular{margin-top:34px}
.support{margin-top:34px;padding:22px;border-radius:28px}
.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.support-card{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:18px;
}
.support-card b{display:block;font-size:18px;margin-bottom:8px}
.support-card p{margin:0;color:var(--muted);line-height:1.5}
.hidden{display:none!important}.back{margin-bottom:16px;border-radius:16px}
.cart-open{
  position:fixed;z-index:20;right:20px;bottom:92px;border-radius:999px;color:white;padding:14px 18px;
  display:flex;align-items:center;gap:10px;cursor:pointer
}
.cart-open b{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:var(--green);color:#06101b;font-size:14px}
.cart{
  position:fixed;z-index:50;top:16px;right:16px;bottom:16px;width:420px;max-width:calc(100vw - 32px);
  border-radius:30px;padding:20px;transform:translateX(118%);transition:.25s ease
}
.cart.open{transform:translateX(0)}
.cart-head{display:flex;justify-content:space-between;align-items:flex-start}.cart-head span{color:var(--blue);font-weight:950;font-size:12px;letter-spacing:.13em}.cart-head h3{font-size:34px;margin:4px 0 0}.cart-head button{all:unset;font-size:42px;cursor:pointer}
.cart-items{max-height:58vh;overflow:auto;margin:16px 0}.cart-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.cart-item small{color:var(--muted)}.cart-item button{border:0;background:rgba(255,255,255,.12);color:white;border-radius:12px;width:36px;height:36px;cursor:pointer}
.cart-total{display:flex;justify-content:space-between;align-items:center;font-size:22px;margin:18px 0}
.checkout{width:100%;height:58px}
.bottom-nav{
  position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:24;
  display:none;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-radius:22px;
  width:min(92vw,520px)
}
.bottom-nav-btn{flex:1;text-align:center;padding:12px 10px}
@media(max-width:1080px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .support-grid,.trust-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .app{padding:10px 10px 150px}
  .topbar{padding:12px 14px;border-radius:18px}
  .topnav{display:none}
  .hero{min-height:590px;padding:22px;border-radius:26px;align-items:flex-end}
  .hero-overlay{background:linear-gradient(180deg,rgba(3,7,14,.24) 0%,rgba(3,7,14,.82) 58%,rgba(3,7,14,.96) 100%)}
  .hero-actions{flex-direction:column;align-items:stretch}.hero-btn{width:100%}.hero-features,.trust-strip,.support-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .filters{border-radius:18px}
  .card{min-height:320px}
  .bottom-nav{display:flex}
  .cart-open{bottom:94px}
}


/* v11 smart category filters */
.category-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-radius:22px;
  padding:12px;
  margin:0 0 12px;
}
.category-toolbar .back{
  margin:0;
  padding:12px 16px;
  border-radius:16px;
}
.category-toolbar-info{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
  padding-right:8px;
}
.category-toolbar-info span{
  color:var(--blue);
  font-size:12px;
  font-weight:950;
  letter-spacing:.12em;
}
.category-toolbar-info b{
  color:#dff8ff;
  font-size:14px;
}
.filter-shell{
  border-radius:22px;
  padding:12px;
  margin:0 0 18px;
}
.filter-shell-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:0 0 10px;
}
.filter-shell-head span{
  color:#dff8ff;
  font-weight:950;
  letter-spacing:.04em;
}
.reset-filter{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.07);
  color:#cfe1f5;
  border-radius:999px;
  padding:9px 12px;
  font-weight:900;
  cursor:pointer;
}
.product-filters{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  display:flex;
  gap:9px;
  overflow:auto;
  flex-wrap:nowrap;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.product-filter-btn{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  flex:0 0 auto;
  scroll-snap-align:start;
  background:rgba(255,255,255,.07);
}
.product-filter-btn small{
  display:inline-grid;
  place-items:center;
  min-width:23px;
  height:23px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  color:#dff8ff;
  font-size:12px;
}
.product-filter-btn.active small{
  background:rgba(114,255,195,.22);
  color:var(--green);
}
.category-popular{
  margin-top:34px;
}
.category-popular .section-title h2{
  font-size:32px;
}
@media(max-width:900px){
  .category-toolbar{
    align-items:stretch;
  }
  .category-toolbar-info{
    align-items:flex-start;
    justify-content:center;
  }
  .product-filters{
    padding-bottom:2px;
  }
}


/* v12 visibly redesigned category filters */
.category-panel{
  border-radius:28px;
  padding:16px;
  margin:0 0 20px;
  position:relative;
  overflow:hidden;
}
.category-panel::before{
  content:"";
  position:absolute;
  inset:-60px auto auto -80px;
  width:260px;
  height:260px;
  background:radial-gradient(circle,rgba(70,199,255,.22),transparent 68%);
  pointer-events:none;
}
.category-panel-top{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  margin-bottom:16px;
}
.category-panel .back{
  margin:0;
  border-radius:18px;
  background:rgba(255,255,255,.11);
}
.category-panel-title span{
  display:block;
  color:var(--blue);
  font-size:12px;
  font-weight:950;
  letter-spacing:.13em;
}
.category-panel-title h3{
  margin:4px 0 0;
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
}
.category-panel-count{
  border-radius:18px;
  padding:12px 14px;
  background:rgba(114,255,195,.12);
  border:1px solid rgba(114,255,195,.24);
  color:var(--green);
  font-weight:950;
  white-space:nowrap;
}
.category-panel-filter-title{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.category-panel-filter-title span{
  color:#dff8ff;
  font-weight:950;
}
.product-filters-big{
  position:relative;
  z-index:1;
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(138px,1fr));
  gap:10px;
  padding:0;
  overflow:visible;
}
.product-filters-big .product-filter-btn{
  justify-content:space-between;
  width:100%;
  border-radius:18px;
  padding:14px 15px;
  background:rgba(255,255,255,.085);
  border:1px solid rgba(255,255,255,.16);
}
.product-filters-big .product-filter-btn.active{
  background:
    linear-gradient(135deg,rgba(70,199,255,.42),rgba(154,109,255,.42));
  border-color:rgba(255,255,255,.36);
  box-shadow:0 14px 34px rgba(77,147,255,.20),inset 0 1px 0 rgba(255,255,255,.22);
}
.product-filters-big .product-filter-btn small{
  min-width:28px;
  height:28px;
}
.category-popular{
  border-radius:28px;
  padding:20px;
  margin:0 0 28px;
}
.category-popular .card{
  min-height:330px;
}
.products-title{
  margin-top:4px;
}
.products-title h2{
  font-size:30px;
}
@media(max-width:900px){
  .category-panel-top{
    grid-template-columns:1fr;
    align-items:stretch;
  }
  .category-panel-count{
    display:inline-flex;
    justify-content:center;
  }
  .product-filters-big{
    grid-template-columns:1fr 1fr;
  }
}
