/*
Theme Name: De Jonge
Template: astra
Version: 1.0
*/

/* =========================================================
   GENERAL / BASE
========================================================= */

.wp-block-media-text__media img {
	border-radius: 30px;
}

.widget-title {
	font-weight: 500 !important;
	margin-bottom: 2em !important;
}

/* =========================================================
   HEADER
========================================================= */

body:not(.ast-theme-transparent-header) .site-header {
	box-shadow: 0 1.5rem 4rem rgba(25, 25, 30, .05) !important;
}

#ast-fixed-header .main-header-bar {
	box-shadow: 0 1.5rem 4rem rgba(25, 25, 30, .05) !important;
}

/* =========================================================
   LAYOUT / CONTAINER
========================================================= */

.woocommerce-page .site-content .ast-container {
	width: 100%;
	max-width: 1460px;
	padding: 60px 30px;
}

#secondary {
	margin-top: 0;
}

/* =========================================================
   WOOCOMMERCE - PRODUCTS GRID
========================================================= */

.woocommerce ul.products li.product {
	border: 1px solid #e5e5e5;
	box-sizing: border-box;
	border-radius: 30px;
}

.woocommerce ul.products li.product a img {
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}

.woocommerce-js ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
	padding-bottom: 1em;
}

/* Product buttons hidden */
.ast-woo-product-category .ast-woo-product-category-inner-wrap .button,
.woocommerce ul.products li.product .ast-woo-product-category-buttons,
.woocommerce ul.products li.product .ast-on-card-button {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}
.woocommerce ul.products li.product .view-product-btn {
	display: block;
	text-align: center;
	box-sizing: border-box;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap, .woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap {
	margin-bottom: 0 !important; 
}

.ast-filter-wrap .ast-woo-sidebar-widget.widget {
	margin-bottom: 0 !important;
}


/* =========================================================
   PRODUCT DETAIL PAGE
========================================================= */

div.product .woocommerce-product-gallery__image .flex-active-slide,
div.product .woocommerce-product-gallery__image img {
	border-radius: 30px !important;
}

div.product .ast-woocommerce-product-gallery__image,
div.product .ast-woocommerce-product-gallery__image img,
div.product .ast-woocommerce-product-gallery__image.flex-active-slide:after {
	border-radius: 5px !important;
}

div.product .product_title {
	margin-bottom: 0 !important;
}

div.product .product-subtitle {
	margin-bottom: 1.5em;	
	font-size: 1.2em;
}

div.product .product-cta-title {
	    margin-top: 1.5em;
}
div.product.ast-product-tabs-layout-distributed .ast-distributed-header {
	font-size: 150% !important;
}

.product-usp {
	list-style: none;
 	padding: 0;
    margin: 0 0 1.75em 0;
}

.product-usp .fas {
    color: #16a34a;
    margin-right: 8px;
}

.car-specs .nap-logo {
	height: 25px;
	width: 50px;
	margin-left: 10px
}

.car-specs .energielabel {
	height: 20px;
}

.car-specs h3 {
    margin: 0 0 15px;
}

.car-specs ul {
    list-style: none;
    padding: 0 0 20px;
    margin: 0 0 60px;
    columns: 2;
    column-gap: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.car-specs li {
    break-inside: avoid;
    margin-bottom: 15px;
}

.car-specs li .spec_label {
	display: block;
	color: #555555;
	font-size: 80%;
	line-height: 1.1;
}


@media (max-width: 768px) {
    .car-specs ul {
        columns: 1;
    }
}

.car-options h3 {
    margin: 0 0 15px;
}

.car-options ul {
    list-style: none;
    padding: 0 0 20px;
    margin: 0 0 60px;
    columns: 2;
    column-gap: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.car-options li {
    break-inside: avoid;
    margin-bottom: 10px;
}

.car-options .fas {
    color: #16a34a;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .car-options ul {
        columns: 1;
    }
}


/* =========================================================
   PRODUCT HEADER / CUSTOM ELEMENTS
========================================================= */

.custom-product-header {
	padding: 1.2em 1.2em 0 1.2em;
}

.custom-product-header .product-merk {
	color: #919191;
}

.custom-product-header .product-uitvoering {
	color: #919191;
	margin-bottom: 1em;
    display: block;
    line-height: 1.4;
}


/* =========================================================
   PRODUCT FOOTER / CUSTOM ELEMENTS
========================================================= */

.custom-product-footer {
	padding: 0 1.2em;
}

.product-badges {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 1.5em;


}

.product-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 1;
	background: #f1f1f1;
	border-radius: 20px;
	padding: 4px 10px;
	font-size: 0.8rem;
	color: #333;
	white-space: nowrap;
}

.product-badge i {
	color: #555;
}


.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	margin-bottom: 0;
}

/* Push the footer to the bottom */
.custom-product-footer {
    margin-top: auto;
}



/* =========================================================
   WIDGETS / FILTERS
========================================================= */

.wpc-filter-title {
	font-size: 17px !important;
	font-weight: 700 !important;
	margin-bottom: .5em !important;
}

.wpc-filter-link {
	color: #000;
}

.wpc-filters-section {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #E5E5E5;
}
.wpc-filters-section.wpc-closed {
	padding-bottom: 15px;
}

.wpc-filters-range-column input[type=number].wpc-filters-range-max,
.wpc-filters-range-column input[type=number].wpc-filters-range-min {
	padding-right: 0 !important;
}

/* =========================================================
   PRICE SLIDER FIXES
========================================================= */

.wc-block-product-filter-price-slider .text input[type=text] {
	max-width: 96px;
}

.wc-block-product-filter-price-slider__left,
.wc-block-product-filter-price-slider__right {
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.wc-block-components-price-slider {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.widget .wc-block-components-price-slider__range-input-wrapper {
	width: 100%;
}

/* =========================================================
   WOOCOMMERCE ORDERING / RESULT INFO
========================================================= */

.woocommerce .woocommerce-ordering select {
	max-width: 200px !important;
	border: 2px solid #dcdcdc;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 14px;
}

.woocommerce-result-count {
	font-weight: 500;
	line-height: 1.23em;
	font-size: 1.3888888888889rem;
}

/* =========================================================
   SIDEBAR / LAYOUT FIXES
========================================================= */

@media (min-width: 1080px) {
	.ast-left-sidebar #primary {
		border-left: 0;
	}

	.ast-left-sidebar #secondary {
		border-right: 0;
	}
}

/* =========================================================
   RESPONSIVE / GLOBAL FIXES
========================================================= */

@media (min-width: 1080px) {
	.ast-left-sidebar #primary {
		border-left: 0;
	}

	.ast-left-sidebar #secondary {
		border-right: 0;
	}
}

.woocommerce-page .site-content .ast-container { 
	flex-wrap:wrap;
}

.woocommerce-page .site-content .shop-header {
	width: 100%;
}
@media (max-width: 1080px) {
	.ast-left-sidebar #content > .ast-container {
	  flex-direction: column !important;
	}
}

@media (max-width: 1080px) {
    .ast-page-builder-template.ast-left-sidebar #secondary, .ast-page-builder-template.ast-right-sidebar #secondary {
		padding-left: 0 !important;
		padding-right: 0  !important;
	}
}


h1, h2, h3, h4, h5, h6 {
	text-wrap: balance !important;
}

hr {
	background-color: #e5e5e5;
}



/* Forceer ingeklapte mobiele filterwidget tot 1024px 
@media (max-width: 1024px) {
    body .wpc-filters-widget {
        display: none; 
    }

    body .wpc-mobile {
        display: block !important;
    }
}
*/