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

/* Baustoffpilot shop cleanup - start */
:root {
  --bd-red: #d71920;
  --bd-dark: #141B24;
  --bd-ink: #141B24;
  --bd-muted: #6B7683;
  --bd-line: #E3E8EF;
  --bd-soft: #F6F7F8;
}

body.woocommerce .site-logo .wd-logo img,
body.woocommerce-page .site-logo .wd-logo img,
body.page-id-10074 .site-logo .wd-logo img {
  display: none !important;
}

body.woocommerce .site-logo .wd-logo,
body.woocommerce-page .site-logo .wd-logo,
body.page-id-10074 .site-logo .wd-logo {
  display: inline-flex !important;
  align-items: center;
  min-height: 42px;
  text-decoration: none !important;
}

body.woocommerce .site-logo .wd-logo:before,
body.woocommerce-page .site-logo .wd-logo:before,
body.page-id-10074 .site-logo .wd-logo:before {
  content: "BAUWERK DIREKT";
  color: var(--bd-dark);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .04em;
}

body.woocommerce .wd-prefooter,
body.woocommerce .prefooter,
body.woocommerce .footer-sidebar,
body.woocommerce .footer-container,
body.woocommerce .copyrights-wrapper,
body.woocommerce-page .wd-prefooter,
body.woocommerce-page .prefooter,
body.woocommerce-page .footer-sidebar,
body.woocommerce-page .footer-container,
body.woocommerce-page .copyrights-wrapper,
body.page-id-10074 .wd-prefooter,
body.page-id-10074 .prefooter,
body.page-id-10074 .footer-sidebar,
body.page-id-10074 .footer-container,
body.page-id-10074 .copyrights-wrapper {
  display: none !important;
}

body.tax-product_cat .page-title {
  display: none !important;
}

body.tax-product_cat .sidebar-container {
  display: none !important;
}

body.tax-product_cat .content-layout-wrapper {
  display: block !important;
}

body.tax-product_cat .site-content {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.tax-product_cat .main-page-wrapper {
  padding-top: 0 !important;
}

body.tax-product_cat .main-page-wrapper > .container {
  max-width: 1180px !important;
}

body.tax-product_cat .term-description {
  margin: 0 0 28px;
  background: var(--bd-dark);
  color: #fff;
  padding: 30px 34px;
  border-radius: 8px;
}

body.tax-product_cat .term-description h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 34px;
  line-height: 1.12;
}

body.tax-product_cat .term-description p {
  max-width: 820px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.55;
}

body.tax-product_cat .shop-loop-head,
body.tax-product_cat .wd-shop-tools {
  border-top: 1px solid var(--bd-line);
  border-bottom: 1px solid var(--bd-line);
  padding: 14px 0;
  margin-bottom: 22px;
}

body.woocommerce .wd-header-my-account .wd-tools-text,
body.woocommerce .wd-header-my-account .wd-tools-text span,
body.woocommerce-page .wd-header-my-account .wd-tools-text,
body.woocommerce-page .wd-header-my-account .wd-tools-text span {
  color: transparent !important;
  font-size: 0 !important;
}

body.woocommerce .wd-header-my-account .wd-tools-text:after,
body.woocommerce-page .wd-header-my-account .wd-tools-text:after {
  content: "Mein Konto";
  color: var(--bd-dark);
  font-size: 13px;
}

body.tax-product_cat .wd-products-per-page .per-page-title {
  color: transparent !important;
  font-size: 0 !important;
}

body.tax-product_cat .wd-products-per-page .per-page-title:after {
  content: "Anzeigen";
  color: var(--bd-muted);
  font-size: 13px;
}

body.tax-product_cat .woocommerce-ordering select {
  font-size: 0 !important;
}

body.tax-product_cat .woocommerce-ordering select option {
  font-size: 13px;
}

body.tax-product_cat .woocommerce-ordering:before {
  content: "Sortierung";
  margin-right: 8px;
  color: var(--bd-muted);
  font-size: 13px;
}

body.single-product .product_meta .posted_in .meta-label {
  font-size: 0 !important;
}

body.single-product .product_meta .posted_in .meta-label:after {
  content: "Kategorie:";
  font-size: 14px;
}

@media (max-width: 768px) {
  body.tax-product_cat .term-description {
    padding: 24px 22px;
  }

  body.tax-product_cat .term-description h2 {
    font-size: 28px;
  }
}
/* Baustoffpilot shop cleanup - end */

/* Baustoffpilot product cards - end */

/* Baustoffpilot premium shop UX - start */
body.woocommerce .whb-top-bar,
body.woocommerce-page .whb-top-bar {
  display: none !important;
}

body.woocommerce .whb-header,
body.woocommerce-page .whb-header {
  background: #fff;
  border-bottom: 1px solid var(--bd-line);
  box-shadow: 0 8px 24px rgba(17, 24, 32, .04);
}

body.woocommerce .whb-general-header-inner,
body.woocommerce-page .whb-general-header-inner {
  min-height: 72px !important;
}

body.woocommerce .whb-header-bottom,
body.woocommerce-page .whb-header-bottom {
  border-top: 1px solid var(--bd-line);
  background: #fff;
}

body.woocommerce .site-logo .wd-logo:before,
body.woocommerce-page .site-logo .wd-logo:before,
body.page-id-10074 .site-logo .wd-logo:before {
  color: var(--bd-dark);
  letter-spacing: .02em;
}

