/* Modern Product Page Styles */
.modern-product-section {
    padding: 60px 0;
    background: #f8f9fa;
}
.modern-product-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 40px;
    gap: 40px;
}
.modern-product-images {
    flex: 1 1 48%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-image-container {
    width: 100%;
    height: 500px; /* Fixed height to prevent size jumping */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #fff;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-image-container img {
    width: 100%;
    height: 100%; /* Fill container height */
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.main-image-container:hover img {
    transform: scale(1.3);
    cursor: zoom-in;
}
.thumbnail-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 10px;
}
.thumbnail-container img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}
.thumbnail-container img.active, .thumbnail-container img:hover {
    border-color: #e60000;
}
.zoom-hint {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-top: 10px;
}
.modern-product-details {
    flex: 1 1 48%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}
.modern-product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    margin-top: 0;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.product-rating i {
    color: #e60000;
}
.product-rating span {
    color: #111;
    font-weight: 500;
}
.product-brief {
    background: #fff5f5;
    border-radius: 12px;
    padding: 20px;
    color: #222;
    line-height: 1.6;
    margin-bottom: 30px;
    border-left: 4px solid #e60000;
}
.modern-product-specs {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}
.modern-product-specs h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-top: 0;
}
.modern-product-specs h3 i {
    color: #e60000;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-size: 0.95rem;
}
.specs-table tr:last-child td {
    border-bottom: none;
}
.specs-table td:first-child {
    font-weight: 500;
    color: #333;
    width: 35%;
}
.btn-get-quote {
    background: #e60000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.btn-get-quote:hover {
    background: #cc0000;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
@media (max-width: 768px) {
    .modern-product-card {
        padding: 20px;
        flex-direction: column;
    }
    .modern-product-images, .modern-product-details {
        flex: 1 1 100%;
    }
    .main-image-container {
        height: 350px; /* Adjusted height for mobile */
    }
}
/* Adjust layout for old content */
.rest-of-content {
    padding-top: 40px;
    padding-bottom: 60px;
}
.rest-of-content .product-detail-layout {
    display: block; 
}
.rest-of-content .product-detail-main {
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
    align-items: start;
}
.rest-of-content .product-intro-card {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}
.rest-of-content .product-faq-section {
    grid-column: 1 / -1;
    margin-top: 20px;
}
.rest-of-content .product-content-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    height: 100%;
}
.rest-of-content .product-content-section h2 {
    font-size: 1.4rem;
    color: #e60000;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .rest-of-content .product-detail-main {
        grid-template-columns: 1fr;
    }
    .rest-of-content .product-intro-card, 
    .rest-of-content .product-faq-section {
        grid-column: 1 / -1;
    }
}
