/* KOSTEX — новая главная (перенос макета-прототипа, вариант B).
   Все правила скоупнуты на body.home-glm и используют префикс g-,
   чтобы не пересекаться с глобальными стилями storefront.css. */

.home-glm{
  --g-bg:#ffffff;
  --g-bg-alt:#f5f5f7;
  --g-ink:#1d1d1f;
  --g-ink2:#6e6e73;
  --g-line:#d2d2d7;
  --g-card-line:rgba(0,0,0,.06);
  --g-accent:#0071e3;
  --g-accent-h:#0077ed;
  --g-accent-soft:rgba(0,113,227,.08);
  --g-pill:980px;
  --g-r-card:18px;
  --g-r-big:28px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","Inter",Arial,sans-serif;
  color:var(--g-ink);
  background:var(--g-bg);
  font-size:17px;
  line-height:1.47;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.home-glm *,.home-glm *::before,.home-glm *::after{ box-sizing:border-box; }
.home-glm .sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.home-glm .wrap{ width:min(1120px, calc(100% - 48px)); margin-inline:auto; }

/* ---------- Общая шапка для трёх оценочных страниц ---------- */
.home-glm .gh-header{
  position:sticky; top:0; z-index:60; height:52px;
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(180%) blur(20px); backdrop-filter:saturate(180%) blur(20px);
}
.home-glm .gh-inner{ height:52px; display:flex; align-items:center; gap:28px; }
.home-glm .gh-logo{ display:inline-flex; align-items:baseline; flex-shrink:0; color:var(--g-ink); text-decoration:none; font-size:17px; font-weight:700; letter-spacing:.1em; }
.home-glm .gh-logo:hover{ color:var(--g-ink); }
.home-glm .gh-logo .gh-logo-mark{ width:8px; height:8px; border-radius:2.5px; background:var(--g-accent); margin-left:5px; }
.home-glm .gh-logo--a{ align-items:center; gap:10px; font-size:15px; letter-spacing:.14em; }
.home-glm .gh-logo--a svg{ width:26px; height:26px; flex-shrink:0; }
.home-glm .gh-mid{ flex:1; min-width:0; display:flex; align-items:center; gap:26px; position:static; }
.home-glm .gh-catalog{ flex-shrink:0; color:var(--g-ink); text-decoration:none; font-size:14px; font-weight:400; opacity:.85; }
.home-glm .gh-swap{ flex:1; min-width:0; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; }
.home-glm .gh-nav,.home-glm .gh-search{ grid-area:1/1; }
.home-glm .gh-nav{ display:flex; gap:26px; transition:opacity .38s cubic-bezier(.4,0,.2,1),transform .38s cubic-bezier(.4,0,.2,1),visibility .38s; }
.home-glm .gh-nav a{ color:var(--g-ink); text-decoration:none; font-size:14px; white-space:nowrap; opacity:.85; }
.home-glm .gh-nav a:hover{ opacity:1; color:var(--g-ink); }
.home-glm .gh-mobile-only{ display:none; }
.home-glm .gh-search{
  position:relative; width:100%; max-width:460px; min-width:0; height:38px; margin-inline:auto;
  display:flex; align-items:center; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-8px);
  background:var(--g-bg); border:1px solid var(--g-line); border-radius:var(--g-pill);
  transition:opacity .2s, transform .2s, visibility .2s, border-color .2s;
}
.home-glm .gh-search:focus-within{ border-color:var(--g-accent); }
.home-glm .gh-search svg{ width:15px; height:15px; margin-left:14px; color:var(--g-ink2); flex-shrink:0; }
.home-glm .gh-search input{ flex:1 1 auto; width:auto; min-width:0; height:100%; padding:0 8px; border:0; outline:0; box-shadow:none; background:transparent; color:var(--g-ink); font-size:14px; }
.home-glm .gh-search button{ flex:0 0 auto; padding:7px 15px; margin-right:8px; border:0; border-radius:var(--g-pill); background:var(--g-accent); color:#fff; font-size:13px; line-height:1; }
.home-glm .gh-header.is-compact .gh-nav{ opacity:0; visibility:hidden; pointer-events:none; transform:translateY(8px); }
.home-glm .gh-header.is-compact .gh-search{ opacity:1; visibility:visible; pointer-events:auto; transform:none; }
.home-glm .gh-actions{ display:flex; align-items:center; gap:18px; margin-left:auto; }
.home-glm .gh-phone{ color:var(--g-ink); text-decoration:none; font-size:14px; font-weight:600; white-space:nowrap; }
.home-glm .gh-request{ padding:10px 20px; border-radius:var(--g-pill); background:var(--g-accent); color:#fff; text-decoration:none; font-size:14px; font-weight:500; line-height:1; white-space:nowrap; }
.home-glm .gh-request:hover{ background:var(--g-accent-h); color:#fff; }
.home-glm .gh-icon{ width:36px; height:36px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--g-ink); display:inline-flex; align-items:center; justify-content:center; position:relative; }
.home-glm .gh-icon:hover{ background:var(--g-bg-alt); color:var(--g-ink); }
.home-glm .gh-icon svg{ width:19px; height:19px; }
.home-glm .gh-sun{ display:none; }
.home-glm .gh-basket{ text-decoration:none; }
.home-glm .gh-basket span{ position:absolute; top:2px; right:2px; min-width:15px; height:15px; padding:0 4px; border-radius:8px; background:#ff3b30; color:#fff; box-shadow:0 0 0 2px #fff; font-size:10px; font-weight:700; line-height:15px; text-align:center; }
.home-glm .gh-menu{ display:none; }

/* Поисковые подсказки строятся только из опубликованных карточек. */
.home-glm .g-search-suggest{ position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:80; padding:8px; border:1px solid var(--g-card-line); border-radius:16px; background:var(--g-bg); box-shadow:0 18px 48px rgba(0,0,0,.16); }
.home-glm .g-search-suggest a{ display:grid; grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr) minmax(120px,1fr); gap:12px; align-items:baseline; padding:10px 12px; border-radius:10px; color:var(--g-ink); text-decoration:none; }
.home-glm .g-search-suggest a:hover,.home-glm .g-search-suggest a:focus{ background:var(--g-bg-alt); color:var(--g-ink); }
.home-glm .g-search-suggest b{ overflow:hidden; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.home-glm .g-search-suggest span{ overflow:hidden; color:var(--g-ink2); font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.home-glm .g-search-suggest small{ overflow:hidden; color:var(--g-ink2); font-size:13px; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:640px){
  .home-glm .g-search-suggest a{ grid-template-columns:minmax(96px,.75fr) minmax(0,1.25fr); }
  .home-glm .g-search-suggest small{ grid-column:2; margin-top:-6px; text-align:left; }
}

/* На главной не показываем общую нижнюю полосу «Не нашли деталь?» из layout:
   её роль выполняет дизайнерский CTA-блок. */
.home-glm .contact-strip{ display:none; }

/* ---------- Кнопки ---------- */
.home-glm .g-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--g-accent); color:#fff; border-radius:var(--g-pill);
  padding:10px 20px; font-size:14px; font-weight:500; line-height:1;
  text-decoration:none; border:0; cursor:pointer;
  transition:background .2s, transform .15s;
}
.home-glm .g-btn:hover{ background:var(--g-accent-h); color:#fff; }
.home-glm .g-btn:active{ transform:scale(.97); }
.home-glm .g-btn--white{ background:#fff; color:var(--g-accent); font-weight:600; }
.home-glm .g-btn--white:hover{ background:#f2f6ff; color:var(--g-accent); }
.home-glm .g-btn--lg{ padding:14px 26px; font-size:16px; }

/* ---------- Hero ---------- */
.home-glm .g-hero{ padding:88px 0 8px; text-align:center; }
.home-glm .g-eyebrow{
  display:block; font-size:13px; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--g-accent); margin-bottom:14px;
}
.home-glm .g-head h2{ margin:12px 0 0; }
.home-glm .g-hero h1{
  margin:0; font-size:clamp(40px,6vw,64px); font-weight:700;
  letter-spacing:-.02em; line-height:1.06; color:var(--g-ink);
}
.home-glm .g-hero h1 .g-accent{ color:var(--g-accent); }
.home-glm .g-hero-sub{
  max-width:640px; margin:20px auto 0; color:var(--g-ink2);
  font-size:19px; line-height:1.5;
}

/* Поиск */
.home-glm .g-search-wrap{ position:relative; max-width:720px; margin:36px auto 0; text-align:left; }
.home-glm .g-search{
  position:relative; display:flex; align-items:center;
  background:#fff; border:1px solid var(--g-line); border-radius:var(--g-pill);
  box-shadow:0 2px 12px rgba(0,0,0,.04);
  transition:box-shadow .2s, border-color .2s;
}
.home-glm .g-search:focus-within{
  border-color:var(--g-accent);
  box-shadow:0 0 0 4px rgba(0,113,227,.18), 0 2px 12px rgba(0,0,0,.04);
}
.home-glm .g-search-icon{ position:absolute; left:22px; width:20px; height:20px; color:var(--g-ink2); pointer-events:none; }
.home-glm .g-search input{
  flex:1; min-width:0; height:60px; border:none; outline:none; background:transparent;
  border-radius:var(--g-pill); margin:0;
  padding:0 150px 0 54px; font:inherit; font-size:18px; color:var(--g-ink);
}
.home-glm .g-search input::placeholder{ color:#a1a1a6; }
.home-glm .g-search .g-btn{ position:absolute; right:8px; top:8px; bottom:8px; padding:0 24px; }

/* Чипсы-примеры */
.home-glm .g-chips{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; margin-top:20px; }
.home-glm .g-chips-label{ font-size:14px; color:var(--g-ink2); }
.home-glm .g-chip{
  background:var(--g-bg-alt); border:1px solid rgba(0,0,0,.04);
  border-radius:var(--g-pill); padding:4px 14px;
  font-size:14px; color:var(--g-ink); text-decoration:none;
  transition:background .2s;
}
.home-glm .g-chip:hover{ background:#e8e8ed; color:var(--g-ink); }

/* Статистика */
.home-glm .g-stats{
  display:grid; grid-template-columns:repeat(4,1fr); row-gap:28px;
  margin-top:64px; text-align:center;
}
.home-glm .g-stat{ padding:4px 12px 10px; }
.home-glm .g-stat b{
  display:block; font-size:clamp(26px,2.9vw,34px); font-weight:700;
  letter-spacing:-.02em; line-height:1.05; color:#424245;
}
.home-glm .g-stat span{ display:block; margin-top:10px; font-size:15px; color:var(--g-ink2); }
.home-glm .gc-caption{ margin:22px 0 0; color:var(--g-ink2); font-size:13px; line-height:1.5; }
.home-glm .gc-caption b{ color:var(--g-ink); }

/* ---------- Секции и заголовки ---------- */
.home-glm .g-section{ padding:104px 0; }
.home-glm .g-section.g-reveal-pending{ opacity:0; transform:translateY(24px); }
.home-glm .g-section{ transition:opacity .55s ease, transform .55s ease; }
.home-glm .g-section--alt{ background:var(--g-bg-alt); }
.home-glm .g-section--cta{ padding-top:0; }
.home-glm .g-head{ text-align:center; max-width:720px; margin:0 auto 56px; }
.home-glm .g-head h2{
  font-size:44px; font-weight:700;
  letter-spacing:-.015em; line-height:1.1;
}
.home-glm .g-head p{ color:var(--g-ink2); font-size:19px; margin:14px 0 0; }

/* ---------- Товарные группы ---------- */
.home-glm .g-groups{
  display:grid; grid-template-columns:repeat(12,1fr); gap:16px;
}
.home-glm .g-group-card{
  grid-column:span 3;
  background:#fff; border:1px solid var(--g-card-line); border-radius:var(--g-r-card);
  padding:24px; display:flex; flex-direction:column; gap:40px;
  color:var(--g-ink); text-decoration:none; position:relative;
  transition:transform .25s, box-shadow .25s;
}
.home-glm .g-group-card:hover{ transform:translateY(-3px); box-shadow:0 12px 32px rgba(0,0,0,.09); color:var(--g-ink); }
.home-glm .g-group-icon{ width:46px; height:46px; border-radius:13px; background:var(--g-accent-soft); color:var(--g-accent); display:flex; align-items:center; justify-content:center; }
.home-glm .g-group-icon svg{ width:24px; height:24px; }
.home-glm .g-group-info h3{ margin:0; font-size:17px; font-weight:600; letter-spacing:-.01em; }
.home-glm .g-group-info span{ display:block; margin-top:4px; font-size:13px; color:var(--g-ink2); }

/* Раскрытый каталог: все плашки компактные, 6 в ряд */
.home-glm .g-groups.is-expanded .g-group-card{ grid-column:span 2; padding:14px 16px; gap:6px; }
.home-glm .g-groups.is-expanded .g-group-icon{ display:none; }
.home-glm .g-groups.is-expanded .g-group-info h3{ font-size:14px; }
.home-glm .g-groups.is-expanded .g-group-info span{ font-size:12px; }
.home-glm .g-groups.is-expanded .g-group-all-title{ font-size:15px; }
.home-glm .g-groups.is-expanded .g-group-arrow{ width:20px; height:20px; }

/* Синяя карточка «Весь каталог» / «Свернуть каталог» */
.home-glm .g-group-card--all{
  background:var(--g-accent); border-color:transparent; color:#fff;
  justify-content:center; gap:20px; text-align:left; cursor:pointer;
}
.home-glm .g-group-card--all:hover{ background:var(--g-accent-h); color:#fff; box-shadow:0 12px 32px rgba(0,113,227,.35); }
.home-glm .g-group-all-title{ font-size:20px; font-weight:600; letter-spacing:-.01em; }
.home-glm .g-group-arrow{ width:26px; height:26px; transition:transform .25s; }
.home-glm .g-group-card--all:hover .g-group-arrow{ transform:translateX(5px); }
.home-glm .g-groups.is-expanded .g-group-card--all:hover .g-group-arrow{ transform:none; }
.home-glm .g-groups.is-expanded .g-group-card--all .g-group-arrow{ transform:rotate(-90deg); }

/* ---------- Каталог техники ---------- */
.home-glm .g-tech{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.home-glm .g-filter-bar{
  display:flex; align-items:center; gap:4px;
  background:var(--g-bg-alt); border-radius:var(--g-pill); padding:4px;
  width:max-content; max-width:100%; overflow-x:auto; scrollbar-width:none;
}
.home-glm .g-filter-bar::-webkit-scrollbar{ display:none; }
.home-glm .g-filter-chip{
  border-radius:var(--g-pill); padding:9px 18px; border:0; background:transparent; cursor:pointer;
  font-size:14px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color:var(--g-ink2); white-space:nowrap;
  transition:color .2s, background .2s, box-shadow .2s;
}
.home-glm .g-filter-chip:hover{ color:var(--g-ink); }
.home-glm .g-filter-chip.is-active{
  background:#fff; color:var(--g-ink);
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.home-glm .g-brand-panel{ display:flex; flex-direction:column; align-items:center; gap:14px; width:100%; }
.home-glm .g-brand-panel[hidden]{ display:none; }
.home-glm .g-cloud{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; align-content:flex-start; }
.home-glm .g-pill{
  padding:4px 14px; border-radius:var(--g-pill); background:#fff;
  border:1px solid rgba(0,0,0,.05); font-size:14px; color:var(--g-ink); text-decoration:none;
  transition:border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.home-glm .g-pill:hover{
  border-color:var(--g-accent); color:var(--g-accent);
  transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,113,227,.12);
}
.home-glm .g-pill[hidden]{ display:none; }
.home-glm .g-pill--all{ background:var(--g-accent); border-color:transparent; color:#fff; font:inherit; font-size:14px; font-weight:500; cursor:pointer; }
.home-glm .g-pill--all:hover{
  background:var(--g-accent-h); border-color:transparent; color:#fff;
  box-shadow:0 4px 14px rgba(0,113,227,.3);
}

/* ---------- Реальные карточки каталога ---------- */
.home-glm .g-featured-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.home-glm .g-featured-card{ min-width:0; padding:20px; display:flex; flex-direction:column; gap:14px; border:1px solid var(--g-card-line); border-radius:var(--g-r-card); background:#fff; color:var(--g-ink); text-decoration:none; transition:transform .25s,box-shadow .25s; }
.home-glm .g-featured-card:hover{ transform:translateY(-3px); box-shadow:0 12px 32px rgba(0,0,0,.09); color:var(--g-ink); }
.home-glm .g-featured-icon{ width:56px; height:56px; border-radius:15px; background:var(--g-bg-alt); color:var(--g-accent); display:flex; align-items:center; justify-content:center; }
.home-glm .g-featured-icon svg{ width:28px; height:28px; }
.home-glm .g-featured-copy{ display:flex; flex-direction:column; gap:4px; }
.home-glm .g-featured-article{ color:var(--g-accent); font-size:13px; font-weight:650; }
.home-glm .g-featured-copy strong{ font-size:16px; line-height:1.3; }
.home-glm .g-featured-copy small{ color:var(--g-ink2); font-size:12px; }
.home-glm .g-featured-footer{ margin-top:auto; display:flex; justify-content:space-between; gap:8px; align-items:baseline; }
.home-glm .g-featured-footer b{ font-size:17px; }
.home-glm .g-featured-footer small{ max-width:120px; color:var(--g-ink2); text-align:right; line-height:1.25; }

/* ---------- Почему KOSTEX ---------- */
.home-glm .g-adv-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:40px 32px; }
.home-glm .g-adv-item svg{ width:30px; height:30px; color:var(--g-accent); margin-bottom:16px; }
.home-glm .g-adv-item h3{ margin:0 0 8px; font-size:17px; font-weight:600; }
.home-glm .g-adv-item p{ margin:0; font-size:15px; color:var(--g-ink2); }

/* ---------- CTA ---------- */
.home-glm .g-cta{
  background:linear-gradient(135deg,#0a72e8 0%,#0b47c5 100%);
  border-radius:var(--g-r-big); color:#fff;
  padding:56px; display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:center;
}
.home-glm .g-cta h2{ margin:0; font-size:clamp(28px,3.6vw,40px); font-weight:700; letter-spacing:-.015em; }
.home-glm .g-cta-info p{ margin:14px 0 0; font-size:17px; color:rgba(255,255,255,.9); max-width:460px; }
.home-glm .g-cta-contacts{ display:flex; flex-wrap:wrap; gap:10px 32px; margin-top:30px; }
.home-glm .g-cta-contacts a{ font-size:clamp(20px,2.2vw,26px); font-weight:700; letter-spacing:-.01em; color:#fff; text-decoration:none; }
.home-glm .g-cta-contacts a:hover{ text-decoration:underline; color:#fff; }
.home-glm .g-cta-note{ margin:12px 0 0; font-size:14px; color:rgba(255,255,255,.78); }
.home-glm .g-cta-action{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.home-glm .g-cta-privacy{ margin:0; font-size:12px; color:rgba(255,255,255,.78); }

/* ---------- Футер ---------- */
.home-glm .gh-footer{ padding:64px 0 36px; background:var(--g-bg-alt); color:var(--g-ink); }
.home-glm .gh-footer-grid{ display:grid; grid-template-columns:2fr repeat(3,1fr); gap:40px; }
.home-glm .gh-footer-brand p{ max-width:280px; margin:14px 0 0; color:var(--g-ink2); font-size:14px; }
.home-glm .gh-footer-col{ display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.home-glm .gh-footer-col h2{ margin:0 0 6px; color:var(--g-ink); font-size:13px; }
.home-glm .gh-footer-col a,.home-glm .gh-footer-col span{ color:var(--g-ink2); text-decoration:none; font-size:14px; }
.home-glm .gh-footer-col a:hover{ color:var(--g-ink); }
.home-glm .gh-footer-bottom{ margin-top:48px; padding-top:22px; border-top:1px solid var(--g-line); display:flex; justify-content:space-between; gap:16px; color:var(--g-ink2); font-size:13px; }
.home-glm .gh-footer-bottom nav{ display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 18px; }
.home-glm .gh-footer-bottom a{ color:var(--g-ink2); text-decoration:none; }

/* ---------- День / ночь ---------- */
html[data-theme="dark"] body.home-glm{
  --g-bg:#25272c; --g-bg-alt:#2d3036; --g-ink:#f5f6f8; --g-ink2:#c0c4ce;
  --g-line:#535761; --g-card-line:rgba(255,255,255,.15); --g-accent-soft:rgba(10,132,255,.22);
  background:var(--g-bg); color:var(--g-ink);
}
html[data-theme="dark"] .home-glm .gh-header{ background:rgba(37,39,44,.9); }
html[data-theme="dark"] .home-glm .gh-basket span{ box-shadow:0 0 0 2px #25272c; }
html[data-theme="dark"] .home-glm .gh-moon{ display:none; }
html[data-theme="dark"] .home-glm .gh-sun{ display:block; }
html[data-theme="dark"] .home-glm .g-search,
html[data-theme="dark"] .home-glm .g-group-card,
html[data-theme="dark"] .home-glm .g-pill,
html[data-theme="dark"] .home-glm .g-featured-card,
html[data-theme="dark"] .home-glm.variant-a .ga-model-card{ background:#34373e; }
html[data-theme="dark"] .home-glm .g-featured-icon{ background:#3c4048; }
html[data-theme="dark"] .home-glm .g-filter-chip.is-active,
html[data-theme="dark"] .home-glm.variant-c .gc-brand-item.is-active{ background:#474b55; color:#fff; }
html[data-theme="dark"] .home-glm.variant-c .gc-brand-item:hover{ background:rgba(255,255,255,.08); }
html[data-theme="dark"] .home-glm .g-stat b{ color:#eef0f4; }
html[data-theme="dark"] .home-glm .gv-switch{ background:rgba(45,48,54,.96); }
@media (max-width:860px){ html[data-theme="dark"] .home-glm .gh-nav{ background:rgba(37,39,44,.98); } }

/* ---------- Адаптив ---------- */
@media (max-width:1000px){
  .home-glm .g-groups .g-group-card{ grid-column:span 6; }
  .home-glm .g-groups.is-expanded .g-group-card{ grid-column:span 4; }
  .home-glm .g-adv-grid{ grid-template-columns:repeat(2,1fr); }
  .home-glm .g-featured-grid{ grid-template-columns:repeat(2,1fr); }
  .home-glm .gh-nav{ gap:26px; }
}
@media (max-width:860px){
  .home-glm .g-stats{ grid-template-columns:repeat(2,1fr); margin-top:48px; }
  .home-glm .g-cta{ grid-template-columns:1fr; padding:36px 28px; }
  .home-glm .g-hero{ padding-top:64px; }
  .home-glm .gh-phone{ display:none; }
  .home-glm .gh-menu{ display:inline-flex; }
  .home-glm .gh-mid{ position:static; }
  .home-glm .gh-swap{ position:absolute; top:52px; left:0; right:0; pointer-events:none; }
  .home-glm .gh-nav{ display:none; padding:16px 24px 20px; flex-direction:column; gap:4px; background:rgba(255,255,255,.97); border-bottom:1px solid rgba(0,0,0,.08); box-shadow:none; }
  .home-glm .gh-nav a{ padding:10px 0; font-size:16px; }
  .home-glm .gh-nav .gh-mobile-only{ display:block; }
  .home-glm .gh-header.nav-open .gh-nav{ display:flex; opacity:1; visibility:visible; pointer-events:auto; transform:none; }
  .home-glm .gh-search{ display:none; }
  .home-glm .gh-header.is-compact .gh-search{ display:none; }
  .home-glm .gh-footer-grid{ grid-template-columns:repeat(2,1fr); }
  .home-glm .gh-footer-brand{ grid-column:1/-1; }
}
@media (max-width:600px){
  .home-glm .gh-header.is-compact .gh-catalog{ display:none; }
  .home-glm .gh-request{ display:none; }
  .home-glm .g-section{ padding:72px 0; }
  .home-glm .g-groups .g-group-card{ grid-column:span 12; }
  .home-glm .g-groups.is-expanded .g-group-card{ grid-column:span 6; }
  .home-glm .g-adv-grid{ grid-template-columns:1fr; gap:28px; }
  .home-glm .g-search input{ padding-right:120px; font-size:16px; }
  .home-glm .g-search .g-btn{ padding:0 18px; }
  .home-glm .g-head{ margin-bottom:40px; }
  .home-glm .g-featured-grid{ grid-template-columns:1fr; }
  .home-glm .gh-inner{ gap:14px; }
  .home-glm .gh-actions{ gap:3px; }
  .home-glm .gh-footer-grid{ grid-template-columns:1fr; }
  .home-glm .gh-footer-brand{ grid-column:auto; }
  .home-glm .gh-footer-bottom{ flex-direction:column; }
  .home-glm .gh-footer-bottom nav{ justify-content:flex-start; }
}
@media (max-width:480px){ .home-glm .gh-inner{ gap:10px; } }

/* ---------- Переключатель вариантов (локальный режим / предпросмотр) ---------- */
.home-glm .gv-switch{
  position:fixed; left:16px; bottom:16px; z-index:70;
  display:flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.95); border:1px solid var(--g-card-line);
  border-radius:var(--g-pill); padding:8px 12px 8px 16px;
  box-shadow:0 10px 30px rgba(0,0,0,.18); font-size:13px; color:var(--g-ink2);
}
.home-glm .gv-caption{ white-space:nowrap; }
.home-glm .gv-btn{ padding:6px 14px; border-radius:var(--g-pill); font-size:13px; font-weight:600; color:var(--g-ink2); text-decoration:none; }
.home-glm .gv-btn:hover{ background:var(--g-bg-alt); color:var(--g-ink); }
.home-glm .gv-btn.is-current{ background:var(--g-accent); color:#fff; }
.home-glm .gv-btn.is-current:hover{ background:var(--g-accent); color:#fff; }
@media (max-width:640px){ .home-glm .gv-caption{ display:none; } }
