/* ============================================================
   Тема «11045» — современный дизайн витрины тенанта 11045.ru
   Всё стилизовано под селектор .sf-theme-11045, чтобы не влиять
   на другие тенанты. Поверх общего storefront.css.
   ============================================================ */

.sf-theme-11045 {
    --t-primary: #0d47a1;
    --t-primary-dark: #08306e;
    --t-primary-soft: #e8f0fe;
    --t-accent: #ff6b00;
    --t-accent-soft: #fff1e6;
    --t-ink: #0b1c2f;
    --t-body: #4a5a6e;
    --t-muted: #8a97a8;
    --t-line: #e6ebf3;
    --t-bg: #f4f6fb;
    --t-surface: #ffffff;
    --t-radius: 16px;
    --t-shadow: 0 10px 34px rgba(13, 71, 161, 0.08);
    --t-shadow-hover: 0 20px 46px rgba(13, 71, 161, 0.16);
}

.sf-theme-11045 body,
.sf-theme-11045 {
    background: var(--t-bg);
    color: var(--t-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sf-theme-11045 .t-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-theme-11045 a { color: var(--t-primary); }
.sf-theme-11045 a:hover { color: var(--t-primary-dark); }

/* ============================================================
   Шапка
   ============================================================ */
.sf-theme-11045 .t-head {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--t-surface);
    box-shadow: 0 1px 0 var(--t-line), 0 6px 24px rgba(11, 28, 47, 0.05);
}

.sf-theme-11045 .t-top {
    background: #0b1c2f;
    color: #c6d0e0;
    font-size: 13px;
}
.sf-theme-11045 .t-top .t-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}
.sf-theme-11045 .t-top a { color: #c6d0e0; margin-right: 18px; }
.sf-theme-11045 .t-top a:hover { color: #fff; }
.sf-theme-11045 .t-top-links, .sf-theme-11045 .t-top-auth { display: flex; flex-wrap: wrap; }
.sf-theme-11045 .t-top-auth a:last-child { margin-right: 0; }

.sf-theme-11045 .t-main .t-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.sf-theme-11045 .t-logo {
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--t-ink);
    white-space: nowrap;
    text-decoration: none;
}
.sf-theme-11045 .t-logo span { color: var(--t-accent); }
.sf-theme-11045 .t-logo:hover { color: var(--t-ink); }

.sf-theme-11045 .t-search {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: var(--t-bg);
    border: 1.5px solid var(--t-line);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.sf-theme-11045 .t-search:focus-within {
    border-color: var(--t-primary);
    box-shadow: 0 0 0 4px var(--t-primary-soft);
}
.sf-theme-11045 .t-search-type {
    border: none;
    background: transparent;
    padding: 0 16px;
    font-size: 14px;
    color: var(--t-body);
    border-right: 1px solid var(--t-line);
    cursor: pointer;
    outline: none;
    height: 48px;
}
.sf-theme-11045 .t-search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-size: 15px;
    color: var(--t-ink);
    outline: none;
    height: 48px;
}
.sf-theme-11045 .t-search button {
    border: none;
    background: var(--t-primary);
    color: #fff;
    padding: 0 26px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    height: 48px;
    transition: background .15s ease;
}
.sf-theme-11045 .t-search button:hover { background: var(--t-primary-dark); }

.sf-theme-11045 .t-actions { display: flex; align-items: center; gap: 8px; }
.sf-theme-11045 .t-act {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--t-ink);
    font-size: 14px;
    font-weight: 600;
    background: var(--t-bg);
    transition: background .15s ease, color .15s ease;
    white-space: nowrap;
    text-decoration: none;
}
.sf-theme-11045 .t-act:hover { background: var(--t-primary-soft); color: var(--t-primary); }
.sf-theme-11045 .t-act i { font-size: 17px; }
.sf-theme-11045 .t-cart { background: var(--t-primary); color: #fff; }
.sf-theme-11045 .t-cart:hover { background: var(--t-primary-dark); color: #fff; }
.sf-theme-11045 .t-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 19px; height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--t-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    display: grid;
    place-items: center;
}

.sf-theme-11045 .site-burger { order: 2; }
.sf-theme-11045 .site-mobile-menu {
    --menu-bg: var(--t-surface);
    --menu-ink: var(--t-ink);
    --menu-muted: var(--t-muted);
    --menu-line: var(--t-line);
    --menu-accent: var(--t-primary);
    --menu-soft: var(--t-primary-soft);
}

.sf-theme-11045 .t-nav { background: var(--t-surface); border-top: 1px solid var(--t-line); }
.sf-theme-11045 .t-nav .t-container { display: flex; gap: 2px; flex-wrap: wrap; }
.sf-theme-11045 .t-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    font-weight: 600;
    font-size: 14px;
    color: var(--t-ink);
    border-radius: 10px 10px 0 0;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}
