/* ===== PRODUCT DETAIL ===== */
.product-detail {
    width: calc(100% - 24px);
    max-width: 1200px;
    margin: 30px auto 50px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* ===== PRODUCT IMAGE ===== */
.product-image {
    flex: 1;
    max-width: 50%;
}

.product-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

/* ===== PRODUCT INFO ===== */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-info h1 {
    font-size: 36px;
    color: #845b7b;
    margin-bottom: 5px;
}

.product-info .price {
    font-size: 32px;
    font-weight: bold;
    color: #b86ca3;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 10px 0;
}

.product-description p {
    margin-bottom: 15px;
}

/* ===== PRODUCT ACTIONS ===== */
.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: .3s;
    text-align: center;
}

.btn.cart {
    background: #dcb6d6;
    color: white;
}

.btn.cart:hover,
.btn.cart:active {
    background: #c79ac0;
}

.btn.back {
    background: #f6d6c9;
    color: #6b4b45;
}

.btn.back:hover,
.btn.back:active {
    background: #eec1af;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .product-detail {
        flex-direction: column;
        padding: 30px;
    }

    .product-image {
        max-width: 100%;
    }

    .product-image img {
        height: 350px;
    }

    .product-info h1 {
        font-size: 30px;
    }

    .product-info .price {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        width: calc(100% - 24px);
        padding: 20px;
        margin: 20px auto 40px;
        border-radius: 16px;
        gap: 25px;
    }

    .product-image {
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .product-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 400px;
        object-fit: contain;
        border-radius: 16px;
    }

    .product-info h1 {
        font-size: 26px;
        text-align: center;
    }

    .product-info .price {
        font-size: 24px;
        text-align: center;
    }

    .product-description {
        font-size: 15px;
        text-align: center;
    }

    .product-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .product-image img {
        max-height: 300px;
    }

    .product-info h1 {
        font-size: 22px;
    }

    .product-info .price {
        font-size: 20px;
    }

    .product-description {
        font-size: 14px;
    }
}