/* ===== СТРАНИЦА ТОВАРА ===== */
.product-page {
    min-height: 100vh;
    padding: 32px 20px 60px;
    background: linear-gradient(180deg, #fef9e7 0%, #ffffff 35%, #f5f5f7 100%);
}

.product-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== НАЗАД ===== */
.back-link-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.back-link-top:hover {
    color: #1d1d1f;
}

/* ===== ВЕРХ: ФОТО + ИНФО ===== */
.product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 20px 0 40px;
}

/* Фото */
.product-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 480px;
}

.gallery-bg-shape {
    position: absolute;
    width: 380px;
    height: 380px;
    background: #f5efe6;
    border-radius: 50%;
    z-index: 0;
}

.main-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.main-image:hover {
    transform: scale(1.04) translateY(-8px);
}

.no-image {
    width: 100%;
    height: 340px;
    background: #f5f5f7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 16px;
}

/* Инфо справа */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Бейджи */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.badge-green {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-yellow {
    background: #fff8e1;
    color: #f57f17;
}

/* Название */
.product-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    color: #1d1d1f;
    letter-spacing: -0.03em;
}

/* Подзаголовок */
.product-subtitle {
    font-size: 16px;
    color: #525252;
    line-height: 1.6;
    font-weight: 500;
}

/* Цена */
.price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 4px;
}

.price {
    font-size: 34px;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.old-price {
    font-size: 18px;
    color: #a1a1a6;
    text-decoration: line-through;
    font-weight: 500;
}

/* Преимущества */
.product-features {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0ebe3;
    font-size: 15px;
    color: #3a3a3c;
    line-height: 1.5;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: #6fb34a;
    border-radius: 50%;
    margin-top: 6px;
}

/* Кнопка */
.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #6fb34a;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 12px;
    width: fit-content;
    box-shadow: 0 8px 24px rgba(111, 179, 74, 0.35);
}

.btn-order:hover {
    background: #5a9a3a;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(111, 179, 74, 0.45);
}

/* ===== ОПИСАНИЕ СНИЗУ ===== */
.product-bottom {
    margin-top: 50px;
    background: white;
    border-radius: 32px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.product-bottom h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.product-bottom p {
    font-size: 16px;
    line-height: 1.8;
    color: #3a3a3c;
    white-space: pre-line;
}

/* ===== НЕ НАЙДЕНО ===== */
.not-found-block {
    text-align: center;
    padding: 120px 20px;
}

.not-found-block h1 {
    font-size: 56px;
    margin-bottom: 16px;
}

.not-found-block p {
    color: #6e6e73;
    font-size: 16px;
    margin-bottom: 24px;
}

.back-link {
    color: #0071e3;
    font-weight: 600;
    text-decoration: none;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .product-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 16px 0 32px;
    }

    .product-info {
        text-align: center;
        align-items: center;
    }

    .product-features {
        text-align: left;
        width: 100%;
        max-width: 400px;
    }

    .main-image {
        max-width: 340px;
    }

    .gallery-bg-shape {
        width: 300px;
        height: 300px;
    }

    .product-bottom {
        padding: 32px;
    }
}

@media (max-width: 600px) {
    .product-page {
        padding: 20px 16px 40px;
    }

    .product-title {
        font-size: 24px;
    }

    .price {
        font-size: 28px;
    }

    .btn-order {
        width: 100%;
        padding: 16px 24px;
    }

    .product-bottom {
        padding: 24px;
        border-radius: 24px;
    }

    .product-bottom h2 {
        font-size: 20px;
    }

    .main-image {
        max-width: 280px;
    }

    .gallery-bg-shape {
        width: 260px;
        height: 260px;
    }
}