/* Только фотографии каталога скрываются до входа. Карточки и слайдеры остаются. */
.sd-auth-photo-lock-v2{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    width:100%;
    height:100%;
    padding:14px;
    box-sizing:border-box;
    background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.06),transparent 35%),linear-gradient(145deg,#17191c,#090a0c);
    text-align:center;
}
.sd-auth-photo-lock-v2 b{color:rgba(255,255,255,.28);font-size:clamp(28px,4vw,52px);font-weight:1000;line-height:1;letter-spacing:-.05em}
.sd-auth-photo-lock-v2 small{color:rgba(255,255,255,.58);font-size:10px;font-weight:800;line-height:1.25}
.product-img,.home-popular-media-v7,.home-category-media-v6,.product-modern-image{position:relative!important;overflow:hidden!important}

.sd-auth-category-photo-lock-v2{
    position:absolute;
    inset:0;
    z-index:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.05),transparent 36%),linear-gradient(145deg,#17191c,#090a0c);
    text-align:center;
}
.sd-auth-category-photo-lock-v2 b{color:rgba(255,255,255,.25);font-size:36px;font-weight:1000;line-height:1}
.sd-auth-category-photo-lock-v2 small{color:rgba(255,255,255,.5);font-size:9px;font-weight:800}
.catalog-folder-card>span:not(.sd-auth-category-photo-lock-v2),.catalog-folder-card>small,.catalog-folder-card>em{position:relative;z-index:3}

.sd-auth-category-slider-lock-v2{z-index:1}
.home-category-card-v6>.home-category-shade-v6,.home-category-card-v6>strong,.home-category-card-v6>i{z-index:3!important}

.sd-auth-product-page-lock-v2{min-height:100%;font-size:12px}
.sd-auth-product-page-lock-v2 small{max-width:220px;font-size:12px}

