/* ===== ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ===== */
:root{
  /* бренд */
  --brand-orange:#ff4d00;
  --tekk-orange:#ff6600;
  --tekk-black:#000;

  /* типографика/цвета */
  --ink:#111214;
  --muted:#8a93a3;
  --chip:#f2f3f4;

  /* размеры */
  --tekk-header-h:124px;
  --tekk-bar-h:48px; /* унифицировано */

  /* Z-INDEX TOKENS */
  --z-header: 2147483000;
  --z-mega:   2147482900;
  --z-overlay:2147483100;
  --z-sheet:  2147483200;
  --z-wl:     2147483300; /* фон wishlist */
  --z-wl-pane:2147483310; /* панель wishlist */
  --z-wl-x:   2147483320; /* крестик wishlist */
  --z-cart:   2147485000; /* корзина (новый baseline) */
  --z-cartbar:2147485010; /* фикс-плашка корзины */

  /* футер */
  --kf-bg:#0f1114;
  --kf-bg-2:#12151a;
  --kf-text:#cdd3dd;
  --kf-muted:#8a93a3;
  --kf-title:#e6eaf1;
  --kf-accent:var(--brand-orange);
  --kf-border:#20242b;
  --kf-chip:#1b1f26;
  --kf-chip-hover:#232833;
  --kf-radius:14px;
  --kf-gap:28px;
  --kf-speed:.22s;
  --kf-maxw:1200px;
  --kf-font:system-ui,-apple-system,"Segoe UI",Roboto,Inter,Arial,sans-serif;

  /* адрес (топбар) */
  --addr-city:#111214;
  --addr-text:#9aa3ad;
}

