@charset "UTF-8";
.woocommerce-tabs ul li {
  margin: 0 20px;
}
@media (max-width: 767px) {
  .woocommerce-tabs ul li {
    margin: 0;
  }
}

/* Full width section with pseudo-elements */
.custom-full-width {
  position: relative;
  background: #eee;
}

.custom-full-width::before,
.custom-full-width::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  background: inherit;
  /* Inherits the background from parent */
}

.custom-full-width::before {
  right: 100%;
  /* Extends to the left */
}

.custom-full-width::after {
  left: 100%;
  /* Extends to the right */
}

.single-product .summary {
  margin-bottom: 50px;
}

.bw-image-content {
  clear: both;
  display: block;
  margin-top: 50px;
  margin-bottom: 40px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.bw-image-content-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 45px !important;
}

.bw-image-content-columns {
  display: flex;
  flex-wrap: wrap;
}

.bw-image-content-columns > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.bw-image-content-column {
  flex: 0 0 auto;
  width: 25%;
}
@media (max-width: 992px) {
  .bw-image-content-column {
    width: 50%;
  }
}
@media (max-width: 580px) {
  .bw-image-content-column {
    width: 100%;
  }
}
.bw-image-content-column img {
  width: 120px;
  margin: auto;
}
.bw-image-content-column .bw-image-content-text {
  margin-top: 20px;
  text-align: center;
}
.bw-image-content-column .bw-image-content-text h3 {
  font-size: 24px;
  margin-bottom: 0.5rem;
}

.woocommerce-tabs.bw-wc-tabs {
  margin-top: 60px;
  margin-bottom: 40px;
}
.woocommerce-tabs.bw-wc-tabs ul {
  text-align: center;
}
@media (max-width: 767px) {
  .woocommerce-tabs.bw-wc-tabs ul {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* for smooth scrolling on iOS */
    padding: 10px 0;
    margin: 0;
  }
}
.woocommerce-tabs.bw-wc-tabs ul li a {
  font-size: 1.7rem;
  font-weight: 600;
  color: #000 !important;
  text-transform: uppercase;
  letter-spacing: 1px !important;
  padding: 10px 20px;
  border-bottom: 2px solid transparent;
}
@media (max-width: 767px) {
  .woocommerce-tabs.bw-wc-tabs ul li a {
    padding: 10px;
    font-size: 1.4rem;
  }
}
.woocommerce-tabs.bw-wc-tabs ul li.active a {
  box-shadow: none;
  border-bottom: 2px solid #000;
}
.woocommerce-tabs.bw-wc-tabs .entry-content {
  padding-top: 40px;
  padding-bottom: 40px;
}

