/*
Theme Name: Citrotech Modern Demo
Version: 0.1.0
Text Domain: citrotech-modern-demo
*/
:root{--blue:#174d77;--navy:#063252;--red:#bd1f2d;--light:#f3f5f6;--ink:#1d2933;--line:#d5dee6}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:15px/1.55 Arial,sans-serif;background:#fff}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:#fff;padding:8px;z-index:100}.site-top{background:#f1f3f5;border-bottom:1px solid var(--line);font-size:13px}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}.site-top .wrap{display:flex;justify-content:space-between;padding:6px 0}.site-head{background:white}.head-row{display:flex;align-items:center;gap:30px;padding:18px 0}.brand img{display:block;width:220px;max-width:42vw}.search{margin-left:auto;display:flex;min-width:300px}.search input{width:100%;border:1px solid #b8c6d2;padding:11px}.search button,.button{background:var(--red);border:0;color:#fff;padding:11px 17px;font-weight:bold;cursor:pointer}.tools{display:flex;gap:14px;font-size:13px}.main-nav{background:var(--blue);box-shadow:inset 0 -3px 0 var(--red)}.main-nav ul{display:flex;list-style:none;margin:0;padding:0}.main-nav a{display:block;color:#fff;padding:14px 18px;font-weight:bold}.main-nav a:hover{background:var(--navy);text-decoration:none}.hero{min-height:330px;background:linear-gradient(90deg,rgba(4,40,66,.93),rgba(4,40,66,.25)),url('citrotechbg.jpg') center/cover;color:#fff;display:grid;align-items:center}.hero .inner{width:min(1180px,calc(100% - 32px));margin:auto}.hero h1{font-size:clamp(30px,5vw,52px);margin:0 0 8px}.hero p{font-size:19px;max-width:520px}.hero .button{display:inline-block}.vehicle-grid,.category-grid,.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.section{padding:38px 0}.section h2{color:var(--blue);font-size:27px;margin-top:0;border-bottom:3px solid var(--red);padding-bottom:8px}.vehicle{background:#f5f7f9;border:1px solid var(--line);text-align:center;padding:16px;color:var(--blue);font-weight:bold}.vehicle img{width:100%;height:135px;object-fit:contain;display:block;margin-bottom:8px}.category{background:#f5f7f9;border-left:4px solid var(--red);padding:18px;font-size:17px;font-weight:bold}.product{border:1px solid var(--line);padding:14px;background:white}.product img{width:100%;height:190px;object-fit:contain}.product h2,.product h3{font-size:16px;min-height:50px}.price{font-weight:bold;color:var(--red);font-size:18px}.site-footer{background:var(--navy);color:#e4edf3;padding:35px 0;margin-top:35px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.site-footer a{color:#fff}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;border:1px solid var(--line);padding:14px}.woocommerce div.product{padding:35px 0;border:0;background:transparent}.woocommerce .button{background:var(--red)!important;color:white!important;border-radius:0!important}.notice{background:#fff4cf;border-left:4px solid #e3a008;padding:12px;margin:18px 0}@media(max-width:800px){.head-row{flex-wrap:wrap;gap:12px}.search{order:3;width:100%;min-width:0}.main-nav{overflow:auto}.main-nav ul{min-width:max-content}.vehicle-grid,.category-grid,.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.site-top .wrap{display:block}.tools{margin-top:5px}}@media(max-width:460px){.vehicle-grid,.category-grid,.products,.woocommerce ul.products{grid-template-columns:1fr}.hero{min-height:280px}.tools{font-size:12px}}

/* Compact catalogue layout */
.woocommerce ul.products li.product {
    height: auto !important;
    min-height: 0 !important;
    padding: 16px;
    border-radius: 8px;
    transition: box-shadow .25s, transform .25s;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.09);
}
.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img,
.wc-block-components-product-image img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    object-fit: contain !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    line-height: 1.4;
    padding: 12px 0;
}

/* CTD_CATALOG_LAYOUT_V2 */

