/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

*:hover {
  transition: all 0.3s ease !important;
}

/* Zeigt alle elemente im OffCanvas an auch wenn sie nicht im Veieport liegen. */
.brx-offcanvas-inner {
    overflow-y: scroll;
    flex-wrap: nowrap;
}

#brx-header {
  z-index: 99;
}

/* Hover Effekt für Bilder mit Button Overlay */
.bblock-hover {
  transition: margin-top 0.3s ease;
}

.bblock-hover:hover {
  margin-top: -10px
}

.bblock-hover .bblock {
  transition: margin-top 0.3s ease;
}


.bblock-hover:hover .bblock {
  margin-top: -70px !important;
}

#bricks-structure .element.active .structure-item {
background-color: #1b6976 !important;
}

.bocklist ul li {
  color: #515151;
  list-style-type: none;
  background-image: url("data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e %3csvg id='Ebene_1' data-name='Ebene 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.61 14.14'%3e%3cdefs%3e%3cstyle%3e.cls-1 %7b fill: %23515151%3b %7d%3c/style%3e%3c/defs%3e%3cpath class='cls-1' d='M19.23%2c3.51C17.95-.38%2c13.39-.37%2c11.69.4c-1.08.49-1.4%2c1.44-1.36%2c2.2-.18-.02-.35-.03-.53-.03s-.35.01-.53.03c.04-.76-.28-1.71-1.36-2.2C6.22-.37%2c1.66-.38.38%2c3.51c-1.41%2c4.29%2c1.45%2c6.72%2c3.3%2c6.78%2c2.03.07%2c2.79-1.3%2c2.79-1.3%2c0%2c0-.99.41-1.82.34-.97-.09-2.49-1.31-2.42-3.26.08-2.22%2c2.41-2.53%2c3.79-2.34-.78.16-1.19.37-1.81%2c1.34.29.16%2c1.33.6%2c2.17-.01-.4%2c1.63.23%2c2.95%2c1.02%2c3.93-.83.91-.7%2c1.79.15%2c3.43h0s.01.01.03.03c.08.08.17.17.26.25.5.48%2c1.52%2c1.4%2c1.96%2c1.45%2c0%2c0%2c.01%2c0%2c.02%2c0%2c0%2c0%2c0%2c0%2c0%2c0s0%2c0%2c0%2c0c0%2c0%2c.01%2c0%2c.02%2c0%2c.4-.05%2c1.28-.82%2c1.82-1.32%2c1.45-1.83%2c1.42-2.86.53-3.84.79-.98%2c1.42-2.3%2c1.02-3.93.84.61%2c1.88.18%2c2.17.01-.62-.97-1.02-1.18-1.81-1.34%2c1.38-.19%2c3.71.12%2c3.79%2c2.34.07%2c1.96-1.44%2c3.18-2.42%2c3.26-.83.07-1.82-.34-1.82-.34%2c0%2c0%2c.77%2c1.37%2c2.79%2c1.3%2c1.85-.06%2c4.71-2.49%2c3.3-6.78'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 24px;
  padding-left: 40px;
  background-position: 0 8px
}

.bocklist ul li:hover {
  background-image: url("data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e %3csvg id='Ebene_1' data-name='Ebene 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.61 14.14'%3e%3cdefs%3e%3cstyle%3e.cls-1 %7b fill: %23ffffff%3b %7d%3c/style%3e%3c/defs%3e%3cpath class='cls-1' d='M19.23%2c3.51C17.95-.38%2c13.39-.37%2c11.69.4c-1.08.49-1.4%2c1.44-1.36%2c2.2-.18-.02-.35-.03-.53-.03s-.35.01-.53.03c.04-.76-.28-1.71-1.36-2.2C6.22-.37%2c1.66-.38.38%2c3.51c-1.41%2c4.29%2c1.45%2c6.72%2c3.3%2c6.78%2c2.03.07%2c2.79-1.3%2c2.79-1.3%2c0%2c0-.99.41-1.82.34-.97-.09-2.49-1.31-2.42-3.26.08-2.22%2c2.41-2.53%2c3.79-2.34-.78.16-1.19.37-1.81%2c1.34.29.16%2c1.33.6%2c2.17-.01-.4%2c1.63.23%2c2.95%2c1.02%2c3.93-.83.91-.7%2c1.79.15%2c3.43h0s.01.01.03.03c.08.08.17.17.26.25.5.48%2c1.52%2c1.4%2c1.96%2c1.45%2c0%2c0%2c.01%2c0%2c.02%2c0%2c0%2c0%2c0%2c0%2c0%2c0s0%2c0%2c0%2c0c0%2c0%2c.01%2c0%2c.02%2c0%2c.4-.05%2c1.28-.82%2c1.82-1.32%2c1.45-1.83%2c1.42-2.86.53-3.84.79-.98%2c1.42-2.3%2c1.02-3.93.84.61%2c1.88.18%2c2.17.01-.62-.97-1.02-1.18-1.81-1.34%2c1.38-.19%2c3.71.12%2c3.79%2c2.34.07%2c1.96-1.44%2c3.18-2.42%2c3.26-.83.07-1.82-.34-1.82-.34%2c0%2c0%2c.77%2c1.37%2c2.79%2c1.3%2c1.85-.06%2c4.71-2.49%2c3.3-6.78'/%3e%3c/svg%3e");
}

.bocklist ul {
  padding-left: 0
}

.hover-block .hover-block-item {
  transition: margin-bottom 0.3s ease;
}

.hover-block:hover .hover-block-item {
  margin-bottom: 20px;
}

.pulse {     
      animation: pulseAnimation 4s infinite ease-in-out;
    }

    @keyframes pulseAnimation {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.1); /* Skaliert um 10% vergrößert */
      }
      100% {
        transform: scale(1);
      }
    }
