/**
 * BEAM frontend-stijlen (Upvision Custom Functions)
 * Verhuisd uit Customizer > Aanvullende CSS op 30-09-2026. Dode regels (Royal Addons, GTranslate,
 * .smooth-bounce, .elementor-element-53d7415, shop_attributes, .wcf-checkout-wrap) zijn niet meegenomen.
 * Wordt geladen via includes/frontend-styles.php.
 */

/* Algemeen */
body {
	overflow-x: hidden !important;
	font-size: 16px !important;
}

/* Productkaart (loop-item 7986): Bestel-knop */
:is(.e-loop-item .elementor-widget-woocommerce-product-add-to-cart, .woocommerce div.product .e-loop-item .elementor-widget-woocommerce-product-add-to-cart) form.cart .button {
	background: #F5A624 !important;
	text-align: center;
	color: #fff !important;
	padding: 12px 18px !important;
	white-space: nowrap !important;
	border-radius: 7px !important;
}
:is(.e-loop-item .elementor-widget-woocommerce-product-add-to-cart, .woocommerce div.product .e-loop-item .elementor-widget-woocommerce-product-add-to-cart) form.cart .button:hover {
	background: #3F848F !important;
}

/* Knop "Meer producten laden" onder de productgrid */
@media (min-width: 767px) {
	.elementor-widget-loop-grid > .elementor-widget-container > .elementor-button-wrapper .elementor-button {
		padding: 12px 20px !important;
	}
}

/* Prijs op aanvraag */
a.price-on-request {
	color: #00848E !important;
	font-size: 25px;
	text-decoration: none !important;
}

/* Productpagina (template 17425) */
.spec-table-container {
	border: none !important;
}
.woocommerce-tabs ul.wc-tabs {
	margin-left: -1px !important;
}
/* Containers die door de 360-script display:none krijgen, zichtbaar houden (360-knoppen: buiten deze offerte) */
.elementor-element-37e7211,
.elementor-element-9fbe65f,
.elementor-element-4503821,
.elementor-element-4c6c137,
.elementor-element-ae4672f {
	display: flex !important;
}

/* Reviewformulier */
.woocommerce #review_form #respond textarea,
#review_form input#author,
#review_form input#email {
	background: #fff;
}
.woocommerce #review_form #respond .form-submit input {
	left: auto;
	background: #00848E;
	color: #fff;
}

/* Checkout: knop Bestelling plaatsen */
#place_order,
button[name="woocommerce_checkout_place_order"] {
	background: #00848E !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 16px 32px !important;
	width: 100% !important;
	cursor: pointer !important;
	transition: background .2s, transform .1s !important;
}
#place_order:hover {
	background: #006870 !important;
	transform: translateY(-1px) !important;
}

/* Checkout: koppen */
h3#ship-to-different-address,
.woocommerce-checkout h3 {
	color: #00848E !important;
	border-bottom: 2px solid #006870 !important;
	padding-bottom: 8px !important;
	text-transform: uppercase !important;
	letter-spacing: .5px !important;
}

/* Checkout: verzendmethodes */
.woocommerce-shipping-methods,
#shipping_method {
	background: #e0f4f5 !important;
	border: 1px solid #7fd4d9 !important;
	border-radius: 8px !important;
	padding: 16px !important;
}
.woocommerce-shipping-methods li.active,
#shipping_method li input:checked ~ label {
	color: #00848E !important;
	font-weight: 600 !important;
}

/* Checkout: land-/provinciekeuze */
span.select2-selection.select2-selection--single {
	border: 1px solid #00848E !important;
}

/* Categorie met eigen Elementor-inhoud ([upv_cat_content]): standaard hero van de archieftemplate verbergen */
.upv-has-cat-content .upv-cat-hero {
	display: none !important;
}