body.search,
body.search .wp-site-blocks{
    width:100%;
    max-width:none;
    margin:0;
}

body.search .wp-site-blocks > header,
body.search .wp-site-blocks > footer{
    width:100%;
    max-width:none;
}

body.search main{
    width:100%;
    max-width:1250px;
    margin:30px auto;
    padding:0 20px;
    box-sizing:border-box;
}

.woocommerce ul.products{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after{
    display:none;
}

.woocommerce ul.products li.product{
    display:flex !important;
    flex-direction:column;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    box-sizing:border-box;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
    display:flex;
    flex-direction:column;
    flex:1;
}

.woocommerce ul.products li.product a img{
    width:100%;
    height:210px !important;
    object-fit:contain;
}

.woocommerce ul.products li.product .price{
    margin-top:auto;
}

.woocommerce ul.products li.product .button{
    background:#df0000 !important;
    color:#fff !important;
    border-radius:6px;
    text-align:center;
    margin-top:12px;
}

.single-product .single_add_to_cart_button{
    border-radius:6px !important;
}

@media(max-width:1000px){
    .woocommerce ul.products{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:767px){
    .woocommerce ul.products{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }
    .woocommerce ul.products li.product a img{
        height:150px !important;
    }
}

/* CTD_CARD_ALIGNMENT_V3 */

:is(.wc-block-product,.wc-block-grid__product,ul.products li.product){
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    box-sizing:border-box;
    height:100%;
    border-radius:8px;
    padding:14px !important;
}

:is(.wc-block-product,.wc-block-grid__product)
:is(.wc-block-components-product-image,.wc-block-grid__product-image){
    height:190px !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    margin-bottom:16px !important;
}

:is(.wc-block-product,.wc-block-grid__product) img{
    width:100% !important;
    height:190px !important;
    object-fit:contain !important;
    object-position:center !important;
}

:is(.wc-block-product,.wc-block-grid__product)
:is(.wp-block-post-title,.wc-block-grid__product-title){
    min-height:78px;
    margin:0 0 12px !important;
    text-align:center;
    font-size:17px;
    line-height:1.4;
}

:is(.wc-block-product,.wc-block-grid__product)
:is(.wp-block-woocommerce-product-price,.wc-block-grid__product-price){
    margin-top:auto !important;
    margin-bottom:12px !important;
    text-align:center;
}

:is(.wc-block-product,.wc-block-grid__product)
:is(.wp-block-woocommerce-product-button,.wc-block-grid__product-add-to-cart){
    margin-top:auto !important;
    margin-bottom:0 !important;
    width:100%;
}

:is(.wc-block-product,.wc-block-grid__product) .wp-block-button__link{
    background:#df0000 !important;
    color:#fff !important;
    border-radius:6px !important;
    width:100%;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    box-sizing:border-box;
}

/* CTD_GLOBAL_PRODUCT_V4 */

/* Productgalerij */
.single-product .woocommerce-product-gallery{
    opacity:1 !important;
    visibility:visible !important;
}

.single-product .woocommerce-product-gallery__image img:not(.zoomImg),
.single-product .flex-control-thumbs img{
    opacity:1 !important;
    visibility:visible !important;
}

.single-product .woocommerce-product-gallery:not(:hover) .zoomImg{
    opacity:0 !important;
}

/* Dubbele aanbevelingssecties */
.single-product .upsells,
.single-product .up-sells,
.single-product .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/upsells"]{
    display:none !important;
}

/* Gerelateerde producten */
.single-product .related,
.single-product .wp-block-woocommerce-related-products{
    width:100% !important;
    max-width:100% !important;
    display:block !important;
    clear:both;
}

.single-product .related ul.products,
.single-product .related .wc-block-product-template,
.single-product .wp-block-woocommerce-related-products .wc-block-product-template{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:18px;
    width:100% !important;
}

.single-product .wc-block-product,
.single-product .related li.product{
    min-width:0;
    overflow-wrap:anywhere;
}

@media(max-width:1000px){
    .single-product .related ul.products,
    .single-product .related .wc-block-product-template,
    .single-product .wp-block-woocommerce-related-products .wc-block-product-template{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:767px){
    .single-product .related ul.products,
    .single-product .related .wc-block-product-template,
    .single-product .related .wp-block-woocommerce-related-products .wc-block-product-template{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }
}

/* CTD_LISTING_CTA_V5 */
body.woocommerce-shop :is(.wc-block-product,.wc-block-grid__product,ul.products li.product),
body.tax-product_cat :is(.wc-block-product,.wc-block-grid__product,ul.products li.product),
body.tax-product_tag :is(.wc-block-product,.wc-block-grid__product,ul.products li.product),
body.search :is(.wc-block-product,.wc-block-grid__product,ul.products li.product),
body.post-type-archive-product :is(.wc-block-product,.wc-block-grid__product,ul.products li.product){
    gap:8px;
}
body.woocommerce-shop :is(.wp-block-post-title,.wc-block-grid__product-title,.woocommerce-loop-product__title),
body.tax-product_cat :is(.wp-block-post-title,.wc-block-grid__product-title,.woocommerce-loop-product__title),
body.tax-product_tag :is(.wp-block-post-title,.wc-block-grid__product-title,.woocommerce-loop-product__title),
body.search :is(.wp-block-post-title,.wc-block-grid__product-title,.woocommerce-loop-product__title),
body.post-type-archive-product :is(.wp-block-post-title,.wc-block-grid__product-title,.woocommerce-loop-product__title){
    min-height:3.2em;
    margin:0 0 6px !important;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
    color:var(--navy);
    text-align:center;
}
body.woocommerce-shop :is(.wp-block-woocommerce-product-price,.wc-block-grid__product-price,.price),
body.tax-product_cat :is(.wp-block-woocommerce-product-price,.wc-block-grid__product-price,.price),
body.tax-product_tag :is(.wp-block-woocommerce-product-price,.wc-block-grid__product-price,.price),
body.search :is(.wp-block-woocommerce-product-price,.wc-block-grid__product-price,.price),
body.post-type-archive-product :is(.wp-block-woocommerce-product-price,.wc-block-grid__product-price,.price){
    margin:0 0 10px !important;
    font-size:16px;
    font-weight:700;
    color:var(--navy);
    text-align:center;
}
body.woocommerce-shop :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart),
body.tax-product_cat :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart),
body.tax-product_tag :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart),
body.search :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart),
body.post-type-archive-product :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart){
    display:flex !important;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:44px;
    padding:10px 14px !important;
    margin:0;
    box-sizing:border-box;
    border:0 !important;
    border-radius:8px !important;
    background:var(--red) !important;
    color:#fff !important;
    font-size:13px;
    font-weight:700;
    letter-spacing:.01em;
    line-height:1.2;
    text-align:center;
    text-decoration:none !important;
    box-shadow:0 6px 14px rgba(189,31,45,.18);
    transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
body.woocommerce-shop :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart):hover,
body.tax-product_cat :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart):hover,
body.tax-product_tag :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart):hover,
body.search :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart):hover,
body.post-type-archive-product :is(.wp-block-button__link,a.button.add_to_cart_button,.wc-block-components-product-button__button,a.added_to_cart):hover{
    background:#9b1824 !important;
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 10px 18px rgba(189,31,45,.24);
    text-decoration:none !important;
}
body.woocommerce-shop :is(.wp-block-button__link.added,a.button.added,.wc-block-components-product-button__button.added,a.added_to_cart),
body.tax-product_cat :is(.wp-block-button__link.added,a.button.added,.wc-block-components-product-button__button.added,a.added_to_cart),
body.tax-product_tag :is(.wp-block-button__link.added,a.button.added,.wc-block-components-product-button__button.added,a.added_to_cart),
body.search :is(.wp-block-button__link.added,a.button.added,.wc-block-components-product-button__button.added,a.added_to_cart),
body.post-type-archive-product :is(.wp-block-button__link.added,a.button.added,.wc-block-components-product-button__button.added,a.added_to_cart){
    background:var(--navy) !important;
    box-shadow:0 6px 14px rgba(6,50,82,.18);
}
body.woocommerce-shop .wp-block-query-pagination,
body.tax-product_cat .wp-block-query-pagination,
body.tax-product_tag .wp-block-query-pagination,
body.search .wp-block-query-pagination,
body.post-type-archive-product .wp-block-query-pagination{
    display:flex !important;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:40px 0 12px;
    padding:18px 8px 8px;
}
body.woocommerce-shop .wp-block-query-pagination-numbers,
body.tax-product_cat .wp-block-query-pagination-numbers,
body.tax-product_tag .wp-block-query-pagination-numbers,
body.search .wp-block-query-pagination-numbers,
body.post-type-archive-product .wp-block-query-pagination-numbers{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:8px;
}
body.woocommerce-shop .page-numbers,
body.tax-product_cat .page-numbers,
body.tax-product_tag .page-numbers,
body.search .page-numbers,
body.post-type-archive-product .page-numbers{
    min-width:42px;
    height:42px;
    padding:0 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    color:var(--navy) !important;
    font-size:14px;
    font-weight:700;
    text-decoration:none !important;
    box-sizing:border-box;
}
body.woocommerce-shop .page-numbers:hover,
body.tax-product_cat .page-numbers:hover,
body.tax-product_tag .page-numbers:hover,
body.search .page-numbers:hover,
body.post-type-archive-product .page-numbers:hover{
    border-color:var(--navy);
    background:#f3f5f6;
}
body.woocommerce-shop .page-numbers.current,
body.tax-product_cat .page-numbers.current,
body.tax-product_tag .page-numbers.current,
body.search .page-numbers.current,
body.post-type-archive-product .page-numbers.current{
    background:var(--red);
    border-color:var(--red);
    color:#fff !important;
}
body.woocommerce-shop .page-numbers.dots,
body.tax-product_cat .page-numbers.dots,
body.tax-product_tag .page-numbers.dots,
body.search .page-numbers.dots,
body.post-type-archive-product .page-numbers.dots{
    border:0;
    background:transparent;
    min-width:auto;
    height:auto;
    padding:0 4px;
}
body.woocommerce-shop :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous),
body.tax-product_cat :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous),
body.tax-product_tag :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous),
body.search :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous),
body.post-type-archive-product :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous){
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 18px;
    border-radius:8px;
    background:var(--navy);
    color:#fff !important;
    font-size:14px;
    font-weight:700;
    text-decoration:none !important;
    box-shadow:0 6px 14px rgba(6,50,82,.16);
}
body.woocommerce-shop :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous):hover,
body.tax-product_cat :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous):hover,
body.tax-product_tag :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous):hover,
body.search :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous):hover,
body.post-type-archive-product :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous):hover{
    background:#0a466e;
    color:#fff !important;
}
@media(max-width:767px){
    body.woocommerce-shop .page-numbers,
    body.tax-product_cat .page-numbers,
    body.search .page-numbers,
    body.post-type-archive-product .page-numbers{
        min-width:38px;
        height:38px;
    }
    body.woocommerce-shop :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous),
    body.tax-product_cat :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous),
    body.search :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous),
    body.post-type-archive-product :is(.wp-block-query-pagination-next,.wp-block-query-pagination-previous){
        width:100%;
    }
}
/* WooCommerce-pagina's: zijmarge tot de inhoudsbreedte (1180px) past; productkaarten mogen krimpen. */
@media(max-width:1240px){body.woocommerce .site-main,body.woocommerce-page .site-main{padding-inline:16px;box-sizing:border-box}}
/* Ingesloten kaarten en video's blijven binnen de kolom. */
main iframe,main embed,main video{max-width:100%}
