*{box-sizing:border-box}

:root{
  --bg:#070a0f;
  --ink:#f2f6ff;
  --muted:rgba(242,246,255,.72);
  --card:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.12);
  --acc:#7c5cff;
  --acc2:#22c55e;
  --shadow:0 22px 70px rgba(0,0,0,.55);
  --r:20px;
}

html{scroll-behavior:smooth}

body{
  background: #020024;
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
  margin:0;
  color:var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Inter", Arial;
}

/* чтобы sideBg оставался фоном, а контент был выше */
body > *:not(.sideBg){
  position: relative;
  z-index: 1;
}

/* телефоны — убираем боковые */
@media (max-width: 900px){
  .sideBg{
    background:
      radial-gradient(900px 520px at 20% 20%, rgba(124,92,255,.14), transparent 60%),
      radial-gradient(900px 520px at 80% 30%, rgba(34,197,94,.10), transparent 55%),
      linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.90));
  }
}

/* базовые */
a{color:inherit;text-decoration:none}
.wrap{width:min(1120px,92%);margin:0 auto}
.muted{color:var(--muted)}
.small{font-size:13px}

/* language toggle */
.tr,.en{display:inline}
.langToggle{position:absolute;left:-9999px}
.langToggle:checked ~ * .tr{display:none}
.langToggle:not(:checked) ~ * .en{display:none}

/* защита от огромных картинок */
img{
  max-width:100%;
  height:auto;
  display:flex;
  justify-content: center;
}

/* glass */
.glass{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--r);
}
.pad{padding:18px}

/* top bar */
.top{
  position:sticky;top:0;z-index:10;
  background: rgba(8,10,14,.62);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.top__inner{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 0;
  position:relative;
  z-index:2;
}

.brand{display:flex;align-items:center;gap:12px}
.brand__logo{
  width:44px;height:44px;border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  object-fit:contain;
}
.brand__name{font-weight:900;letter-spacing:.2px}
.brand__text{display:flex;flex-direction:column;gap:2px}

.nav{display:flex;gap:10px;align-items:center}
.nav__link{
  padding:10px 12px;border-radius:999px;
  color:rgba(242,246,255,.86);
  border:1px solid transparent;
}
.nav__link:hover{border-color:var(--line);background:rgba(255,255,255,.05)}
.nav__link--btn{
  background:rgba(124,92,255,.18);
  border-color:rgba(124,92,255,.35);
}

.lang{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--line);
  cursor:pointer;user-select:none;
  background: rgba(255,255,255,.04);
}
.lang__dot{width:7px;height:7px;border-radius:999px;background:var(--acc2);box-shadow:0 0 0 4px rgba(34,197,94,.18)}
.lang__tr,.lang__en{font-weight:900;font-size:13px}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 14px;border-radius:14px;
  font-weight:900;border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn--solid{
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,197,94,.65));
  color:#071017;
}
.btn--solid:hover{transform:translateY(-1px);box-shadow:0 18px 55px rgba(124,92,255,.18)}
.btn--ghost{
  background: rgba(255,255,255,.05);
  border-color: var(--line);
}
.btn--ghost:hover{background: rgba(255,255,255,.08)}
.w100{width:100%}

/* hero */
.hero{
  background: #020024;
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
  padding:46px 0 18px}
.hero__inner{
  display:flex;
  justify-content:center;
}
.hero__left{
  width:min(820px, 100%);
}
.hero--logo{
  display: flex;
  justify-content: space-between;
  color: aliceblue;
}

/* contact по центру */
.wrap.contact{
  display:flex;
  justify-content:center;
}
.wrap.contact .box{
  width:min(820px, 100%);
}

/* =========================
   FIX: floating buttons bottom-center
   ========================= */
.floatBtns{
  left:50%;
  right:auto;
  transform:translateX(-50%);
  bottom:16px;
  flex-direction:row;
  gap:12px;
}

/* красивые круглые/скруглённые */
.fbtn{
  width:54px;height:54px;border-radius:18px;
  display:grid;place-items:center;
  font-weight:900;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}

/* вместо WA/IG текста — иконки через background */
.fbtn--wa{
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.22);
}
.fbtn--ig{
  background: linear-gradient(135deg, rgba(245,133,41,.22), rgba(221,42,123,.22), rgba(129,52,175,.22));
}

/* =========================
   FIX: hero buttons with icons
   ========================= */
