/*
Theme Name: Betaalbaar Winkelen Blokken
Theme URI: https://betaalbaarwinkelen.eu
Author: Betaalbaar Winkelen
Description: Visueel aanpasbaar WooCommerce blokthema met een samenhangende blauw-goud huisstijl en vernieuwde homepage.
Version: 2.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: betaalbaarwinkelen
Tags: full-site-editing, block-patterns, e-commerce, custom-colors, custom-logo
*/

:root{--bw-navy:#071a38;--bw-blue:#0756a6;--bw-gold:#f5b928;--bw-cream:#f7f9fc;--bw-ink:#182b45;--bw-muted:#5a6b80}
html{scroll-behavior:smooth}body{overflow-x:hidden}.wp-site-blocks{min-height:100vh}.bw-shadow{box-shadow:0 18px 50px rgba(7,26,56,.12)}.bw-card{transition:transform .2s ease,box-shadow .2s ease}.bw-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(7,26,56,.15)}.bw-rounded{border-radius:20px;overflow:hidden}.bw-pill{border-radius:999px}
.wp-site-blocks>.wp-block-group{box-sizing:border-box}.wp-block-site-logo img{display:block;width:min(100%,300px);height:auto;max-height:118px;object-fit:contain}.bw-header-main{box-shadow:0 5px 18px rgba(7,26,56,.07)}.bw-header-main>.wp-block-group>.wp-block-group{gap:clamp(12px,2vw,28px)}.bw-topline .wp-block-group{gap:8px 26px}.bw-topline p{margin:0}.bw-mark{display:inline-flex;align-items:center;gap:8px}.bw-mark-icon{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:var(--bw-gold);color:var(--bw-navy);font-weight:900}.bw-payment-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:22px auto 0;padding:16px 20px;border:1px solid #d9e2ed;border-radius:16px;background:#fff}.bw-payment-strip__title{margin:0 8px 0 0;color:var(--bw-navy);font-size:.9rem;font-weight:800}.bw-payment-strip__items{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.bw-payment-mark{display:inline-flex;align-items:center;justify-content:center;min-height:32px;max-width:110px;padding:3px 8px;border:1px solid #e1e6ed;border-radius:7px;background:#fff}.bw-payment-mark img{display:block;max-width:88px;max-height:25px;width:auto;height:auto;object-fit:contain}.bw-payment-mark--text{max-width:none;color:var(--bw-ink);font-size:.8rem;font-weight:700}.bw-service-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px auto 0}.bw-service-card{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid #dce5ef;border-radius:14px;background:#fff;color:var(--bw-ink);font-weight:700}.bw-service-card .bw-mark-icon{width:30px;height:30px;flex-basis:30px;font-size:.9rem}.bw-payment-note{margin:12px 0 0;text-align:center;color:var(--bw-muted);font-size:.8rem}
.woocommerce ul.products li.product{box-sizing:border-box;background:#fff;border:1px solid #dfe6ef;border-radius:18px;padding:14px!important;overflow:hidden}.woocommerce ul.products li.product a img{width:100%;height:220px;object-fit:contain;background:#fff;border-radius:12px}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--bw-navy);color:#fff;border-radius:10px}.woocommerce ul.products li.product .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--bw-blue);color:#fff}.woocommerce div.product{box-sizing:border-box;background:#fff;padding:clamp(20px,4vw,40px);border:1px solid #e2e8f0;border-radius:20px}.woocommerce div.product div.images img{border-radius:14px;object-fit:contain}.wc-block-components-button,.wp-element-button{transition:transform .18s ease,background-color .18s ease}.wc-block-components-button:hover,.wp-element-button:hover{transform:translateY(-2px)}
.woocommerce ul.products li.product-category a img{width:100%;height:180px;object-fit:cover;border-radius:14px}.woocommerce ul.products li.product-category{padding:12px!important;text-align:center}.woocommerce ul.products li.product-category h2{color:var(--bw-navy);font-size:1.05rem}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info{border-top-color:var(--bw-blue)}.woocommerce .woocommerce-message:before,.woocommerce .woocommerce-info:before{color:var(--bw-blue)}
@media(max-width:782px){.bw-service-row{grid-template-columns:1fr}.bw-payment-strip{align-items:flex-start;flex-direction:column}.bw-payment-strip__items{justify-content:flex-start}.wp-block-site-logo img{width:min(100%,220px);max-height:90px}.woocommerce ul.products li.product a img{height:170px}.woocommerce ul.products li.product-category a img{height:140px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bw-card,.wc-block-components-button,.wp-element-button{transition:none}.bw-card:hover,.wc-block-components-button:hover,.wp-element-button:hover{transform:none}}
.bw-fallback-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.bw-fallback-navigation a{color:inherit;text-decoration:none;font-weight:700}.bw-fallback-navigation a:hover{text-decoration:underline}.bw-fallback-navigation a:focus-visible,.wp-element-button:focus-visible,.woocommerce a:focus-visible{outline:3px solid var(--bw-gold);outline-offset:3px}

/* Homepage refresh: high contrast, generous spacing and a responsive editorial layout. */
.bw-home-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(58px,8vw,112px) 24px;background:radial-gradient(ellipse at 84% 30%,rgba(30,129,218,.6),transparent 34%),linear-gradient(125deg,#06152f 0%,#082c59 52%,#0861ae 100%);color:#fff}
.bw-home-hero:before,.bw-home-hero:after{position:absolute;z-index:-1;content:"";border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}
.bw-home-hero:before{width:560px;height:560px;right:-145px;top:-250px}.bw-home-hero:after{width:370px;height:370px;right:-45px;top:-155px}
.bw-home-hero__columns{gap:clamp(32px,6vw,88px)!important}.bw-eyebrow{margin:0 0 12px;color:#ffd36d;font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.bw-eyebrow--blue{color:#0756a6}
.bw-home-hero__title{max-width:740px;margin:0;color:#fff;font-size:clamp(3rem,7vw,6.3rem);font-weight:950;letter-spacing:-.065em;line-height:.98}.bw-home-hero__title span{color:#ffd05e}.bw-home-hero__text{max-width:600px;margin:24px 0;color:rgba(255,255,255,.84);font-size:clamp(1.05rem,1.8vw,1.3rem);line-height:1.65}
.bw-home-hero__buttons{gap:12px}.bw-home-hero__buttons .wp-element-button{padding:15px 22px;border:1px solid #ffd05e;border-radius:12px;background:#ffd05e;color:#071a38;font-weight:900}.bw-home-hero__buttons .bw-button-ghost .wp-element-button{border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.08);color:white}.bw-home-hero__buttons .wp-element-button:hover{background:#fff;border-color:#fff;color:#071a38}.bw-hero-footnote{margin:16px 0 0;color:rgba(255,255,255,.66);font-size:.84rem}
.bw-home-hero__visual{min-height:350px}.bw-hero-art{position:relative;display:grid;min-height:350px;place-items:center;isolation:isolate}.bw-hero-art:before{position:absolute;z-index:-1;width:min(31vw,340px);height:min(31vw,340px);min-width:250px;min-height:250px;content:"";border-radius:50%;background:linear-gradient(135deg,#ffdc7c,#ff9a48);box-shadow:0 30px 100px rgba(0,0,0,.18)}.bw-hero-art__card{position:absolute;display:flex;min-width:168px;min-height:176px;flex-direction:column;align-items:center;justify-content:center;gap:0;border:1px solid rgba(255,255,255,.68);border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 22px 60px rgba(0,13,37,.24);color:#071a38;text-align:center;backdrop-filter:blur(12px)}.bw-hero-art__card--back{transform:translate(-62px,-24px) rotate(-9deg)}.bw-hero-art__card--front{transform:translate(72px,44px) rotate(8deg);background:#fff}.bw-hero-art__emoji{margin:0;font-size:4.5rem!important;line-height:1.15}.bw-hero-art__label{margin:6px 0 0;font-size:.9rem;font-weight:850}.bw-hero-art__spark{position:absolute;top:28px;right:14%;margin:0;color:#fff;font-size:4rem;line-height:1}.bw-hero-art__bubble{position:absolute;right:0;bottom:20px;margin:0;padding:12px 18px;border:1px solid rgba(255,255,255,.65);border-radius:999px;background:#fff;color:#071a38;font-size:.88rem;font-weight:900;box-shadow:0 12px 34px rgba(0,13,37,.2)}.bw-hero-art__bubble span{color:#14834b}
.bw-welcome{padding:clamp(48px,7vw,84px) 24px;background:#fff}.bw-welcome .wp-block-columns{gap:clamp(24px,6vw,84px)}.bw-welcome h2{max-width:440px;margin:0;font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.045em}.bw-welcome__copy{margin:0;color:#52647a;line-height:1.8}
.bw-section{padding:clamp(54px,7vw,88px) 24px}.bw-categories{background:#f5f8fc}.bw-section-heading{align-items:flex-end!important;margin-bottom:28px}.bw-section-heading h2{margin:0;font-size:clamp(1.9rem,3.5vw,2.8rem);letter-spacing:-.045em}.bw-section-intro{margin:10px 0 0;color:#617187}.bw-inline-link{margin:0 0 3px;font-weight:850}.bw-inline-link a{text-decoration:none}.bw-inline-link a:hover{text-decoration:underline}.bw-categories .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}.bw-categories .woocommerce ul.products:before,.bw-categories .woocommerce ul.products:after{display:none}.bw-categories .woocommerce ul.products li.product-category{float:none;width:auto;margin:0!important;padding:12px!important;border:1px solid #e2e9f2!important;border-radius:20px!important;background:#fff;box-shadow:0 8px 24px rgba(7,26,56,.045);transition:transform .2s ease,box-shadow .2s ease}.bw-categories .woocommerce ul.products li.product-category:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(7,26,56,.11)}.bw-categories .woocommerce ul.products li.product-category a img{height:190px;margin:0 0 15px;border-radius:14px;background:#f7f9fc;object-fit:cover}.bw-categories .woocommerce ul.products li.product-category h2{margin:0 0 8px;color:#071a38;font-size:1.08rem}.bw-empty-note{display:none;margin:22px 0 0;padding:16px 18px;border:1px dashed #c7d5e5;border-radius:12px;color:#617187}.bw-categories:not(:has(.woocommerce ul.products li.product-category)) .bw-empty-note{display:block}
.bw-bestsellers{background:#fff}.bw-bestsellers .woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}.bw-bestsellers .woocommerce ul.products:before,.bw-bestsellers .woocommerce ul.products:after{display:none}.bw-bestsellers .woocommerce ul.products li.product{float:none;width:auto;margin:0!important;padding:13px!important;border:1px solid #e2e9f2!important;border-radius:18px!important;box-shadow:0 8px 26px rgba(7,26,56,.045);transition:transform .2s ease,box-shadow .2s ease}.bw-bestsellers .woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(7,26,56,.11)}.bw-bestsellers .woocommerce ul.products li.product a img{height:205px;margin:0 0 14px;border-radius:12px;background:#f7f9fc;object-fit:contain}.bw-bestsellers .woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:2.6em;color:#071a38;font-size:1rem;font-weight:800}.bw-bestsellers .woocommerce ul.products li.product .price{color:#0756a6;font-weight:900}.bw-bestsellers .woocommerce ul.products li.product .button{width:100%;margin-top:10px;padding:12px 10px;border-radius:10px;background:#071a38;text-align:center}.bw-bestsellers .woocommerce ul.products li.product .button:hover{background:#0756a6}.bw-bestsellers:not(:has(.woocommerce ul.products li.product)) .bw-empty-note{display:block}
.bw-bestsellers+.wp-block-group{border-top:1px solid #e7edf4}.bw-home-hero .wp-block-button__link:focus-visible,.bw-inline-link a:focus-visible{outline:3px solid #ffd05e;outline-offset:4px}
@media(max-width:782px){.bw-home-hero{padding:52px 20px 44px}.bw-home-hero__columns{gap:12px!important}.bw-home-hero__title{font-size:clamp(3.1rem,14vw,5rem)}.bw-home-hero__visual{min-height:300px}.bw-hero-art{min-height:300px}.bw-hero-art__card{min-width:142px;min-height:150px}.bw-hero-art__emoji{font-size:3.7rem!important}.bw-hero-art__bubble{right:3%;bottom:0}.bw-welcome{padding:48px 20px}.bw-section{padding:52px 20px}.bw-categories .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bw-categories .woocommerce ul.products li.product-category a img{height:145px}.bw-bestsellers .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bw-bestsellers .woocommerce ul.products li.product a img{height:165px}}
@media(max-width:420px){.bw-home-hero__buttons{align-items:stretch;flex-direction:column}.bw-home-hero__buttons .wp-block-button,.bw-home-hero__buttons .wp-element-button{width:100%;text-align:center}.bw-section-heading{align-items:flex-start!important;flex-direction:column}.bw-categories .woocommerce ul.products li.product-category a img{height:125px}.bw-hero-art__card--back{transform:translate(-44px,-18px) rotate(-8deg)}.bw-hero-art__card--front{transform:translate(54px,36px) rotate(7deg)}}
@media(prefers-reduced-motion:reduce){.bw-categories .woocommerce ul.products li.product-category,.bw-bestsellers .woocommerce ul.products li.product{transition:none}.bw-categories .woocommerce ul.products li.product-category:hover,.bw-bestsellers .woocommerce ul.products li.product:hover{transform:none}}
