/* Shared category product cards. Edit once for standard and enhanced categories. */
:is(.sc-page,.cl-page) .cl-grid.catalog__inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:15px}
:is(.sc-page,.cl-page) .cl-grid>.product-item{padding:17px;border:1px solid var(--cl-line);border-radius:7px;min-width:0;box-shadow:none}
:is(.sc-page,.cl-page) .cl-grid .product-item__top{margin-bottom:12px}
:is(.sc-page,.cl-page) .cl-grid .product-item__img-wrap{height:180px;aspect-ratio:auto;width:100%;max-width:none;margin-bottom:12px}
:is(.sc-page,.cl-page) .cl-grid .product-item__img{width:180px;height:180px;max-width:100%;object-fit:contain}
:is(.sc-page,.cl-page) .cl-grid .product-item__name{font-size:15px;line-height:1.4;min-height:63px;-webkit-line-clamp:3}
:is(.sc-page,.cl-page) .cl-grid .product-item__list{margin-bottom:14px}
:is(.sc-page,.cl-page) .cl-grid .product-item__item{font-size:15px;line-height:1.45;gap:8px}
:is(.sc-page,.cl-page) .cl-grid .product-item__item span:first-child{margin-right:0}
:is(.sc-page,.cl-page) .cl-grid .product-item__item span:last-child{overflow-wrap:anywhere;text-align:right}
:is(.sc-page,.cl-page) .cl-grid .product-item__price-current{font-size:23px;line-height:1.2}
:is(.sc-page,.cl-page) .cl-grid .product-item__price-old{font-size:14px}
:is(.sc-page,.cl-page) .cl-grid .product-item__wrap{display:flex;gap:10px;flex-wrap:nowrap;align-items:stretch;margin-top:12px}
:is(.sc-page,.cl-page) .cl-grid .product-item__counter{display:flex;flex:0 0 94px;min-width:0;height:38px;min-height:0;padding:0 4px}
:is(.sc-page,.cl-page) .cl-grid .counter{display:flex;align-items:center;justify-content:center;gap:2px;height:38px;min-height:0;padding:0 4px}
:is(.sc-page,.cl-page) .cl-grid .cl-counter-btn{border:0;background:none;padding:3px;width:22px;height:30px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
:is(.sc-page,.cl-page) .cl-grid .cl-counter-btn svg{width:18px;height:18px}
:is(.sc-page,.cl-page) .cl-grid .counter__input--wrap{min-width:0}
:is(.sc-page,.cl-page) .cl-grid .counter__input{width:30px;height:30px;min-height:0;border:0;padding:4px;font-size:14px;text-align:center;appearance:textfield;-moz-appearance:textfield}
:is(.sc-page,.cl-page) .cl-grid .counter__input::-webkit-inner-spin-button{display:none}
:is(.sc-page,.cl-page) .cl-grid .product-item__btn{flex:1;font-size:14px;padding:10px 12px;height:38px;min-height:38px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;border-radius:4px}
:is(.sc-page,.cl-page) .cl-grid .product-item__available{flex-shrink:0}
:is(.sc-page,.cl-page) .cl-grid .product-item__price{gap:5px}
:is(.sc-page,.cl-page) .cl-grid .sticker-catalog{max-width:90%;font-size:12px}
@media(max-width:1399px){:is(.sc-page,.cl-page) .cl-grid.catalog__inner{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){:is(.sc-page,.cl-page) .cl-grid.catalog__inner{gap:10px}
:is(.sc-page,.cl-page) .cl-grid>.product-item{padding:13px}
:is(.sc-page,.cl-page) .cl-grid .product-item__img-wrap{height:140px}
:is(.sc-page,.cl-page) .cl-grid .product-item__img{width:140px;height:140px}
:is(.sc-page,.cl-page) .cl-grid .product-item__price{flex-wrap:wrap}
:is(.sc-page,.cl-page) .cl-grid .product-item__price-current{font-size:20px}
:is(.sc-page,.cl-page) .cl-grid .product-item__wrap{flex-direction:column;align-items:stretch}
:is(.sc-page,.cl-page) .cl-grid .product-item__counter{flex:none;width:100%}
:is(.sc-page,.cl-page) .cl-grid .product-item__btn{width:100%}}
@media(max-width:991px){:is(.sc-page,.cl-page) .cl-grid.catalog__inner{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){:is(.sc-page,.cl-page) .cl-grid.catalog__inner{gap:9px;margin-top:12px}
:is(.sc-page,.cl-page) .cl-grid>.product-item{padding:12px 10px}
:is(.sc-page,.cl-page) .cl-grid .product-item__img-wrap{height:112px;margin:5px 0 10px}
:is(.sc-page,.cl-page) .cl-grid .product-item__img{width:112px;height:112px}
:is(.sc-page,.cl-page) .cl-grid .product-item__name{font-size:13px;min-height:55px;line-height:1.4}
:is(.sc-page,.cl-page) .cl-grid .product-item__item{font-size:13px;gap:5px}
:is(.sc-page,.cl-page) .cl-grid .product-item__price-current{font-size:19px}
:is(.sc-page,.cl-page) .cl-grid .product-item__available{max-width:65px}
:is(.sc-page,.cl-page) .cl-grid .product-item__list{margin-bottom:10px}
:is(.sc-page,.cl-page) .cl-grid .product-item__wrap{margin-top:9px;gap:7px}
:is(.sc-page,.cl-page) .cl-grid .product-item__btn{font-size:13px;height:34px;min-height:34px;padding:8px}
:is(.sc-page,.cl-page) .cl-grid .product-item__counter,:is(.sc-page,.cl-page) .cl-grid .counter{height:34px}}
:is(.sc-page,.cl-page) .sc-list-only{display:none}
:is(.sc-page,.cl-page) .cl-grid.sc-list{grid-template-columns:1fr!important}
:is(.sc-page,.cl-page) .cl-grid.sc-list>.product-item{display:grid;grid-template-columns:minmax(260px,1fr) minmax(660px,1.8fr);gap:24px;align-items:center;padding:20px;min-height:136px}
:is(.sc-page,.cl-page) .sc-list .product-item__top{display:grid;grid-template-columns:82px minmax(0,1fr);gap:16px;align-items:center;margin:0;text-decoration:none;min-width:0}
:is(.sc-page,.cl-page) .sc-list .product-item__img-wrap,:is(.sc-page,.cl-page) .sc-list .product-item__img{width:82px;height:82px;margin:0}
:is(.sc-page,.cl-page) .sc-list .product-item__name{min-height:0;display:block;overflow:visible;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
:is(.sc-page,.cl-page) .sc-list .product-item__bottom{display:grid;grid-template-columns:minmax(105px,1.15fr) minmax(28px,.35fr) minmax(52px,.55fr) minmax(46px,.6fr) minmax(110px,1fr) 92px 116px;column-gap:18px;align-items:center;width:100%;margin:0;min-width:0}
:is(.sc-page,.cl-page) .sc-list .product-item__list,:is(.sc-page,.cl-page) .sc-list .product-item__price,:is(.sc-page,.cl-page) .sc-list .product-item__wrap{display:contents}
:is(.sc-page,.cl-page) .sc-list .product-item__item{display:flex;justify-content:center;align-items:center;min-width:0;grid-row:1;margin:0;font-size:14px;line-height:1.35;position:relative}
:is(.sc-page,.cl-page) .sc-list .sc-attr-sku{grid-column:1}
:is(.sc-page,.cl-page) .sc-list .sc-attr-color{grid-column:2}
:is(.sc-page,.cl-page) .sc-list .sc-attr-resource{grid-column:3}
:is(.sc-page,.cl-page) .sc-list .product-item__item>span:first-child,:is(.sc-page,.cl-page) .sc-list .product-item__color mark{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:is(.sc-page,.cl-page) .sc-list .product-item__item>span:last-child{text-align:center;overflow-wrap:anywhere}
:is(.sc-page,.cl-page) .sc-list .product-item__color{display:flex;align-items:center;justify-content:center;width:100%;margin:0}
:is(.sc-page,.cl-page) .sc-list .product-item__color-circle{width:23px;height:16px;border-radius:0;margin:0;border:1px solid #dedee2;background-size:cover}
:is(.sc-page,.cl-page) .sc-list .product-item__available{grid-column:4;grid-row:1;justify-self:center;width:44px;max-width:100%;margin:0}
:is(.sc-page,.cl-page) .sc-list .product-item__price-value{grid-column:5;grid-row:1;min-width:0;text-align:center;margin:0}
:is(.sc-page,.cl-page) .sc-list .product-item__price-current{font-size:18px;line-height:1.3;white-space:nowrap}
:is(.sc-page,.cl-page) .sc-list .product-item__price-old{font-size:13px}
:is(.sc-page,.cl-page) .sc-list .product-item__counter{grid-column:6;grid-row:1;display:flex;width:100%;flex:none;padding:0;margin:0;height:38px}
:is(.sc-page,.cl-page) .sc-list .counter{width:100%;padding:0;gap:0;height:38px}
:is(.sc-page,.cl-page) .sc-list .counter__input{width:28px;padding:2px}
:is(.sc-page,.cl-page) .sc-list .product-item__btn,:is(.sc-page,.cl-page) .sc-list .product-item__wrap>button{grid-column:7;grid-row:1;width:100%;margin:0;height:38px;min-height:38px;font-size:14px;padding:8px 5px;align-self:center}
@media(min-width:992px) and (max-width:1399px){:is(.sc-page,.cl-page) .cl-grid.sc-list>.product-item{grid-template-columns:minmax(190px,1fr) minmax(554px,1.5fr);gap:20px;padding:16px;min-height:120px}
:is(.sc-page,.cl-page) .sc-list .product-item__top{grid-template-columns:64px minmax(0,1fr);gap:12px}
:is(.sc-page,.cl-page) .sc-list .product-item__img-wrap,:is(.sc-page,.cl-page) .sc-list .product-item__img{width:64px;height:64px}
:is(.sc-page,.cl-page) .sc-list .product-item__bottom{grid-template-columns:minmax(100px,1fr) 24px 44px 42px minmax(110px,1fr) 80px 94px;column-gap:10px}
:is(.sc-page,.cl-page) .sc-list .product-item__name{font-size:15px}
:is(.sc-page,.cl-page) .sc-list .product-item__item{font-size:13px}
:is(.sc-page,.cl-page) .sc-list .product-item__price-current{font-size:17px}
:is(.sc-page,.cl-page) .sc-list .product-item__btn,:is(.sc-page,.cl-page) .sc-list .product-item__wrap>button{font-size:13px}}
@media(min-width:992px) and (max-width:1199px){:is(.sc-page,.cl-page) .cl-grid.sc-list>.product-item{grid-template-columns:1fr;gap:12px}
:is(.sc-page,.cl-page) .sc-list .product-item__bottom{justify-content:space-between}}
@media(max-width:991px){:is(.sc-page,.cl-page) .cl-grid.sc-list>.product-item{grid-template-columns:1fr;gap:15px;padding:15px}
:is(.sc-page,.cl-page) .sc-list .product-item__bottom{display:block}
:is(.sc-page,.cl-page) .sc-list .product-item__list{display:block;margin-bottom:14px}
:is(.sc-page,.cl-page) .sc-list .product-item__price{display:flex;justify-content:space-between}
:is(.sc-page,.cl-page) .sc-list .product-item__wrap{display:flex;flex-direction:row;gap:10px;margin-top:12px}
:is(.sc-page,.cl-page) .sc-list .product-item__item{justify-content:space-between;margin-bottom:6px;font-size:13px}
:is(.sc-page,.cl-page) .sc-list .product-item__item>span:first-child,:is(.sc-page,.cl-page) .sc-list .product-item__color mark{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}
:is(.sc-page,.cl-page) .sc-list .sc-list-only{display:none}
:is(.sc-page,.cl-page) .sc-list .product-item__color{width:auto;gap:8px}
:is(.sc-page,.cl-page) .sc-list .product-item__color-circle{width:14px;height:14px;border-radius:50%}
:is(.sc-page,.cl-page) .sc-list .product-item__price-value{text-align:left}
:is(.sc-page,.cl-page) .sc-list .product-item__price-current{font-size:20px}
:is(.sc-page,.cl-page) .sc-list .product-item__counter{width:94px;flex:0 0 94px}
:is(.sc-page,.cl-page) .sc-list .product-item__btn,:is(.sc-page,.cl-page) .sc-list .product-item__wrap>button{width:auto;flex:1}}
@media(max-width:991px){:is(.sc-page,.cl-page) .sc-list .product-item__top{grid-template-columns:100px minmax(0,1fr);gap:14px}
:is(.sc-page,.cl-page) .sc-list .product-item__img-wrap,:is(.sc-page,.cl-page) .sc-list .product-item__img{width:100px;height:100px}}
@media(max-width:767px){:is(.sc-page,.cl-page) .cl-grid.sc-list>.product-item{grid-template-columns:1fr;gap:15px;padding:15px}
:is(.sc-page,.cl-page) .sc-list .product-item__top{grid-template-columns:90px minmax(0,1fr)}
:is(.sc-page,.cl-page) .sc-list .product-item__img-wrap,:is(.sc-page,.cl-page) .sc-list .product-item__img{width:90px;height:90px}
:is(.sc-page,.cl-page) .sc-list .product-item__name{font-size:15px}
:is(.sc-page,.cl-page) .sc-list .product-item__counter,:is(.sc-page,.cl-page) .sc-list .counter{height:34px}
:is(.sc-page,.cl-page) .sc-list .product-item__btn{height:34px;min-height:34px}}
/* Shared price stack: reserve its column for both current and previous prices. */
:is(.sc-page,.cl-page) .cl-grid .bg-card-price{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0}
:is(.sc-page,.cl-page) .cl-grid .bg-card-price .product-item__price-current,:is(.sc-page,.cl-page) .cl-grid .bg-card-price .product-item__price-old{display:block;margin:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
:is(.sc-page,.cl-page) .sc-list .bg-card-price{align-items:center}
:is(.sc-page,.cl-page) .sc-list .bg-card-price .product-item__price-current{font-size:18px;white-space:nowrap}
:is(.sc-page,.cl-page) .sc-list .bg-card-price .product-item__price-old{font-size:13px;line-height:1.3;white-space:nowrap}
/* Rounded rectangular labels preserve the module's text, colors and classes. */
:is(.sc-page,.cl-page) .cl-grid .bg-category-card .sticker-catalog>.sticker-rectangle,:is(.sc-page,.cl-page) .cl-grid .bg-category-card .sticker-catalog>.sticker-bigrectangle{width:auto;min-width:0;height:auto;padding:5px 8px;border-radius:6px;font-size:13px;line-height:1.2;max-width:100%;text-shadow:none}
:is(.sc-page,.cl-page) .sc-list .product-item__img-wrap{height:96px;display:flex;align-items:center;justify-content:center;padding-top:18px;position:relative}
:is(.sc-page,.cl-page) .sc-list .product-item__img{height:78px;object-fit:contain}
:is(.sc-page,.cl-page) .sc-list .bg-category-card .sticker-catalog{top:0;max-width:52px;z-index:2;display:flex;flex-direction:column;gap:3px}
:is(.sc-page,.cl-page) .sc-list .bg-category-card .bg-stickers-left{left:0;right:auto;align-items:flex-start}
:is(.sc-page,.cl-page) .sc-list .bg-category-card .bg-stickers-right{right:0;left:auto;align-items:flex-end}
:is(.sc-page,.cl-page) .sc-list .bg-category-card .sticker-catalog>.sticker-rectangle,:is(.sc-page,.cl-page) .sc-list .bg-category-card .sticker-catalog>.sticker-bigrectangle{margin:0;width:auto;min-width:0;height:auto;max-width:52px;padding:3px 6px;border-radius:5px;font-size:11px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
@media(min-width:992px) and (max-width:1199px){:is(.sc-page,.cl-page) .sc-list .product-item__bottom{grid-template-columns:minmax(100px,1fr) 24px 44px 42px minmax(110px,1fr) 80px 94px;column-gap:10px;justify-content:space-between}}
@media(max-width:991px){:is(.sc-page,.cl-page) .sc-list .bg-card-price{align-items:flex-start}:is(.sc-page,.cl-page) .sc-list .bg-card-price .product-item__price-current{font-size:20px;white-space:normal}}


/* Keep the whole photograph interactive in list mode, including its edges. */
:is(.sc-page,.cl-page) .sc-list .image-additional_nav{inset:18px 0 0;width:100%;height:calc(100% - 18px);padding:0;margin:0;z-index:3;list-style:none}
:is(.sc-page,.cl-page) .sc-list .image-additional_dot{flex:1;min-width:0;width:auto;height:100%;padding:0 2px}
/* A module's video icon must not become another grid cell in the list row. */
:is(.sc-page,.cl-page) .bg-category-card{position:relative}
:is(.sc-page,.cl-page) .bg-category-card>.video-sticker{position:absolute;top:12px;right:12px;z-index:5}
:is(.sc-page,.cl-page) .sc-list .bg-category-card>.video-sticker{top:8px;right:8px}