.bw-description-maps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.bw-description-maps .bw-description-maps-description,
.bw-description-maps .bw-description-maps-maps {
  width: calc(50% - 10px);
}
@media (max-width: 992px) {
  .bw-description-maps .bw-description-maps-description,
  .bw-description-maps .bw-description-maps-maps {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .bw-description-maps .bw-description-maps-maps {
    text-align: center;
    justify-self: center;
  }
}

.wapf {
  margin-bottom: 5px;
}

.wapf-product-totals {
  margin-top: 15px;
}
.wapf-product-totals .wapf--inner > div {
  line-height: 18px !important;
  padding-bottom: 5px !important;
}
.wapf-product-totals div span:first-child,
.wapf-product-totals div span:last-child {
  font-size: 15px !important;
  font-weight: normal !important;
}

body.wapf-opened {
  overflow: hidden;
}

.wapf a.wapf-open,
.single-product form.cart a.fabric-samples {
  color: #fff !important;
  text-decoration: none !important;
}

.wapf-wrapper {
  display: none;
  position: fixed;
  top: 10%;
  left: 0;
  width: 100vw;
  height: 600px;
  max-height: 100vh;
  justify-content: center;
  align-items: baseline;
  /* Center content */
  z-index: 10000;
}
@media (max-width: 767px) {
  .wapf-wrapper {
    top: 5%;
  }
}
.wapf-wrapper.opened {
  display: flex;
}
.wapf-wrapper.opened:after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  background: rgba(0, 0, 0, 0.65);
  width: 100%;
  height: 1000%;
  z-index: -1;
}
.wapf-wrapper .wapf-field-container {
  padding: 12px 20px;
}
.wapf-wrapper .wapf--inner {
  padding: 0 20px;
}
.wapf-wrapper button[name=add-to-cart] {
  margin: 12px 20px;
}
.wapf-wrapper .wapf-field-group {
  position: relative;
  background-color: var(--hintergrund) !important;
  padding: 0;
  border-radius: 8px;
  max-width: 600px;
  min-width: 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: auto;
  max-height: 80vh;
}
.wapf-wrapper .wapf-field-group .wapf-field-label {
  margin-bottom: 5px;
}
.wapf-wrapper .wapf-field-group label {
  font-size: 14px !important;
  font-weight: bold;
  line-height: 1.1em;
  margin-bottom: 0;
  margin-top: 5px;
}
.wapf-wrapper a.wapf-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px !important;
  height: 30px;
  background-color: transparent;
  border: none;
  padding: 0.5em;
  font-size: 20px !important;
  line-height: 2px;
  color: #f00 !important;
  text-decoration: none !important;
  cursor: pointer;
}
.wapf-wrapper .required {
  color: #f00;
}
.wapf-wrapper .wapf-image-swatch-wrapper {
  grid-template-columns: repeat(auto-fill, 90px);
}
.wapf-wrapper .wapf-swatch-label {
  font-size: 12px;
}
.wapf-wrapper .wapf-swatch--image .apf-pick-box {
  border: 3px solid transparent;
  border-radius: 4px;
}
.wapf-wrapper .wapf-swatch--image.wapf-checked .apf-pick-box,
.wapf-wrapper .wapf-swatch--image.wapf-checked.apf-pick-box {
  border-color: #f00;
}

