*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Arial,sans-serif;
    background:
        radial-gradient(circle at top left, rgba(165,214,167,.55), transparent 35%),
        linear-gradient(135deg,#e3f5e8,#f8fff9);
    color:#1b5e20;
    overflow-x:hidden;
}
.container{
    max-width:1150px;
    margin:0 auto;
    padding:22px;
}
.home{
    min-height:100svh;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding:22px 0 35px;
}
.home-card{
    width:100%;
    background:rgba(255,255,255,.97);
    border-radius:34px;
    padding:34px 34px 38px;
    max-width:920px;
    text-align:center;
    box-shadow:0 18px 50px rgba(0,0,0,.15);
    border:1px solid rgba(76,175,80,.18);
    position:relative;
    overflow:hidden;
}
.home-card:before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    background:rgba(76,175,80,.08);
    top:-90px;
    right:-80px;
}
.logo{
    position:relative;
    z-index:1;
    max-width:235px;
    width:72%;
    height:auto;
    margin:0 auto 20px;
    display:block;
}
.home-card h1{
    position:relative;
    z-index:1;
    font-size:42px;
    margin:0 0 18px;
    letter-spacing:.5px;
}
.typewriter{
    position:relative;
    z-index:1;
    font-size:22px;
    line-height:1.65;
    color:#2e7d32;
    text-align:left;
    max-width:780px;
    margin:0 auto;
    min-height:0;
    word-break:normal;
    overflow-wrap:break-word;

    white-space: pre-wrap;

}
.cursor{
    display:inline-block;
    width:3px;
    height:25px;
    background:#2e7d32;
    animation:blink .8s infinite;
    vertical-align:middle;
}
@keyframes blink{
    0%,50%{opacity:1}
    51%,100%{opacity:0}
}
.start-btn{
    position:relative;
    z-index:1;
    display:inline-block;
    margin-top:30px;
    background:#1b5e20;
    color:white;
    padding:18px 34px;
    border-radius:18px;
    text-decoration:none;
    font-size:20px;
    font-weight:bold;
    box-shadow:0 10px 24px rgba(27,94,32,.25);
    cursor:pointer;
    border:0;
}
.start-btn:hover{
    background:#0d4312;
}
.advies-section{
    display:none;
}
.advies-section.open{
    display:block;
}
.hero{
    background:white;
    border-radius:30px;
    padding:34px 24px;
    text-align:center;
    box-shadow:0 12px 35px rgba(0,0,0,.12);
    margin-top:25px;
    border:1px solid #c8e6c9;
}
.hero-inner{
    max-width:620px;
    margin:0 auto;
}
.hero-icon{
    width:72px;
    height:72px;
    border-radius:22px;
    margin:0 auto 16px;
    background:linear-gradient(135deg,#43a047,#a5d6a7);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:34px;
    box-shadow:0 10px 22px rgba(67,160,71,.25);
}
.hero h2{
    font-size:34px;
    margin:0 0 10px;
}
.hero p{
    color:#3b7c40;
    font-size:18px;
    margin:0 0 18px;
}
.searchbox{
    display:block;
    max-width:470px;
    margin:18px auto 0;
}
.searchbox input{
    width:100%;
    padding:18px;
    font-size:18px;
    border:2px solid #a5d6a7;
    border-radius:18px;
    text-align:center;
    outline:none;
    background:#fbfffc;
}
.searchbox input:focus{
    border-color:#43a047;
    box-shadow:0 0 0 4px rgba(67,160,71,.12);
}
.searchbox button{
    width:100%;
    margin-top:14px;
    padding:17px 26px;
    border:0;
    border-radius:18px;
    background:#2e7d32;
    color:white;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
}
.searchbox button:hover{
    background:#1b5e20;
}
.searchbox button:disabled{
    background:#9ccc9f;
    cursor:not-allowed;
}
.loading{
    display:none;
    margin:18px auto 0;
    max-width:470px;
    background:#f1f8e9;
    border:1px solid #c8e6c9;
    border-radius:18px;
    padding:16px;
    color:#1b5e20;
    font-weight:bold;
}
.loading.show{
    display:flex;
    align-items:center;
    gap:12px;
    justify-content:center;
}
.spinner{
    width:24px;
    height:24px;
    border:4px solid #c8e6c9;
    border-top-color:#2e7d32;
    border-radius:50%;
    animation:spin 1s linear infinite;
}
@keyframes spin{
    to{transform:rotate(360deg)}
}
.zoekterm{
    margin-top:14px;
    color:#558b2f;
    font-size:14px;
}
.advies{
    background:white;
    margin-top:25px;
    padding:26px;
    border-left:8px solid #43a047;
    border-radius:22px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    font-size:18px;
    line-height:1.65;
}
.products{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:25px;
}
.product{
    background:white;
    border-radius:24px;
    padding:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.10);
    border:1px solid #c8e6c9;
    display:flex;
    flex-direction:column;
}
.product-img{
    height:170px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f4fff4;
    border-radius:18px;
    margin-bottom:15px;
}
.product-img img{
    max-width:150px;
    max-height:150px;
    object-fit:contain;
}
.product h2{
    font-size:21px;
    margin:0 0 10px;
}
.aiomschrijving{
    background:#f1f8e9;
    border-radius:14px;
    padding:12px;
    color:#33691e;
    font-size:15px;
    line-height:1.45;
    margin-bottom:12px;
}
.price{
    font-size:22px;
    font-weight:bold;
    margin-top:8px;
}
.kortingstekst{
    background:#fffde7;
    border:1px solid #f0e68c;
    color:#6d5c00;
    padding:10px;
    border-radius:12px;
    font-size:14px;
    margin-top:12px;
    text-align:center;
}
.bestelblok{
    margin-top:15px;
    background:#f7fff8;
    border-radius:16px;
    padding:12px;
}
.bestelblok input[type=number]{
    width:75px;
    padding:9px;
    border:1px solid #a5d6a7;
    border-radius:10px;
}
.bestelblok input[type=submit]{
    width:100%;
    margin-top:10px;
    border:0;
    border-radius:12px;
    padding:12px;
    background:#43a047;
    color:white;
    font-weight:bold;
    font-size:16px;
    cursor:pointer;
}
.checkout{
    text-align:center;
    margin:30px 0;
}
.checkout-btn{
    display:inline-block;
    width:100%;
    max-width:420px;
    box-sizing:border-box;
    background:#1b5e20;
    color:white;
    font-size:20px;
    padding:16px 30px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
    line-height:1.3;
}
.more-btn{
    display:block;
    width:100%;
    text-align:center;
    margin-top:10px;
    background:#fff8e1;
    color:#5d4300;
    border:1px solid #f0d87a;
    padding:11px 12px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
}
.more-btn.loading{
    background:#e0e0e0;
    color:#555;
    border-color:#ccc;
    pointer-events:none;
}
.error{
    background:#ffebee;
    color:#b71c1c;
    padding:15px;
    border-radius:15px;
    margin-top:20px;
}
@media(max-width:900px){
    .products{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
    .container{
        padding:10px;
    }
    .home{
        min-height:auto;
        display:block;
        padding:8px 0 28px;
    }
    .home-card{
        border-radius:24px;
        padding:22px 18px 28px;
        box-shadow:0 10px 30px rgba(0,0,0,.12);
    }
    .logo{
        max-width:190px;
        width:76%;
        margin-bottom:14px;
    }
    .home-card h1{
        font-size:30px;
        margin-bottom:12px;
    }
    .typewriter{
        font-size:17px;
        line-height:1.55;
        text-align:left;
        max-width:100%;
    }
    .cursor{
        height:20px;
    }
    .start-btn{
        width:100%;
        padding:16px 18px;
        font-size:18px;
        margin-top:22px;
    }
    .hero{
        border-radius:24px;
        padding:26px 16px;
    }
    .hero h2{
        font-size:27px;
    }
    .hero p{
        font-size:16px;
    }
    .hero-icon{
        width:62px;
        height:62px;
        font-size:29px;
    }
    .searchbox{
        max-width:100%;
    }
    .searchbox input{
        font-size:17px;
        padding:16px 12px;
    }
    .products{
        grid-template-columns:1fr;
        gap:16px;
    }
    .advies{
        font-size:16px;
        padding:20px;
    }
}

/* Dagelijkse tipkaart */
@media(max-width:650px){
    }

/* ================================
   Ecosect tip van de dag
   ================================ */

.tip-section{
    width:100%;
    max-width:920px;
    margin:0 auto 35px;
    padding:0;
    display:block;
}

.tip-card{
    width:100%;
    max-width:920px;
    margin:0 auto;
    background:rgba(255,255,255,.97);
    border-radius:34px;
    padding:30px 34px;
    text-align:left;
    box-shadow:0 18px 50px rgba(0,0,0,.15);
    border:1px solid rgba(76,175,80,.18);
    position:relative;
    overflow:hidden;
}

.tip-card:before{
    content:"";
    position:absolute;
    width:230px;
    height:230px;
    border-radius:50%;
    background:rgba(76,175,80,.06);
    right:-90px;
    top:-90px;
}

.dagtip{
    position:relative;
    z-index:1;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    text-align:left;
}

.tip-links{
    flex:1;
    min-width:0;
}

.tip-links h2{
    margin:0 0 18px 0;
    padding:0;
    font-size:30px;
    line-height:1.15;
    font-weight:800;
    color:#071b3d;
    letter-spacing:-.4px;
}

.tip-links h2 span{
    display:inline-block;
    margin-left:8px;
    font-size:14px;
    line-height:1;
    font-weight:700;
    color:#283b59;
    vertical-align:middle;
    letter-spacing:0;
}

.tip-links h3{
    margin:0 0 14px 0;
    padding:0;
    font-size:22px;
    line-height:1.25;
    font-weight:800;
    color:#071b3d;
}

.tip-links p{
    margin:0;
    padding:0;
    font-size:16px;
    line-height:1.55;
    color:#1b2d45;
}

.tip-links p strong{
    color:#33445f;
}

.tip-rechts{
    width:88px;
    min-width:88px;
    height:102px;
    background:#fff;
    border:1px solid #dfe8f2;
    border-radius:14px;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.tip-nummer{
    font-size:38px;
    line-height:1;
    font-weight:900;
    color:#071b3d;
}

.tip-label{
    margin-top:6px;
    font-size:13px;
    color:#4f5d73;
}

@media(max-width:650px){
    .tip-section{
        margin:0 auto 24px;
    }

    .tip-card{
        border-radius:24px;
        padding:22px 18px;
    }

    .dagtip{
        gap:14px;
        align-items:flex-start;
    }

    .tip-links h2{
        font-size:23px;
        margin-bottom:14px;
    }

    .tip-links h2 span{
        display:block;
        margin-left:0;
        margin-top:6px;
        font-size:13px;
    }

    .tip-links h3{
        font-size:19px;
    }

    .tip-links p{
        font-size:15px;
    }

    .tip-rechts{
        width:70px;
        min-width:70px;
        height:84px;
        border-radius:12px;
    }

    .tip-nummer{
        font-size:30px;
    }

    .tip-label{
        font-size:12px;
    }
}