.sd-auth-header-photo-lock-v2,
.sd-auth-live-lock-v2{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    min-height:38px;
    background:linear-gradient(145deg,#17191c,#090a0c)!important;
    color:rgba(255,255,255,.38)!important;
    font-style:normal!important;
    font-weight:1000!important;
    font-size:12px!important;
}
.sd-auth-quick-lock-v2{position:absolute;inset:0;z-index:2}
.product-quick-media{position:relative!important;overflow:hidden!important}

html[data-site-theme="light"] .sd-auth-photo-lock-v2,
html[data-site-theme="light"] .sd-auth-category-photo-lock-v2,
html[data-site-theme="light"] .sd-auth-header-photo-lock-v2,
html[data-site-theme="light"] .sd-auth-live-lock-v2,
body.site-theme-light .sd-auth-photo-lock-v2,
body.site-theme-light .sd-auth-category-photo-lock-v2,
body.site-theme-light .sd-auth-header-photo-lock-v2,
body.site-theme-light .sd-auth-live-lock-v2{
    background:linear-gradient(145deg,#f5f5f2,#e7e7e3)!important;
    color:rgba(0,0,0,.35)!important;
}
html[data-site-theme="light"] .sd-auth-photo-lock-v2 b,
html[data-site-theme="light"] .sd-auth-category-photo-lock-v2 b,
body.site-theme-light .sd-auth-photo-lock-v2 b,
body.site-theme-light .sd-auth-category-photo-lock-v2 b{color:rgba(0,0,0,.22)}
html[data-site-theme="light"] .sd-auth-photo-lock-v2 small,
html[data-site-theme="light"] .sd-auth-category-photo-lock-v2 small,
body.site-theme-light .sd-auth-photo-lock-v2 small,
body.site-theme-light .sd-auth-category-photo-lock-v2 small{color:rgba(0,0,0,.48)}

/* SD_CATEGORY_LOCK_TEXT_FIX_V1 START */
.catalog-folder-card > .sd-auth-photo-lock-v2.sd-auth-category-photo-lock-v2,
.home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2{
    position:absolute !important;
    inset:0 !important;
    z-index:3 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    min-height:0 !important;
    padding:16px !important;
    box-sizing:border-box !important;
    text-align:center !important;
}

.catalog-folder-card > .sd-auth-photo-lock-v2.sd-auth-category-photo-lock-v2 b,
.home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 b{
    display:block !important;
    color:rgba(255,255,255,.28) !important;
    font-size:clamp(34px,4.4vw,56px) !important;
    font-weight:1000 !important;
    line-height:1 !important;
    letter-spacing:-.05em !important;
    text-transform:none !important;
}

.catalog-folder-card > .sd-auth-photo-lock-v2.sd-auth-category-photo-lock-v2 small,
.home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 small{
    display:block !important;
    max-width:190px !important;
    margin:0 !important;
    padding:0 !important;
    color:rgba(255,255,255,.58) !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1.25 !important;
    text-transform:none !important;
}

html[data-site-theme="light"] .catalog-folder-card > .sd-auth-photo-lock-v2.sd-auth-category-photo-lock-v2 b,
html[data-site-theme="light"] .home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 b,
body.site-theme-light .catalog-folder-card > .sd-auth-photo-lock-v2.sd-auth-category-photo-lock-v2 b,
body.site-theme-light .home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 b{
    color:rgba(0,0,0,.22) !important;
}

html[data-site-theme="light"] .catalog-folder-card > .sd-auth-photo-lock-v2.sd-auth-category-photo-lock-v2 small,
html[data-site-theme="light"] .home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 small,
body.site-theme-light .catalog-folder-card > .sd-auth-photo-lock-v2.sd-auth-category-photo-lock-v2 small,
body.site-theme-light .home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 small{
    color:rgba(0,0,0,.48) !important;
}
/* SD_CATEGORY_LOCK_TEXT_FIX_V1 END */

/* SD_HOME_CATEGORY_LOCK_VISIBLE_V2 START */
body.site-home-modern .home-category-card-v6 > .home-category-media-v6{
    position:absolute !important;
    inset:0 !important;
    z-index:2 !important;
    display:block !important;
    width:auto !important;
    height:auto !important;
    overflow:hidden !important;
}

body.site-home-modern .home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2{
    position:absolute !important;
    inset:0 !important;
    z-index:2 !important;

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

    gap:7px !important;

    width:100% !important;
    height:100% !important;
    max-width:none !important;
    min-height:0 !important;

    padding:42px 14px 52px !important;
    box-sizing:border-box !important;

    text-align:center !important;

    background:
        linear-gradient(
            180deg,
            #ededeb 0%,
            #e7e7e5 44%,
            #3b3b3b 100%
        ) !important;
}

body.site-home-modern .home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 b{
    display:block !important;

    margin:0 !important;
    padding:0 !important;

    color:rgba(0,0,0,.22) !important;

    font-size:clamp(34px,3vw,50px) !important;
    font-weight:1000 !important;
    line-height:1 !important;

    letter-spacing:-.05em !important;
    text-transform:none !important;
    text-shadow:none !important;
}

body.site-home-modern .home-category-media-v6 > .sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2 small{
    display:block !important;

    max-width:170px !important;

    margin:0 !important;
    padding:0 !important;

    color:rgba(0,0,0,.48) !important;

    font-size:10px !important;
    font-weight:800 !important;
    line-height:1.2 !important;

    letter-spacing:0 !important;
    text-transform:none !important;
    text-shadow:none !important;
}

body.site-home-modern .home-category-card-v6 > strong,
body.site-home-modern .home-category-card-v6 > i{
    z-index:5 !important;
}

body.site-home-modern .home-category-card-v6::after{
    z-index:6 !important;
}
/* SD_HOME_CATEGORY_LOCK_VISIBLE_V2 END */

/* SD_CATEGORY_LOCK_NO_DARK_V3 */
body.site-home-modern
.home-category-card-v6:has(.sd-auth-category-slider-lock-v2)
.home-category-media-v6{
    background:#f1f1ef !important;
}

body.site-home-modern
.home-category-media-v6
.sd-auth-photo-lock-v2.sd-auth-category-slider-lock-v2{
    background:#f1f1ef !important;
    background-image:none !important;
}

/* Убираем старое затемнение, рассчитанное на настоящую фотографию */
body.site-home-modern
.home-category-card-v6:has(.sd-auth-category-slider-lock-v2)
> .home-category-shade-v6{
    display:none !important;
}

/* Убираем блик поверх заглушки */
body.site-home-modern
.home-category-card-v6:has(.sd-auth-category-slider-lock-v2)::after{
    display:none !important;
}

body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 b{
    color:rgba(0,0,0,.20) !important;
    text-shadow:none !important;
}

body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 small{
    color:rgba(0,0,0,.48) !important;
    text-shadow:none !important;
}

/* Название и стрелка остаются поверх */
body.site-home-modern
.home-category-card-v6:has(.sd-auth-category-slider-lock-v2)
> strong,
body.site-home-modern
.home-category-card-v6:has(.sd-auth-category-slider-lock-v2)
> i{
    z-index:10 !important;
}


/* =========================================================
   SD CATEGORY PLACEHOLDER THEME V9
   ========================================================= */


/* ---------------------------------------------------------
   ТЁМНАЯ ТЕМА
   --------------------------------------------------------- */

html[data-site-theme="dark"]
body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2,

body.site-theme-dark.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2{
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255,255,255,.045),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #191b1f 0%,
            #101114 100%
        ) !important;

    background-color:#111216 !important;
}