body.single-product {
  font-family: var(--ueberschrift2);
  background: #fff !important;
  color: #000 !important;
  overflow-x: hidden;
}
body.single-product a {
  font-family: var(--ueberschrift2);
  color: #7B9AAB !important;
}
body.single-product h1,
body.single-product h2,
body.single-product h3,
body.single-product h4,
body.single-product h5,
body.single-product h6 {
  color: #000;
}
body.single-product h1::after,
body.single-product .entry-content h1::after {
  background: #7B9AAB !important;
}
body.single-product.woocommerce .content-area {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
@media (max-width: 991px) {
  body.single-product.woocommerce .content-area {
    overflow-x: hidden;
  }
}
@media only screen and (min-width: 1600px) {
  body.single-product.woocommerce .content-area {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
body.single-product.woocommerce #content div.product div.images, body.single-product.woocommerce #content div.product div.summary, body.single-product.woocommerce div.product div.images, body.single-product.woocommerce div.product div.summary, body.single-product.woocommerce-page #content div.product div.images, body.single-product.woocommerce-page #content div.product div.summary, body.single-product.woocommerce-page div.product div.images, body.single-product.woocommerce-page div.product div.summary {
  font-family: var(--ueberschrift2);
}
body.single-product.woocommerce #content div.product div.images p, body.single-product.woocommerce #content div.product div.summary p, body.single-product.woocommerce div.product div.images p, body.single-product.woocommerce div.product div.summary p, body.single-product.woocommerce-page #content div.product div.images p, body.single-product.woocommerce-page #content div.product div.summary p, body.single-product.woocommerce-page div.product div.images p, body.single-product.woocommerce-page div.product div.summary p {
  margin-bottom: 0.5em;
}
@media only screen and (max-width: 991px) {
  body.single-product.woocommerce #content div.product div.images, body.single-product.woocommerce #content div.product div.summary, body.single-product.woocommerce div.product div.images, body.single-product.woocommerce div.product div.summary, body.single-product.woocommerce-page #content div.product div.images, body.single-product.woocommerce-page #content div.product div.summary, body.single-product.woocommerce-page div.product div.images, body.single-product.woocommerce-page div.product div.summary {
    float: none;
    width: 100%;
    padding: 0 20px;
    margin: auto;
  }
}
@media only screen and (max-width: 767px) {
  body.single-product.woocommerce #content div.product div.images, body.single-product.woocommerce #content div.product div.summary, body.single-product.woocommerce div.product div.images, body.single-product.woocommerce div.product div.summary, body.single-product.woocommerce-page #content div.product div.images, body.single-product.woocommerce-page #content div.product div.summary, body.single-product.woocommerce-page div.product div.images, body.single-product.woocommerce-page div.product div.summary {
    padding: 0;
  }
}
body.single-product .woocommerce-breadcrumb {
  font-family: var(--ueberschrift2);
  padding-top: 15px;
}
body.single-product .summary.entry-summary.is-variations-form p.price {
  display: none;
}
body.single-product form.cart {
  /* Style the select element */
}
body.single-product form.cart.has-wapf .woocommerce-variation-price {
  display: none;
}
body.single-product form.cart table.variations {
  margin: 1rem 0 1rem;
}
@media (max-width: 767px) {
  body.single-product form.cart table.variations th,
  body.single-product form.cart table.variations td {
    float: left;
    width: 100%;
  }
  body.single-product form.cart table.variations th label,
  body.single-product form.cart table.variations td label {
    padding: 0;
  }
}
body.single-product form.cart table,
body.single-product form.cart th,
body.single-product form.cart td {
  border: 0;
  padding: 0;
  padding-bottom: 10px;
}
body.single-product form.cart a.reset_variations {
  font-size: 12px;
  color: #e22658 !important;
}
body.single-product form.cart input[type=checkbox] {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s;
}
body.single-product form.cart input[type=checkbox]:checked::before {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 100%;
  height: 100%;
}
body.single-product form.cart select {
  min-width: 300px;
  background: #f0f0f0;
  color: #333;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
@media (max-width: 767px) {
  body.single-product form.cart select {
    width: 100%;
  }
}
body.single-product form.cart select:focus {
  border-color: #007bff;
}
body.single-product form.cart input[type=number] {
  display: none;
}
body.single-product form.cart .bw-fabric-samples {
  margin-top: 10px;
}
body.single-product form.cart .bw-fabric-samples a.btn-fabric-samples {
  display: inline-block;
  background-color: #000;
  border: 2px solid #000;
  color: #fff !important;
  text-decoration: none !important;
  transition: background-color 0.3s, color 0.3s;
}
body.single-product form.cart .bw-fabric-samples a.btn-fabric-samples:hover {
  color: #000 !important;
  background-color: var(--hintergrund);
}
@media (max-width: 767px) {
  body.single-product form.cart .button {
    width: 100%;
    font-size: 14px;
    padding: 1rem;
  }
}
body.single-product .wapf-product-total,
body.single-product .wapf-options-total,
body.single-product .wapf-grand-total,
body.single-product .woocommerce-variation-price {
  font-weight: bold;
}
body.single-product .woocommerce-variation-price {
  margin-bottom: 20px;
}
body.single-product .product_meta a {
  color: #e22658 !important;
  text-decoration: none;
}

.bw-modal-side-modal {
  position: fixed;
  top: 0;
  right: -640px;
  width: 640px;
  height: 100vh;
  color: #000;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.bw-modal-side-modal.open {
  right: 0;
}

.bw-modal-side-title {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 24px;
  text-align: center;
}

.bw-modal-side-modal-content {
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.bw-modal-side-close {
  position: absolute;
  top: 18px;
  left: 24px;
  font-size: 32px;
  cursor: pointer;
}

.bw-modal-side-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.bw-modal-side-grid-item {
  text-align: center;
}
.bw-modal-side-grid-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 12px;
}

.bw-modal-side-contact-form {
  margin-top: 32px;
}

@media (max-width: 650px) {
  .bw-modal-side-modal {
    width: 100vw;
    right: -100vw;
  }
  .bw-modal-side-modal.open {
    right: 0;
  }
}
/**** ##################### SIDE FORM ##################### ****/
.sideForm {
  text-align: center;
}

.sideForm h5,
.sideForm-contact h5 {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--ueberschrift);
  color: #000;
  margin-bottom: 20px;
  transform: inherit;
}

