/* Only behavior formerly provided by the slider/lazy-image runtime.
   Layout, controls and typography come from the original core.css. */
[hidden] { display: none !important; }
.splide { position: relative; visibility: visible; min-width: 0; }
.splide__track { overflow: hidden; min-width: 0; }
.splide__list { display: flex; margin: 0; padding: 0; }
.splide__slide { flex-shrink: 0; }
.js-collections-slider .splide__list { gap: 29px; }
.js-collections-slider .splide__slide { width: 220px; }
.collection-preview__photo img.lazyload { visibility: visible !important; }
.js-promo-slider .splide__list { width: 100%; }
.js-promo-slider .splide__slide { width: 100%; }
.js-promo-slider .splide__slide[hidden] { display: none !important; }
#originalPromo .promo-slider__pagination { display:flex; justify-content:center; gap:8px; padding:24px 0; }
#originalPromo .promo-slider__pagination button { width:10px; height:10px; padding:0; border:0; border-radius:50%; background:#999; }
#originalPromo .promo-slider__pagination button[aria-pressed="true"] { background:#333; }
@media(max-width:767px) { .js-collections-slider .splide__slide { width: 150px; } }

/* Five equal cards in the original desktop content column. */

.js-special-products-slider .splide__list { gap:20px; align-items:stretch; transition:transform .25s ease; }
.home-product-slide { flex:0 0 calc((100% - 80px)/5); min-width:0; }
.home-product-slide .product-preview { height:100%; }
.home-product-slide .favorites_btn { z-index:2; }
.home-product-slide .favorites_btn .btn-icon { display:inline-block!important; }
@media(max-width:1023px) { .home-product-slide { flex-basis:calc((100% - 40px)/3); } }
@media(max-width:767px) { .home-product-slide { flex-basis:calc((100% - 20px)/2); } }
@media(max-width:767px) { .js-collections-slider .grid-list .splide__slide { width:auto; min-width:0; } }

.lazy-yandex-map { min-height: 400px; display: grid; place-items: center; background: #f7f7f7; color: #777; }
.lazy-yandex-map > span { font-size: 14px; }
.lazy-yandex-map > script { width: 100%; min-height: 400px; }

/* Keep the constructor map from falling back to its 150px default height. */
#originalContacts .contacts-map { height: 400px; min-height: 400px; overflow: hidden; }
#originalContacts .lazy-yandex-map { height: 400px; min-height: 400px; display: block; overflow: hidden; }
#originalContacts .lazy-yandex-map iframe { display: block; width: 100% !important; height: 400px !important; min-height: 400px; border: 0; }
#originalContacts .contacts-map::after { content: none !important; }
