/* ============================================================
   SD HEADER CATALOG CLEAN MATCH V122

   Цель:
   - убрать полностью дым/пятно у Каталога
   - убрать все старые градиенты / псевдоэлементы / blur / glow
   - сделать Каталог как другие плашки шапки
   - light + dark
   ============================================================ */


/* ============================================================
   1. ПОЛНОЕ ОБНУЛЕНИЕ СТАРЫХ ЭФФЕКТОВ
   ============================================================ */

html body.site-home-modern .home-catalog-v1,
html body.site-home-modern .home-catalog-v1:hover,
html body.site-home-modern .home-catalog-v1:focus,
html body.site-home-modern .home-catalog-v1:focus-visible,
html body.site-home-modern .home-catalog-v1:active{
    background-image:none !important;
    filter:none !important;
    -webkit-filter:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    text-shadow:none !important;
}

html body.site-home-modern .home-catalog-v1::before,
html body.site-home-modern .home-catalog-v1::after{
    content:none !important;
    display:none !important;
    background:none !important;
    background-image:none !important;
    box-shadow:none !important;
    filter:none !important;
    -webkit-filter:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    opacity:0 !important;
    transform:none !important;
    animation:none !important;
    transition:none !important;
}

html body.site-home-modern .home-catalog-v1 *{
    text-shadow:none !important;
}

html body.site-home-modern .home-catalog-icon-v1,
html body.site-home-modern .home-catalog-icon-v1 i{
    filter:none !important;
    -webkit-filter:none !important;
    box-shadow:none !important;
    text-shadow:none !important;
    background-image:none !important;
}


/* ============================================================
   2. DESKTOP — ДЕЛАЕМ ПЛАШКУ КАК У ДРУГИХ CONTROL
   ============================================================ */

@media (min-width:981px){

    html body.site-home-modern .home-catalog-v1{
        position:relative !important;

        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:12px !important;

        width:auto !important;
        min-width:138px !important;

        height:52px !important;
        min-height:52px !important;
        max-height:52px !important;

        padding:0 21px !important;
        margin:0 !important;

        border-width:1px !important;
        border-style:solid !important;
        border-radius:12px !important;

        box-sizing:border-box !important;
        overflow:hidden !important;

        font-size:14px !important;
        font-weight:900 !important;
        line-height:1 !important;
        letter-spacing:0 !important;
        text-transform:uppercase !important;
        text-decoration:none !important;

        transition:
            transform .2s ease,
            border-color .2s ease,
            background-color .2s ease,
            box-shadow .2s ease,
            color .2s ease !important;
    }

    html body.site-home-modern .home-catalog-v1 > span:last-child{
        color:inherit !important;
        font-size:15px !important;
        font-weight:900 !important;
        line-height:1 !important;
        letter-spacing:0 !important;
    }

    html body.site-home-modern .home-catalog-icon-v1{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }

    html body.site-home-modern .home-catalog-icon-v1 i{
        border-color:currentColor !important;
    }


    /* --------------------------------------------------------
       LIGHT
       -------------------------------------------------------- */

    html[data-site-theme="light"] body.site-home-modern .home-catalog-v1,
    body.site-home-modern.site-theme-light .home-catalog-v1{
        border-color:rgba(0,0,0,.13) !important;
        background:#ffffff !important;
        background-color:#ffffff !important;
        color:#151515 !important;
        box-shadow:
            inset 0 1px 0 #ffffff,
            0 8px 24px rgba(0,0,0,.075) !important;
    }

    html[data-site-theme="light"] body.site-home-modern .home-catalog-v1:hover,
    html[data-site-theme="light"] body.site-home-modern .home-catalog-v1:focus-visible,
    body.site-home-modern.site-theme-light .home-catalog-v1:hover{
        transform:translateY(-2px) scale(1.025) !important;
        border-color:rgba(239,27,36,.34) !important;
        background:#ffffff !important;
        background-color:#ffffff !important;
        color:#111111 !important;
        box-shadow:
            0 12px 28px rgba(0,0,0,.10),
            0 0 20px rgba(239,27,36,.06) !important;
    }


    /* --------------------------------------------------------
       DARK
       -------------------------------------------------------- */

    html[data-site-theme="dark"] body.site-home-modern .home-catalog-v1,
    body.site-home-modern.site-theme-dark .home-catalog-v1{
        border-color:rgba(255,255,255,.16) !important;
        background:#131313 !important;
        background-color:#131313 !important;
        color:#f5f5f5 !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.10),
            0 8px 24px rgba(0,0,0,.22) !important;
    }

    html[data-site-theme="dark"] body.site-home-modern .home-catalog-v1:hover,
    html[data-site-theme="dark"] body.site-home-modern .home-catalog-v1:focus-visible,
    body.site-home-modern.site-theme-dark .home-catalog-v1:hover{
        transform:translateY(-2px) scale(1.025) !important;
        border-color:rgba(239,27,36,.58) !important;
        background:#151515 !important;
        background-color:#151515 !important;
        color:#ffffff !important;
        box-shadow:
            0 12px 30px rgba(0,0,0,.32),
            0 0 20px rgba(239,27,36,.13) !important;
    }
}


/* ============================================================
   3. MOBILE/TABLET
   Геометрию не ломаем, только убираем дым.
   ============================================================ */

@media (max-width:980px){

    html body.site-home-modern .home-catalog-v1{
        background-image:none !important;
        filter:none !important;
        -webkit-filter:none !important;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
    }

    html body.site-home-modern .home-catalog-v1::before,
    html body.site-home-modern .home-catalog-v1::after{
        content:none !important;
        display:none !important;
        background:none !important;
        background-image:none !important;
        box-shadow:none !important;
        filter:none !important;
        -webkit-filter:none !important;
    }
}
