/* ===== КАТАЛИКС: пользовательский CSS сайта (Настройки сайта → Вставка кода → Редактировать CSS) ===== */

/* 1. Иконка корзины в шапке — белая на тёмном фоне */
.t-menuwidgeticons__img_carticon,
.t-menuwidgeticons__link_cart { color: #ffffff !important; }
.t-menuwidgeticons__img_carticon svg path { stroke: #ffffff !important; }

/* 2. Корзина (блок ST100 в подвале) — панель справа вместо окна по центру */
/* Затемнение фона */
.t706__cartwin { background-color: rgba(0,0,0,.45) !important; overflow: hidden !important; }
/* Сама панель: 440 px на десктопе, на всю ширину на мобильном */
.t706__cartwin-content {
  position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
  margin: 0 !important; width: 440px !important; max-width: 100% !important; height: 100% !important;
  overflow-y: auto !important; border-radius: 0 !important; box-sizing: border-box !important;
  padding-top: 56px !important; animation: cxSlideIn .3s ease;
}
@keyframes cxSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
/* Крестик закрытия — тёмный, в правом верхнем углу панели */
.t706__cartwin-close { position: fixed !important; top: 8px !important; right: 8px !important; z-index: 10 !important; }
.t706__cartwin-close svg g { fill: #111111 !important; }
@media (max-width: 640px) { .t706__cartwin-content { width: 100% !important; } }

/* 3. Статьи: отступы заголовков и списков в текстовых блоках TX01 (класс .t004) */
.t004 .t-text h2 { margin: 48px 0 16px; font-size: 30px; line-height: 1.2; font-weight: 600; }
.t004 .t-text h2:first-child { margin-top: 0; }
.t004 .t-text h3 { margin: 28px 0 10px; font-size: 22px; line-height: 1.25; font-weight: 600; }
.t004 .t-text ul { margin: 12px 0 8px; padding-left: 22px; }
.t004 .t-text li { margin-bottom: 8px; }
@media (max-width: 640px) {
  .t004 .t-text h2 { font-size: 24px; margin-top: 36px; }
  .t004 .t-text h3 { font-size: 19px; }
}

/* 4. Мобильная читаемость: описание товара и подписи отзывов (было 12px) */
@media (max-width: 640px) {
  .t744__descr { font-size: 14px !important; line-height: 1.5 !important; }
  .t728__title { font-size: 14px !important; }
  .t728__descr { font-size: 13px !important; line-height: 1.4 !important; }
}

/* 5. Главная, первый экран: читаемость текста на светлом фото (мобильные) */
@media (max-width: 640px) {
  #rec6220462101 .t-hero__descr { opacity: 1 !important; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
  #rec6220462101 .t-hero__title { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
}

/* 6. Корзина на мобильных: крестик закрытия вместо чёрной полосы */
@media (max-width: 640px) {
  .t706__cartwin-close { background: #fff !important; border-radius: 50%; box-shadow: 0 1px 6px rgba(0,0,0,.15); width: 44px !important; height: 44px !important; left: auto !important; right: 8px !important; top: 6px !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; }
  .t706__cartwin-close svg g, .t706__cartwin-close svg path { fill: #111 !important; stroke: #111 !important; }
}

/* 7. Корзина: способы доставки — перенос строк и цена рядом с названием */
.t706 .t-radio__control { display: block !important; position: relative; padding-left: 32px; box-sizing: border-box !important; max-width: 100%; white-space: normal !important; }
.t706 .t-radio__control .t-radio__indicator { position: absolute; left: 0; top: -2px; margin: 0; }
.t706 .t-radio__control:has(input[data-delivery-price=" 600"])::after { content: "\00a0— 600 ₽"; font-weight: 600; }
.t706 .t-radio__control:has(input[value^="Самовывоз"])::after { content: "\00a0— бесплатно"; font-weight: 600; }

/* 8. Компактные отступы между блоками (цель: 30–45 px между блоками) */
/* Белые блоки: по 20 px сверху и снизу (между двумя блоками ~40 px), на телефоне по 15 px (~30 px) */
.t-rec[style*="padding-top"]:not([style*="padding-top:0px"]):not([style*="background-color"]),
.t-rec[style*="padding-top"]:not([style*="padding-top:0px"])[style*="background-color:#ffffff"] { padding-top: 20px !important; }
.t-rec[style*="padding-bottom"]:not([style*="padding-bottom:0px"]):not([style*="background-color"]),
.t-rec[style*="padding-bottom"]:not([style*="padding-bottom:0px"])[style*="background-color:#ffffff"] { padding-bottom: 20px !important; }
/* Блоки с цветным фоном: внутренний отступ 45 px, на телефоне 30 px */
.t-rec[style*="padding-top"]:not([style*="padding-top:0px"])[style*="background-color"]:not([style*="background-color:#ffffff"]) { padding-top: 45px !important; }
.t-rec[style*="padding-bottom"]:not([style*="padding-bottom:0px"])[style*="background-color"]:not([style*="background-color:#ffffff"]) { padding-bottom: 45px !important; }
/* Заголовок блока → содержимое: 40 px (было до 105 px) */
.t-section__topwrapper { margin-bottom: 40px !important; }
.t-section__bottomwrapper { margin-top: 40px !important; }
@media (max-width: 640px) {
  .t-rec[style*="padding-top"]:not([style*="padding-top:0px"]):not([style*="background-color"]),
  .t-rec[style*="padding-top"]:not([style*="padding-top:0px"])[style*="background-color:#ffffff"] { padding-top: 15px !important; }
  .t-rec[style*="padding-bottom"]:not([style*="padding-bottom:0px"]):not([style*="background-color"]),
  .t-rec[style*="padding-bottom"]:not([style*="padding-bottom:0px"])[style*="background-color:#ffffff"] { padding-bottom: 15px !important; }
  .t-rec[style*="padding-top"]:not([style*="padding-top:0px"])[style*="background-color"]:not([style*="background-color:#ffffff"]) { padding-top: 30px !important; }
  .t-rec[style*="padding-bottom"]:not([style*="padding-bottom:0px"])[style*="background-color"]:not([style*="background-color:#ffffff"]) { padding-bottom: 30px !important; }
  .t-section__topwrapper { margin-bottom: 30px !important; }
  .t-section__bottomwrapper { margin-top: 30px !important; }
}
/* Заголовок и подзаголовок блока (новые блоки Тильды): заголовок → текст 16 px, → содержимое 40 px */
.js-block-header-title { margin-bottom: 40px !important; }
.js-block-header-descr { margin-bottom: 40px !important; }
.js-block-header:has(.js-block-header-descr) .js-block-header-title { margin-bottom: 16px !important; }
@media (max-width: 640px) {
  .js-block-header-title, .js-block-header-descr { margin-bottom: 30px !important; }
  .js-block-header:has(.js-block-header-descr) .js-block-header-title { margin-bottom: 12px !important; }
}

/* 9. Акцентные элементы — фирменный синий #077694 (как кнопки) */
.t581__arrow-icon path, .t581__arrow-icon_mobile path { fill: #077694 !important; }
.t-slds__arrow svg polyline, .t-slds__arrow svg path { stroke: #077694 !important; }
.t-slds__bullet_active .t-slds__bullet_body, .t-slds__bullet:hover .t-slds__bullet_body { background-color: #077694 !important; }
.t-faq__icon-glyph path { stroke: #077694 !important; }
.t566__circle { border-color: #077694 !important; }
.t566__number { color: #077694 !important; }
.t959__card-arrow { background-color: #077694; border-radius: 50%; padding: 6px; box-sizing: content-box; }
.t959__card-arrow path { stroke: #ffffff !important; }
.t-divider { background-color: #077694 !important; }
.t-menuwidgeticons__icon-counter { background-color: #077694 !important; }

/* 10. Шапка закреплена (настройка блока шапки «Фиксация при скролле»); липкая панель покупки на странице товара опускается под шапку */
.t760__floating { top: 110px !important; }
/* Место под закреплённую шапку, чтобы она не перекрывала первый блок: 101 px на компьютере, 65 px на телефоне/планшете */
#t-header { height: 101px; }
@media (max-width: 980px) { #t-header { height: 65px; } }

/* 11. Подвал: логотип (блок IM01 в Footer, #rec6399600401) — слева, ширина 180 px, перекрашен в чёрный (исходный файл белый, для тёмной шапки) */
#rec6399600401 { padding-top: 45px !important; }
#rec6399600401 .t107 .t-align_center { text-align: left; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
#rec6399600401 .t107 img { width: 180px !important; max-width: 180px !important; margin: 0 !important; filter: brightness(0); }
@media (max-width: 640px) { #rec6399600401 { padding-top: 30px !important; } #rec6399600401 .t107 img { width: 150px !important; } }
