.n-catalog-swiper-section {
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.n-catalog-swiper-section + .n-catalog-swiper-section {
    margin-bottom: 80px;
    z-index: 1;
}

.n-catalog-swiper-section .catalog__items {
    margin: 0;
    display: block;
    justify-content: initial;
    align-items: initial;
    flex-wrap: initial;
}

.n-catalog-swiper-section .catalog__items img {
    max-width: 100%;
    padding: 0;
}

.n-catalog-swiper-section .catalog__item a {
    text-decoration: none;
}

.n-catalog-swiper-section .catalog__item_recommended {
    width: 100%;
}

.n-catalog-swiper-section .catalog__image {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 297 / 328;
    margin: 0;
    padding: 0;
    border-radius: 24px;
    object-fit: cover;
    display: block;

    color: transparent;
    background-color: transparent;
}

@media (max-width: 1199px) {
    .n-catalog-swiper-section .catalog__item {
        margin-bottom: 30px
    }
}

@media (max-width: 992px) {
    .n-catalog-swiper-section {
        margin-bottom: 40px;
    }

    .n-catalog-swiper-section .catalog__content {
        width: 100%;
        height: 100%;
        font-size: 14px;
        position: initial;
    }
}

@media (max-width: 600px) {
    .n-catalog-swiper-section {
        margin-bottom: 40px;
    }

    .n-catalog-swiper-section .catalog__items {
        margin: 0 -15px;
        padding: 0 15px;
    }
}

/* Мини-галерея доп. фото в карточке */
.rc-photo-gallery {
    width: 100%;
    aspect-ratio: 297 / 328;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.rc-photo-gallery .swiper-wrapper {
    height: 100%;
}
.rc-photo-gallery .swiper-slide {
    height: 100%;
}
.rc-photo-gallery .catalog__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: auto;
    border-radius: 0;
    margin: 0;
    padding: 0;
}
.rc-photo-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 4px;
}
.rc-photo-dots .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    opacity: 1;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.rc-photo-dots .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}
@media (max-width: 600px) {
    .rc-photo-gallery { border-radius: 16px; }
}

/* Стикеры и избранное поверх галереи */
.n-catalog-swiper-section .rc-photo-gallery {
    z-index: 0;
}
.n-catalog-swiper-section .catalog__bonus,
.n-catalog-swiper-section .catalog__tag,
.n-catalog-swiper-section .mindbox-product__tag,
.n-catalog-swiper-section .intensa-favorite-item {
    z-index: 5;
}

/* === Плашки === */
.n-catalog-swiper-section .catalog__bonus {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
}

/* Все метки скрыты по умолчанию */
.n-catalog-swiper-section .catalog__tag {
    display: none;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    flex-grow: 0;
    align-self: center;
}

/* Акция */
.n-catalog-swiper-section .catalog__item-akciya-img .catalog__tag_akciya {
    display: inline-block;
    background: #A11826;
    color: #fff;
}

/* Хит */
.n-catalog-swiper-section .catalog__item-hit-img .catalog__tag_hit {
    display: inline-block;
    background: rgba(255,255,255,.88);
    color: #A11826;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Экспресс — иконка-молния (первая в ряду) */
.n-catalog-swiper-section .catalog__item-express-delivery-img .catalog__tag_express-delivery {
    display: flex;
    order: -1;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 0;
    color: transparent;
    border-radius: 50%;
    background: rgba(255,255,255,.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8.5 1L3 9h4.5l-1 6L13 7H8.5l1-6z' fill='%23FFB800'/%3E%3C/svg%3E") center/16px 16px no-repeat;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    cursor: pointer;
    animation: rc-wobble 3s ease-in-out infinite;
}

@keyframes rc-wobble {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(6deg); }
    60% { transform: rotate(-4deg); }
    80% { transform: rotate(0deg); }
}

.n-catalog-swiper-section .catalog__tag_express-delivery::after {
    content: 'Экспресс доставка';
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background: rgba(0,0,0,.75);
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.n-catalog-swiper-section .catalog__tag_express-delivery:hover::after {
    opacity: 1;
}

/* Баллы — капсула внизу слева */
.n-catalog-swiper-section .mindbox-product__tag_scores {
    position: absolute;
    bottom: 8px;
    left: 8px;
    top: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 4px 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    background: linear-gradient(135deg, #F13A5F, #A11826);
    border-radius: 20px;
    white-space: nowrap;
}

.n-catalog-swiper-section .mindbox-product__tag_scores img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}