/* Подсветка за товарами, только тёмная тема. Статичный градиент, без анимации и без filter на слое. */
:root{--gl-rgb:239 232 223;--gl-a:.16;--gl-size:115;--gl-soft:72;--gl-y:0;--gl-sh:.6;--gl-la:.9;--gl-hl:.95}
.card__img{position:relative}
.card__img::before,.cat__img::before,.prod::before,.pd__stage::before{content:"";position:absolute;left:50%;top:calc(50% + var(--gl-y) * 1%);width:calc(var(--gl-size) * 1%);aspect-ratio:1/1;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;z-index:0;background:radial-gradient(closest-side,rgb(var(--gl-rgb) / var(--gl-a)),transparent calc(var(--gl-soft) * 1%))}
.card__img img,.cat__img img,.prod>img:not(.prod__ref),.pd__stage img{position:relative;z-index:1}
:root:not([data-theme="light"]) .card__img img{filter:drop-shadow(0 24px 30px rgba(0,0,0,calc(.5 * var(--gl-sh))))}
:root:not([data-theme="light"]) .cat__img img{filter:drop-shadow(0 30px 40px rgba(0,0,0,calc(.5 * var(--gl-sh))))}
:root:not([data-theme="light"]) .prod img{filter:drop-shadow(0 40px 50px rgba(0,0,0,calc(.55 * var(--gl-sh))))}
:root:not([data-theme="light"]) .pd__stage img{filter:drop-shadow(0 40px 50px rgba(0,0,0,calc(.55 * var(--gl-sh))))}
[data-theme="light"] .card__img::before,[data-theme="light"] .cat__img::before,[data-theme="light"] .prod::before,[data-theme="light"] .pd__stage::before{background:radial-gradient(closest-side,rgb(255 255 255 / var(--gl-la)),transparent calc(var(--gl-soft) * 1%))}
html[data-gl="off"] .card__img::before,html[data-gl="off"] .cat__img::before,html[data-gl="off"] .prod::before,html[data-gl="off"] .pd__stage::before{display:none}
html[data-gl-where="cards"] .prod::before,html[data-gl-where="cards"] .pd__stage::before{display:none}
html[data-gl-who="dark"] .card__img:not(:has(img[src*="img/p08."],img[src*="img/p15."],img[src*="img/p12."],img[src*="img/p10."],img[src*="img/p17."],img[src*="img/p04."],img[src*="img/p01."]))::before,
html[data-gl-who="dark"] .cat__img:not(:has(img[src*="img/p08."],img[src*="img/p15."],img[src*="img/p12."],img[src*="img/p10."],img[src*="img/p17."],img[src*="img/p04."],img[src*="img/p01."]))::before,
html[data-gl-who="dark"] .prod:not(:has(img[src*="img/p08."],img[src*="img/p15."],img[src*="img/p12."],img[src*="img/p10."],img[src*="img/p17."],img[src*="img/p04."],img[src*="img/p01."]))::before,
html[data-gl-who="dark"] .pd__stage:not(:has(img[src*="img/p08."],img[src*="img/p15."],img[src*="img/p12."],img[src*="img/p10."],img[src*="img/p17."],img[src*="img/p04."],img[src*="img/p01."]))::before{display:none}
/* Светлая тема: блик при наведении за товаром и слабее, товар не осветляет */
[data-theme="light"] .card::after,[data-theme="light"] .cat::after{z-index:0;background:radial-gradient(closest-side,rgb(255 255 255 / var(--gl-hl)),transparent 70%)}
[data-theme="light"] .cat__img{z-index:1}
[data-theme="light"] .card>:not(.card__plus),[data-theme="light"] .cat>:not(.cat__img){position:relative;z-index:1}
/* 20.11: свой фон и своя подсветка карточки из панели (в обеих темах: решение магазина для конкретного товара) */
.card[data-ctone]{background:var(--cbg)}
.card[data-ctone="light"]{color:#171412;--ink:#171412;--mute:rgba(23,20,18,.62)}
.card[data-ctone="light"] .card__name,.card[data-ctone="light"] .card__price{color:#171412}
.card[data-ctone="dark"]{color:#efe8df;--ink:#efe8df;--mute:rgba(239,232,223,.6)}
.card[data-ctone="dark"] .card__name,.card[data-ctone="dark"] .card__price{color:#efe8df}
.card[data-cglow] .card__img::before{display:block!important;background:radial-gradient(closest-side,var(--cglow),transparent calc(var(--gl-soft) * 1%))!important}
/* 20.11: старая цена (поле «Старая цена» в панели) зачёркнута рядом с ценой, скидка ярлыком на фото карточки */
.oldp{margin-left:.55em;font-size:.62em;font-weight:400;color:var(--mute,rgba(239,232,223,.55));text-decoration:line-through;text-decoration-thickness:1px;letter-spacing:0;white-space:nowrap}
.card__off{position:absolute;left:0;top:0;z-index:2;padding:5px 9px;border-radius:999px;background:#e2a73f;color:#171412;font:600 12px/1 "Inter Tight",system-ui,sans-serif;letter-spacing:.02em}
.card[data-ctone="light"] .card__plus{color:#171412}