.produktabfrage .buttons a {
  min-width: 250px !important;
  padding: 5px 20px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important; 
}

.filter {
  display:none;
}

.kategorie .kategorie__heading {   
  transition: bottom 0.3s ease !important;
}

.kategorie:hover .kategorie__heading {
  bottom: 20px !important;  
  transition: bottom 0.3s ease !important;
}

body .brx-body .hide-in-bricks-editor {
    display: none !important;
}

.variations .label {
  display: none !important;
}

.variations {
  margin-bottom: 0 !important;
}

.single_add_to_cart_button {
  margin-top: 0 !important;
  background-color: #98b6a5 !important;
  color: #fff !important;
}

.variations_form {
  max-width: 400px !important
}

.yith-par-message, .yith-par-message-variation {
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;  /* vertikale Zentrierung */
  justify-content: center !important; /* optional: horizontale Zentrierung */
  vertical-align: middle !important;
  padding: 5px 20px !important;
  width: 100%;
  border-radius: 0;
}

.yith-par-message svg, .yith-par-message-variation svg {
  margin-right: 5px !important;
  width: 20px !important;
}

.yith-par-message .woocommerce-Price-amount, .yith-par-message-variation .woocommerce-Price-amount {
  color: #fff !important;
}

.yith-wcwl-add-to-wishlist-button {
  font-size: 14px;
}

.single-product .quantity {
  margin-bottom: 10px;
}

.gform_wrapper label {
  color: #515151 !important
}

.gform_wrapper .gfield_required {
  color: #8dae9b !important;
}

.gform_wrapper .gform_button {
  background: #515151 !important;
  padding: 10px 20px !important;
  color: #fff !important;
  border: none !important;
}

.ginput_container_select select {
  background-color: #fff;
}

.gfield_consent_label a {
  border-bottom: 1px dashed #8dae9b !important;
}

.gfield_consent_label {
  padding-top: 3px;
}

.ginput_container.ginput_container_consent {
    display: flex;
    gap: 10px;
  vertical-align: middle;
}

