:root{
  --bg:#06080d;
  --bg-2:#0a0f16;
  --panel:#0d131c;
  --panel-2:#121a24;
  --soft:#182331;
  --text:#f4f7fb;
  --muted:#9ea9b9;
  --line:rgba(255,255,255,.08);
  --line-2:rgba(255,255,255,.14);
  --accent:#ff7a00;
  --accent-2:#ff9d3d;
  --accent-soft:rgba(255,122,0,.14);
  --success:#19c37d;
  --telegram:#2aabee;
  --shadow:0 18px 50px rgba(0,0,0,.38);
  --radius:22px;
  --radius-sm:15px;
  --max:1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font:500 15px/1.6 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at top center, rgba(255,122,0,.12), transparent 28%),
    radial-gradient(circle at 10% 30%, rgba(255,255,255,.04), transparent 22%),
    linear-gradient(180deg, #05070b 0%, #09101a 100%);
  letter-spacing:.01em;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.38), transparent 70%);
}

a{color:inherit;text-decoration:none;transition:.22s ease}
img{max-width:100%;display:block}
button,input,select{font:inherit}

.wrap,
.w{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
  padding:18px 0 38px;
}

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  position:sticky;
  top:0;
  z-index:50;
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
  padding:16px 0 14px;
  backdrop-filter:blur(16px);
  background:linear-gradient(180deg, rgba(5,7,11,.9), rgba(5,7,11,.72));
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.logo{
  width:44px;
  height:44px;
  border-radius:14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 35%),
    linear-gradient(135deg, #ff6200 0%, #ff8f1f 48%, #ffb15b 100%);
  box-shadow:0 12px 26px rgba(255,122,0,.24), inset 0 1px 0 rgba(255,255,255,.18);
}

.brand h1{
  margin:0;
  font:700 18px/1.05 Oswald,Inter,sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.brand p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}

.search-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

input,
select{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:14px;
  padding:11px 13px;
  outline:none;
}

input{width:min(260px,100%)}

input:focus,
select:focus{
  border-color:rgba(255,122,0,.55);
  box-shadow:0 0 0 4px rgba(255,122,0,.1);
}

.hero,
.grid{
  display:grid;
  gap:16px;
}

.hero{
  grid-template-columns:minmax(0,1.18fr) minmax(260px,.82fr);
  margin-top:18px;
}

.grid{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  margin-top:18px;
}

.card,
.c,
.catalog-card,
.related ul li a{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(17,24,35,.92), rgba(10,14,21,.96));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.22s ease;
}

.card::before,
.c::before,
.catalog-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

.card,
.c{
  padding:20px;
}

.catalog-card{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:150px;
}

.catalog-card:hover,
.related ul li a:hover,
.c:hover,
.card:hover{
  transform:translateY(-2px);
  border-color:var(--line-2);
}

.hero > .card:first-child{
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:24px;
  background:
    radial-gradient(circle at top right, rgba(255,122,0,.16), transparent 32%),
    linear-gradient(180deg, rgba(15,22,33,.94), rgba(9,13,19,.98));
}

h1,h2,h3{margin:0 0 10px}

h1,
.hero h2{
  font-family:Oswald,Inter,sans-serif;
  font-weight:700;
  text-transform:uppercase;
  line-height:1.02;
  letter-spacing:.03em;
}

.hero h2{
  font-size:clamp(26px,3vw,38px);
}

h1{
  font-size:clamp(26px,2.8vw,38px);
}

.card h1 + p:first-of-type{
  font-size:16px;
  color:#d7e0eb;
}

h2,
.section-title{
  font-size:clamp(18px,1.6vw,24px);
  font-family:Oswald,Inter,sans-serif;
  text-transform:uppercase;
  letter-spacing:.03em;
}

h3{
  font-size:18px;
  font-weight:700;
}

p,li{color:#d7e0eb}

.note,
.card p:last-child.note,
footer,
.brand p,
.catalog-card p,
.link{
  color:var(--muted);
}

.note{
  font-size:12px;
  line-height:1.55;
}

.hero h2::after,
.card > h1::after,
.section-title::after,
.c > h2::after{
  content:"";
  display:block;
  width:68px;
  height:3px;
  margin-top:10px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow:0 0 20px rgba(255,122,0,.24);
}

.badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}

