.success-message {
    color: green;
    padding: 1em;
    margin: 1em 0;
    border: 1px solid green;
    background-color: #e1fcd2;
}

.error-message {
    color: red;
    padding: 1em;
    margin: 1em 0;
    border: 1px solid red;
    background-color: #ffcdcd;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

nav {
    background-color: #2C2C2C;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    color: white;
    padding: 1em 10em;
}

nav a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 0 0.8em;
}
nav img{
    width: 80%;
}

header {
    display: flex;
    align-items: center;
    padding: 1.5em;
    color: #2C2C2C;
    padding: 2.5em 10em;
}

header img{
    width: 50%;
}

header h1 {
    font-size: 4em;
}

header p {
    font-size: 1em;
    line-height: 1.5em;
}

.catogorie-container {
    padding: 5em 10em;
    background-color: #EFEFEF;
}

.catogorie-container h2 {
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 8px;
    padding-bottom: 2em;
}

.categorie {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2em;
}

.categorie img {
    width: 60%;
    padding: 1em 1em;
}

.categorie article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.categorie a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.promo {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3em;
    padding: 8em 10em;
}

.promo-card {
    background-color: #F5F5F5;
    padding: 2em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.promo-card a {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 4em;
    background: #a0893d; 
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.promo-card h3 {
    text-transform: uppercase;
    letter-spacing: 4px;
}

.info-gezondekat {
    display: flex;
    align-items: center;
    padding: 1.5em;
    color: #2C2C2C;
    padding: 2.5em 10em;
    background-color: #EFEFEF;
}

.info-gezondekat img {
    width: 100%;
}

.info-gezondekat a {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 4em; 
    color: #a0893d;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: 2px solid #a0893d;
}

footer {
    background-color:#2C2C2C;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: start;
    gap: 3rem;
    padding: 2.5em 10em;
}

footer ul {
    list-style: none;
}

footer li {
    padding: 0.2em 0;
}

/*login*/

.inloggen-wrapper {
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding-top: 5em;
}
.inloggen-container {
    background-color:#EFEFEF;
    width: 15em;
    padding: 1em 2em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.inloggen-container h1 {
    font-size: 2em;
}

.form__field {
    margin-bottom: 1em;
}

.form__field label {
    font-size: 1.2em;
    color: #2C2C2C;
}

.btn--primary {
    width: 100%;
    padding: 1em;
    background: #a48c3a;
    border: none;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
}

.inloggen-container a{
    text-decoration: none;
    color: #2C2C2C;
}
.inloggen-container a:hover{
    text-decoration: underline;
}
.inloggen-container h1 {
    color: #2C2C2C;
}
/*profiel pagina*/

.profiel-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 30%;
    background-color:#EFEFEF;
    padding: 3em 2em;
}

.profile-card {
    text-align: center;
    margin-bottom: 2em;
}

.profile-card img {
    width: 15em;
    height: auto;
}

.profile-card h2 {
    font-weight: 700;
}

.profiel-links a{
    display: block;
    color: #2C2C2C;
    text-decoration: none;
    font-size: 1em;
    padding: 1em 2em;
}

.profiel-links p{
    display: block;
    color: #2C2C2C;
    text-decoration: none;
    font-size: 1em;
    padding: 1em 2em;
}

.profielgegevens {
    width: 70%;
    padding: 1em 10em;
}

.profielgegevens h1 {
    letter-spacing: 2px;
}

.profiel-form {
    display: grid;
    padding-bottom:  2em;
}

.profiel-form label {
    padding-top: 1em;
}

.profiel-form input {
    padding: 1em 0.5em;
    background-color: #EFEFEF;
    border-style: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* producten paginas */
.productpage {
    background-color:#EFEFEF;
    display: flex;
    gap: 5em;
}

.productpage img{
    width: 300px;
    padding-left: 10em;
}

.productpage h1 {
    color: #2C2C2C;
}

.product-nav a{
    color: #2C2C2C;
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-nav a:hover{
    text-decoration: underline;
}
.product-nav {
    padding:5em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 85%;
    justify-items: center;  
    padding: 0 10em 5em;
}
.product-grid article {
    padding-bottom: 5em;
    width: 50%;
}
.product-grid h2 {
    color: #2C2C2C;
    font-size: 1.2em;
}
.img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #EFEFEF;
}
.img-wrapper {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
}

/* detail pagina*/
.detail-page {
    background-color: #EFEFEF;
}

.product-info {
    width: 100%;
    object-fit: contain;
    display: flex;
    justify-content: center;
    gap: 10em;
    padding-bottom: 5em;
    align-items: stretch;
    color: #2C2C2C;
}
.product-info img{
    max-width: 20em;
}
.productimage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    max-width: 40%;
}

.product-info > div:last-child {
    display: flex;
    flex-direction: column;
}

.product-info button {
    margin-top: auto; 
}

.reviews {
    color: #2C2C2C;
    font-size: 1.2em;
    text-transform: uppercase;
    padding: 2em 5em;
    letter-spacing: 2px;
}

/* Cart pagina */
.cart-container{
    padding: 2em 5em;
    color: #2C2C2C;
}
.cart-container h1{
    letter-spacing: 2px;
}
.cart-titels {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 0 10em;
    text-align: center;
    color: #2C2C2C;
}
.cart-info {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin: 0 10em 2em 10em;
    padding: 2em 0;
    align-items: center;
    text-align: center;
    background-color:#EFEFEF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: #2C2C2C;
}

.cart-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-img-wrapper {
    width: 100px;
    height: 100px;
    margin-left: 6em; 
}

.btn-remove {
    max-width: 2em;
    align-self: center;
    margin-left: 10em; 
    border: none;
    cursor: pointer;
}

.cart-footer{
    display: flex;
    justify-content: space-between;
}
.btn-bestellen{
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 4em;
    background: #a0893d; 
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: none;
}
.btn-bestellen:hover{
    background: white; 
    color: #a0893d;
    border: 2px solid #a0893d;
}

/* icon cart*/
.cart-badge {
    background-color: #a0893d;
    color: white;
    width: 1em;
    height: 1em;
    padding: 0.2em;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-link {
    position: relative;
}

/*zoekbalk*/
nav > div:last-child {
    display: flex;
    align-items: center;
    gap: 2em;
}

.search-results-count {
    color: #666;
    font-size: 1em;
}
        
.btn-search {
    background: #a0893d; 
    color: white; 
    border: none;  
    padding: 0.3em 2em; 
}

#color-select {
    padding: 0.5em 1em;
    margin-bottom: 2em;
    background-color: #EFEFEF;
    border: 2px solid #2C2C2C;
    font-size: 1em;
}


/*review*/
#review-text {
    padding-bottom: 2em;
    padding-right: 20%;
    
}

#btnAddReview {
    padding: 0.5em 2em;
    background: #a0893d; 
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: none;
    text-decoration: none;
    font-size: 0.8em;
}

.newproduct div {
    padding: 1em 0;
}

.add-product-container {
    max-width: 600px; 
    margin: 50px auto; 
    padding: 20px;
    color: #2C2C2C;
}

.updateproduct div {
    padding: 1em 0;
}