/* Algemene body styling */
body {
    font-family: 'Dosis', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Boven de gallery: Productnaam */
.product-header {
    text-align: center;
    margin: 20px 0;
}

.product-header h1 {
    font-size: 25px !important; /* Gebruik !important om het te forceren */
    color: #1E3A8A; /* Gobalt blauw kleur */
}

/* Onder de gallery: Productinformatie */
.product-info {
    text-align: center;
    margin: 40px 0;
}

.product-details {
    font-size: 15px !important; /* Forceer de grootte */
    color: #1E3A8A;
    line-height: 1.5;
    max-width: 80%;
    margin: 0 auto;
}

.product-price {
    font-size: 40px !important; /* Forceer de grootte */
    color: #FF6A00; /* Oranje kleur */
    font-weight: bold;
    margin-top: 40px;
}

/* Styling voor de galerij (ongewijzigd) */
.gallery {
    margin: 0 auto;
    max-width: 1000px;
    padding: 20px;
}

/* Grote foto */
.large-photo {
    display: flex; /* Flexbox toepassen */
    justify-content: center; /* Horizontaal centreren */
    align-items: center; /* Verticaal centreren (voor consistentie) */
    margin: 0 auto; /* Center de container zelf */
    max-width: 700px; /* Maximale breedte instellen */
    width: 100%; /* Laat het volledig schaalbaar zijn */
    height: auto; /* Automatische hoogte */
    background-color: transparent; /* Geen achtergrondkleur */
    position: relative; /* Voor toekomstige styling als nodig */
}

.large-photo img {
    max-width: 100%; /* Zorg dat de afbeelding de container niet overschrijdt */
    max-height: 100%; /* Respecteer de hoogte van de container */
    object-fit: contain; /* Houd de originele beeldverhouding */
    transition: opacity 0.3s ease-in-out; /* Voeg een zachte overgang toe voor hover-effect */
}


/* Miniaturen styling */
.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
    justify-items: center;
}

.thumbnails img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    object-fit: cover;
}

.thumbnails img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Zorg ervoor dat alles mobiel responsief blijft */
@media (max-width: 768px) {
    .product-header h1, .product-details, .product-price {
        font-size: 16px;
    }

    .product-info {
        padding: 10px;
    }

    .thumbnails img {
        width: 90%;
    }
}
