/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* 
0d3e62
f29c15
#1268f1 hellblau
#f5faf4 leichter grüntun
#B9D1320D grün */


body [class*="color-scheme-light"]  { color: white; --wd-link-color: white !important; }

span.colored { color: var(--wd-primary-color); }
span.hinweistext { display: block; padding: 5px 10px; background: var(--wd-alternative-color); color: white; margin-bottom: var(--wd-tags-mb); }
.headlargetext { font-size: 170%; line-height: 150% !important; color: var(--wd-primary-color); }
.headlargetext a { color: #365260 !important; }
.largetext { display: block; font-size: 150%; line-height: 140%; }
.text-larger h1 { font-size: 240%; text-shadow: 0 0 10px rgba(0,0,0,0.5); }

span.button, input[type=submit], .woocommerce-form-return_request__submit, span.button.secondary { background: var(--wd-primary-color); color: white; font-size: 95%; line-height: 130%; padding: 15px 25px !important; border-radius: var(--wd-brd-radius); }
span.button.secondary { background: var(--wd-alternative-color); }
span.button:hover, input[type=submit]:hover, .woocommerce-form-return_request__submit:hover { background: var(--wd-alternative-color); color: white; }
span.button.secondary:hover { background: white; color: var(--wd-primary-color);  }

.color-scheme-light .headlargetext, .color-scheme-light .largetext { color: white; }

.wd-section-stretch-content-no-pd .wpb_single_image .vc_single_image-wrapper img { border-radius: 0 !important; }

.cta .largetext { margin-bottom: 15px; font-size: 120%; }
.cta sup { font-size: 50%; }

.wd-popup img { border-radius: var(--wd-brd-radius); }

body .flavorsubst-badge { border-radius: var(--wd-brd-radius); }


/* HEADER */
:root { --sub-menu-color: #444; }
.page-title .title { font-size: 180% !important; }
body .whb-top-bar .wd-header-text { font-size: 90%; }
body .whb-color-light .wd-header-text { color: white; }

body .wd-sub-menu { color: #444 !important; }

input[type="email"], input[type="date"], input[type="search"], input[type="number"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select, .textarea { border-radius: var(--wd-brd-radius); }

body.tax-pa_hersteller-marke .page-title .wd-nav-product-cat, body.tax-product_tag .page-title .wd-nav-product-cat { display: none !important; }

.wd-dropdown-menu.wd-design-full-width:not(.wd-scroll), .wd-dropdown-menu.wd-design-full-width.wd-scroll .wd-dropdown-inner { padding-top: 10px; padding-bottom: 10px; }
.whb-main-header .wd-design-full-width .vc_row li { list-style: none !important; }
.whb-main-header .wd-design-full-width .vc_row li a { font-size: 90% !important; }
.whb-main-header .wd-design-full-width .vc_row ul { margin-left: 0; padding-left: 0; }
.wd-sub-menu li > a, .whb-main-header .wd-nav-product-cat > li > a { color: var(--wd-link-color); padding: 7px 0 !important; text-transform: none !important; font-size: 85% !important; font-weight: 400; }
.whb-main-header .wd-nav-product-cat > li { display: block; width: 100%; list-style: none !important; }
.whb-main-header .wd-nav-product-cat .wd-cats-element { margin: 10px 0 0 0; }

.menu-item-has-block .wd-mob-nav-html-block .vc_row { margin-left: -12.5px; margin-right: -12.5px; }
.menu-item-has-block .wd-mob-nav-html-block .vc_row .wpb_content_element, .menu-item-has-block .wd-mob-nav-html-block .vc_row .wd-cats-element { margin-bottom: 0; }
.menu-item-has-block .wd-mob-nav-html-block .vc_row .wpb_column { padding-bottom: 0; }

.whb-top-bar-inner p { margin-bottom: 0 !important; }

/* PV PLANER ausblenden */
@media (min-width: 1024px) and (max-width: 1279px) { #menu-item-47667 { display: none !important; } }


/* SHOP */
.product-grid-item .product-labels.labels-rounded { margin: -12px; }
.woocommerce-loop-product__title.product-title { font-size: 90%; line-height: 130%; }
.product-grid-item .price { font-size: 85%; line-height: 130%; }
.product-grid-item .price .amount { font-size: inherit; color: #555; }
.product-grid-item .product-labels { max-width: 100%; width: 100%; }
.product-grid-item .product-labels.labels-rounded .label-with-img.label-attribute-pa_hersteller-marke { background: white; padding: 5px; position: absolute; right: -10px; left: auto; z-index: 10000; }

.teaser-box.product-grid-item { background: var(--wd-alternative-color); color: white; display: flex; justify-content: center; align-items: center; text-align: center; padding: 20px; border-radius: var(--wd-brd-radius); box-shadow: 0 0 4px rgba(0,0,0,0.12); }
.teaser-box.product-grid-item a { color: white; text-decoration: underline; }
.teaser-box.product-grid-item strong { font-size: 120%; }
.teaser-box.product-grid-item .button { background: var(--wd-link-color); text-decoration: none; }

body .wd-cat .wd-entities-title { text-transform: none; font-size: 100%; }

.wd-shop-tools .wd-products-per-page, .wd-shop-tools .woocommerce-ordering, .woocommerce-ordering.wd-style-underline select { font-size: 80%; }
.wd-filter-buttons { border: 2px solid var(--wd-alternative-color); padding: 8px 10px; border-radius: var(--wd-brd-radius); }
.wd-swatches-brands .wd-filter-lable { font-size: 90%; font-weight: 600; }
.wd-swatches-filter:is(.wd-layout-double, .wd-layout-inline) li { margin-bottom: -3px !important; }

body.hideproduct .prepayment-discount, body.hideproduct .legal-price-info, body.hideproduct .delivery-time-info { display: none !important; }

body .products .product .price-unit { font-size: 65%; margin-top: -5px !important; }

body .woodmart-woocommerce-layered-nav .wd-scroll-content { max-height: 400px; }

/* Filter ausblenden bei bestimmten Seiten */
body.tax-pa_hersteller-marke .filters-area.always-open, body.search-results .filters-area.always-open { display: none !important; }

.wc-subcats-of-current { font-size: 90%; /* font-weight: 600; */ }
.wc-subcats-of-current > .wc-subcats-list > .level-1 > a { font-weight: 600; }
.wc-subcats-of-current .wc-subcats-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .75rem;
}
.wc-subcats-of-current .wc-subcats-list li { margin-bottom: 3px; }

.wc-subcats-of-current.has-columns > .wc-subcats-list { display: grid; gap: .5rem; }
.wc-subcats-of-current[data-columns="2"] .wc-subcats-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.wc-subcats-of-current[data-columns="3"] .wc-subcats-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
.wc-subcats-of-current[data-columns="4"] .wc-subcats-list { grid-template-columns: repeat(4, minmax(0,1fr)); }
.wc-subcats-of-current .wc-subcat-link {
  display: flex; align-items: center; gap: .5rem; text-decoration: none;
}
.wc-subcat-thumbwrap { display:inline-flex; width: 40px; height: 40px; overflow:hidden; border-radius:6px; }
.wc-subcat-thumbwrap img { width:100%; height:100%; object-fit:cover; }

.wc-subcats-of-current .wc-subcats-list, .wc-subcats-of-current .wc-subcats-sublist { list-style:none; padding:0; margin:0; }
.wc-subcats-of-current .wc-subcats-sublist { margin:.35rem 0 .5rem 1.25rem; }

.wc-subcats-of-current.has-columns .wc-subcats-list {
  display:grid; gap:.75rem;
}
.wc-subcats-of-current[data-columns="2"] .wc-subcats-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wc-subcats-of-current[data-columns="3"] .wc-subcats-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
.wc-subcats-of-current[data-columns="4"] .wc-subcats-list { grid-template-columns:repeat(4,minmax(0,1fr)); }

.wc-subcats-of-current .wc-subcat-link { display:flex; align-items:center; gap:.5rem; text-decoration:none; }
.wc-subcat-thumbwrap { display:inline-flex; width:40px; height:40px; overflow:hidden; border-radius:6px; }
.wc-subcat-thumbwrap img { width:100%; height:100%; object-fit:cover; }

/* Optional: optische Einrückung im Flat-Modus für Enkel */
.wc-subcats-of-current .wc-subcat-item.is-grandchild .wc-subcat-name::before {
  content:"↳ "; opacity:.7;
}



/* PRODUKTSEITE */
@media (min-width: 1400px) {
  body.single-product .woocommerce-product-gallery { padding: 0 10%; }
}
.product-image-summary { padding-bottom: 45px; }
.summary-inner > .price { margin-bottom: 0; }
.summary-inner > .product_title { font-size: 180%; }
.summary-inner > .price { font-size: 140%; }
.prepayment-discount { margin-bottom: 0; font-weight: bold; }
.summary-inner > .price .savings, body.single-product .wd-fbt-wrap .savings { font-size: 50%; padding: 5px 8px; background: var(--wd-alternative-color); color: white; border-radius: var(--wd-brd-radius); position: relative; top: -5px; }
.summary-inner > .price .savings .amount, body.single-product .wd-fbt-wrap .savings .amount { color: white; }
/* @media (min-width: 1025px) { .summary-inner > .price, .prepayment-discount { display: inline-block; margin-right: 5px; } } */
.price .price-message { background: var(--wd-primary-color); color: white; padding: 8px 10px; display: inline-block; margin-bottom: 20px; font-size: 80%; border-radius: var(--wd-brd-radius); }

.legal-price-info, .product p.wc-gzd-additional-info { font-size: 85%; color: var(--wd-text-color); }
.product p.price-unit, .product p.price-unit .amount { color: var(--wd-text-color); margin-bottom: 0; }
div.quantity input[type="button"] { border: 0; border-radius: 5px; }
.summary-inner .delivery-time-info { text-align: center; }
.delivery-time-info {
  color: green !important;
  font-size: 85% !important;
	font-weight: 600; }
.delivery-time-info::before {
  display: inline-block;
  margin-right: 4px;
  content: '\f139';
  font-family: 'woodmart-font';
  font-weight: 600;
}
.product-labels.labels-rounded .label-with-img { background: white; }
/* .delivery-time-info::after { content: 'Bei Bestellung von Montag-Freitag bis 11 Uhr erfolgt der Versand noch am selben Tag!'; content: 'Bei Bestellung von Montag-Freitag bis 11 Uhr erfolgt der Versand noch am selben Tag!';
  display: block;
  font-size: 90%;
  color: #666;
  margin-top: -3px;
  margin-bottom: 15px; } */

body .wd-wtl-form-fields input[type="email"] { border-radius: var(--btn-accented-brd-radius); }

body .product-design-default .entry-summary .wd-product-brands a { border-radius: 50%; }

@media (min-width: 1025px) { .wd-video-actions { top: 90%; left: 90%; transform: translate(-90%, -90%); } }

.wd-after-add-to-cart { padding: 15px 15px 5px 15px; border-radius: var(--wd-brd-radius); background: white !important; border: 1px solid rgba(0,0,0,0.1); box-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
.wd-after-add-to-cart p { margin-bottom: 10px; font-size: 90%; }
.wd-after-add-to-cart img { margin-bottom: -15px; }

#tab-description img { border-radius: var(--wd-brd-radius); }

.product .product_meta { margin: 0; }
body .wd-before-product-tabs { padding-top: 10px; margin: 0 !important; }
.wd-builder-off .single-product-page > div:not(:last-child) { margin-bottom: 0 !important; }
.wd-before-product-tabs .product_meta { font-size: 80%; }

.product .defect-description:not(:empty) { border: 3px solid red; margin: 1em 0; padding: 20px; font-weight: bold; color: red; }
.woocommerce-product-gallery .product-labels.labels-rounded .product-label.label-term-b-ware { background: red; color: white; font-weight: bold; min-height: 35px; }


/* FREQUENTLY BOUGHT TOGETHER */
body.single-product .wd-fbt-wrap { margin: 70px 0; }
body.single-product .wd-fbt-wrap .wd-fbt-product-heading { line-height: 130%; font-size: 95%; }
body.single-product .wd-fbt-wrap .wd-fbt-product-heading .price { display: block; margin-top: 5px; }
body.single-product .wd-fbt-wrap .slider-title:before { display: none; }
body.single-product .wd-fbt-wrap .savings { display: inline-block; padding: 2px 8px; font-size: 60%; top: 0; }
body.single-product .wd-fbt.wd-design-side .wd-fbt-form { padding: 35px; border-radius: var(--wd-brd-radius); }
body.single-product .wd-fbt-wrap .wd-entities-title { line-height: 1.25; }
:is(.wd-fbt-desc,.wd-fbt-purchase-btn) { margin-top: 0; font-size: 90%; }
body.single-product .wd-fbt-wrap .single_add_to_cart_button { width: 100%; margin: 20px auto 0 auto; }


/* MAILPOET */
#mailpoet_form_1 .mailpoet_paragraph { display: inline !important; float: left !important; line-height: 100% !important; margin-bottom: 0 !important; }
body #mailpoet_form_1 .mailpoet_text { width: 250px !important; padding: 10px !important; height: 50px; border: 1px solid white; color: white; font-size: 100%; }
body #mailpoet_form_1 .mailpoet_paragraph.last { margin-left: -20px; }
#mailpoet_form_1 .mailpoet_text, #mailpoet_form_1  .mailpoet_submit { margin: 0 !important; }
#mailpoet_form_1 .mailpoet_submit { background: var(--wd-alternative-color); color: white; margin-left: -15px !important; width: 160px !important; }


/* FORMULAR */
.wpcf7-form .refdynhidden, .hidden-fields-container { display: none; visibility: hidden; }


/* MARKEN */
body .wd-brand-item img { max-height: 150px; }


/* FOOTER */
body .wd-prefooter { padding-bottom: 0; }
body .wd-prefooter [class*="wd-section-stretch"] { overflow: visible; }
[class*="color-scheme-light"] .footer-widget { color: white; --wd-link-color: white !important; }
.footer-widget.widget_nav_menu { font-size: 90%; }
.footer-widget .mailpoet_form { margin-bottom: 20px; }
.footer-column-2 .widget, .footer-column-3 .widget { margin-bottom: 15px; padding-bottom: 0; border: 0; }

body .scrollToTop { right: 48%; }

/* TRUSTED SHOPS */
.footer-container .trusted-stars-service-widget .wrapper { display: inline !important; margin: 0 !important; }
.footer-container .trusted-stars-service-widget .wrapper .content, .footer-container .trusted-stars-service-widget .wrapper .content .grade-summary, .footer-container .trusted-stars-service-widget .wrapper .content .grade-count { color: white; }
.footer-container .trusted-stars-service-widget .wrapper .content .logo { background-color: white; }


/* CHECKOUT */
.woocommerce-info h4 { color: white; margin-bottom: 5px; }

.cart-totals-section .shop_table { font-size: 90%; }

.product_list_widget > li .wd-entities-title { margin-bottom: 5px !important; font-size: 90% !important; line-height: 130%; }
body #billing_country .select2-container--default .select2-selection, body .select2-container--default .select2-selection--single { border-radius: var(--wd-brd-radius) !important; }

body .shopping-cart-widget-footer > * { margin-bottom: 3px; font-size: 80%; }
body .woocommerce-mini-cart__total { margin-top: 15px; padding-block: 0; font-size: 110%; padding: 10px 0 5px 0; }
body .woocommerce-mini-cart__buttons { margin-top: 20px; }

ul#shipping_method { font-size: 90%; }
tr.order-total th { font-size: 110%; }
tr.order-total strong .amount { font-size: 140%; }
table.shop_table :is(tbody, tfoot) th { font-size: 90%; }

#order_review .wc-gzd-checkbox-placeholder, #checkbox_parcel_delivery_notification_field { margin: 20px 5px; line-height: 135%; }

.woocommerce-checkout-review-order #order_review_heading { margin-top: 40px; }
.woocommerce-gzd-legal-checkbox-text a { text-decoration: underline; }
.legal.validate-required, .wc-gzd-checkbox-placeholder-photovoltaic_systems .photovoltaic_systems { border: 2px solid red !important; padding: 10px !important; }

body :is(.woocommerce-error, .woocommerce-info) p { margin-bottom: 10px; }
body .wd-notice a.btn, body :is(.woocommerce-error, .woocommerce-message .btn, .woocommerce-info) a.btn { color: #444; text-decoration: none; background: white; }

body .wc-proceed-to-checkout .checkout-button { padding: 25px 15px; font-size: 100%; }


/* ABLENKUNG CHECKOUT */
.woocommerce-cart .whb-top-bar, .woocommerce-cart .header-banner, .woocommerce-checkout .whb-top-bar, .woocommerce-checkout .header-banner, .woocommerce-checkout .whb-col-center, .woocommerce-checkout .whb-header-bottom, .woocommerce-checkout .wd-prefooter, .woocommerce-checkout .main-footer, .woocommerce-checkout .wd-toolbar { display: none !important; }
.woocommerce-cart .website-wrapper, .woocommerce-checkout .website-wrapper { margin-top: 0 !important; }
.woocommerce-cart .whb-header, .woocommerce-checkout .whb-header { padding-top: 0 !important; }
.woocommerce-cart .whb-main-header { position: relative !important; }

body.woocommerce-checkout .woocommerce-gzd-checkout.woocommerce-checkout .shop_table, .woocommerce-gzd-checkout.woocommerce-checkout .shop_table, body.woocommerce-checkout #order_review #payment { overflow-x: auto; margin-bottom: 20px; padding: 5px 15px; border-radius: var(--wd-brd-radius); background: white !important; box-shadow: 1px 1px 2px rgba(0,0,0,0.05); }

/* BLOG */
.wd-entry-meta .meta-author, body.single-post .title-blog .yoast-breadcrumb, .wd-post .post-date, .entry-header .post-date { display: none !important; }
body.single-post .post-single-page .article-inner { max-width: 800px; margin: 30px auto; }
body.single-post .post-single-page .article-inner p a, body.single-post .post-single-page .article-inner li a { text-decoration: underline; }
body.single-post .post-single-page .article-inner p img { border-radius: var(--wd-brd-radius); }
body.single-post .post-single-page .article-inner .products { margin-bottom: 50px; }

body.single-post .post-single-page .article-inner .cta { width: 150%; margin-left: -25%; margin-right: -25%; }


@media (max-width: 960px) { 
	
	.text-larger h1 {  font-size: 180%; }
	body .wd-brand-item img {  max-height: 100px; }
	
	.page-title .title { font-size: 125% !important; }
	
	.largetext { font-size: 125%; line-height: 130%; }
	
	.wd-nav-mobile > li > ul li > a { padding: 5px 20px !important; }
	
	.teaser-box.product-grid-item { font-size: 90%; line-height: 140%; }
	.teaser-box.product-grid-item span.button { font-size: 90%; padding: 10px 15px !important; margin: 0 -15px; }
	
	.summary-inner > .product_title { font-size: 140%; font-weight: 600; }
	
	.main-page-wrapper table { font-size: 80%; overflow: scroll; margin-left: -15px; }
	
	button#mdp-readabler-trigger-button { padding: 13px !important; }
	
	.wd-after-add-to-cart .vorteile { font-size: 0; line-height: 0; }
    .wd-after-add-to-cart .vorteile strong { font-size: 15px; line-height: 180%; display: block; }
	
	.siegel-fuehrend, .siegel-fuehrend p { text-align: center; }
	.siegel-fuehrend .button { display: block; max-width: 90%; margin: 3px auto; }
	
	body .scrollToTop { bottom: 50px; }
	
}