.sf-theme-11045 .t-nav a:hover { background: var(--t-bg); color: var(--t-primary); }
.sf-theme-11045 .t-nav a i { color: var(--t-primary); }

/* ============================================================
   Главная страница
   ============================================================ */
.sf-theme-11045 .t-hero {
    border-radius: 20px;
    padding: 52px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 82% -20%, rgba(255, 107, 0, 0.35), transparent 60%),
        linear-gradient(135deg, #0d47a1 0%, #0a2f6b 55%, #071f45 100%);
    box-shadow: 0 30px 70px rgba(13, 71, 161, 0.25);
}
.sf-theme-11045 .t-hero::after {
    content: "";
    position: absolute;
    right: -60px; bottom: -80px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
}
.sf-theme-11045 .t-hero h1 {
    font-size: 40px;
    line-height: 1.08;
    font-weight: 900;
    margin: 0 0 14px;
    letter-spacing: -1px;
}
.sf-theme-11045 .t-hero p {
    font-size: 17px;
    color: #dbe4f5;
    max-width: 560px;
    margin: 0 0 26px;
}
.sf-theme-11045 .t-hero-search {
    max-width: 640px;
    min-width: 0;
    background: #fff;
    border-radius: 14px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(3, 15, 38, 0.35);
    position: relative;
    z-index: 1;
}
.sf-theme-11045 .t-hero-search input {
    flex: 1; min-width: 0; border: none; outline: none; padding: 17px 20px; font-size: 16px;
}
.sf-theme-11045 .t-hero-search button {
    border: none; background: var(--t-accent); color: #fff;
    padding: 0 30px; font-weight: 700; font-size: 15px; cursor: pointer;
    transition: background .15s ease;
}
.sf-theme-11045 .t-hero-search button:hover { background: #e25f00; }
.sf-theme-11045 .t-hero-stats {
    display: flex; gap: 34px; margin-top: 32px; flex-wrap: wrap; position: relative; z-index: 1;
}
.sf-theme-11045 .t-hero-stats .t-stat b { font-size: 26px; display: block; letter-spacing: -0.5px; }
.sf-theme-11045 .t-hero-stats .t-stat span { color: #b9c7e2; font-size: 14px; }

.sf-theme-11045 .t-section { padding: 50px 0 6px; }
.sf-theme-11045 .t-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}
.sf-theme-11045 .t-sec-head h2 {
    font-size: 27px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}
.sf-theme-11045 .t-sec-head a { font-weight: 600; color: var(--t-body); text-decoration: none; }
.sf-theme-11045 .t-sec-head a:hover { color: var(--t-primary); }

.sf-theme-11045 .t-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}
.sf-theme-11045 .t-cat-card {
    display: block;
    background: var(--t-surface);
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    padding: 26px 20px;
    text-align: center;
    color: var(--t-ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sf-theme-11045 .t-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--t-shadow-hover);
    border-color: transparent;
    color: var(--t-ink);
}
.sf-theme-11045 .t-cat-card .t-cat-ico {
    width: 58px; height: 58px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: grid; place-items: center;
    background: var(--t-primary-soft);
    color: var(--t-primary);
    font-size: 26px;
    transition: background .18s ease, color .18s ease;
}
.sf-theme-11045 .t-cat-card:hover .t-cat-ico {
    background: var(--t-primary);
    color: #fff;
}
.sf-theme-11045 .t-cat-card h4 { font-size: 16px; margin: 0 0 4px; font-weight: 700; }
.sf-theme-11045 .t-cat-card span { color: var(--t-muted); font-size: 13px; }

