/* ========== ОБЩИЙ КОНТЕЙНЕР 1200px ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== ХЕРО-БЛОК ========== */
.hero {
    width: 100%;
    background-color: transparent;
    background-image: url('../images/feedback__bg-5.png');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    width: 100%;
}

.hero__studio {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.2;
    color: var(--color-black);
}

.hero__slogan {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    color: var(--color-black);
    max-width: 800px;
}

.hero__logo-wrapper {
    position: relative;
    display: inline-block;
}

.hero__title {
    position: relative;
    z-index: 10;
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: clamp(40px, 8vw, 75px);
    line-height: 1.2;
    color: var(--color-black);
    max-width: 900px;
    word-break: break-word;
    margin: 0;
    -webkit-text-stroke: 1px #000000;
}

.hero__flower {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero__flower--left {
    right: -305px;
    width: 331px;
    height: 751px;
    background: url('../images/flower-front-1.png') no-repeat center/contain;
    background-size: contain;
    z-index: 1;
    top: 362px;
}

.hero__flower--center {
    right: -537px;
    width: 376px;
    height: 658px;
    background: url('../images/flower-front-2.png') no-repeat center/contain;
    background-size: contain;
    z-index: 2;
    top: 100px;
}

.hero__flower--right {
    right: -788px;
    width: 627px;
    height: 894px;
    background: url('../images/flower-front-3.png') no-repeat center/contain;
    background-size: contain;
    z-index: 1;
    top: 443px;
}


/* ========== Навигация ========== */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 20px 0 15px;
    font-family: var(--font-main);
    font-size: 14px;
}

.breadcrumbs__link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs__link:hover {
    color: var(--color-pink);
}

.breadcrumbs__separator {
    color: #ccc;
}

.breadcrumbs__current {
    color: var(--color-black);
    font-weight: 500;
}

/* ========== КНОПКА "НАЗАД" ========== */
.back-link {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--color-black);
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--color-pink);
}

/* ========== НОВАЯ СЕТКА: ФОТО + ИНФО ========== */
.product-card-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* ========== ГАЛЕРЕЯ ФОТО ========== */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Большое фото */
.product-gallery__main {
    background: #f9f9f9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* ФИКСИРОВАННАЯ ФОРМА - КВАДРАТ 1:1 */
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    display: block;
}

/* Миниатюры снизу - горизонтально */
.product-gallery__thumbs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
}

.product-gallery__thumbs .thumb {
    width: 80px;
    height: 80px;
    background: #f9f9f9;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
    display: block;
}

.product-gallery__thumbs .thumb:hover {
    border-color: #899647;
    transform: translateY(-2px);
}

.product-gallery__thumbs .thumb.active {
    border-color: #B54B5F;
}

/* ========== ПРАВАЯ КОЛОНКА (ЗАГОЛОВОК, ЦЕНА, КНОПКА, СОСТАВ) ========== */
.product-card-page__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card-page__title {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    color: var(--color-black);
    margin: 0;
}

.product-card-page__info {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 0;
}

.product-card-page__price {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 40px;
    color: var(--color-pink);
}

.product-card-page__btn {
    background: #899647;
    border-radius: 30px;
    padding: 14px 40px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 18px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card-page__btn:hover {
    background: #6f7a3a;
    transform: scale(1.02);
}

/* ========== СОСТАВ БУКЕТА ========== */
.composition {
    margin-top: 80px;
}

.composition__title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #899647;
}

.composition__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.composition__item {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 24px;
    line-height: 1.8;
    color: var(--color-black);
    margin-bottom: 8px;
}

/* ========== РАЗМЕРЫ БУКЕТА (если нужны) ========== */
.sizes {
    margin-top: 40px;
}

.sizes__title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #899647;
}

.sizes__text {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 24px;
    line-height: 1.8;
    color: var(--color-black);
}

/* ========== ОПИСАНИЕ ========== */
.description {
    margin-top: 40px;
    padding-top: 20px;
}

.description__title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #899647;
}

.description__text {
    font-weight: 300;
    font-size: 24px;
    line-height: 1.8;
    color: var(--color-black);
}