.sideForm .wpcf7 .wpcf7-text,
.sideForm-contact .wpcf7 .wpcf7-text {
  background: transparent;
  font-size: 14px;
  margin-bottom: 10px !important;
  padding: 10px;
  height: 44px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #666;
}

.sideForm .wpcf7 .wpcf7-textarea,
.sideForm-contact .wpcf7 .wpcf7-textarea {
  background: transparent;
  font-size: 14px;
  margin-bottom: 20px !important;
  padding-left: 10px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #666;
  height: 80px;
}

.sideForm-contact .wpcf7 .wpcf7-textarea {
  height: 140px;
}

.sideForm .wpcf7 .wpcf7-text:focus-visible,
.sideForm .wpcf7 .wpcf7-textarea:focus-visible,
.sideForm-contact .wpcf7 .wpcf7-text:focus-visible,
.sideForm-contact .wpcf7 .wpcf7-textarea:focus-visible {
  border-bottom-color: #a7e61b;
  outline: none;
}

.sideForm span.wpcf7-not-valid-tip,
.sideForm-contact span.wpcf7-not-valid-tip {
  margin-top: 0;
  margin-bottom: 0;
}

.center_content {
  margin: 0;
  position: absolute;
  top: 15vh;
  padding: 0 30px;
}

.contactform_main .your-farbe span.wpcf7-list-item {
  margin: 0;
  display: inline-block;
  width: 20%;
  height: 30px;
}

.contactform_main .your-farbe span.wpcf7-list-item label {
  cursor: pointer;
}

.contactform_main .your-farbe {
  display: flex;
  flex-wrap: wrap;
}

/**** ################### END SIDE FORM ################### ****/
/* Stoffe */
.deine-farbe {
  width: 100%;
  margin-top: 40px;
}

/* 3-Spalten-Layout */
.deine-farbe .wpcf7-checkbox.your-farbe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 580px) {
  .deine-farbe .wpcf7-checkbox.your-farbe {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
/* Jede Checkbox-Box */
.deine-farbe .wpcf7-list-item {
  display: block;
  position: relative;
  padding: 0px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  width: 100% !important;
  height: 200px !important;
  margin-bottom: 10px !important;
}

/* Verstecke Checkbox selbst */
.deine-farbe .wpcf7-list-item input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.deine-farbe .wpcf7-list-item-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  padding: 10px;
}
@media (max-width: 767px) {
  .deine-farbe .wpcf7-list-item-label {
    font-size: 14px;
  }
}

/* Aktivierte Box */
.deine-farbe .wpcf7-list-item input[type=checkbox]:checked + .wpcf7-list-item-label {
  background-color: #e22658;
  color: #fff;
  border-radius: 4px;
}

/* Grafiken über dem Text */
.deine-farbe .wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 160px;
  height: 160px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  border: 1px solid #e22658;
}

@media (max-width: 580px) {
  .deine-farbe .wpcf7-list-item-label::before {
    width: 120px;
    height: 120px;
    margin: auto;
  }
  .deine-farbe .wpcf7-list-item {
    height: 160px !important;
  }
}
/* Bildzuweisungen */
input[value="Braune Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/braune-stoffe-1.jpg");
}

input[value="Beige Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/beige-stoffe.jpg");
}

