/*
Theme Name: Nico's Hengelsport WooCommerce
Theme URI: https://www.nicoshengelsport.nl/
Author: ChatGPT
Description: WordPress/WooCommerce thema voor Nico's Hengelsport met tekst links op de hero-afbeelding.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nicoshengelsport
*/
:root{--navy:#062b50;--navy2:#021b34;--blue:#0d4a82;--sand:#d7b47c;--light:#f6f8fb;--text:#09213d;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff}.container{width:min(1450px,94vw);margin:0 auto}.topbar{background:linear-gradient(90deg,var(--navy2),var(--navy));color:#fff;font-size:14px}.topbar .container{display:flex;justify-content:space-between;gap:18px;padding:9px 0;flex-wrap:wrap}.site-header{background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06);position:sticky;top:0;z-index:20}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0}.logo img{height:120px;width:auto}.menu{display:flex;gap:28px;align-items:center;list-style:none;margin:0;padding:0}.menu a{color:var(--text);text-decoration:none;font-weight:800;text-transform:uppercase;font-size:14px}.header-actions{display:flex;gap:16px;font-size:25px}.hero{min-height:430px;background:linear-gradient(90deg,rgba(3,28,52,.92) 0%,rgba(3,28,52,.72) 38%,rgba(3,28,52,.22) 72%,rgba(3,28,52,.05) 100%),var(--hero) center/cover no-repeat;color:#fff;display:flex;align-items:center;text-align:left}.hero-content{max-width:620px;padding:62px 0;text-align:left;margin-left:0;margin-right:auto}.eyebrow{text-transform:uppercase;letter-spacing:.08em}.hero h1{font-size:clamp(46px,7vw,78px);line-height:.92;margin:12px 0 18px;text-align:left}.hero h1 span{color:#51a9e8}.hero p{font-size:18px;line-height:1.45;text-align:left}.btn{display:inline-flex;align-items:center;gap:10px;border-radius:5px;padding:15px 24px;text-decoration:none;font-weight:900;text-transform:uppercase;font-size:14px}.btn-primary{background:var(--navy);color:#fff;border:1px solid rgba(255,255,255,.35)}.btn-sand{background:var(--sand);color:#fff}.hero-buttons{display:flex;justify-content:flex-start;gap:12px;flex-wrap:wrap;margin-top:22px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:-32px;position:relative;z-index:5}.cat-card{min-height:150px;background-size:cover;background-position:center;border:2px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,.14);display:flex;align-items:end;text-decoration:none;position:relative;overflow:hidden}.cat-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,20,45,.85),rgba(0,20,45,.15))}.cat-card div{position:relative;z-index:1;padding:16px;width:100%;text-align:center;color:#fff}.cat-card strong{font-size:18px;text-transform:uppercase;display:block}.cat-card small{display:inline-block;background:var(--blue);padding:8px 18px;margin-top:8px;border-radius:3px;font-weight:800;text-transform:uppercase}.content-row{display:grid;grid-template-columns:1.15fr .85fr 1.25fr;gap:16px;margin:16px auto 10px}.panel{border-radius:6px;overflow:hidden;background:var(--navy);color:#fff;min-height:195px;box-shadow:0 6px 18px rgba(4,30,60,.12)}.bait{background:linear-gradient(90deg,var(--navy),rgba(6,43,80,.82)),var(--bait) right center/contain no-repeat}.panel-inner{padding:24px}.checklist{margin:16px 0;padding:0;list-style:none}.checklist li{margin:8px 0}.live-weather iframe{border:none;border-radius:12px;width:100%;background:#fff}.catches{background:#fff;color:var(--text);padding:18px;border-left:1px solid #dce5ef}.catch-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.catch img{width:100%;height:85px;object-fit:cover;border-radius:4px}.catch strong{display:block;font-size:13px}.footer-main{background:linear-gradient(90deg,var(--navy2),var(--navy));color:#fff;margin-top:10px;padding:26px 0}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:32px}.footer-grid h3{font-size:15px;text-transform:uppercase}.footer-grid a{color:#fff}.map-img{width:100%;height:70px;object-fit:cover;border-radius:4px}.opening-hours{list-style:none;margin:0;padding:0}.opening-hours li{display:flex;justify-content:space-between;gap:20px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:15px}.opening-hours strong{font-weight:600;white-space:nowrap}.footer-address{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.5}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--navy);color:#fff;border-radius:4px}.shop-page{background:#f4f7f6}.shop-hero{background:linear-gradient(120deg,rgba(5,32,48,.96),rgba(8,85,91,.88)),url('assets/images/hero-clean.jpg') center/cover no-repeat;color:#fff;padding:70px 0 56px}.shop-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:34px;align-items:end}.shop-category-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:-30px;position:relative;z-index:2}.shop-category-card{background:#fff;border-radius:20px;padding:20px 16px;text-align:center;color:#052030;text-decoration:none;box-shadow:0 14px 35px rgba(5,32,48,.1);border:1px solid rgba(5,32,48,.08)}.shop-category-card span{display:block;font-size:30px;margin-bottom:8px}.shop-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:30px;padding-top:42px;padding-bottom:70px}.shop-widget{background:#fff;border-radius:22px;padding:22px;box-shadow:0 12px 30px rgba(5,32,48,.08);border:1px solid rgba(5,32,48,.07);margin-bottom:18px}.shop-content ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0!important;padding:0!important}.shop-content ul.products li.product{width:auto!important;margin:0!important;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 12px 30px rgba(5,32,48,.08)}@media(max-width:1000px){.category-grid,.shop-category-strip{grid-template-columns:repeat(3,1fr)}.content-row,.footer-grid,.shop-hero-inner,.shop-layout{grid-template-columns:1fr}.menu{display:none}.catch-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.category-grid,.shop-category-strip,.shop-content ul.products{grid-template-columns:1fr}.logo img{height:86px}.hero{min-height:480px;background-position:center}.hero-content{max-width:100%}}

/* Header zonder bovenmenu */
.header-inner.no-menu{
    justify-content:space-between;
}

.header-inner.no-menu .logo{
    margin-right:auto;
}

@media(max-width:768px){
    .header-inner.no-menu{
        justify-content:center;
    }
}

/* Modern Snel naar menu webshop */
.shop-sidebar{
    position:relative;
}

.shop-widget{
    border-radius:26px;
    padding:0;
    overflow:hidden;
    background:#ffffff;
    border:1px solid rgba(6,43,80,.08);
    box-shadow:0 18px 45px rgba(6,43,80,.10);
}

.shop-widget h2{
    margin:0;
    padding:18px 22px;
    background:linear-gradient(135deg,#062b50,#0d4a82);
    color:#ffffff;
    font-size:18px;
    letter-spacing:.02em;
    text-transform:uppercase;
}

.shop-widget ul{
    list-style:none;
    margin:0;
    padding:14px;
}

.shop-widget li{
    margin:0 0 8px;
    border:0;
}

.shop-widget li:last-child{
    margin-bottom:0;
}

.shop-widget li a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 14px;
    border-radius:15px;
    background:#f4f7f6;
    color:#09213d;
    text-decoration:none;
    font-weight:800;
    transition:all .18s ease;
}

.shop-widget li a:before{
    content:"›";
    width:24px;
    height:24px;
    min-width:24px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#ffffff;
    color:#0d4a82;
    box-shadow:0 5px 14px rgba(6,43,80,.10);
    font-size:18px;
    line-height:1;
}

.shop-widget li a:hover{
    background:#062b50;
    color:#ffffff;
    transform:translateX(4px);
}

.shop-widget li a:hover:before{
    background:#d7b47c;
    color:#ffffff;
}

.shop-widget .count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    height:24px;
    padding:0 8px;
    border-radius:999px;
    background:#ffffff;
    color:#0d4a82;
    font-size:12px;
    font-weight:900;
}

