/* Отображение стикеров на мобильной версии */
@media (max-width: 768px) {
    .products__item--responsive .products__item-badges {
        display: block !important;
    }
	.products__item--responsive .products__item-rating {
        display: none;
    }
	.products__item-badges {
		max-width: none;
	}
}

/* Не обрезать содержимое внутри попапа */
.fancybox-container .fancybox-content,
.fancybox-container .fancybox-slide,
.fancybox__container .fancybox__content,
.fancybox__container .fancybox__slide {
  overflow: visible !important;
}

/* Наш попап шире */
#popup-calc-delivery {
  width: min(95vw, 1140px);
  max-width: 1140px;
}

/* Контейнер попапа выше обычного */
.fancybox-container,
.fancybox__container {
  z-index: 3000000 !important;
}

/* Фон попапа не перехватывает клики */
.fancybox-bg,
.fancybox__backdrop {
  pointer-events: none !important;
}

/* Карта внутри попапа */
#delivery-map {
  width: 100%;
  height: 600px !important;
  position: relative;
}

/* Подсказки/баллоны/контролы Яндекс.Карт поверх всего */
.ymaps-2-1-79-suggest__popup,
.ymaps-2-1-79-popup,
.ymaps-2-1-79-balloon,
.ymaps-2-1-79-search-panel-popup,
.ymaps-suggest,
.ymaps-2-1-79-controls__control,
.ymaps-2-1-79-float-button {
  z-index: 2147483647 !important;
}

/* .products__item {
  height: 59.1rem;
}    зачем это было добавлено??? */

.prmn-cmngr{
/* font-size: 50px; */
}

/* .prmn-cmngr__city {
padding: 2px 8px;
font-size: 16px;
font-weight: 600;
color: #ffffff;
background-color: #3c5bb1;
border: none;
border-radius: 12px;
cursor: pointer;
box-shadow: 0 6px 16px rgba(74, 111, 255, 0.3);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
text-align: center;
text-decoration: none;
white-space: nowrap;
outline: none;
border: 1px solid transparent;
} 

.prmn-cmngr__city:hover {
background-color: #3a58aa;
transform: translateY(-2px);
box-shadow: 0 10px 24px rgba(74, 111, 255, 0.4);
}

.prmn-cmngr__city:active {
transform: translateY(0);
box-shadow: 0 3px 10px rgba(74, 111, 255, 0.3);
}

.prmn-cmngr__city:focus {
box-shadow: 0 0 0 3px rgba(74, 111, 255, 0.5);
}

@media (max-width: 768px) {
.prmn-cmngr__city {
    padding: 4px 8px;
    font-size: 15px;
    border-radius: 10px;
}
}

.prmn-cmngr__city.active {
background-color: #3a58aa;
border-color: #ffffff;
box-shadow: 0 0 0 2px #ffffff, 0 6px 16px rgba(74, 111, 255, 0.4);
}

.prmn-cmngr__city.active:hover {
background-color: #3a58aa;
}

.prmn-cmngr__city-btn {
display: inline-block;
padding: 2px 8px;
font-size: 16px;
font-weight: 600;
color: #ffffff;
background-color: #4a6fff;
border: none;
border-radius: 12px;
cursor: pointer;
box-shadow: 0 6px 16px rgba(74, 111, 255, 0.3);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
text-align: center;
text-decoration: none;
white-space: nowrap;
outline: none;
border: 1px solid transparent;
}

.prmn-cmngr__city-btn:hover {
background-color: #3a5cfd;
transform: translateY(-2px);
box-shadow: 0 10px 24px rgba(74, 111, 255, 0.4);
}

.prmn-cmngr__city-btn:active {
transform: translateY(0);
box-shadow: 0 3px 10px rgba(74, 111, 255, 0.3);
}

.prmn-cmngr__city-btn:focus {
box-shadow: 0 0 0 3px rgba(74, 111, 255, 0.5);
}

@media (max-width: 768px) {
.prmn-cmngr__city-btn {
    padding: 4px 8px;
    font-size: 15px;
    border-radius: 10px;
}
}

*/


.products-featured__swiper {
    position: relative;
    overflow: visible;
}