.btnIcon{
  width:18px;height:18px;
  display:inline-block;
  margin-right:8px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

/* WhatsApp icon */
.waIcon{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M19.11 17.53c-.29-.14-1.7-.84-1.96-.93-.26-.1-.45-.14-.64.14-.19.29-.74.93-.91 1.12-.17.19-.33.21-.62.07-.29-.14-1.21-.45-2.3-1.44-.85-.76-1.42-1.7-1.58-1.99-.17-.29-.02-.44.12-.58.12-.12.29-.33.43-.5.14-.17.19-.29.29-.48.1-.19.05-.36-.02-.5-.07-.14-.64-1.55-.87-2.12-.23-.55-.47-.48-.64-.49h-.55c-.19 0-.5.07-.76.36-.26.29-1 1-1 2.44 0 1.44 1.03 2.83 1.18 3.03.14.19 2.03 3.1 4.91 4.35.69.3 1.22.48 1.64.61.69.22 1.31.19 1.8.12.55-.08 1.7-.69 1.94-1.36.24-.67.24-1.25.17-1.36-.07-.11-.26-.18-.55-.32z'/%3E%3Cpath fill='white' d='M26.62 5.38A13.92 13.92 0 0 0 16.02 1C8.38 1 2.2 7.18 2.2 14.82c0 2.43.63 4.8 1.83 6.9L2 31l9.47-2.48a13.79 13.79 0 0 0 4.55.77h.01c7.64 0 13.82-6.18 13.82-13.82 0-3.69-1.44-7.16-4.23-9.95zM16.03 27.03h-.01c-1.48 0-2.93-.4-4.2-1.14l-.3-.18-5.62 1.47 1.5-5.47-.2-.32a11.04 11.04 0 0 1-1.73-5.9C5.47 9.41 10.13 4.75 16.03 4.75c2.95 0 5.73 1.15 7.81 3.23a10.98 10.98 0 0 1 3.23 7.81c0 5.9-4.65 11.24-11.04 11.24z'/%3E%3C/svg%3E");
}

/* Instagram icon */
.igIcon{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9A5.5 5.5 0 0 1 16.5 22h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2zm0 2A3.5 3.5 0 0 0 4 7.5v9A3.5 3.5 0 0 0 7.5 20h9a3.5 3.5 0 0 0 3.5-3.5v-9A3.5 3.5 0 0 0 16.5 4h-9z'/%3E%3Cpath fill='white' d='M12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3Cpath fill='white' d='M17.75 6.25a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3C/svg%3E");
}

/* кнопка WhatsApp зелёная */
.btn--wa{
  background: rgba(34,197,94,.22);
  border:1px solid rgba(34,197,94,.55);
  color:#eafff3;
}
.btn--wa:hover{ background: rgba(34,197,94,.30); }

/* кнопка Instagram градиент */
.btn--ig{
  background: linear-gradient(135deg, rgba(245,133,41,.20), rgba(221,42,123,.20), rgba(129,52,175,.20));
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.btn--ig:hover{ filter: brightness(1.06); }

/* =========================
   Optional: make floating buttons show icons instead of text WA/IG
   ========================= */
#floatWA, #floatIG{
  font-size:0; /* прячем текст WA/IG */
}
#floatWA::before, #floatIG::before{
  content:"";
  width:22px;height:22px;
  display:block;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}
#floatWA::before{ background-image: inherit; }
#floatIG::before{ background-image: inherit; }

/* назначаем иконки для float через те же svg */
#floatWA{ background-image: none; }
#floatIG{ background-image: none; }

#floatWA::before{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M19.11 17.53c-.29-.14-1.7-.84-1.96-.93-.26-.1-.45-.14-.64.14-.19.29-.74.93-.91 1.12-.17.19-.33.21-.62.07-.29-.14-1.21-.45-2.3-1.44-.85-.76-1.42-1.7-1.58-1.99-.17-.29-.02-.44.12-.58.12-.12.29-.33.43-.5.14-.17.19-.29.29-.48.1-.19.05-.36-.02-.5-.07-.14-.64-1.55-.87-2.12-.23-.55-.47-.48-.64-.49h-.55c-.19 0-.5.07-.76.36-.26.29-1 1-1 2.44 0 1.44 1.03 2.83 1.18 3.03.14.19 2.03 3.1 4.91 4.35.69.3 1.22.48 1.64.61.69.22 1.31.19 1.8.12.55-.08 1.7-.69 1.94-1.36.24-.67.24-1.25.17-1.36-.07-.11-.26-.18-.55-.32z'/%3E%3Cpath fill='white' d='M26.62 5.38A13.92 13.92 0 0 0 16.02 1C8.38 1 2.2 7.18 2.2 14.82c0 2.43.63 4.8 1.83 6.9L2 31l9.47-2.48a13.79 13.79 0 0 0 4.55.77h.01c7.64 0 13.82-6.18 13.82-13.82 0-3.69-1.44-7.16-4.23-9.95zM16.03 27.03h-.01c-1.48 0-2.93-.4-4.2-1.14l-.3-.18-5.62 1.47 1.5-5.47-.2-.32a11.04 11.04 0 0 1-1.73-5.9C5.47 9.41 10.13 4.75 16.03 4.75c2.95 0 5.73 1.15 7.81 3.23a10.98 10.98 0 0 1 3.23 7.81c0 5.9-4.65 11.24-11.04 11.24z'/%3E%3C/svg%3E"); }