input[type="radio"], input[type="checkbox"] {
  accent-color: #8dae9b !important; 
}

@media only screen and (max-width:47.9375em) {
  .gfield_consent_label {
    max-width: 300px;
  }
}

.teaser-button {
    background: #8899a0;
    padding: 20px 40px;
    margin: 0;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 0;
}

.teaser-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8592ad;
    opacity: 0;
    -webkit-transition: .2s opacity ease-in-out;
    transition: .2s opacity ease-in-out;
}

.teaser-button:hover::before {
    opacity: .2;
}

.teaser-button span {
    position: absolute;
}

.teaser-button span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(8, 20, 43, 0)), to(#fff));
    background: linear-gradient(to left, rgba(8, 20, 43, 0), #fff);
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}

@-webkit-keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.teaser-button span:nth-child(2) {
    top: 0;
    right: 0;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(8, 20, 43, 0)), to(#fff));
    background: linear-gradient(to top, rgba(8, 20, 43, 0), #fff);
    -webkit-animation: 2s animateRight linear -1s infinite;
    animation: 2s animateRight linear -1s infinite;
}

@-webkit-keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

.teaser-button span:nth-child(3) {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(8, 20, 43, 0)), to(#fff));
    background: linear-gradient(to right, rgba(8, 20, 43, 0), #fff);
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}

@-webkit-keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

.teaser-button span:nth-child(4) {
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(8, 20, 43, 0)), to(#fff));
    background: linear-gradient(to bottom, rgba(8, 20, 43, 0), #fff);
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
}

@-webkit-keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

@keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

.product-type-simple #brxe-vxmolc {
  max-width: 195px;
  padding: 8px 10px;
  margin-bottom: -61px;
  margin-left: 210px;
  border: 1px solid #dddedf;
  taxt-align: center !important;
}


.variations_form .woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    align-items: stretch;
    width: 400px;       /* exakt wie Auswahlfeld */
    max-width: 100%;    /* responsive */
    margin: 0 auto;
}

.variations_form .woocommerce-variation-add-to-cart .quantity {
    flex: 1;
    margin-right: 20px; /* Abstand nur zwischen Quantity und Button */
}

.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 1;
    margin: 0;          /* kein Rand rechts */
}

.variations_form .woocommerce-variation-add-to-cart .quantity input.qty,
.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}


.yith-wcwl-add-to-wishlist-button__label {
  display: none;
}

.yith-par-message-product !important {  
  max-width: 400px;
  padding: 8px !important;
}

/* Klick auf großes Bild deaktivieren – Thumbnails bleiben unberührt */
.woocommerce-product-gallery .woocommerce-product-gallery__image > a {
  pointer-events: none;
  cursor: default;
}

.tabellen-popup .table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 0;
}
.tabellen-popup table {
  border-collapse: collapse;
  width: 100%;
  min-width: 400px;
}
.tabellen-popup th, .tabellen-popup td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: center;
}
.tabellen-popup th {
  background-color: #f4f4f4;
}
.tabellen-popup tr:nth-child(even) {
  background-color: #fafafa;
}

.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info {
  flex-direction: column;
  background-color: #fff;
  color: #000;
  padding: 50px 20px;
  border: 3px solid #98b6a5;
  margin-top: 30px;
  font-size: 24px;
}

.woocommerce-form-coupon-toggle .woocommerce-info a, .woocommerce-form-login-toggle .woocommerce-info a {
  color: #98b6a5;
}

#yith-par-message-cart {
  margin-top: 30px !important;
}

/* Parent-Container nebeneinander */
#customer_login.u-columns.col2-set {
  display: flex;
  gap: 30px; /* Abstand zwischen Login und Registrierung */
  justify-content: space-between;
}

/* Spalten gleich breit */
#customer_login .u-column1,
#customer_login .u-column2 {
  flex: 1;
  min-width: 0; /* für Flexbox: verhindert Überlauf */
}