input[value="Anthrazit Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/anthrazit-stoffe.jpg");
}

input[value="Blaue Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/blaue-stoffe-1.jpg");
}

input[value="Mittelgraue Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/mittelgraue-stoffe.jpg");
}

input[value="Grüne Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/gruene-stoffe.jpg");
}

input[value="Petrol Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/petrol-stoffe.jpg");
}

input[value="Rot-Orange Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/rot-orange-stoffe.jpg");
}

input[value="Gelbe Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/gelbe-stoffe.jpg");
}

input[value="Hellgraue Stoffe"] + .wpcf7-list-item-label::before {
  background-image: url("https://sofadepot.de/wp-content/uploads/hellgraue-stoffe.jpg");
}

.sideForm-contact .wpcf7-acceptance {
  text-align: left;
}
.sideForm-contact .wpcf7-acceptance input[type=checkbox] {
  margin-left: 0;
  margin-right: 10px;
}
.sideForm-contact .wpcf7-acceptance a {
  color: #e22658 !important;
}
.sideForm-contact input[type=submit] {
  width: 100%;
  background-color: #e22658 !important;
}
.sideForm-contact .row {
  display: flex;
  flex-wrap: wrap;
}
.sideForm-contact .row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
}
.sideForm-contact .col-sm-6 {
  flex: 0 0 auto;
  width: 50%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}
@media (max-width: 767px) {
  .sideForm-contact .col-sm-6 {
    width: 100%;
  }
}
.sideForm-contact .col-sm-12 {
  flex: 0 0 auto;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}
.sideForm-contact .wpcf7-not-valid-tip {
  font-size: 11px;
  line-height: 12px;
}

.woocommerce-error a.button,
.woocommerce-info a.button,
.woocommerce-message a.button {
  background-color: #e22658;
  color: #fff !important;
  border-color: #e22658;
  text-decoration: none !important;
}
.woocommerce-error a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-message a.button:hover {
  background-color: #d11a4c;
  border-color: #d11a4c;
}

/* WooCommerce Cart */
body.woocommerce-cart {
  font-family: var(--ueberschrift2);
  background: #eeeeee !important;
  color: #000 !important;
}
body.woocommerce-cart p {
  font-family: var(--ueberschrift2);
}
body.woocommerce-cart a {
  color: var(--graublau2) !important;
}
body.woocommerce-cart #site-content .post-inner {
  background: transparent !important;
}
@media (max-width: 767px) {
  body.woocommerce-cart .wp-block-woocommerce-cart {
    margin-top: 3em !important;
  }
}
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-price__value {
  font-weight: 500;
}
body.woocommerce-cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  padding: 6px 0 !important;
}
body.woocommerce-cart .wc-block-cart__submit-container a {
  background-color: #e22658 !important;
  color: #fff !important;
  border-color: #e22658 !important;
  text-decoration: none !important;
}
body.woocommerce-cart .wc-block-cart__submit-container a:hover {
  background-color: #d11a4c !important;
  border-color: #d11a4c !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon__button {
  height: 50px;
}

body.woocommerce-checkout {
  font-family: var(--ueberschrift2);
  background: #eeeeee !important;
  color: #000 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary h3,
body.woocommerce-checkout .wc-block-components-order-summary .entry-content h3 {
  font-family: var(--ueberschrift2);
  font-size: 16px;
  color: #000 !important;
  letter-spacing: 0.5px !important;
}
body.woocommerce-checkout p {
  font-family: var(--ueberschrift2);
}
body.woocommerce-checkout a {
  color: var(--graublau2) !important;
}
body.woocommerce-checkout .post-inner {
  background: transparent !important;
}
body.woocommerce-checkout .wc-block-components-title.wc-block-components-title {
  color: var(--graublau2) !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 767px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
    margin-top: 3em !important;
  }
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name {
  font-size: 16px;
  letter-spacing: 0.5px !important;
}
body.woocommerce-checkout .wc-block-components-totals-coupon__button {
  height: 50px;
}
body.woocommerce-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
  font-size: 16px;
}
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input {
  padding: 1.5em 0.5em 0.5em !important;
}
body.woocommerce-checkout .wp-block-group ul li::before,
body.woocommerce-checkout .entry-content ul li::before {
  top: 1px;
}