.shop-widget li a:hover .count{
    background:rgba(255,255,255,.16);
    color:#ffffff;
}

.shop-help{
    padding:22px;
    background:linear-gradient(135deg,#062b50,#021b34);
    color:#ffffff;
}

.shop-help h2{
    padding:0;
    background:none;
    color:#d7b47c;
}

@media(max-width:980px){
    .shop-widget ul{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .shop-widget li{
        margin:0;
    }
}

@media(max-width:560px){
    .shop-widget ul{
        grid-template-columns:1fr;
    }
}

/* Mobiel menu herstel */
.mobile-menu-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    border-radius:12px;
    background:#062b50;
    color:#ffffff;
    font-weight:900;
    padding:12px 16px;
    cursor:pointer;
    text-transform:uppercase;
    letter-spacing:.02em;
}

.primary-menu-wrap{
    display:block;
}

@media(max-width:1000px){
    .mobile-menu-toggle{
        display:inline-flex;
    }

    .site-header{
        position:sticky;
        top:0;
        z-index:999;
    }

    .header-inner{
        position:relative;
        flex-wrap:wrap;
    }

    .primary-menu-wrap{
        display:none;
        width:100%;
        order:10;
        background:#ffffff;
        border-top:1px solid rgba(6,43,80,.10);
        padding:14px 0 4px;
    }

    .primary-menu-wrap.is-open{
        display:block;
    }

    .primary-menu-wrap .menu{
        display:flex !important;
        flex-direction:column;
        gap:8px;
        width:100%;
        padding:0;
        margin:0;
    }

    .primary-menu-wrap .menu li{
        width:100%;
        list-style:none;
    }

    .primary-menu-wrap .menu a{
        display:block;
        width:100%;
        padding:14px 16px;
        border-radius:14px;
        background:#f4f7f6;
        color:#09213d;
        text-decoration:none;
        font-weight:900;
    }

    .primary-menu-wrap .menu a:hover{
        background:#062b50;
        color:#ffffff;
    }

    .header-actions{
        margin-left:auto;
    }
}

@media(max-width:620px){
    .header-inner{
        justify-content:space-between;
    }

    .logo img{
        height:82px;
    }

    .mobile-menu-toggle{
        padding:10px 12px;
        font-size:13px;
    }
}

/* Mobiel: na categorie direct producten tonen */
#producten{
    scroll-margin-top:110px;
}

