:root{
  --ts-primary:        #2F5BEA;
  --ts-primary-hover:  #2449C9;
  --ts-primary-soft:   #EAF0FF;
  --ts-primary-line:   #CFDCFF;
  --ts-grad:           #2F5BEA;            /* сплошной цвет вместо градиента — спокойнее */
  --ts-coral:          #E0530C;     /* оранжевый — цвет действия: «Разместить», «Продолжить» */
  --ts-coral-soft:     #FFF0E6;
  --ts-mint:           #15803D;
  --ts-mint-soft:      #E6F6EC;
  --ts-sun-soft:       #FFF6DB;
  --ts-ink:            #101828;
  --ts-ink-2:          #344054;
  --ts-muted:          #667085;
  --ts-line:           #E7EBF2;
  --ts-line-strong:    #D9DFEA;
  --ts-gray:           #F3F5F9;            /* фон плиток и полей, с лёгким фиолетовым оттенком */
  --ts-gray-hover:     #E9EDF4;
  --ts-bg:             #FFFFFF;
  --ts-surface:        #FFFFFF;
  --ts-danger:         #E5484D;
  --ts-font:           'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ts-font-display:   'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ts-r-sm: 10px; --ts-r: 12px; --ts-r-lg: 16px; --ts-r-xl: 20px;
  --ts-shadow:    0 6px 20px -8px rgba(16,24,40,.18);
  --ts-shadow-lg: 0 16px 40px -14px rgba(16,24,40,.22);
  /* совместимость со страницей «Безопасные сделки» и старыми правками */
  --ts-teal: var(--ts-mint); --ts-teal-soft: var(--ts-mint-soft); --ts-primary-bright: var(--ts-coral);
  --ts-shadow-sm: 0 1px 2px rgba(16,24,40,.06);
}

/* Переменные других страниц (тарифы, аукционы, блог, поддержка, магазины, профиль, продвижение) */
html:root{
  --primary: #2F5BEA; --primary-hover: #2449C9; --primary-dark: #2449C9;
  --primary-light: #EAF0FF; --primary-soft: #EAF0FF; --primary-bg: #F3F5F9; --primary-glow: rgba(47,91,234,.22);
  --accent: #F26419; --accent-hover: #DE5410; --accent-light: #FFF0E6; --accent-soft: #FFF0E6;
  --blue: #2F5BEA; --blue-dark: #2449C9; --blue-soft: #EAF0FF; --blue-light: #EAF0FF;
  --purple: #4C7DFF; --purple-light: #EAF0FF; --orange: #FF8A5B; --orange-light: #FFF0E8;
  --green: #15803D; --green-light: #E6F6EC; --success: #15803D; --success-light: #E6F6EC;
  --dark: #101828; --dark-card: #1D2939; --text-dark: #101828; --text-main: #101828;
  --text-muted: #667085; --text-soft: #667085;
  --bg-body: #FFFFFF; --background: #FFFFFF; --bg: #FFFFFF; --border: #E7EBF2; --line: #E7EBF2;
  --shadow-md: 0 6px 20px -8px rgba(16,24,40,.18);
}

