:root{
  --bg:#0b0f0d;
  --text:#f7f9f8;
  --muted:#b7c2bc;

  --panel:#13181a;
  --surface:#1b2124;
  --card:rgba(23,28,30,.9);
  --glass:10px;
  --radius:16px;
  --shadow:0 20px 50px rgba(0,0,0,.55);

  --gold:#c9a96b;
  --gold-2:#8f6f2a;
  --accent:var(--gold);
}

/* RESET */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg); color:var(--text);
  font-family:'Manrope',ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  line-height:1.65; overflow-x:hidden; font-size:16px;
}

/* BG */
#net{position:fixed; inset:0; z-index:-2; width:100%; height:100%; display:block}
.bg-overlays{position:fixed; inset:0; z-index:-1; pointer-events:none}
.bg-overlays::before{content:""; position:absolute; inset:-8% -8%;
  background:radial-gradient(100% 80% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,.3) 100%)}
.bg-overlays::after{content:""; position:absolute; inset:0;
  background:repeating-linear-gradient(to bottom, rgba(255,255,255,.02) 0 2px, rgba(0,0,0,0) 2px 4px);
  opacity:.07}

/* HEADER */
.header{position:sticky; top:0; z-index:20; background:rgba(10,12,12,.7);
  backdrop-filter:blur(var(--glass)); border-bottom:1px solid rgba(255,255,255,.08)}
.header .wrap{max-width:1180px; margin:0 auto; padding:10px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px}
.logo-wrap{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text)}
.logo-mark{width:26px; height:26px; display:block; filter:drop-shadow(0 0 1px rgba(0,0,0,.7))}
.logo-text{font-weight:800; letter-spacing:.2px}

.nav{display:flex; align-items:center; gap:14px}
.nav a, .nav .nav-btn{color:var(--text); opacity:.95; text-decoration:none; font-weight:800; background:transparent; border:0; cursor:pointer}
.nav a:hover, .nav .nav-btn:hover{color:var(--accent)}
.socials{display:flex; align-items:center; gap:10px; margin-left:6px}
.soc{display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:999px; border:1px solid rgba(201,169,107,.45); color:var(--text); opacity:.95; text-decoration:none}
.soc:hover{border-color:rgba(201,169,107,.75)}
.tel{color:var(--text); text-decoration:none; font-weight:700}

.cart-btn{background:transparent; border:1px solid rgba(201,169,107,.55); color:var(--text); border-radius:999px; padding:8px 12px; cursor:pointer; position:relative}
.badge{background:linear-gradient(135deg,var(--gold),var(--gold-2)); color:#0f0f0f; border-radius:999px; padding:2px 8px; margin-left:6px; font-weight:900}
.cart-btn.bump{animation:cart-bump .35s ease}
@keyframes cart-bump{0%{transform:scale(1)}50%{transform:scale(1.07)}100%{transform:scale(1)}}

/* LAYOUT */
.wrap{max-width:1180px;margin:0 auto;padding:0 18px}
.narrow{max-width:820px}
.section{padding:72px 0}
.center{text-align:center}

/* HERO */
.hero{padding:96px 0 36px; text-align:center}
.neon-title{font-size:44px; margin:0 0 10px; color:var(--text);
  text-shadow:0 0 16px rgba(201,169,107,.16),0 0 32px rgba(201,169,107,.1)}
.lead{color:var(--muted); max-width:820px; margin:10px auto 22px}

/* FILTERS */
.filters{display:grid; grid-template-columns:1fr 220px auto; gap:10px}
@media (max-width:800px){.filters{grid-template-columns:1fr}}
.input{
  width:100%; padding:12px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.16);
  background:rgba(27,33,36,.92); color:var(--text); outline:none;
}
.input:focus{border-color:rgba(201,169,107,.7)}
/* убрать стрелки у number */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
input[type=number]{ -moz-appearance:textfield }

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; padding:12px 22px; font-weight:900; text-decoration:none; cursor:pointer;
  color:#101010; background:linear-gradient(135deg,var(--gold),var(--gold-2));
  box-shadow:0 0 22px rgba(201,169,107,.22), inset 0 0 14px rgba(0,0,0,.25);
  border:0; transition:transform .12s ease, filter .2s ease; min-height:44px; min-width:142px;
  white-space:nowrap;
}
.btn:hover{filter:brightness(1.06) saturate(1.08); transform:translateY(-1px)}
.btn.ghost{background:transparent; color:var(--text); border:1px solid rgba(201,169,107,.55); box-shadow:none; min-width:156px}