/* ========== КАРУСЕЛЬ ДЛЯ ИДЕАЛЬНОГО ДОПОЛНЕНИЯ ========== */
.additional {
    margin-top: 80px;
    margin-bottom: 60px;
}

.additional__title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #899647;
}

/* Карусель */
.carousel-additional {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-additional__wrapper {
    overflow: hidden;
}

.carousel-additional__slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-additional__slide {
    flex: 0 0 calc(100% / 4);
    padding: 0 15px;
    box-sizing: border-box;
}

/* Скрываем радио-кнопки */
.carousel-additional__radio {
    display: none;
}

/* Переключение слайдов */
#add-slide1:checked ~ .carousel-additional__wrapper .carousel-additional__slides {
    transform: translateX(0);
}

#add-slide2:checked ~ .carousel-additional__wrapper .carousel-additional__slides {
    transform: translateX(-25%);
}

#add-slide3:checked ~ .carousel-additional__wrapper .carousel-additional__slides {
    transform: translateX(-50%);
}

#add-slide4:checked ~ .carousel-additional__wrapper .carousel-additional__slides {
    transform: translateX(-75%);
}

/* Точки */
.carousel-additional__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 0;
}

.carousel-additional__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Активная точка */
#add-slide1:checked ~ .carousel-additional__dots label[for="add-slide1"],
#add-slide2:checked ~ .carousel-additional__dots label[for="add-slide2"],
#add-slide3:checked ~ .carousel-additional__dots label[for="add-slide3"],
#add-slide4:checked ~ .carousel-additional__dots label[for="add-slide4"] {
    background: var(--color-pink);
    transform: scale(1.2);
}

/* Карточки дополнений */
.additional-carousel-slide {
    flex: 0 0 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.additional-card {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.additional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.additional-card__image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.additional-card__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-black);
    margin: 12px 0 8px;
    text-align: center;
}

.additional-card__price {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 18px;
    color: var(--color-pink);
    margin-bottom: 12px;
    text-align: center;
}

.additional-card__btn {
    background: #899647;
    border-radius: 30px;
    padding: 8px 20px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: auto;
    transition: background 0.3s ease;
}

.additional-card__btn:hover {
    background: #6f7a3a;
}

/* ========== КАРУСЕЛЬ ДЛЯ ИДЕАЛЬНОГО ДОПОЛНЕНИЯ ========== */
.additional-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.additional-carousel-container {
    position: relative;
    overflow: hidden;
}

.additional-carousel-track {
    overflow: hidden;
}

.additional-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.additional-carousel-slide {
    flex: 0 0 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Стрелки навигации */
.additional-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 0;
}