/* ---------- База ---------- */
body{ font-family: var(--ts-font); color: var(--ts-ink); background-color: #fff; -webkit-font-smoothing: antialiased; }
a{ color: inherit; }
a:hover{ color: var(--ts-primary); }
h1, h2, .title-h1, .title-h2, .title-h1-adaptive{ font-family: var(--ts-font); font-weight: 800; letter-spacing: -.02em; color: var(--ts-ink); }
h3, h4, .title-h3, .title-h4{ font-weight: 800; }
.title-h1-adaptive{ font-size: clamp(22px, 2.6vw, 30px) !important; }
::selection{ background: var(--ts-primary); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline: 3px solid var(--ts-primary-line) !important; outline-offset: 2px;
}
.main-wrapper{ margin-top: 20px; margin-bottom: 56px; }
.container{ max-width: 1320px; }

/* ---------- Кнопки: сплошные, скругление 12px ---------- */
.btn-custom, .btn-custom-mini{ font-weight: 700; border-radius: var(--ts-r); transition: background-color .15s ease, box-shadow .15s ease; }
.btn-custom{ min-height: 46px; }
.btn-custom:active, .btn-custom-mini:active{ transform: scale(.98); }
.button-color-scheme1{ background: var(--ts-primary) !important; color: #fff !important; box-shadow: none; }
.button-color-scheme1:hover{ background: var(--ts-primary-hover) !important; opacity: 1; }
.button-color-scheme1-light{ background: var(--ts-primary-soft); color: var(--ts-primary) !important; }
.button-color-scheme2{ background: var(--ts-gray); color: var(--ts-ink) !important; box-shadow: none; }
.button-color-scheme2:hover{ background: var(--ts-gray-hover); opacity: 1; }
.button-color-scheme3{ background: var(--ts-ink); }
.button-color-scheme3:hover{ background: var(--ts-ink-2); color: #fff !important; opacity: 1; }
.button-color-scheme5{ background: var(--ts-mint); }
.button-color-scheme6{ background: var(--ts-danger); }
.button-color-scheme7{ background: var(--ts-coral); }

/* ---------- Поля ---------- */
.form-control{ background: var(--ts-gray) !important; border: 1.5px solid transparent !important; border-radius: var(--ts-r) !important; }
.form-control:hover{ background: var(--ts-gray-hover) !important; }
.form-control:focus{ background: #fff !important; border-color: var(--ts-primary) !important; box-shadow: 0 0 0 3px var(--ts-primary-soft) !important; }

/* ---------- Шапка ---------- */
.header-wow{ background: #fff; }
.header-wow-top{ height: 40px; }
.header-wow-top-bg-color{ background: #fff; }
.header-wow-top-list-item, .header-wow-top-bg-color .header-wow-top-list-item{ color: var(--ts-ink-2) !important; font-size: 13px; font-weight: 500; }
.header-wow-top-list-item:hover{ color: var(--ts-primary) !important; }
.header-wow-top-list-icon-item{ color: var(--ts-ink) !important; }
.header-wow-sticky{ position: sticky; top: 0; z-index: 50; background: #fff; padding: 10px 0 12px; border-bottom: 1px solid var(--ts-line); }
.header-wow-mobile{ background: #fff; border-bottom: 1px solid var(--ts-line); }
.h-logo{ max-width: 100%; overflow: hidden; }
.h-logo img{ width: auto !important; max-width: 100%; max-height: 38px; object-fit: contain; }
.h-logo-mobile img{ width: auto; max-width: 140px; max-height: 30px; object-fit: contain; }

/* «Все категории» */
.header-button-menu-catalog, .header-button-menu-catalog.button-color-scheme1{
  background: var(--ts-primary) !important; color: #fff !important; border-radius: var(--ts-r) !important;
  font-weight: 700; min-height: 44px; padding: 0 18px; box-shadow: none !important;
}
.header-button-menu-catalog:hover{ background: var(--ts-primary-hover) !important; }

/* Поиск: поле + кнопка «Найти», как привычно */
.live-search-container{ display: flex; align-items: center; gap: 14px; }
.live-search-form{ position: relative; flex: 1; display: flex; align-items: stretch; }
.live-search-form-input{
  height: 44px; border-radius: var(--ts-r) 0 0 var(--ts-r); padding-left: 42px; padding-right: 12px;
  background: #fff; border: 2px solid var(--ts-primary) !important; border-right: 0 !important; font-weight: 500; font-size: 15px;
}
.live-search-form-input:focus{ border-color: var(--ts-primary) !important; box-shadow: none; background: #fff; }
.live-search-form-icon{ color: var(--ts-muted); z-index: 2; }
.ts-search-submit{
  flex: none; height: 44px; padding: 0 24px; border: 0; border-radius: 0 var(--ts-r) var(--ts-r) 0;
  background: var(--ts-primary); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
}
.ts-search-submit:hover{ background: var(--ts-primary-hover); }
.live-search-container-geo{ position: static !important; transform: none !important; }
.live-search-container-geo-name{ font-weight: 600; color: var(--ts-ink); white-space: nowrap; }
.live-search-results{ border-radius: var(--ts-r-lg); box-shadow: var(--ts-shadow-lg); border: 1px solid var(--ts-line); }
/* мобильный поиск — без кнопки, серое поле */
.header-wow-mobile .live-search-form-input{ border: 0 !important; border-radius: var(--ts-r); background: var(--ts-gray); }

/* Кнопки шапки */
.header-wow-sticky-add{
  background: linear-gradient(135deg, #F57A2E, #E0530C) !important; color: #fff !important; border-radius: var(--ts-r);
  font-weight: 700; width: auto; padding: 0 18px; gap: 6px; box-shadow: none;
}
.header-wow-sticky-add:hover{ background: #DE5410 !important; opacity: 1; }
.header-wow-sticky-auth{ border-radius: var(--ts-r); font-weight: 700; background: var(--ts-gray) !important; color: var(--ts-ink) !important; box-shadow: none; }
.header-wow-sticky-auth:hover{ background: var(--ts-gray-hover) !important; }
.label-circle-count, .circle-indicator-count{ background: var(--ts-coral) !important; color: #fff !important; }

/* Меню каталога */
.big-catalog-menu-container{ border-radius: 0 0 var(--ts-r-xl) var(--ts-r-xl); box-shadow: var(--ts-shadow-lg); }
.big-catalog-menu-category-item{ border-radius: var(--ts-r); font-weight: 600; }
.big-catalog-menu-category-item.active, .big-catalog-menu-category-item:hover{ background: var(--ts-gray) !important; color: var(--ts-ink) !important; }
.big-catalog-menu-content-subcategories a:hover{ color: var(--ts-primary) !important; }

/* ---------- Заголовки секций ---------- */
.bold-title-and-link{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bold-title-and-link > span, .bold-title-and-link .title-h2{ font-size: clamp(20px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; }
.bold-title-and-link a, .bold-title-and-link a.btn-custom-mini{
  background: none !important; color: var(--ts-primary) !important; font-weight: 700; font-size: 14px; padding: 0; min-height: 0; box-shadow: none !important;
}
.home-widget-sections > section{ margin-bottom: 36px; }

/* ---------- Компактный баннер «Разместить» (вместо большого героя) ---------- */
.ts-hero{
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 0 0 24px; padding: 20px 24px; border-radius: var(--ts-r-xl);
  background: linear-gradient(100deg, #EAF0FF 0%, #FFF3EA 100%); color: var(--ts-ink); overflow: hidden;
}
.ts-hero-copy{ min-width: 0; flex: 1 1 380px; }
.ts-hero-title{ font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 4px; }
.ts-hero-title span{ color: var(--ts-primary); }
.ts-hero-text{ margin: 0; color: var(--ts-ink-2); font-size: 14px; max-width: 620px; }
.ts-hero-actions{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ts-btn-lg{ min-height: 46px !important; padding: 0 20px !important; font-size: 15px !important; }
.ts-hero-link{ color: var(--ts-ink-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.ts-hero-link i{ color: var(--ts-mint); font-size: 18px; }
.ts-hero-link:hover{ color: var(--ts-primary); }

/* ---------- Плитки категорий: серые, текст слева сверху, картинка справа снизу ---------- */
.widget-categories-container{
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  grid-template-rows: none !important; grid-auto-flow: row !important; gap: 8px !important; overflow: visible !important;
}
.widget-categories-container .home-widget-categories-item,
.widget-categories-container .home-widget-categories-item:nth-child(n){
  display: block !important; position: relative !important; overflow: hidden !important;
  grid-row: auto !important; grid-column: auto !important;
  height: 104px !important; min-width: 0 !important; max-width: none !important; padding: 12px 14px !important;
  background: var(--ts-gray) !important; border: 0 !important; border-radius: var(--ts-r-lg) !important;
  box-shadow: none !important; transform: none !important; text-align: left !important;
}
.widget-categories-container .home-widget-categories-item::before,
.widget-categories-container .home-widget-categories-item::after{ content: none !important; display: none !important; }
.widget-categories-container .home-widget-categories-item div{
  position: relative !important; z-index: 2; display: block !important; max-width: 78% !important; min-height: 0 !important;
  font-size: 14px !important; font-weight: 600 !important; line-height: 1.25 !important; color: var(--ts-ink) !important;
  -webkit-line-clamp: unset; overflow: visible; word-break: normal; overflow-wrap: normal; hyphens: manual;
}
.widget-categories-container .home-widget-categories-item img{
  display: block !important; position: absolute !important; right: 6px !important; bottom: 4px !important;
  width: auto !important; height: 52px !important; padding: 0 !important; background: none !important;
  border-radius: 0 !important; box-shadow: none !important; filter: none !important; order: 0 !important;
  transition: transform .2s ease;
}

/* ---------- Каталог: категории — простые серые «таблетки» ---------- */
.widget-categories-or-subcategories{ display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-bottom: 24px !important; }
.widget-categories-or-subcategories a,
.widget-categories-or-subcategories a:nth-child(n){
  flex: 0 0 auto !important; width: auto !important; max-width: 100% !important; min-height: 0 !important;
  display: inline-flex !important; align-items: center; padding: 9px 14px !important; border-radius: var(--ts-r) !important;
  background: var(--ts-gray) !important; border: 0 !important; box-shadow: none !important; transform: none !important;
}
.widget-categories-or-subcategories a::before{ content: none !important; display: none !important; }
.widget-categories-or-subcategories a img{ display: none !important; }
.widget-categories-or-subcategories a div{ color: var(--ts-ink) !important; font-size: 14px; font-weight: 600; white-space: nowrap; }
.widget-categories-or-subcategories a:hover{ background: var(--ts-gray-hover) !important; }
.widget-categories-or-subcategories a.active{ background: var(--ts-primary) !important; }
.widget-categories-or-subcategories a.active div{ color: #fff !important; }
.widget-categories-or-subcategories-counter{ background: var(--ts-coral) !important; top: -7px !important; right: -4px !important; }

/* ---------- Промо-баннеры ---------- */
.widget-promo-banners-container{ overflow: visible; }
.widget-promo-banners-swiper{ padding: 2px; margin: -2px; }
.widget-promo-banner-item{
  width: 220px !important; height: 150px !important; padding: 14px 16px !important; border-radius: var(--ts-r-lg) !important;
  overflow: hidden; display: block !important; box-shadow: none !important; transition: transform .15s ease;
}
.widget-promo-banner-item:hover{ transform: translateY(-2px); }
.widget-promo-banner-item::before, .widget-promo-banner-item::after{ content: none !important; }
.widget-promo-banner-item:nth-child(5n+1){ background: #3D6BF2 !important; }
.widget-promo-banner-item:nth-child(5n+2){ background: #FF7A3D !important; }
.widget-promo-banner-item:nth-child(5n+3){ background: #12A150 !important; }
.widget-promo-banner-item:nth-child(5n+4){ background: #3D7BFA !important; }
.widget-promo-banner-item:nth-child(5n+5){ background: #FF9A4D !important; }
.widget-promo-banner-item h4, .widget-promo-banner-item p{ color: #fff !important; position: relative; z-index: 1; max-width: 100% !important; text-wrap: balance; }
.widget-promo-banner-item h4{ font-family: var(--ts-font) !important; font-size: 16px !important; font-weight: 800 !important; line-height: 1.2; margin-bottom: 4px !important; }
.widget-promo-banner-item p{ font-size: 13px !important; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-promo-banner-item img{ height: 78px !important; right: 8px !important; bottom: 6px !important; transform: none; filter: none; }

/* ---------- Карточка объявления в сетке ---------- */
.container-item-grid{
  display: block; color: var(--ts-ink); background: transparent; border: 0; border-radius: 0; padding: 0;
  margin-bottom: 22px; box-shadow: none; transform: none;
}
.container-item-grid:hover{ box-shadow: none; transform: none; }
.container-item-images{ border-radius: var(--ts-r-lg); background-color: var(--ts-gray); }
.container-item-grid-content{ padding: 0 2px; }
.container-item-grid-content-title{ font-size: 15px; font-weight: 500; color: var(--ts-primary); margin-top: 8px; line-height: 1.3; }
.container-item-grid:hover .container-item-grid-content-title{ color: var(--ts-coral); }
.container-item-grid-content-prices{ margin-top: 4px; }
.container-item-grid-content-prices .card-item-price-now{ font-size: 17px; font-weight: 800; color: var(--ts-ink); letter-spacing: -.01em; }
.container-item-grid-content-prices .card-item-price-old{ color: var(--ts-muted); font-size: 14px; }
.container-item-grid-content-additionally{ color: var(--ts-muted); font-size: 13px; margin-top: 4px; }
/* порядок как привычно: название, цена, место */
.container-item-grid-content{ display: flex; flex-direction: column; }
.container-item-grid-content-title{ order: 1; }
.container-item-grid-content-prices{ order: 2; }
.container-item-grid-content-rating{ order: 3; }
.container-item-grid-content-additionally{ order: 4; }
.container-item-grid-highlight .container-item-images{ box-shadow: 0 0 0 3px var(--ts-coral); }
.container-item-grid-highlight .container-item-grid-content-prices{ background: transparent !important; padding: 0; }
.container-item-grid-content-title-skeleton, .container-item-grid-content-prices-skeleton{ background-color: var(--ts-gray); border-radius: 6px; }
.container-load-items .text-start p{ padding: 28px; border-radius: var(--ts-r-lg); background: var(--ts-gray); color: var(--ts-muted); font-weight: 600; text-align: center; }

/* ---------- Каталог ---------- */
.breadcrumb{ color: var(--ts-muted); font-weight: 500; }
.breadcrumb a{ color: var(--ts-muted); }
.breadcrumb a:hover{ color: var(--ts-primary) !important; }
.catalog-sidebar .params-form, .params-form-sticky{ background: var(--ts-gray); border: 0; border-radius: var(--ts-r-xl); padding: 18px; box-shadow: none; }
.catalog-sidebar .params-form .form-control, .params-form-sticky .form-control{ background: #fff !important; }
.catalog-container-links-inline-item{ font-weight: 600; }
.catalog-container-links-inline-item.active, .catalog-action-change-view-item.active{ color: var(--ts-primary) !important; }
.home-seo-text{ background: var(--ts-gray); border-radius: var(--ts-r-xl); padding: clamp(20px, 3vw, 32px); color: var(--ts-ink-2); line-height: 1.7; }

/* ---------- Страница объявления ---------- */
.ad-card-sidebar{ background: #fff; border: 1px solid var(--ts-line); border-radius: var(--ts-r-xl); box-shadow: var(--ts-shadow); padding: 22px; }
.ad-card-prices .card-item-price-now{ font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.ad-card-action-buttons .btn-custom{ width: 100%; }
.ad-card-user{ padding-top: 14px; border-top: 1px solid var(--ts-line); }
.ad-card-content-info-box, .ad-card-list-properties{ background: var(--ts-gray); border-radius: var(--ts-r-lg); padding: 18px; }
.ad-card-info-stat{ color: var(--ts-muted); font-size: 13px; }
.my-tabs-items-big .my-tabs-item{ font-size: 22px; color: var(--ts-muted); }
.my-tabs-items-big .my-tabs-item.active{ color: var(--ts-ink); }
.my-tabs-item span{ color: var(--ts-coral) !important; }

/* ---------- Блог ---------- */
.blog-grid-item-image{ border-radius: var(--ts-r-lg); overflow: hidden; }
.blog-grid-item-title{ font-weight: 700; color: var(--ts-ink); }
.blog-grid-item-category{ color: var(--ts-primary); font-weight: 600; }

/* ---------- «Как продать» и нижний призыв ---------- */
.ts-howto-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ts-howto-step{ padding: 20px; border-radius: var(--ts-r-xl); background: var(--ts-gray); }
.ts-howto-step b{ display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; background: var(--ts-primary); color: #fff; font-size: 16px; }
.ts-howto-step h3{ font-size: 16px; margin: 0 0 4px; }
.ts-howto-step p{ margin: 0; color: var(--ts-muted); font-size: 14px; line-height: 1.5; }
.ts-cta{
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--ts-r-xl); background: var(--ts-primary); color: #fff;
}
.ts-cta h2{ font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 4px; color: #fff; }
.ts-cta p{ margin: 0; color: rgba(255,255,255,.85); }
.ts-cta .button-color-scheme1{ background: #fff !important; color: var(--ts-primary) !important; }
.ts-cta .button-color-scheme1:hover{ background: #EAF0FF !important; }

/* ---------- Блок «Скачайте приложение» ---------- */
.section-promo-download-app{ background: var(--ts-primary); border-radius: var(--ts-r-xl); }

/* ---------- Подвал: светлый ---------- */
footer{ background: var(--ts-gray); color: var(--ts-muted); border-top: 0; border-radius: 0; margin-top: 24px; }
.market-footer__column a, .market-footer__legal a{ color: var(--ts-ink-2); }
.market-footer__column a:hover, .market-footer__legal a:hover{ color: var(--ts-primary); }
.market-footer__column h3{ color: var(--ts-ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.market-footer__description{ color: var(--ts-muted); }
.market-footer__bottom{ border-top: 1px solid var(--ts-line-strong); }
.market-footer__logo{ display: inline-flex; background: none; padding: 0; }
.market-footer__logo img{ width: auto; max-width: 170px; max-height: 34px; object-fit: contain; filter: none; }

/* ---------- Мобильное меню ---------- */
.main-floating-menu{ border-radius: 0; border-top: 1px solid var(--ts-line); box-shadow: 0 -4px 16px -8px rgba(16,24,40,.15); }
.main-floating-menu a{ color: var(--ts-muted); }
.main-floating-menu a:hover, .main-floating-menu a.active{ color: var(--ts-primary); }
.main-floating-menu a[href*="ad/create"] > div > span:first-child,
.main-floating-menu a[href*="ad-create"] > div > span:first-child{
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--ts-coral); color: #fff;
}
.mobile-grid-menu-category-item{ border-radius: var(--ts-r-lg) !important; background-color: var(--ts-gray) !important; font-weight: 600; }

/* ---------- Инфостраницы (О нас, правила, политика, cookie) ---------- */
.ts-doc{ max-width: 860px; margin: 4px auto 0; background: #fff; border: 0; padding: clamp(4px, 2vw, 16px) 0; line-height: 1.75; color: var(--ts-ink-2); box-shadow: none; }
.ts-doc h1{ font-size: clamp(26px, 3vw, 34px) !important; margin: 0 0 8px !important; }
.ts-doc-eyebrow{ display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--ts-primary-soft); color: var(--ts-primary); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ts-doc h2{ font-size: 21px; margin: 28px 0 8px; }
.ts-doc h3{ font-size: 18px; margin: 22px 0 8px; }
.ts-doc p{ margin: 0 0 14px; }
.ts-doc ul, .ts-doc ol{ padding-left: 22px; margin: 0 0 14px; }
.ts-doc a{ color: var(--ts-primary); text-decoration: underline; text-underline-offset: 3px; }
.ts-doc-lead{ font-size: 17px; color: var(--ts-muted); margin-bottom: 22px !important; }
.ts-rules{ counter-reset: tsrule; list-style: none; padding: 0 !important; margin: 20px 0 0 !important; display: grid; gap: 10px; }
.ts-rules li{ counter-increment: tsrule; position: relative; padding: 16px 18px 16px 62px; background: var(--ts-gray); border-radius: var(--ts-r-lg); }
.ts-rules li::before{ content: counter(tsrule); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--ts-primary); color: #fff; font-weight: 800; font-size: 14px; }
.ts-callout{ margin-top: 20px; padding: 16px 18px; border-radius: var(--ts-r-lg); background: var(--ts-mint-soft); color: #075E50; }

/* ---------- Поддержка ---------- */
.support-wrapper .hero{ background: linear-gradient(120deg, #2449C9, #3D6BF2) !important; border-radius: 0 0 var(--ts-r-xl) var(--ts-r-xl); }
.support-wrapper .hero h1{ color: #fff !important; }
.support-wrapper .hero__links a{ color: var(--ts-primary) !important; border-radius: var(--ts-r) !important; padding: 12px 18px !important; }
.support-wrapper .contact-card--main{ background: linear-gradient(135deg, #2449C9, #3D6BF2) !important; }

/* ---------- Зашитые синие блоки других страниц ---------- */
.hero-card, .featured-image{ background: linear-gradient(135deg, #2449C9, #3D6BF2) !important; }
.featured-image.green{ background: linear-gradient(135deg, #15803D, #22C55E) !important; }
.post-image{ background: linear-gradient(135deg, #3D6BF2, #2449C9) !important; }
.post-image.orange{ background: linear-gradient(135deg, #FFB547, #FF8A3D) !important; }
.seller-banner, .balance-card, .user-card-home-sections .profile-card__cover{ border-color: var(--ts-primary-line) !important; background: linear-gradient(120deg, #2449C9, #3D6BF2) !important; }
.payment-method--card .payment-method__icon{ background: var(--ts-primary) !important; }

/* ---------- Cookie-баннер ---------- */
.footer-cookie-container{ border-radius: var(--ts-r-xl) !important; background: var(--ts-ink) !important; }

/* =====================================================================
   Подача объявления (/ad/create)
   ===================================================================== */
.ts-create{ margin-top: 16px; }
.ts-create-head{
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 24px;
  background: linear-gradient(115deg, #EAF0FF 0%, #F4F7FF 45%, #FFF3EA 100%);
}
.ts-create-head::after{ content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -80px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242,100,25,.22), transparent 65%); }
.ts-create-eyebrow{ display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ts-primary); font-size: 13px; font-weight: 700; box-shadow: 0 4px 12px -6px rgba(30,58,158,.35); }
.ts-create-head h1{ margin: 12px 0 6px !important; }
.ts-create-sub{ margin: 0; color: var(--ts-ink-2); max-width: 560px; }
.ts-create-steps{ list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ts-create-steps li{ display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ts-muted); font-size: 13px; font-weight: 600; }
.ts-create-steps li b{ width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ts-gray); color: var(--ts-muted); font-size: 12px; }
.ts-create-steps li.is-active{ background: #fff; color: var(--ts-ink); box-shadow: 0 6px 16px -8px rgba(30,58,158,.4); }
.ts-create-steps li.is-active b{ background: var(--ts-primary); color: #fff; }
.ts-create-steps li.is-done b{ background: #15803D; color: #fff; }
.ts-create-layout{ display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.ts-create-aside{ position: sticky; top: 90px; display: grid; gap: 12px; }
.ts-create-card, .ts-create .ad-create-options-container-item, .ts-create .ad-create-options-container-item-extra-settings, .ts-create [data-step-group="geo"]{
  background: #fff; border: 1px solid var(--ts-line); border-radius: var(--ts-r-xl); padding: clamp(16px, 2.4vw, 24px); margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px -16px rgba(16,24,40,.16);
}
.ts-create-card-title, .ts-create .ad-create-options-container-item-title{ display: flex; align-items: center; gap: 10px; margin: 0 0 6px !important; font-size: 18px !important; font-weight: 800; color: var(--ts-ink); }
.ts-create .ad-create-options-container-item-title strong{ font-weight: 800; }
.ts-create-num{ width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #3D6BF2, #2449C9); color: #fff; font-size: 14px; flex: none; box-shadow: 0 6px 12px -6px rgba(47,91,234,.7); }
.ts-create-hint, .ts-create .ad-create-options-container-item > p{ color: var(--ts-muted); font-size: 14px; margin: 0 0 14px; }
.ts-create .ad-create-categories-container .row{ margin: 0; }
.ts-create .ad-create-categories-container .col-md-6{ flex: 0 0 100%; max-width: 100%; width: 100%; padding: 0; }
.ts-create .categories-container-items{ display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ts-create .ad-create-categories-back-box{ grid-column: 1 / -1; }
.ts-create .ad-create-categories-back{ border-radius: var(--ts-r) !important; background: var(--ts-gray) !important; color: var(--ts-ink) !important; margin-bottom: 4px !important; }
.ts-create .ad-create-categories-back::before{ content: "\ea60"; font-family: "tabler-icons"; margin-right: 6px; }
.ts-create .ad-create-categories-item{
  display: flex !important; align-items: center; gap: 12px; min-height: 60px; margin: 0 !important;
  padding: 9px 12px 9px 9px !important; border-radius: 14px !important; cursor: pointer;
  background: #fff !important; border: 1.5px solid var(--ts-line) !important; color: var(--ts-ink) !important;
  font-size: 14px; font-weight: 600; line-height: 1.25;
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.ts-create .ad-create-categories-item::before{
  content: "\f1f6"; font-family: "tabler-icons"; flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; font-size: 20px; font-weight: 400; transition: transform .25s cubic-bezier(.2,.8,.2,1.3);
}
.ts-create .ad-create-categories-item:hover{ border-color: var(--ts-primary-line) !important; box-shadow: 0 12px 24px -16px rgba(30,58,158,.5); transform: translateY(-2px); }
.ts-create .ad-create-categories-item:hover::before{ transform: scale(1.08) rotate(-6deg); }
.ts-create .ad-create-categories-item.active{ border-color: var(--ts-primary) !important; background: var(--ts-primary-soft) !important; }
.ts-create .ad-create-categories-item.active::after{ content: "\ea5e"; font-family: "tabler-icons"; margin-left: auto; color: var(--ts-primary); font-size: 18px; }
.ts-create .ad-create-categories-item:nth-child(6n+1)::before{ background: #EAF0FF; color: #2F5BEA; }
.ts-create .ad-create-categories-item:nth-child(6n+2)::before{ background: #FFF0E6; color: #E0530C; }
.ts-create .ad-create-categories-item:nth-child(6n+3)::before{ background: #E6F6EC; color: #15803D; }
.ts-create .ad-create-categories-item:nth-child(6n+4)::before{ background: #E8F7FB; color: #0E7490; }
.ts-create .ad-create-categories-item:nth-child(6n+5)::before{ background: #F3EEFF; color: #7C3AED; }
.ts-create .ad-create-categories-item:nth-child(6n+6)::before{ background: #FFF6DB; color: #B45309; }
.ts-create .ad-create-categories-item[data-id="2"]::before{ content: "\eac1"; }
.ts-create .ad-create-categories-item[data-id="1"]::before{ content: "\ebbb"; }
.ts-create .ad-create-categories-item[data-id="4"]::before{ content: "\eb40"; }
.ts-create .ad-create-categories-item[data-id="86"]::before{ content: "\ea46"; }
.ts-create .ad-create-categories-item[data-id="12"]::before{ content: "\eb64"; }
.ts-create .ad-create-categories-item[data-id="3"]::before{ content: "\f05d"; }
.ts-create .ad-create-categories-item[data-id="20"]::before{ content: "\ec0a"; }
.ts-create .ad-create-categories-item[data-id="11"]::before{ content: "\ef9e"; }
.ts-create .ad-create-categories-item[data-id="13"]::before{ content: "\f1d2"; }
.ts-create .ad-create-categories-item[data-id="14"]::before{ content: "\eff9"; }
.ts-create .ad-create-categories-item[data-id="15"]::before{ content: "\ea4e"; }
.ts-create .ad-create-categories-item[data-id="33"]::before{ content: "\ea36"; }
.ts-create .ad-create-categories-item[data-id="34"]::before{ content: "\f6d7"; }
.ts-create .ad-create-categories-item[data-id="117"]::before{ content: "\f507"; }
.ts-create .ad-create-categories-item[data-id="147"]::before{ content: "\ef91"; }
.ts-create .ad-create-categories-item[data-id="300"]::before{ content: "\ed22"; }
.ts-create .ad-create-categories-item[data-id="301"]::before{ content: "\ea77"; }
.ts-create .ad-create-categories-item[data-id="314"]::before{ content: "\ef90"; }

.ts-create .ad-create-content-container > .row{ margin: 0; display: flex; flex-direction: column; }
.ts-create .ad-create-content-container > .row > [class*="col-md-"]{ width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; padding: 0 !important; }
.ts-create .ad-create-content-container > .row > .col-md-4{ order: -1; }
.ts-create .form-control, .ts-create .form-control-textarea{ background: #fff !important; border: 1.5px solid var(--ts-line-strong) !important; border-radius: var(--ts-r) !important; min-height: 50px; font-size: 15px; color: var(--ts-ink); }
.ts-create .form-control-textarea{ width: 100%; min-height: 150px; padding: 12px 14px; resize: vertical; }
.ts-create .form-control:hover, .ts-create .form-control-textarea:hover{ border-color: #B9C4D8 !important; }
.ts-create .form-control:focus, .ts-create .form-control-textarea:focus{ border-color: var(--ts-primary) !important; box-shadow: 0 0 0 4px var(--ts-primary-soft) !important; outline: none; }
.ts-create .form-control::placeholder, .ts-create .form-control-textarea::placeholder{ color: #98A2B3; }
.ts-create .form-label-error{ color: var(--ts-danger); font-size: 13px; font-weight: 600; margin-top: 6px; }
.ts-create .form-control-label{ font-weight: 600; color: var(--ts-ink-2); padding-top: 12px; }
.ts-create .unidropzone{ border: 0; padding: 0; background: none; }
.ts-create .unidropzone-change{
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 150px; padding: 18px; border-radius: var(--ts-r-lg); cursor: pointer; text-align: center;
  background: linear-gradient(135deg, #F4F7FF, #FFF7F1); border: 2px dashed #B9C9F5; color: var(--ts-primary); font-weight: 800; font-size: 15px;
  transition: border-color .15s ease, background .15s ease;
}
.ts-create .unidropzone-change::before{ content: "\f363"; font-family: "tabler-icons"; font-weight: 400; font-size: 24px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #3D6BF2, #2449C9); box-shadow: 0 10px 20px -10px rgba(47,91,234,.8); }
.ts-create .unidropzone-change::after{ content: "JPG, PNG, WEBP · перетащите, чтобы поменять порядок"; color: var(--ts-muted); font-weight: 500; font-size: 12px; }
.ts-create .unidropzone-change:hover{ border-color: var(--ts-primary); background: var(--ts-primary-soft); }
.ts-create .unidropzone-container{ gap: 8px; margin-top: 10px; }
.ts-create .unidropzone-item{ border-radius: var(--ts-r) !important; overflow: hidden; }
.ts-create .price-card{ border-radius: var(--ts-r) !important; border: 1.5px solid var(--ts-line) !important; }
.ts-create input:checked + .price-card, .ts-create .price-card.active{ border-color: var(--ts-primary) !important; background: var(--ts-primary-soft) !important; }
.ts-create .ad-create-options-actions-swim{
  position: sticky; bottom: 10px; z-index: 5; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 4px; padding: 12px 14px; border-radius: var(--ts-r-xl); background: rgba(255,255,255,.95); border: 1px solid var(--ts-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px -16px rgba(16,24,40,.35); color: var(--ts-muted); font-size: 13px; font-weight: 600;
}
.ts-create-progress{ flex: 1 0 100%; height: 6px; border-radius: 6px; background: var(--ts-gray); overflow: hidden; order: -1; }
.ts-create-progress > i{ display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #2F5BEA, #F26419); transition: width .35s ease; }
.ts-create .adActionStepPublication{ background: linear-gradient(135deg, #F57A2E, #E0530C) !important; color: #fff !important; border-radius: var(--ts-r) !important; min-height: 50px; padding: 0 30px !important; font-weight: 800; box-shadow: 0 10px 22px -10px rgba(224,83,12,.8); }
.ts-create .adActionStepPublication:hover{ filter: brightness(1.05); }
.ts-create .adActionPrevStepPublication{ border-radius: var(--ts-r) !important; min-height: 50px; font-weight: 700; }
.ts-create .ad-create-current-step, .ts-create .ad-create-total-steps{ color: var(--ts-primary); }
.ts-create .ad-create-info-block-payment{ border-radius: var(--ts-r-lg); padding: 16px 18px; margin-bottom: 14px; background: var(--ts-sun-soft); border: 0; }
.ts-create-tips{ background: #fff; border: 1px solid var(--ts-line); border-radius: var(--ts-r-xl); padding: 20px; box-shadow: 0 8px 24px -16px rgba(16,24,40,.16); }
.ts-create-tips-title{ display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; margin-bottom: 14px; color: var(--ts-ink); }
.ts-create-tips-title i{ color: #F59E0B; font-size: 20px; }
.ts-create-tips ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ts-create-tips li{ display: flex; gap: 12px; align-items: flex-start; }
.ts-create-tips li > i{ flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; font-size: 18px; }
.ts-create-tips li:nth-child(1) > i{ background: #EAF0FF; color: #2F5BEA; }
.ts-create-tips li:nth-child(2) > i{ background: #FFF0E6; color: #E0530C; }
.ts-create-tips li:nth-child(3) > i{ background: #E6F6EC; color: #15803D; }
.ts-create-tips li:nth-child(4) > i{ background: #FFF6DB; color: #B45309; }
.ts-create-tips li b{ display: block; font-size: 14px; color: var(--ts-ink); }
.ts-create-tips li span{ display: block; font-size: 13px; color: var(--ts-muted); line-height: 1.45; }
.ts-create-safe{ display: flex; gap: 12px; background: #E6F6EC; border-radius: var(--ts-r-xl); padding: 18px; }
.ts-create-safe > i{ flex: none; font-size: 22px; color: #15803D; }
.ts-create-safe b{ display: block; color: #14532D; }
.ts-create-safe span{ font-size: 13px; color: #166534; }
.ts-create-safe a{ color: #14532D; font-weight: 700; text-decoration: underline; }

/* =====================================================================
   Телефон
   ===================================================================== */
@media (max-width: 991px){
  .main-wrapper{ margin-top: 12px; }
  .ts-hero{ padding: 16px; gap: 12px; margin-bottom: 18px; }
  .ts-hero-copy{ flex: 1 1 100%; }
  .ts-hero-title{ font-size: 18px; }
  .ts-hero-text{ font-size: 13px; }
  .ts-hero-actions{ width: 100%; gap: 12px; }
  .ts-hero-actions .btn-custom{ flex: 1 1 auto; }
  /* категории — лента в 2 ряда, листается вбок */
  .widget-categories-container{
    grid-template-columns: none !important; grid-template-rows: repeat(2, 84px) !important;
    grid-auto-flow: column !important; grid-auto-columns: 112px !important;
    overflow-x: auto !important; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px;
  }
  .widget-categories-container::-webkit-scrollbar{ display: none; }
  .widget-categories-container .home-widget-categories-item,
  .widget-categories-container .home-widget-categories-item:nth-child(n){ height: 84px !important; padding: 9px 10px !important; border-radius: var(--ts-r) !important; scroll-snap-align: start; }
  .widget-categories-container .home-widget-categories-item div{ font-size: 12.5px !important; max-width: 100% !important; }
  .widget-categories-container .home-widget-categories-item img{ height: 44px !important; right: 4px !important; bottom: 2px !important; }
  .widget-categories-or-subcategories{ flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .widget-categories-or-subcategories::-webkit-scrollbar{ display: none; }
  .widget-promo-banner-item{ width: 170px !important; height: 130px !important; }
  .widget-promo-banner-item img{ height: 60px !important; }
  .widget-promo-banner-item h4{ font-size: 14px !important; }
  .container-item-grid-content-title{ font-size: 14px; }
  .container-item-grid-content-prices .card-item-price-now{ font-size: 15px; }
  .ts-howto-grid{ grid-template-columns: 1fr; }
  .ts-cta{ padding: 20px; }
  .ts-cta .btn-custom{ width: 100%; }
  .ad-card-sidebar{ border-radius: var(--ts-r-lg); padding: 16px; }
  /* подача объявления */
  .ts-create-layout{ grid-template-columns: 1fr; }
  .ts-create-aside{ position: static; order: 2; }
  .ts-create .categories-container-items{ grid-template-columns: 1fr 1fr; gap: 6px; }
  .ts-create .ad-create-categories-item{ min-height: 52px; font-size: 13px; padding: 7px 8px 7px 7px !important; gap: 8px; }
  .ts-create .ad-create-categories-item::before{ width: 32px; height: 32px; font-size: 17px; }
  .ts-create .adActionStepPublication{ flex: 1; }
}
@media (prefers-reduced-motion: reduce){ *{ transition: none !important; animation: none !important; } }

/* =====================================================================
   v8 — «вау»-слой поверх привычной раскладки
   ===================================================================== */

/* ---------- Главный баннер: живой «северное сияние» фон, парящие товары ---------- */
.ts-hero-wow{
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px;
  min-height: 340px; padding: clamp(24px, 4vw, 52px); margin: 0 0 26px;
  border-radius: 28px; color: #fff; background: #14286E;
}
.ts-aurora{ position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(120deg, #1E3A9E, #2F5BEA 45%, #5B8CFF); }
.ts-aurora i{ position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; will-change: transform; }
.ts-aurora i:nth-child(1){ width: 460px; height: 460px; left: -120px; top: -180px; background: #F26419; animation: tsBlob1 14s ease-in-out infinite alternate; }
.ts-aurora i:nth-child(2){ width: 420px; height: 420px; right: -100px; bottom: -200px; background: #38BDF8; opacity: .55; animation: tsBlob2 16s ease-in-out infinite alternate; }
.ts-aurora i:nth-child(3){ width: 360px; height: 360px; left: 40%; top: -160px; background: #FFB547; opacity: .45; animation: tsBlob3 18s ease-in-out infinite alternate; }
.ts-aurora::after{ /* мелкая сетка и шум для глубины */
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
@keyframes tsBlob1{ to{ transform: translate(140px, 90px) scale(1.15); } }
@keyframes tsBlob2{ to{ transform: translate(-160px, -60px) scale(1.2); } }
@keyframes tsBlob3{ to{ transform: translate(-120px, 120px) scale(.9); } }

.ts-hero-wow .ts-hero-copy{ position: relative; z-index: 2; }
.ts-hero-badge{
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; color: #fff;
}
.ts-hero-badge i{ color: #FFD166; }
.ts-hero-wow .ts-hero-title{ font-size: clamp(28px, 3.9vw, 50px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: #fff; margin: 0 0 14px; }
.ts-hero-wow .ts-hero-title span{
  color: transparent; background: linear-gradient(90deg, #FFD166, #FFB37A 50%, #FFD166); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; animation: tsShift 5s linear infinite;
}
@keyframes tsShift{ to{ background-position: 200% center; } }
.ts-hero-wow .ts-hero-text{ color: rgba(255,255,255,.82); font-size: clamp(14px, 1.2vw, 16px); max-width: 520px; margin: 0 0 22px; }
.ts-hero-wow .ts-hero-actions{ gap: 18px; }
.ts-hero-wow .button-color-scheme1{ background: #fff !important; color: var(--ts-primary) !important; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.ts-hero-wow .button-color-scheme1:hover{ background: #FFF6E5 !important; }
.ts-hero-wow .ts-hero-link{ color: #fff; }
.ts-hero-wow .ts-hero-link i{ color: #86EFAC; }
.ts-hero-quick{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ts-hero-quick a{
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .15s ease, transform .15s ease;
}
.ts-hero-quick a:hover{ background: rgba(255,255,255,.24); color: #fff; transform: translateY(-2px); }

/* Блик по кнопке */
.ts-btn-shine{ position: relative; overflow: hidden; }
.ts-btn-shine::after{
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg);
  animation: tsShine 3.6s ease-in-out infinite;
}
@keyframes tsShine{ 0%, 60%{ left: -60%; } 100%{ left: 130%; } }

/* Парящие товары */
.ts-hero-art{ position: relative; height: 300px; z-index: 1; }
.ts-float{ position: absolute; filter: drop-shadow(0 26px 28px rgba(15,5,60,.45)); will-change: transform; }
.ts-float-1{ width: 220px; left: 4%; top: 30%; animation: tsFloat 6s ease-in-out infinite; }
.ts-float-2{ width: 150px; right: 2%; top: 2%; animation: tsFloat 7s ease-in-out infinite reverse; }
.ts-float-3{ width: 130px; left: 30%; top: -2%; animation: tsFloat 5.5s ease-in-out infinite; animation-delay: -2s; }
.ts-float-4{ width: 170px; right: 6%; bottom: 0; animation: tsFloat 6.5s ease-in-out infinite; animation-delay: -1s; }
@keyframes tsFloat{ 0%, 100%{ transform: translateY(0) rotate(-2deg); } 50%{ transform: translateY(-14px) rotate(2deg); } }
.ts-chip{
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px;
  background: rgba(255,255,255,.92); color: var(--ts-ink); font-size: 13px; font-weight: 800;
  box-shadow: 0 16px 30px -12px rgba(15,5,60,.5); animation: tsFloat 5s ease-in-out infinite;
}
.ts-chip i{ color: var(--ts-primary); font-size: 16px; }
.ts-chip-1{ left: 0; top: 6%; }
.ts-chip-2{ right: 4%; top: 52%; animation-delay: -2.5s; }
.ts-chip-2 i{ color: var(--ts-mint); }


/* ---------- Промо-баннеры: блик при наведении ---------- */
.widget-promo-banner-item{ isolation: isolate; transition: transform .25s ease, box-shadow .25s ease !important; }
.widget-promo-banner-item::after{
  content: "" !important; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .6s ease;
}
.widget-promo-banner-item:hover::after{ left: 130%; }
.widget-promo-banner-item:hover{ transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 18px 30px -16px rgba(16,24,40,.45) !important; }
.widget-promo-banner-item img{ transition: transform .35s cubic-bezier(.2,.8,.2,1.3) !important; }
.widget-promo-banner-item:hover img{ transform: scale(1.12) rotate(-5deg) !important; }

/* ---------- Карточки объявлений: подъём и зум фото ---------- */
.container-item-grid .container-item-images{ transition: box-shadow .25s ease, transform .25s ease; }
.container-item-grid:hover .container-item-images{ transform: translateY(-3px); box-shadow: 0 16px 28px -16px rgba(16,24,40,.45); }

/* ---------- Появление секций при прокрутке ---------- */
.ts-reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ts-reveal.ts-in{ opacity: 1; transform: none; }

/* ---------- Нижний призыв: тоже живой ---------- */
.ts-cta{ position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, #1E3A9E, #2F5BEA 50%, #5B8CFF); }
.ts-cta::before{ content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -80px; top: -200px; border-radius: 50%; background: #F26419; filter: blur(70px); opacity: .55; animation: tsBlob2 14s ease-in-out infinite alternate; }

/* ---------- Телефон ---------- */
@media (max-width: 991px){
  .ts-hero-wow{ grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 22px 18px 20px; border-radius: 22px; }
  .ts-hero-wow .ts-hero-title{ font-size: clamp(22px, 6.4vw, 36px); }
  .ts-hero-wow .ts-hero-title br{ display: none; }
  .ts-hero-wow .ts-hero-actions .btn-custom{ flex: 1 1 100%; }
  .ts-hero-quick{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 16px; }
  .ts-hero-quick::-webkit-scrollbar{ display: none; }
  .ts-hero-quick a{ flex: none; }
  .ts-hero-art{ position: absolute; right: -18px; top: 6px; width: 120px; height: 80px; opacity: .95; pointer-events: none; }
  .ts-float-1{ width: 92px; left: auto; right: 12px; top: 0; }
  .ts-float-2, .ts-float-3, .ts-float-4, .ts-chip{ display: none; }
  .ts-hero-badge{ font-size: 12px; margin-bottom: 12px; max-width: calc(100% - 90px); }
  .ts-aurora i{ filter: blur(44px); }
}
@media (prefers-reduced-motion: reduce){
  .ts-aurora i, .ts-float, .ts-chip, .ts-btn-shine::after, .ts-hero-wow .ts-hero-title span, .ts-cta::before{ animation: none !important; }
  .ts-reveal{ opacity: 1; transform: none; }
}
/* очень узкие телефоны (320–359px) */
@media (max-width: 359px){
  .ts-hero-wow .ts-btn-lg{ font-size: 14px !important; padding: 0 12px !important; white-space: nowrap; }
  .ts-hero-badge{ font-size: 11px; }
  .main-floating-menu{ display: flex !important; flex-wrap: nowrap !important; }
  .main-floating-menu > a{ flex: 1 1 0; min-width: 0; }
  .main-floating-menu > a span{ font-size: 10px !important; white-space: nowrap; }
}

/* Заголовки на тёмном фоне были тёмными и не читались (страница «Безопасные сделки» и др.) */
.ts-landing .protection-content h2, .ts-landing .protection-content h3,
.ts-landing .shield-card h3, .section-promo-download-app .title-h2,
.ts-cta h2, .support-wrapper .hero h1{ color: #fff !important; }

/* =====================================================================
   v11 — категории на главной: карусель ярких карточек со стрелками
   ===================================================================== */
.ts-cat-carousel{ position: relative; margin: 0 -11px; }
.ts-cat-carousel .widget-categories-container,
.widget-categories-container{
  display: flex !important; flex-wrap: nowrap !important; gap: 14px !important;
  grid-template-columns: none !important; grid-auto-rows: auto !important;
  overflow-x: auto !important; overflow-y: hidden !important; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 11px; scrollbar-width: none;
  padding: 10px 11px 14px !important; -webkit-overflow-scrolling: touch;
}
.widget-categories-container::-webkit-scrollbar{ display: none; }
.widget-categories-container .home-widget-categories-item,
.widget-categories-container .home-widget-categories-item:nth-child(n){
  --g1: #5B8CFF; --g2: #2747C9;
  flex: 0 0 176px !important; width: 176px !important; height: 214px !important; min-height: 0 !important;
  grid-row: auto !important; grid-column: auto !important;
  position: relative !important; display: block !important; scroll-snap-align: start;
  padding: 0 !important; border: 0 !important; border-radius: 26px !important; overflow: hidden !important;
  background:
    radial-gradient(120px 110px at 50% 38%, rgba(255,255,255,.38), transparent 70%),
    radial-gradient(160px 120px at 100% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, var(--g1), var(--g2)) !important;
  color: #fff !important; isolation: isolate;
  box-shadow: 0 10px 22px -14px rgba(16,24,40,.55) !important;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s !important;
}
.widget-categories-container .home-widget-categories-item:nth-child(6n+2){ --g1:#FF8FB1; --g2:#C2387A; }
.widget-categories-container .home-widget-categories-item:nth-child(6n+3){ --g1:#FFB35C; --g2:#E0530C; }
.widget-categories-container .home-widget-categories-item:nth-child(6n+4){ --g1:#9D7BFF; --g2:#5232C9; }
.widget-categories-container .home-widget-categories-item:nth-child(6n+5){ --g1:#3FD6A0; --g2:#0F7A5B; }
.widget-categories-container .home-widget-categories-item:nth-child(6n+6){ --g1:#4FC3F7; --g2:#1F5FBF; }
/* искорка-звёздочка */
.widget-categories-container .home-widget-categories-item::before{
  content: "" !important; display: block !important; position: absolute; z-index: 1;
  width: 18px; height: 18px; left: 18px; top: 22px; background: #fff; opacity: .9;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9));
}
/* затемнение снизу под подпись */
.widget-categories-container .home-widget-categories-item::after{
  content: "" !important; display: block !important; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 2;
  background: linear-gradient(to top, rgba(10,14,40,.62), rgba(10,14,40,.18) 55%, transparent);
}
.widget-categories-container .home-widget-categories-item img{
  position: absolute !important; z-index: 1; left: 50% !important; right: auto !important; top: 24px !important; bottom: auto !important;
  height: 124px !important; width: auto !important; max-width: 88% !important; object-fit: contain !important;
  transform: translateX(-50%) !important;
  filter: drop-shadow(0 16px 18px rgba(0,0,0,.35)) !important;
  transition: transform .4s cubic-bezier(.2,.8,.2,1) !important;
}
.widget-categories-container .home-widget-categories-item div{
  position: absolute !important; z-index: 3; left: 14px; right: 12px; bottom: 14px; max-width: none !important;
  color: #fff !important; font-size: 18px !important; font-weight: 800 !important; line-height: 1.12 !important;
  letter-spacing: -.02em; text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  hyphens: auto; -webkit-hyphens: auto;
}
/* первая карточка — с яркой рамкой, как «избранная» */
.widget-categories-container .home-widget-categories-item:first-child{
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px #FF8A3D, 0 14px 26px -14px rgba(224,83,12,.7) !important;
}
.widget-categories-container .home-widget-categories-item:hover{
  transform: translateY(-5px) !important; background-color: transparent !important;
  box-shadow: 0 20px 30px -16px rgba(16,24,40,.6) !important;
}
.widget-categories-container .home-widget-categories-item:first-child:hover{
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px #FF8A3D, 0 20px 30px -14px rgba(224,83,12,.7) !important;
}
.widget-categories-container .home-widget-categories-item:hover > div{ color: #fff !important; }
.widget-categories-container .home-widget-categories-item:hover img{ transform: translateX(-50%) translateY(-6px) scale(1.08) rotate(-3deg) !important; }

/* стрелки */
.ts-cat-arrow{
  position: absolute; z-index: 5; top: calc(50% - 26px); width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: #101828; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px -6px rgba(16,24,40,.35), 0 0 0 1px rgba(16,24,40,.06);
  transition: opacity .2s, transform .2s, background-color .2s;
}
.ts-cat-arrow:hover{ background: #2F5BEA; color: #fff; transform: scale(1.06); }
.ts-cat-prev{ left: -10px; } .ts-cat-next{ right: -10px; }
.ts-cat-carousel.ts-at-start .ts-cat-prev,
.ts-cat-carousel.ts-at-end .ts-cat-next{ opacity: 0; pointer-events: none; }
/* мягкое затухание у правого края — видно, что есть продолжение */
.ts-cat-carousel::after{
  content: ""; position: absolute; z-index: 4; top: 0; bottom: 8px; right: 0; width: 48px; pointer-events: none;
  background: linear-gradient(to left, #fff, rgba(255,255,255,0)); transition: opacity .2s;
}
.ts-cat-carousel.ts-at-end::after{ opacity: 0; }

@media (max-width: 991px){
  .ts-cat-carousel{ margin: 0 -15px; }
  .ts-cat-carousel .widget-categories-container, .widget-categories-container{ gap: 10px !important; padding: 8px 15px 12px !important; scroll-padding: 0 15px; }
  .widget-categories-container .home-widget-categories-item,
  .widget-categories-container .home-widget-categories-item:nth-child(n){ flex-basis: 124px !important; width: 124px !important; height: 156px !important; border-radius: 20px !important; }
  .widget-categories-container .home-widget-categories-item img{ height: 84px !important; top: 16px !important; }
  .widget-categories-container .home-widget-categories-item div{ font-size: 14px !important; left: 11px; right: 9px; bottom: 11px; }
  .widget-categories-container .home-widget-categories-item[href$="nedvizhimost"] div,
  .widget-categories-container .home-widget-categories-item[href$="strojmaterialy-i-instrumenty"] div{ font-size: 12.5px !important; }
  .widget-categories-container .home-widget-categories-item::before{ width: 13px; height: 13px; left: 12px; top: 14px; }
  .widget-categories-container .home-widget-categories-item:first-child{ box-shadow: 0 0 0 3px #fff, 0 0 0 5px #FF8A3D !important; }
  .ts-cat-arrow{ display: none; }
  .ts-cat-carousel::after{ width: 32px; }
}
@media (max-width: 359px){
  .widget-categories-container .home-widget-categories-item,
  .widget-categories-container .home-widget-categories-item:nth-child(n){ flex-basis: 112px !important; width: 112px !important; height: 144px !important; }
  .widget-categories-container .home-widget-categories-item div{ font-size: 13px !important; }
}

/* =====================================================================
   v12 — единый эффект наведения/нажатия (как у промо-блоков):
   подъём + лёгкий наклон + тень + пробегающий блик; при нажатии — «вдавливание»
   ===================================================================== */
/* промо-блоки: добавляем нажатие */
.widget-promo-banner-item:active{ transform: translateY(0) scale(.97) rotate(0) !important; transition-duration: .08s !important; }

/* --- категории-карусель --- */
.widget-categories-container .home-widget-categories-item,
.widget-categories-container .home-widget-categories-item:nth-child(n){
  background:
    linear-gradient(100deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat,
    radial-gradient(120px 110px at 50% 38%, rgba(255,255,255,.38), transparent 70%),
    radial-gradient(160px 120px at 100% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, var(--g1), var(--g2)) !important;
  transition: transform .25s ease, box-shadow .25s ease, background-position .6s ease !important;
}
.widget-categories-container .home-widget-categories-item:hover{
  transform: translateY(-4px) rotate(-.6deg) !important;
  background-position: -60% 0, 0 0, 0 0, 0 0 !important;
  box-shadow: 0 18px 30px -16px rgba(16,24,40,.45) !important;
}
.widget-categories-container .home-widget-categories-item:first-child:hover{
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px #FF8A3D, 0 18px 30px -16px rgba(224,83,12,.6) !important;
}
.widget-categories-container .home-widget-categories-item img{ transition: transform .35s cubic-bezier(.2,.8,.2,1.3) !important; }
.widget-categories-container .home-widget-categories-item:hover img{ transform: translateX(-50%) scale(1.12) rotate(-5deg) !important; }
.widget-categories-container .home-widget-categories-item:active{
  transform: translateY(0) scale(.97) rotate(0) !important; transition-duration: .08s !important;
}

/* --- кнопки по всему сайту --- */
.btn-custom, .btn-custom-big, .btn-custom-mini, .header-wow-sticky-add, .ts-search-submit,
.header-button-menu-catalog, .ts-hero-quick a, .widget-categories-or-subcategories a{
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease !important;
}
.btn-custom:not(.ts-btn-shine)::after, .btn-custom-big::after, .btn-custom-mini::after, .header-wow-sticky-add::after,
.ts-search-submit::after, .header-button-menu-catalog::after, .ts-hero-quick a::after, .widget-categories-or-subcategories a::after{
  content: "" !important; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .6s ease;
}
.btn-custom:not(.ts-btn-shine):hover::after, .btn-custom-big:hover::after, .btn-custom-mini:hover::after, .header-wow-sticky-add:hover::after,
.ts-search-submit:hover::after, .header-button-menu-catalog:hover::after, .ts-hero-quick a:hover::after, .widget-categories-or-subcategories a:hover::after{ left: 130%; }
.btn-custom:hover, .btn-custom-big:hover, .btn-custom-mini:hover, .header-wow-sticky-add:hover, .ts-search-submit:hover,
.header-button-menu-catalog:hover, .ts-hero-quick a:hover, .widget-categories-or-subcategories a:hover{
  opacity: 1 !important; transform: translateY(-3px) rotate(-.6deg);
  box-shadow: 0 14px 24px -12px rgba(16,24,40,.45) !important;
}
.ts-cat-arrow{ transition: transform .25s ease, box-shadow .25s ease, background-color .2s, opacity .2s !important; }
.ts-cat-arrow:hover{ transform: translateY(-3px) rotate(-.6deg) scale(1.06); box-shadow: 0 14px 24px -10px rgba(16,24,40,.45); }
.btn-custom:active, .btn-custom-big:active, .btn-custom-mini:active, .header-wow-sticky-add:active, .ts-search-submit:active,
.header-button-menu-catalog:active, .ts-hero-quick a:active, .widget-categories-or-subcategories a:active, .ts-cat-arrow:active{
  transform: translateY(0) scale(.96) rotate(0) !important; transition-duration: .08s !important;
  box-shadow: 0 4px 10px -6px rgba(16,24,40,.4) !important;
}
/* отключённые кнопки не прыгают */
.btn-custom[disabled], .btn-custom.disabled{ transform: none !important; box-shadow: none !important; }
.btn-custom[disabled]::after, .btn-custom.disabled::after{ content: none !important; }
@media (hover: none){
  .btn-custom:hover, .btn-custom-big:hover, .btn-custom-mini:hover, .header-wow-sticky-add:hover, .ts-search-submit:hover,
  .header-button-menu-catalog:hover, .ts-hero-quick a:hover, .widget-categories-or-subcategories a:hover,
  .widget-categories-container .home-widget-categories-item:hover{ transform: none !important; }
}
@media (prefers-reduced-motion: reduce){
  .btn-custom, .btn-custom-big, .btn-custom-mini, .header-wow-sticky-add, .ts-search-submit,
  .widget-categories-container .home-widget-categories-item{ transition: none !important; }
}
/* заголовок над каруселью категорий */
.ts-cat-title{ margin-bottom: 6px !important; }
.ts-cat-title + .ts-cat-carousel{ margin-top: 0; }
/* значок на карточках категорий: стеклянный кружок с буквой «Т» вместо звёздочки */
.widget-categories-container .home-widget-categories-item::before{
  content: "T" !important; clip-path: none !important; filter: none !important; opacity: 1 !important;
  display: flex !important; align-items: center; justify-content: center;
  width: 30px !important; height: 30px !important; left: 14px !important; top: 14px !important;
  border-radius: 50%; background: rgba(255,255,255,.2) !important; border: 1.5px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-family: var(--ts-font, Manrope, sans-serif); font-size: 15px; font-weight: 800; line-height: 1;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.25);
}
@media (max-width: 991px){
  .widget-categories-container .home-widget-categories-item::before{ width: 24px !important; height: 24px !important; left: 10px !important; top: 10px !important; font-size: 12px; }
}

/* =====================================================================
   v13 — страница поддержки в стиле главной
   (support.css грузится позже, поэтому префикс html body)
   ===================================================================== */
html body .support-wrapper{ background: #fff; }
html body .support-wrapper .container{ position: relative; }
/* первый экран */
html body .support-wrapper .hero{
  position: relative; isolation: isolate; overflow: hidden;
  width: calc(100% - 30px); max-width: 1290px; margin: 16px auto 0; padding: 76px 24px 84px;
  border-radius: 28px !important; background: none !important; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(36,73,201,.6);
}
html body .support-wrapper .hero::before, html body .support-wrapper .hero::after{ content: none; }
html body .support-wrapper .hero__inner{ z-index: 2; }
html body .support-wrapper .hero__label{ padding: 8px 14px; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html body .support-wrapper .hero h1{ font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; color: #fff !important; }
html body .support-wrapper .hero p{ color: rgba(255,255,255,.86); font-size: 17px; }
html body .support-wrapper .hero__links{ gap: 12px; margin-top: 32px; }
html body .support-wrapper .hero__links a{
  position: relative; overflow: hidden; isolation: isolate; gap: 8px; padding: 14px 20px !important; border-radius: 14px !important;
  color: #fff !important; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.4);
  font-size: 15px; font-weight: 800; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .25s ease, box-shadow .25s ease, background-color .2s !important;
}
html body .support-wrapper .hero__links a.ts-sup-main{ color: var(--ts-primary) !important; background: #fff; border-color: #fff; box-shadow: 0 10px 24px -10px rgba(10,20,80,.45); }
html body .support-wrapper .hero__links a i{ font-size: 18px; }
html body .support-wrapper .hero__links a::after{ content: ""; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; }
html body .support-wrapper .hero__links a:hover::after{ left: 130%; }
html body .support-wrapper .hero__links a:hover{ transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 14px 24px -12px rgba(10,20,80,.5); }
html body .support-wrapper .hero__links a:active{ transform: scale(.96); transition-duration: .08s !important; }
/* парящие значки вокруг заголовка */
.ts-sup-art{ position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ts-bubble{ position: absolute; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 24px; color: #fff; font-size: 34px;
  background: linear-gradient(150deg, rgba(255,255,255,.3), rgba(255,255,255,.08)); border: 1.5px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 36px -16px rgba(10,20,80,.55); animation: supFloat 6s ease-in-out infinite; }
.ts-bubble.b1{ left: 7%; top: 22%; transform: rotate(-8deg); }
.ts-bubble.b2{ right: 8%; top: 18%; transform: rotate(7deg); animation-delay: -1.5s; background: linear-gradient(140deg, #FFB35C, #E0530C); border-color: rgba(255,255,255,.5); }
.ts-bubble.b3{ left: 12%; bottom: 14%; width: 60px; height: 60px; font-size: 28px; border-radius: 20px; animation-delay: -3s; background: linear-gradient(140deg, #3FD6A0, #0F7A5B); }
.ts-bubble.b4{ right: 13%; bottom: 16%; width: 62px; height: 62px; font-size: 28px; border-radius: 20px; animation-delay: -4.5s; }
@keyframes supFloat{ 50%{ translate: 0 -12px; } }
/* разделы */
html body .support-wrapper .section{ padding: 72px 0; }
html body .support-wrapper .section__eyebrow{ display: inline-block; padding: 6px 12px; border-radius: 20px; background: var(--ts-primary-soft); color: var(--ts-primary); font-size: 12px; letter-spacing: .5px; }
html body .support-wrapper .section__heading h2{ font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; color: var(--ts-ink); }
html body .support-wrapper .section__heading p{ font-size: 16px; }
/* карточки тем */
html body .support-wrapper .help-grid{ gap: 18px; }
html body .support-wrapper .help-card{
  --g1:#5B8CFF; --g2:#2449C9; position: relative; overflow: hidden; isolation: isolate; min-height: 220px; padding: 24px;
  border: 1px solid var(--ts-line); border-radius: 24px; text-decoration: none; color: var(--ts-ink);
  box-shadow: 0 10px 30px -18px rgba(16,24,40,.25); transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
html body .support-wrapper .help-card--green{ --g1:#3FD6A0; --g2:#0F7A5B; }
html body .support-wrapper .help-card--orange{ --g1:#FFB35C; --g2:#E0530C; }
html body .support-wrapper .help-card--purple{ --g1:#9D7BFF; --g2:#5232C9; }
html body .support-wrapper .help-card::before{ content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; right: -80px; top: -100px; border-radius: 50%; background: linear-gradient(140deg, var(--g1), var(--g2)); opacity: .1; transition: transform .4s ease, opacity .3s; }
html body .support-wrapper .help-card::after{ content: ""; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg); transition: left .6s ease; }
html body .support-wrapper .help-card:hover{ transform: translateY(-4px) rotate(-.6deg); border-color: transparent; box-shadow: 0 22px 36px -18px rgba(16,24,40,.4); }
html body .support-wrapper .help-card:hover::after{ left: 130%; }
html body .support-wrapper .help-card:hover::before{ transform: scale(1.3); opacity: .16; }
html body .support-wrapper .help-card:active{ transform: scale(.97); transition-duration: .08s; }
html body .support-wrapper .help-card .help-card__icon{ width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px; color: #fff; font-size: 26px; background: linear-gradient(140deg, var(--g1), var(--g2)); box-shadow: 0 12px 22px -10px var(--g2); transition: transform .35s cubic-bezier(.2,.8,.2,1.3); }
html body .support-wrapper .help-card:hover .help-card__icon{ transform: scale(1.1) rotate(-6deg); }
html body .support-wrapper .help-card h3{ font-size: 19px; font-weight: 800; }
html body .support-wrapper .help-card p{ font-size: 14px; }
html body .support-wrapper .help-card__link{ color: var(--g2); font-size: 14px; font-weight: 800; }
/* вопросы */
html body .support-wrapper .faq-section{ border-top: 0; background: linear-gradient(180deg, #F5F7FB, #fff); border-radius: 32px 32px 0 0; }
html body .support-wrapper .faq-layout{ gap: 56px; }
html body .support-wrapper .faq-layout > div:first-child{ position: sticky; top: 90px; }
html body .support-wrapper .faq-note{ display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; border: 1px solid #FFD9BF; background: #FFF5EE; color: #8A4B1F; font-size: 14px; }
html body .support-wrapper .faq-note strong{ color: #C2410C; font-size: 15px; }
.ts-note-icon{ flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; font-size: 20px; background: linear-gradient(140deg, #FFB35C, #E0530C); }
html body .support-wrapper .faq-grid{ display: flex; flex-direction: column; gap: 12px; }
html body .support-wrapper .faq-item{ border-radius: 18px; background: #fff; border: 1px solid var(--ts-line); overflow: hidden; transition: border-color .2s, box-shadow .25s; }
html body .support-wrapper .faq-item:hover{ border-color: var(--ts-primary-line); box-shadow: 0 12px 24px -16px rgba(16,24,40,.3); }
html body .support-wrapper .faq-question{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px; color: var(--ts-ink); font-size: 16px; font-weight: 700; cursor: pointer; }
html body .support-wrapper .faq-question span{ flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ts-primary); background: var(--ts-primary-soft); font-size: 20px; font-weight: 600; line-height: 1; transition: transform .3s ease, background-color .2s, color .2s; }
html body .support-wrapper .faq-answer{ padding: 0 20px 20px; color: var(--ts-ink-2); font-size: 15px; line-height: 1.65; }
html body .support-wrapper .faq-item.active{ border-color: var(--ts-primary-line); background: linear-gradient(180deg, #F5F8FF, #fff); box-shadow: 0 14px 28px -18px rgba(47,91,234,.45); }
html body .support-wrapper .faq-item.active .faq-question span{ transform: rotate(45deg); color: #fff; background: var(--ts-primary); }
/* контакты */
html body .support-wrapper .contacts{ padding: 40px 0 80px; }
html body .support-wrapper .contact-layout{ gap: 20px; }
html body .support-wrapper .contact-card{ border-radius: 28px; padding: 36px; }
html body .support-wrapper .contact-card--main{ position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(380px 260px at 0% 0%, rgba(255,138,61,.45), transparent 70%), radial-gradient(380px 260px at 100% 100%, rgba(56,189,248,.45), transparent 70%), linear-gradient(135deg, #2449C9, #3D6BF2) !important;
  box-shadow: 0 26px 50px -26px rgba(36,73,201,.7); }
html body .support-wrapper .contact-card--main h2{ color: #fff !important; font-weight: 800; letter-spacing: -.02em; }
html body .support-wrapper .contact-card--main p{ color: rgba(255,255,255,.86); font-size: 15px; }
html body .support-wrapper .messenger{ position: relative; overflow: hidden; padding: 14px; border-radius: 18px; color: #fff; text-decoration: none; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .25s ease, box-shadow .25s ease, background-color .2s; }
html body .support-wrapper .messenger:hover{ transform: translateY(-3px) rotate(-.6deg); background: rgba(255,255,255,.22); box-shadow: 0 14px 24px -12px rgba(10,20,80,.5); }
html body .support-wrapper .messenger:active{ transform: scale(.96); transition-duration: .08s; }
html body .support-wrapper .messenger__icon{ width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; font-size: 13px; font-weight: 800; background: linear-gradient(140deg, #9D7BFF, #5232C9); }
html body .support-wrapper .messenger[href*="t.me"] .messenger__icon{ background: linear-gradient(140deg, #4FC3F7, #1F7FD6); }
html body .support-wrapper .messenger__text strong{ color: #fff; font-size: 15px; }
html body .support-wrapper .messenger__text span{ color: rgba(255,255,255,.78); }
html body .support-wrapper .contact-card--info{ background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 10px 30px -18px rgba(16,24,40,.25); }
html body .support-wrapper .contact-card--info h3{ font-size: 22px; font-weight: 800; }
html body .support-wrapper .contact-info__item{ gap: 14px; align-items: center; }
html body .support-wrapper .contact-info__icon{ width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; font-size: 21px; background: linear-gradient(140deg, #5B8CFF, #2449C9); }
html body .support-wrapper .contact-info__item:nth-child(2) .contact-info__icon{ background: linear-gradient(140deg, #FFB35C, #E0530C); }
html body .support-wrapper .contact-info__item:nth-child(3) .contact-info__icon{ background: linear-gradient(140deg, #3FD6A0, #0F7A5B); }
html body .support-wrapper .contact-info__item strong, html body .support-wrapper .contact-info__item a{ color: var(--ts-ink); font-size: 16px; font-weight: 800; }
@media (max-width: 991px){
  html body .support-wrapper .hero{ width: calc(100% - 20px); margin-top: 10px; padding: 44px 18px 48px; border-radius: 24px !important; }
  .ts-sup-art{ display: none; }
  html body .support-wrapper .help-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  html body .support-wrapper .faq-layout{ grid-template-columns: minmax(0,1fr); gap: 24px; }
  html body .support-wrapper .faq-layout > div:first-child{ position: static; }
  html body .support-wrapper .contact-layout{ grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px){
  html body .support-wrapper .hero h1{ font-size: clamp(28px, 8.4vw, 38px); }
  html body .support-wrapper .hero p{ font-size: 15px; }
  html body .support-wrapper .hero__links a{ flex: 1 1 100%; justify-content: center; }
  html body .support-wrapper .section{ padding: 48px 0; }
  html body .support-wrapper .help-grid{ grid-template-columns: minmax(0,1fr); gap: 12px; }
  html body .support-wrapper .help-card{ min-height: 0; padding: 18px; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; }
  html body .support-wrapper .help-card .help-card__icon{ grid-row: span 3; width: 52px; height: 52px; margin: 0; }
  html body .support-wrapper .help-card h3{ margin-top: 2px; }
  html body .support-wrapper .help-card__link{ padding-top: 8px; }
  html body .support-wrapper .faq-section{ border-radius: 24px 24px 0 0; }
  html body .support-wrapper .faq-question{ padding: 16px; font-size: 15px; }
  html body .support-wrapper .faq-answer{ padding: 0 16px 16px; font-size: 14px; }
  html body .support-wrapper .contact-card{ padding: 24px 18px; border-radius: 22px; }
  html body .support-wrapper .messengers{ grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce){ .ts-bubble{ animation: none; } }
/* логотип в верхней строке на страницах-лендингах (где скрыта основная шапка) */
.header-wow-top-list:has(.ts-top-logo){ display: flex; align-items: center; }
.ts-top-logo{ display: inline-flex; align-items: center; margin-right: 22px; padding: 6px 0; }
.ts-top-logo img{ height: 30px; width: auto; display: block; }
html body .support-wrapper .help-card__icon i, html body .support-wrapper .contact-info__icon i, .ts-bubble i, .ts-note-icon i{ font-size: inherit !important; line-height: 1; }
/* ===== v14 — остальные страницы в стиле главной ===== */
.ts-aurora-card{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;color:#fff;box-shadow:0 30px 60px -30px rgba(36,73,201,.6)}
.ts-aurora-card h1,.ts-aurora-card h2{color:#fff!important}
.ts-pill-glass{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;padding:8px 14px;border-radius:30px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:13px;font-weight:700;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ts-pill-glass i{font-size:16px;color:#FFD27A}
/* тарифы */
html body .hero-container.ts-aurora-card{margin:16px auto 40px;padding:64px 28px 70px}
html body .hero-container.ts-aurora-card h1{font-weight:800;letter-spacing:-.035em}
html body .hero-container.ts-aurora-card h1 span{background:linear-gradient(90deg,#FFD27A,#FF8A3D);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
html body .hero-container.ts-aurora-card p{color:rgba(255,255,255,.86)}
html body .promo-trial-banner{border-radius:26px;background:radial-gradient(360px 240px at 100% 0%,rgba(255,214,122,.55),transparent 70%),linear-gradient(120deg,#FF8A3D,#E0530C);box-shadow:0 26px 50px -28px rgba(224,83,12,.8)}
html body .promo-trial-banner::before{content:none}
html body .promo-trial-banner .promo-badge{background:rgba(255,255,255,.22);color:#fff;border:0}
html body .promo-trial-banner h3,html body .promo-trial-banner .promo-price{color:#fff!important}
html body .promo-trial-banner p,html body .promo-trial-banner .promo-price-lbl{color:rgba(255,255,255,.9)}
html body .promo-trial-banner .btn-accent{background:#fff;color:#E0530C;border:0}
html body .pricing-card{border-radius:26px;transition:transform .25s ease,box-shadow .25s ease}
html body .pricing-card:hover{transform:translateY(-4px) rotate(-.6deg);box-shadow:0 24px 40px -20px rgba(16,24,40,.35)}
html body .pricing-card.featured{border:2px solid transparent;background:linear-gradient(180deg,#fff,#F5F8FF) padding-box,linear-gradient(135deg,#2F5BEA,#FF8A3D) border-box}
html body .featured-tag{background:linear-gradient(135deg,#F57A2E,#E0530C);box-shadow:0 8px 16px -6px rgba(224,83,12,.6)}
html body .plan-features svg{color:#15803D}
html body .billing-btn .discount-tag{background:#E0530C;color:#fff}
html body .tariffs-action-payment .btn-primary,html body .promo-trial-banner .btn-accent{position:relative;overflow:hidden;border-radius:14px;font-weight:800;transition:transform .25s ease,box-shadow .25s ease}
html body .tariffs-action-payment .btn-primary{background:linear-gradient(135deg,#4C7DFF,#2449C9);border:0}
html body .tariffs-action-payment .btn-primary:hover,html body .promo-trial-banner .btn-accent:hover{transform:translateY(-3px) rotate(-.6deg);box-shadow:0 14px 24px -12px rgba(16,24,40,.45)}
html body .tariffs-action-payment .btn-primary:active,html body .promo-trial-banner .btn-accent:active{transform:scale(.96)}
html body .bento-card{--g1:#5B8CFF;--g2:#2449C9;position:relative;overflow:hidden;isolation:isolate;border-radius:24px;transition:transform .25s ease,box-shadow .25s ease}
html body .bento-card:nth-child(6n+2){--g1:#FFB35C;--g2:#E0530C}
html body .bento-card:nth-child(6n+3){--g1:#3FD6A0;--g2:#0F7A5B}
html body .bento-card:nth-child(6n+4){--g1:#9D7BFF;--g2:#5232C9}
html body .bento-card:nth-child(6n+5){--g1:#FF8FB1;--g2:#C2387A}
html body .bento-card:nth-child(6n+6){--g1:#4FC3F7;--g2:#1F5FBF}
html body .bento-card::before{content:"";position:absolute;z-index:-1;width:200px;height:200px;right:-80px;top:-100px;border-radius:50%;background:linear-gradient(140deg,var(--g1),var(--g2));opacity:.1;transition:transform .4s ease}
html body .bento-card:hover{transform:translateY(-4px) rotate(-.6deg);box-shadow:0 22px 36px -18px rgba(16,24,40,.4);border-color:transparent}
html body .bento-card:hover::before{transform:scale(1.3)}
html body .bento-icon{width:56px;height:56px;border-radius:18px;color:#fff;font-size:26px;background:linear-gradient(140deg,var(--g1),var(--g2));box-shadow:0 12px 22px -10px var(--g2);transition:transform .35s cubic-bezier(.2,.8,.2,1.3)}
html body .bento-card:hover .bento-icon{transform:scale(1.1) rotate(-6deg)}
/* блог */
html body .hero-grid.ts-aurora-card{padding:48px 44px;margin-top:16px}
html body .hero-grid.ts-aurora-card .hero-description{color:rgba(255,255,255,.86)}
html body .hero-grid.ts-aurora-card .breadcrumb a,html body .hero-grid.ts-aurora-card .breadcrumb-item,html body .hero-grid.ts-aurora-card .breadcrumb-item::before{color:rgba(255,255,255,.75)!important}
html body .hero-grid.ts-aurora-card .hero-card{background:linear-gradient(150deg,rgba(255,255,255,.26),rgba(255,255,255,.08))!important;border:1.5px solid rgba(255,255,255,.4);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)!important;box-shadow:0 24px 44px -20px rgba(10,20,80,.55);transition:transform .25s ease}
html body .hero-grid.ts-aurora-card a:hover .hero-card{transform:translateY(-4px) rotate(-.6deg)}
html body .hero-card h2{color:#fff!important}
html body .category-button:hover,html body .category-button.active{background:var(--ts-primary);border-color:var(--ts-primary);color:#fff}
/* каталог и магазины */
.widget-categories-or-subcategories a{background:#fff!important;border:1px solid var(--ts-line)!important}
.widget-categories-or-subcategories a:hover{background:var(--ts-primary-soft)!important;border-color:var(--ts-primary-line)!important}
.widget-categories-or-subcategories a:hover div{color:var(--ts-primary)!important}
.catalog-sidebar .params-form{background:#fff;border:1px solid var(--ts-line);border-radius:22px;padding:18px;box-shadow:0 10px 30px -18px rgba(16,24,40,.25)}
.catalog-not-found{max-width:460px;margin:20px auto;padding:36px 28px 32px;text-align:center;border-radius:26px;background:radial-gradient(260px 160px at 50% 0%,#EAF0FF,transparent 70%),#fff;border:1px solid var(--ts-line);box-shadow:0 14px 34px -22px rgba(16,24,40,.35)}
.catalog-not-found::before{content:"\eb1c";font-family:"tabler-icons";display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:24px;color:#fff;font-size:34px;background:linear-gradient(140deg,#5B8CFF,#2449C9);box-shadow:0 14px 26px -12px #2449C9}
.shops-container-items .catalog-not-found::before{content:"\ea4e";background:linear-gradient(140deg,#FFB35C,#E0530C);box-shadow:0 14px 26px -12px #E0530C}
.catalog-not-found h4{font-size:20px;font-weight:800;color:var(--ts-ink);margin-bottom:8px}
.catalog-not-found p{color:var(--ts-muted);margin:0}
/* вход */
.auth-bonus-tag{background:linear-gradient(135deg,#F57A2E,#E0530C)!important;color:#fff!important;border:0!important;box-shadow:0 10px 20px -8px rgba(224,83,12,.6)!important}
.auth-card{border-radius:26px!important;box-shadow:0 26px 50px -26px rgba(16,24,40,.35)!important}
.auth-motivation h1 span,.auth-motivation .title-h1 span{background:linear-gradient(90deg,#2F5BEA,#FF8A3D);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.benefit-item .benefit-icon{width:48px;height:48px;border-radius:16px;color:#fff!important;font-size:22px;display:grid;place-items:center}
.benefit-icon.bg-blue{background:linear-gradient(140deg,#5B8CFF,#2449C9)!important}
.benefit-icon.bg-green{background:linear-gradient(140deg,#3FD6A0,#0F7A5B)!important}
.benefit-icon.bg-orange{background:linear-gradient(140deg,#FFB35C,#E0530C)!important}
.benefit-icon.bg-purple{background:linear-gradient(140deg,#9D7BFF,#5232C9)!important}
.benefit-item{transition:transform .25s ease}
.benefit-item:hover{transform:translateY(-3px)}
@media (max-width:991px){
 html body .hero-container.ts-aurora-card{margin:10px auto 28px;padding:40px 18px 44px;border-radius:24px}
 html body .hero-grid.ts-aurora-card{padding:32px 20px;border-radius:24px;width:calc(100% - 20px)}
 .catalog-not-found{padding:28px 18px}
}
html body .hero:has(> .container > .hero-container.ts-aurora-card){ padding-top: 0; }
.bento-icon i{ font-size: inherit !important; }
@media (max-width: 600px){ html body .pricing-card{ min-width: 0 !important; width: calc(100vw - 44px) !important; padding: 32px 20px !important; } }
html body section.hero:has(> .hero-grid.ts-aurora-card){ padding-top: 0; padding-bottom: 24px; }
.benefit-item .benefit-icon i{ font-size: inherit !important; }
@media (max-width: 991px){
  .auth-grid .auth-card-wrapper{ order: -1; margin-top: 18px; }
  .auth-grid .auth-motivation{ margin-top: 28px; }
  .auth-bonus-tag{ right: 8px !important; }
}

/* =====================================================================
   v15 — документы: правила, политика конфиденциальности, cookies
   ===================================================================== */
.ts-doc-page{ padding-bottom: 60px; }
.ts-doc-hero{ margin: 16px 0 28px; padding: 52px 48px; }
.ts-doc-hero h1{ margin: 0 0 10px; font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.ts-doc-hero p{ max-width: 640px; margin: 0; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.6; }
.ts-doc-layout{ display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.ts-doc-layout.ts-doc-no-toc{ grid-template-columns: minmax(0, 1fr); max-width: 900px; margin: 0 auto; }
.ts-doc-toc{ position: sticky; top: 90px; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 10px 30px -18px rgba(16,24,40,.25); max-height: calc(100vh - 110px); overflow: auto; }
.ts-doc-toc-title{ margin-bottom: 10px; color: var(--ts-ink); font-size: 15px; font-weight: 800; }
.ts-doc-toc-nav{ display: grid; gap: 2px; }
.ts-doc-toc-nav a{ display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; color: var(--ts-ink-2); font-size: 13.5px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.ts-doc-toc-nav a span{ flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--ts-gray); color: var(--ts-muted); font-size: 11px; font-weight: 800; }
.ts-doc-toc-nav a:hover{ background: var(--ts-primary-soft); color: var(--ts-primary); transform: translateX(3px); }
.ts-doc-toc-nav a.active{ background: var(--ts-primary-soft); color: var(--ts-primary); }
.ts-doc-toc-nav a.active span, .ts-doc-toc-nav a:hover span{ background: linear-gradient(140deg, #5B8CFF, #2449C9); color: #fff; }
.ts-doc.ts-doc-card{ max-width: none; margin: 0; padding: 36px 40px; border-radius: 24px; background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 10px 30px -18px rgba(16,24,40,.25); font-size: 15.5px; line-height: 1.7; }
.ts-doc-page .ts-doc-hero + .ts-doc-card{ max-width: 900px; margin: 0 auto; }
.ts-doc-body h2, .ts-doc-body h3, .ts-doc-body h4{ scroll-margin-top: 90px; display: flex; align-items: center; gap: 12px; margin: 34px 0 14px !important; padding-top: 22px; border-top: 1px solid var(--ts-line); color: var(--ts-ink); font-size: 21px !important; font-weight: 800; line-height: 1.3; }
.ts-doc-body > h2:first-child, .ts-doc-body > h3:first-child, .ts-doc-body > h4:first-child{ margin-top: 0 !important; padding-top: 0; border-top: 0; }
.ts-doc-body h2::before, .ts-doc-body h4::before{ content: ""; flex: none; width: 6px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, #5B8CFF, #FF8A3D); }
.ts-doc-body p{ margin: 0 0 12px; color: var(--ts-ink-2); }
.ts-doc-body .ts-clause{ display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; background: #F7F9FC; }
.ts-doc-body .ts-num{ align-self: start; min-width: 38px; padding: 2px 8px; border-radius: 8px; background: var(--ts-primary-soft); color: var(--ts-primary); font-size: 13px; font-weight: 800; text-align: center; line-height: 1.6; }
.ts-doc-body a{ color: var(--ts-primary); word-break: break-word; }
.ts-doc-page .ts-rules li{ background: #F7F9FC; }
.ts-doc-page .ts-rules li::before{ background: linear-gradient(140deg, #5B8CFF, #2449C9); }
@media (max-width: 991px){
  .ts-doc-hero{ margin: 10px 0 18px; padding: 34px 22px; border-radius: 24px; }
  .ts-doc-layout{ grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ts-doc-toc{ position: static; max-height: none; }
  .ts-doc-toc-nav{ grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .ts-doc-toc-nav::-webkit-scrollbar{ display: none; }
  .ts-doc-toc-nav a{ max-width: 240px; background: var(--ts-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ts-doc.ts-doc-card{ padding: 22px 16px; border-radius: 20px; font-size: 15px; }
  .ts-doc-body .ts-clause{ grid-template-columns: minmax(0,1fr); gap: 6px; padding: 12px; }
  .ts-doc-body .ts-num{ justify-self: start; }
  .ts-doc-body h2, .ts-doc-body h3, .ts-doc-body h4{ font-size: 18px !important; }
}
@media (max-width: 600px){ .ts-doc-hero h1{ font-size: clamp(24px, 7vw, 32px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
.ts-doc-body ul, .ts-doc-body ol{ list-style: none; padding: 0 !important; margin: 0 0 14px; display: grid; gap: 8px; }
.ts-doc-body ul li, .ts-doc-body ol li{ position: relative; padding: 12px 14px 12px 38px; border-radius: 14px; background: #F7F9FC; color: var(--ts-ink-2); }
.ts-doc-body ul li::before, .ts-doc-body ol li::before{ content: ""; position: absolute; left: 16px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(140deg, #5B8CFF, #2449C9); }
/* ===== v16 — шапка на всех страницах ===== */
/* верхняя строка ссылок (на обычных страницах) */
.header-wow-top .header-wow-top-list-item{ margin-right: 4px !important; padding: 6px 12px; border-radius: 10px; color: var(--ts-ink-2) !important; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.header-wow-top .header-wow-top-list-item:hover{ background: var(--ts-gray); color: var(--ts-primary) !important; }
.header-wow-top .header-wow-top-list-item.ts-active{ background: var(--ts-primary-soft); color: var(--ts-primary) !important; }
/* страницы-лендинги: полноценная шапка */
.ts-landing-top{ position: sticky; top: 0; z-index: 50; padding: 12px 0; background: rgba(255,255,255,.86) !important; -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(16,24,40,.06); }
.ts-landing-top .row{ display: flex; flex-wrap: nowrap; align-items: center; }
.ts-landing-top .row > div{ flex: 1 1 auto; width: auto; max-width: none; }
.ts-landing-top .row > div:last-child{ flex: 0 0 auto; }
.ts-landing-top .header-wow-top-list{ display: flex; align-items: center; gap: 2px; }
.ts-landing-top .ts-top-logo{ margin-right: 18px; padding: 0; transition: transform .25s ease; }
.ts-landing-top .ts-top-logo:hover{ transform: scale(1.04); }
.ts-landing-top .ts-top-logo img{ height: 38px; }
.ts-landing-top .header-wow-top-list-item{ padding: 9px 14px; font-size: 15px; border-radius: 12px; }
.ts-landing-top .header-wow-top-list-icon{ display: flex; align-items: center; gap: 8px; }
.ts-landing-top .header-wow-top-list-icon-item{ margin: 0 !important; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--ts-gray); color: var(--ts-ink) !important; transition: background-color .2s, transform .2s; }
.ts-landing-top .header-wow-top-list-icon-item i{ font-size: 22px !important; }
.ts-landing-top .header-wow-top-list-icon-item:hover{ background: var(--ts-primary-soft); color: var(--ts-primary) !important; transform: translateY(-2px); }
.ts-top-btn{ position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 14px; font-size: 15px; font-weight: 800; text-decoration: none !important; white-space: nowrap; transition: transform .25s ease, box-shadow .25s ease, background-color .2s; }
.ts-top-btn-ghost{ background: var(--ts-gray); color: var(--ts-ink) !important; }
.ts-top-btn-ghost:hover{ background: var(--ts-gray-hover); }
.ts-top-btn-cta{ background: linear-gradient(135deg, #F57A2E, #E0530C); color: #fff !important; box-shadow: 0 10px 22px -12px rgba(224,83,12,.8); }
.ts-top-btn-cta i{ font-size: 18px; }
.ts-top-btn::after{ content: ""; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.ts-top-btn:hover::after{ left: 130%; }
.ts-top-btn:hover{ transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 14px 24px -12px rgba(16,24,40,.45); }
.ts-top-btn:active{ transform: scale(.96); transition-duration: .08s; }
.ts-landing-top .header-wow-top-list-profile .mini-avatar-img{ width: 44px; height: 44px; }
@media (max-width: 1199px){ .ts-landing-top .header-wow-top-list-item{ padding: 8px 10px; font-size: 14px; } }
header.header-height-desktop:has(.ts-landing-top){ height: auto !important; min-height: 0 !important; position: sticky; top: 0; z-index: 60; }
.ts-landing-top{ position: relative !important; height: auto !important; min-height: 68px; }
/* ===== v17 — карточки объявлений в стиле сайта ===== */
.container-item-grid{ position: relative; display: block; height: 100%; padding: 8px 8px 12px; border-radius: 22px; background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 8px 24px -18px rgba(16,24,40,.35); text-decoration: none !important; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease, border-color .2s !important; }
.container-item-grid:hover{ transform: translateY(-4px) rotate(-.4deg) !important; border-color: transparent; box-shadow: 0 22px 36px -20px rgba(16,24,40,.45) !important; }
.container-item-grid:active{ transform: scale(.98) !important; transition-duration: .08s !important; }
.container-item-grid .container-item-images, .container-item-grid:hover .container-item-images{ position: relative; overflow: hidden; border-radius: 16px; background: var(--ts-gray); transform: none !important; box-shadow: none !important; }
/* зум фото без сдвига: отдельное свойство scale не ломает центрирование картинки */
.container-item-images img.image-autofocus{ transition: scale .5s cubic-bezier(.2,.7,.2,1) !important; }
.container-item-grid:hover .container-item-images img.image-autofocus{ scale: 1.06; }
.container-item-images::after{ content: ""; position: absolute; top: 0; left: -70%; z-index: 2; width: 45%; height: 100%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.container-item-grid:hover .container-item-images::after{ left: 130%; }
.container-item-favorite{ z-index: 3; width: 38px !important; height: 38px !important; display: grid !important; place-items: center; border-radius: 50% !important; background: rgba(255,255,255,.9) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 14px -6px rgba(16,24,40,.35); color: var(--ts-ink) !important; transition: transform .2s ease, color .2s !important; }
.container-item-favorite:hover{ transform: scale(1.1); color: #E0530C !important; }
.container-item-labels-1 span, .container-item-labels span{ display: inline-block; padding: 5px 10px !important; border-radius: 10px !important; background: linear-gradient(135deg, #F57A2E, #E0530C) !important; color: #fff !important; font-size: 12px !important; font-weight: 800 !important; box-shadow: 0 6px 14px -6px rgba(224,83,12,.7); }
.container-item-grid-content{ padding: 10px 6px 0 !important; }
.container-item-grid-content-title, .container-item-grid:hover .container-item-grid-content-title{ margin-top: 0 !important; color: var(--ts-ink) !important; font-size: 15px; font-weight: 600 !important; line-height: 1.3; transition: color .2s; }
.container-item-grid:hover .container-item-grid-content-title{ color: var(--ts-primary) !important; }
.container-item-grid-content-prices{ margin-top: 6px !important; }
.container-item-grid-content-prices .card-item-price-now{ font-size: 19px !important; font-weight: 800 !important; color: var(--ts-ink) !important; }
.container-item-grid-content-additionally{ margin-top: 6px !important; font-size: 13px; color: var(--ts-muted); }
.container-item-grid-content-user{ margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ts-line); }
.container-item-grid-content-user .box-user-face-card-content a{ color: var(--ts-ink-2) !important; font-weight: 600; }
.container-item-grid-highlight{ border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #FF8A3D, #FFC24B) border-box; }
.container-item-grid-highlight .container-item-images{ box-shadow: none !important; }
@media (max-width: 991px){
  .container-item-grid{ padding: 6px 6px 10px; border-radius: 18px; }
  .container-item-grid .container-item-images{ border-radius: 13px; }
  .container-item-grid-content{ padding: 8px 4px 0 !important; }
  .container-item-grid-content-title{ font-size: 14px; }
  .container-item-grid-content-prices .card-item-price-now{ font-size: 16px !important; }
  .container-item-grid:hover{ transform: none !important; }
}
/* ===== v18 — страница объявления ===== */
.ad-card-info-line{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ad-card-info-line span{ display: inline-flex; align-items: center; gap: 5px; margin: 0 !important; padding: 5px 11px; border-radius: 10px; background: var(--ts-gray); color: var(--ts-muted); font-size: 13px; font-weight: 600; }
.ad-card-menu-line-item{ width: 44px; height: 44px; display: inline-grid !important; place-items: center; border-radius: 14px !important; background: var(--ts-gray) !important; color: var(--ts-ink) !important; font-size: 20px; transition: background-color .2s, transform .2s !important; }
.ad-card-menu-line-item:hover{ background: var(--ts-primary-soft) !important; color: var(--ts-primary) !important; transform: translateY(-2px); }
/* галерея */
.ad-card-media-slider-container{ padding: 14px; border-radius: 28px; background: radial-gradient(500px 260px at 0% 0%, #EAF0FF, transparent 70%), radial-gradient(500px 260px at 100% 100%, #FFF1E7, transparent 70%), #F5F7FB; }
.ad-card-media-slider .swiper-wrapper:has(> .swiper-slide:only-child){ justify-content: center; }
.ad-card-media-slider-item, .ad-card-media-slider-item > div{ height: 440px !important; }
.ad-card-media-slider-item{ overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 16px 30px -20px rgba(16,24,40,.45); }
.ad-card-media-slider-item img.image-autofocus{ transition: scale .5s cubic-bezier(.2,.7,.2,1); }
.ad-card-media-slider-item:hover img.image-autofocus{ scale: 1.04; }
.ad-card-media-slider-nav-left, .ad-card-media-slider-nav-right{ width: 46px !important; height: 46px !important; border-radius: 50% !important; background: #fff !important; color: var(--ts-ink) !important; box-shadow: 0 8px 22px -6px rgba(16,24,40,.35) !important; }
.ad-card-media-slider-miniatures .swiper-slide{ border-radius: 12px; overflow: hidden; }
/* основная колонка */
.ad-card-content-item{ margin-bottom: 16px !important; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 10px 30px -22px rgba(16,24,40,.3); }
.ad-card-subtitle{ display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; color: var(--ts-ink) !important; font-size: 19px !important; font-weight: 800 !important; }
.ad-card-subtitle::before{ content: ""; flex: none; width: 6px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, #5B8CFF, #FF8A3D); }
.ad-card-content-item .text-break-word{ color: var(--ts-ink-2); font-size: 15.5px; line-height: 1.7; }
.ad-card-list-properties{ display: flex; flex-wrap: wrap; gap: 8px; }
.ad-card-list-properties .list-properties-item{ margin: 0 !important; padding: 9px 14px !important; border-radius: 12px; background: #F5F7FB !important; color: var(--ts-ink) !important; font-weight: 700; }
.ad-card-list-properties .list-properties-item span{ color: var(--ts-muted); font-weight: 500; }
.ad-card-reviews-content{ padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 10px 30px -22px rgba(16,24,40,.3); }
.ad-card-reviews-content .my-tabs-item{ border-radius: 12px; font-weight: 800; }
.ad-card-reviews-content .my-tabs-item.active{ color: var(--ts-primary) !important; }
/* правая колонка */
.col-lg-3:has(> .ad-card-sidebar){ position: sticky; top: 90px; align-self: flex-start; }
.ad-card-sidebar{ padding: 22px 22px 18px !important; border-radius: 24px !important; border: 0 !important; color: #fff; background: radial-gradient(260px 160px at 100% 0%, rgba(255,138,61,.45), transparent 70%), linear-gradient(135deg, #2449C9, #3D6BF2) !important; box-shadow: 0 22px 40px -22px rgba(36,73,201,.7) !important; }
.ad-card-sidebar .card-item-price-now{ color: #fff !important; font-size: 34px !important; font-weight: 800 !important; letter-spacing: -.02em; }
.ad-card-sidebar .card-item-price-old{ color: rgba(255,255,255,.7) !important; }
.ad-card-user{ align-items: center; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--ts-line); }
.ad-card-user-avatar{ box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ts-primary-line); border-radius: 50%; }
.ad-card-user-content a{ color: var(--ts-ink) !important; font-size: 16px; font-weight: 800; }
.ad-card-action-buttons-contact{ display: grid; gap: 10px; margin-top: 14px; }
.ad-card-action-buttons-contact .btn-custom{ height: 52px; margin: 0 !important; border-radius: 16px !important; font-size: 16px !important; font-weight: 800 !important; }
.ad-card-action-buttons-contact .btn-custom:first-child{ background: linear-gradient(135deg, #F57A2E, #E0530C) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 12px 24px -12px rgba(224,83,12,.8); }
.ad-card-action-buttons-contact .btn-custom:nth-child(2){ background: linear-gradient(135deg, #4C7DFF, #2449C9) !important; color: #fff !important; border-color: transparent !important; opacity: 1 !important; box-shadow: 0 12px 24px -12px rgba(36,73,201,.7); }
.ts-safe-tip{ display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px; border-radius: 18px; background: #E9F7EF; color: #14532D !important; font-size: 13px; line-height: 1.45; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.ts-safe-tip b{ display: block; margin-bottom: 2px; color: #166534; font-size: 14px; }
.ts-safe-tip-icon{ flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-size: 20px; background: linear-gradient(140deg, #3FD6A0, #0F7A5B); }
.ts-safe-tip:hover{ transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 14px 24px -14px rgba(15,122,91,.5); }
@media (max-width: 991px){
  .ad-card-media-slider-container{ padding: 8px; border-radius: 22px; }
  .ad-card-media-slider-item, .ad-card-media-slider-item > div{ height: 300px !important; }
  .ad-card-media-slider-item{ border-radius: 16px; }
  .col-lg-3:has(> .ad-card-sidebar){ position: static; }
  .ad-card-content-item, .ad-card-reviews-content{ padding: 18px 16px; border-radius: 20px; }
  .ad-card-sidebar .card-item-price-now{ font-size: 28px !important; }
}
html body .ad-card-action-buttons-contact .btn-custom.actionAdShowContacts{ background: linear-gradient(135deg, #4C7DFF, #2449C9) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 12px 24px -12px rgba(36,73,201,.7); }
html body .ad-card-action-buttons-contact .btn-custom.actionOpenDialogueSendMessage{ background: linear-gradient(135deg, #F57A2E, #E0530C) !important; color: #fff !important; border-color: transparent !important; }
/* кнопки «Купить сейчас» (безопасная сделка) и «В корзину» на синей карточке цены */
.ad-card-sidebar .ad-card-action-buttons{ display: grid; gap: 10px; margin-top: 16px; }
.ad-card-sidebar .ad-card-action-buttons .btn-custom{ margin: 0 !important; border-radius: 16px !important; font-size: 16px !important; font-weight: 800 !important; border: 0 !important; }
html body .ad-card-sidebar .ad-card-buy-now{ display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: auto !important; min-height: 62px; padding: 10px 14px !important; background: linear-gradient(135deg, #34C77B, #15803D) !important; color: #fff !important; box-shadow: 0 12px 24px -12px rgba(21,128,61,.8); }
html body .ad-card-sidebar .ad-card-buy-now > span{ position: static !important; transform: none !important; display: inline-flex; align-items: center; gap: 4px; height: auto; padding: 3px 10px !important; border-radius: 20px; background: rgba(255,255,255,.22) !important; color: #fff !important; font-size: 11.5px !important; font-weight: 700; line-height: 1.4; }
html body .ad-card-sidebar .actionAddToCart{ height: 50px; background: rgba(255,255,255,.16) !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.45) !important; }
html body .ad-card-sidebar .actionAddToCart:hover{ background: rgba(255,255,255,.26) !important; }

/* =====================================================================
   v19 — продавец в объявлении, личный кабинет, вкладки
   ===================================================================== */
/* блок продавца */
.ad-card-user{ position: relative; display: flex !important; align-items: center; gap: 14px; padding: 16px 44px 16px 16px !important; border-radius: 22px !important; background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 10px 26px -20px rgba(16,24,40,.4); transition: transform .25s ease, box-shadow .25s ease, border-color .2s; }
.ad-card-user:hover{ transform: translateY(-3px) rotate(-.4deg); border-color: var(--ts-primary-line); box-shadow: 0 18px 30px -18px rgba(16,24,40,.45); }
.ad-card-user-avatar{ flex: none; margin: 0 !important; padding: 3px; border-radius: 50%; background: linear-gradient(140deg, #5B8CFF, #FF8A3D); box-shadow: none !important; }
.ad-card-user-avatar > div{ width: 54px !important; height: 54px !important; border-radius: 50% !important; border: 3px solid #fff; overflow: hidden; background: #fff; }
.ad-card-user-content{ min-width: 0; margin: 0 !important; }
.ts-seller-label{ display: block; margin-bottom: 1px; color: var(--ts-muted); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.ad-card-user-content > a{ display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ts-ink) !important; font-size: 17px !important; font-weight: 800 !important; }
.ad-card-user-content > a::after{ content: ""; position: absolute; inset: 0; z-index: 1; }
.ad-card-user .menu-user-rating-stars{ margin-top: 3px; }
.ad-card-user .menu-user-rating-stars i{ color: #FFB020; }
.ts-seller-arrow{ position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--ts-gray); color: var(--ts-muted); font-size: 17px; transition: background-color .2s, color .2s; }
.ad-card-user:hover .ts-seller-arrow{ background: var(--ts-primary); color: #fff; }

/* аватар в шапке */
.header-wow-top-list-profile .mini-avatar-img, .ts-landing-top .header-wow-top-list-profile .mini-avatar-img{ width: 44px !important; height: 44px !important; border-radius: 14px !important; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ts-primary-line); transition: transform .2s, box-shadow .2s; }
.header-wow-top-list-profile .mini-avatar{ height: 44px !important; }
.header-wow-top-list-profile:hover .mini-avatar-img{ transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ts-primary); }
.ts-landing-top .toolbar-link-profile{ margin-right: 0 !important; }

/* боковое меню личного кабинета */
.profile-user-sidebar{ position: sticky; top: 90px; overflow: hidden; padding: 0 12px 12px; border-radius: 26px; background: #fff; border: 1px solid var(--ts-line); box-shadow: 0 14px 34px -24px rgba(16,24,40,.4); text-align: center; isolation: isolate; }
.profile-user-sidebar::before{ content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 92px; background: radial-gradient(220px 120px at 0% 0%, rgba(255,138,61,.55), transparent 70%), radial-gradient(220px 120px at 100% 100%, rgba(56,189,248,.5), transparent 70%), linear-gradient(135deg, #2449C9, #3D6BF2); }
.profile-user-sidebar-avatar{ padding-top: 38px; }
.profile-user-sidebar-avatar > div{ width: 96px !important; height: 96px !important; border: 4px solid #fff; box-shadow: 0 12px 24px -12px rgba(16,24,40,.45); }
.profile-user-sidebar-full-name{ margin: 12px 0 4px !important; color: var(--ts-ink) !important; font-size: 20px !important; font-weight: 800 !important; }
.profile-user-sidebar .menu-user-rating-stars{ justify-content: center; }
.profile-user-sidebar .menu-user-rating-stars i{ color: #FFB020; }
.profile-user-sidebar-menu{ display: grid; gap: 2px; margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--ts-line); text-align: left; }
.profile-user-sidebar-menu a{ display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 8px 10px; border-radius: 14px; color: var(--ts-ink-2) !important; font-size: 15px; font-weight: 600 !important; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.profile-user-sidebar-menu a > i{ flex: none; width: 36px; height: 36px; display: grid; place-items: center; margin: 0 !important; border-radius: 12px; background: var(--ts-gray); color: var(--ts-ink-2); font-size: 19px !important; transition: background .2s, color .2s; }
.profile-user-sidebar-menu a:hover{ background: var(--ts-primary-soft); color: var(--ts-primary) !important; transform: translateX(3px); }
.profile-user-sidebar-menu a:hover > i, .profile-user-sidebar-menu a.ts-active > i, .profile-user-sidebar-menu a.active > i{ background: linear-gradient(140deg, #5B8CFF, #2449C9); color: #fff; }
.profile-user-sidebar-menu a.ts-active, .profile-user-sidebar-menu a.active{ background: var(--ts-primary-soft); color: var(--ts-primary) !important; }
.profile-user-sidebar-menu a[href*="logout"]{ margin-top: 6px !important; color: #B42318 !important; }
.profile-user-sidebar-menu a[href*="logout"] > i{ background: #FEF3F2; color: #D92D20; }
.profile-user-sidebar-menu a[href*="logout"]:hover{ background: #FEF3F2; }
.profile-user-sidebar-menu a[href*="logout"]:hover > i{ background: #D92D20; color: #fff; }

/* вкладки (кошелёк, отзывы и др.) */
.my-tabs-items-big{ display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 16px; background: var(--ts-gray); }
.my-tabs-items-big .my-tabs-item{ margin: 0 !important; padding: 9px 16px !important; border-radius: 12px !important; color: var(--ts-ink-2) !important; font-size: 15px !important; font-weight: 700 !important; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.my-tabs-items-big .my-tabs-item:hover{ color: var(--ts-primary) !important; }
.my-tabs-items-big .my-tabs-item.active{ background: #fff !important; color: var(--ts-ink) !important; box-shadow: 0 6px 14px -8px rgba(16,24,40,.35); }
.my-tabs-items-big .my-tabs-item::after, .my-tabs-items-big .my-tabs-item.active::after{ display: none !important; }
.ad-card-user .menu-user-rating-stars{ display: flex !important; flex-wrap: nowrap; align-items: center; gap: 1px; white-space: nowrap; }
.ad-card-user .menu-user-rating-stars span{ margin: 0 !important; }
.ad-card-user .menu-user-rating-stars i{ font-size: 15px; }
.ad-card-user .user-rating-stars-count-reviews{ margin-left: 6px !important; color: var(--ts-muted); font-size: 12.5px; }
/* аватар пользователя в шапке (все варианты шапки) — скруглённый квадрат в стиле кнопок */
.toolbar-link-profile .mini-avatar{ height: 46px !important; display: block; }
.toolbar-link-profile .mini-avatar-img{ width: 46px !important; height: 46px !important; border-radius: 15px !important; overflow: hidden; background: linear-gradient(140deg, #5B8CFF, #2449C9) !important; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ts-primary-line), 0 8px 18px -10px rgba(36,73,201,.6); transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; color: #fff; font-size: 16px; font-weight: 800; }
.toolbar-link-profile .mini-avatar-img > *{ width: 100% !important; height: 100% !important; border-radius: inherit !important; display: flex !important; align-items: center; justify-content: center; font-size: 16px !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: .02em; }
.toolbar-link-profile .mini-avatar-img img{ object-fit: cover; }
.toolbar-link-profile:hover .mini-avatar-img{ transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ts-primary), 0 12px 22px -10px rgba(36,73,201,.7); }
.toolbar-link-profile .label-count{ z-index: 2; }
.header-flex-box-3{ align-items: center; }
/* блок цены на странице объявления */
.ad-card-sidebar{ position: relative; overflow: hidden; isolation: isolate; }
.ad-card-sidebar::after{ content: "₽"; position: absolute; z-index: -1; right: -14px; top: -34px; font-size: 150px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.08); transform: rotate(-12deg); pointer-events: none; }
.ad-card-sidebar .ad-card-prices{ display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0 !important; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.18); }
.ad-card-sidebar .ad-card-prices::before{ content: "Цена"; display: inline-flex; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,.16); color: rgba(255,255,255,.92); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ad-card-sidebar .card-item-price-now{ font-size: 42px !important; line-height: 1.05; letter-spacing: -.035em !important; text-shadow: 0 8px 22px rgba(10,20,80,.35); }
.ad-card-sidebar .card-item-price-old{ font-size: 16px !important; text-decoration: line-through; color: rgba(255,255,255,.65) !important; }
@media (max-width: 991px){ .ad-card-sidebar .card-item-price-now{ font-size: 34px !important; } }
/* ===== v20 — мобильная нижняя панель и меню категорий ===== */
.main-floating-menu.ts-tabbar{ left: 10px !important; right: 10px !important; bottom: calc(10px + env(safe-area-inset-bottom)) !important; display: flex !important; align-items: flex-end; justify-content: space-around; height: auto !important; padding: 6px !important; border-radius: 24px !important; background: rgba(255,255,255,.92) !important; -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 14px 34px -14px rgba(16,24,40,.38), 0 0 0 1px rgba(16,24,40,.06) !important; overflow: visible !important; }
.ts-tabbar > a{ flex: 1 1 0; display: flex !important; justify-content: center; height: auto !important; margin: 0 !important; padding: 4px 0 2px !important; color: var(--ts-muted) !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
.ts-tabbar > a > div{ display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ts-tabbar > a span{ font-size: 11px !important; font-weight: 700; line-height: 1.2; }
.ts-tabbar > a > div > span:first-child{ width: 48px; height: 32px; display: grid !important; place-items: center; border-radius: 12px; transition: background-color .2s, color .2s, transform .2s; }
.ts-tabbar > a span i{ font-size: 24px !important; line-height: 1; }
.ts-tabbar > a.ts-active{ color: var(--ts-primary) !important; }
.ts-tabbar > a.ts-active > div > span:first-child{ background: var(--ts-primary-soft); }
.ts-tabbar > a:active > div > span:first-child{ transform: scale(.9); }
/* центральная кнопка «Добавить» */
.ts-tabbar > a.ts-tab-fab{ flex: 0 0 auto; margin: -30px 4px 0 !important; color: #E0530C !important; }
.ts-tabbar > a.ts-tab-fab > div > span:first-child{ width: 58px !important; height: 58px !important; border-radius: 20px !important; border: 4px solid #fff; background: linear-gradient(135deg, #F57A2E, #E0530C) !important; color: #fff !important; box-shadow: 0 12px 24px -8px rgba(224,83,12,.7); }
.ts-tabbar > a.ts-tab-fab span i{ font-size: 28px !important; color: #fff !important; }
.ts-tabbar > a.ts-tab-fab:active > div > span:first-child{ transform: scale(.92) rotate(90deg); }
.ts-tabbar .chat-icon-counter:not(:empty){ display: inline-grid !important; position: absolute; top: 0; right: 50%; margin-right: -24px; min-width: 18px; height: 18px; padding: 0 5px; place-items: center; border-radius: 9px; background: #E0530C; color: #fff; font-size: 10px !important; }
.ts-tabbar > a{ position: relative; }
/* меню категорий (по кнопке ☰) */
.big-catalog-menu-mobile-container{ padding: 0 !important; background: #F5F7FB !important; }
.big-catalog-menu-mobile-content{ padding: 14px 14px calc(120px + env(safe-area-inset-bottom)); }
.big-catalog-menu-mobile-content .close-header-menu-mobile{ display: inline-flex !important; align-items: center; gap: 6px; height: 42px; margin-bottom: 14px !important; padding: 0 16px 0 12px !important; border-radius: 14px !important; background: #fff !important; color: var(--ts-ink) !important; font-size: 15px !important; font-weight: 800 !important; box-shadow: 0 6px 16px -10px rgba(16,24,40,.4); }
.big-catalog-menu-mobile-content .close-header-menu-mobile::before{ content: "\ea19"; font-family: "tabler-icons"; font-size: 20px; font-weight: 400; }
.mobile-menu-list-link{ display: grid; padding: 6px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px -20px rgba(16,24,40,.4); }
.mobile-menu-list-link .mobile-menu-list-link-item:empty{ display: none !important; }
.mobile-menu-list-link .mobile-menu-list-link-item{ display: flex !important; align-items: center; justify-content: space-between; margin: 0 !important; padding: 13px 12px; border-radius: 14px; color: var(--ts-ink) !important; font-size: 16px; font-weight: 700; text-decoration: none; }
.mobile-menu-list-link .mobile-menu-list-link-item::after{ content: "\ea61"; font-family: "tabler-icons"; color: #98A2B3; font-size: 18px; font-weight: 400; }
.mobile-menu-list-link .mobile-menu-list-link-item + .mobile-menu-list-link-item{ border-top: 1px solid var(--ts-line); border-radius: 0; }
.mobile-menu-list-link .mobile-menu-list-link-item:active{ background: var(--ts-primary-soft); }
.big-catalog-menu-mobile-content .title-h6{ margin: 22px 0 12px !important; color: var(--ts-ink); font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.02em; }
.mobile-grid-menu-categories .row{ --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
.mobile-grid-menu-categories .col-4 .mobile-grid-menu-category-item{ --g1: #5B8CFF; --g2: #2747C9; position: relative; height: 118px !important; margin: 0 !important; padding: 12px 11px !important; border-radius: 20px !important; overflow: hidden; color: #fff !important; text-decoration: none; isolation: isolate;
  background: radial-gradient(90px 80px at 50% 62%, rgba(255,255,255,.35), transparent 70%), linear-gradient(160deg, var(--g1), var(--g2)) !important; box-shadow: 0 10px 20px -14px rgba(16,24,40,.6); transition: transform .2s; }
.mobile-grid-menu-categories .col-4:nth-child(6n+2) .mobile-grid-menu-category-item{ --g1: #FF8FB1; --g2: #C2387A; }
.mobile-grid-menu-categories .col-4:nth-child(6n+3) .mobile-grid-menu-category-item{ --g1: #FFB35C; --g2: #E0530C; }
.mobile-grid-menu-categories .col-4:nth-child(6n+4) .mobile-grid-menu-category-item{ --g1: #9D7BFF; --g2: #5232C9; }
.mobile-grid-menu-categories .col-4:nth-child(6n+5) .mobile-grid-menu-category-item{ --g1: #3FD6A0; --g2: #0F7A5B; }
.mobile-grid-menu-categories .col-4:nth-child(6n+6) .mobile-grid-menu-category-item{ --g1: #4FC3F7; --g2: #1F5FBF; }
.mobile-grid-menu-category-item div{ position: relative; z-index: 2; color: #fff !important; font-size: 13px !important; font-weight: 800; line-height: 1.15; text-shadow: 0 1px 4px rgba(0,0,0,.25); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; word-break: normal !important; }
.mobile-grid-menu-category-item img{ right: 50% !important; bottom: 6px !important; height: 58px !important; translate: 50% 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.mobile-grid-menu-category-item:active{ transform: scale(.95); }
@media (max-width: 359px){ .mobile-grid-menu-category-item div{ font-size: 12px !important; } .mobile-grid-menu-categories .col-4 .mobile-grid-menu-category-item{ height: 108px !important; } }
.mobile-grid-menu-category-item div{ font-size: 12px !important; letter-spacing: -.02em; overflow-wrap: normal !important; }
.mobile-grid-menu-category-item[href$="strojmaterialy-i-instrumenty"] div, .mobile-grid-menu-category-item[href$="nedvizhimost"] div{ font-size: 11px !important; }
@media (max-width: 359px){ .mobile-grid-menu-category-item div{ font-size: 11px !important; } .mobile-grid-menu-category-item[href$="strojmaterialy-i-instrumenty"] div, .mobile-grid-menu-category-item[href$="nedvizhimost"] div{ font-size: 10px !important; } }
/* нижняя панель только на телефонах и планшетах */
@media (min-width: 992px){ .main-floating-menu, .main-floating-menu.ts-tabbar{ display: none !important; } }
/* предложение установить приложение (PWA), только на телефонах */
.ts-install{ position: fixed; z-index: 1040; left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 12px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -18px rgba(16,24,40,.45), 0 0 0 1px rgba(16,24,40,.06); transform: translateY(20px); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.ts-install[hidden]{ display: none !important; }
.ts-install.ts-show{ transform: none; opacity: 1; }
.ts-install-icon{ flex: none; width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 8px 16px -8px rgba(36,73,201,.6); }
.ts-install-text{ flex: 1; min-width: 0; line-height: 1.3; }
.ts-install-text b{ display: block; color: var(--ts-ink); font-size: 15px; font-weight: 800; }
.ts-install-text span{ display: block; color: var(--ts-muted); font-size: 12.5px; }
.ts-install-btn{ flex: none; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #F57A2E, #E0530C); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 10px 20px -10px rgba(224,83,12,.8); }
.ts-install-btn:active{ transform: scale(.95); }
.ts-install-close{ position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ts-muted); font-size: 18px; line-height: 1; box-shadow: 0 4px 10px -4px rgba(16,24,40,.4); }
@media (min-width: 992px){ .ts-install{ display: none !important; } }
/* полоса-уведомление (технические работы и т.п.) — включается в админке */
.ts-notice{ --n1: #FFB35C; --n2: #E0530C; position: relative; z-index: 70; color: #fff; background: radial-gradient(420px 120px at 0% 0%, rgba(255,255,255,.22), transparent 70%), linear-gradient(100deg, var(--n1), var(--n2)); box-shadow: 0 6px 18px -10px rgba(16,24,40,.45); transition: opacity .3s, transform .3s; }
.ts-notice-info{ --n1: #5B8CFF; --n2: #2449C9; }
.ts-notice-danger{ --n1: #F97066; --n2: #C01048; }
.ts-notice-success{ --n1: #3FD6A0; --n2: #0F7A5B; }
.ts-notice-hide{ opacity: 0; transform: translateY(-8px); }
.ts-notice-inner{ display: flex; align-items: center; gap: 14px; padding-top: 11px; padding-bottom: 11px; }
.ts-notice-icon{ flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.2); font-size: 20px; animation: tsNoticePulse 2.4s ease-in-out infinite; }
@keyframes tsNoticePulse{ 50%{ box-shadow: 0 0 0 6px rgba(255,255,255,.12); } }
.ts-notice-text{ flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; }
.ts-notice-text b{ margin-right: 8px; font-size: 15px; font-weight: 800; }
.ts-notice-text span{ color: rgba(255,255,255,.92); }
.ts-notice-link{ flex: none; padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--n2) !important; font-size: 13.5px; font-weight: 800; text-decoration: none !important; transition: transform .2s; }
.ts-notice-link:hover{ transform: translateY(-2px); }
.ts-notice-close{ flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: background-color .2s; }
.ts-notice-close:hover{ background: rgba(255,255,255,.3); }
@media (max-width: 767px){
  .ts-notice-inner{ align-items: flex-start; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .ts-notice-icon{ width: 32px; height: 32px; font-size: 17px; border-radius: 10px; }
  .ts-notice-text{ font-size: 13px; }
  .ts-notice-text b{ display: block; margin: 0 0 2px; font-size: 14px; }
  .ts-notice-link{ display: none; }
}
@media (prefers-reduced-motion: reduce){ .ts-notice-icon{ animation: none; } }

/* v21 — счётчик объявлений на кнопках категорий: внутри кнопки, а не обрезанный сверху */
html body .widget-categories-or-subcategories a{ display: inline-flex !important; align-items: center; gap: 7px; }
html body .widget-categories-or-subcategories .widget-categories-or-subcategories-counter{ position: static !important; top: auto; right: auto; order: 2; flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1; color: #fff; background: linear-gradient(135deg, #FFB35C, #F26419); box-shadow: 0 4px 10px -4px rgba(242,100,25,.6); }

/* v40 — мобильная версия: выравнивание */
/* 1. Никакого горизонтального сдвига страницы (на /auth декоративное свечение растягивало страницу до 512px) */
html, body{ overflow-x: clip; }
.auth-section{ position: relative; overflow: hidden; }
.bg-glow-1, .bg-glow-2, .bg-glow-3{ max-width: 100vw; }
@media (max-width: 991px){
  /* 2. Плашка «технические работы» на телефоне — аккуратный тост над нижним меню, а не поверх шапки */
  html body .ts-notice{ position: fixed !important; left: 10px; right: 10px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 1060; border-radius: 18px; box-shadow: 0 18px 40px -14px rgba(16,24,40,.55); }
  html body .ts-notice .container{ padding-left: 12px; padding-right: 12px; }
  html body .ts-notice-inner{ gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  html body .ts-notice-icon{ width: 32px; height: 32px; font-size: 17px; }
  html body .ts-notice-text{ font-size: 12.5px; line-height: 1.35; }
  html body .ts-notice-text b{ display: block; font-size: 14px; margin: 0 0 2px; }
  /* 3. Карточка объявления: счётчик отзывов внутри вкладки и без лишнего отступа */
  html body .ad-card-reviews-content{ margin-top: 20px !important; }
  html body .ad-card-reviews-content .my-tabs-item span{ position: static !important; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: #FFF1EA; font-size: 12px; line-height: 1; vertical-align: 1px; }
  /* 4. Блог: заголовок «Материал недели» не наезжает на хэштег и дату */
  html body .hero-grid .hero-card{ padding-bottom: 54px !important; min-height: 0 !important; }
  html body .hero-grid .hero-card h2{ font-size: 22px !important; line-height: 1.2; }
  html body .hero-grid .hero-card-bottom{ left: 25px; right: 25px; bottom: 20px !important; }
  html body .categories-section{ padding-bottom: 16px !important; }
  html body .categories-section + .section.section-white{ padding-top: 28px !important; }
}
@media (max-width: 480px){
  /* 5. «Горящие окошки»: кнопки во всю ширину, текст в одну строку */
  html body .tsh-ctas{ flex-direction: column; }
  html body .tsh-ctas .tsh-cta{ flex: none; width: 100%; white-space: nowrap; }
}

/* v41 — режим приложения (Flutter-приложение и мини-приложение MAX) */
html.ts-app .ts-install{ display: none !important; }
html.ts-app body{ -webkit-tap-highlight-color: transparent; }
html.ts-app .ts-tabbar{ padding-bottom: env(safe-area-inset-bottom); }

/* v42 — личный кабинет на телефоне */
/* вкладки (Кошелёк, Избранное, Заказы…) — аккуратные «таблетки» вместо столбика текста */
@media (max-width: 767px){
  html body .my-tabs-items.my-tabs-items-medium{ display: flex !important; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; }
  html body .my-tabs-items.my-tabs-items-medium .my-tabs-item{ flex: none; display: inline-flex; align-items: center; white-space: nowrap; padding: 9px 15px !important; border-radius: 99px; background: #F2F5FB; font-size: 14px !important; font-weight: 600; line-height: 1.2; color: #4A5370; margin: 0 !important; border: 0; text-decoration: none; }
  html body .my-tabs-items.my-tabs-items-medium .my-tabs-item.active{ background: #2F5BEA; color: #fff; }
  html body .my-tabs-items.my-tabs-items-medium .my-tabs-item:before,
  html body .my-tabs-items.my-tabs-items-medium .my-tabs-item:after{ display: none !important; }
  /* История операций кошелька — карточками, без прокрутки таблицы вбок */
  html body .payment-history-layout .table-responsive{ overflow: visible; }
  html body .payment-history-layout .text-nowrap{ white-space: normal !important; }
  html body .payment-history-layout table, html body .payment-history-layout tbody{ display: block; width: 100%; }
  html body .payment-history-layout thead{ display: none; }
  html body .payment-history-layout tbody tr{ display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; margin: 0 0 8px; border-radius: 14px; background: #F7F9FC; border: 1px solid #edf1f9; }
  html body .payment-history-layout tbody td{ display: block; padding: 0 !important; border: 0 !important; background: transparent !important; font-size: 14px; }
  html body .payment-history-layout tbody td:nth-child(1){ grid-column: 1; font-weight: 600; color: #14204A; }
  html body .payment-history-layout tbody td:nth-child(2){ grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 800; font-size: 16px; color: #14204A; white-space: nowrap; }
  html body .payment-history-layout tbody td:nth-child(3){ grid-column: 1; font-size: 12.5px; color: #5b6478; }
}
/* «Тут пока ничего нет» — карточкой */
html body .not-found-title-container{ text-align: center; padding: 34px 18px; border: 1.5px dashed #D5DDEE; border-radius: 22px; background: #fff; }
html body .not-found-title-container-image{ font-size: 46px; line-height: 1; margin-bottom: 10px; }
html body .not-found-title-container p{ margin: 0; font-size: 15px; font-weight: 600; color: #4A5370; }

/* v43 — настройки профиля (вынесено из шаблона: большой шаблон ломал порядок вывода страницы) */
/* TradeSity — красивые настройки профиля */
.tsps-page{--ink:#14204A;--mut:#5b6478;--line:#E6EBF5;--soft:#F5F7FB;--blue:#2F5BEA}
.tsps-hero{display:flex;align-items:center;gap:16px;padding:22px 24px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#3B6CFF 0%,#2F5BEA 45%,#6B4CF6 100%);box-shadow:0 22px 44px -26px rgba(47,91,234,.85);position:relative;overflow:hidden}
.tsps-hero:after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 70%)}
.tsps-hero-ic{flex:none;width:54px;height:54px;border-radius:17px;display:grid;place-items:center;font-size:28px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3)}
.tsps-hero h1{margin:0;color:#fff !important;font-size:26px}
.tsps-hero h1 strong{color:#fff !important}
.tsps-hero p{margin:4px 0 0;opacity:.9;font-size:14px;line-height:1.4}

.tsps-page .profile-settings-sections{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:10px;margin-top:18px !important}
.tsps-page .profile-settings-sections a{display:flex !important;align-items:center;gap:10px;padding:14px 16px !important;border-radius:18px !important;background:#fff !important;border:1px solid var(--line) !important;color:var(--ink) !important;font-weight:700;text-decoration:none !important;box-shadow:0 8px 20px -18px rgba(20,32,74,.5);transition:transform .15s,border-color .15s;min-height:0 !important;height:auto !important;flex-direction:row !important;text-align:left}
.tsps-page .profile-settings-sections a i{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;font-size:20px;background:var(--soft);color:var(--blue);margin:0 !important}
.tsps-page .profile-settings-sections a.active{border-color:var(--blue) !important;box-shadow:0 0 0 3px rgba(47,91,234,.12)}
.tsps-page .profile-settings-sections a.active i{background:var(--blue);color:#fff}
.tsps-page .profile-settings-sections a:hover{transform:translateY(-1px)}

.tsps-page .profile-settings-form{margin-top:18px !important}
.tsps-page .profile-settings-section{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px 24px 8px;margin:0 0 16px !important;box-shadow:0 14px 34px -30px rgba(20,32,74,.55)}
.tsps-head{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.tsps-head h5{margin:0;font-size:18px;font-weight:800;color:var(--ink)}
.tsps-head small{display:block;color:var(--mut);font-size:13px;margin-top:1px}
.tsps-ic{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:21px;color:#fff}
.tsps-ic-blue{background:linear-gradient(135deg,#5B8CFF,#2F5BEA)}
.tsps-ic-violet{background:linear-gradient(135deg,#9B7BFF,#6B4CF6)}
.tsps-ic-orange{background:linear-gradient(135deg,#FFB35C,#F26419)}
.tsps-ic-green{background:linear-gradient(135deg,#5BE3A8,#1FA971)}

.tsps-page .profile-settings-section-item{padding:12px 0;margin:0 !important;border-top:1px solid #F0F3F9}
.tsps-page .profile-settings-section .tsps-head + .profile-settings-section-item,
.tsps-page .profile-settings-section .tsps-head + * .profile-settings-section-item:first-child{border-top:0}
.tsps-page .profile-settings-section-item > .row{align-items:center}
.tsps-page .profile-settings-section-item .col-md-3 label{font-size:13.5px;font-weight:700;color:var(--ink);margin:0}
.tsps-page .profile-settings-section-item small{color:var(--mut);font-size:12.5px;line-height:1.4}
.tsps-page .profile-settings-section-item .form-control{height:48px;border-radius:14px;background:var(--soft);border:1.5px solid transparent;font-size:15px;color:var(--ink);box-shadow:none;transition:border-color .15s,background .15s}
.tsps-page .profile-settings-section-item .form-control:focus{background:#fff;border-color:var(--blue);box-shadow:0 0 0 4px rgba(47,91,234,.12)}

/* выбор «Частное лицо / Бизнес» и способа уведомлений — кнопки-карточки */
.tsps-page .profile-settings-section-item .form-check{display:inline-flex;align-items:center;gap:8px;margin:4px 6px 4px 0;padding:10px 14px 10px 12px;border-radius:14px;background:var(--soft);border:1.5px solid transparent;cursor:pointer;min-height:0}
.tsps-page .profile-settings-section-item .form-check .form-check-input{float:none;margin:0;flex:none;cursor:pointer}
.tsps-page .profile-settings-section-item .form-check .form-check-label{cursor:pointer;font-weight:600;color:var(--ink);font-size:14px}
.tsps-page .profile-settings-section-item .form-check:has(.form-check-input:checked){background:#EEF3FF;border-color:var(--blue)}
.tsps-page .profile-settings-section-item .col-md-6:has(> .form-check){display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tsps-page .profile-settings-section-item .col-md-6:has(> .form-check) > .form-check{margin:0}
.tsps-page .profile-settings-section-item .col-md-6:has(> .form-check) > :not(.form-check){flex-basis:100%}

/* уведомления: название и описание слева, переключатель справа */
.tsps-page .tsps-s-notify .profile-settings-section-item > .row{display:grid;grid-template-columns:1fr auto;column-gap:16px;margin:0}
.tsps-page .tsps-s-notify .profile-settings-section-item > .row > div{width:auto;max-width:none;padding:0}
.tsps-page .tsps-s-notify .profile-settings-section-item .col-md-6{display:contents}
.tsps-page .tsps-s-notify .profile-settings-section-item .col-md-3{grid-column:1;grid-row:1}
html body .tsps-page .tsps-s-notify .profile-settings-section-item label.switch{grid-column:2 !important;grid-row:1 / span 2 !important;align-self:center;margin:0 !important;min-width:46px;min-height:26px;display:block}
.tsps-page .tsps-s-notify .profile-settings-section-item .col-md-6 > .mt10{grid-column:1;grid-row:2;margin-top:2px !important}

/* безопасность */
.tsps-page .tsps-s-security .button-color-scheme6{background:#fff !important;color:#D92D20 !important;border:1.5px solid #F5C2BE !important}
.tsps-page .tsps-s-security .button-color-scheme6:hover{background:#FEF3F2 !important}

.tsps-page .btn-custom-mini{border-radius:12px}
.tsps-page .profile-user-sidebar-avatar{margin:0 auto}

@media (max-width:767px){
  .tsps-hero{padding:18px;border-radius:20px;gap:12px}
  .tsps-hero-ic{width:46px;height:46px;font-size:24px;border-radius:15px}
  .tsps-hero h1{font-size:22px}
  .tsps-hero p{font-size:13px}
  .tsps-page .profile-settings-sections{gap:8px}
  .tsps-page .profile-settings-sections a{flex-direction:column !important;align-items:flex-start;gap:8px;padding:12px !important;font-size:14px}
  .tsps-page .profile-settings-section{padding:18px 16px 6px;border-radius:20px}
  .tsps-head h5{font-size:17px}
  .tsps-page .profile-settings-section-item .col-md-3{margin-bottom:6px}
  .tsps-page .tsps-s-notify .profile-settings-section-item .col-md-3{margin-bottom:0}
  .tsps-page .profile-settings-section-item .profile-user-sidebar-avatar{margin:6px auto 4px !important}
  .tsps-page .tsps-s-main .profile-settings-section-item.d-block{padding:6px 0 14px;border-top:0}
}

/* v44 — приложение работает плавнее: внутри приложения выключаем самые «тяжёлые» эффекты */
html.ts-app-native *, html.ts-app-native *::before, html.ts-app-native *::after{ -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.ts-app-native .ts-aurora i{ display: none !important; } /* анимированные размытые пятна — самое тяжёлое; градиент фона остаётся */
html.ts-app-native, html.ts-app-native body{ scroll-behavior: auto !important; }
html.ts-app-native .ts-tabbar{ background: #fff !important; }
html.ts-app-native .ts-install, html.ts-app-native .cookie-banner{ transition: none !important; }

/* v45: не даём браузерам и встроенным окнам (MAX, Android WebView) «затемнять» сайт принудительно — иначе тёмный логотип теряется на тёмном фоне */
:root{color-scheme:only light}
