/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Main container */
.product-detail {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Title */
.product-detail h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

/* Product Image */
.product-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05);
}

/* Description */
.product-description {
    text-align: left;
    margin-bottom: 25px;
}

.product-description p {
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Specs list */
.product-specs {
    list-style: none;
    padding: 0;
}

.product-specs li {
    background: #fafafa;
    padding: 10px;
    margin-bottom: 8px;
    border-left: 4px solid #8b5e3c; /* earthy tone */
    border-radius: 5px;
}

/* Button section */
.product-actions {
    margin-top: 20px;
}

/* Back button */
.product-actions button {
    padding: 10px 20px;
    border: none;
    background-color: #8b5e3c;
    color: white;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-actions button:hover {
    background-color: #6e472c;
}

/* Responsive Design */
@media (max-width: 600px) {
    .product-detail {
        margin: 20px;
        padding: 20px;
    }

    .product-detail h1 {
        font-size: 1.5rem;
    }
}