.pill,
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,122,0,.18);
  background:var(--accent-soft);
  color:#ffd7af;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.badge{
  margin-bottom:8px;
  width:max-content;
}

.contact-stack,
.btns,
.cta{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:14px;
}

.btns,
.cta{
  flex-wrap:wrap;
  flex-direction:row;
}

.btn,
.cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:12px 16px;
  border:1px solid transparent;
  border-radius:14px;
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:13px;
  box-shadow:0 10px 22px rgba(0,0,0,.22);
  transition:.22s ease;
}

.btn img{
  width:16px;
  height:16px;
  filter:brightness(0) invert(1);
}

.btn-line,
.btn.line{
  background:linear-gradient(135deg,#0fbf63,#11d36d);
}

.btn-wa,
.btn.wa{
  background:linear-gradient(135deg,#10a37f,#21c59a);
}

.btn-tg,
.cta a:last-child{
  background:linear-gradient(135deg,#1f8dd6,#2aabee);
}

.cta a:first-child{
  background:linear-gradient(135deg,#0fbf63,#11d36d);
}

.cta a:nth-child(2){
  background:linear-gradient(135deg,#10a37f,#21c59a);
}

.btn:hover,
.cta a:hover{
  transform:translateY(-2px) scale(1.01);
  filter:brightness(1.05);
}

.toplink,
body > a[href$='index.html'],
body > a[href$='hgh-peptides.html'],
.wrap > a:first-child:not(.btn):not(.catalog-card):not(.brand){
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:6px 0 16px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:#c5d0dd;
}

.toplink:hover,
.wrap > a:first-child:not(.btn):not(.catalog-card):not(.brand):hover{
  background:rgba(255,255,255,.06);
  color:#fff;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.catalog-card .icon{
  font-size:24px;
  line-height:1;
  margin-bottom:2px;
}

.catalog-card h3{
  margin-bottom:2px;
  font-size:15px;
  line-height:1.3;
}

.catalog-card p{
  font-size:12px;
  line-height:1.45;
}

.catalog-card .link{
  margin-top:auto;
  font-weight:700;
  color:#ffd7af;
}

.catalog-card:hover .link{
  color:#fff2e0;
}

ul{
  padding-left:18px;
  margin:12px 0 0;
}

li{
  margin:0 0 8px;
}

.related ul{
  list-style:none;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
}

.related ul li{
  margin:0;
}

.related ul li a{
  display:block;
  padding:16px 18px;
  font-weight:700;
}

.related ul li a::after{
  content:"↗";
  float:right;
  color:#ffcf9c;
}

footer{
  margin-top:24px;
  padding:20px 0 8px;
  border-top:1px solid var(--line);
  font-size:12px;
}

/* legacy layout helpers */
.w > h1:first-child,
body > h1:first-child{
  width:min(calc(100% - 32px), var(--max));
  margin:24px auto 12px;
}

.w > p:first-of-type,
body > h1:first-child + p{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto 18px;
  color:var(--muted);
}

body > .grid{
  width:min(calc(100% - 32px), var(--max));
  margin:18px auto 40px;
}

.c{
  margin-bottom:18px;
}

.w .btn + .btn{
  margin-left:10px;
}

.card + .card,
.c + .c,
.grid + .card,
.grid + .c{
  margin-top:18px;
}

@media (max-width: 980px){
  header{
    position:static;
    padding-top:16px;
  }

  .hero{
    grid-template-columns:1fr;
  }

  .catalog-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px){
  .wrap,.w{
    width:min(calc(100% - 20px), var(--max));
    padding-top:14px;
  }

  header{
    width:min(calc(100% - 20px), var(--max));
    flex-direction:column;
    align-items:stretch;
  }

  .search-row{
    justify-content:stretch;
  }

  input,select{
    width:100%;
  }

  .card,.c{
    padding:18px;
  }

  .hero > .card:first-child{
    padding:20px;
    min-height:unset;
  }

  .btn,
  .cta a,
  .btns a{
    width:100%;
  }

  .btns,.cta,.contact-stack{
    flex-direction:column;
  }

  .related ul,
  .catalog-grid,
  .grid{
    grid-template-columns:1fr;
  }
}
.aas-cats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}

.aas-cats .catalog-card{
  min-height:180px;
}

@media (max-width: 720px){
  .aas-cats{
    grid-template-columns:1fr;
  }
}
.catalog-card{
  justify-content:space-between;
}
.catalog-card .link{
  margin-top:12px;
  font-size:12px;
}
/* === PREMIUM COMPACT STYLE === */

body{
  font-size:14px;
  line-height:1.5;
}

/* Заголовок страницы */
h1{
  font-size:32px;
  letter-spacing:0.02em;
}

/* Подзаголовки */
h2{
  font-size:20px;
  letter-spacing:0.02em;
}

/* Малые заголовки */
h3{
  font-size:15px;
  font-weight:600;
}

/* Текст */
p{
  font-size:13px;
  line-height:1.5;
}

/* Карточки */
.card{
  padding:18px;
}

/* Категории AAS */
.aas-cats .catalog-card{
  padding:18px;
}

/* Текст в карточках */
.catalog-card p{
  font-size:12px;
}

/* Ссылка View category */
.catalog-card .link{
  font-size:12px;
  opacity:0.8;
}

/* Кнопки */
.btn{
  font-size:13px;
  padding:11px 14px;
}

/* Уменьшаем жирность */
h1, h2{
  font-weight:600;
}
.product{
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
}

.product img{
  width:180px;
  border-radius:12px;
}

.product-info{
  flex:1;
}

.price{
  font-size:18px;
  font-weight:700;
  color:#ff9d3d;
  margin:10px 0;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.btn img{
  width:16px;
  height:16px;
  filter:invert(1);
}

.btn-line{background:#00c300;}
.btn-wa{background:#25D366;}
.btn-tg{background:#2AABEE;}

.sub-product {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 0;
  margin-bottom: 0;
}

.sub-product img {
  width: 170px;
  max-width: 170px;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}

.sub-product-info {
  flex: 1;
}

.sub-product-info h3 {
  margin: 0 0 14px 0;
  font-size: 18px;
  line-height: 1.3;
}

.sub-product-info p {
  margin: 0 0 10px 0;
}

.sub-product .price {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #ff9d3d;
}

.product hr {
  margin: 18px 0;
  opacity: 0.2;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.price {
  color: #ff9d2f;
  font-weight: 700;
  min-width: 120px;
}
/* === HEADER BRAND FIX 2026 === */
header{
  min-height:92px;
  gap:28px;
  padding:18px 0 16px;
}

.brand{
  gap:16px;
  flex-shrink:0;
}

.logo{
  width:68px;
  height:68px;
  border-radius:16px;
  object-fit:cover;
  flex-shrink:0;
}

.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:150px;
}

.brand-name{
  font-family:Oswald, Inter, sans-serif;
  font-size:24px;
  font-weight:700;
  line-height:1;
  letter-spacing:.045em;
  text-transform:uppercase;
  color:#fff;
  white-space:nowrap;
}

.brand-subtitle{
  margin-top:6px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent-2);
  white-space:nowrap;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin-left:auto;
  flex-wrap:nowrap;
}

.nav a{
  font-size:12px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#d8e0eb;
  white-space:nowrap;
  position:relative;
  padding:8px 0;
}

.nav a:hover{color:#fff;}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  transition:.22s ease;
}

.nav a:hover::after{width:100%;}

.header-right{
  display:flex;
  align-items:center;
  margin-left:4px;
  flex-shrink:0;
}

#lang{
  width:auto;
  min-width:64px;
  padding:8px 10px;
  border-radius:12px;
}

@media (max-width: 1080px){
  .nav{gap:14px;}
  .nav a{font-size:11px;}
  .brand-name{font-size:21px;}
  .logo{width:60px;height:60px;}
}

@media (max-width: 900px){
  header{
    flex-wrap:wrap;
    justify-content:center;
  }
  .brand{width:100%;justify-content:center;}
  .nav{
    order:3;
    width:100%;
    margin-left:0;
    flex-wrap:wrap;
    gap:14px 18px;
  }
  .header-right{
    position:absolute;
    right:0;
    top:22px;
  }

header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* ключевая строка */
  gap: 20px;
}

.nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav a {
  white-space: nowrap;
}