/* Optional: auf kleinen Screens untereinander */
@media (max-width: 768px) {
  #customer_login.u-columns.col2-set {
    flex-direction: column;
  }
}

.checkout-product-thumbnail img {
  width: 50px;
  height: auto;
  border-radius: 4px;
}

#yith-par-message-cart {
  background-color: #818181 !important;
  color: #fff !important;
  justify-content: center !important;
}

#yith-par-message-cart .woocommerce-Price-amount {
  color: #fff !important;
}

.banner-icon {
  width: 30px;
}

/* Grundpositionierung */
.login-toggle,
.coupon-toggle {
  position: relative;
}

/* Standard: Chevron (›) */
.login-toggle::after,
.coupon-toggle::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.25s ease;
  pointer-events: none;
}

/* Wenn geöffnet → X exakt mittig, gleiche Ausrichtung */
.login-toggle[aria-expanded="true"]::after,
.coupon-toggle[aria-expanded="true"]::after {
  content: '×';
  border: none;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  width: auto;
  height: auto;
  transform: translateY(-55%); /* leicht angepasst für optische Mitte */
}


.login-toggle,
.coupon-toggle {
  position: relative;
  display: block !important;
  text-align: center;
  background-color: #fff !important;
  color: #8dae9b !important;
  border: 1px solid #8dae9b;
}

.login-toggle div b,
.coupon-toggle div b {
  border-bottom: 1px dashed #8dae9b
}

.woocommerce .button {
  background-color: #8dae9b !important;
  color: #fff !important;
}

/* =======================================
   Checkout-Tabelle – sauberes, dezentes Styling
   ======================================= */
.shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

/* Tabellenkopf */
.shop_table thead th {
  text-align: left;
  padding: 12px 15px;
  background-color: #f7f7f7;
  color: #222;
  font-weight: 600;
  border-bottom: 1px solid #e3e3e3;
}