.sf-theme-11045 .t-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.sf-theme-11045 .t-feature {
    background: var(--t-surface);
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius);
    padding: 28px 24px;
    transition: box-shadow .18s ease, transform .18s ease;
}
.sf-theme-11045 .t-feature:hover { box-shadow: var(--t-shadow); transform: translateY(-3px); }
.sf-theme-11045 .t-feature .t-feature-ico {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: var(--t-accent-soft);
    color: var(--t-accent);
    font-size: 22px;
    margin-bottom: 16px;
}
.sf-theme-11045 .t-feature h4 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.sf-theme-11045 .t-feature p { color: var(--t-body); margin: 0; font-size: 14px; line-height: 1.55; }

.sf-theme-11045 .t-cta {
    background: linear-gradient(120deg, #ff6b00, #ff8a3d);
    border-radius: 20px;
    padding: 42px 44px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 22px 50px rgba(255, 107, 0, 0.25);
}
.sf-theme-11045 .t-cta h3 { margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.sf-theme-11045 .t-cta p { margin: 0; opacity: .95; }
.sf-theme-11045 .t-btn-light {
    background: #fff; color: var(--t-primary);
    font-weight: 700; padding: 14px 28px; border-radius: 12px;
    border: none; cursor: pointer; font-size: 15px; text-decoration: none;
    transition: transform .15s ease;
}
.sf-theme-11045 .t-btn-light:hover { transform: translateY(-2px); color: var(--t-primary); }

/* ============================================================
   Подвал
   ============================================================ */
.sf-theme-11045 .t-foot {
    margin-top: 56px;
    background: #0b1c2f;
    color: #a9b7cc;
    padding: 54px 0 26px;
    font-size: 14px;
}
.sf-theme-11045 .t-foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}
.sf-theme-11045 .t-foot-col h4 {
    color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 700;
}
.sf-theme-11045 .t-foot-col a {
    color: #a9b7cc; display: block; margin-bottom: 9px; text-decoration: none;
}
.sf-theme-11045 .t-foot-col a:hover { color: #fff; }
.sf-theme-11045 .t-foot-about p { line-height: 1.6; max-width: 320px; }
.sf-theme-11045 .t-logo-light { color: #fff; }
.sf-theme-11045 .t-foot-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #22334a;
    color: #7485a0;
}

/* ============================================================
   Общие элементы (формы, кнопки) для темы
   ============================================================ */
.sf-theme-11045 .btn-danger { background: var(--t-primary); }
.sf-theme-11045 .btn-danger:hover { background: var(--t-primary-dark); }
.sf-theme-11045 .form-control:focus { border-color: var(--t-primary); box-shadow: 0 0 0 4px var(--t-primary-soft); }
.sf-theme-11045 .panel { box-shadow: var(--t-shadow); }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 991px) {
    .sf-theme-11045 .t-top { display: none; }
    .sf-theme-11045 .t-main .t-container { flex-wrap: wrap; gap: 10px; }
    .sf-theme-11045 .t-search { order: 3; flex-basis: 100%; }
    .sf-theme-11045 .t-actions { order: 2; margin-left: auto; }
    .sf-theme-11045 .t-hero h1 { font-size: 31px; }
    .sf-theme-11045 .t-foot-grid { grid-template-columns: 1fr 1fr; }
    /* Меню категорий — единая скроллящаяся строка на планшетах и мобильных */
    .sf-theme-11045 .t-nav { overflow: hidden; }
    .sf-theme-11045 .t-nav .t-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .sf-theme-11045 .t-nav .t-container::-webkit-scrollbar { display: none; }
    .sf-theme-11045 .t-nav a {
        flex-shrink: 0;
        white-space: nowrap;
        border-radius: 10px;
        margin-bottom: 8px;
    }
}
@media (max-width: 575px) {
    .sf-theme-11045 .t-container { padding: 0 16px; }
    .sf-theme-11045 .t-main .t-container { gap: 8px; }
    .sf-theme-11045 .t-logo { font-size: 22px; }
    .sf-theme-11045 .t-actions .t-act span { display: none; }
    .sf-theme-11045 .t-actions .t-act:not(.t-cart) { display: none; }
    .sf-theme-11045 .t-search-type { padding: 0 10px; font-size: 13px; height: 44px; }
    .sf-theme-11045 .t-search input { padding: 0 10px; font-size: 14px; height: 44px; }
    .sf-theme-11045 .t-search button { padding: 0 12px; font-size: 14px; height: 44px; }
    .sf-theme-11045 .t-hero { padding: 28px 16px; }
    .sf-theme-11045 .t-hero h1 { font-size: 25px; }
    .sf-theme-11045 .t-hero-search { flex-wrap: wrap; }
    .sf-theme-11045 .t-hero-search input { flex: 1 1 100%; height: 48px; padding: 14px 16px; }
    .sf-theme-11045 .t-hero-search button { flex: 1 1 100%; height: 46px; padding: 0 16px; }
    .sf-theme-11045 .t-section { padding: 36px 0 4px; }
    .sf-theme-11045 .t-foot-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ЕДИНЫЙ ШАБЛОН — все внутренние страницы под стиль главной
   Перемаппинг legacy-переменных + унификация компонентов.
   Специфичность .sf-theme-11045 X выше инлайн-<style> страниц,
   поэтому побеждает даже при более позднем <style> в body.
   ============================================================ */
.sf-theme-11045 {
    --sf-primary: #0d47a1;
    --sf-primary-dark: #08306e;
    --sf-primary-soft: #e8f0fe;
    --sf-accent: #ff6b00;
    --sf-ink: #0b1c2f;
    --sf-body: #4a5a6e;
    --sf-muted: #8a97a8;
    --sf-line: #e6ebf3;
    --sf-bg: #f4f6fb;
    --sf-surface: #ffffff;
    --sf-radius: 16px;
    --sf-radius-sm: 12px;
    --sf-shadow: 0 10px 34px rgba(13, 71, 161, 0.08);
    --sf-shadow-hover: 0 20px 46px rgba(13, 71, 161, 0.16);
}

/* Заголовок страницы — как t-sec-head */
.sf-theme-11045 .sf-page-head { margin: 6px 0 22px; }
.sf-theme-11045 .sf-page-head h1 {
    font-size: 27px; font-weight: 800; letter-spacing: -0.5px;
    margin: 0 0 6px; color: var(--t-ink);
}
.sf-theme-11045 .sf-page-head p { color: var(--t-body); margin: 0; font-size: 15px; }
.sf-theme-11045 .container.my-4 > h1,
.sf-theme-11045 .main-content > h1 {
    font-size: 27px; font-weight: 800; letter-spacing: -0.5px; margin: 6px 0 8px;
}

/* Хлебные крошки — единый вид */
.sf-theme-11045 .sf-bread { margin: 4px 0 18px; font-size: 13px; color: var(--t-muted); }
.sf-theme-11045 .sf-bread a { color: var(--t-muted); }
.sf-theme-11045 .sf-bread a:hover { color: var(--t-primary); }
.sf-theme-11045 .breadcrumb {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); padding: 10px 16px; box-shadow: var(--t-shadow);
}
.sf-theme-11045 .breadcrumb > .active { color: var(--t-body); }
.sf-theme-11045 .breadcrumb a { color: var(--t-primary); }

/* Карточки старых страниц — как t-feature */
.sf-theme-11045 .sf-card,
.sf-theme-11045 .sf-brand-desc,
.sf-theme-11045 .sf-info,
.sf-theme-11045 .sf-seo,
.sf-theme-11045 .sf-empty,
.sf-theme-11045 .sf-brand-head {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); box-shadow: var(--t-shadow);
}
.sf-theme-11045 .sf-brand-logo {
    background: var(--t-primary-soft); color: var(--t-primary);
    border-radius: 18px; border: none;
}
.sf-theme-11045 .sf-brand-head h1 { color: var(--t-ink); }
.sf-theme-11045 .sf-seo h2 { color: var(--t-ink); font-weight: 800; }
.sf-theme-11045 .sf-info h2 { color: var(--t-ink); }
.sf-theme-11045 .sf-info-row dd a,
.sf-theme-11045 .sf-guarantee summary { color: var(--t-primary); }
.sf-theme-11045 .sf-chip {
    background: var(--t-surface); border: 1px solid var(--t-line);
    color: var(--t-body); border-radius: 999px;
}
.sf-theme-11045 .sf-chip:hover { border-color: var(--t-primary); color: var(--t-primary); }