@media(max-width:1000px){
    .shop-layout{
        display:flex;
        flex-direction:column;
    }

    .shop-content{
        order:1;
    }

    .shop-sidebar{
        order:2;
    }
}

@media(max-width:620px){
    #producten{
        scroll-margin-top:90px;
    }

    .shop-category-strip{
        margin-bottom:18px;
    }
}

/* Nieuwe subcategorie stijl */
.woocommerce ul.products li.product-category a{
    overflow:hidden;
    border-radius:22px;
    background:#ffffff;
    box-shadow:0 14px 35px rgba(5,32,48,.10);
    border:1px solid rgba(5,32,48,.08);
}

.woocommerce ul.products li.product-category img{
    aspect-ratio:16/10;
    object-fit:cover;
}

.woocommerce ul.products li.product-category h2{
    padding:18px 20px !important;
    font-size:20px !important;
    color:#062b50;
    font-weight:900;
}

.woocommerce ul.products li.product-category .count{
    background:#0d4a82;
    color:#fff;
    border-radius:999px;
    padding:4px 10px;
    font-size:12px;
}

/* Subcategorieën met hoofdletters */
.woocommerce ul.products li.product-category h2,
.product-categories a,
.shop-category-card strong,
.category-grid .cat-card strong{
    text-transform:capitalize;
}

/* Snel naar menu hoofdletters */
.shop-widget .product-categories a,
.shop-widget ul li a{
    text-transform: capitalize !important;
}