.single-product div.product {
  padding-top: 50px;
}

body.single-product .woocommerce-breadcrumb,
.single-product div.product .product_meta,
.wc-block-components-checkout-return-to-cart-button {
  display: none !important;
}

.wapf-field-group {
  position: relative;
}

.wapf-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid #91aab7;
  margin-bottom: 10px;
  font-size: 14px;
  width: 100%;
  background: #91aab7;
}

.wapf-tab {
  padding: 10px 20px;
  cursor: pointer;
  background: #91aab7;
  border: 1px solid #848a8e;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  color: #fff;
}

.wapf-tab.active {
  background: var(--hintergrund);
  border-bottom: 1px solid var(--hintergrund);
  margin-bottom: -1px;
  color: #000;
}

.wapf-field-container {
  display: none;
}

.wapf-field-container.active {
  display: block;
}

.wapf-tab.wapf-hide {
  display: none;
}

.wapf-field-container.wapf-hide {
  display: none;
}

.wapf-product-preview {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.wapf-product-preview img {
  display: inline;
  max-width: 100%;
  min-width: 150px;
  width: auto;
  height: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.wapf-select-dropdown {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
}

.wapf-select-dropdown:focus {
  outline: none;
  border-color: #666;
}

/* Tooltip styles for add-to-cart button in popup */
.wapf-tooltip {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .wapf-tooltip {
    position: absolute;
    bottom: 50px;
    right: 20px;
  }
}

.wapf-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #7B9AAB;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 12px;
}
.wapf-tooltip-icon:hover {
  background-color: #5a7a8a;
}

.wapf-tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 8px 12px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10001;
  width: 250px;
  white-space: normal;
}
.wapf-tooltip-content p {
  margin: 0;
  margin-bottom: 0 !important;
  font-size: 12px;
  line-height: 1.4;
}
.wapf-tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}
.wapf-tooltip-content.visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .wapf-tooltip-content {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: 280px;
  }
  .wapf-tooltip-content::after {
    display: none;
  }
}
.wapf-error-message {
  color: #f00;
  font-size: 12px;
  margin-top: -5px;
}

.woocommerce-order {
  padding-top: 80px;
  padding-bottom: 80px;
}
.woocommerce-order .woocommerce-notice {
  font-size: 24px;
}
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
  margin-top: 50px !important;
}
.woocommerce-order .woocommerce-order-details h2,
.woocommerce-order .woocommerce-customer-details h2 {
  color: #000;
}
.woocommerce-order .wc-item-meta {
  padding-top: 15px;
  padding-bottom: 15px;
}
.woocommerce-order .wc-item-meta li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 0;
}
.woocommerce-order .wc-item-meta li .wc-item-meta-label {
  float: none;
  flex-shrink: 0;
  margin-right: 10px;
  min-width: 120px;
  line-height: 28px;
}
@media (max-width: 767px) {
  .woocommerce-order .wc-item-meta li .wc-item-meta-label {
    width: 100%;
  }
}
.woocommerce-order .wc-item-meta li p {
  margin: 0;
  flex: 1;
  font-weight: 500;
}
.woocommerce-order .wc-item-meta li p a {
  word-break: break-all;
  color: var(--graublau2) !important;
  text-decoration: underline;
}

.woocommerce-order-received .woocommerce-order table th,
.woocommerce-order-received .woocommerce-order table tr {
  border: 1px solid var(--hintergrund);
  padding: 10px;
}
@media (max-width: 767px) {
  .woocommerce-order-received .woocommerce-order table th,
  .woocommerce-order-received .woocommerce-order table tr {
    border: 0;
  }
}

