/* Дополнения к теме tkanimix (03.11.2026, статическая копия) */
:root { color-scheme: light only; }
#contact_form_pop { background: #fff; padding: 26px 22px 6px; border-top: 5px solid #fdbf1a; border-radius: 4px; }
#contact_form_pop .tk-pop-title { font: 600 24px/1.2 "Open Sans", Arial, sans-serif; color: #7d3c98; text-align: center; margin: 0 0 6px; }
#contact_form_pop .tk-pop-sub { font: 14px/1.4 "Open Sans", Arial, sans-serif; color: #666; text-align: center; margin: 0 0 4px; }
#contact_form_pop .swap-content-form-q { padding-top: 10px !important; }
#contact_form_pop .element-send-q { padding: 10px 34px !important; font-size: 15px !important; cursor: pointer; }
#contact_form_pop input.input-style-quasar:focus { border-color: #7d3c98 !important; outline: none; background: #fff !important; }
#tk-search-results a { color: #7d3c98; }
/* фото нет в архиве — ровная плашка с логотипом вместо пустой рамки (размер карточки сохраняется) */
img.tk-noimg { background: #f4f2f6 url(/wp-content/themes/tkanimix/images/logo.png) center / 45% auto no-repeat;
  border: 1px solid #e6e1ea; box-sizing: border-box; aspect-ratio: 1 / 1; height: auto; }
.sidebar img.tk-noimg { aspect-ratio: auto; width: 60px; height: 60px; }

/* ---------- телефон: шапка как в оригинале; кнопка «Меню» — круглая в правом верхнем углу (видна и при прокрутке),
   меню выпадает панелью поверх страницы; окно звонка — по ширине экрана ---------- */
@media (max-width: 760px) {
  #touch-menu.mobile-menu { position: fixed; top: 12px; right: 12px; margin: 0; width: 48px; height: 48px; padding: 0;
    font-size: 0; text-align: center; border-radius: 50%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
  #touch-menu.mobile-menu i.fa { display: none; }
  /* значок ☰ — три полоски стилями (не зависит от шрифта иконок); открыто — крестик */
  #touch-menu.mobile-menu::before, #touch-menu.mobile-menu::after { content: ""; position: absolute; left: 14px; right: 14px;
    height: 3px; background: #494949; border-radius: 2px; transition: transform .2s, box-shadow .2s; }
  #touch-menu.mobile-menu::before { top: 16px; box-shadow: 0 7px 0 #494949; }
  #touch-menu.mobile-menu::after { top: 30px; }
  #touch-menu.mobile-menu.tk-open::before { top: 23px; box-shadow: none; transform: rotate(45deg); }
  #touch-menu.mobile-menu.tk-open::after { top: 23px; transform: rotate(-45deg); }
  .menu-top { position: fixed; top: 70px; left: 12px; right: 12px; z-index: 999; max-height: calc(100vh - 90px);
    overflow-y: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  .menu-top li:first-child > a { border-radius: 10px 10px 0 0; }
  nav { height: 0; }
  #fancybox-wrap { width: calc(100vw - 24px) !important; left: 12px !important; padding: 0 !important; }
  #fancybox-outer, #fancybox-content { width: 100% !important; height: auto !important; box-sizing: border-box; }
  #fancybox-content > div { width: auto !important; height: auto !important; }
  #fancybox-close { top: 6px !important; right: 6px !important; }
  #contact_form_pop { padding: 16px 10px 4px; width: auto; box-sizing: border-box; }
  #contact_form_pop .quasar-form { width: auto !important; }
  #contact_form_pop .tk-pop-title { font-size: 21px; }
  #contact_form_pop .tk-pop-sub { font-size: 13px; }
}

/* телефон, меню v2 (Ник 03.11: «чтобы всё было видно сразу, без прокрутки до контактов»):
   компактные пункты, «Каталог» — раскрывающийся список (▾), плавная прокрутка внутри панели */
@media (max-width: 760px) {
  .menu-top { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0; }
  .menu-top > li > a { padding: 13px 18px !important; font-size: 16px !important; line-height: 1.25; }
  .menu-top .sub-menu { display: none !important; background: #f7c63d; }
  .menu-top li.tk-sub-open > .sub-menu { display: block !important; }
  .menu-top .sub-menu li a { padding: 10px 18px 10px 34px !important; font-size: 15px !important; border-left-color: #f7c63d !important;
    background: #f7c63d !important; }
  .menu-top > li.menu-item-has-children > a { position: relative; }
  .menu-top > li.menu-item-has-children > a::after { content: "▾"; position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%); font-size: 18px; transition: transform .2s; }
  .menu-top > li.tk-sub-open > a::after { transform: translateY(-50%) rotate(180deg); }
  .menu-top li:last-child > a { border-bottom: 0 !important; border-radius: 0 0 10px 10px; }
}
@media (max-width: 760px) {   /* открытое меню — поверх плашки про cookie */
  #touch-menu.mobile-menu { z-index: 2147483001; }
  .menu-top { z-index: 2147483000; }
}

/* компьютер: серая цитата не уходит под плавающий блок «Наши преимущества» — встаёт рядом с ним */
.entry-content blockquote { overflow: hidden; }
.img_advantages { margin-left: 20px; margin-bottom: 10px; }
