/* =========================
   UniSite Header V3 FIXED
   ========================= */

/* Прокладка под фиксированной шапкой */
header.header-visible-height.d-none.d-lg-block{
    height: 132px !important;
}
header.header-hidden-height.d-none.d-lg-block{
    height: 56px !important;
}
header.d-block.d-lg-none.header-visible-height{
    height: 104px !important;
}

/* Фиксированная шапка */
.header-wow{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08) !important;
}

/* Верхняя темная полоска */
.header-wow-top{
    height: 48px !important;
    background: linear-gradient(90deg,#222831 0%,#2f3742 100%) !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

.header-wow-top .container,
.header-wow-top .row,
.header-wow-top .col-lg-9,
.header-wow-top .col-lg-3,
.header-wow-top .col-4,
.header-wow-top .col-8{
    height: 100% !important;
}

.header-wow-top-list{
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    padding-top: 0 !important;
    height: 100% !important;
}

.header-wow-top .header-wow-top-list-item{
    display: inline-flex !important;
    align-items: center !important;
    height: 100% !important;
    margin-right: 0 !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.header-wow-top .header-wow-top-list-item:hover{
    color: #76e4ff !important;
}

.header-wow-top-list-icon{
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

.header-wow-top-list-icon-item{
    margin-right: 0 !important;
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
}

.header-wow-top-list-icon-item:hover{
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
}

.header-wow-top-list-icon-item i{
    font-size: 20px !important;
}

.header-wow-top-list-profile{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 8px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.08) !important;
}

/* Нижняя часть шапки */
.header-wow-sticky{
    background: #fff !important;
}

.header-wow-sticky-container{
    padding: 14px 0 !important;
}

.header-wow-sticky .row{
    align-items: center !important;
}

.header-wow-sticky .col-2{
    flex: 0 0 220px !important;
    max-width: 220px !important;
}

.header-wow-sticky .col-10{
    flex: 0 0 calc(100% - 220px) !important;
    max-width: calc(100% - 220px) !important;
}

.header-flex-box{
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
}

.header-flex-box-1{
    flex: 0 0 auto !important;
}

.header-flex-box-2{
    flex: 1 1 auto !important;
    min-width: 280px !important;
    margin-left: 0 !important;
}

.header-flex-box-3{
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
}

.h-logo{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    overflow: visible !important;
}

.h-logo img{
    max-height: 42px !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
}

/* Каталог */
.header-button-menu-catalog{
    min-height: 48px !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #2ecb3c !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 18px rgba(46,203,60,.22) !important;
}

.header-button-menu-catalog:hover{
    background: #27ba35 !important;
    color: #fff !important;
}

.header-button-menu-catalog-icon-1{
    margin-right: 8px !important;
}

.header-button-menu-catalog-icon-1 i{
    font-size: 18px !important;
}

/* Поиск */
.live-search-container{
    position: relative !important;
    background: transparent !important;
}

.live-search-form{
    position: relative !important;
    margin: 0 !important;
}

.live-search-form-input{
    width: 100% !important;
    height: 48px !important;
    padding-left: 46px !important;
    padding-right: 150px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f6f8fb !important;
    color: #111827 !important;
    box-shadow: none !important;
}

.live-search-form-input:focus{
    border-color: #1ea9be !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(30,169,190,.12) !important;
}

.live-search-form-icon{
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
}

.live-search-form-icon i{
    color: #64748b !important;
    font-size: 20px !important;
}

/* Гео */
.live-search-container-geo{
    position: absolute !important;
    right: 6px !important;
    top: 6px !important;
    bottom: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: #fff !important;
    border: 1px solid #e5eaf1 !important;
}

.live-search-container-geo-name{
    color: #2563eb !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

/* Кнопка разместить */
.header-wow-sticky-add{
    min-height: 48px !important;
    width: 180px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg,#2ac6dc 0%,#1ea9be 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 18px rgba(30,169,190,.20) !important;
    font-weight: 700 !important;
}

.header-wow-sticky-auth{
    min-height: 48px !important;
    border-radius: 14px !important;
    background: #f5f7fa !important;
    border: 1px solid #e5eaf1 !important;
    color: #111827 !important;
    font-weight: 700 !important;
}

.toolbar-link-profile{
    min-height: 48px !important;
    padding: 0 10px !important;
    border-radius: 14px !important;
    background: #f5f7fa !important;
    border: 1px solid #e5eaf1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Выпадающий каталог */
.big-catalog-menu-content{
    top: 18px !important;
    border-radius: 24px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 24px 60px rgba(15,23,42,.12) !important;
}

/* ===== Hero на главной ===== */
.home-v3-page{
    margin-top: 20px !important;
}

.home-v3-page .home-v3-hero{
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

.home-v3-page .home-v3-hero .row{
    align-items: stretch !important;
}

.home-v3-hero-box{
    background: linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%) !important;
    border: 1px solid #e7edf4 !important;
    border-radius: 24px !important;
    padding: 28px !important;
    box-shadow: 0 12px 28px rgba(16,24,40,.06) !important;
    height: 100% !important;
}

.home-v3-hero-badge{
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: #edf9fb !important;
    border: 1px solid #d7eef3 !important;
    color: #157889 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
}

.home-v3-hero-title{
    font-size: 38px !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
    color: #17212f !important;
}

.home-v3-hero-text{
    font-size: 18px !important;
    line-height: 1.55 !important;
    color: #667085 !important;
    margin: 0 !important;
}

.home-v3-hero-actions{
    margin-top: 18px !important;
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.home-v3-quick-links{
    margin-top: 18px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.home-v3-quick-links a{
    display: inline-flex !important;
    align-items: center !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid #e7edf4 !important;
    color: #344054 !important;
    font-weight: 600 !important;
}

.home-v3-side{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    height: 100% !important;
}

.home-v3-side-card{
    display: block !important;
    background: #fff !important;
    border: 1px solid #e7edf4 !important;
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: 0 8px 20px rgba(16,24,40,.05) !important;
}

.home-v3-side-card strong{
    display: block !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    color: #17212f !important;
    margin-bottom: 8px !important;
}

.home-v3-side-card span{
    display: block !important;
    color: #667085 !important;
    line-height: 1.55 !important;
    font-size: 15px !important;
}

/* Статистика */
.home-v3-stats{
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.home-v3-stat{
    background: #fff !important;
    border: 1px solid #e7edf4 !important;
    border-radius: 18px !important;
    padding: 16px 18px !important;
    box-shadow: 0 6px 16px rgba(16,24,40,.04) !important;
}

.home-v3-stat strong{
    display: block !important;
    font-size: 22px !important;
    margin-bottom: 4px !important;
    color: #111827 !important;
}

.home-v3-stat span{
    display: block !important;
    color: #667085 !important;
    font-size: 13px !important;
}

/* Мобилка */
@media (max-width: 991.98px){
    header.d-block.d-lg-none.header-visible-height{
        height: 102px !important;
    }

    .header-wow-top{
        height: 54px !important;
    }

    .header-wow-top-list-icon-item{
        width: 38px !important;
        height: 38px !important;
        border-radius: 14px !important;
    }

    .header-wow-top-list-profile{
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        border-radius: 14px !important;
    }

    .header-wow-sticky-container{
        padding: 10px 0 12px !important;
    }

    .header-flex-box{
        gap: 10px !important;
    }

    .header-flex-box-icon{
        width: 44px !important;
        height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 14px !important;
        background: #f5f7fa !important;
        border: 1px solid #e5eaf1 !important;
    }

    .header-flex-box-icon i{
        font-size: 22px !important;
    }

    .live-search-form-input{
        height: 46px !important;
        padding-left: 44px !important;
        padding-right: 12px !important;
        border-radius: 15px !important;
    }

    .home-v3-page{
        margin-top: 14px !important;
    }

    .home-v3-hero-box{
        padding: 22px 18px !important;
        border-radius: 20px !important;
    }

    .home-v3-hero-title{
        font-size: 28px !important;
        line-height: 1.12 !important;
    }

    .home-v3-hero-text{
        font-size: 15px !important;
    }

    .home-v3-hero-actions{
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .home-v3-hero-actions .btn-custom{
        width: 100% !important;
    }

    .home-v3-stats{
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 10px !important;
    }

    .home-v3-stat{
        padding: 14px !important;
        border-radius: 16px !important;
    }
    @media (min-width: 992px) and (max-width: 1199.98px){
    .header-wow-sticky .col-2{
        flex: 0 0 190px !important;
        max-width: 190px !important;
    }

    .header-wow-sticky .col-10{
        flex: 0 0 calc(100% - 190px) !important;
        max-width: calc(100% - 190px) !important;
    }

    .header-button-menu-catalog{
        padding: 0 14px !important;
    }

    .header-wow-sticky-add{
        width: 160px !important;
    }
}
}