/* Original Aquatorya additions to the installed native price/discount presentation. */
html body .aq-product-preview [data-entity="price-old"] { text-decoration:line-through; }
html body .aq-product-preview .aq-preview-discount::before { content:"Акция "; }
/* The installed theme fixes slide widths with !important; match the native slider's count. */
html body .promo-small__slider .swiper-slide { width:calc((100% - 48px) / 3) !important; min-width:0 !important; }
@media (min-width:768px) and (max-width:1199.98px) { html body .promo-small__slider .swiper-slide { width:calc((100% - 24px) / 2) !important; } }
@media (max-width:767.98px) { html body .promo-small__slider .swiper-slide { width:100% !important; } }

/* Campaign artwork contains text: preserve the complete image at every width. */
html body :is(.promo-small__image-container,.promo-small__image,.promo__image-container,.promo__image,.promo-detail__image-container,.promo-detail__image) {height:auto !important;aspect-ratio:3 / 1;}
html body :is(.promo-small__image,.promo__image,.promo-detail__image) img {object-fit:contain !important;}

html body :is(.promo-small__image,.promo__image,.promo-detail__image) {position:relative;padding:0 !important;}
html body :is(.promo-small__image,.promo__image,.promo-detail__image) img {position:absolute;inset:0;width:100% !important;height:100% !important;}

/* Lazy placeholders/loaders must not determine campaign image height. */
html body :is(.promo-small__image-container,.promo__image-container,.promo-detail__image-container) {position:relative;display:block;overflow:hidden;}
html body :is(.promo-small__image,.promo__image,.promo-detail__image) {position:absolute !important;inset:0;width:100% !important;height:100% !important;overflow:hidden;}
html body .aq-product-preview .aq-preview-discount::before {margin-right:.25em;}