/* Производители: список — под стиль главной */
.sf-theme-11045 .sf-mfr-search input { border-radius: 12px; border: 1.5px solid var(--t-line); }
.sf-theme-11045 .sf-mfr-search input:focus { border-color: var(--t-primary); box-shadow: 0 0 0 4px var(--t-primary-soft); }
.sf-theme-11045 .sf-mfr-search .fa { color: var(--t-muted); }
.sf-theme-11045 .sf-letters {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); padding: 10px 14px; box-shadow: var(--t-shadow);
}
.sf-theme-11045 .sf-letters a:hover { color: var(--t-primary); }
.sf-theme-11045 .sf-letter-heading { color: var(--t-ink); border-bottom-color: var(--t-line); }
.sf-theme-11045 .sf-letter-grid a { color: var(--t-ink); }
.sf-theme-11045 .sf-letter-grid a:hover { color: var(--t-primary); }

/* Старые sf-сетки главной (если какая-то страница их использует) */
.sf-theme-11045 .sf-hero {
    border-radius: 20px; color: #fff;
    background:
        radial-gradient(900px 420px at 82% -20%, rgba(255, 107, 0, 0.35), transparent 60%),
        linear-gradient(135deg, #0d47a1 0%, #0a2f6b 55%, #071f45 100%);
    box-shadow: 0 30px 70px rgba(13, 71, 161, 0.25);
}
.sf-theme-11045 .sf-hero h1 { color: #fff; }
.sf-theme-11045 .sf-hero p { color: #dbe4f5; }
.sf-theme-11045 .sf-hero .sf-hero-search { border-radius: 14px; }
.sf-theme-11045 .sf-hero .sf-hero-search button { background: var(--t-accent); }
.sf-theme-11045 .sf-hero .sf-hero-search button:hover { background: #e25f00; }
.sf-theme-11045 .sf-cat-card:hover { border-color: transparent; box-shadow: var(--t-shadow-hover); }
.sf-theme-11045 .sf-cat-card .sf-cat-ico { background: var(--t-primary-soft); color: var(--t-primary); }
.sf-theme-11045 .sf-cat-card:hover .sf-cat-ico { background: var(--t-primary); color: #fff; }
.sf-theme-11045 .sf-feature .sf-feature-ico { background: var(--t-accent-soft); color: var(--t-accent); }
.sf-theme-11045 .sf-cta { background: linear-gradient(120deg, #ff6b00, #ff8a3d); border-radius: 20px; }
.sf-theme-11045 .sf-section-head h2 { letter-spacing: -0.5px; }

/* Каталог по авто: синие заголовки вместо text-danger */
.sf-theme-11045 .card { border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: var(--t-shadow); }
.sf-theme-11045 .card-title { color: var(--t-primary) !important; }
.sf-theme-11045 a.card:hover { box-shadow: var(--t-shadow-hover); transform: translateY(-3px); }
.sf-theme-11045 .text-danger { color: var(--t-primary) !important; }
.sf-theme-11045 .text-muted { color: var(--t-muted) !important; }

/* Карточка товара: бейджи, табы, галерея */
.sf-theme-11045 .product-gallery { border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: var(--t-shadow); }
.sf-theme-11045 .product-thumb { border-color: var(--t-line); }
.sf-theme-11045 .product-thumb:hover,
.sf-theme-11045 .product-thumb.active { border-color: var(--t-accent); }
.sf-theme-11045 .brand-badge { background: var(--t-primary); border-radius: 8px; }
.sf-theme-11045 .article-badge { background: var(--t-bg); color: var(--t-body); border: 1px solid var(--t-line); border-radius: 8px; }
.sf-theme-11045 .criteria-badge { background: var(--t-accent-soft); color: #b34a00; border: 1px solid #ffd9b8; border-radius: 999px; }
.sf-theme-11045 .product-meta-grid { background: var(--t-bg); border: 1px solid var(--t-line); border-radius: var(--t-radius); }
.sf-theme-11045 .product-tabs .nav-link { color: var(--t-body); border-radius: 10px 10px 0 0; }
.sf-theme-11045 .product-tabs .nav-link.active { color: var(--t-primary); border-bottom: 3px solid var(--t-accent); }
.sf-theme-11045 .product-tabs .tab-content { border: 1px solid var(--t-line) !important; border-radius: 0 0 var(--t-radius) var(--t-radius); box-shadow: var(--t-shadow); }
.sf-theme-11045 .table > thead > tr > th,
.sf-theme-11045 .table-light { background: var(--t-bg); color: var(--t-body); }

/* Таблицы: корзина, заказы, позиции */
.sf-theme-11045 .sf-cart-table { border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: var(--t-shadow); }
.sf-theme-11045 .sf-cart-table th { background: var(--t-bg); color: var(--t-body); border-bottom: 2px solid var(--t-line); }
.sf-theme-11045 .sf-cart-table tr:hover td { background: var(--t-primary-soft); }
.sf-theme-11045 .sf-cart-table .sf-sum { color: var(--t-primary); }
.sf-theme-11045 .table { background: var(--t-surface); }
.sf-theme-11045 .table > tbody > tr:hover { background: var(--t-primary-soft); }

/* Кнопки и формы — единый вид */
.sf-theme-11045 .btn { border-radius: 12px; font-weight: 700; }
.sf-theme-11045 .btn-danger { background: var(--t-primary); border: none; }
.sf-theme-11045 .btn-danger:hover, .sf-theme-11045 .btn-danger:focus { background: var(--t-primary-dark); color: #fff; }
.sf-theme-11045 .btn-success {
    background: var(--t-accent) !important; border: none !important;
    border-radius: 10px !important; font-weight: 700 !important;
}
.sf-theme-11045 .btn-success:hover { background: #e25f00 !important; color: #fff !important; }
.sf-theme-11045 .btn-default { background: var(--t-bg); border: 1px solid var(--t-line); color: var(--t-ink); border-radius: 10px; }
.sf-theme-11045 .btn-default:hover { background: var(--t-primary-soft); color: var(--t-primary); }
.sf-theme-11045 .form-control { border-radius: 12px; border: 1.5px solid var(--t-line); }
.sf-theme-11045 .form-control:focus { border-color: var(--t-primary); box-shadow: 0 0 0 4px var(--t-primary-soft); }
.sf-theme-11045 .panel { border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: var(--t-shadow); }
.sf-theme-11045 .panel-default > .panel-heading { background: var(--t-surface); border-bottom: 1px solid var(--t-line); font-weight: 700; }
.sf-theme-11045 .alert { border-radius: 12px; }
.sf-theme-11045 .alert-success { background: #e9f7ef; color: #1c7a3e; border-left: 4px solid #2faa5b; }
.sf-theme-11045 .alert-danger { background: #fdeceb; color: #08306e; border-left: 4px solid var(--t-primary); }

/* Поиск по артикулу: результаты и группы брендов */
.sf-theme-11045 .search-results {
    background: var(--t-surface) !important; border: 1px solid var(--t-line) !important;
    border-radius: var(--t-radius) !important; box-shadow: var(--t-shadow) !important;
}
.sf-theme-11045 .search-results h2 { color: var(--t-ink); }
.sf-theme-11045 .brand-group-head { border-radius: 10px; }
.sf-theme-11045 .sf-pager a:hover { background: var(--t-primary-soft); color: var(--t-primary); }
.sf-theme-11045 .sf-pager .active { background: var(--t-primary); border-color: var(--t-primary); }
.sf-theme-11045 .sf-prod-card:hover { border-color: transparent; box-shadow: var(--t-shadow-hover); }
.sf-theme-11045 .sf-cat-pill b { color: var(--t-primary); }

/* Контентные страницы (о компании, доставка и т.д.) */
.sf-theme-11045 .main-content .panel,
.sf-theme-11045 .main-content .well {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); box-shadow: var(--t-shadow);
}
.sf-theme-11045 .main-content h1,
.sf-theme-11045 .main-content h2 { color: var(--t-ink); letter-spacing: -0.3px; }

/* Личный кабинет / гараж / профиль */
.sf-theme-11045 .list-group-item.active { background: var(--t-primary); border-color: var(--t-primary); }
.sf-theme-11045 .nav-pills > li.active > a { background: var(--t-primary); }
.sf-theme-11045 a { color: var(--t-primary); }
.sf-theme-11045 a:hover { color: var(--t-primary-dark); }

/* ============================================================
   Наследные красно/зелёные акценты (старого дизайна) → палитра темы.
   Только под .sf-theme-11045, остальные тенанты не затронуты.
   ============================================================ */
/* Инлайн-стили с красным */
.sf-theme-11045 [style*="color:#e53935"], .sf-theme-11045 [style*="color: #e53935"] { color: var(--t-primary) !important; }
.sf-theme-11045 [style*="background:#e53935"], .sf-theme-11045 [style*="background: #e53935"] { background-color: var(--t-primary) !important; }
.sf-theme-11045 [style*="border-bottom:2px solid #e53935"], .sf-theme-11045 [style*="border-bottom: 2px solid #e53935"] { border-bottom-color: var(--t-primary) !important; }
/* Зелёные кнопки «В корзину»/бейджи — в акцент темы */
.sf-theme-11045 [style*="background:#4caf50"], .sf-theme-11045 [style*="background: #4caf50"] { background-color: var(--t-accent) !important; }
/* Классовые остатки старого дизайна во фрагментах */
.sf-theme-11045 .form-box {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); box-shadow: var(--t-shadow);
}
.sf-theme-11045 .form-box h2 { color: var(--t-ink); }
.sf-theme-11045 .form-box label { color: var(--t-body); }
.sf-theme-11045 .form-box .btn-primary { background: var(--t-primary); border-color: var(--t-primary-dark); border-radius: 12px; }
.sf-theme-11045 .form-box .btn-primary:hover { background: var(--t-primary-dark); }
.sf-theme-11045 .balance-card {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); box-shadow: var(--t-shadow);
}
.sf-theme-11045 .balance-card h2 { color: var(--t-ink); }
.sf-theme-11045 .balance-card .label { color: var(--t-muted); }
.sf-theme-11045 .table-orders, .sf-theme-11045 .table-returns, .sf-theme-11045 .table-operations {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); box-shadow: var(--t-shadow);
}
.sf-theme-11045 .table-orders th, .sf-theme-11045 .table-returns th, .sf-theme-11045 .table-operations th {
    background: var(--t-bg); color: var(--t-body); border-bottom: 2px solid var(--t-line);
}
.sf-theme-11045 .table-orders tr:hover td, .sf-theme-11045 .table-returns tr:hover td, .sf-theme-11045 .table-operations tr:hover td { background: var(--t-primary-soft); }
.sf-theme-11045 .order-number { color: var(--t-primary); }
.sf-theme-11045 .tabs a {
    background: var(--t-surface); border: 1px solid var(--t-line);
    color: var(--t-body); border-radius: 10px;
}
.sf-theme-11045 .tabs a:hover { background: var(--t-primary-soft); color: var(--t-primary); }
.sf-theme-11045 .tabs a.active { background: var(--t-primary); border-color: var(--t-primary); color: #fff; }
.sf-theme-11045 .tabs a.active:hover { background: var(--t-primary-dark); color: #fff; }
.sf-theme-11045 .pagination a {
    background: var(--t-surface); border: 1px solid var(--t-line);
    color: var(--t-ink); border-radius: 10px;
}
.sf-theme-11045 .pagination a:hover { background: var(--t-primary-soft); color: var(--t-primary); }
.sf-theme-11045 .pagination .active { background: var(--t-primary); border-color: var(--t-primary); color: #fff; }
.sf-theme-11045 .badge-unread { background: var(--t-accent); }
.sf-theme-11045 .status-badge { border-radius: 8px; }
.sf-theme-11045 .empty-orders, .sf-theme-11045 .empty-returns {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); box-shadow: var(--t-shadow);
}
.sf-theme-11045 .empty-orders h2, .sf-theme-11045 .empty-returns h2 { color: var(--t-body); }
/* Контентные страницы: заголовки и плашки benefit */
.sf-theme-11045 .content h1 { color: var(--t-ink); }
.sf-theme-11045 .content h2 { color: var(--t-primary); }
.sf-theme-11045 .content p, .sf-theme-11045 .content li { color: var(--t-body); }
.sf-theme-11045 .benefit-item {
    background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: var(--t-radius); box-shadow: var(--t-shadow);
}
.sf-theme-11045 .benefit-item .num { color: var(--t-primary); }
.sf-theme-11045 .benefit-item .label { color: var(--t-body); }
/* Чекаут: панель с красной полосой */
.sf-theme-11045 .sf-panel { border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: var(--t-shadow); }
.sf-theme-11045 .sf-panel[style*="#e53935"] { border-left: 4px solid var(--t-primary) !important; }