/* Base Styles */
.product-container {
    padding: 10px 5%;
}

.product-details {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Table Styling */
.product-details table {
    width: 100%;
    border-collapse: collapse;
}

.product-details table, .product-details th, .product-details td {
    border: 1px solid #9b9b9b;
}

.product-details th, .product-details td {
    padding: 10px;
    text-align: left;
}

.product-details th {
    background-color: #afafaf;
}

/* Stock Status */
.out-of-stock {
    color: red;
    font-weight: bold;
}

/* Image Styling */
.product-image {
    text-align: center;
    margin-bottom: 20px;
}

.product-image img {
    width: 250px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.product-image img:hover {
    width: 600px;
}

.product-image .pic:hover {
    width: 800px;
}

.product-image .pic {
    width: 333px;
}

/* Text Styling */
.product-details li {
    font-size: 15px;
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.product-details h3 {
    color: rgb(0, 0, 0);
    background-color: #ecbb32;
    padding: 8px;
    width: fit-content;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .product-container {
        padding: 10px 20px;
    }

    .product-details {
        padding: 15px;
    }

    .product-image img {
        width: 200px;
    }

    .product-image img:hover {
        width: 350px;
    }

    .product-image .pic {
        width: 250px;
    }

    .product-image .pic:hover {
        width: 400px;
    }

    .product-details li {
        font-size: 14px;
    }

    .product-details h3 {
        font-size: 16px;
        width: auto;
    }
}

@media screen and (max-width: 768px) {
    .product-container {
        padding: 10px;
    }

    .product-details {
        margin: 10px 0;
        padding: 10px;
    }

    .product-details table {
        width: 100%;
        font-size: 14px;
    }

    .product-details th, .product-details td {
        padding: 8px;
    }

    .product-image img {
        width: 180px;
    }

    .product-image img:hover {
        width: 300px;
    }

    .product-image .pic {
        width: 220px;
    }

    .product-image .pic:hover {
        width: 320px;
    }

    .product-details h3 {
        font-size: 14px;
        padding: 6px;
    }
}

@media screen and (max-width: 480px) {
    .product-container {
        padding: 5px;
    }

    .product-details {
        padding: 10px;
    }

    .product-details table {
        font-size: 12px;
    }

    .product-details th, .product-details td {
        padding: 5px;
    }

    .product-image img {
        width: 150px;
    }

    .product-image img:hover {
        width: 250px;
    }

    .product-image .pic {
        width: 180px;
    }

    .product-image .pic:hover {
        width: 280px;
    }

    .product-details h3 {
        font-size: 12px;
        padding: 5px;
    }
}