/* SD */
html[data-site-theme="dark"]
body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 b,

body.site-theme-dark.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 b{
    color:rgba(255,255,255,.24) !important;
    text-shadow:none !important;
}


/* "Фото после входа..." */
html[data-site-theme="dark"]
body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 small,

body.site-theme-dark.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 small{
    color:rgba(255,255,255,.46) !important;
    text-shadow:none !important;
}


/* Название категории */
html[data-site-theme="dark"]
body.site-home-modern
.home-category-card-v6
> strong,

body.site-theme-dark.site-home-modern
.home-category-card-v6
> strong{
    color:#fff !important;
    text-shadow:none !important;
}


/* Стрелка */
html[data-site-theme="dark"]
body.site-home-modern
.home-category-card-v6
> i,

body.site-theme-dark.site-home-modern
.home-category-card-v6
> i{
    background:#1b1c1f !important;
    border-color:rgba(255,255,255,.16) !important;
    color:#ff2027 !important;
    box-shadow:none !important;
}


/* Сама карточка */
html[data-site-theme="dark"]
body.site-home-modern
.home-category-card-v6,

body.site-theme-dark.site-home-modern
.home-category-card-v6{
    background:#111216 !important;
    border-color:rgba(255,255,255,.14) !important;
}


/* ---------------------------------------------------------
   СВЕТЛАЯ ТЕМА
   --------------------------------------------------------- */

html[data-site-theme="light"]
body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2,

body.site-theme-light.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2{
    background:#f1f1ef !important;
    background-image:none !important;
}


/* SD */
html[data-site-theme="light"]
body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 b,

body.site-theme-light.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 b{
    color:rgba(0,0,0,.20) !important;
    text-shadow:none !important;
}


/* Подпись */
html[data-site-theme="light"]
body.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 small,

body.site-theme-light.site-home-modern
.home-category-media-v6
.sd-auth-category-slider-lock-v2 small{
    color:rgba(0,0,0,.48) !important;
    text-shadow:none !important;
}


/* Название */
html[data-site-theme="light"]
body.site-home-modern
.home-category-card-v6
> strong,

body.site-theme-light.site-home-modern
.home-category-card-v6
> strong{
    color:#111 !important;
    text-shadow:none !important;
}


/* Светлая карточка */
html[data-site-theme="light"]
body.site-home-modern
.home-category-card-v6,

body.site-theme-light.site-home-modern
.home-category-card-v6{
    background:#f1f1ef !important;
    border-color:rgba(0,0,0,.12) !important;
}


/* Светлая стрелка */
html[data-site-theme="light"]
body.site-home-modern
.home-category-card-v6
> i,

body.site-theme-light.site-home-modern
.home-category-card-v6
> i{
    background:rgba(255,255,255,.9) !important;
    border-color:rgba(0,0,0,.17) !important;
    color:#ff2027 !important;
    box-shadow:none !important;
}


/* ---------------------------------------------------------
   КАТАЛОГ / ВЛОЖЕННЫЕ КАТЕГОРИИ
   --------------------------------------------------------- */

html[data-site-theme="dark"]
.catalog-folder-card
.sd-auth-category-photo-lock-v2{
    background:linear-gradient(
        145deg,
        #191b1f,
        #101114
    ) !important;
}

html[data-site-theme="dark"]
.catalog-folder-card
.sd-auth-category-photo-lock-v2 b{
    color:rgba(255,255,255,.24) !important;
}

html[data-site-theme="dark"]
.catalog-folder-card
.sd-auth-category-photo-lock-v2 small{
    color:rgba(255,255,255,.46) !important;
}


html[data-site-theme="light"]
.catalog-folder-card
.sd-auth-category-photo-lock-v2{
    background:#f1f1ef !important;
}

html[data-site-theme="light"]
.catalog-folder-card
.sd-auth-category-photo-lock-v2 b{
    color:rgba(0,0,0,.20) !important;
}

html[data-site-theme="light"]
.catalog-folder-card
.sd-auth-category-photo-lock-v2 small{
    color:rgba(0,0,0,.48) !important;
}

