.rs-price-block:has(> .dz-unit-price){display:flex;align-items:baseline;flex-wrap:wrap;column-gap:12px;row-gap:4px}
.dz-unit-price{display:inline-block;font-size:14px;font-weight:400;line-height:1.4;color:#686868;white-space:nowrap}
.dz-savings{font-size:13px;line-height:18px;color:#34723d;margin:8px 0 12px;max-width:100%;overflow-wrap:break-word}
.dz-savings:empty{margin:0}
.item-product-price_prod>.dz-unit-price{font-size:16px}
.dz-pack-options{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 16px;max-width:100%}
.dz-pack-option{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border:1px solid #d7d7dc;border-radius:5px;background:#fff;color:inherit;font-size:14px;line-height:1.2;text-decoration:none;white-space:nowrap}
.dz-pack-option.is-selected{border:2px solid #8875ed;padding:5px 11px;color:#5740b8;background:#f6f3ff}
.dz-pack-option:hover,.dz-pack-option:focus-visible{border-color:#8875ed;outline:2px solid #8875ed;outline-offset:2px}
button.dz-pack-option{font-family:inherit;cursor:pointer}
.dz-pack-loading .item-card__actions{opacity:.5;pointer-events:none}
.dz-pack-loading .dz-pack-options{cursor:progress}
.dz-pack-error{font-size:13px;line-height:1.4;color:#a32626;margin:-8px 0 12px}
@media(max-width:575px){.rs-price-block:has(> .dz-unit-price){column-gap:8px}.dz-unit-price{font-size:13px}.dz-pack-option{padding-left:9px;padding-right:9px}.dz-pack-option.is-selected{padding-left:8px;padding-right:8px}}

/* Fixed content rows keep prices and purchase controls aligned with or without packs. */
.item-card.rs-product-item.dz-card-layout{container-type:inline-size;height:100%;padding:0;min-width:0}
.dz-card-layout>.item-card__inner{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 57px 78px 52px 64px 40px 40px;row-gap:8px;align-content:start;height:100%;padding:16px;margin:0;box-sizing:border-box}
.dz-card-layout>.item-card__inner>*{min-width:0}
.dz-card-layout>.item-card__inner>.position-relative:first-child{grid-row:1;display:grid;grid-template-rows:auto 22px;row-gap:6px;margin:0!important}
.dz-card-layout .item-product-img{width:100%;height:auto;aspect-ratio:1;max-height:210px}
.dz-card-layout .item-product-img canvas{display:none}
.dz-card-layout .item-product-img img{width:100%;height:100%;object-fit:contain}
.dz-card-layout .bonusesProductAmount{grid-row:2;margin:0;min-height:22px;max-height:22px;font-size:14px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dz-card-layout>.item-card__inner>.item-card__title{grid-row:2;height:57px;min-height:57px;max-height:57px;margin:0;font-size:14px;line-height:19px;-webkit-line-clamp:3}
.dz-card-layout>.item-card__inner>.item-harakter{grid-row:3;height:78px;margin:0;padding:0;overflow:hidden}
.dz-card-layout .item-harakter li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:center;height:26px;min-height:26px;margin:0;padding:2px 0;font-size:12px;line-height:21px;box-sizing:border-box}
.dz-card-layout .item-harakter li>span{padding:0;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dz-card-layout .item-harakter .harakter-righ{text-align:right}
.dz-card-layout>.item-card__inner>.rs-price-block,.dz-card-layout>.item-card__inner>.rs-sale-status{grid-row:4;grid-column:1;margin:0;height:52px;min-height:0}
.dz-card-layout>.item-card__inner>.rs-price-block{display:flex;align-content:center;align-items:baseline;flex-wrap:wrap;gap:2px 8px;overflow:hidden}
.dz-card-layout .item-product-price__new-price{font-size:23px;line-height:28px;white-space:nowrap}
.dz-card-layout .item-product-price__old-price{font-size:14px;line-height:18px}
.dz-card-layout .dz-unit-price{font-size:12px;line-height:18px}
.dz-card-layout>.item-card__inner>.dz-savings{grid-row:5;height:64px;margin:0;font-size:12px;line-height:16px;align-self:start}
.dz-card-layout>.item-card__inner>.dz-pack-options{grid-row:6;position:relative;display:flex;flex-wrap:nowrap;align-items:flex-start;gap:4px;height:40px;margin:0;padding:2px 1px 5px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#c4b8f3 transparent;overscroll-behavior-x:contain;max-width:100%;box-sizing:border-box}
.dz-card-layout .dz-pack-option{flex:0 0 auto;min-height:30px;padding:5px 8px;font-size:12px;line-height:18px}
.dz-card-layout .dz-pack-option.is-selected{padding:4px 7px}
.dz-card-layout .dz-pack-option:focus-visible{outline-offset:-2px}
.dz-card-layout>.item-card__inner>.item-card__actions{grid-row:7;grid-column:1;align-self:stretch;height:40px;margin:0;--bs-gutter-x:0;--bs-gutter-y:0}
.dz-card-layout .item-card__actions>.col-12{padding:0;height:100%}
.dz-card-layout .item-product-cart-action,.dz-card-layout .item-product-cart-action__to-cart,.dz-card-layout .item-product-cart-action__amount,.dz-card-layout .item-product-amount{height:100%}
.dz-card-layout .item-card__actions .btn{height:40px;min-height:0;margin:0;padding:5px 6px;font-size:14px;line-height:24px}
.dz-card-layout .item-card__actions .item-card__not-available{height:40px;font-size:12px}
.dz-card-layout .favirite-item{position:absolute;top:10px;right:10px;z-index:3}
.dz-card-layout .dz-pack-error{position:absolute;left:8px;right:8px;bottom:58px;z-index:4;padding:6px;margin:0;background:#fff5f5;border:1px solid #e6bcbc;border-radius:4px;font-size:11px}
.swiper-products>.swiper-wrapper{align-items:stretch}
.swiper-products>.swiper-wrapper>.swiper-slide:has(>.dz-card-layout){height:auto}
@container(max-width:220px){
 .dz-card-layout>.item-card__inner{padding:10px;grid-template-rows:auto 54px 66px 48px 64px 38px 36px;row-gap:6px}
 .dz-card-layout>.item-card__inner>.position-relative:first-child{grid-template-rows:auto 32px;row-gap:4px}
 .dz-card-layout .item-product-img{max-height:160px}
 .dz-card-layout .bonusesProductAmount{min-height:32px;max-height:32px;white-space:normal;font-size:12px;line-height:16px}
 .dz-card-layout>.item-card__inner>.item-card__title{height:54px;min-height:54px;max-height:54px;font-size:12px;line-height:18px}
 .dz-card-layout>.item-card__inner>.item-harakter{height:66px}
 .dz-card-layout .item-harakter li{height:22px;min-height:22px;gap:4px;font-size:10px;line-height:17px}
 .dz-card-layout>.item-card__inner>.rs-price-block,.dz-card-layout>.item-card__inner>.rs-sale-status{height:48px}
 .dz-card-layout .item-product-price__new-price{font-size:19px;line-height:24px}
 .dz-card-layout .dz-unit-price{font-size:11px;line-height:16px}
 .dz-card-layout>.item-card__inner>.dz-savings{font-size:11px;line-height:16px}
 .dz-card-layout>.item-card__inner>.dz-pack-options{height:38px}
 .dz-card-layout .dz-pack-option{font-size:11px;padding-left:6px;padding-right:6px}
 .dz-card-layout .dz-pack-option.is-selected{padding-left:5px;padding-right:5px}
 .dz-card-layout>.item-card__inner>.item-card__actions,.dz-card-layout .item-card__actions .btn,.dz-card-layout .item-card__actions .item-card__not-available{height:36px;font-size:12px}
}
