/* Trending Product Details Page Styling */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #ff758c, #344d69);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
}

.product-image img {
    width: 100%;
    max-width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    margin-left: 20px;
    max-width: 500px;
}

h1 {
    font-size: 24px;
    color: #333;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #ff3b6f;
    margin: 10px 0;
}

.mrp {
    font-size: 16px;
    text-decoration: line-through;
    color: #777;
}

.discount {
    font-size: 18px;
    color: #28a745;
    font-weight: bold;
}

.category, .brand, .description, .stock {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #d13b54; /* Darker shade of background */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: #a02a41; /* Darkest shade */
}

/* Navigation Buttons */
.nav-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 600px;
}

.nav-buttons a {
    padding: 12px 20px;
    text-decoration: none;
    color: white;
    background: #007bff;
    border-radius: 8px;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}

.nav-buttons a:hover {
    background: #0056b3;
}
