/* Volledige override voor Productpagina's - Valley Rentals */

/* 1. Header & Titels */
.product-header-text {
    margin-bottom: 30px;
}
.product-header-text h2 { font-size: 2.5em; margin-bottom: 10px; color: #333; }
.product-header-text .subtitle { font-size: 1.2em; color: #555; margin-bottom: 20px; }

/* 2. De Afbeeldingen (De Fix voor de overlap) */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    height: auto !important; /* Dwingt container om mee te groeien */
}

/* We dwingen de placeholder div om GEEN vaste hoogte te hebben */
.image-gallery .img-placeholder {
    height: auto !important; 
    min-height: 0 !important;
    background: transparent !important;
    border: none !important;
    display: block !important;
}

.image-gallery img {
    width: 100% !important;
    /* Verlaag de hoogte hier naar wens (bijv. 250px) */
    height: 400px !important; 
    display: block !important;
    border-radius: 8px;
    border: 1px solid #ddd;
    /* 'cover' zorgt ervoor dat de foto wordt afgesneden en niet vervormt */
    object-fit: cover !important; 
}

/* 3. Kolom Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    clear: both; /* Extra veiligheid: start pas na de foto's */
}

/* 4. Kenmerken Lijst */
.features-list {
    list-style: none;
    padding-left: 0;
}
.features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}
.features-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff8901; 
    font-weight: bold;
}
.features-list strong {
    display: block;
    color: #333;
}

/* 5. Downloads & Tabellen */
.download-link {
    display: inline-block;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}
.download-link:hover {
    background-color: #ff8901;
    color: #fff;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.spec-table th, .spec-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
.spec-table th {
    background-color: #f9f9f9;
    width: 35%;
    color: #ff8901;
}

/* 6. Call to Action */
.cta-box {
    background-color: #ff8901;
    color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}
.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #ff8901;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.cta-button:hover {
    background-color: #333;
    color: #fff;
}

/* 7. Mobiel */
@media (max-width: 850px) {
    .two-columns { grid-template-columns: 1fr; }
    .product-header-text h2 { font-size: 2em; }
}