/* Tabellenzellen */
.shop_table tbody td,
.shop_table tfoot td,
.shop_table tfoot th {
  padding: 15px;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

/* Produktbereich */
.checkout-product-thumbnail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-product-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Produktname + Menge nebeneinander */
.product-name {
  display: flex;
  flex-direction: column;
}

.product-name .checkout-product-thumbnail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-name .checkout-product-name {
  font-weight: 500;
  color: #111;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

/* Menge direkt hinter dem Produktnamen */
.product-name .product-quantity {
  display: inline;
  color: #555;
  font-weight: 400;
  font-size: 14px;
  margin-left: 3px;
}

/* Varianten: Größe & Lieferzeit – 2 Zeilen, Label + Wert nebeneinander */
.product-name dl.variation {
  display: grid !important;
  grid-template-columns: max-content 1fr;
  column-gap: 8px;
  row-gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  align-items: baseline;
}

/* Standard-Reset */
.product-name dl.variation dt,
.product-name dl.variation dd {
  margin: 0;
  padding: 0;
}

/* Label */
.product-name dl.variation dt {
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

/* Wert */
.product-name dl.variation dd {
  color: #333;
}

.product-name dl.variation dd p {
  margin: 0;
  display: inline;
}

/* Theme-Separatoren entfernen */
.product-name dl.variation dd::after {
  content: '' !important;
}

/* Preise */
.product-total {
  text-align: right;
}

.woocommerce-Price-amount {
  font-weight: 700;
  color: #98b6a5;
}

.produktabfrage .woocommerce-Price-amount {
  font-weight: 700;
  color: #181818 !important;
}

.wgm-tax {
  display: block;
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

/* Footer-Zeilen */
.shop_table tfoot th {
  text-align: left;
  font-weight: 600;
  color: #333;
}

.shop_table tfoot td {
  text-align: right;
}

.shop_table .order-total td strong {
  font-size: 17px;
  color: #000;
}

/* Letzte Zeile ohne Rand */
.shop_table tr:last-child td,
.shop_table tr:last-child th {
  border-bottom: none;
}

/* Leichter Hover-Effekt */
.shop_table tbody tr {
  background-color: #fafafa;
  transition: background-color 0.2s ease;
}

/* Responsive Darstellung */
@media (max-width: 768px) {
  .checkout-product-thumbnail {
    flex-direction: row;
    align-items: flex-start;
  }

  .product-total {
    text-align: left;
    margin-top: 10px;
  }

  .shop_table thead {
    display: none;
  }

  .shop_table tbody td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
  }

  .shop_table tbody tr {
    display: block;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
}

/* Alte WooCommerce-Mengenangabe im Checkout ausblenden */
.woocommerce-checkout-review-order-table .product-quantity {
  display: none !important;
}

/* Neue Mengenangabe (direkt hinter Produktname) */
.inline-quantity {
  font-weight: 400;
  color: #555;
  font-size: 14px;
  margin-left: 4px;
}

.woocommerce-tabs .panel {
  padding: 30px 0 !important;
}

.woocommerce-variation-price, .woocommerce-variation-availability, .reset_variations, .reset_variations_alert {
  display: none !important;
}

/* Verhindert, dass Woo Zwischenraum erzeugt */
.woocommerce-variation {
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-variation-price,
.woocommerce-variation-availability,
.woocommerce-variation-description,
.reset_variations_alert {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mab-woo-product-gallery-slider-thumbs img, .mab-woo-product-gallery-slider .splide__track {
  border: 1px solid #98b6a5;
}

.detail-item a {
  border-bottom: 1px dashed #000;
}

.term-300 #brxe-xaokke {
  display: none;
}

.woocommerce-account-fields {
  margin-top: 14px;
}

#customer_details .woocommerce-shipping-fields {
  margin-top: 0 !important;
}

/* =========================================
   TEIL 1: DAS DROPDOWN LAYOUT (BASIS)
   ========================================= */

/* 1. Der Container (Block) ist der Button */
.my-dropdown-wrapper {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ccc;
    cursor: pointer;
    z-index: 50;
    user-select: none; /* Verhindert Text-Markieren beim Klicken */
}

/* 2. Das Label (Button-Text) */
/* Standard-Text, falls keine spezielle Klasse gesetzt ist */
.my-dropdown-wrapper::before {
    content: "Filter wählen ▾"; 
    display: block;
    padding: 10px 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3. Pfeil drehen wenn offen */
.my-dropdown-wrapper.is-open::before {
    background-color: #f9f9f9;
    /* Pfeil wird über den content in den spezifischen Sektionen unten geändert */
}

/* 4. Das eigentliche Filter-Element (die Liste/Inhalt) */
/* Wir sprechen hier alle Bricks-Filter-Typen an */
.my-dropdown-wrapper .brxe-filter-checkbox, 
.my-dropdown-wrapper .brxe-filter-select,
.my-dropdown-wrapper .brxe-filter-search,
.my-dropdown-wrapper .brxe-filter-range,
.my-dropdown-wrapper ul {
    display: none; /* Standardmäßig versteckt */
    position: absolute;
    top: 100%;
    
    /* --- HIER IST DER FIX --- */
    /* Wir berechnen die Breite hart: 100% vom Elternteil + 2px für die Ränder */
    width: calc(100% + 2px) !important; 
    left: -1px !important;   /* Zieht es 1px nach links über den Rand */
    right: auto;             /* Rechts ignorieren wir, da width das regelt */
    box-sizing: border-box;  /* Stellt sicher, dass Padding nicht die Breite sprengt */
    /* ------------------------ */
    
    max-height: 250px; 
    overflow-y: auto;  
    
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-top: none; /* Oben offen für den Übergang */
    z-index: 100;
    margin: 0;
    padding: 10px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* 5. Anzeigen wenn Klasse 'is-open' da ist */
.my-dropdown-wrapper.is-open .brxe-filter-checkbox,
.my-dropdown-wrapper.is-open .brxe-filter-select,
.my-dropdown-wrapper.is-open .brxe-filter-search,
.my-dropdown-wrapper.is-open .brxe-filter-range,
.my-dropdown-wrapper.is-open ul {
    display: block;
}

/* 6. Listen-Elemente etwas schöner machen */
.my-dropdown-wrapper li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    list-style: none;
}
.my-dropdown-wrapper li:last-child {
    border-bottom: none;
}

/* 7. Suchfelder und Slider Inputs anpassen */
.my-dropdown-wrapper input[type="search"],
.my-dropdown-wrapper input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}


/* =========================================
   TEIL 2: TEXT ANPASSUNGEN (BESCHRIFTUNG)
   ========================================= */

/* --- MARKE (Standard oder Klasse .is-brand) --- */
/* Falls du dem Marken-Wrapper keine Klasse gegeben hast, nutzen wir das hier als Fallback */
.my-dropdown-wrapper::before { content: "Marke wählen ▾"; }
.my-dropdown-wrapper.is-open::before { content: "Marke wählen ▴"; }

/* --- FARBE (.is-color) --- */
.my-dropdown-wrapper.is-color::before { content: "Farbe wählen ▾" !important; }
.my-dropdown-wrapper.is-color.is-open::before { content: "Farbe wählen ▴" !important; }

/* --- KATEGORIE (.is-category) --- */
.my-dropdown-wrapper.is-category::before { content: "Kategorie wählen ▾" !important; }
.my-dropdown-wrapper.is-category.is-open::before { content: "Kategorie wählen ▴" !important; }

/* --- PREIS (.is-price) --- */
.my-dropdown-wrapper.is-price::before { content: "Preis wählen ▾" !important; }
.my-dropdown-wrapper.is-price.is-open::before { content: "Preis wählen ▴" !important; }

/* --- GRÖSSE (.is-size) --- */
.my-dropdown-wrapper.is-size::before { content: "Größe wählen ▾" !important; }
.my-dropdown-wrapper.is-size.is-open::before { content: "Größe wählen ▴" !important; }


/* =========================================
   TEIL 3: FARBPUNKTE DESIGN
   ========================================= */

/* 1. Flexbox für Text und Punkt */
.filter-with-colors .brx-option-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* 2. Der Punkt (::before) */
.filter-with-colors .brx-option-text::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: #eee; /* Fallback */
    flex-shrink: 0;
}

/* 3. Farbzuweisungen */
.filter-with-colors input[value="anthrazit"] + span::before { background-color: #383e42; }
.filter-with-colors input[value="beige"] + span::before { background-color: #f5f5dc; }
.filter-with-colors input[value="berber"] + span::before { background-color: #e4d4c4; }
.filter-with-colors input[value="blau"] + span::before { background-color: #0000ff; }
.filter-with-colors input[value="bordeaux"] + span::before { background-color: #800020; }
.filter-with-colors input[value="braun"] + span::before { background-color: #8b4513; }
.filter-with-colors input[value="dunkelbeere"] + span::before { background-color: #4b0082; }
.filter-with-colors input[value="dunkelgruen"] + span::before { background-color: #006400; }
.filter-with-colors input[value="gelb"] + span::before { background-color: #ffd700; }
.filter-with-colors input[value="grau"] + span::before { background-color: #808080; }
.filter-with-colors input[value="gruen"] + span::before { background-color: #008000; }
.filter-with-colors input[value="haselnuss"] + span::before { background-color: #ae8665; }
.filter-with-colors input[value="hellblau"] + span::before { background-color: #add8e6; }
.filter-with-colors input[value="lila"] + span::before { background-color: #800080; }
.filter-with-colors input[value="loden"] + span::before { background-color: #4d5d53; }
.filter-with-colors input[value="natur"] + span::before { background-color: #faf0e6; }
.filter-with-colors input[value="olive"] + span::before { background-color: #808000; }
.filter-with-colors input[value="orange"] + span::before { background-color: #ffa500; }
.filter-with-colors input[value="peach"] + span::before { background-color: #ffdab9; }
.filter-with-colors input[value="pink"] + span::before { background-color: #ffc0cb; }
.filter-with-colors input[value="rose"] + span::before { background-color: #ffe4e1; }
.filter-with-colors input[value="rot"] + span::before { background-color: #ff0000; }
.filter-with-colors input[value="schwarz"] + span::before { background-color: #000000; }
.filter-with-colors input[value="silber"] + span::before { background-color: #c0c0c0; }
.filter-with-colors input[value="steingrau"] + span::before { background-color: #909090; }
.filter-with-colors input[value="tinte"] + span::before { background-color: #1a1a40; }
.filter-with-colors input[value="tuerkis"] + span::before { background-color: #40e0d0; }
.filter-with-colors input[value="weiss"] + span::before { background-color: #ffffff; }

/* Schraffiert für "ohne Farbe" */
.filter-with-colors input[value="ohne-farbe"] + span::before { 
    background: repeating-linear-gradient(45deg, #fff, #fff 2px, #ccc 2px, #ccc 4px);
}

/* Haupt-Container: 5px Abstand nach oben hinzugefügt */
#yith-par-message-reward-cart.woocommerce-info {
    background-color: #818181 !important;
    color: #ffffff !important;
    text-align: center !important;
    border: none !important;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px !important; /* Der gewünschte Abstand */
}

/* Sicherstellen, dass alle Texte im Block weiß sind */
#yith-par-message-reward-cart, 
#yith-par-message-reward-cart strong, 
#yith-par-message-reward-cart bdi,
#yith-par-message-reward-cart span {
    color: #ffffff !important;
}

/* KORREKTUR: Schrift im Eingabefeld lesbar machen (Schwarz auf Weiß) */
#yith-par-message-reward-cart input#ywpar-points-max {
    color: #333333 !important; /* Dunkle Schrift für das Eingabefeld */
    background-color: #ffffff !important; /* Weißer Hintergrund */
    width: 65px;
    text-align: center;
    margin: 0 5px;
    display: inline-block;
    border: 1px solid #ccc;
    padding: 2px 5px;
}

/* Button unter den Text setzen */
#yith-par-message-reward-cart .ywpar_apply_discounts button#ywpar_apply_discounts {
    display: block !important;
    margin: 15px auto 0 !important;
    float: none !important;
}

/* Icon entfernen */
#yith-par-message-reward-cart::before {
    display: none !important;
}

#billing_country_field .woocommerce-input-wrapper strong::after {
    content: " ( Aktuell liefern wir nur nach Deutschland )";
    font-weight: bold;   /* Macht den Text fett */
    color: #8dae9b;      /* Setzt die gewünschte Farbe */
}

/* Wir nutzen das innere Element .subtext, damit der Pfeil im Haupt-Element erhalten bleibt */
.coupon-toggle .subtext::after {
    content: "Unseren 10% Willkommensrabatt Code findest Du in Deiner Registrierungsmail.";
    display: block;       /* Erzwingt die neue Zeile unter "Klicke hier..." */
    margin-top: 10px;     /* Abstand nach oben */
    
    font-weight: normal;  /* Nicht fett */
    font-size: 0.9em;     /* ca. 10% kleiner */
    color: #555555;       /* Dunkelgrau (damit es nicht wie ein Link aussieht) */
    line-height: 1.4;     /* Zeilenabstand */
}

.login-toggle {
  padding-bottom: 42px;
}

.login-toggle::after, .coupon-toggle::after {   
  border-color: #000 !important; 
}

.login-toggle[aria-expanded="true"]::after, .coupon-toggle[aria-expanded="true"]::after {
  color: #000 !important;
}

.jde_hint a {
  font-weight: bold;
  text-decoration: underline;
}

.single-product .marketpress-salesman-refer-shariff {
  display: none !important
}