/* CARDS */
.card{
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  border:1px solid rgba(201,169,107,.12); backdrop-filter:blur(var(--glass));
}
.h2{margin:0 0 14px; font-size:28px; text-shadow:0 0 14px rgba(201,169,107,.14)}
.grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:18px; justify-items:center}
.grid-centered{justify-content:center}

/* Карточка: img / контент / панель */
.product-card{display:grid; grid-template-rows:220px auto 68px; overflow:hidden; width:100%}
.product-card img{width:100%; height:220px; object-fit:cover; grid-row:1}
.product-card .pad{padding:16px; grid-row:2; width:100%}
.product-card h3{margin:0 0 6px}
.price{font-weight:900; margin:6px 0 10px}
.pm-desc{
  color:var(--muted); margin:8px 0 12px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:3.1em;
}
.triple-actions{
  grid-row:3; width:100%;
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px;
  padding:0 16px 16px 16px; white-space:nowrap;
}
.triple-actions > .left, .triple-actions > .center, .triple-actions > .right{display:flex; align-items:center}
.triple-actions > .center{justify-content:center}
.triple-actions > .right{justify-content:flex-end}
.badge-pill{display:inline-flex; align-items:center; border-radius:999px; padding:10px 14px; font-weight:800;
  border:1px solid rgba(201,169,107,.55); background:rgba(201,169,107,.18)}

/* CART PANEL */
.cart-panel{
  position:fixed; top:0; right:-520px; width:min(520px,96vw); height:100dvh; z-index:40;
  background:var(--panel); border-left:1px solid rgba(201,169,107,.22); box-shadow:-20px 0 60px rgba(0,0,0,.55);
  transition:right .28s ease; display:flex; flex-direction:column;
}
.cart-panel.open{right:0}
.panel-backdrop{position:fixed; inset:0; background:rgba(0,0,0,.55); backdrop-filter:blur(2px); z-index:30; display:none}
.panel-backdrop.show{display:block}