/* ===== КАРТОЧКИ МАГАЗИНА ===== */
.uc-tekk-scope .t-store__card{
  display:block;
  height:auto;
  border:1px solid #e0e0e0;
  border-radius:8px;
  background:#fff;
  box-sizing:border-box;
  overflow:hidden;
  transition:border-color .25s ease, box-shadow .25s ease;
}
.uc-tekk-scope .t-store__card:hover{
  border-color:#d8d8d8;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}
/* изображение */
.uc-tekk-scope .t-store__card__imgwrapper{
  background:#fafafa;
  border-radius:8px;
  padding:8px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:160px;
}
.uc-tekk-scope .t-store__card__img{
  border-radius:6px;
  object-fit:contain;
  max-width:100%;
  max-height:100%;
  width:auto !important;
  height:auto !important;
}
/* текст */
.uc-tekk-scope .t-store__card__textwrapper{ display:flex; flex-direction:column; }
/* заголовок */
.uc-tekk-scope .t-store__card__title{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; word-break:break-word; margin-bottom:6px;
  line-height:1.25; letter-spacing:.2px; text-transform:none;
  min-height:calc(1.25em * 2);
}
/* описание */
.uc-tekk-scope .t-store__card__descr{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5;
  overflow:hidden; line-height:1.4; color:#666; max-height:calc(1.4em * 5);
}
.uc-tekk-scope .t-store__card__descr br + *::before{ content:"• "; color:#9aa0a6; }

/* цена/статус */
.uc-tekk-scope .t-store__card__price-wrapper{
  display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin-top:auto;
}
.uc-tekk-scope .t-store__card__price{ display:flex; align-items:baseline; flex-wrap:nowrap; column-gap:6px; }
.uc-tekk-scope .t-store__card__price-value{ font-size:20px; font-weight:700; color:#000; }
.uc-tekk-scope .t-store__card__price-currency,
.uc-tekk-scope .t-store__prod__price-portion{ font-size:14px; color:#666; white-space:nowrap; }
.uc-tekk-scope .tekk-perm2-inline{ font-size:12px; color:#999; margin-left:8px; white-space:nowrap; }

/* статус-бейдж */
.uc-tekk-scope .t-store__card__price-wrapper .tekk-status{
  display:inline-block; font-weight:600; font-size:14px; line-height:1;
  padding:6px 10px; border-radius:6px; white-space:nowrap;
}
.uc-tekk-scope .tekk-status.is-available{ background:#E8F5E9; color:#2E7D32; }
.uc-tekk-scope .tekk-status.is-preorder { background:#FDECEC; color:#C62828; }

/* кнопки */
.uc-tekk-scope .t-store__card__btns-wrapper{
  display:flex !important; justify-content:space-between; width:100% !important;
  box-sizing:border-box; margin-top:8px;
}
.uc-tekk-scope .t-store__prod__quantity{ flex:0 0 auto; margin-right:8px; }
.uc-tekk-scope .t-store__card__btn{
  flex:1 1 auto !important; text-align:center; background-color:#000 !important; color:#fff !important;
  border:1px solid #000 !important; border-radius:6px; font-weight:600;
  transition:transform .15s ease, background-color .2s ease, border-color .2s ease;
}
.uc-tekk-scope .t-store__card__btn:hover{ background-color:#ff6600 !important; border-color:#ff6600 !important; transform:translateY(-1px); }
.uc-tekk-scope .t-store__card__btn:active{ background-color:#e65c00 !important; border-color:#e65c00 !important; transform:translateY(0); }

/* адаптив карточки */
@media (max-width:480px){
  .uc-tekk-scope .t-store__card__title{ -webkit-line-clamp:3; min-height:calc(1.25em * 3); }
  .uc-tekk-scope .t-store__card__descr{ -webkit-line-clamp:6; max-height:calc(1.4em * 6); }
  .uc-tekk-scope .t-store__card__price{ flex-wrap:wrap; }
  .uc-tekk-scope .tekk-perm2-inline{ display:block; width:100%; margin:2px 0 0 0; }
  .uc-tekk-scope .t-store__card__price-value{ font-size:18px; }
}

/* ===== НИЖНЯЯ ПАНЕЛЬ / ШТОРЫ (единая версия) ===== */
@media (max-width:767px){
  body{ padding-bottom: calc(var(--tekk-bar-h) + env(safe-area-inset-bottom,0px)) !important; }
}
@media (min-width:768px){
  .tekk-bottom-bar, .tekk-overlay, .tekk-sheet{ display:none !important; }
}
.tekk-bottom-bar{
  position:fixed; left:0; right:0; bottom:0; height:var(--tekk-bar-h);
  display:flex; align-items:center; background:var(--tekk-black);
  z-index:var(--z-overlay); font-family:Arial,system-ui,sans-serif;
}
.tekk-btn{
  flex:1 1 50%; height:100%; border:0; color:#fff; font-size:14px; font-weight:700;
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:opacity .2s ease;
}
.tekk-btn:hover{ opacity:.92; }
.tekk-btn-contact{ background:var(--tekk-black); }
.tekk-btn-catalog{ background:var(--tekk-orange); }
.tekk-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  z-index:var(--z-overlay); opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.tekk-overlay.show{ opacity:1; pointer-events:auto; }
.tekk-sheet{
  position:fixed; top:0; bottom:0; width:86%; max-width:420px; background:#fff;
  padding:20px 18px calc(var(--tekk-bar-h) + 20px); overflow:auto;
  box-shadow:0 0 24px rgba(0,0,0,.25); transition:transform .3s ease; border-radius:12px; z-index:var(--z-sheet);
}
.tekk-sheet.right{ right:0; transform:translateX(105%); border-radius:12px 0 0 12px; }
.tekk-sheet.left { left:0;  transform:translateX(-105%); border-radius:0 12px 12px 0; }
.tekk-sheet.open{ transform:translateX(0); }
.tekk-sheet__title{ margin:0 0 14px; font-size:20px; font-weight:800; }
.tekk-sheet__close{ position:absolute; top:10px; right:12px; width:36px; height:36px; border:0; border-radius:8px; background:#f2f2f2; cursor:pointer; font-weight:800; }
@media (max-width:420px){ .tekk-sheet{ width:92%; } }

/* Контент шторы + плитки */
.tekk-sheet,
.tekk-sheet *{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,
               "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif !important;
}

/* Единственная версия сетки плиток контактов в левой шторке */
#tekk-contact .tekk-contacts{
  display:grid !important;
  gap:12px !important;
}

.tekk-categories{ display:grid !important; gap:12px !important; }
.tekk-contact,
.tekk-categories a{
  display:block !important;
  padding:12px 14px !important;
  border:1px solid #e6e6e6 !important;
  border-radius:10px !important;
  background:#f7f7f7 !important;
  color:#222 !important;
  font-weight:600 !important;
  text-decoration:none !important;
  line-height:1.2 !important;
}
.tekk-categories a:hover{
  background:#f2f2f2 !important;
  color:#222 !important;
  text-decoration:none !important;
}

/* Иконки в плитках и нижнем баре */
#tekk-contact .tekk-contact,
.tekk-bottom-bar .tekk-btn{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
#tekk-contact .tekk-contact svg,
.tekk-bottom-bar .tekk-btn svg{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  flex:0 0 18px !important;
  display:inline-block !important;
  vertical-align:middle !important;
  fill:currentColor !important;
}
#tekk-contact .tekk-contact span{ font-size:16px; }

/* ===== HEADER / MEGA ===== */
.tekk-header-desktop{
  position:fixed; top:0; left:0; right:0; width:100vw;
  z-index:var(--z-header); background:#fff; box-shadow:none; transition:box-shadow .2s;
}
.tekk-header-desktop.has-shadow{ box-shadow:0 2px 12px rgba(0,0,0,.06); }
.tekk-container{ max-width:1280px; margin:0 auto; padding:0 20px; box-sizing:border-box; }
.tekk-topbar{ border-bottom:1px solid #eee; }
.tekk-topbar .tekk-container{ height:42px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.tekk-topbar__nav{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.tekk-topbar__nav a{ color:#cc5a4a; text-decoration:none; }
.tekk-topbar__nav a:hover{ color:#000; }

/* mainbar макет — GRID */
.tekk-mainbar .tekk-container{
  height:82px; display:grid; align-items:center; gap:18px;
  grid-template-columns:auto 170px 1fr auto auto;
}
.tekk-logo{ display:flex; align-items:center; gap:12px; text-decoration:none; color:#000; }
.tekk-logo img{ height:36px; }
.tekk-logo__sub{ font-size:12px; color:#888; }

.tekk-catalog-btn{
  display:flex; align-items:center; justify-content:center; gap:8px;
  height:48px; padding:0 18px; border:0; border-radius:12px;
  background:var(--tekk-orange); color:#fff; font-weight:800; font-size:16px;
  cursor:pointer; transition:transform .15s,opacity .2s;
}
.tekk-catalog-btn:hover{ transform:translateY(-1px); opacity:.95; }

/* Контакты/мессенджеры */
.tekk-contacts{ display:flex; align-items:center; gap:14px; }
.tekk-messengers{ display:flex; align-items:center; gap:10px; margin-right:8px; line-height:0; }
.tekk-badge{ width:32px; height:32px; border-radius:50%; display:inline-grid; place-items:center; text-decoration:none; box-shadow:0 0 0 1px #e6e6e6 inset; color:#fff; }
.tekk-badge.wa{ background:#25D366; }
.tekk-badge.tg{ background:#24A1DE; }
.tekk-badge svg{ width:18px; height:18px; display:block; fill:currentColor; stroke:none; }
.tekk-messengers a svg path,
.tekk-messengers a svg circle,
.tekk-messengers a svg rect,
.tekk-messengers a svg polygon{ fill:currentColor; stroke:none; }

.tekk-phone{ display:flex; flex-direction:column; line-height:1.1; white-space:nowrap; }
.tekk-phone__num{ font-weight:800; color:#000; text-decoration:none; }
.tekk-phone__num:hover{ color:var(--tekk-orange); }
.tekk-phone__hint{ font-size:12px; color:#888; }

/* Иконки справа */
.tekk-icons{ display:flex; align-items:center; gap:10px; }
.tekk-ico{
  width:40px; height:40px; border-radius:10px; background:#f2f2f2;
  display:flex; align-items:center; justify-content:center; position:relative; line-height:0;
}
.tekk-ico svg{ display:block; position:static; margin:0; width:20px; height:20px; }
.tekk-badge-count{
  position:absolute; right:-6px; top:-6px; background:#ff3535; color:#fff;
  font-size:11px; height:18px; min-width:18px; padding:0 5px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
}

/* Мегаменю */
#tekk-mega-catalog.tekk-mega{
  position:fixed; top:var(--tekk-header-h,124px); left:0; right:0; background:#fff;
  border-top:1px solid #eee; box-shadow:0 4px 16px rgba(0,0,0,.08);
  z-index:var(--z-mega); opacity:0; pointer-events:none; transform:translateY(-6px);
  transition:opacity .2s, transform .2s;
}
#tekk-mega-catalog.tekk-mega.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
.tekk-mega__inner{ max-width:1280px; margin:0 auto; padding:30px 20px; display:grid; grid-template-columns:repeat(4,1fr); gap:40px; }
.tekk-mega__col h4{ font-size:15px; font-weight:700; margin-bottom:12px; color:#222; }
.tekk-mega__col a{ display:block; font-size:14px; color:#444; text-decoration:none; padding:3px 0; }
.tekk-mega__col a:hover{ color:var(--tekk-orange); }
.tekk-meга__footer{ border-top:1px solid #eee; text-align:center; padding:12px 20px 16px; }
.tekk-mega__footer a{ font-weight:600; color:var(--tekk-orange); text-decoration:none; }
.tekk-mega__footer a:hover{ text-decoration:underline; }

/* MOBILE HEADER (≤767px) */
@media (max-width:767px){
  .tekk-topbar{ display:block !important; background:#fff; }
  .tekk-topbar .tekk-container{
    height:36px !important; padding:0 12px !important;
    display:flex !important; align-items:center !important; justify-content:space-between !important;
  }
  .tekk-topbar__nav{ display:none !important; }
  .tekk-topbar__left a{ display:block; max-width:100%; font-size:15px; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

  .tekk-mainbar .tekk-container{
    height:64px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px;
    padding:0 12px !important;
  }
  .tekk-logo img{ height:28px; }
  .tekk-logo__sub{ display:none !important; }

  /* скрываем контакты, так как в мобилке есть нижняя панель */
  .tekk-contacts{ display:none !important; }

  .tekk-icons{ gap:8px; justify-self:end; }
  .tekk-ico{ width:40px; height:40px; border-radius:50%; flex-shrink:0; }
  .tekk-badge-count{ top:-4px; right:-4px; }

  .tekk-catalog-btn{
    order:3; width:44px; height:44px; padding:0; border-radius:50%;
    background:#f2f2f2; color:#000; display:flex; align-items:center; justify-content:center; font-size:0; gap:0;
  }
  .tekk-catalog-btn svg{ width:20px; height:20px; }

  /* корректный селектор для мобильного мегаменю */
  #tekk-mega-catalog.tekk-mega{
    top:var(--tekk-header-h,64px);
    left:0; right:0;
    max-height:calc(100vh - var(--tekk-header-h,64px));
    overflow:auto; border-top:1px solid #eee;
  }
  .tekk-mega__inner{ grid-template-columns:1fr !important; gap:16px; padding:16px 14px; }
  .tekk-mega__col h4{ margin:6px 0 4px; }
  .tekk-mega__col a{ padding:10px 8px; border-radius:8px; }

  /* тонкая подгонка центровки иконок */
  .tekk-icons .tekk-ico[href="#showfavorites"] svg{ transform: translateY(0px) scale(.88); }
  .tekk-icons .tekk-ico[href*="opencart"] svg{ transform: translate(-1px,-1px) scale(.96); }
  .tekk-icons .tekk-ico[href="/members/"] svg{ transform: translateY(-1px); }
}

/* Избранное/корзина/юзербар от Тильды — скрыть встроенные иконки */
.t706__carticon-wrapper,
.t1002__wishlisticon-wrapper,
.tlk-userbar__user{ display:none !important; }

/* ===== WISHLIST T1002 поверх шапки ===== */
.t1002__wishlistwin{
  position:fixed !important; inset:0 !important; z-index:var(--z-wl) !important;
}
.t1002__wishlistwin-content{
  position:fixed !important; top:0 !important; right:0 !important; left:auto !important;
  height:100vh !important; width:min(86vw, 420px); max-width:420px;
  background:#fff; transform:translateX(100%); transition:transform .25s ease;
  z-index:var(--z-wl-pane) !important; pointer-events:auto !important;
}
.t1002__wishlistwin-content_showed,
.t1002__wishlistwin.t1002__wishlistwin_showed .t1002__wishlistwin-content{ transform:translateX(0); }
/* крестик */
.t1002__wishlistwin .t1002__wishlistwin-close,
.t1002__wishlistwin .t1002__close-button{
  position:fixed !important; top:10px !important; right:12px !important;
  z-index:var(--z-wl-x) !important; cursor:pointer;
}
/* overlay под панелью — прозрачный (управляем своим #tekk-fav-overlay) */
#tekk-fav-overlay{
  position:fixed !important; inset:0 !important; background:rgba(0,0,0,0) !important;
  z-index:calc(var(--z-wl) - 5) !important; opacity:0; pointer-events:none; transition:opacity .2s ease;
}
#tekk-fav-overlay.show{ opacity:1; pointer-events:auto; }
/* Когда открыт wishlist — опускаем z-index шапки ниже панели */
.tekk-wl-open .tekk-header-desktop{ z-index: calc(var(--z-wl) - 100) !important; }

/* Плавающие элементы Тильды ниже наших панелей */
.t1002__addBtn, .t-store__floatbtn, .t-popup__close, .tilda-fixed{ z-index:1000 !important; }

/* ===== ФУТЕР ===== */
.kugoo-footer{background:linear-gradient(180deg,var(--kf-bg) 0,var(--kf-bg-2) 100%);color:var(--kf-text);font-family:var(--kf-font);padding:56px 20px 28px}
.kf__top,.kf__bottom{max-width:var(--kf-maxw);margin:0 auto}
.kf__top{display:grid;grid-template-columns:1.1fr 1.1fr 1.6fr;gap:44px;align-items:start}
.kf__title{color:var(--kf-title);font-size:18px;font-weight:650;line-height:1.25;margin:0 0 16px;letter-spacing:.01em}
.kf__list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.kf__list li{position:relative;padding-left:16px}
.kf__list li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--kf-accent);opacity:.9;transition:background var(--kf-speed)}
.kf__list a{color:var(--kf-accent);text-decoration:none;transition:color var(--kf-speed),transform var(--kf-speed)}
.kf__list a:hover{color:#fff;transform:translateX(2px)}
.kf__list li:hover::before{background:#fff}

.kf__contacts .kf__grid{display:grid;grid-template-columns:1fr;gap:18px}
.kf__meta{display:grid;gap:14px}
.kf__meta-label{display:block;font-size:12px;color:var(--kf-muted);margin-bottom:4px;letter-spacing:.02em}
.kf__meta p{margin:0;color:var(--kf-title)}
.kf__phone,.kf__email{color:var(--kf-title);text-decoration:none;transition:color var(--kf-speed)}
.kf__phone:hover,.kf__email:hover{color:#fff}

.kf__socials{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}
.kf__soc{width:36px;height:36px;border-radius:999px;background:var(--kf-chip);display:grid;place-items:center;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#9aa3b4;text-decoration:none;transition:transform var(--kf-speed),background var(--kf-speed),color var(--kf-speed),box-shadow var(--kf-speed);box-shadow:inset 0 0 0 1px var(--kf-border)}
.kf__soc:hover{transform:translateY(-1px) scale(1.06);background:var(--kf-chip-hover);color:#fff;box-shadow:inset 0 0 0 1px #2d3440}
.kf__soc--vk:hover{box-shadow:0 0 0 1px #2787F5 inset,0 0 14px #2787F533}
.kf__soc--yt:hover{box-shadow:0 0 0 1px #FF0000 inset,0 0 14px #FF000033}
.kf__soc--ig:hover{box-shadow:0 0 0 1px #E1306C inset,0 0 14px #E1306C33}
.kf__soc--fb:hover{box-shadow:0 0 0 1px #1877F2 inset,0 0 14px #1877F233}
.kf__soc--tg:hover{box-shadow:0 0 0 1px #24A1DE inset,0 0 14px #24A1DE33}
.kf__soc--wa:hover{box-shadow:0 0 0 1px #25D366 inset,0 0 14px #25D36633}

.kf__divider{max-width:var(--kf-maxw);height:1px;background:linear-gradient(90deg,transparent,var(--kf-border),transparent);margin:28px auto 18px}
.kf__bottom{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center}
.kf__copy{color:var(--kf-muted);font-size:13px}
.kf__policies{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 20px;list-style:none;margin:0;padding:0}
.kf__policies a{color:var(--kf-accent);text-decoration:none;font-size:13px;transition:color var(--kf-speed)}
.kf__policies a:hover{color:#fff}

/* Аккордеон в футере (мобила) */
@media (max-width:1024px){.kf__top{grid-template-columns:1fr 1fr;gap:34px}}
@media (max-width:720px){
  .kugoo-footer{padding:36px 16px 20px}
  .kf__top{grid-template-columns:1fr;gap:22px}
  .kf__title{margin-bottom:12px;position:relative;padding-right:28px;cursor:pointer}
  .kf__title::after{content:"";position:absolute;right:2px;top:50%;width:10px;height:10px;border:2px solid var(--kf-muted);border-left:0;border-top:0;transform:translateY(-60%) rotate(45deg);transition:transform var(--kf-speed),border-color var(--kf-speed)}
  .kf__title[aria-expanded="true"]::after{transform:translateY(-40%) rotate(-135deg);border-color:var(--kf-accent)}
  .kf__panel{max-height:0;overflow:hidden;transition:max-height .28s ease}
  .kf__panel._open{max-height:900px}
}

/* Адрес в топбаре */
.tekk-address{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.tekk-address__pin{flex:0 0 16px}
.tekk-address__city{color:var(--addr-city);font-weight:600}
.tekk-address__rest{color:var(--addr-text)}
.tekk-topbar a{color:inherit;text-decoration:none}

/* --- Cart over header: обе моды Тильды (page + sidebar) --- */
.t706__cartpage,
.t706__cartwin{
  z-index: var(--z-cart) !important;
}

/* когда корзина открыта — опускаем z-index шапки, чтобы она не перекрывала */
.t706__body_cartpageshowed .tekk-header-desktop,
.t706__body_cartsidebarshowed .tekk-header-desktop{
  z-index: 10 !important;
}

/* крестик/верх корзины в сайдбар-режиме — всегда поверх */
.t706__cartwin .t706__close{
  position: fixed !important;
  top: 10px !important;
  right: 12px !important;
  z-index: calc(var(--z-cart) + 20) !important;
}

/* скрываем нижнюю моб. панель, когда открыта корзина (чтобы не заслоняла CTA) */
.t706__body_cartpageshowed .tekk-bottom-bar,
.t706__body_cartsidebarshowed .tekk-bottom-bar{
  display: none !important;
}

/* Контент шторы "Связаться": базовые отступы и цвета */
#tekk-contact{
  background:#fff;
  color:#111;
  padding-top: calc(56px + env(safe-area-inset-top,0px));
  padding-bottom: calc(var(--tekk-bar-h) + 20px + env(safe-area-inset-bottom,0px));
  overflow-y:auto;
}

/* Форс-видимость содержимого шторки */
#tekk-contact, #tekk-contact *{
  opacity:1 !important;
  visibility:visible !important;
  color:#111 !important;
  text-shadow:none !important;
  line-height:normal !important;
}




/* === ЕДИНОЕ МЕГАМЕНЮ-СПИСОК (burger -> dropdown) ======================= */

/* Гасим старые колонki мегаменю (если где-то остались) */
#tekk-mega-catalog .tekk-mega__inner{
  display:none !important;
}

/* Контейнер списка пунктов */
#tekk-mega-catalog .tekk-mega__menu{
  max-width:1280px;
  margin:0 auto;
  padding:10px 12px 14px;
}

/* Пункт списка */
.tekk-mm__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 12px;
  font-size:16px;
  font-weight:600;
  color:var(--ink, #111);
  text-decoration:none;
  border-bottom:1px solid #eee;
  transition:background .18s ease, color .18s ease, transform .12s ease;
}
.tekk-mm__item:first-child{ border-top:1px solid #eee; }

/* Ховер/фокус */
.tekk-mm__item:hover,
.tekk-mm__item:focus-visible{
  background:#f9f9f9;
  color:var(--tekk-orange, #ff6600);
  outline:none;
}
.tekk-mm__item:active{ transform:translateY(0.5px); }

/* Стрелка справа */
.tekk-mm__item::after{
  content:"";
  width:8px; height:8px;
  border:2px solid #c5c9d3;
  border-left:0; border-top:0;
  transform:rotate(-45deg);
  flex:0 0 auto;
  margin-left:6px;
}

/* ---------- Desktop (≥768px) ---------- */
@media (min-width:768px){
  /* Сам контейнер мегаменю уже позиционируется в baseline:
     #tekk-mega-catalog.tekk-mega { fixed; top: var(--tekk-header-h); ... } */

  #tekk-mega-catalog .tekk-mega__menu{
    padding:12px 20px 16px;
  }

  .tekk-mm__item{
    padding:14px 14px;
    font-size:15px;
  }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width:767px){
  /* В baseline уже заданы top/max-height/overflow для мобильного #tekk-mega-catalog.
     Здесь только компактные отступы и клик-зоны. */
  #tekk-mega-catalog .tekk-mega__menu{
    padding:8px 10px 12px;
  }
  .tekk-mm__item{
    padding:14px 12px;
    font-size:16px;
  }
}









/* ===== Блок "Просчёт ТЗ" ===== */
.tekk-tzcta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:18px;

  padding:22px 28px;
  border-radius:14px;
  background:linear-gradient(135deg,#F9FBFE,#F1F5FB);
  color:#142B5F;
  box-shadow:0 4px 18px rgba(0,0,0,.05);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  box-sizing:border-box;
}

.tekk-tzcta.small{
  max-width:1080px;
  margin:28px auto 28px 360px; /* смещение на десктопе */
}

/* текст */
.tekk-tzcta__text{
  display:flex; align-items:center; gap:10px;
  flex:1 1 auto; min-width:260px;
}
.tekk-tzcta__ico{
  width:26px; height:26px; display:inline-grid; place-items:center;
  color:#0F3896;
  flex:0 0 26px;
}
.tekk-tzcta__ico svg{ width:20px; height:20px; display:block; }

.tekk-tzcta__title{
  font-weight:800; font-size:18px; line-height:1.2;
  color:#142B5F;
}
.tekk-tzcta__sub{
  margin-left:8px;
  font-size:14px; line-height:1.2;
  color:#0F3896; opacity:.9;
}

/* кнопки */
.tekk-tzcta__actions{
  display:flex; flex-wrap:wrap; gap:10px;
  flex:0 0 auto;
}
.tekk-tzcta__btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 16px; height:40px;
  border-radius:8px; font-size:15px; font-weight:600;
  text-decoration:none; white-space:nowrap; cursor:pointer;

  background:transparent !important;
  color:#0F3896 !important;
  border:1px solid #C8D3E8 !important;
  box-shadow:none !important;

  transition:background .18s ease, color .18s ease, border-color .18s ease;
}
.tekk-tzcta__btn:hover{
  background:#F3F6FD !important;
  border-color:#B7C6E1 !important;
  color:#0F3896 !important;
}
.tekk-tzcta__btn.alt{
  background:transparent !important;
  border-color:transparent !important;
  color:#6A7BA0 !important;
  text-decoration:underline;
  text-underline-offset:3px;
}
.tekk-tzcta__btn.alt:hover{
  color:#0F3896 !important;
}

/* === Адаптив для мобилок === */
@media (max-width:767px){
  .tekk-tzcta{
    flex-direction:column;
    align-items:flex-start;
    padding:14px 16px;       /* меньше внутренний отступ */
    margin:16px 12px;        /* чуть отступы по бокам */
    border-radius:12px;      /* скругление мягче */
  }
  .tekk-tzcta__title{ font-size:15px; }
  .tekk-tzcta__sub{ font-size:13px; margin:2px 0 0 0; }
  .tekk-tzcta__actions{ width:100%; flex-direction:column; gap:8px; }
  .tekk-tzcta__btn{ width:100%; height:36px; font-size:14px; }
}




/* ===== Просчёт ТЗ — позиционирование и защита от "уезда" ===== */

/* Базово: центр и безопасная ширина, чтобы не уползал вправо */
.tekk-tzcta.small{
  width: min(1080px, 100%);
  max-width: min(1080px, calc(100% - 24px)); /* оставляем по 12px поля с краёв */
  margin: 28px auto;                         /* по центру по умолчанию */
}

/* Только на ШИРОКИХ десктопах даём сдвиг влево на 360px */
@media (min-width: 1280px){
  .tekk-tzcta.small{
    margin: 28px auto 28px 360px;            /* сверху справа снизу слева */
    max-width: 1080px;
    width: auto;
  }
}

/* Планшеты и мобилки — строго по центру и уже, всё остальное отменяем */
@media (max-width: 1023px){
  .tekk-tzcta.small{
    margin: 20px auto !important;            /* центрируем */
    max-width: calc(100% - 24px) !important; /* поля по 12px */
  }
}

@media (max-width: 767px){
  .tekk-tzcta{
    padding: 14px 16px;
    border-radius: 12px;
  }
  .tekk-tzcta.small{
    margin: 16px auto !important;            /* центр */
    max-width: calc(100% - 24px) !important; /* безопасная ширина */
  }
  .tekk-tzcta__title{ font-size: 15px; }
  .tekk-tzcta__sub{ font-size: 13px; }
  .tekk-tzcta__actions{ width:100%; flex-direction:column; gap:8px; }
  .tekk-tzcta__btn{ width:100%; height:36px; font-size:14px; }
}







/* ===== Просчёт ТЗ — аккуратная мобильная версия ===== */
@media (max-width: 767px){

  /* сама карточка — компактнее, ровные поля, мягкая тень */
  .tekk-tzcta{
    margin:16px 12px !important;
    padding:14px 14px 12px !important;
    border-radius:12px !important;
    background: linear-gradient(135deg,#FAFCFF,#F3F6FB) !important;
    box-shadow: 0 6px 20px rgba(20,43,95,.06) !important;
    gap:10px !important;
  }

  /* делаем ровную сетку: слева иконка, рядом заголовок + подпись */
  .tekk-tzcta__text{
    display:grid !important;
    grid-template-columns: 22px 1fr !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
  }
  .tekk-tzcta__ico{
    width:22px !important; height:22px !important; color:#0F3896 !important;
  }
  .tekk-tzcta__ico svg{ width:18px !important; height:18px !important; }

  .tekk-tzcta__title{
    font-size:16px !important; line-height:1.25 !important; margin:0 !important;
  }
  .tekk-tzcta__sub{
    grid-column: 2 / -1 !important; /* подпись под заголовком, в ту же колонку */
    margin:4px 0 0 0 !important;
    font-size:13px !important; line-height:1.35 !important;
    color:#264b8f !important; opacity:.95 !important;
  }

  /* блок с кнопками — без огромной «пилюли» */
  .tekk-tzcta__actions{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    margin-top:8px !important;
  }

  /* главная кнопка — компактная, без толстой рамки и гигантского скругления */
  .tekk-tzcta__btn{
    height:40px !important;
    padding:8px 14px !important;
    border-radius:10px !important;
    font-size:14px !important;
    font-weight:700 !important;
    width:100% !important;
    background:#ffffff !important;
    border:1px solid #C8D3E8 !important;
    color:#0F3896 !important;
    box-shadow:none !important;
  }
  .tekk-tzcta__btn:hover{
    background:#EEF3FF !important;
    border-color:#B8C7E4 !important;
  }

  /* вторичная — спокойная ссылка, без рамки и заливки */
  .tekk-tzcta__btn.alt{
    background:transparent !important;
    border-color:transparent !important;
    color:#6A7BA0 !important;
    text-decoration:underline !important;
    text-underline-offset:3px !important;
    height:auto !important; padding:0 !important;
  }
  .tekk-tzcta__btn.alt:hover{ color:#284a90 !important; }

  /* убираем возможные «сползания» ширины/границ из предыдущих правил */
  .tekk-tzcta .tekk-tzcta__btn,
  .tekk-tzcta .tekk-tzcta__actions{ box-sizing:border-box !important; }
}





/* ===== Просчёт ТЗ — финальный компактный стиль ===== */
@media (max-width: 767px){

  .tekk-tzcta{
    margin:16px 12px !important;
    padding:14px 14px 16px !important;
    border-radius:12px !important;
    background:#f9fbff !important;
    box-shadow:0 4px 14px rgba(20,43,95,.06) !important;
    gap:8px !important;
  }

  .tekk-tzcta__text{
    display:grid !important;
    grid-template-columns:22px 1fr !important;
    align-items:center !important;
    gap:10px !important;
  }

  .tekk-tzcta__ico{ width:22px !important; height:22px !important; color:#0F3896 !important; }
  .tekk-tzcta__ico svg{ width:18px !important; height:18px !important; }

  .tekk-tzcta__title{
    font-size:15px !important;
    line-height:1.3 !important;
    margin:0 !important;
    font-weight:700 !important;
    color:#142B5F !important;
  }

  .tekk-tzcta__sub{
    grid-column:2 / -1 !important;
    margin:2px 0 0 0 !important;
    font-size:13px !important;
    line-height:1.4 !important;
    color:#3c4a66 !important;
  }

  .tekk-tzcta__actions{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    margin-top:6px !important;
  }

  /* Главная кнопка */
  .tekk-tzcta__btn{
    width:100% !important;
    height:40px !important;
    border-radius:8px !important;
    font-size:14px !important;
    font-weight:700 !important;
    background:#0F3896 !important;
    color:#fff !important;
    border:1px solid #0F3896 !important;
  }
  .tekk-tzcta__btn:hover{
    background:#142B5F !important;
    border-color:#142B5F !important;
  }

  /* Вторичная кнопка */
  .tekk-tzcta__btn.alt{
    width:100% !important;
    height:38px !important;
    border-radius:8px !important;
    font-size:14px !important;
    font-weight:600 !important;
    background:#fff !important;
    border:1px solid #d1d8e6 !important;
    color:#3c4a66 !important;
  }
  .tekk-tzcta__btn.alt:hover{
    background:#f2f5fa !important;
    border-color:#b8c4da !important;
    color:#142B5F !important;
  }
}




@media (max-width: 767px){
  /* Сдвигаем подпись левее */
  .tekk-tzcta__sub{
    margin-left:-6px !important; /* пробуй -4px, -6px или -8px */
  }

  /* Можно ещё сузить колонку под иконку */
  .tekk-tzcta__text{
    grid-template-columns:18px 1fr !important; /* было 22px */
  }
}







/* ====== Vars */
:root{
  --ink:#0E0E0E;
  --muted:#6B7280;
  --bg:#F3F4F6;
  --panel:#EFEFF2;
  --accent:#FF6A00;
  --primary:#0E2A66;
  --radius:24px;
}

/* ====== HERO */
.pro-hero{
  position:relative; isolation:isolate;
  background:linear-gradient(180deg,#FAFAFB 0%, #F6F7F9 100%);
  padding:64px 24px 88px;
  overflow:hidden; border-radius:var(--radius);
}
.pro-hero__inner{
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:1.05fr 0.95fr;
  gap:48px; align-items:center;
}
.pro-badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px; background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  font:500 14px/1.2 Inter, system-ui, Arial; color:#111827; margin-bottom:18px;
}
.pro-badge__dot{width:8px; height:8px; border-radius:50%; background:var(--accent);}
.pro-ttl{
  margin:0 0 14px;
  font:800 clamp(28px, 5vw, 48px)/1.1 "Inter Tight", Inter, system-ui, Arial;
  letter-spacing:-.02em; color:var(--ink);
}
.pro-ttl__accent{color:var(--accent);}
.pro-sub{
  margin:0 0 28px; color:#1f2937; opacity:.9;
  font:500 clamp(14px, 2.6vw, 16px)/1.6 Inter, system-ui, Arial;
}
.pro-cta{
  display:inline-flex; align-items:center; justify-content:center;
  height:48px; padding:0 22px; border-radius:12px;
  background:var(--primary); color:#fff; text-decoration:none;
  font:700 15px/1 Inter, system-ui, Arial;
  box-shadow:0 10px 24px rgba(14,42,102,.25);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pro-cta:hover{ background:#132f74; transform:translateY(-1px); box-shadow:0 14px 30px rgba(14,42,102,.30); }

.pro-hero__right{ position:relative; min-height:420px; }
.pro-lens{
  position:absolute; inset:0; border-radius:48px;
  background:
    radial-gradient(1200px 400px at 20% 20%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg,#FFFFFF,#F2F3F7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 40px 120px rgba(0,0,0,.08);
}
.pro-tags{
  position:relative; list-style:none; margin:0; padding:0;
  display:grid; grid-auto-flow:row; gap:14px; width:max-content;
  transform:translate(26%, 16%);
}
.pro-tags li{
  display:inline-block; padding:8px 14px; border-radius:999px; background:#fff;
  color:#111827; font:700 13px/1 Inter, system-ui, Arial;
  box-shadow:0 10px 22px rgba(255,106,0,.18), inset 0 0 0 2px rgba(255,106,0,.9);
  margin:0 8px;
}

/* Hero nav */
.pro-nav{
  position:absolute; left:50%; bottom:calc(22px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex; align-items:center; gap:18px;
}
.pro-nav__btn{
  width:42px; height:42px; border-radius:50%;
  border:0; background:#fff; cursor:pointer;
  box-shadow:0 10px 20px rgba(0,0,0,.08), inset 0 0 0 1px rgba(0,0,0,.06);
  font:700 20px/1 Inter; color:#111827;
  transition:transform .15s ease, box-shadow .15s ease;
}
.pro-nav__btn:hover{ transform:translateY(-1px); box-shadow:0 12px 26px rgba(0,0,0,.10), inset 0 0 0 1px rgba(0,0,0,.08); }
.pro-dots{ display:flex; gap:16px; align-items:center; }
.pro-dots span{ display:block; width:56px; height:4px; border-radius:999px; background:#D6DAE3; }
.pro-dots span.is-active{ background:#0F2C70; }

/* ====== Нижняя лента категорий */
.pill-nav{
  position:relative;
  margin:18px auto 0;
  max-width:1400px;
  padding:0 64px;
  height:64px;
  display:flex; align-items:center;
  background:#151515; border-radius:18px;
  box-shadow:0 18px 48px rgba(0,0,0,.35) inset, 0 14px 34px rgba(0,0,0,.25);
}
.pill-nav__track{
  display:flex; gap:12px; overflow:auto hidden;
  -webkit-overflow-scrolling:touch; scroll-behavior:smooth;
  scrollbar-width:none; width:100%;
}
.pill-nav__track::-webkit-scrollbar{ display:none; }

.pill{
  flex:0 0 auto;
  display:flex; align-items:center; justify-content:space-between;
  height:46px; padding:0 18px 0 20px;
  border-radius:999px; background:#272727; color:#EAEAEA; text-decoration:none;
  font:600 15px/1.2 Inter, Arial, sans-serif;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.25);
}
.pill i{
  width:20px; height:20px; border-radius:50%; background:#1E1E1E;
  margin-left:14px; display:inline-grid; place-items:center;
}
.pill i::before{
  content:""; width:6px; height:6px; display:block;
  border-right:2px solid #BDBDBD; border-top:2px solid #BDBDBD; transform:rotate(45deg);
}

/* Стрелки ленты */
.pill-nav__btn{
  position:absolute; z-index:2; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border:0; border-radius:999px; cursor:pointer;
  background:#fff;
  box-shadow:0 14px 28px rgba(0,0,0,.24), 0 1px 0 rgba(255,255,255,.7) inset;
  font:700 20px/1 Inter; color:#111827;
}
.pill-nav__btn--left{ left:-28px; }
.pill-nav__btn--right{ right:-28px; }

/* fade по краям */
.pill-nav::before,
.pill-nav::after{
  content:""; position:absolute; top:0; width:64px; height:100%; pointer-events:none;
}
.pill-nav::before{ left:0; background:linear-gradient(90deg,#151515 18%, rgba(21,21,21,0) 100%); }
.pill-nav::after { right:0; background:linear-gradient(270deg,#151515 18%, rgba(21,21,21,0) 100%); }

/* ====== Адаптив */
@media (max-width:1024px){
  .pro-hero__inner{ grid-template-columns:1fr; gap:28px; }
  .pro-hero{ padding:48px 16px 78px; border-radius:20px; }
  .pro-hero__right{ min-height:340px; }
  .pro-tags{ transform:translate(4%, 8%); }
}
@media (max-width:768px){
  .pill-nav{ padding:0 12px; height:58px; }
  .pill-nav__btn{ display:none; }
  .pill-nav::before, .pill-nav::after{ width:24px; }
  .pro-nav{ bottom:calc(16px + env(safe-area-inset-bottom)); gap:14px; }
  .pro-nav__btn{ width:38px; height:38px; font-size:18px; }
  .pro-dots span{ width:40px; }
}
@media (max-width:640px){
  .pro-hero{ padding:28px 12px calc(64px + env(safe-area-inset-bottom)); border-radius:16px; }
  .pro-hero__right{ min-height:260px; }
  .pro-lens{ border-radius:22px; }
  .pro-tags{ transform:none; display:flex; flex-wrap:wrap; gap:8px 10px; justify-content:center; padding:6px; }
  .pro-tags li{ padding:7px 12px; font-size:12px; margin:0; }
  .pro-cta{ width:100%; height:44px; border-radius:10px; }
}
@media (max-width:390px){
  .pro-dots span{ width:32px; }
}

/* Контейнер */
.pro-wrapper{
  max-width:1400px;
  margin:0 auto;
  padding:40px 20px;
}
@media (max-width:1200px){
  .pro-wrapper{ padding:32px 18px; }
}
@media (max-width:1024px){
  .pro-hero{ padding:40px 16px 74px; border-radius:20px; }
  .pro-hero__inner{ grid-template-columns:1fr; gap:22px; }
  .pro-hero__right{ min-height:340px; }
  .pro-tags{ transform:translate(4%, 6%); }
}
@media (max-width:640px){
  .pro-wrapper{ padding:18px 12px; }
  .pro-hero{ padding:28px 12px calc(64px + env(safe-area-inset-bottom)); border-radius:16px; }
  .pro-hero__right{ min-height:260px; }
  .pro-lens{ border-radius:22px; }
  .pro-badge{ padding:6px 10px; gap:8px; font-size:12px; margin-bottom:12px; box-shadow:0 4px 12px rgba(0,0,0,.05); }
  .pro-badge__dot{ width:7px; height:7px; }
  .pro-ttl{ line-height:1.18; }
  .pro-sub{ margin-bottom:20px; line-height:1.55; }
  .pro-cta{ width:100%; height:44px; border-radius:10px; font-size:14px; }
  .pro-tags{ transform:none; display:flex; flex-wrap:wrap; gap:8px 10px; justify-content:center; padding:6px; }
  .pro-tags li{ padding:7px 12px; font-size:12px; margin:0; }
  .pro-nav{ bottom:calc(16px + env(safe-area-inset-bottom)); gap:14px; }
  .pro-nav__btn{ width:38px; height:38px; font-size:18px; }
  .pro-dots span{ width:36px; }
}
@media (max-width:390px){
  .pro-dots span{ width:28px; }
}

/* HERO ultra-compact mobile */
@media (max-width:420px){
  .pro-hero{ padding:14px 10px 92px; border-radius:12px; }
  .pro-hero__inner{ grid-template-columns:1fr; gap:12px; }
  .pro-ttl{ font-weight:800; font-size:clamp(20px, 6.4vw, 24px); line-height:1.14; letter-spacing:-.01em; margin:0 0 8px; word-break:break-word; hyphens:auto; }
  .pro-sub{ font-size:13px; line-height:1.45; margin:0 0 14px; }
  .pro-cta{ width:100%; height:40px; padding:0 14px; border-radius:9px; font-size:13px; box-shadow:0 6px 16px rgba(14,42,102,.22); }
  .pro-hero__right{ min-height:180px; }
  .pro-lens{ border-radius:16px; }
  .pro-tags{ transform:none; display:flex; flex-wrap:wrap; justify-content:center; gap:6px 8px; padding:4px; }
  .pro-tags li{ padding:5px 9px; font-size:11.5px; margin:0; box-shadow:0 6px 14px rgba(255,106,0,.14), inset 0 0 0 2px rgba(255,106,0,.9); }
  .pro-nav{ bottom:calc(12px + env(safe-area-inset-bottom)); gap:10px; }
  .pro-nav__btn{ width:32px; height:32px; font-size:15px; }
  .pro-dots span{ width:28px; height:4px; }
}
@media (max-width:360px){
  .pro-hero{ padding:12px 8px 88px; border-radius:10px; }
  .pro-ttl{ font-size:clamp(18px, 6.6vw, 22px); line-height:1.12; }
  .pro-sub{ font-size:12.5px; line-height:1.4; }
  .pro-cta{ height:38px; font-size:12.5px; }
  .pro-tags{ display:none; }
  .pro-hero__right{ min-height:0; }
  .pro-nav__btn{ width:30px; height:30px; font-size:14px; }
  .pro-dots span{ width:24px; }
}
@media (max-width:420px){
  .pro-hero, .pro-hero *{ max-width:100%; box-sizing:border-box; overflow-wrap:anywhere; }
}

/* === Пилюли: жёстко фиксируем белый текст === */
.pill,
.pill:link,
.pill:visited,
.pill:hover,
.pill:active {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
.pill > *:not(i):not(i *),
.pill span,
.pill strong,
.pill b,
.pill em {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
.pill-nav a.pill,
.pill-nav a.pill span {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}



/* === Темизация 4-х слайдов героя через CSS-переменные === */
.pro-hero {
  /* значения по умолчанию (оранжевый) */
  --hero-accent: #FF6A00;
  --hero-primary: #0E2A66;
  --hero-dot-active: #0F2C70;
  --hero-bg: linear-gradient(180deg,#FAFAFB 0%, #F6F7F9 100%);
}

.pro-hero { touch-action: pan-y; }

/* применяем переменные */
.pro-ttl__accent { color: var(--hero-accent); }
.pro-cta { background: var(--hero-primary); }
.pro-cta:hover { background: color-mix(in oklab, var(--hero-primary), #000 8%); }
.pro-hero { background: var(--hero-bg); }
.pro-dots span.is-active { background: var(--hero-dot-active); }

/* ===== Темы по слайдам */
.pro-hero[data-theme="1"] {
  --hero-accent:#FF6A00;
  --hero-primary:#0E2A66;
  --hero-dot-active:#0F2C70;
  --hero-bg: linear-gradient(180deg,#FAFAFB 0%, #F6F7F9 100%);
}
.pro-hero[data-theme="2"] {
  --hero-accent:#3B82F6; /* сине-акцентный */
  --hero-primary:#0B2E6F;
  --hero-dot-active:#1D4ED8;
  --hero-bg: linear-gradient(180deg,#F4F7FF 0%, #EEF3FF 100%);
}
.pro-hero[data-theme="3"] {
  --hero-accent:#8B5CF6; /* фиолетовый */
  --hero-primary:#2E1065;
  --hero-dot-active:#7C3AED;
  --hero-bg: linear-gradient(180deg,#FBF8FF 0%, #F4EEFF 100%);
}
.pro-hero[data-theme="4"] {
  --hero-accent:#10B981; /* бирюзовый */
  --hero-primary:#065F46;
  --hero-dot-active:#059669;
  --hero-bg: linear-gradient(180deg,#F3FFF9 0%, #ECFFF7 100%);
}

/* === Hero: аккуратные мобильные отступы === */
@media (max-width:640px){
  .pro-hero__inner {
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .pro-cta {
    margin:8px 0 12px !important;
    position:relative;
    z-index:2;
  }
}

/* HERO: полностью отключить блок тегов и белую подложку */
.pro-hero .pro-lens,
.pro-hero .pro-tags { display: none !important; }

/* убрать «пустоту» справа от героя */
.pro-hero .pro-hero__right{
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}

/* немного сжать вертикальные отступы внутри героя */
@media (max-width: 640px){
  .pro-hero__inner{ gap: 14px !important; }
  .pro-cta{ margin: 8px 0 12px !important; }
}

@media (min-width: 1024px){
  .pro-hero__inner{
    grid-template-columns: 1fr !important; /* вместо двух колонок */
    justify-items: center;
    text-align: center;
  }
  .pro-hero__right{ display: none !important; } /* убираем пустую колонку */
}




/* === ДЕСКТОП-УЛУЧШЕНИЯ. СТАВИМ НИЖЕ ВСЕГО CSS. === */
@media (min-width:1025px){

  /* Скрыть верхний топбар на десктопе */
  .tekk-header-desktop .tekk-topbar{ display:none !important; }

  /* Чуть стеклянный бар (нужна полупрозрачная подложка) */
  .tekk-header-desktop .tekk-mainbar{
    position:relative;
    background: rgba(255,255,255,0.72) !important; /* чтобы был виден blur */
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .tekk-header-desktop .tekk-mainbar::after{
    content:""; position:absolute; left:0; right:0; bottom:-10px; height:10px;
    background:linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,0));
    pointer-events:none;
  }

  /* Ряд в mainbar плотнее */
  .tekk-header-desktop .tekk-mainbar .tekk-container{
    display:flex; align-items:center; gap:14px;
  }
  .tekk-header-desktop .tekk-contacts{ display:flex; align-items:center; gap:12px; }
  .tekk-header-desktop .tekk-icons{ display:flex; align-items:center; gap:12px; margin-left:auto; }

  /* Кнопка «Навигация» как CTA */
  .tekk-header-desktop .tekk-catalog-btn{
    height:44px !important; padding:0 18px !important; border-radius:12px !important;
    font-weight:700 !important;
    box-shadow:0 10px 24px rgba(255,106,0,.28) !important;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .tekk-header-desktop .tekk-catalog-btn:hover{
    transform:translateY(-1px); box-shadow:0 14px 32px rgba(255,106,0,.34) !important;
  }

  /* Телефон — акцент */
  .tekk-header-desktop .tekk-phone__num{
    font-size:16px !important; font-weight:800 !important; letter-spacing:.2px;
  }
  .tekk-header-desktop .tekk-phone__num:hover{ color:var(--accent, #FF6A00) !important; }
  .tekk-header-desktop .tekk-phone__hint{ opacity:.7; font-size:12.5px; }

  /* Адрес — пилюля. Показываем на десктопе */
  .tekk-header-desktop .tekk-address--inline{
    display:flex !important; align-items:center; gap:8px;
    margin-left:16px;
    background:#f7f7fb; border-radius:999px; padding:8px 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 16px rgba(17,24,39,.08);
    color:#111827; text-decoration:none; white-space:nowrap;
    transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
  }
  .tekk-header-desktop .tekk-address--inline:hover{
    background:#fff; transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(17,24,39,.12);
  }
  .tekk-header-desktop .tekk-address--inline .tekk-address__city{ font-weight:700; }

  /* Иконки — чипы с мягким hover (не меняем разметку) */
  .tekk-header-desktop .tekk-ico{
    position:relative;
    display:inline-flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:12px;
    background:#f7f7fb;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 16px rgba(17,24,39,.08);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  }
  .tekk-header-desktop .tekk-ico:hover{
    background:#fff; transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(17,24,39,.12);
  }
  .tekk-header-desktop .tekk-badge-count{
    position:absolute; transform: translate(12px,-10px);
    min-width:18px; height:18px; padding:0 5px;
    border-radius:999px; display:inline-grid; place-items:center;
    background: var(--accent, #FF6A00); color:#fff; font:700 11px/1 Inter, system-ui, Arial;
  }

  /* Точка-разделитель после блока контактов (тонкий штрих) */
  .tekk-header-desktop .tekk-contacts::after{
    content:""; width:6px; height:6px; border-radius:50%;
    background: rgba(17,24,39,.14); display:inline-block; margin:0 6px 0 10px;
  }
}

/* На мобилке всё как было: desktop-адрес не показываем */
@media (max-width:1024px){
  .tekk-address--inline{ display:none !important; }
}





/* Гасим всплывающие «баблы» корзины и избранного */
.t706__bubble-container,
.t1002__bubble-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}






/* Скрыть кнопку Jivo на мобильных устройствах */
@media (max-width: 768px) {
  #jivo_container,
  jdiv.__jivoMobileButton {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}





/* === Mobile header: логотип + подпись справа === */
@media (max-width: 767px){
  .tekk-mainbar .tekk-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  /* Лого: в строку с подписью, оставляем место под иконки справа */
  .tekk-logo{
    display:flex;
    align-items:center;
    gap:8px;
    /* ширина с запасом, чтобы справа поместились 3–4 иконки */
    max-width: calc(100% - 190px);
  }

  .tekk-logo img{
    height:26px;         /* логотип поменьше */
    width:auto;
  }

  /* Подпись показываем и разрешаем перенос на 2–3 строки */
  .tekk-logo__sub{
    display:block !important;   /* на случай, если где-то стоит display:none */
    font-size:10px;
    line-height:1.15;
    color:#6B7280;
    white-space:normal;          /* переносы разрешены */
    word-break:break-word;
    max-width:120px;             /* делит фразу на 2–3 строки */
  }

  /* группа иконок справа — фиксированной ширины */
  .tekk-actions{
    flex:0 0 180px;              /* можно 170–200 в зависимости от кол-ва иконок */
  }
}







/* =========================================
   TEKK header — шаблон под мобильные ширины
   Правь ТОЛЬКО значения custom-props (--logo-h, --sub-max, --sub-fs)
   ========================================= */

/* Базовая мобильная вёрстка */
@media (max-width: 767px){
  .tekk-mainbar .tekk-container{display:flex;align-items:center;gap:10px}
  .tekk-logo{display:flex;align-items:center;gap:8px;flex:0 1 auto}
  .tekk-logo img{
    height: var(--logo-h, 28px);   /* ← высота логотипа */
    width:auto
  }
  .tekk-logo__sub{
    display:block;
    color:#6B7280; font-weight:600; line-height:1.05;
    max-width: var(--sub-max, 90px); /* ← максимум ширины подписи */
    font-size: var(--sub-fs, 11px);  /* ← размер шрифта подписи */
    white-space:normal; overflow:hidden;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; /* максимум 3 строки */
  }
  /* иконки справа */
  .tekk-icons{margin-left:auto;display:flex;gap:8px;flex-shrink:0}
  .tekk-icons .ic{width:44px;height:44px}
}

/* ---------- Брейкпоинты (правь числа справа) ---------- */
/* 1) Очень узкие: 320–359px */
@media (max-width: 359px){
  :root{ --logo-h:18px; --sub-max:78px; --sub-fs:7px; }
  .tekk-icons .ic{width:40px;height:40px}
}

    /* 2) 360–374px (многие бюджетные Android) */
@media (min-width:360px) and (max-width:374px){
  :root{ --logo-h:18px; --sub-max:82px; --sub-fs:7px; }
}

/* 3) 375–389px (iPhone 8/SE2/SE3) */
@media (min-width:375px) and (max-width:389px){
  :root{ --logo-h:18px; --sub-max:86px; --sub-fs:10px; }
}

    /* 4) 390–411px (iPhone 12–15/Pro/Plus и похожие) */
@media (min-width:390px) and (max-width:411px){
  :root{ --logo-h:24px; --sub-max:92px; --sub-fs:10px; }
}

/* 5) 412–413px (часть Android, Galaxy S20…) */
@media (min-width:412px) and (max-width:413px){
  :root{ --logo-h:24px; --sub-max:96px; --sub-fs:10px; }
}

/* 6) 414–427px (iPhone Plus старые / некоторые Android) */
@media (min-width:414px) and (max-width:427px){
  :root{ --logo-h:24px; --sub-max:140px; --sub-fs:10px;}
}

/* 7) 428–479px (крупные телефоны/мини-планшеты) */
@media (min-width:428px) and (max-width:479px){
  :root{ --logo-h:30px; --sub-max:118px; --sub-fs:12px; }
  .tekk-icons .ic{width:46px;height:46px}
}

