/* =========================================================
   MERCH BOTTOM FIELD V15
   Для Мерча добавляем нижнюю плашку под текст,
   чтобы название читалось на любой картинке.
   ========================================================= */


/* =========================================================
   БОЛЬШАЯ ПЛАШКА МЕРЧ
   ========================================================= */

body.site-home-modern .home-merch-tile-v5{
    overflow:hidden !important;
}

body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5{
    position:absolute !important;
    left:18px !important;
    right:18px !important;
    bottom:18px !important;
    z-index:8 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;

    min-height:64px !important;
    padding:14px 16px !important;
    border-radius:18px !important;

    backdrop-filter:blur(8px) !important;
    -webkit-backdrop-filter:blur(8px) !important;

    box-sizing:border-box !important;
}

body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 b{
    margin:0 !important;
    padding:0 !important;
    font-size:clamp(28px,2.2vw,46px) !important;
    line-height:1 !important;
    letter-spacing:-.02em !important;
    text-shadow:none !important;
}

body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 i{
    flex:0 0 auto !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:58px !important;
    height:58px !important;
    border-radius:50% !important;

    text-shadow:none !important;
}


/* Светлая тема — большая плашка */
html[data-site-theme="light"] body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5,
body.site-theme-light.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5{
    background:rgba(255,255,255,.90) !important;
    border:1px solid rgba(0,0,0,.12) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08) !important;
}

html[data-site-theme="light"] body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 b,
body.site-theme-light.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 b{
    color:#111 !important;
}

html[data-site-theme="light"] body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 i,
body.site-theme-light.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 i{
    color:#ff2027 !important;
    background:#fff !important;
    border:1px solid rgba(0,0,0,.16) !important;
}


/* Тёмная тема — большая плашка */
html[data-site-theme="dark"] body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5,
body.site-theme-dark.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5{
    background:rgba(13,15,20,.82) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    box-shadow:0 12px 36px rgba(0,0,0,.28) !important;
}

html[data-site-theme="dark"] body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 b,
body.site-theme-dark.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 b{
    color:#fff !important;
}

html[data-site-theme="dark"] body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 i,
body.site-theme-dark.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 i{
    color:#ff2027 !important;
    background:rgba(255,255,255,.06) !important;
    border:1px solid rgba(255,255,255,.16) !important;
}


/* =========================================================
   МАЛЕНЬКАЯ КАРТОЧКА МЕРЧ НА ГЛАВНОЙ
   ========================================================= */

body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12{
    overflow:hidden !important;
}

body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > strong{
    position:absolute !important;
    left:14px !important;
    right:64px !important;
    bottom:14px !important;
    z-index:8 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-height:44px !important;
    margin:0 !important;
    padding:10px 14px !important;
    border-radius:14px !important;

    text-align:center !important;
    line-height:1.05 !important;
    text-shadow:none !important;

    box-sizing:border-box !important;
}

body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > i{
    z-index:9 !important;
}


/* Светлая тема — маленькая карточка */
html[data-site-theme="light"] body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > strong,
body.site-theme-light.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > strong{
    color:#111 !important;
    background:rgba(255,255,255,.92) !important;
    border:1px solid rgba(0,0,0,.12) !important;
    box-shadow:0 8px 20px rgba(0,0,0,.08) !important;
}

html[data-site-theme="light"] body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > i,
body.site-theme-light.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > i{
    color:#ff2027 !important;
    background:#fff !important;
    border-color:rgba(0,0,0,.16) !important;
}


/* Тёмная тема — маленькая карточка */
html[data-site-theme="dark"] body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > strong,
body.site-theme-dark.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > strong{
    color:#fff !important;
    background:rgba(13,15,20,.84) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.26) !important;
}

html[data-site-theme="dark"] body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > i,
body.site-theme-dark.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > i{
    color:#ff2027 !important;
    background:rgba(255,255,255,.06) !important;
    border-color:rgba(255,255,255,.14) !important;
}


/* =========================================================
   МАЛЕНЬКАЯ КАРТОЧКА МЕРЧ В /CATALOG
   ========================================================= */

body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12{
    overflow:hidden !important;
}

body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .category-card-title,
body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .catalog-folder-name,
body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 strong{
    position:absolute !important;
    left:14px !important;
    right:64px !important;
    bottom:14px !important;
    z-index:8 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-height:44px !important;
    padding:10px 14px !important;
    margin:0 !important;
    border-radius:14px !important;

    text-align:center !important;
    line-height:1.05 !important;
    text-shadow:none !important;
    box-sizing:border-box !important;
}

html[data-site-theme="light"] body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .category-card-title,
html[data-site-theme="light"] body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .catalog-folder-name,
html[data-site-theme="light"] body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 strong,
body.site-theme-light.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .category-card-title,
body.site-theme-light.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .catalog-folder-name,
body.site-theme-light.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 strong{
    color:#111 !important;
    background:rgba(255,255,255,.92) !important;
    border:1px solid rgba(0,0,0,.12) !important;
    box-shadow:0 8px 20px rgba(0,0,0,.08) !important;
}

html[data-site-theme="dark"] body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .category-card-title,
html[data-site-theme="dark"] body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .catalog-folder-name,
html[data-site-theme="dark"] body.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 strong,
body.site-theme-dark.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .category-card-title,
body.site-theme-dark.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 .catalog-folder-name,
body.site-theme-dark.site-catalog-modern .catalog-folder-card.is-merch-no-shade-v12 strong{
    color:#fff !important;
    background:rgba(13,15,20,.84) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.26) !important;
}


/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 720px){
    body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5{
        left:12px !important;
        right:12px !important;
        bottom:12px !important;
        min-height:56px !important;
        padding:12px 14px !important;
        border-radius:14px !important;
    }

    body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 b{
        font-size:clamp(22px,7vw,34px) !important;
    }

    body.site-home-modern .home-merch-tile-v5 .home-feature-copy-v5 i{
        width:48px !important;
        height:48px !important;
    }

    body.site-home-modern .home-category-card-v6.is-merch-no-shade-v12 > strong{
        left:10px !important;
        right:56px !important;
        bottom:10px !important;
        min-height:40px !important;
        padding:8px 10px !important;
    }
}
