/* Мобильные заголовки: текст помещается целиком на 320-480 px, без скрытия и обрезки */
@media screen and (max-width: 480px) {
  /* Главная: элемент заголовка был шире монтажной области и обрезался по краям */
  #rec582647055 .tn-elem__5826470551682385027929,
  #rec582647055 .tn-elem__5826470551682385103696 {
    left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
  }
  #rec582647055 .tn-elem__5826470551682385027929 .tn-atom,
  #rec582647055 .tn-elem__5826470551682385103696 .tn-atom {
    width: 100% !important;
    font-size: 5.1vw !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  /* Контакты: слово ДАЛЬИНТЕРРАДИО не помещалось в колонку */
  #rec627637263 h1.t017__title {
    font-size: 6.1vw !important;
    line-height: 1.25 !important;
  }
}
/* Кнопка запроса в карточке товара: длинный текст переносится, а не обрезается */
.t-store__card__btn,
.t-store__card__btn .t-btnflex__text,
.t-store__card__btn-text {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.t-store__card__btn {
  height: auto !important;
  min-height: 40px !important;
  line-height: 1.25 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Короткая форма на /about: кнопка выходила за нижнюю границу блока */
@media screen and (min-width: 960px) {
  #rec627633619 .t396__artboard {
    height: 960px !important;
  }
}

@media screen and (max-width: 480px) {
  #rec627633619 .t396__artboard { height: 1740px !important; }
}
@media screen and (min-width: 481px) and (max-width: 959px) {
  #rec627633619 .t396__artboard { height: 1160px !important; }
}



/* Плитки разделов на главной: длинное название упиралось в стрелку на 320 px */
@media screen and (max-width: 480px) {
  #rec584821514 .t-card__title,
  #rec584821514 .t-card__title .t-card__link { overflow-wrap: break-word; }
}
@media screen and (max-width: 360px) {
  #rec584821514 .t-card__title,
  #rec584821514 .t-card__title .t-card__link {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
}

/* Заголовки блоков TL03: длинные слова не помещались на узких экранах */
@media screen and (max-width: 640px) {
  .t017__title, .t017 .t-title {
    font-size: clamp(16px, 6.2vw, 30px) !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
  }
}

/* Блок с цифрами «О компании»: единая мобильная раскладка на /about и на главной */
@media screen and (max-width: 480px) {
  #rec627631495 .t396__artboard { height: 1000px !important; }
  #rec609510948 .t396__artboard { height: 1090px !important; }
  #rec627631495 .tn-elem, #rec609510948 .tn-elem { box-sizing: border-box !important; }
  #rec627631495 .tn-elem__6276314951682763069174,
  #rec609510948 .tn-elem__6095109481682763069174 { left:20px !important; top:130px !important; width:calc(100% - 40px) !important; }
  #rec627631495 .tn-elem__6276314951682763069174 .tn-atom,
  #rec609510948 .tn-elem__6095109481682763069174 .tn-atom { font-size:7.6vw !important; letter-spacing:0 !important; white-space:normal !important; }
  #rec627631495 .tn-elem__6276314951682763179496,
  #rec609510948 .tn-elem__6095109481682763179496 { left:20px !important; top:190px !important; width:calc(100% - 40px) !important; }
  #rec627631495 .tn-elem__6276314951682392228746,
  #rec609510948 .tn-elem__6095109481682392228746 { left:20px !important; top:400px !important; }
  #rec627631495 .tn-elem__6276314951687866516649,
  #rec609510948 .tn-elem__6095109481687866516649 { left:72px !important; top:420px !important; }
  #rec627631495 .tn-elem__6276314951687866532759,
  #rec609510948 .tn-elem__6095109481687866532759 { left:20px !important; top:462px !important; width:calc(100% - 40px) !important; }
  #rec627631495 .tn-elem__6276314951682392264241,
  #rec609510948 .tn-elem__6095109481682392264241 { left:20px !important; top:540px !important; }
  #rec627631495 .tn-elem__6276314951687866467910,
  #rec609510948 .tn-elem__6095109481687866467910 { left:20px !important; top:602px !important; width:calc(100% - 40px) !important; }
  #rec627631495 .tn-elem__6276314951682392276502,
  #rec609510948 .tn-elem__6095109481682392276502 { left:20px !important; top:730px !important; }
  #rec627631495 .tn-elem__6276314951687866605475,
  #rec609510948 .tn-elem__6095109481687866605475 { left:20px !important; top:792px !important; width:calc(100% - 40px) !important; }
  #rec627631495 .tn-elem__6276314951682392150859,
  #rec609510948 .tn-elem__6095109481682392150859 { left:20px !important; top:528px !important; width:54px !important; }
  #rec627631495 .tn-elem__6276314951687866602847,
  #rec609510948 .tn-elem__6095109481687866602847 { left:20px !important; top:718px !important; width:54px !important; }
  #rec627631495 .tn-elem__6276314951682392108039,
  #rec609510948 .tn-elem__6095109481682392108039 { left:20px !important; width:calc(100% - 40px) !important; }
  #rec609510948 .tn-elem__6095109481682392316865 { left:20px !important; top:980px !important; }
  #rec627633619 .tn-elem__6276336191682387175856,
  #rec627633619 .tn-elem__6276336191682393595359,
  #rec627633619 .tn-elem__6276336191682386962187,
  #rec627633619 .tn-elem__6276336191682387017689 { left:20px !important; width:calc(100% - 40px) !important; }
  #rec627633619 .tn-elem__6276336191682387175856 .tn-atom { width:100% !important; }
  #rec627633619 .tn-elem__6276336191682393595359 .tn-atom { font-size:7.2vw !important; }
}

/* Псевдоним: отдельные блоки жёстко просят шрифт по старому имени Montserrat.
   Отдаём им те же локальные файлы, чтобы не было подмены на системный шрифт. */
@font-face{font-family:'Montserrat';src:url('https://static.tildacdn.com/tild3261-6630-4361-a664-613034623638/Montserrat-300.woff') format('woff');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Montserrat';src:url('https://static.tildacdn.com/tild3666-6332-4437-b732-333761643162/Montserrat-400.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Montserrat';src:url('https://static.tildacdn.com/tild3262-3233-4639-a437-363764366466/Montserrat-500.woff') format('woff');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Montserrat';src:url('https://static.tildacdn.com/tild6664-6439-4530-b862-396234363733/Montserrat-600.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Montserrat';src:url('https://static.tildacdn.com/tild3962-3464-4235-a562-366165353730/Montserrat-700.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}

/* Запрос: на мобильных вместо плавающего кружка нижняя панель,
   под неё резервируется место, виджет cookie поднимается выше. */
@media screen and (max-width: 640px) {
  .t706__carticon.t706__carticon_showed {
    top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
    width: 100% !important; height: 56px !important; border-radius: 0 !important;
    background: #121A35 !important; color: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,.18) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 16px !important; box-sizing: border-box !important; overflow: hidden !important;
  }
  .t706__carticon.t706__carticon_showed .t706__carticon-wrapper {
    display: flex !important; align-items: center !important; gap: 10px !important;
    width: auto !important; height: 24px !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important; overflow: visible !important;
    color: #fff !important;
  }
  .t706__carticon.t706__carticon_showed .t706__carticon-imgwrap { display: none !important; }
  .t706__carticon.t706__carticon_showed .t706__carticon-wrapper::before {
    content: ''; flex: 0 0 22px; width: 22px; height: 22px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='4'%3E%3Cpath d='M44 18h10v45H10V18h10z'/%3E%3Cpath d='M22 24V11c0-5.523 4.477-10 10-10s10 4.477 10 10v13'/%3E%3C/svg%3E") center/22px 22px no-repeat;
  }
  .t706__carticon.t706__carticon_showed .t706__carticon-wrapper::after {
    content: 'Мой запрос'; font-size: 16px; font-weight: 600; white-space: nowrap; line-height: 1; color: #fff;
  }
  .t706__carticon.t706__carticon_showed .t706__carticon-counter {
    position: static !important; margin: 0 !important; flex: 0 0 auto !important;
  }
  html.dir-cart-shown body { padding-bottom: 60px !important; }
  html.dir-cart-shown .t972__widget-button { bottom: 70px !important; }
}
.t706__carticon:focus-visible { outline: 2px solid #fff !important; outline-offset: -4px !important; }

/* Настройки cookie: переключатель доступен с клавиатуры, фокус виден. */
.t972__toggle-label { position: relative !important; }
.t972__toggle-label .t972__toggle-input {
  display: block !important; position: absolute !important; left: 0; top: 0;
  width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
  opacity: 0 !important; z-index: 1; cursor: pointer;
}
.t972__toggle-input:focus-visible ~ .t972__toggle-container { outline: 2px solid #121A35 !important; outline-offset: 2px !important; }
.t972__confirm-btn:focus-visible, .t972__category-btn:focus-visible { outline: 2px solid #121A35 !important; outline-offset: 2px !important; }
