/* Algemene pagina */

body {

    font-family: Arial, sans-serif;

    max-width: 1100px;

    margin: auto;

    padding: 20px;

    color: #333;

}


/* Logo */

.logoTitel {

    font-family: "Agency FB", Arial, sans-serif;

    font-size: 36px;

    font-weight: normal;

}


.logoTekst {

    font-family: "Agency FB", Arial, sans-serif;

    font-size: 20px;

}



/* Titels */

h1 {

    text-align: center;

    margin-top: 20px;

}



/* Zoekveld */

#zoek {

    width: 100%;

    box-sizing: border-box;

    padding: 12px;

    font-size: 16px;

    border: 1px solid #ccc;

    border-radius: 6px;

    margin-bottom: 20px;

}



/* Categorie blok */

details {

    margin-bottom: 20px;

    border: 1px solid #ddd;

    border-radius: 8px;

    background: #fafafa;

    overflow: hidden;

}


summary {

    cursor: pointer;

    padding: 14px;

    font-size: 20px;

    font-weight: bold;

    background: #f0f0f0;

    user-select: none;

}


summary:hover {

    background: #e5e5e5;

}


details[open] summary {

    border-bottom: 1px solid #ddd;

}



/* Productkaart */

.product {

    display: flex;

    align-items: center;

    gap: 20px;

    margin: 10px;

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: white;

}



/* Foto */

.thumb {

    width: 100px;

    height: 100px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}


.thumb img {

    max-width: 95px;

    max-height: 95px;
	
	object-fit:contain;

}


.geenfoto {

    font-size: 12px;

    color: #999;

    text-align: center;

}



/* Product info */

.info {

    flex: 1;

}


.info h3 {

    margin: 0 0 8px 0;

    font-size: 18px;

}



/* Prijs */

.prijs {

    font-size: 20px;

    font-weight: bold;

    margin-top: 8px;

}



/* Voorraad */

.stock {

    margin-top: 5px;

    color: #666;

}



/* Knoppen */

.knoppen a {

    display: inline-block;

    padding: 8px 12px;

    background: #eee;

    border-radius: 5px;

    color: #333;

    text-decoration: none;

    font-size: 14px;

}


.knoppen a:hover {

    background: #ddd;

}



/* Links */

a {

    text-decoration: none;

}

/* Mobiel */
@media(max-width:700px){

    body {
        padding:10px;
    }

    table {
        width:100%;
    }

    .product {
        flex-direction:column;
        align-items:flex-start;
    }

    .knoppen {
        width:100%;
    }

    .knoppen a {
        width:100%;
        text-align:center;
        box-sizing:border-box;
    }

}


/* Detailpagina */

.detail {

    display:flex;

    gap:40px;

    margin-top:30px;

}


.detailFoto {

	width:350px;

    max-width:350px;

    height:350px;

    display:flex;

    align-items:center;

    justify-content:center;

}


.detailFoto img {

    max-width:330px;

    max-height:330px;

}


.detailInfo {

    flex:1;

}


.groteKnop {

    display:inline-block;

    padding:12px 20px;

    background:#eee;

    border-radius:6px;

    color:#333;

}


.groteKnop:hover {

    background:#ddd;

}



/* Detailpagina mobiel */

@media(max-width:700px){

    .detail {

        flex-direction:column;

    }


    .detailFoto {

        width:100%;

    }

}


/* Formulieren */

input,
textarea {

    width:100%;

    max-width:500px;

    padding:10px;
	
	box-sizing:border-box;

    border:1px solid #ccc;

    border-radius:5px;
	
}


button {

    padding:12px 20px;

    border:0;

    border-radius:5px;

    cursor:pointer;

    font-size:16px;
	
	 background:#eee;

}

button:hover {

    background:#ddd;

}