.product-detail {
    padding: 50px 20px;
    background-color: #fdf6f0;
}

.product-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.product-image img {
    width: 100%;
    height: 430px; /*размер картинки */
    object-fit: cover;
    max-width: 400px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.product-info {
    max-width: 500px;
}

.product-info h1 {
    font-size: 32px;
    color: #dea69b;
    margin-bottom: 20px;
}

.product-info .price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ff8d76;
}

.product-info .description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-info .btn.add-to-cart {
    background-color: #dea69b;
    color: #fff;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-info .btn.add-to-cart:hover {
    background-color: #ff8d76;
}


.back-btn {
    background-color: #333;       /* тёмный фон */
    color: #fff;                  /* белый текст */
    padding: 10px 20px;           /* внутренние отступы */
    border-radius: 8px;           /* скругление углов */
    text-decoration: none;        /* убрать подчёркивание */
    font-weight: 600;             /* жирный текст */
    transition: background-color 0.3s ease; /* плавное изменение цвета */
    display: inline-block;        /* чтобы padding работал корректно */
}

.back-btn:hover {
    background-color: #555;       /* цвет при наведении */
}
/* ======================= */
/* КНОПКА "НАЗАД" */
/* ======================= */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #fff;
    border: 2px solid #dea69b;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 20px;
    text-decoration: none;
}

.back-btn:hover {
    background-color: #ffefeb;
    transform: translateY(-1px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .back-btn {
        width: auto;
        padding: 10px 18px;
        font-size: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .back-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        text-align: center;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .product-info {
        max-width: 100%;
        text-align: center;
    }
}