/* Контейнер и сетка */
.poster-slider {
    max-width: 100%; /* подогни под свой макет */
    height: auto;
    margin: 0 auto;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Основной постер 9:16 с приятной тенью и скруглением */
.poster-main {
    border-radius: 16px;
    overflow: hidden;
    /*background: radial-gradient(120% 120% at 100% 0%, #ffd8f2 0%, #ffefc2 30%, #ffe8a3 60%, #ffd3ff 100%);*/
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

/* Держим высоту как у баннера: 9:16 */
.poster-main .swiper-slide {
    /*aspect-ratio: 1/1;        !* современные браузеры *!*/
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: transparent;
}

.poster-main img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* заполняем как постер */
    display: block;
}

/* Стрелки */
.poster-main .swiper-button-prev,
.poster-main .swiper-button-next {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    width: 44px;
    height: 44px;
}

.poster-main .swiper-button-prev:after,
.poster-main .swiper-button-next:after {
    font-size: 20px;
}

/* Пагинация точками */
.poster-main .swiper-pagination {
    bottom: 8px !important;
}

.poster-main .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .9);
    opacity: .6;
}

.poster-main .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Чёрная плашка с миниатюрами */
.thumbs-wrap {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

/* Сетка миниатюр */
.poster-thumbs .swiper-slide {
    width: 22%; /* 4–5 штук на ряд, управляется breakpoints в JS */
    max-width: 140px;
    aspect-ratio: 1/1; /* квадраты как в макете */
    border-radius: 10px;
    overflow: hidden;
    opacity: .7;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.poster-thumbs .swiper-wrapper {
    justify-content: center;
}

.poster-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Активная миниатюра — неоновая кайма, как просил фестиваль насыщенности */
.poster-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: translateY(-2px);
}

/* Ховеры — чуть живее */
.poster-thumbs .swiper-slide:hover {
    opacity: .95;
}

/* Мелкие экраны */
@media (max-width: 767px) {
    .poster-main .swiper-slide {
        aspect-ratio: 9/16;
    }

    .poster-thumbs .swiper-slide {
        width: 26%;
    }
}

#poster-main .swiper-slide a {
    display: block;
    height: 100%;
}

#poster-main .swiper-slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#poster-main .swiper-slide a {
    cursor: zoom-in;
}

.product-title {
    font-size: 1.8rem !important;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
    }
}

.product-features {
    margin-top: 20px;
}

.product-features__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #222;
}

.product-features__list {
    margin: 0;
    padding: 0;
}

.product-features__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f6;
}

.product-features__row:last-child {
    border-bottom: 0;
}

.product-features__name {
    margin: 0;
    color: #6b7486;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-features__val {
    margin: 0;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: end;
}

@media (max-width: 576px) {
    .product-features__row {
        grid-template-columns: 1fr;
    }
}

.kids-offers {
    max-width: 720px;
    margin: 14px 0 24px
}

.kids-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px
}

.filter-title {
    font-weight: 700;
    color: #29405f
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.kids-tab {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e5e8ef;
    background: #f6f8fb;
    color: #2b3a55;
    font-weight: 600;
    cursor: pointer
}

.kids-tab.is-active {
    background: #FFCA10;
    border-color: #FFCA10;
    color: #000
}

.kids-table {
    width: 100%
}

.kids-tr {
    display: grid;
    grid-template-columns:1.2fr .7fr .7fr .9fr;
    gap: 8px;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid #f0f2f6
}

.kids-tr--head {
    color: #7a8497;
    font-size: .95rem;
    border-bottom: 1px solid #e7ebf3
}

.c-size {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}



.c-qty {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e026ee;
    box-shadow: 0px 2px 2px 0px #EC8BFF8C inset;

    color: #fff;
    border: 0;
    cursor: pointer

}

.qty-btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

.qty-input {
    width: 38px;
    height: 30px;
    text-align: center;
    border: 1px solid #e3e7ee;
    border-radius: 6px;
    background: #fff;
    font-weight: 600
}

.btn-cart {
    margin: 16px auto 8px;
    display: block;
    padding: 1rem 5rem;
    border: 0;
    border-radius: 5rem;
    background: linear-gradient(96.96deg, #FD17A1 3.55%, #A11FCE 133.18%);
    transition: all;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 90, 139, .35)
}

.btn-cart:hover {
    filter: brightness(1.2)
}

/* /local/assets/kids-offers.css */
.fbx-basket {
    padding: 20px 18px;
    max-width: 360px
}

.fbx-basket__icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 6px
}

.fbx-basket__title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 6px
}

.fbx-basket__text {
    color: #4a5a74;
    margin-bottom: 14px
}

.fbx-basket__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.fbx-btn {
    appearance: none;
    border: 1px solid #e0e6ef;
    background: #fff;
    border-radius: 20px;
    padding: 8px 14px;
    cursor: pointer
}



.fbx-basket {
    padding: 22px 20px;
    max-width: 380px;
    text-align: center;
}

.fbx-basket__icon {
    font-size: 32px;
    margin-bottom: 6px;
}

.fbx-basket__title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 6px;
}

.fbx-basket__text {
    color: #4a5a74;
    margin-bottom: 10px;
}

.fbx-basket__list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    text-align: left;
}

.fbx-basket__list li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #eef1f5;
    font-size: 14px;
}

.fbx-basket__name {
    color: #2b3a55;
}

.fbx-basket__qty {
    font-weight: 600;
}

.fbx-basket__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.fbx-btn {
    appearance: none;
    border: 1px solid #e0e6ef;
    background: #fff;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fbx-btn:hover {
    background: #f5f8fb;
}

.fbx-btn--primary {
    background: linear-gradient(96.96deg, #FD17A1 3.55%, #A11FCE 133.18%);
    color: #fff;
    border-color: #A11FCE
}

.fbx-btn--primary:hover {
    background: #FD17A1;
    color: #fff;
}

.review {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.review .rew a {
    color: #FD17A1;
}

.detail_text {
    font-weight: 400;
    font-size: .9rem;
}

.warning_text {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1rem;
    margin: 2rem 0;
}