#floatIG::before{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9A5.5 5.5 0 0 1 16.5 22h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2zm0 2A3.5 3.5 0 0 0 4 7.5v9A3.5 3.5 0 0 0 7.5 20h9a3.5 3.5 0 0 0 3.5-3.5v-9A3.5 3.5 0 0 0 16.5 4h-9z'/%3E%3Cpath fill='white' d='M12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3Cpath fill='white' d='M17.75 6.25a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3C/svg%3E"); }
.hero__right{padding:18px}
.badge{
  display:inline-block;
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(124,92,255,.35);
  background: rgba(124,92,255,.14);
  font-weight:900;font-size:13px;
}
.hero__title{margin:12px 0 10px;font-size:clamp(28px,4vw,44px);line-height:1.12}
.hero__sub{margin:0 0 14px;max-width:60ch}
.hero__cta{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 10px}

.miniInfo{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.mi{padding:12px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.04)}
.mi__k{font-size:12px;color:rgba(242,246,255,.70);font-weight:800}
.mi__v{font-weight:900}

/* smoke mini */
.smokeCard{
  height:220px;border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(500px 220px at 30% 30%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(600px 240px at 70% 55%, rgba(124,92,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  overflow:hidden;
  position:relative;
}
.smokeLine{
  position:absolute;left:-20%;right:-20%;
  height:44px;border-radius:999px;
  background: rgba(255,255,255,.08);
  filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}
.smokeLine:nth-child(1){top:40px; animation-delay:0s}
.smokeLine:nth-child(2){top:95px; animation-delay:1.2s}
.smokeLine:nth-child(3){top:150px; animation-delay:2.4s}
@keyframes float{
  0%,100%{transform:translateX(-6%)}
  50%{transform:translateX(6%)}
}

/* sections */
.section{padding:54px 0}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.head{margin-bottom:14px}
h2{margin:0 0 8px;font-size:30px}

/* catalog tabs */
.tabsRow{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 12px}
.tab{
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:rgba(242,246,255,.92);
  font-weight:900;
  cursor:pointer;
}
.tab.is-active{
  border-color: rgba(124,92,255,.45);
  background: rgba(124,92,255,.14);
}
.subTabsRow{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.subtab{
  padding:10px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color:rgba(242,246,255,.88);
  font-weight:900;
  cursor:pointer;
}
.subtab.is-active{
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.12);
}

/* products grid */
.products{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

/* карточка товара */
.pcard{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.pcard:hover{transform:translateY(-2px);box-shadow:0 18px 60px rgba(0,0,0,.40)}

/* ✅ ЕДИНСТВЕННОЕ место, где управляем размером фото товара */
.pimg{
  height: 220px;              /* меняй 180-240 */
  padding: 12px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.pimg img{
  width:100%;
  height:100%;
  object-fit: contain;        /* товар целиком, не “вылезает” */
}

.pbody{padding:14px}
.pname{margin:0 0 6px;font-weight:900}
.prow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.price{font-weight:900;opacity:.95}
.waBtn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(34,197,94,.45);
  background: rgba(34,197,94,.14);
  font-weight:900;
}
.waBtn:hover{background: rgba(34,197,94,.20)}

/* hours */
.hours{display:grid;gap:10px}
.hourRow{
  display:flex;justify-content:space-between;gap:10px;
  padding:12px;border-radius:14px;border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.k{color:rgba(242,246,255,.75);font-weight:800}
.v{font-weight:900}

/* contact */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.box{padding:18px}
.row{
  display:grid;grid-template-columns:180px 1fr;
  gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.10)
}
.row:last-child{border-bottom:none}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

/* floating buttons */
.floatBtns{
  left: 50%;
  position:fixed;
  right:14px;
  bottom:14px;
  display:flex;
  flex-direction:row;
  gap:10px;
  transform: translateX(-50%);
  z-index:999;
}
.fbtn{
  display:grid;place-items:center;
  font-weight:1000;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

/* CONTACT + MAP layout */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  align-items:stretch;
}

.mapBox{
  padding:12px;
  overflow:hidden;
  border-radius: var(--r);
}

.mapBox iframe{
  width:100%;
  height:340px;
  border:0;
  border-radius: 16px;
  display:block;
}

.mapLink{
  display:flex;
  justify-content:center;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight:900;
}
.mapLink:hover{ background: rgba(255,255,255,.07); }

/* mobile */
@media (max-width: 980px){
  .contact{ grid-template-columns: 1fr; }
  .mapBox iframe{ height:300px; }
}

.footer{padding:18px 0;border-top:1px solid rgba(255,255,255,.10)}
.foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* responsive */
@media (max-width: 980px){
  .nav{display:none}
  .hero__inner{grid-template-columns:1fr}
  .miniInfo{grid-template-columns:1fr}
  .products{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
}