/* Webshop categorie menu op 1 regel mobiel */
@media(max-width:768px){

    .shop-category-strip{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        overflow-x:auto;
        overflow-y:hidden;
        gap:10px;
        padding:0 4px 10px;
        margin-top:-20px;
        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
    }

    .shop-category-strip .shop-category-card{
        flex:0 0 auto;
        min-width:145px;
        max-width:145px;
        min-height:92px;
        padding:14px 10px;
        scroll-snap-align:start;
        border-radius:16px;
    }

    .shop-category-strip .shop-category-card span{
        font-size:24px;
        margin-bottom:6px;
    }

    .shop-category-strip .shop-category-card strong{
        font-size:14px;
        line-height:1.2;
        white-space:nowrap;
    }

    .shop-category-strip::-webkit-scrollbar{
        height:5px;
    }

    .shop-category-strip::-webkit-scrollbar-thumb{
        background:rgba(6,43,80,.25);
        border-radius:999px;
    }

    /* Snel naar menu links ook horizontaal op mobiel */
    .shop-widget ul{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        overflow-x:auto;
        gap:10px;
        padding:14px;
        -webkit-overflow-scrolling:touch;
    }

    .shop-widget li{
        flex:0 0 auto;
        margin:0;
        min-width:145px;
    }

    .shop-widget li a{
        min-height:52px;
        white-space:nowrap;
        justify-content:center;
        text-align:center;
    }

    .shop-widget li a:before{
        display:none;
    }
}

/* Webshop zonder Snel naar menu */
.shop-layout.full-width{
    display:block !important;
}

.shop-layout.full-width .shop-content{
    width:100%;
    max-width:100%;
}

.shop-layout.full-width .woocommerce ul.products{
    margin-top:10px !important;
}

/* Webshop menu dezelfde stijl als hoofdpagina */
.webshop-image-menu{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:14px;
    margin-top:-30px;
    position:relative;
    z-index:5;
}

.webshop-image-menu .cat-card{
    min-height:165px;
    background-size:cover;
    background-position:center;
    border-radius:20px;
    overflow:hidden;
    border:2px solid rgba(255,255,255,.9);
    box-shadow:0 12px 30px rgba(5,32,48,.12);
    display:flex;
    align-items:end;
    text-decoration:none;
    position:relative;
}

.webshop-image-menu .cat-card:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,rgba(0,20,45,.82),rgba(0,20,45,.08));
}

.webshop-image-menu .cat-card div{
    position:relative;
    z-index:2;
    width:100%;
    padding:16px;
    text-align:center;
}

.webshop-image-menu .cat-card strong{
    display:block;
    color:#fff;
    font-size:18px;
    text-transform:uppercase;
    text-shadow:0 3px 12px rgba(0,0,0,.5);
}

.webshop-image-menu .cat-card small{
    display:inline-block;
    margin-top:8px;
    padding:8px 16px;
    border-radius:999px;
    background:#0d4a82;
    color:#fff;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

@media(max-width:1000px){
    .webshop-image-menu{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .webshop-image-menu{
        display:flex !important;
        flex-wrap:nowrap !important;
        overflow-x:auto;
        overflow-y:hidden;
        gap:12px;
        padding-bottom:8px;
        -webkit-overflow-scrolling:touch;
    }

    .webshop-image-menu .cat-card{
        flex:0 0 220px;
        min-width:220px;
        min-height:145px;
    }
}

@media(max-width:520px){
    .webshop-image-menu .cat-card{
        flex:0 0 190px;
        min-width:190px;
        min-height:130px;
    }

    .webshop-image-menu .cat-card strong{
        font-size:16px;
    }
}

.nicos-pickup-badge{
    display:inline-flex;
    margin:0 18px 12px;
    padding:7px 11px;
    border-radius:999px;
    background:#062b50;
    color:#ffffff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.03em;
}



/* Zee aas checkout melding */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info{
    border-radius:14px;
}


/* Groter logo */
.logo{
    display:flex;
    align-items:center;
}

.logo img,
.custom-logo{
    max-height:120px !important;
    width:auto !important;
}

.site-header .header-inner{
    min-height:120px;
}

@media(max-width:768px){
    .logo img,
    .custom-logo{
        max-height:82px !important;
    }

    .site-header .header-inner{
        min-height:90px;
    }
}