body.woocommerce .site-logo .wd-logo:after,
body.woocommerce-page .site-logo .wd-logo:after,
body.page-id-10074 .site-logo .wd-logo:after {
  content: "Systembaustoffe";
  display: block;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--bd-line);
  color: var(--bd-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.woocommerce .wd-header-main-nav > ul > li > a,
body.woocommerce-page .wd-header-main-nav > ul > li > a {
  min-height: 44px;
  color: var(--bd-ink) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
}

body.woocommerce .wd-header-main-nav > ul > li > a:hover,
body.woocommerce-page .wd-header-main-nav > ul > li > a:hover {
  color: var(--bd-red) !important;
}

body.woocommerce .wd-header-main-nav .sub-menu-dropdown,
body.woocommerce-page .wd-header-main-nav .sub-menu-dropdown {
  border: 1px solid var(--bd-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 24, 32, .14);
}

body.woocommerce .wd-header-main-nav .sub-menu a,
body.woocommerce-page .wd-header-main-nav .sub-menu a {
  color: var(--bd-ink) !important;
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce .wd-header-main-nav .sub-menu a:hover,
body.woocommerce-page .wd-header-main-nav .sub-menu a:hover {
  color: var(--bd-red) !important;
  background: var(--bd-soft);
}

body.woocommerce .wd-header-cart .wd-tools-text,
body.woocommerce-page .wd-header-cart .wd-tools-text {
  font-weight: 900;
}

body.tax-product_cat .term-description {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 34px 38px;
  background: linear-gradient(135deg, #111820 0%, #17212d 58%, #2b1115 100%);
  overflow: hidden;
}

body.tax-product_cat .term-description:before {
  content: "Fachsortiment";
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 25, 32, .18);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.tax-product_cat .term-description:after {
  content: "Gebinde | Grundpreise | Systemprodukte";
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.tax-product_cat .term-description p {
  max-width: 940px;
  font-size: 17px;
}

body.tax-product_cat .shop-loop-head {
  align-items: center;
  min-height: 58px;
  padding: 10px 0 !important;
  margin-bottom: 24px !important;
}

body.tax-product_cat .woocommerce-breadcrumb {
  color: var(--bd-muted);
  font-size: 12px;
}

body.tax-product_cat .wd-products-per-page,
body.tax-product_cat .wd-products-shop-view {
  display: none !important;
}

body.tax-product_cat .woocommerce-ordering {
  margin-left: auto;
}

body.tax-product_cat .woocommerce-ordering select {
  min-height: 38px;
  border-color: var(--bd-line);
  border-radius: 4px;
  color: var(--bd-ink);
}

body.tax-product_cat .wd-product .wd-product-wrapper {
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 32, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.tax-product_cat .wd-product .wd-product-wrapper:hover {
  border-color: rgba(215, 25, 32, .35);
  box-shadow: 0 18px 42px rgba(17, 24, 32, .12);
  transform: translateY(-2px);
}

body.tax-product_cat .wd-product .product-element-bottom {
  padding: 18px 18px 16px;
}

body.tax-product_cat .wd-product .wd-entities-title {
  min-height: 44px;
  margin-bottom: 10px;
  font-size: 16px;
}

body.tax-product_cat .wd-product .price {
  margin-top: 2px;
  font-size: 18px;
}

body.tax-product_cat .wd-product .wd-add-btn {
  margin-top: 12px;
}

body.tax-product_cat .wd-product .wd-add-btn .button {
  min-height: 40px;
}

body.tax-product_cat .wd-product .wd-add-btn .tax-info,
body.tax-product_cat .wd-product .wd-add-btn .shipping-costs-info {
  display: inline !important;
  margin: 7px 3px 0 0;
  color: var(--bd-muted);
  font-size: 10px;
  line-height: 1.25;
}

body.tax-product_cat .wd-product .wd-add-btn .product-units-wrapper {
  display: none !important;
}

body.tax-product_cat .wd-product .wd-add-btn br {
  display: none;
}

body.single-product .summary-inner,
body.single-product .product-image-summary-wrap {
  border-radius: 8px;
}

@media (max-width: 1024px) {
  body.woocommerce .site-logo .wd-logo:after,
  body.woocommerce-page .site-logo .wd-logo:after,
  body.page-id-10074 .site-logo .wd-logo:after {
    display: none;
  }
}

@media (max-width: 768px) {
  body.tax-product_cat .term-description {
    padding: 26px 22px;
  }

  body.tax-product_cat .term-description p {
    font-size: 15px;
  }
}
/* Baustoffpilot premium shop UX - end */

/* Baustoffpilot premium shop polish - start */
body.woocommerce .whb-general-header,
body.woocommerce-page .whb-general-header {
  height: 74px !important;
  min-height: 74px !important;
}

body.woocommerce .whb-general-header > .container,
body.woocommerce-page .whb-general-header > .container,
body.woocommerce .whb-general-header-inner,
body.woocommerce-page .whb-general-header-inner,
body.woocommerce .whb-general-header .whb-column,
body.woocommerce-page .whb-general-header .whb-column {
  height: 74px !important;
  min-height: 74px !important;
}

body.woocommerce .site-logo,
body.woocommerce-page .site-logo {
  height: auto !important;
}

body.woocommerce .site-logo .wd-logo,
body.woocommerce-page .site-logo .wd-logo {
  min-height: 34px;
}

body.woocommerce .wd-header-my-account .wd-tools-text,
body.woocommerce-page .wd-header-my-account .wd-tools-text {
  font-size: 0 !important;
}

body.woocommerce .wd-header-my-account .wd-tools-text:before,
body.woocommerce-page .wd-header-my-account .wd-tools-text:before {
  content: "Mein Konto";
  color: var(--bd-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.woocommerce .wd-header-my-account .create-account-link,
body.woocommerce-page .wd-header-my-account .create-account-link {
  font-size: 0 !important;
}

body.woocommerce .wd-header-my-account .create-account-link:before,
body.woocommerce-page .wd-header-my-account .create-account-link:before {
  content: "Konto erstellen";
  font-size: 14px;
}

body.woocommerce .wd-header-cart .wd-tools-text,
body.woocommerce-page .wd-header-cart .wd-tools-text {
  color: var(--bd-ink);
  font-size: 12px;
  font-weight: 900;
}

body.woocommerce .whb-header-bottom,
body.woocommerce-page .whb-header-bottom,
body.woocommerce .whb-header-bottom > .container,
body.woocommerce-page .whb-header-bottom > .container,
body.woocommerce .whb-header-bottom-inner,
body.woocommerce-page .whb-header-bottom-inner {
  height: 46px !important;
  min-height: 46px !important;
}

body.tax-product_cat .term-description {
  min-height: 0;
  padding: 26px 32px;
  margin-bottom: 18px !important;
}

body.tax-product_cat .term-description p {
  max-width: 880px;
  font-size: 15px;
  line-height: 1.65;
}

body.tax-product_cat .shop-loop-head {
  min-height: 0 !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
}

body.tax-product_cat .shop-loop-head .wd-shop-tools {
  min-height: 42px !important;
  height: auto !important;
  align-items: center;
}

body.tax-product_cat .woocommerce-ordering {
  height: auto !important;
  min-height: 0 !important;
}

body.tax-product_cat .woocommerce-ordering select {
  width: 170px;
  max-width: 170px;
  font-size: 12px;
}

body.tax-product_cat .wd-product .product-element-bottom {
  padding: 15px 16px 14px;
}

body.tax-product_cat .wd-product .wd-entities-title {
  min-height: 36px;
  font-size: 15px;
  line-height: 1.35;
}

body.tax-product_cat .wd-product .wd-add-btn {
  margin-top: 9px;
}

body.tax-product_cat .wd-product .wd-add-btn .button {
  min-height: 38px;
  font-size: 11px;
}

body.tax-product_cat .wd-product .wd-add-btn .tax-info,
body.tax-product_cat .wd-product .wd-add-btn .shipping-costs-info {
  display: inline-block !important;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  body.woocommerce .whb-general-header,
  body.woocommerce-page .whb-general-header,
  body.woocommerce .whb-general-header > .container,
  body.woocommerce-page .whb-general-header > .container,
  body.woocommerce .whb-general-header-inner,
  body.woocommerce-page .whb-general-header-inner,
  body.woocommerce .whb-general-header .whb-column,
  body.woocommerce-page .whb-general-header .whb-column {
    height: 64px !important;
    min-height: 64px !important;
  }
}
/* Baustoffpilot premium shop polish - end */

/* Baustoffpilot landing header polish - start */
body.page-id-10074 .whb-top-bar {
  display: none !important;
}

body.page-id-10074 .whb-header {
  background: #fff;
  border-bottom: 1px solid var(--bd-line);
  box-shadow: 0 8px 24px rgba(17, 24, 32, .04);
}

body.page-id-10074 .whb-general-header,
body.page-id-10074 .whb-general-header > .container,
body.page-id-10074 .whb-general-header-inner,
body.page-id-10074 .whb-general-header .whb-column {
  height: 74px !important;
  min-height: 74px !important;
}

body.page-id-10074 .whb-header-bottom,
body.page-id-10074 .whb-header-bottom > .container,
body.page-id-10074 .whb-header-bottom-inner {
  height: 46px !important;
  min-height: 46px !important;
}

body.page-id-10074 .wd-header-main-nav > ul > li > a {
  min-height: 44px;
  color: var(--bd-ink) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
}

body.page-id-10074 .wd-header-my-account .wd-tools-text {
  font-size: 0 !important;
}

body.page-id-10074 .wd-header-my-account .wd-tools-text:before {
  content: "Mein Konto";
  color: var(--bd-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.page-id-10074 .wd-header-cart .wd-tools-text {
  color: var(--bd-ink);
  font-size: 12px;
  font-weight: 900;
}
/* Baustoffpilot landing header polish - end */

/* Baustoffpilot rubric filters - start */
@media (min-width: 1025px) {
  body.tax-product_cat .content-layout-wrapper {
    display: flex !important;
    align-items: flex-start;
    gap: 34px;
  }

  body.tax-product_cat .site-content {
    flex: 1 1 auto !important;
    max-width: calc(100% - 294px) !important;
    width: calc(100% - 294px) !important;
  }

  body.tax-product_cat .sidebar-container {
    display: block !important;
    flex: 0 0 260px !important;
    max-width: 260px !important;
    width: 260px !important;
    padding-top: 0;
  }

  body.tax-product_cat .widget-area {
    position: sticky;
    top: 96px;
  }
}

body.tax-product_cat .sidebar-container .widget {
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--bd-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 24, 32, .045);
}

body.tax-product_cat .sidebar-container .widget-title,
body.tax-product_cat .sidebar-container .widgettitle {
  margin-bottom: 14px;
  color: var(--bd-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.tax-product_cat .sidebar-container a,
body.tax-product_cat .sidebar-container label {
  color: var(--bd-ink);
  font-size: 13px;
  font-weight: 700;
}

body.tax-product_cat .sidebar-container .price_slider_amount .button,
body.tax-product_cat .sidebar-container button,
body.tax-product_cat .sidebar-container input[type="submit"] {
  min-height: 36px;
  border-radius: 4px;
  background: var(--bd-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.tax-product_cat .sidebar-container .price_label,
body.tax-product_cat .sidebar-container .amount {
  color: var(--bd-muted);
  font-size: 12px;
}

body.tax-product_cat .sidebar-container .product_list_widget img {
  max-width: 52px;
  max-height: 70px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  body.tax-product_cat .sidebar-container {
    display: none !important;
  }
}
/* Baustoffpilot rubric filters - end */

/* Baustoffpilot filter widget labels - start */
body.tax-product_cat #woocommerce_price_filter-5 .widget-title,
body.tax-product_cat #wd-widget-stock-status-9 .widget-title,
body.tax-product_cat #woocommerce_top_rated_products-10 .widget-title {
  font-size: 0 !important;
}

body.tax-product_cat #woocommerce_price_filter-5 .widget-title:before,
body.tax-product_cat #wd-widget-stock-status-9 .widget-title:before,
body.tax-product_cat #woocommerce_top_rated_products-10 .widget-title:before {
  color: var(--bd-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.tax-product_cat #woocommerce_price_filter-5 .widget-title:before {
  content: "Nach Preis filtern";
}

body.tax-product_cat #wd-widget-stock-status-9 .widget-title:before {
  content: "Verfügbarkeit";
}

body.tax-product_cat #woocommerce_top_rated_products-10 .widget-title:before {
  content: "Beliebte Produkte";
}
/* Baustoffpilot filter widget labels - end */
/* Baustoffpilot temporary text logo - start */
.wd-logo img[src*="fliesenwerk_logo_web"],
.wd-logo img[src*="allprobe_solution_logo"],
.site-logo img[src*="fliesenwerk_logo_web"],
.site-logo img[src*="allprobe_solution_logo"] {
  display: none !important;
}

.wd-logo.wd-main-logo,
.site-logo .wd-logo,
.site-logo > a {
  min-width: 210px;
}

.wd-logo.wd-main-logo:before,
.site-logo .wd-logo:before,
.site-logo > a:before {
  content: "Baustoffpilot";
  display: inline-flex;
  align-items: center;
  color: #17212b;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
}

.wd-logo.wd-main-logo:after,
.site-logo .wd-logo:after,
.site-logo > a:after {
  content: "Baustoffe sicher finden";
  display: block;
  margin-top: 4px;
  color: #c8912f;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .wd-logo.wd-main-logo,
  .site-logo .wd-logo,
  .site-logo > a {
    min-width: 170px;
  }

  .wd-logo.wd-main-logo:before,
  .site-logo .wd-logo:before,
  .site-logo > a:before {
    font-size: 23px;
  }

  .wd-logo.wd-main-logo:after,
  .site-logo .wd-logo:after,
  .site-logo > a:after {
    font-size: 8px;
  }
}
/* Baustoffpilot temporary text logo - end */

/* Baustoffpilot final logo override - start */
body .wd-logo.wd-main-logo:before,
body .site-logo .wd-logo:before,
body .site-logo > a:before {
  content: "Baustoffpilot" !important;
}

body .wd-logo.wd-main-logo:after,
body .site-logo .wd-logo:after,
body .site-logo > a:after {
  content: "Baustoffe sicher finden" !important;
}
/* Baustoffpilot final logo override - end */

/* Baustoffpilot category filters - start */
.tax-product_cat .sidebar-container .widget_top_rated_products,
.tax-product_cat .shop-sidebar .widget_top_rated_products,
.tax-product_cat aside.sidebar .widget_top_rated_products {
  display: none !important;
}

.tax-product_cat .sidebar-container,
.tax-product_cat .shop-sidebar,
.tax-product_cat aside.sidebar {
  position: sticky;
  top: 92px;
  align-self: flex-start;
}

.tax-product_cat .sidebar-container .widget,
.tax-product_cat .shop-sidebar .widget,
.tax-product_cat aside.sidebar .widget {
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid #e6eaee;
  border-radius: 8px;
  background: #fff;
}

.tax-product_cat .widget_price_filter .price_slider_wrapper {
  margin-top: 16px;
}

.tax-product_cat .wd-widget-stock-status ul,
.tax-product_cat .widget_layered_nav ul {
  display: grid;
  gap: 8px;
}

.tax-product_cat .wd-widget-stock-status li a,
.tax-product_cat .widget_layered_nav li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid #e6eaee;
  border-radius: 6px;
  background: #f8fafb;
  color: #17212b;
  font-weight: 700;
}

.bp-rubric-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 0 0 22px;
  padding: 14px;
  border: 1px solid #e6eaee;
  border-radius: 8px;
  background: #fff;
}

.bp-rubric-nav__label {
  margin-right: 4px;
  color: #66707a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bp-rubric-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e0e5ea;
  border-radius: 999px;
  color: #17212b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  background: #f8fafb;
}

.bp-rubric-nav a:hover,
.bp-rubric-nav a.is-active {
  border-color: #c8912f;
  background: #c8912f;
  color: #101820;
}

@media (max-width: 1024px) {
  .tax-product_cat .sidebar-container,
  .tax-product_cat .shop-sidebar,
  .tax-product_cat aside.sidebar {
    position: static;
  }

  .bp-rubric-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .bp-rubric-nav a,
  .bp-rubric-nav__label {
    flex: 0 0 auto;
  }
}
/* Baustoffpilot category filters - end */

/* Baustoffpilot single product images - start */
.single-product .woocommerce-product-gallery,
.single-product .product-images,
.single-product .wd-product-images {
  overflow: hidden;
  border: 1px solid #e6eaee;
  border-radius: 8px;
  background: #f8fafb;
}

.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .product-image-wrap,
.single-product .wd-carousel-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f8fafb;
}

.single-product .woocommerce-product-gallery img,
.single-product .product-images img,
.single-product .wd-product-images img {
  width: auto !important;
  max-width: 82% !important;
  max-height: 520px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

@media (max-width: 767px) {
  .single-product .woocommerce-product-gallery,
  .single-product .product-images,
  .single-product .wd-product-images {
    margin-bottom: 22px;
  }

  .single-product .woocommerce-product-gallery img,
  .single-product .product-images img,
  .single-product .wd-product-images img {
    max-width: 74% !important;
    max-height: 360px !important;
  }
}
/* Baustoffpilot single product images - end */

/* Baustoffpilot product detail cleanup - start */
.single-product .wd-compare-btn,
.single-product .compare,
.single-product .wd-wishlist-btn,
.single-product .wishlist-btn-wrapper,
.single-product .yith-wcwl-add-to-wishlist,
.single-product .wd-quick-view-btn,
.single-product .quick-view,
.single-product .wrap-quickview-button,
.single-product .wd-buttons {
  display: none !important;
}

.single-product .product_meta .posted_in:before {
  content: "Kategorie: ";
}

.single-product .product_meta .tagged_as:before {
  content: "Schlagwörter: ";
}

.cart-widget-side .widget-heading .title,
.cart-widget-side .widget-title,
.cart-widget-side .wd-heading-title {
  text-transform: none;
}

.cart-widget-side .close-side-widget,
.cart-widget-side .wd-action-btn.wd-style-text > a {
  text-transform: none;
}

.single-product #tab-title-wd_additional_tab,
.single-product #tab-wd_additional_tab,
.single-product #tab-item-title-wd_additional_tab,
.single-product .wd-accordion-item:has(#tab-item-title-wd_additional_tab) {
  display: none !important;
}

.single-product .product-share .share-title,
.single-product .wd-social-icons .share-title {
  color: transparent !important;
  font-size: 0 !important;
}

.single-product .product-share .share-title:before,
.single-product .wd-social-icons .share-title:before {
  content: "Teilen:";
  color: var(--bd-ink);
  font-size: 14px;
  font-weight: 800;
}

.single-product .product-label.hot,
.single-product .product-label.onsale,
.single-product .product-label.featured {
  color: transparent !important;
  font-size: 0 !important;
}

.single-product .product-label.hot:before,
.single-product .product-label.onsale:before,
.single-product .product-label.featured:before {
  content: "Tipp";
  color: #fff;
  font-size: 12px;
}

.cart-widget-side .widget-heading .title,
.cart-widget-side .widget-title,
.cart-widget-side .wd-heading-title {
  color: transparent !important;
  font-size: 0 !important;
}

.cart-widget-side .widget-heading .title:before,
.cart-widget-side .widget-title:before,
.cart-widget-side .wd-heading-title:before {
  content: "Warenkorb";
  color: var(--bd-ink);
  font-size: 24px;
  font-weight: 900;
}

.cart-widget-side .close-side-widget,
.cart-widget-side .close-side-widget span,
.cart-widget-side .close-side-widget a {
  color: transparent !important;
  font-size: 0 !important;
}

.cart-widget-side .close-side-widget:after {
  content: "Schließen";
  color: var(--bd-ink);
  font-size: 14px;
  font-weight: 800;
}

.wd-header-cart .wd-tools-text {
  font-size: 0 !important;
}

.wd-header-cart .wd-tools-text:before {
  content: "Warenkorb";
  color: var(--bd-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wd-header-my-account .wd-toolbar-label {
  color: transparent !important;
  font-size: 0 !important;
}

.wd-header-my-account .wd-toolbar-label:before {
  content: "Mein Konto";
  color: var(--bd-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* Baustoffpilot product detail cleanup - end */

/* Baustoffpilot product detail premium - start */
.single-product .product-image-summary-wrap {
  gap: 42px;
  align-items: flex-start;
}

.single-product .summary-inner {
  padding: 10px 0 0;
}

.single-product .product_title {
  margin-bottom: 12px;
  color: var(--bd-dark);
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.single-product .summary .price {
  margin-bottom: 6px;
  color: #0a6ea8;
  font-size: 28px;
  font-weight: 900;
}

.single-product .summary .woocommerce-product-details__short-description {
  margin: 22px 0 18px;
  padding: 18px 20px;
  border-left: 4px solid #c8912f;
  border-radius: 0 8px 8px 0;
  background: #f8fafb;
  color: var(--bd-ink);
  font-size: 16px;
  line-height: 1.6;
}

.bp-product-advisor {
  margin: 18px 0 22px;
  padding: 20px;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 32, .06);
}

.bp-product-advisor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8edf1;
}

.bp-product-advisor__head span {
  color: #c8912f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bp-product-advisor__head strong {
  color: var(--bd-dark);
  font-size: 15px;
}

.bp-product-advisor__grid {
  display: grid;
  gap: 12px;
}

.bp-product-advisor__grid div {
  padding: 13px 14px;
  border-radius: 6px;
  background: #f8fafb;
}

.bp-product-advisor__grid span {
  display: block;
  margin-bottom: 5px;
  color: #66717d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bp-product-advisor__grid strong {
  display: block;
  color: var(--bd-ink);
  font-size: 13px;
  line-height: 1.45;
}

.bp-product-advisor__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--bd-dark);
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.single-product form.cart {
  display: grid;
  grid-template-columns: 132px minmax(220px, 1fr);
  gap: 12px;
  align-items: stretch;
  margin: 18px 0 14px;
  padding: 16px;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 24, 32, .055);
}

.single-product form.cart:before {
  content: "Menge";
  grid-column: 1 / -1;
  margin-bottom: -2px;
  color: #66717d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.single-product form.cart .quantity {
  display: grid !important;
  grid-template-columns: 38px 1fr 38px;
  width: 132px !important;
  height: 50px;
  margin: 0 !important;
  border: 1px solid #dce3e9;
  border-radius: 4px;
  overflow: hidden;
  background: #f8fafb;
}

.single-product form.cart .quantity input.qty {
  width: 100% !important;
  height: 50px !important;
  border: 0 !important;
  background: #fff !important;
  color: var(--bd-dark);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .plus {
  width: 38px !important;
  height: 50px !important;
  border: 0 !important;
  background: #f0f4f7 !important;
  color: var(--bd-dark) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.single-product form.cart .single_add_to_cart_button {
  min-height: 50px;
  border-radius: 4px;
  background: #0a6ea8 !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.single-product form.cart .single_add_to_cart_button:hover {
  background: #075982 !important;
}

.single-product .product_meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e8edf1;
  color: #66717d;
  font-size: 13px;
}

.bp-product-trustbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 28px;
}

.bp-product-trustbar span {
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  background: #fff;
  color: var(--bd-ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(17, 24, 32, .04);
}

.single-product .woocommerce-tabs {
  margin-top: 10px;
}

.single-product .woocommerce-tabs .tabs {
  border-bottom: 1px solid #e2e7ec;
}

.single-product .woocommerce-tabs .tabs li a {
  color: var(--bd-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
}

.bp-product-tab {
  max-width: 920px;
  color: var(--bd-ink);
  font-size: 16px;
  line-height: 1.65;
}

.bp-product-tab h2 {
  margin: 0 0 14px;
  color: var(--bd-dark);
  font-size: 30px;
  line-height: 1.15;
}

.bp-product-tab h3 {
  margin: 24px 0 8px;
  color: var(--bd-dark);
  font-size: 19px;
}

.bp-product-tab ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.bp-product-tab li {
  position: relative;
  padding-left: 24px;
}

.bp-product-tab li:before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #c8912f;
}

@media (max-width: 1024px) {
  .bp-product-trustbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .single-product .product_title {
    font-size: 30px;
  }

  .bp-product-advisor {
    padding: 16px;
  }

  .bp-product-trustbar {
    grid-template-columns: 1fr;
  }

  .single-product form.cart {
    grid-template-columns: 112px 1fr;
    padding: 12px;
  }

  .single-product form.cart .quantity {
    grid-template-columns: 32px 1fr 32px;
    width: 112px !important;
  }

  .single-product form.cart .quantity .minus,
  .single-product form.cart .quantity .plus {
    width: 32px !important;
  }
}
/* Baustoffpilot product detail premium - end */

/* Baustoffpilot product lower area fix - start */
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products,
.single-product .cross-sells {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.single-product .woocommerce-tabs {
  overflow: visible;
}

.single-product .woocommerce-tabs .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  justify-content: flex-start;
  align-items: flex-end;
  margin: 0 0 34px;
  padding: 0;
  border-bottom: 1px solid #e2e7ec;
}

.single-product .woocommerce-tabs .tabs li {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.single-product .woocommerce-tabs .tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 !important;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.single-product .woocommerce-tabs .tabs li.active a,
.single-product .woocommerce-tabs .tabs li.wd-active a {
  border-bottom-color: #0a6ea8;
  color: var(--bd-dark);
}

.single-product .woocommerce-Tabs-panel,
.single-product .wd-accordion-content {
  max-width: 960px;
  margin-left: 0;
  margin-right: auto;
}

.bp-product-trustbar {
  width: min(100%, 1180px);
  margin: 28px auto 18px;
  padding: 0 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  box-sizing: border-box;
}

.bp-product-trustbar span {
  min-width: 0;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .single-product .woocommerce-tabs,
  .single-product .related.products,
  .single-product .upsells.products,
  .single-product .cross-sells {
    padding-left: 12px;
    padding-right: 12px;
  }

  .single-product .woocommerce-tabs .tabs {
    gap: 0 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .single-product .woocommerce-tabs .tabs li a {
    min-height: 44px;
    font-size: 12px;
  }

  .bp-product-trustbar {
    padding: 0 12px;
    grid-template-columns: 1fr;
  }
}
/* Baustoffpilot product lower area fix - end */

/* Baustoffpilot product tabs separation fix - start */
.single-product .product-tabs-wrapper,
.single-product .product-tabs-inner {
  display: block !important;
  overflow: visible !important;
}

.single-product .product-tabs-inner {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.single-product .product-tabs-inner .bp-product-trustbar {
  width: 100% !important;
  max-width: none !important;
  margin: 34px 0 34px !important;
  padding: 0 !important;
  clear: both !important;
}

.single-product .product-tabs-inner .woocommerce-tabs {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 42px 0 0 !important;
  clear: both !important;
}

.single-product .product-tabs-inner .woocommerce-tabs .tabs {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  margin-bottom: 34px !important;
}

@media (max-width: 767px) {
  .single-product .product-tabs-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .single-product .product-tabs-inner .bp-product-trustbar {
    margin-top: 24px !important;
    margin-bottom: 26px !important;
  }
}
/* Baustoffpilot product tabs separation fix - end */

/* Baustoffpilot product gallery height fix - start */
.single-product .product-images {
  height: auto !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.single-product .woocommerce-product-gallery {
  height: auto !important;
  min-height: 0 !important;
  max-height: 460px !important;
  border: 1px solid #e6eaee !important;
  border-radius: 8px !important;
  background: #f8fafb !important;
  overflow: hidden !important;
}

.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image {
  max-height: 458px !important;
}

.single-product .woocommerce-product-gallery img.wp-post-image {
  max-height: 430px !important;
}

@media (max-width: 767px) {
  .single-product .woocommerce-product-gallery {
    max-height: 340px !important;
  }

  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image {
    max-height: 338px !important;
  }

  .single-product .woocommerce-product-gallery img.wp-post-image {
    max-height: 310px !important;
  }
}
/* Baustoffpilot product gallery height fix - end */

/* Baustoffpilot custom footer - start */
.bp-site-footer {
  margin-top: 56px;
  background: #111820;
  color: rgba(255,255,255,.78);
  border-top: 4px solid #c8912f;
}

.bp-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(170px, 1fr));
  gap: 34px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 34px;
}

.bp-site-footer__logo {
  display: inline-flex;
  margin-bottom: 12px;
  color: #fff !important;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.bp-site-footer p {
  max-width: 390px;
  margin: 0 0 12px;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1.65;
}

.bp-site-footer__small {
  color: rgba(255,255,255,.56) !important;
  font-size: 13px !important;
}

.bp-site-footer__col h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bp-site-footer__col a {
  display: table;
  margin: 0 0 10px;
  color: rgba(255,255,255,.72) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.bp-site-footer__col a:hover {
  color: #fff !important;
}

.bp-site-footer__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 4px !important;
  padding: 0 15px;
  border-radius: 4px;
  background: #c8912f;
  color: #111820 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bp-site-footer__button:hover {
  background: #dfa33a;
  color: #111820 !important;
}

.bp-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

@media (max-width: 1024px) {
  .bp-site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bp-site-footer {
    margin-top: 42px;
  }

  .bp-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 28px;
  }

  .bp-site-footer__bottom {
    display: grid;
  }
}
/* Baustoffpilot custom footer - end */

/* Baustoffpilot related product cards - start */
.single-product .wd-product .wd-product-wrapper,
.single-product .wd-product .product-wrapper {
  background: #fff;
}

.single-product .wd-product .product-element-top {
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  overflow: hidden !important;
  background: #f8fafb !important;
}

.single-product .wd-product .product-image-link,
.single-product .wd-product .wd-product-img-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.single-product .wd-product .product-element-top img {
  width: auto !important;
  height: auto !important;
  max-width: 86% !important;
  max-height: 184px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.single-product .related.products,
.single-product .upsells.products {
  margin-top: 42px;
}

.single-product .related.products .wd-entities-title,
.single-product .upsells.products .wd-entities-title {
  min-height: 40px;
  font-size: 15px;
  line-height: 1.3;
}

.single-product .related.products .product-element-bottom,
.single-product .upsells.products .product-element-bottom {
  padding-top: 15px;
}

@media (max-width: 767px) {
  .single-product .wd-product .product-element-top {
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
    padding: 14px !important;
  }

  .single-product .wd-product .product-element-top img {
    max-height: 138px !important;
    max-width: 84% !important;
  }
}
/* Baustoffpilot related product cards - end */


/* Baustoffpilot unified commerce UI - 2026-08-01 */
:root {
  --bp-blue: #0B5F8A;
  --bp-blue-dark: #084B6D;
  --bp-ink: #141B24;
  --bp-muted: #6B7683;
  --bp-line: #E3E8EF;
  --bp-soft: #F6F7F8;
  --bp-gold: #d79a24;
}

/* Header and navigation polish */
.whb-header .wd-header-text,
.whb-header .wd-tools-text,
.whb-header .wd-tools-count,
.whb-header .wd-tools-price {
  letter-spacing: 0;
}

.whb-header .wd-header-main-nav .menu > li > a,
.whb-header .wd-nav-main > li > a {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.whb-header .wd-header-cart .wd-tools-text,
.whb-header .wd-header-my-account .wd-tools-text {
  font-weight: 800;
}

/* Product detail page: less empty image space, stronger buy area */
.single-product .product-image-summary {
  align-items: flex-start;
}

.single-product .woocommerce-product-gallery,
.single-product .product-image-summary .woocommerce-product-gallery__wrapper,
.single-product .product-image-summary .product-images-inner {
  background: var(--bp-soft);
  border-radius: 8px;
}

.single-product .woocommerce-product-gallery__image,
.single-product .product-image-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.single-product .woocommerce-product-gallery__image img,
.single-product .product-image-summary img.wp-post-image {
  width: auto !important;
  max-width: 100% !important;
  max-height: 430px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.single-product .summary-inner .cart,
.single-product .entry-summary .cart {
  border: 1px solid var(--bp-line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.single-product .summary-inner .quantity,
.single-product .entry-summary .quantity {
  border-radius: 6px;
  overflow: hidden;
}

.single-product .summary-inner .single_add_to_cart_button,
.single-product .entry-summary .single_add_to_cart_button {
  min-height: 48px;
  border-radius: 5px;
  background: var(--bp-blue);
  font-weight: 900;
  letter-spacing: 0;
}

.single-product .summary-inner .single_add_to_cart_button:hover,
.single-product .entry-summary .single_add_to_cart_button:hover {
  background: var(--bp-blue-dark);
}

/* Cart and checkout readability */
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order {
  border-radius: 8px;
  border-color: var(--bp-line);
}

.woocommerce-cart .cart_totals h2,
.woocommerce-checkout h3 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

.woocommerce-cart .cart_totals .shipping-calculator-button,
.woocommerce-cart .woocommerce-shipping-calculator {
  display: none !important;
}

/* Mobile navigation cleanup */
.mobile-nav {
  background: #fff;
}

.mobile-nav .searchform,
.mobile-nav .wd-search-form {
  padding: 16px;
  border-bottom: 1px solid var(--bp-line);
}

.mobile-nav .wd-nav-mobile,
.mobile-nav .mobile-pages-menu {
  padding: 8px 0 18px;
}

.mobile-nav .wd-nav-mobile > li > a,
.mobile-nav .mobile-pages-menu > li > a {
  min-height: 48px;
  padding: 13px 22px;
  color: var(--bp-ink);
  border-bottom: 1px solid #eef2f6;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.mobile-nav .wd-nav-mobile > li > a:hover,
.mobile-nav .mobile-pages-menu > li > a:hover {
  color: var(--bp-blue);
  background: #f8fafc;
}

.mobile-nav .wd-nav-mobile > li:nth-child(2) > a,
.mobile-nav .mobile-pages-menu > li:nth-child(2) > a {
  color: var(--bp-blue-dark);
  background: #eff6ff;
}

.wd-header-mobile-nav .wd-tools-text {
  font-weight: 900;
  text-transform: uppercase;
}

/* Mobile layout */
@media (max-width: 767px) {
  .whb-header .site-logo img,
  .whb-header .wd-logo img {
    max-height: 34px !important;
  }
  .single-product .woocommerce-product-gallery__image img,
  .single-product .product-image-summary img.wp-post-image {
    max-height: 300px !important;
  }

  .single-product .summary-inner .cart,
  .single-product .entry-summary .cart {
    padding: 12px;
  }

  .single-product .summary-inner .single_add_to_cart_button,
  .single-product .entry-summary .single_add_to_cart_button {
    width: calc(100% - 112px);
  }

  .single-product .related.products > h2,
  .single-product .upsells.products > h2 {
    font-size: 24px;
  }
}


/* Baustoffpilot product image column stretch fix - 2026-08-01 */
.single-product div.product-image-summary-inner.wd-grid-g {
  align-items: flex-start !important;
}

.single-product div.product-image-summary-inner.wd-grid-g > div.product-images.wd-grid-col,
.single-product .product-image-summary div.product-images.wd-grid-col {
  height: 462px !important;
  min-height: 0 !important;
  max-height: 462px !important;
  align-self: flex-start !important;
  overflow: visible !important;
  background: transparent !important;
}

.single-product .product-image-summary .woocommerce-product-gallery {
  height: 432px !important;
  min-height: 0 !important;
  max-height: 432px !important;
}

@media (max-width: 767px) {
  .single-product div.product-image-summary-inner.wd-grid-g > div.product-images.wd-grid-col,
  .single-product .product-image-summary div.product-images.wd-grid-col {
    height: auto !important;
    max-height: none !important;
  }

  .single-product .product-image-summary .woocommerce-product-gallery {
    height: auto !important;
    max-height: 340px !important;
  }
}


/* Baustoffpilot global color system - 2026-08-01 */
:root {
  --bp-primary: #0B5F8A;
  --bp-primary-dark: #084B6D;
  --bp-accent: #D79A24;
  --bp-ink: #141B24;
  --bp-muted: #6B7683;
  --bp-line: #E3E8EF;
  --bp-soft: #F6F7F8;
  --bp-success: #198754;
}

body {
  color: var(--bp-ink);
}

a,
.wd-nav > li > a:hover,
.wd-nav > li.current-menu-item > a,
.wd-nav > li.current-menu-ancestor > a,
.woocommerce-Price-amount,
.price,
.amount {
  color: var(--bp-primary);
}

body .button,
body button,
body input[type="submit"],
body .single_add_to_cart_button,
body .add_to_cart_button,
body .checkout-button,
body .woocommerce-button.button,
body .wd-button-wrapper a.btn {
  border-radius: 5px !important;
}

body .single_add_to_cart_button,
body .add_to_cart_button,
body .checkout-button,
body .woocommerce-button.button,
body .cart-actions .button[name="apply_coupon"] {
  background-color: var(--bp-primary) !important;
  border-color: var(--bp-primary) !important;
  color: #fff !important;
}

body .single_add_to_cart_button:hover,
body .add_to_cart_button:hover,
body .checkout-button:hover,
body .woocommerce-button.button:hover,
body .cart-actions .button[name="apply_coupon"]:hover {
  background-color: var(--bp-primary-dark) !important;
  border-color: var(--bp-primary-dark) !important;
  color: #fff !important;
}


.wd-header-cart .wd-tools-count,
.cart-widget-side .woocommerce-mini-cart__buttons .checkout,
.wd-sticky-btn-cart .single_add_to_cart_button {
  background-color: var(--bp-primary) !important;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--bp-primary) !important;
}


/* Baustoffpilot product-page color consistency - 2026-08-01 */
body.single-product .summary-inner .price,
body.single-product .entry-summary .price,
body.single-product .summary-inner .price .amount,
body.single-product .entry-summary .price .amount,
body.single-product .summary-inner .price-unit,
body.single-product .entry-summary .price-unit {
  color: var(--bp-primary) !important;
}

body.single-product .summary-inner .single_add_to_cart_button,
body.single-product .entry-summary .single_add_to_cart_button {
  background-color: var(--bp-primary) !important;
  border-color: var(--bp-primary) !important;
  color: #fff !important;
}

body.single-product .summary-inner .single_add_to_cart_button:hover,
body.single-product .entry-summary .single_add_to_cart_button:hover {
  background-color: var(--bp-primary-dark) !important;
  border-color: var(--bp-primary-dark) !important;
}

/* Baustoffpilot stable product grid - 2026-08-02
   WoodMart bleibt fuer den Loop verantwortlich; diese Regeln normalisieren nur Packshot-Proportionen und CTA-Abstand. */
body.woocommerce .products .product-grid-item,
body.woocommerce-page .products .product-grid-item,
body.single-product .related.products .product-grid-item,
body.single-product .upsells.products .product-grid-item {
  height: 100%;
}

body.woocommerce .products .product-grid-item .product-wrapper,
body.woocommerce-page .products .product-grid-item .product-wrapper,
body.single-product .related.products .product-grid-item .product-wrapper,
body.single-product .upsells.products .product-grid-item .product-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.woocommerce .products .product-element-top,
body.woocommerce-page .products .product-element-top,
body.single-product .related.products .product-element-top,
body.single-product .upsells.products .product-element-top {
  height: 220px !important;
  min-height: 220px !important;
  background: #F6F7F8;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.woocommerce .products .product-element-top img,
body.woocommerce-page .products .product-element-top img,
body.single-product .related.products .product-element-top img,
body.single-product .upsells.products .product-element-top img {
  width: auto !important;
  max-width: 82% !important;
  height: auto !important;
  max-height: 178px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

body.woocommerce .products .product-element-bottom,
body.woocommerce-page .products .product-element-bottom,
body.single-product .related.products .product-element-bottom,
body.single-product .upsells.products .product-element-bottom {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

body.woocommerce .products .product-grid-item .wd-add-btn,
body.woocommerce-page .products .product-grid-item .wd-add-btn,
body.single-product .related.products .product-grid-item .wd-add-btn,
body.single-product .upsells.products .product-grid-item .wd-add-btn {
  margin-top: auto;
  padding-top: 14px;
}

body.woocommerce .products .product-grid-item .wd-add-btn .button,
body.woocommerce-page .products .product-grid-item .wd-add-btn .button,
body.single-product .related.products .product-grid-item .wd-add-btn .button,
body.single-product .upsells.products .product-grid-item .wd-add-btn .button {
  white-space: nowrap;
}

@media (max-width: 767px) {
  body.woocommerce .products .product-element-top,
  body.woocommerce-page .products .product-element-top,
  body.single-product .related.products .product-element-top,
  body.single-product .upsells.products .product-element-top {
    height: 155px !important;
    min-height: 155px !important;
  }

  body.woocommerce .products .product-element-top img,
  body.woocommerce-page .products .product-element-top img,
  body.single-product .related.products .product-element-top img,
  body.single-product .upsells.products .product-element-top img {
    max-height: 126px !important;
  }
}

/* Baustoffpilot stable product grid CTA - 2026-08-02 */
body.woocommerce .products .product-grid-item .wd-add-btn .button,
body.woocommerce-page .products .product-grid-item .wd-add-btn .button,
body.single-product .related.products .product-grid-item .wd-add-btn .button,
body.single-product .upsells.products .product-grid-item .wd-add-btn .button {
  width: 100% !important;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Baustoffpilot detail link button: no cart icon - 2026-08-02 */
body .bp-loop-product-link:before,
body .bp-loop-product-link:after {
  content: none !important;
  display: none !important;
}

body .bp-loop-product-link span {
  transform: none !important;
}

/* Baustoffpilot equal product card system - 2026-08-02 */
.woocommerce ul.products,
.woocommerce-page ul.products,
.related.products ul.products,
.upsells.products ul.products,
.cross-sells ul.products {
  align-items: stretch !important;
}

.woocommerce .products .product-grid-item,
.woocommerce-page .products .product-grid-item,
.related.products .product-grid-item,
.upsells.products .product-grid-item,
.cross-sells .product-grid-item,
.woocommerce .products .wd-product,
.woocommerce-page .products .wd-product {
  display: flex !important;
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
  border: 1px solid #dbe3ea !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045) !important;
  overflow: hidden !important;
  transition: none !important;
}

.woocommerce .products .product-grid-item:hover,
.woocommerce-page .products .product-grid-item:hover,
.related.products .product-grid-item:hover,
.upsells.products .product-grid-item:hover,
.cross-sells .product-grid-item:hover,
.woocommerce .products .wd-product:hover,
.woocommerce-page .products .wd-product:hover {
  border-color: #dbe3ea !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045) !important;
  transform: none !important;
}

.woocommerce .products .wd-product-wrapper,
.woocommerce-page .products .wd-product-wrapper,
.woocommerce .products .product-wrapper,
.woocommerce-page .products .product-wrapper,
.related.products .product-wrapper,
.upsells.products .product-wrapper,
.cross-sells .product-wrapper {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  background: #fff !important;
}

.woocommerce .products .product-element-top,
.woocommerce-page .products .product-element-top,
.related.products .product-element-top,
.upsells.products .product-element-top,
.cross-sells .product-element-top {
  order: 0 !important;
  display: flex !important;
  flex: 0 0 220px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  padding: 18px !important;
  background: #f6f8fa !important;
  overflow: hidden !important;
}

.woocommerce .products .product-image-link,
.woocommerce-page .products .product-image-link,
.related.products .product-image-link,
.upsells.products .product-image-link,
.cross-sells .product-image-link,
.woocommerce .products .wd-product-img-link,
.woocommerce-page .products .wd-product-img-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.woocommerce .products .product-element-top img,
.woocommerce-page .products .product-element-top img,
.related.products .product-element-top img,
.upsells.products .product-element-top img,
.cross-sells .product-element-top img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 184px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  transform: none !important;
}

.woocommerce .products .wd-entities-title,
.woocommerce-page .products .wd-entities-title,
.related.products .wd-entities-title,
.upsells.products .wd-entities-title,
.cross-sells .wd-entities-title,
.woocommerce .products .woocommerce-loop-product__title,
.woocommerce-page .products .woocommerce-loop-product__title {
  order: 10 !important;
  display: -webkit-box !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 16px 16px 8px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 850 !important;
  text-align: left !important;
}

.woocommerce .products .wd-product-cats,
.woocommerce-page .products .wd-product-cats,
.related.products .wd-product-cats,
.upsells.products .wd-product-cats {
  order: 20 !important;
  min-height: 18px !important;
  margin: 0 16px 8px !important;
  color: #778391 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.woocommerce .products .bp-loop-facts,
.woocommerce-page .products .bp-loop-facts,
.related.products .bp-loop-facts,
.upsells.products .bp-loop-facts,
.cross-sells .bp-loop-facts {
  order: 30 !important;
  min-height: 60px !important;
  margin: 0 16px 12px !important;
  align-content: flex-start !important;
}

.woocommerce .products .price,
.woocommerce-page .products .price,
.related.products .price,
.upsells.products .price,
.cross-sells .price {
  order: 40 !important;
  min-height: 54px !important;
  margin: 0 16px 8px !important;
  color: #0f6b8f !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  text-align: left !important;
}

.woocommerce .products .wc-gzd-additional-info,
.woocommerce-page .products .wc-gzd-additional-info,
.related.products .wc-gzd-additional-info,
.upsells.products .wc-gzd-additional-info,
.cross-sells .wc-gzd-additional-info,
.woocommerce .products .product-units-wrapper,
.woocommerce-page .products .product-units-wrapper {
  order: 50 !important;
  min-height: 18px !important;
  margin: 0 16px 6px !important;
  color: #8a949f !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.woocommerce .products .wd-add-btn,
.woocommerce-page .products .wd-add-btn,
.related.products .wd-add-btn,
.upsells.products .wd-add-btn,
.cross-sells .wd-add-btn {
  order: 90 !important;
  margin-top: auto !important;
  padding: 10px 16px 18px !important;
}

.woocommerce .products .bp-loop-product-link.add_to_cart_button,
.woocommerce-page .products .bp-loop-product-link.add_to_cart_button,
.related.products .bp-loop-product-link.add_to_cart_button,
.upsells.products .bp-loop-product-link.add_to_cart_button,
.cross-sells .bp-loop-product-link.add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  background: #0f6b8f !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.woocommerce .products .bp-loop-product-link.add_to_cart_button:hover,
.woocommerce-page .products .bp-loop-product-link.add_to_cart_button:hover,
.related.products .bp-loop-product-link.add_to_cart_button:hover,
.upsells.products .bp-loop-product-link.add_to_cart_button:hover,
.cross-sells .bp-loop-product-link.add_to_cart_button:hover {
  background: #0b5877 !important;
  color: #fff !important;
  transform: none !important;
}

.woocommerce .products .wd-add-btn .screen-reader-text,
.woocommerce-page .products .wd-add-btn .screen-reader-text,
.related.products .wd-add-btn .screen-reader-text,
.upsells.products .wd-add-btn .screen-reader-text,
.cross-sells .wd-add-btn .screen-reader-text,
.woocommerce .products .content-product-imagin,
.woocommerce-page .products .content-product-imagin,
.related.products .content-product-imagin,
.upsells.products .content-product-imagin,
.cross-sells .content-product-imagin,
.woocommerce .products .wd-buttons,
.woocommerce-page .products .wd-buttons,
.related.products .wd-buttons,
.upsells.products .wd-buttons,
.cross-sells .wd-buttons,
.woocommerce .products .hover-content,
.woocommerce-page .products .hover-content,
.related.products .hover-content,
.upsells.products .hover-content,
.cross-sells .hover-content {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 767px) {
  .woocommerce .products .product-grid-item,
  .woocommerce-page .products .product-grid-item,
  .related.products .product-grid-item,
  .upsells.products .product-grid-item,
  .cross-sells .product-grid-item,
  .woocommerce .products .wd-product,
  .woocommerce-page .products .wd-product {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
  }

  .woocommerce .products .product-element-top,
  .woocommerce-page .products .product-element-top,
  .related.products .product-element-top,
  .upsells.products .product-element-top,
  .cross-sells .product-element-top {
    flex-basis: 168px !important;
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
  }

  .woocommerce .products .product-element-top img,
  .woocommerce-page .products .product-element-top img,
  .related.products .product-element-top img,
  .upsells.products .product-element-top img,
  .cross-sells .product-element-top img {
    max-height: 138px !important;
  }

  .woocommerce .products .wd-entities-title,
  .woocommerce-page .products .wd-entities-title,
  .related.products .wd-entities-title,
  .upsells.products .wd-entities-title,
  .cross-sells .wd-entities-title {
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 15px !important;
  }

  .woocommerce .products .bp-loop-product-link.add_to_cart_button,
  .woocommerce-page .products .bp-loop-product-link.add_to_cart_button,
  .related.products .bp-loop-product-link.add_to_cart_button,
  .upsells.products .bp-loop-product-link.add_to_cart_button,
  .cross-sells .bp-loop-product-link.add_to_cart_button {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 13px !important;
  }
}
/* Baustoffpilot equal product card system - end */



/* Baustoffpilot hard equal grid cards - 2026-08-02 */
.woocommerce ul.products,
.woocommerce-page ul.products,
body.tax-product_cat .products,
body.archive.woocommerce .products,
.single-product .related.products .products,
.single-product .upsells.products .products {
  align-items: stretch !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
body.tax-product_cat .products .product,
body.archive.woocommerce .products .product,
.single-product .related.products .product,
.single-product .upsells.products .product {
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce ul.products li.product .product-wrapper,
.woocommerce-page ul.products li.product .product-wrapper,
body.tax-product_cat .products .product .product-wrapper,
body.archive.woocommerce .products .product .product-wrapper,
.single-product .related.products .product .product-wrapper,
.single-product .upsells.products .product .product-wrapper {
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product .wd-add-btn,
.woocommerce-page ul.products li.product .wd-add-btn,
body.tax-product_cat .products .product .wd-add-btn,
body.archive.woocommerce .products .product .wd-add-btn,
.single-product .related.products .product .wd-add-btn,
.single-product .upsells.products .product .wd-add-btn,
.woocommerce ul.products li.product .bp-loop-product-link,
.woocommerce-page ul.products li.product .bp-loop-product-link,
body.tax-product_cat .products .product .bp-loop-product-link,
body.archive.woocommerce .products .product .bp-loop-product-link,
.single-product .related.products .product .bp-loop-product-link,
.single-product .upsells.products .product .bp-loop-product-link {
  margin-top: auto !important;
  margin-bottom: 18px !important;
}

@media (max-width: 767px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  body.tax-product_cat .products .product,
  body.archive.woocommerce .products .product,
  .single-product .related.products .product,
  .single-product .upsells.products .product {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
  }
}
/* Baustoffpilot hard equal grid cards - end */


/* Baustoffpilot product variants clean layout - 2026-08-02 */
.single-product .summary form.variations_form,
.single-product .summary form.cart { overflow: visible !important; }
.single-product .summary form.variations_form { display: block !important; }
.single-product .summary form.variations_form .wd-reset-var { display: block !important; clear: both !important; }
.single-product .summary form.variations_form table.variations,
.single-product .summary table.variations { width: 100% !important; margin: 0 0 18px !important; table-layout: auto !important; display: block !important; }
.single-product .summary form.variations_form table.variations tbody,
.single-product .summary form.variations_form table.variations tr,
.single-product .summary form.variations_form table.variations th,
.single-product .summary form.variations_form table.variations td { display: block !important; width: 100% !important; max-width: none !important; padding: 0 !important; text-align: left !important; overflow: visible !important; }
.single-product .summary form.variations_form table.variations tr { min-height: 0 !important; margin: 0 0 16px !important; }
.single-product .summary form.variations_form table.variations th.label,
.single-product .summary form.variations_form table.variations td.label,
.single-product .summary form.variations_form table.variations label { margin: 0 0 8px !important; font-size: 12px !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: #6b7785 !important; }
.single-product .summary form.variations_form table.variations select { width: 100% !important; min-width: 220px !important; max-width: 100% !important; height: 48px !important; min-height: 48px !important; padding: 0 42px 0 14px !important; border: 1px solid #d7dee8 !important; border-radius: 6px !important; background-color: #fff !important; color: #17212d !important; font-size: 15px !important; font-weight: 700 !important; line-height: 48px !important; box-shadow: none !important; }
.single-product .summary form.variations_form .wd-reset-var { margin-top: 8px !important; font-size: 13px !important; }
.single-product .summary form.variations_form .single_variation_wrap,
.single-product .summary form.variations_form .woocommerce-variation-add-to-cart { width: 100% !important; display: flex !important; align-items: stretch !important; gap: 12px !important; flex-wrap: nowrap !important; clear: both !important; }
.single-product .summary form.variations_form .quantity,
.single-product .summary form.cart .quantity { flex: 0 0 142px !important; width: 142px !important; min-width: 142px !important; max-width: 142px !important; height: 50px !important; margin: 0 !important; overflow: hidden !important; }
.single-product .summary form.variations_form .single_add_to_cart_button,
.single-product .summary form.cart .single_add_to_cart_button { flex: 1 1 auto !important; min-width: 180px !important; height: 50px !important; margin: 0 !important; white-space: nowrap !important; }
.single-product .summary .bp-color-swatches { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; margin: 10px 0 16px !important; }
.single-product .summary .bp-color-swatch { appearance: none !important; border: 0 !important; background: transparent !important; display: inline-flex !important; flex-direction: column !important; align-items: center !important; gap: 6px !important; min-width: 58px !important; padding: 0 !important; font-size: 11px !important; line-height: 1.2 !important; font-weight: 700 !important; color: #4f5d6c !important; cursor: pointer !important; }
.single-product .summary .bp-color-swatch:before { content: "" !important; width: 30px !important; height: 30px !important; border-radius: 999px !important; border: 2px solid #d7dee8 !important; background: var(--bp-swatch-color,#eef1f4) !important; box-shadow: inset 0 0 0 3px #fff !important; }
.single-product .summary .bp-color-swatch.is-active:before { border-color: #0f6b90 !important; box-shadow: inset 0 0 0 3px #fff,0 0 0 2px rgba(15,107,144,.18) !important; }
@media (max-width: 767px) {
  .single-product .summary form.variations_form .woocommerce-variation-add-to-cart,
  .single-product .summary form.variations_form .single_variation_wrap,
  .single-product .summary form.cart { gap: 10px !important; }
  .single-product .summary form.variations_form .quantity,
  .single-product .summary form.cart .quantity { flex-basis: 118px !important; width: 118px !important; min-width: 118px !important; max-width: 118px !important; }
  .single-product .summary form.variations_form .single_add_to_cart_button,
  .single-product .summary form.cart .single_add_to_cart_button { min-width: 0 !important; font-size: 13px !important; padding-left: 12px !important; padding-right: 12px !important; }
}
/* Baustoffpilot product variants clean layout - end */


/* Baustoffpilot archive card compact final - 2026-08-02 */
.woocommerce .products .product-grid-item .wc-gzd-additional-info-loop,
.woocommerce-page .products .product-grid-item .wc-gzd-additional-info-loop,
body.tax-product_cat .products .product-grid-item .wc-gzd-additional-info-loop,
body.archive.woocommerce .products .product-grid-item .wc-gzd-additional-info-loop,
.single-product .related.products .product-grid-item .wc-gzd-additional-info-loop,
.single-product .upsells.products .product-grid-item .wc-gzd-additional-info-loop,
.woocommerce .products .wd-product .wc-gzd-additional-info-loop,
.woocommerce-page .products .wd-product .wc-gzd-additional-info-loop,
body.tax-product_cat .products .wd-product .wc-gzd-additional-info-loop,
body.archive.woocommerce .products .wd-product .wc-gzd-additional-info-loop {
  display: none !important;
}

.woocommerce .products .product-grid-item .price-unit,
.woocommerce-page .products .product-grid-item .price-unit,
body.tax-product_cat .products .product-grid-item .price-unit,
body.archive.woocommerce .products .product-grid-item .price-unit,
.woocommerce .products .wd-product .price-unit,
.woocommerce-page .products .wd-product .price-unit,
body.tax-product_cat .products .wd-product .price-unit,
body.archive.woocommerce .products .wd-product .price-unit {
  display: none !important;
}

.woocommerce .products .product-grid-item .wd-add-btn,
.woocommerce-page .products .product-grid-item .wd-add-btn,
body.tax-product_cat .products .product-grid-item .wd-add-btn,
body.archive.woocommerce .products .product-grid-item .wd-add-btn,
.woocommerce .products .wd-product .wd-add-btn,
.woocommerce-page .products .wd-product .wd-add-btn,
body.tax-product_cat .products .wd-product .wd-add-btn,
body.archive.woocommerce .products .wd-product .wd-add-btn {
  height: auto !important;
  min-height: 0 !important;
  margin-top: auto !important;
  margin-bottom: 18px !important;
  padding: 0 16px !important;
  overflow: visible !important;
}

.woocommerce .products .product-grid-item .bp-loop-product-link,
.woocommerce-page .products .product-grid-item .bp-loop-product-link,
body.tax-product_cat .products .product-grid-item .bp-loop-product-link,
body.archive.woocommerce .products .product-grid-item .bp-loop-product-link,
.woocommerce .products .wd-product .bp-loop-product-link,
.woocommerce-page .products .wd-product .bp-loop-product-link,
body.tax-product_cat .products .wd-product .bp-loop-product-link,
body.archive.woocommerce .products .wd-product .bp-loop-product-link {
  height: 42px !important;
  margin: 0 !important;
  width: 100% !important;
}
/* Baustoffpilot archive card compact final - end */


/* Baustoffpilot logo integration - start */
body.woocommerce .whb-visible-lg .site-logo .wd-logo img,
body.woocommerce-page .whb-visible-lg .site-logo .wd-logo img,
body.page-id-10074 .whb-visible-lg .site-logo .wd-logo img {
  display: block !important;
  width: auto;
  max-width: 250px !important;
}

body.woocommerce .whb-visible-lg .site-logo .wd-logo:before,
body.woocommerce .whb-visible-lg .site-logo .wd-logo:after,
body.woocommerce-page .whb-visible-lg .site-logo .wd-logo:before,
body.woocommerce-page .whb-visible-lg .site-logo .wd-logo:after,
body.page-id-10074 .whb-visible-lg .site-logo .wd-logo:before,
body.page-id-10074 .whb-visible-lg .site-logo .wd-logo:after {
  content: none !important;
  display: none !important;
}

body.woocommerce .whb-hidden-lg .site-logo .wd-logo img,
body.woocommerce-page .whb-hidden-lg .site-logo .wd-logo img,
body.page-id-10074 .whb-hidden-lg .site-logo .wd-logo img {
  display: none !important;
}

body.woocommerce .whb-hidden-lg .site-logo .wd-logo:before,
body.woocommerce-page .whb-hidden-lg .site-logo .wd-logo:before,
body.page-id-10074 .whb-hidden-lg .site-logo .wd-logo:before {
  content: "" !important;
  display: block !important;
  width: 160px;
  height: 19px;
  background: url("http://wordpress.p665684.webspaceconfig.de/wp-content/uploads/2026/08/baustoffpilot_logo_web.svg") left center / contain no-repeat;
}

body.woocommerce .whb-hidden-lg .site-logo .wd-logo:after,
body.woocommerce-page .whb-hidden-lg .site-logo .wd-logo:after,
body.page-id-10074 .whb-hidden-lg .site-logo .wd-logo:after {
  content: none !important;
  display: none !important;
}

@media (max-width: 480px) {
  body.woocommerce .whb-hidden-lg .site-logo .wd-logo:before,
  body.woocommerce-page .whb-hidden-lg .site-logo .wd-logo:before,
  body.page-id-10074 .whb-hidden-lg .site-logo .wd-logo:before {
    width: 132px;
    height: 16px;
  }
}
/* Baustoffpilot logo integration - end */


/* Baustoffpilot mobile purchase flow - start */
.bp-shipping-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 18px;
  padding: 14px 16px;
  border: 1px solid #dfe5eb;
  border-left: 4px solid var(--bd-red);
  border-radius: 6px;
  background: #f7f9fb;
  color: var(--bd-ink);
  font-size: 13px;
  line-height: 1.5;
}

.bp-shipping-notice:before {
  content: "LKW";
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--bd-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
}

.bp-shipping-notice strong {
  display: block;
  margin-bottom: 2px;
  color: var(--bd-dark);
}

.bp-shipping-notice a {
  color: var(--bd-red);
  font-weight: 800;
  text-decoration: underline;
}

.woocommerce-cart .bp-shipping-notice {
  margin: 0 0 18px;
}

@media (max-width: 480px) {
  body.single-product .main-page-wrapper > .container,
  body.woocommerce-cart .main-page-wrapper > .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  body.single-product .product-image-summary,
  body.single-product .summary-inner,
  body.single-product .woocommerce-product-gallery,
  body.single-product .woocommerce-product-details__short-description {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product .summary-inner {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.single-product table.variations,
  body.single-product table.variations tbody,
  body.single-product table.variations tr,
  body.single-product table.variations th,
  body.single-product table.variations td {
    display: block;
    width: 100% !important;
  }

  body.single-product table.variations th,
  body.single-product table.variations td {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.single-product table.variations select {
    width: 100% !important;
    min-height: 46px;
  }

  body.single-product .woocommerce-variation-add-to-cart,
  body.single-product form.cart:not(.grouped_form) {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  body.single-product form.cart .quantity {
    width: 104px !important;
    min-width: 104px !important;
    margin: 0 !important;
  }

  body.single-product form.cart .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px;
    padding: 0 12px;
    white-space: normal;
    text-align: center;
  }

  body.single-product .bp-product-fachinfo {
    padding: 14px;
  }

  body.single-product .bp-product-fachinfo__head {
    display: block;
  }

  body.single-product .bp-product-fachinfo__head strong {
    display: block;
    margin-top: 4px;
  }

  body.single-product .product_meta {
    display: block !important;
    padding: 14px;
  }

  body.single-product .woocommerce-tabs {
    width: 100% !important;
    overflow: hidden;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .shop_table,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-cart .cart-collaterals {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-cart .cart_item {
    position: relative;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    padding: 16px 12px !important;
    border: 1px solid var(--bd-line);
    border-radius: 7px;
    background: #fff;
  }

  body.woocommerce-cart .cart_item .product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 72px !important;
    min-width: 72px !important;
    padding: 0 !important;
  }

  body.woocommerce-cart .cart_item .product-thumbnail img {
    width: 72px !important;
    height: auto;
  }

  body.woocommerce-cart .cart_item .product-name,
  body.woocommerce-cart .cart_item .product-price,
  body.woocommerce-cart .cart_item .product-quantity,
  body.woocommerce-cart .cart_item .product-subtotal {
    grid-column: 2;
    width: 100% !important;
    min-width: 0 !important;
    padding: 4px 0 !important;
  }

  body.woocommerce-cart .cart_item .product-name {
    padding-right: 22px !important;
    font-weight: 800;
  }

  body.woocommerce-cart .cart_item .product-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
  }

  body.woocommerce-cart .cart_item .quantity {
    width: 96px !important;
    min-width: 96px !important;
    margin-left: 0 !important;
  }

  body.woocommerce-cart .cart_item .product-subtotal {
    justify-content: flex-start !important;
    font-size: 16px;
    font-weight: 900;
  }

  body.woocommerce-cart .cart-actions .coupon,
  body.woocommerce-cart .coupon {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  body.woocommerce-cart .coupon input,
  body.woocommerce-cart .coupon button {
    width: 100% !important;
    min-height: 46px;
    margin: 0 !important;
  }

  body.woocommerce-cart .cart_totals {
    padding: 18px 14px !important;
  }

  body.woocommerce-cart .woocommerce-shipping-totals {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a {
    width: 100% !important;
    min-height: 50px;
    white-space: normal;
    text-align: center;
  }

  .bp-shipping-notice {
    gap: 9px;
    padding: 12px;
    font-size: 12px;
  }
}
/* Baustoffpilot mobile purchase flow - end */


/* Baustoffpilot category GEO - start */
.bp-category-geo {
  margin: 42px 0 18px;
  padding: 30px 32px;
  border: 1px solid var(--bd-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 32, .05);
}

.bp-category-geo > h2 {
  margin: 0 0 12px;
  color: var(--bd-dark);
  font-size: 28px;
  line-height: 1.2;
}

.bp-category-geo__lead {
  max-width: 920px;
  margin: 0 0 28px;
  color: #394553;
  font-size: 16px;
  line-height: 1.65;
}

.bp-category-geo__faq {
  border-top: 1px solid var(--bd-line);
  padding-top: 24px;
}

.bp-category-geo__faq h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.bp-category-geo__faq details {
  border-bottom: 1px solid var(--bd-line);
  padding: 14px 0;
}

.bp-category-geo__faq summary {
  cursor: pointer;
  color: var(--bd-dark);
  font-weight: 850;
}

.bp-category-geo__faq details p {
  max-width: 900px;
  margin: 10px 0 0;
  color: var(--bd-muted);
  line-height: 1.6;
}

.bp-category-geo__links {
  margin-top: 24px;
  padding: 18px;
  border-radius: 6px;
  background: var(--bd-soft);
}

.bp-category-geo__links strong {
  display: block;
  margin-bottom: 10px;
  color: var(--bd-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bp-category-geo__links div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.bp-category-geo__links a {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--bd-line);
  border-radius: 4px;
  background: #fff;
  color: var(--bd-dark);
  font-size: 12px;
  font-weight: 800;
}

.bp-category-geo__links a:hover {
  border-color: var(--bd-red);
  color: var(--bd-red);
}

@media (max-width: 480px) {
  .bp-category-geo {
    margin-top: 28px;
    padding: 22px 16px;
  }

  .bp-category-geo > h2 {
    font-size: 23px;
  }

  .bp-category-geo__lead {
    font-size: 14px;
  }

  .bp-category-geo__faq h2 {
    font-size: 19px;
  }

  .bp-category-geo__links div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bp-category-geo__links a {
    justify-content: center;
    text-align: center;
  }
}
/* Baustoffpilot category GEO - end */


/* Baustoffpilot Ratgeber hero fix - replace stock photo with brand gradient */
body.page-id-10406 .wd-page-title-bg,
body.page-id-10483 .wd-page-title-bg,
body.page-id-10485 .wd-page-title-bg,
body.page-id-10487 .wd-page-title-bg,
body.page-id-10489 .wd-page-title-bg {
  background: linear-gradient(120deg, #0e5f8a 0%, #123b52 100%) !important;
}
body.page-id-10406 .wd-page-title-bg img,
body.page-id-10483 .wd-page-title-bg img,
body.page-id-10485 .wd-page-title-bg img,
body.page-id-10487 .wd-page-title-bg img,
body.page-id-10489 .wd-page-title-bg img {
  display: none !important;
}


/* Baustoffpilot header polish */
.whb-header{box-shadow:0 2px 14px rgba(20,27,36,0.06) !important;}
.whb-header-bottom{background:#F6F7F8 !important;}
.whb-header-bottom .whb-main-nav > .menu-item > a{position:relative;padding-top:16px !important;padding-bottom:16px !important;transition:color .2s ease;}
.whb-header-bottom .whb-main-nav > .menu-item > a:after{content:"";position:absolute;left:14px;right:14px;bottom:9px;height:2px;background:#0e5f8a;transform:scaleX(0);transform-origin:left;transition:transform .2s ease;}
.whb-header-bottom .whb-main-nav > .menu-item:hover > a,
.whb-header-bottom .whb-main-nav > .menu-item.current-menu-item > a,
.whb-header-bottom .whb-main-nav > .menu-item.current-menu-parent > a{color:#0e5f8a !important;}
.whb-header-bottom .whb-main-nav > .menu-item:hover > a:after,
.whb-header-bottom .whb-main-nav > .menu-item.current-menu-item > a:after,
.whb-header-bottom .whb-main-nav > .menu-item.current-menu-parent > a:after{transform:scaleX(1);}
.whb-general-header .wd-tools-icon{transition:color .2s ease;}
.whb-general-header .wd-tools-item:hover .wd-tools-icon{color:#0e5f8a !important;}
