/* ============================================================
   Тема «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: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.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;
    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;
    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 .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;
    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; 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-main .t-container { flex-wrap: wrap; }
    .sf-theme-11045 .t-search { order: 3; flex-basis: 100%; }
    .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-top { display: none; }
    .sf-theme-11045 .t-actions .t-act span { display: none; }
    .sf-theme-11045 .t-hero { padding: 36px 22px; }
    .sf-theme-11045 .t-hero h1 { font-size: 25px; }
    .sf-theme-11045 .t-section { padding: 36px 0 4px; }
    .sf-theme-11045 .t-foot-grid { grid-template-columns: 1fr; }
}