/* CSS for Product Details Page */

/* Product Main Container */
.product-main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.product-header {
    background-color: #0078D4;
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-header h1 {
    margin: 0;
    font-size: 1.8em;
    text-align: center;
}

.product-highlight {
    background-color: #E6F3FF;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Product Content Container */
.product-content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Product Section */
.product-section {
    flex-basis: calc(50% - 10px);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.product-section h2, .product-section h3, .product-section h4, .product-section h5 {
    color: #0078D4;
    font-size: 1.5em;
    border-bottom: 2px solid #0078D4;
    padding-bottom: 10px;
}

.product-footer {
    background-color: #0078D4;
    color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    margin-top: 20px;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #0078D4;
    color: white;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .product-content-container {
        flex-direction: column;
    }
    .product-section {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
    .table-container {
        overflow-x: scroll;
    }
}

/* Additional styles for better mobile experience */
@media (max-width: 480px) {
    .product-main-container {
        padding: 10px;
    }
    .product-header h1 {
        font-size: 1.5em;
    }
    .product-section {
        padding: 15px;
    }
}