.woocommerce-order-received .woocommerce-order table th {
  font-weight: bold;
  color: #000;
}
@media (max-width: 767px) {
  .woocommerce-order-received .woocommerce-order table th {
    float: left;
    width: 100%;
    font-size: 14px;
    border: 1px solid var(--hintergrund);
    border-top: 0;
    border-bottom: 0;
  }
  .woocommerce-order-received .woocommerce-order table th.woocommerce-table__product-table.product-total {
    padding: 0 !important;
    display: none;
  }
}

@media (max-width: 767px) {
  .woocommerce-order-received .woocommerce-order table thead tr:first-child th {
    height: 50px;
    border-top: 1px solid var(--hintergrund);
    border-bottom: 0;
    line-height: 25px;
  }
}

@media (max-width: 767px) {
  .woocommerce-order-received .woocommerce-order table td {
    float: left;
    width: 100%;
    border: 1px solid var(--hintergrund);
    border-bottom: 0;
  }
  .woocommerce-order-received .woocommerce-order table td:last-child {
    border-bottom: 1px solid var(--hintergrund);
  }
}

body.woocommerce-checkout .woocommerce-order a {
  font-weight: 500;
  color: var(--beige2) !important;
}

body.woocommerce-checkout .woocommerce-order .woocommerce-order-details ul li::before {
  top: 4px;
}

.woocommerce-customer-details address {
  border: 1px solid var(--hintergrund);
  padding: 10px;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  text-align: left;
  width: 100%;
}

/* Custom Related Products Section */
.bw-custom-related-products {
  clear: both;
  display: block;
  margin-top: 50px;
  margin-bottom: 40px;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  background-color: #f8f8f8;
}
.bw-custom-related-products .bw-related-products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.bw-custom-related-products .bw-related-products-title {
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px !important;
  color: #000;
  font-family: var(--ueberschrift);
}
@media (max-width: 767px) {
  .bw-custom-related-products .bw-related-products-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
}
.bw-custom-related-products .bw-related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .bw-custom-related-products .bw-related-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .bw-custom-related-products .bw-related-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.bw-custom-related-products .bw-related-product-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bw-custom-related-products .bw-related-product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.bw-custom-related-products .bw-related-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.bw-custom-related-products .bw-related-product-link:hover {
  text-decoration: none;
  color: inherit;
}
.bw-custom-related-products .bw-related-product-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #f0f0f0;
}
.bw-custom-related-products .bw-related-product-image-wrapper .bw-related-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.bw-custom-related-products .bw-related-product-image-wrapper:hover .bw-related-product-image {
  transform: scale(1.05);
}
.bw-custom-related-products .bw-related-product-content {
  padding: 20px;
}
@media (max-width: 580px) {
  .bw-custom-related-products .bw-related-product-content {
    padding: 15px;
  }
}
.bw-custom-related-products .bw-related-product-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
  font-family: var(--ueberschrift2);
  line-height: 1.3;
}
@media (max-width: 992px) {
  .bw-custom-related-products .bw-related-product-title {
    font-size: 1.5rem;
    margin-bottom: 1rem !important;
  }
}
@media (max-width: 580px) {
  .bw-custom-related-products .bw-related-product-title {
    font-size: 1.8rem;
  }
}
.bw-custom-related-products .bw-related-product-excerpt {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
  font-family: var(--ueberschrift2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-width: 100%;
}
@media (max-width: 992px) {
  .bw-custom-related-products .bw-related-product-excerpt {
    font-size: 1.4rem;
  }
}
.bw-custom-related-products .bw-related-product-price {
  font-size: 1.8rem;
  font-weight: 600;
  color: #7B9AAB;
  font-family: var(--ueberschrift2);
}
@media (max-width: 580px) {
  .bw-custom-related-products .bw-related-product-price {
    font-size: 1.5rem;
  }
}