.additional-nav-prev,
.additional-nav-next {
    background: #B54B5F;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.additional-nav-prev:hover,
.additional-nav-next:hover {
    background: #8a3a4a;
}

/* ====================================================== */
/* ================= АДАПТИВ ДО 375px =================== */
/* ====================================================== */

/* ---------- Адаптив hero (текст всегда СЛЕВА) ---------- */
@media (max-width: 900px) {
    .hero {
        background-image: none;
        background-color: var(--color-pink-bg);
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;    /* ← текст слева */
        text-align: left;           /* ← текст слева */
        padding: 40px 20px;
    }
    
    .hero__title,
    .hero__slogan {
        max-width: 100%;
    }
    
    .hero__btn {
        font-size: 16px;
        padding: 10px 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        background: var(--color-pink-bg);
        background-image: none;
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero .container {
        align-items: flex-start;    /* ← текст слева */
        text-align: left;           /* ← текст слева */
        margin-top: 50px;
        gap: 15px;
    }
    
    .hero__studio,
    .hero__title,
    .hero__slogan,
    .hero__btn {
        text-align: left;           /* ← текст слева */
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero__title {
        font-size: 50px;
        max-width: 100%;
    }
    
    .hero__slogan {
        max-width: 100%;
        font-size: 15px;
    }
    
    .hero__studio {
        font-size: 15px;
    }
    
    .hero__btn {
        font-size: 16px;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero__title {
        font-size: 34px;
    }
}

/* ========== АДАПТИВ ЦВЕТКОВ В ХЕРО-БЛОКЕ (всегда справа) ========== */

/* 1100px */
@media (max-width: 1100px) {
    .hero__flower--left {
        right: -180px;
        width: 280px;
        height: 630px;
        top: 320px;
    }
    
    .hero__flower--center {
        right: -350px;
        width: 320px;
        height: 560px;
        top: 80px;
    }
    
    .hero__flower--right {
        right: -597px;
        width: 530px;
        height: 760px;
        top: 390px;
    }
}

/* 900px */
@media (max-width: 900px) {
    .hero {
        padding: 80px 0 85px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 18px;
    }
    
    .hero__studio {
        font-size: 18px;
    }
    
    .hero__title {
        font-size: 52px;
    }
    
    .hero__slogan {
        font-size: 16px;
        max-width: 100%;
    }
    
    .hero__btn {
        font-size: 16px;
        padding: 9px 48px;
        min-width: 0px;
    }
    
    /* Цветы для 900px */
    .hero__flower--left {
        right: -169px;
        width: 250px;
        height: 560px;
        top: 320px;
    }
    
    .hero__flower--center {
        right: -328px;
        width: 270px;
        height: 470px;
        top: 150px;
    }
    
    .hero__flower--right {
        right: -518px;
        width: 390px;
        height: 560px;
        top: 340px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 18px;
    }
    
    .hero__studio {
        font-size: 17px;
    }
    
    .hero__title {
        font-size: 44px;
    }
    
    .hero__slogan {
        font-size: 15px;
        max-width: 100%;
    }
    
    .hero__btn {
        font-size: 15px;
        padding: 8px 45px;
        min-width: 0px;
        margin-top: 20px;
    }
    
    /* Цветы для 768px */
    .hero__flower--left {
        right: -140px;
        width: 230px;
        height: 510px;
        top: 290px;
    }
    
    .hero__flower--center {
        right: -270px;
        width: 245px;
        height: 430px;
        top: 140px;
    }
    
    .hero__flower--right {
        right: -430px;
        width: 355px;
        height: 510px;
        top: 310px;
    }
}

/* 600px */
@media (max-width: 600px) {
    .hero {
        padding: 45px 0 60px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 16px;
    }
    
    .hero__studio {
        font-size: 16px;
    }
    
    .hero__title {
        font-size: 40px;
    }
    
    .hero__slogan {
        font-size: 14px;
        max-width: 100%;
    }
    
    .hero__btn {
        font-size: 14px;
        padding: 7px 42px;
        min-width: 0px;
        margin-top: 10px;
    }
    
    /* Цветы для 600px */
    .hero__flower--left {
        right: -100px;
        width: 200px;
        height: 450px;
        top: 268px;
    }
    
    .hero__flower--center {
        right: -200px;
        width: 210px;
        height: 380px;
        top: 125px;
    }
    
    .hero__flower--right {
        right: -330px;
        width: 300px;
        height: 450px;
        top: 280px;
    }
}

/* 520px */
@media (max-width: 520px) {
    .hero__flower--left {
        right: -76px;
        width: 180px;
        height: 400px;
        top: 253px;
    }
    
    .hero__flower--center {
        right: -167px;
        width: 190px;
        height: 340px;
        top: 115px;
    }
    
    .hero__flower--right {
        right: -276px;
        width: 270px;
        height: 400px;
        top: 260px;
    }
}

/* 480px */
@media (max-width: 480px) {
    .hero {
        padding: 30px 0 40px;
        min-height: auto;
    }
    
    .hero .container {
        gap: 15px;
    }
    
    .hero__studio {
        font-size: 16px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__slogan {
        font-size: 14px;
        max-width: 100%;
    }
    
    .hero__btn {
        font-size: 14px;
        padding: 6px 40px;
        min-width: 0px;
    }
    
    /* Цветы всегда справа, только уменьшаем */
    .hero__flower--left {
        right: -65px;
        width: 163px;
        height: 371px;
        top: 235px;
    }
    
    .hero__flower--center {
        right: -163px;
        width: 165px;
        height: 290px;
        top: 128px;
    }
    
    .hero__flower--right {
        right: -260px;
        width: 243px;
        height: 346px;
        top: 248px;
    }
}

/* 420px */
@media (max-width: 420px) {
    .hero__btn {
        font-size: 14px;
        padding: 6px 32px;
        min-width: 0px;
    }

    .hero__flower--left {
        right: -22px;
        width: 136px;
        height: 309px;
        top: 221px;
    }
    
    .hero__flower--center {
        right: -86px;
        width: 123px;
        height: 216px;
        top: 128px;
    }
    
    .hero__flower--right {
        right: -187px;
        width: 198px;
        height: 282px;
        top: 225px;
    }
}

@media (max-width: 1024px) {
    .product-gallery__main {
        max-width: 450px;
    }
}

@media (max-width: 900px) {
    .product-card-page__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery__main {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .product-gallery__thumbs {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .product-card-page__title {
        font-size: 28px;
    }
    
    .product-card-page__price {
        font-size: 32px;
    }
    
    .product-card-page__btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .composition__title,
    .sizes__title,
    .additional__title {
        font-size: 28px;
    }
    
    .composition__item,
    .sizes__text {
        font-size: 20px;
    }
    
    .additional-carousel-slide {
        flex: 0 0 50%;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .product-card-page__grid {
        gap: 30px;
    }
    
    .product-gallery__main {
        max-width: 400px;
    }
    
    .thumb {
        width: 80px;
        height: 80px;
    }
    
    .product-card-page__info {
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-card-page__title {
        font-size: 24px;
    }
    
    .product-card-page__price {
        font-size: 28px;
    }
    
    .product-card-page__btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .composition__title,
    .sizes__title,
    .additional__title {
        font-size: 24px;
    }
    
    .composition__item,
    .sizes__text {
        font-size: 18px;
    }
    
    .additional-carousel-slide {
        flex: 0 0 50%;
        padding: 0 10px;
    }
}

@media (max-width: 550px) {
    .product-card-page__grid {
        gap: 20px;
    }
    
    .product-gallery__main {
        max-width: 100%;
    }
    
    .product-gallery__thumbs {
        gap: 10px;
    }
    
    .thumb {
        width: 70px;
        height: 70px;
    }
    
    .product-card-page__title {
        font-size: 22px;
    }
    
    .product-card-page__price {
        font-size: 24px;
    }
    
    .product-card-page__btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .product-card-page__info {
        gap: 15px;
    }
    
    .composition__title,
    .sizes__title,
    .additional__title {
        font-size: 22px;
    }
    
    .composition__item,
    .sizes__text {
        font-size: 16px;
    }
    
    .additional-carousel-slide {
        flex: 0 0 100%;
        padding: 0 8px;
    }
    
    .additional-card {
        padding: 15px;
    }
    
    .additional-card__image {
        width: 100%;
        height: 140px;
    }
}

@media (max-width: 420px) {
    .thumb {
        width: 60px;
        height: 60px;
    }
    
    .product-card-page__title {
        font-size: 20px;
    }
    
    .product-card-page__price {
        font-size: 22px;
    }
    
    .product-card-page__btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .composition__title,
    .sizes__title,
    .additional__title {
        font-size: 20px;
    }
    
    .composition__item,
    .sizes__text {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .product-gallery__main {
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .product-gallery__thumbs .thumb {
        width: 50px;
        height: 50px;
    }
    
    .product-card-page__title {
        font-size: 18px;
    }
    
    .product-card-page__price {
        font-size: 20px;
    }
    
    .product-card-page__btn {
        padding: 8px 14px;
        font-size: 12px;
        width: 100%;
        max-width: 200px;
    }
    
    .back-link {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .composition__title,
    .sizes__title,
    .additional__title {
        font-size: 18px;
    }
    
    .composition__item,
    .sizes__text {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .additional-card__image {
        height: 120px;
    }
    
    .additional-card__title {
        font-size: 13px;
    }
    
    .additional-card__price {
        font-size: 15px;
    }
    
    .additional-card__btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .additional-nav-prev,
    .additional-nav-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}