body {
    font-family: "Trebuchet MS", Arial, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f3eee5;
    color: #2f2f2f;
}


/* Header */

header {
    text-align: center;
    margin-bottom: 55px;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    color: #24364b;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

header > p {
    font-size: 23px;
    color: #6b6257;
    margin-top: 18px;
    margin-bottom: 0;
}


/* Navigatie */

nav {
    margin-top: 28px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    display: inline-block;
    padding: 12px 21px;
    color: #24364b;
    background-color: #fffdf9;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    border-radius: 8px;
    border: 1px solid #ddd4c7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    transition: 0.2s ease;
}

nav a:hover {
    background-color: #24364b;
    color: white;
    border-color: #24364b;
    transform: translateY(-2px);
}

nav a.active {
    background-color: #24364b;
    color: white;
    border-color: #24364b;
}


/* Hoofdinhoud */

main {
    margin-top: 30px;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    color: #24364b;
    margin-top: 40px;
    margin-bottom: 30px;
}

h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    color: #24364b;
    margin-top: 16px;
    margin-bottom: 12px;
}

p {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}


/* Producten */

#producten {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}


/* Productkaart */

article {
    background-color: #fffdf9;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #e1d8cb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;

    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 720px;
    box-sizing: border-box;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* Afbeelding */

.product-afbeelding {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.product-afbeelding img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    border-radius: 8px;
}


/* Producttitel */

.product-titel {
    min-height: 60px;
    margin-top: 0;
    margin-bottom: 14px;
}

.product-titel a {
    color: #24364b;
    text-decoration: none;
}

.product-titel a:hover {
    color: #8a5a2b;
    text-decoration: underline;
}


/* Productbeschrijving */

.product-beschrijving {
    min-height: 58px;
    margin-top: 0;
    margin-bottom: 16px;
}


/* Prijs */

.product-prijs {
    min-height: 29px;
    margin-top: 0;
    margin-bottom: 14px;
}


/* Voorraad */

.product-voorraad {
    min-height: 27px;
    margin-top: 0;
    margin-bottom: 0;
    color: #6b6257;
    font-size: 16px;
}


/* Productknop */

.product-knop {
    margin-top: auto;
    align-self: flex-start;
}


/* Algemene knoppen */

button {
    padding: 12px 22px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    background-color: #8a5a2b;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover {
    background-color: #6e451f;
    transform: translateY(-1px);
}


/* Winkelmandje */

#winkelmandje {
    background-color: #fffdf9;
    padding: 28px;
    margin-bottom: 40px;
    border-radius: 12px;
    border: 1px solid #e1d8cb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

#winkelmandje h2 {
    margin-top: 0;
}

#winkelmand-inhoud {
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Plus- en minknoppen */

.plus-knop,
.min-knop {
    padding: 7px 12px;
    margin: 0 5px;
}


/* Aparte winkelmandpagina */

#winkelmand-pagina {
    background-color: #fffdf9;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e1d8cb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

#winkelmand-pagina > p {
    margin-top: 20px;
}

#winkelmand-inhoud > div {
    padding: 22px 0;
    border-bottom: 1px solid #ddd4c7;
}

#winkelmand-inhoud > div p {
    margin: 8px 0;
}

.winkelmand-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.winkelmand-aantal {
    display: flex;
    align-items: center;
    gap: 8px;
}

#winkelmand-pagina .min-knop,
#winkelmand-pagina .plus-knop {
    width: auto;
    padding: 7px 12px;
    margin: 0;
}

#winkelmand-acties {
    margin-top: 30px;
}


/* Leeg winkelmandje */

.lege-winkelmand {
    padding: 5px 0 22px 0;
}

.lege-winkelmand h3 {
    margin-top: 0;
}


/* Productpagina */

#product-detail {
    background-color: #fffdf9;
    padding: 42px;
    border-radius: 12px;
    border: 1px solid #e1d8cb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
}

#product-detail img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 30px auto;
    border-radius: 10px;
}

#product-detail h2 {
    color: #24364b;
    margin-top: 10px;
    margin-bottom: 20px;
}

#product-detail p {
    max-width: 700px;
    margin: 12px auto;
}

#product-detail button {
    margin-top: 22px;
    padding: 14px 26px;
    font-size: 18px;
}

#product-detail a {
    color: #24364b;
    font-weight: bold;
    text-decoration: none;
}

#product-detail a:hover {
    color: #8a5a2b;
    text-decoration: underline;
}