.sticky-top{position:sticky; top:0; background:linear-gradient(180deg,#151a1c 0,#13181a 100%); z-index:2; border-bottom:1px solid rgba(255,255,255,.1)}
.sticky-bottom{position:sticky; bottom:0; background:linear-gradient(0deg,#151a1c 0,#13181a 100%); z-index:2; border-top:1px solid rgba(255,255,255,.1)}

.cart-head{display:flex; align-items:center; justify-content:space-between; padding:14px 16px}
.icon-btn{background:transparent; border:0; font-size:18px; cursor:pointer; color:var(--text)}

.cart-list{
  flex:1; padding:12px 14px; display:grid; gap:12px;
  overflow-y:auto; overflow-x:hidden;
}
.cart-item{
  display:grid; grid-template-columns:56px minmax(0,1fr) 116px;
  gap:12px; align-items:center; min-height:76px;
  background:var(--surface); border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:10px 12px;
}
.cart-item img{width:56px; height:56px; object-fit:cover; border-radius:10px; border:1px solid rgba(255,255,255,.12)}
.cart-main{min-width:0}
.cart-main h4{margin:0; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.cart-meta{font-size:12px; color:var(--muted); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.cart-side{display:grid; grid-template-rows:auto auto; justify-items:end; align-items:center; gap:6px}
.cart-price{font-weight:800; white-space:nowrap}
.rm-btn{background:transparent; border:1px solid rgba(255,255,255,.2); width:28px; height:28px; border-radius:8px; color:#ffb2b2; cursor:pointer}
.rm-btn:hover{background:rgba(255,0,0,.08)}

.qty{display:flex; align-items:center; gap:6px; margin-top:6px}
.qty .step{
  width:32px; height:32px; border-radius:10px; border:1px solid rgba(255,255,255,.2); background:rgba(0,0,0,.2);
  color:var(--text); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; font-weight:900
}
.input-qty{width:54px; text-align:center; background:rgba(27,33,36,.92); border:1px solid rgba(255,255,255,.18); color:var(--text); border-radius:10px; padding:6px 8px}

.cart-promos{display:flex; gap:8px; padding:10px 14px}
.cart-sum{padding:10px 16px}
.cart-sum .row{display:flex; justify-content:space-between; margin:6px 0}
.cart-sum .total{font-size:18px}
.cart-actions{display:flex; gap:8px; padding:12px 16px}

/* MODALS */
.modal{border:0; padding:0; background:transparent}
.modal[open]{display:grid; place-items:center}
.modal::backdrop{background:rgba(0,0,0,.55); backdrop-filter:blur(2px)}
.modal-card{
  width:min(920px,92vw); max-height:86vh; overflow:auto;
  background:#1d2326; color:var(--text);
  border-radius:18px; box-shadow:0 26px 60px rgba(0,0,0,.6); border:1px solid rgba(201,169,107,.22)
}
.modal-head{position:sticky; top:0; z-index:1; background:linear-gradient(180deg,#1f2629 0,#1d2326 100%); display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.12); box-shadow:0 6px 14px rgba(0,0,0,.25)}
.modal-body{padding:16px}
.modal-foot{position:sticky; bottom:0; z-index:1; background:linear-gradient(0deg,#1f2629 0,#1d2326 100%); display:flex; gap:10px; justify-content:flex-end; padding:12px 16px; border-top:1px solid rgba(255,255,255,.12); box-shadow:0 -6px 14px rgba(0,0,0,.25)}

.pm-image{width:100%; max-height:360px; object-fit:cover; border-radius:12px; border:1px solid rgba(255,255,255,.15)}
.subhead{margin:12px 0 6px}
.included{margin:0 0 8px 18px}
.included li{margin:6px 0}
.addons{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px}
.addon{display:flex; gap:10px; align-items:flex-start; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.14); border-radius:12px; padding:12px}
.addon input:checked + div, .addon:has(input:checked){background:rgba(201,169,107,.12); border-color:rgba(201,169,107,.5)}

/* ABOUT MODAL */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.about-grid h4{margin:6px 0 8px}
@media (max-width:820px){.about-grid{grid-template-columns:1fr}}

/* Grid helper (forms) */
.grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px}
@media (max-width:800px){.grid{grid-template-columns:1fr}}

/* Product modal qty */
.qty-row{display:flex; align-items:center; gap:8px; margin-top:12px}
.qty-btn{width:40px; height:40px; border-radius:10px; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.25); color:var(--text); cursor:pointer}
.qty-input{width:84px; text-align:center}

/* TOAST */
.toast{position:fixed; bottom:22px; left:50%; transform:translateX(-50%);
  background:#101414; color:var(--text); border:1px solid rgba(201,169,107,.35); border-radius:999px;
  padding:10px 14px; box-shadow:0 12px 24px rgba(0,0,0,.35); display:none}
.toast.show{display:block; animation:fade .8s ease}
@keyframes fade{from{opacity:0; transform:translateX(-50%) translateY(8px)} to{opacity:1; transform:translateX(-50%) translateY(0)}}

/* FLY GHOST */
.fly-ghost{position:fixed; z-index:9999; pointer-events:none; border-radius:10px; overflow:hidden;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .55s ease; box-shadow:0 10px 24px rgba(0,0,0,.35)}

/* FOOTER */
.footer{padding:28px 0 40px; border-top:1px solid rgba(255,255,255,.08); background:rgba(0,0,0,.18)}
.footer .tel{font-weight:700}