/* Infoweergave categorie (eigen inhoud): alleen producten, over de volle breedte, 5 kolommen */
.upv-has-cat-content .upv-cat-products {
	width: 100% !important;
	max-width: 100% !important;
	flex-basis: 100% !important;
}
.upv-has-cat-content .upv-cat-products .elementor-loop-container {
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
@media (max-width: 1024px) {
	.upv-has-cat-content .upv-cat-products .elementor-loop-container {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 767px) {
	.upv-has-cat-content .upv-cat-products .elementor-loop-container {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}


/* Subcategorie-tegels op categoriepagina's ([upv_subcategories], 2026-09-30) */
.upv-subcats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.upv-subcat{display:flex;flex-direction:column;border:1px solid #ececec;border-radius:10px;background:#fff;color:#222;text-decoration:none;overflow:hidden;transition:border-color .15s ease}
.upv-subcat:hover,.upv-subcat:focus-visible{border-color:#00848e}
.upv-subcat__img{display:block;position:relative;aspect-ratio:4/3;background:#fff;overflow:hidden}
.upv-subcat__img:empty{background:#f7f7f7}
.upv-subcat__img img{position:absolute;top:20px;left:20px;width:calc(100% - 40px)!important;height:calc(100% - 40px)!important;max-width:none;object-fit:contain;margin:0}
.upv-subcat__name{display:block;padding:12px 16px 16px;font-family:"Red Hat Display",sans-serif;font-size:16px;font-weight:600;line-height:1.3;color:#00848e}
.upv-subcats-all{margin:20px 0 0}
.upv-subcats-all a{font-weight:600;color:#00848e;text-decoration:none}
.upv-subcats-all a:hover{text-decoration:underline}
@media (max-width:1024px){.upv-subcats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.upv-subcats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.upv-subcat__img img{top:12px;left:12px;width:calc(100% - 24px)!important;height:calc(100% - 24px)!important}.upv-subcat__name{padding:10px 12px 12px;font-size:15px}}

/* Filters categoriepagina (2026-10-12): lege filters verbergen, labels en scheidingslijnen */
.upv-cat-filters .upv-filter:not(:has(.jet-filter-row:not(.jet-filter-row-hide))){display:none}
.upv-cat-filters .upv-filter{padding-bottom:12px;border-bottom:1px solid #e9e9ea}
.upv-cat-filters .upv-filter .jet-filter-label{font-weight:600;font-size:15px;color:#1a1a1a;margin-bottom:6px}

/* Productkaarten: volledige titel, maximaal 2 regels (2026-10-12) */
.e-loop-item .elementor-widget-woocommerce-product-title .elementor-heading-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}

/* Laad meer (JetSmartFilters-paginering) in de stijl van de oude knop */
.upv-filters-pagination .jet-filters-pagination{display:flex;justify-content:center;margin-top:24px}
.upv-filters-pagination .jet-filters-pagination__load-more .jet-filters-pagination__link{display:inline-block;padding:12px 28px;border-radius:6px;background:#00848e;color:#fff;font-weight:600;font-size:15px;line-height:1.2;cursor:pointer;transition:background .2s}
.upv-filters-pagination .jet-filters-pagination__load-more .jet-filters-pagination__link:hover{background:#006d75}

/* Offerteknop op de productpagina bij producten zonder prijs */
.upv-quote{margin:0 0 16px;text-align:left}
/* Specifiek genoeg om WooCommerce .button.alt (paars) te overstemmen; zelfde geel als de Bestel-knoppen */
.woocommerce .upv-quote a.button.alt.upv-quote-button,.upv-quote a.upv-quote-button{display:inline-block;padding:12px 24px;border:0;border-radius:7px;background:#f5a624;color:#fff;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;text-transform:none}
.woocommerce .upv-quote a.button.alt.upv-quote-button:hover,.upv-quote a.upv-quote-button:hover,.woocommerce .upv-quote a.button.alt.upv-quote-button:focus-visible{background:#e0921a;color:#fff}
/* Lege btw-schakelaar (verborgen bij producten zonder prijs) neemt geen ruimte meer in, zodat de offerteknop links staat */
.elementor-element:has(> .elementor-element .upv-quote) > .elementor-widget-shortcode:not(:has(input,button,label,a)){display:none}

/* Filters op mobiel en tablet: paneel achter de knop "Filters" */
.upv-filters-open,.upv-filters-panelhead,.upv-filters-done,.upv-filters-overlay{display:none}
@media (max-width:1024px){
.upv-cat-filters{position:fixed!important;top:0;left:0;bottom:0;width:min(360px,88vw)!important;max-width:none!important;z-index:100000;background:#fff;overflow-y:auto;padding:16px 20px 24px!important;transform:translateX(-105%);transition:transform .25s ease;margin:0!important}
body.upv-filters-is-open .upv-cat-filters{transform:none}
body.upv-filters-is-open{overflow:hidden}
.upv-filters-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:99999;opacity:0;pointer-events:none;transition:opacity .25s}
body.upv-filters-is-open .upv-filters-overlay{opacity:1;pointer-events:auto}
.upv-cat-filters .elementor-widget-heading{display:none}
.upv-filters-open{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin:0 0 16px;padding:10px 18px;border:1px solid #00848e;border-radius:6px;background:#fff;color:#00848e;font-weight:600;font-size:15px;cursor:pointer}
.upv-filters-panelhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:18px;color:#1a1a1a}
.upv-filters-close{background:none!important;border:0!important;font-size:30px;line-height:1;color:#1a1a1a!important;cursor:pointer;padding:0 4px!important}
.upv-filters-done{display:block;position:sticky;bottom:0;width:100%;margin-top:16px;padding:12px;border:0;border-radius:6px;background:#00848e;color:#fff;font-weight:600;font-size:15px;cursor:pointer}
}
@media (max-width:1024px){.upv-cat-products-row .upv-cat-products,.upv-cat-products .upv-cat-products-col{width:100%!important;max-width:100%!important}}
/* Mobiel: taalkeuze in de header liep 19px buiten beeld (horizontaal scrollen), 2026-10-12 */
@media (max-width:767px){.elementor-element-17a866a,.elementor-element-17a866a .elementor-widget-container{max-width:100%}.elementor-element-17a866a .trp-shortcode-switcher,.elementor-element-17a866a .trp-language-switcher{width:auto!important;max-width:100%!important}}
/* Mobiel: topbalk-iconenlijst (negatieve marges) en vangnet tegen horizontaal scrollen */
@media (max-width:767px){.elementor-element-4605176 .elementor-icon-list-items{margin-left:0!important;margin-right:0!important;max-width:100%}html,body{overflow-x:clip}}
/* Filterpaneel: alles onder elkaar in één kolom, paneel scrolt zelf */
@media (max-width:1024px){.upv-cat-filters,.upv-cat-filters>.e-con-inner{flex-wrap:nowrap!important;flex-direction:column!important;height:auto}.upv-cat-filters>.e-con-inner{width:100%!important;max-width:100%!important;padding:0!important}.upv-cat-filters .elementor-widget{width:100%!important;max-width:100%!important}.upv-cat-filters{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}}
/* Zoeken links, sorteren rechts boven de producten (template Webshop Basis, 2026-10-12) */
.elementor-element-548035c>.e-con-inner{justify-content:space-between!important;align-items:center!important;flex-wrap:nowrap!important;gap:16px}
.elementor-element-ec2913a{flex:0 1 560px!important;width:auto!important;padding-left:0!important;padding-right:0!important}
.elementor-element-26a8c83{flex:0 0 auto!important;width:auto!important;justify-content:flex-end!important;align-items:center!important;padding-left:0!important;padding-right:10px!important}
@media (max-width:1024px){
.elementor-element-548035c>.e-con-inner{flex-wrap:wrap!important;gap:12px}
.elementor-element-ec2913a{flex:1 1 100%!important;width:100%!important;padding:0!important}
.elementor-element-26a8c83{flex:1 1 100%!important;width:100%!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;padding:0!important}
.elementor-element-26a8c83 .upv-filters-open{margin:0}
}
@media (max-width:1024px){.elementor-element-548035c>.e-con-inner{padding-bottom:8px!important}.elementor-element-8226379>.e-con-inner{padding-top:0!important}}

/* Zoekbalk header (Elementor search widget): vergrootglas gecentreerd in de knop (stond links door vaste breedte + padding) */
.e-search-form .e-search-submit{justify-content:center}
.e-search-form .e-search-submit:not(:has(span)) :is(svg,i){margin-inline:0!important} /* Elementor reserveert 8px rechts voor een knoptekst die er niet is */

/* Homepage: paginatitel "Home" van het thema niet tonen, maar als enige H1 laten staan voor zoekmachines/schermlezers (hero-koppen zijn H2 en worden door de carrousel gedupliceerd). Echte H1-tekst oppakken in de SEO-ronde (3.6). */
.home .page-header{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Webshop-voorpagina: categorieën in plaats van filters (body class upv-shop-root, zie woocommerce-category-archive.php) */
.upv-shop-root .upv-cat-filters .upv-filter,.upv-shop-root .upv-cat-filters .upv-filters-active,.upv-shop-root .upv-cat-filters .upv-filters-reset{display:none!important}
.upv-shop-cats,.upv-shop-cats ul{list-style:none;margin:0;padding:0}
.upv-shop-cats{margin-top:12px}
.upv-shop-cats>li{padding:12px 0;border-bottom:1px solid #e9e9ea}
.upv-shop-cats a{text-decoration:none}
.upv-shop-cats .upv-shop-cat-top{display:block;font-family:Inter,sans-serif;font-size:15px;font-weight:600;line-height:24px;color:#1a1a1a;margin-bottom:4px}
.upv-shop-cats ul a{display:block;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:24px;color:#2b2b2b;padding:2px 0}
.upv-shop-cats a:hover,.upv-shop-cats a:focus-visible{color:#00848e}
.upv-shop-cat-count{font-weight:400;color:#8a8d91}

@media (max-width:1024px){
.upv-shop-root .upv-cat-filters .elementor-element-04fa056{display:block!important}
.upv-shop-root .upv-cat-filters .elementor-element-04fa056 .elementor-heading-title{display:none}
.upv-shop-root .upv-filters-done{display:none!important}
.upv-shop-cats{margin-top:0}
}

/* Categoriekaarten (Loop Grid .upv-subcats-loop): rijen gecentreerd, onvolledige laatste rij in het midden */
.upv-subcats-loop .elementor-loop-container{display:flex!important;flex-wrap:wrap;justify-content:center;gap:20px}
.upv-subcats-loop .elementor-loop-container>.e-loop-item{flex:0 0 calc((100% - 60px) / 4);max-width:calc((100% - 60px) / 4)}
@media (max-width:1024px){.upv-subcats-loop .elementor-loop-container>.e-loop-item{flex-basis:calc((100% - 40px) / 3);max-width:calc((100% - 40px) / 3)}}
@media (max-width:767px){.upv-subcats-loop .elementor-loop-container{gap:12px}.upv-subcats-loop .elementor-loop-container>.e-loop-item{flex-basis:calc((100% - 12px) / 2);max-width:calc((100% - 12px) / 2)}}
/* Knop "Alle producten" onder de categoriekaarten: gecentreerd, geel zoals de andere knoppen */
.upv-subcats-all{text-align:center;margin:28px 0 0}
.upv-subcats-all a.upv-btn-all{display:inline-block;padding:12px 28px;border-radius:7px;background:#f5a624;color:#fff;font-family:Inter,sans-serif;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none}
.upv-subcats-all a.upv-btn-all:hover,.upv-subcats-all a.upv-btn-all:focus-visible{background:#e0921a;color:#fff}

/* Categorieboom boven de filters (categoriepagina's) */
.upv-cat-tree{margin:0 0 24px;padding:0 0 16px;border-bottom:1px solid #e9e9ea}
.upv-cat-tree__title{margin:0 0 10px;font-family:"Red Hat Display",sans-serif;font-size:20px;font-weight:700;line-height:1.1;color:#00848e}
.upv-cat-tree ul{list-style:none;margin:0;padding:0}
.upv-cat-tree ul ul{padding:2px 0 6px 12px}
.upv-cat-tree li{margin:0;padding:0}
.upv-cat-tree a{display:inline-block;padding:3px 0;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:1.5;color:#2b2b2b;text-decoration:none}
.upv-cat-tree>ul>li>a,.upv-cat-tree summary>a{font-size:15px;font-weight:600;color:#1a1a1a}
.upv-cat-tree a:hover,.upv-cat-tree a:focus-visible,.upv-cat-tree a.is-active{color:#00848e}
.upv-cat-tree a.is-current{color:#00848e;font-weight:700}
.upv-cat-tree summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none}
.upv-cat-tree summary::-webkit-details-marker{display:none}
.upv-cat-tree summary::after{content:"";flex:0 0 auto;width:7px;height:7px;margin-right:4px;border-right:2px solid #8a8d91;border-bottom:2px solid #8a8d91;transform:rotate(-45deg);transition:transform .15s}
.upv-cat-tree details[open]>summary::after{transform:rotate(45deg)}
@media (max-width:1024px){
.upv-cat-filters .elementor-widget-heading:has(.upv-cat-tree){display:block!important}
.upv-cat-filters .elementor-widget-heading:has(.upv-cat-tree) .elementor-heading-title{display:none}
}

/* Mobiel: producttitels in de tegels tot 3 regels (smallere kolom in de productweergave van hoofdcategorieën) */
@media (max-width:767px){.e-loop-item .elementor-widget-woocommerce-product-title .elementor-heading-title{-webkit-line-clamp:3;line-clamp:3;min-height:3.9em}}

/* Mobiel: hamburger (mega menu) groter aanklikbaar, minimaal 44x44 */
@media (max-width:1024px){.elementor-location-header .e-n-menu-toggle{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px}.elementor-location-header .e-n-menu-toggle[aria-expanded="true"]{background:#e6f3f4!important}.elementor-location-header .e-n-menu-toggle .e-n-menu-toggle-icon{background:transparent!important}}

/* Homepage hero: achtergrondvideo (JS in includes/frontend-styles.php), 30-10-2026 */
.upv-hero-video{position:relative;overflow:hidden}
.upv-hero-video>.upv-hero-video__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:0;transition:opacity .8s ease;pointer-events:none}
.upv-hero-video>.upv-hero-video__media.is-playing{opacity:1}
.upv-hero-video::before{z-index:1}
.upv-hero-video>:not(.upv-hero-video__media){position:relative;z-index:2}

/* Productkaarten (loop): de link "Bekijk winkelwagen" na AJAX toevoegen verbergen, de slide-out winkelwagen opent al. Liep uit de kaart. 17-11-2026 */
.e-loop-add-to-cart-form-container a.added_to_cart{display:none!important}

/* Checkout: notitieveld alleen in hoogte te vergroten (Jelle 18-11) */
textarea#order_comments,.woocommerce-additional-fields textarea{resize:vertical!important;max-width:100%!important;box-sizing:border-box}

/* Productkaart: Bestel-knop blijft binnen de kaart, ook met vinkje na toevoegen (Jelle 18-11) */
.e-loop-item .e-loop-add-to-cart-form-container,.e-loop-item .e-loop-add-to-cart-form{max-width:100%;min-width:0}
.e-loop-item .add_to_cart_button{max-width:100%;box-sizing:border-box}
.e-loop-item .add_to_cart_button.added,.e-loop-item .add_to_cart_button.loading{padding-left:10px!important;padding-right:10px!important}
.e-loop-item .add_to_cart_button.added::after,.e-loop-item .add_to_cart_button.loading::after{margin-left:4px!important}