#melding {
    margin-top: 20px;
    font-weight: bold;
}


/* Afrekenen */

#bestelling {
    background-color: #fffdf9;
    padding: 28px;
    margin-bottom: 30px;
    border-radius: 12px;
    border: 1px solid #e1d8cb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

#gegevens {
    background-color: #fffdf9;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e1d8cb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}


/* Producten binnen Uw bestelling */

#checkout-inhoud {
    margin-bottom: 28px;
}

.checkout-product {
    padding: 18px 0;
    border-bottom: 1px solid #e1d8cb;
}

.checkout-product-naam {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-style: normal;
    font-weight: bold;
    color: #24364b;
    margin-bottom: 16px;
}

.checkout-product-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: normal;
    color: #6b6257;
}

.checkout-product-details span {
    font-style: normal;
    font-weight: normal;
}

.checkout-product-prijs {
    color: #2f2f2f;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
}


/* Bestellingsoverzicht */

#checkout-overzicht {
    margin-top: 24px;
}

#checkout-overzicht p {
    margin: 2px 0;
    font-weight: normal;
}

#checkout-overzicht p strong {
    font-weight: bold;
}

#checkout-overzicht p span {
    font-weight: normal;
}

#checkout-overzicht p:last-child {
    margin-top: 20px;
    font-size: 20px;
    font-weight: normal;
}

#checkout-overzicht p:last-child strong {
    font-weight: bold;
}

#checkout-overzicht p:last-child span {
    font-weight: normal;
}


/* Formulier */

form {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

label {
    display: block;
    margin-top: 18px;
    margin-bottom: 7px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #24364b;
}

input {
    padding: 12px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 16px;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    border: 1px solid #cfc5b8;
    border-radius: 7px;
    background-color: white;
}

input:focus {
    outline: none;
    border-color: #8a5a2b;
    box-shadow: 0 0 0 3px rgba(138, 90, 43, 0.12);
}

form button {
    margin-top: 26px;
}


/* Bestelbevestiging */

#bevestiging {
    margin-top: 35px;
    padding: 32px;
    background-color: #fffdf9;
    border: 1px solid #e1d8cb;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

#bevestiging:empty {
    display: none;
}

#bevestiging h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

#bevestiging p {
    margin: 0 0 18px 0;
    line-height: 1.7;
}

#bevestiging p:last-child {
    margin-bottom: 0;
}

#bevestiging strong {
    color: #24364b;
}


/* Contactpagina */

#contactpagina {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fffdf9;
    border: 1px solid #e1d8cb;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

#contactpagina h2 {
    margin-top: 0;
    margin-bottom: 22px;
}

#contactpagina > p {
    max-width: 650px;
    margin-bottom: 32px;
}

.contactgegevens {
    padding: 26px;
    background-color: #f7f2e9;
    border-left: 4px solid #8a5a2b;
    border-radius: 8px;
}

.contactgegevens h3 {
    margin-top: 0;
    margin-bottom: 18px;
}

.contactgegevens p {
    margin: 12px 0;
}

.contactgegevens a {
    color: #24364b;
    font-weight: bold;
    text-decoration: none;
}

.contactgegevens a:hover {
    color: #8a5a2b;
    text-decoration: underline;
}


/* Mobiele weergave */

@media (max-width: 700px) {

    body {
        padding: 20px;
    }

    h1 {
        font-size: 35px;
    }

    header > p {
        font-size: 19px;
    }

    nav {
        flex-direction: column;
        gap: 8px;
    }

    nav a {
        display: block;
        margin: 0;
        font-size: 17px;
    }

    #producten {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    article {
        padding: 22px;
        min-height: auto;
    }

    .product-afbeelding {
        height: 260px;
    }

    .product-afbeelding img {
        max-height: 260px;
    }

    .product-titel {
        min-height: auto;
    }

    .product-beschrijving {
        min-height: auto;
    }

    .product-prijs {
        min-height: auto;
    }

    .product-voorraad {
        min-height: auto;
    }

    article button {
        width: 100%;
        margin-top: 18px;
    }

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

    .winkelmand-aantal {
        margin-top: 10px;
    }

    #winkelmand-pagina,
    #product-detail,
    #bestelling,
    #gegevens,
    #bevestiging,
    #contactpagina {
        padding: 22px;
    }

    #product-detail img {
        max-width: 100%;
    }

    #bevestiging p {
        margin-bottom: 20px;
    }

    .checkout-product-details {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

}