.products-featured__swiper .swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.products-featured__swiper .swiper-nav button {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 20;
}

.products-featured__swiper .swiper-nav button:hover {
    background: #fff;
    border-color: #bbb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.products-featured__swiper .swiper-nav button.prev {
    left: -24px;
}

.products-featured__swiper .swiper-nav button.next {
    right: -24px;
}

.products-featured__swiper .swiper-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .products-featured__swiper .swiper-nav {
        display: none;
    }
}

.products__discount-circle {
  top: 2.9rem;
  width: 260px;
  margin: auto 0 20.6rem !important;
}

@media (max-width: 767px) {
    .products__discount-circle {
        width: auto;
    }
}

.products__discount-action {
    margin-top: -4rem;
}

@media (max-width: 767px) {
    .products__discount-action {
        margin-top: -8rem;
    }
}

@media (max-width: 767px) {
    .set .products__item--responsive {
        height: auto;
    }
}

@media (min-width: 1199px) {
    .is-header-v1 .header__search, .is-header-v3 .header__search, .is-header-v7 .header__search {
        max-width: 87.4rem !important;
    }
}

@media (min-width: 1199px) {
    .is-header-v1 .header__group--info_call, .is-header-v3 .header__group--info_call, .is-header-v7 .header__group--info_call {
        max-width: 87.5rem !important;
    }
}

@media (min-width: 1199px) {
    .products__item--line .products__item-in {
        padding: 5rem 0 !important;
    }
}

@media (min-width: 1199px) {
    .products__item--line .products__item-gallery {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
        margin: 0 0rem 0 0 !important;
    }
}

@media (min-width: 1199px) {
    .products__item--line .products__item-desc {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
        margin: 0 0rem 0 0 !important;
    }
}

.products__item-title {
    margin: 0 0 0rem !important;
}

@media (min-width: 1199px) {
    .products__item--line .products__item-price {
        margin: 0 0 0rem !important;
    }
}

.discount-info {
    color: red;
    font-weight: 500;
}

@media (max-width: 480px) {
    .discount-info {
        color: red;
        font-weight: 500;
    }
}

.discount-info-line {
    margin: 0 0 3rem !important;
}

.header__info-sublink:hover {
        background: #e3e3e3;
        border: 1px solid var(--theme-primary-color);;
}

@media (min-width: 1199px) {
    .header__info-offcanvas:not(.header__info-offcanvas--fullwidth) {
        background: #ffffffdb;
    }
    }

@media (max-width: 767px) {
    .products__item--responsive {
        height: auto;
    }
}

@media (max-width: 1199px) {
    .products__item {
        height: 100%;
    }
}





@media (max-width: 767px) {
    .products__item--responsive .products__item-in {
        padding: 1.5rem;
        position: relative;
        padding-bottom: 70px;
    }
}

@media (max-width: 1199px) {
    .products__item--responsive .products__item-in {
        padding: 1.5rem;
        position: relative;
        padding-bottom: 70px;
    }
}

@media (max-width: 1199px) {
    .products__item-discount, .products__item-action {
        opacity: 1;
        visibility: visible;
        transform: translate(0, 0);
        position: absolute !important;
        bottom: 20px;
        left: auto;
        width: 100%;
        display: flex;
        justify-content: left;
    }
}

.products__item-in {
    padding-bottom: 70px;
}


/* iFrame */
/* Уникальные стили с префиксом ifVK */
        .ifVK-body {
			width: 150% !important;
            display: flex;
            justify-content: center;
            font-family: system-ui, -apple-system, sans-serif;
        }

        .ifVK-grid {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            align-content: start;
        }

        .ifVK-grid iframe {
            width: 100%;
            aspect-ratio: 16 / 9;
            border: none;
            border-radius: 18px;
            background: #1a1f2a;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
            transition: transform 0.15s ease, box-shadow 0.2s;
            display: block;
        }

        .ifVK-grid iframe:hover {
            transform: scale(1.01);
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
        }

        @media (max-width: 900px) {
            .ifVK-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
        }

        @media (max-width: 520px) {
            .ifVK-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .ifVK-body {
				width: auto !important;
                padding: 12px;
            }
        }