/* Lightbox: center image, limit width and place nav buttons correctly */
#mma-gallery-lightbox {
  display: none; /* default hidden - php toggles */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}
#mma-gallery-lightbox.mma-open { display: flex; }
#mma-gallery-lightbox .mma-lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
#mma-gallery-lightbox .mma-lightbox-img {
  max-width: 80%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
#mma-gallery-lightbox .mma-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 30;
}
#mma-gallery-lightbox .mma-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}
#mma-gallery-lightbox .mma-lightbox-prev { left: 3%; }
#mma-gallery-lightbox .mma-lightbox-next { right: 3%; }
#mma-gallery-lightbox .mma-lightbox-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 30;
}
#mma-gallery-lightbox .mma-lightbox-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
#mma-gallery-lightbox .mma-lightbox-dot.active { background: #fff; }

/* Backwards-compat: PHP-inlined lightbox elements (IDs) should get same styling */
#mma-gallery-lightbox #mma-lightbox-img {
  max-width: 80% !important;
  max-height: 90vh !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
#mma-gallery-lightbox #mma-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 30;
}
#mma-gallery-lightbox #mma-lightbox-prev,
#mma-gallery-lightbox #mma-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}
#mma-gallery-lightbox #mma-lightbox-prev { left: 3%; }
#mma-gallery-lightbox #mma-lightbox-next { right: 3%; }
@media (max-width: 768px) {
  .hvbox img {
    height: 170px !important;
    object-fit: cover !important;
    width: 100% !important;
  }
  .hvbox {
    border: 1px solid #cdcdcd !important;
  }
}
.mma-add-to-cart-btn:hover {
  color: #fff !important;
  background-color: #D40504 !important;
}
.mma-product-desc-wrapper {
  margin-bottom: 22px;
  margin-top: 22px;
}
.mma-product-desc-text {
  line-height: 1.4em;
  font-size: 1em;
}
.mma-desc-toggle-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 0 0;
  user-select: none;
}
.mma-desc-toggle-line {
  flex: 1 1 0;
  height: 1px;
  background: #eee;
  margin: 0 0 0 0;
}
.mma-desc-toggle-btn {
  color: #fc2320;
  font-weight: 400;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1em;
  padding: 0 12px;
  outline: none;
  transition: color 0.15s;
  border-radius: 0;
  box-shadow: none;
  text-decoration: underline dotted transparent;
  min-width: 0;
  text-align: center;
  width: auto;
  display: inline-block;
}
.mma-desc-toggle-btn:hover,
.mma-desc-toggle-btn:focus {
  color: #000;
}
.mma-product-desc-wrapper {
  margin-bottom: 18px;
}
.mma-product-desc-text {
  line-height: 1.4em;
  font-size: 1em;
}
.mma-desc-toggle-btn {
  background: #eee;
  border: none;
  color: #222;
  font: inherit;
  padding: 7px 18px;
  border-radius: 4px;
  cursor: pointer;
}
.mma-desc-toggle-btn:hover {
  background: #ddd;
}
.stcky-logo {
  display: none !important;
}
.elementor-sticky--active .stcky-logo {
  display: block !important;
}
.elementor-sticky--active .mma-cart-toggle {
  display: block !important;
}
.mma-product-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 75px;
  padding: 0;
  margin: 0;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .mma-product-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .btnbox-ps button {
    height: 46px;
  }
}
.mma-offc-close {
  width: 24px;
  height: 24px;
}
.mma-product-title {
  margin-bottom: 16px;
  font-family: 'Gill Sans';
  font-size: 18px;
  font-weight: 400;
  color: #737373;
  line-height: 28px;
  letter-spacing: 1px;
  text-align: center;
}
.mma-archive-product {
  box-sizing: border-box;
  border: 1px solid transparent;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  place-items: center;
}
.mma-archive-product:hover {
  border: 1px solid #1e1e1e;
}
.mma-archive-product:hover .mma-product-title {
  color: #d40504;
}
.mma-product-price {
  margin: 8px 0;
}
.mma-no-products {
  grid-column: 1 / -1;
  text-align: center;
}
.mma-archive-filter-form {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  justify-content: space-between;
}
.mma-archive-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.mma-pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s;
  margin: 0;
  border: 2px solid #111;
  outline: none;
  cursor: pointer;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
}
.mma-pagination-link:hover,
.mma-pagination-link:focus {
  background: #f2f2f2;
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.mma-pagination-active {
  background: #111;
  color: #fff;
  font-weight: bold;
  border: 2px solid #111;
  text-decoration: none;
  pointer-events: none;
}
#mma-selected-color-img-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 175px;
  height: 175px;
  pointer-events: none;
  z-index: 10;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  transition: opacity 0.2s;
  opacity: 1;
}

.mma-product-main-img {
  position: relative;
}
/* Produktgalerie Styles */
.mma-product-gallery-wrapper {
  margin-bottom: 24px;
}
.mma-product-main-img {
  display: flex;
  place-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
}
.mma-product-main-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 389px;
  display: block;
  transform: scale(1);
  transition: transform 0.2s;
}
@media (max-width: 768px) {
  .mma-product-gallery-wrapper {
    margin-bottom: 16px;
    padding: 0 8px;
  }
  .elementor-element-972980a {
    place-content: center !important;
  }
  .mma-product-main-img {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }
  .mma-product-main-img img {
    max-width: 100vw;
    max-height: 220px;
    border-radius: 6px;
  }
  .mma-product-thumbnails-row-wrapper {
    flex-direction: row;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    margin-top: 8px;
    padding-bottom: 8px;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .mma-product-thumbnails {
    max-width: 90vw;
    gap: 4px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  .mma-gallery-thumb {
    width: 48px !important;
    height: 48px !important;
    margin-right: 4px;
    border-radius: 2px !important;
    flex: 0 0 auto;
  }
  .mma-variation-title {
    margin-top: 12px;
  }
  .mma-thumb-nav {
    height: 48px !important;
    width: 32px !important;
    font-size: 1.1em;
    margin: 0 2px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  .mma-variation-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .mma-variations-radio-form {
    gap: 2px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 2px;
  }
  .mma-color-circle {
    width: 38px !important;
    height: 38px !important;
  }
  .mma-product-title {
    font-size: 18px;
    margin-top: 10px;
  }
  .mma-product-price {
    font-size: 16px;
    margin: 6px 0;
  }
  #mma-selected-color-img-box {
    width: 100px !important;
    height: 100px !important;
    left: 50px;
    top: 0;
    transform: translateX(-50%);
    border-radius: 6px;
  }
}
.mma-product-main-img.mma-zoom-active img {
  transform: scale(2);
  transition: transform 0.2s;
  cursor: zoom-in;
}
.mma-product-thumbnails-row-wrapper {
  margin-top: 12px;
  display: flex;
  align-items: center;
  place-content: center;
}
.mma-product-thumbnails {
  overflow: hidden;
  max-width: 520px;
  display: flex;
}
.mma-thumb-strip {
  display: flex;
  transition: transform 0.3s;
  will-change: transform;
}
.mma-gallery-thumb {
  transition: border-color 0.2s;
  flex: 0 0 auto;
  width: 96px !important;
  height: 96px !important;
  object-fit: cover;
  border-radius: 3px !important;
  cursor: pointer;
  margin-right: 8px;
  border: 1px solid #eee !important;
}
.mma-thumb-selected {
  border-color: #696969 !important;
}
.mma-thumb-nav {
  background-color: #595959 !important;
  border-radius: 0px !important;
  color: #fff !important;
  border: none !important;
  height: 96px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  cursor: pointer;
  margin: 0 8px;
  visibility: visible;
}
.mma-thumb-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mma-add-to-cart-btn {
  height: 100%;
  background-color: #595959 !important;
  padding: 10px 32px !important;
  border-radius: 0px !important;
  font-family: 'Gill Sans' !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px !important;
}
.mma-qa-btn {
  height: 100%;
  background-color: transparent !important;
  padding: 10px 32px !important;
  border-radius: 0px !important;
  border: 1px solid #595959 !important;
  color: #595959 !important;
  font-family: 'Gill Sans' !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px !important;
}
@media (max-width: 768px) {
  .mma-add-to-cart-btn,
  .mma-qa-btn {
    padding: 2px 6px !important;
    font-size: 14px !important;
    width: 100% !important;
  }
  .mma-mobile-arrow {
    display: none !important;
  }
}
.mma-qa-btn:hover,
.mma-qa-btn:focus,
.mma-qa-btn:active {
  background-color: transparent !important;
  color: #595959 !important;
  border: 1px solid #595959 !important;
}
.atcb-wrapper {
  height: 100% !important;
}
.atcb-wrapper > div {
  height: 100% !important;
}

/* Gallery dots */
.mma-gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 4px 0;
}
.mma-gallery-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  padding: 6px; /* larger hit area on touch */
  box-sizing: content-box;
  border-radius: 50%;
  background: #ddd;
  border: 0;
  cursor: pointer;
}
.mma-gallery-dot:focus-visible {
  outline: 2px solid #fc2320;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .mma-gallery-dot {
    padding: 8px;
  }
}
.atcb-wrapper > div > div {
  height: 100% !important;
}
.mma-variation-title {
  margin-bottom: 10px;
  font-weight: bold;
}
.mma-variations-radio-form {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  place-items: center;
}
.mma-variation-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mma-variation-radio-label {
  display: inline-block;
  cursor: pointer;
  padding: 15px 5px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}
.mma-variation-radio-label:hover {
  background-color: #ebe7e7; 
}
/* Nur der Label bekommt Hintergrund, wenn Radio aktiv ist */
.mma-variation-radio-label:has(input[type="radio"]:checked) {
  background-color: #ebe7e7; /* dein gewünschter Hintergrund */
}
.mma-color-circle {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ccc;
  vertical-align: middle;
  border: 0;
  transition: border 0.2s;
  position: relative;
  overflow: hidden;
}
.mma-color-circle .mma-cross-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.mma-variation-radio-label .mma-selected {
  border: 2px solid #d40504;
  border-radius: 50%;
  padding: 2px !important;
}
.mma-variation-stock {
  margin-top: 20px;
  margin-bottom: 8px;
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 15px;
}
.mma-gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: background 0.2s;
  background: #000;
  border-radius: 3px;
  cursor: pointer;
}
.mma-gallery-zoom svg {
  display: block;
}
.bold-text {
  font-family: 'Poppins';
  font-weight: 600;
}
.mma-searchbar {
  width: 50% !important;
}
.mma-orderby {
  width: 25%;
}
.mma-mobile-offcanvas-content img {
  height: 120px !important;
  object-fit: cover;
  margin-bottom: 2px !important;
}
.woocommerce-loop-category__title .count {
  display: none;
}
.elementor-menu-cart__footer-buttons .elementor-button {
  height: 100% !important;
  place-content: center;
}
div.elementor-menu-cart__container.elementor-lightbox[aria-hidden='true'] {
  display: none !important;
}
.e-load-more-spinner svg {
  font-size: 32px;
}

/* Apply same styles to per-category load-more buttons */
.mma-load-more {
  background-color: #000 !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-weight: 400 !important;
  font-family: 'Gill Sans' !important;
  text-transform: uppercase !important;
  padding: 14px !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
  overflow-wrap: break-word !important; 
  max-width: -webkit-fill-available !important;
  white-space: normal !important;
  line-height: 20px !important;
}
#mma-offcanvas-backdrop.active {
  display: block;
}
#mma-offcanvas-cart {
  display: none;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  right: 0;
  width: 370px;
  max-width: 100vw;
  height: 100vh;
  background: #eaeaea;
  color: #000;
  z-index: 9999;
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}
#mma-offcanvas-cart {
  font-family: 'Gill Sans';
  font-weight: 400 !important;
  letter-spacing: 1px !important;
  color: #000 !important;
}
#mma-offcanvas-cart.mma-open {
  display: block;
  transform: translateX(0);
}
.mma-cart-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  background: none;
  border: none;
  color: #595959;
  cursor: pointer;
  transition: color 0.2s;
}
.mma-cart-close:hover {
  color: #ff5a5f;
}
#mma-offcanvas-cart > h2 {
  padding: 32px 24px 0 24px;
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #595959;
  font-family: 'Gill Sans' !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}
#mma-offcanvas-cart .product-name a {
  color: #595959 !important;
  font-family: 'Gill Sans' !important;
  font-weight: 400 !important;
  letter-spacing: 1px !important;
}
.elementor-menu-cart__product-remove.product-remove {
  top: 0 !important;
  border-color: #595959 !important;
}
.elementor-menu-cart__product-remove:before {
  background-color: #595959 !important;
}
.elementor-menu-cart__product-remove:after {
  background-color: #595959 !important;
}
.elementor-menu-cart__footer-buttons {
  display: flex !important;
  flex-flow: column !important;
}
.elementor-menu-cart__footer-buttons a {
  border-radius: 0px !important;
  background-color: #595959 !important;
  color: #fff !important;
  font-family: 'Gill Sans' !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
}
#mma-offcanvas-cart .elementor-menu-cart__subtotal strong,
#mma-offcanvas-cart .elementor-menu-cart__subtotal span {
  color: #595959 !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-family: 'Gill Sans' !important;
  border-color: #cdcdcd !important;
}
#mma-offcanvas-cart .quantity span {
  color: #595959 !important;
  font-family: 'Gill Sans' !important;
  font-weight: 400 !important;
  letter-spacing: 1px !important;
}
.mma-cart-content {
  padding: 0 24px 24px 24px;
}
/* Woo Mini Cart Anpassungen */
.mma-cart-content ul.woocommerce-mini-cart {
  background: none;
  border: none;
  padding: 0;
}
.mma-cart-content ul.woocommerce-mini-cart li {
  border-bottom: 1px solid #232323;
  padding: 12px 0;
}
.mma-cart-content .woocommerce-mini-cart__total {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 18px 0 10px 0;
  color: #fff;
}
.mma-cart-content .woocommerce-mini-cart__buttons .button:hover {
  background: #e0484d;
}
@media (max-width: 500px) {
  #mma-offcanvas-cart {
    width: 100vw;
    border-radius: 0;
  }
  .mma-product-thumbnails-row-wrapper {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 8px;
    padding-bottom: 8px;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .mma-product-thumbnails {
    max-width: 80vw;
    gap: 2px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  .mma-gallery-thumb {
    width: 40px !important;
    height: 40px !important;
    margin-right: 2px;
    border-radius: 2px !important;
    flex: 0 0 auto;
  }
  .mma-thumb-nav {
    height: 40px !important;
    width: 28px !important;
    font-size: 1em;
    margin: 0 1px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
}
.elementor-menu-cart__subtotal {
  border-left: none !important;
  border-right: none !important;
}
.elementor-menu-cart__subtotal strong {
  font-weight: 400 !important;
}
/* MMA: Hide variation title and price by default, show when variant selected */
.mma-variation-title,
.elementor-widget-woocommerce-product-price {
  display: none !important;
}
.mma-variation-selected .mma-variation-title {
  display: block !important;
}
.mma-variation-selected ~ .elementor-widget-woocommerce-product-price,
.mma-variation-selected .elementor-widget-woocommerce-product-price,
body.mma-variation-selected-active .elementor-widget-woocommerce-product-price {
  display: block !important;
}
.mma-slider-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  max-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.mma-slider-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  padding-bottom: 20px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  opacity: 1;
  z-index: 1;
  display: block !important;
  transform: translate(-50%, -50%);
}
.mma-slider-img-second {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}
.mma-slider-img-main {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.mma-slider-img-wrapper.show-second .mma-slider-img-main {
  opacity: 0;
  visibility: hidden;
}
.mma-slider-img-wrapper.show-second .mma-slider-img-second {
  opacity: 1;
  visibility: visible;
}
.mma-slider-dots {
  position: absolute;
  top: 0;
  right: -15px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.mma-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eee;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
  display: inline-block;
}
.mma-slider-dot.active {
  background: #696969;
}
.mma-subcat-box {
  display: flow-root; 
}
.mma-subcat-title {
  /*background-color: #eee;*/
  padding: 12px;
  font-family: 'Gill Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #737373;
  line-height: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 35px 0px;
  text-align: center;
}
.mma-subcat-desc {
  color: #696969;
  font-size: 15px;
  font-style: italic;
  text-transform: none;
  letter-spacing: 1.5px;
  max-width: 50%;
  margin: 25px auto;
}
.ma-nach-mass h3 {
	font-size: 18px;
	line-height: 26px;
}
.ma-nach-mass h4 {
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
}
.ma-nach-mass a {
	color: #595959;
	padding: 10px 35px;
	border: 1px solid #595959;
}
.ma-nach-mass a:hover {
	color: #fff;
	background-color: #d40504;
	border: 1px solid #d40504;
}

/* ===== Dünner Einstrich-Chevron für Elementor-Swiper ===== */

/* 1) Original-Icons ausblenden */
.elementor-swiper-button svg,
.elementor-swiper-button .e-font-icon-svg,
.elementor-swiper-button i { display: none !important; }

/* 2) Button-Box (damit die Pseudo-Grafik zentriert) */
.elementor-swiper-button {
  position: relative;
  width: 32px;               /* Boxgröße – anpassbar */
  height: 32px;
}

/* 3) Neuer Pfeil: nur ein dünner Strich (Chevron) */
.elementor-swiper-button::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;               /* Pfeilbreite */
  height: 14px;              /* Pfeilhöhe */
  border-right: 2px solid #595959;  /* Strichfarbe & -dicke */
  border-top:   2px solid #595959;
  transform: rotate(45deg);  /* ► (rechts) */
  transform-origin: center;
}

/* 4) Linker Pfeil spiegeln */
.elementor-swiper-button-prev::before {
  transform: rotate(-135deg); /* ◄ (links) */
}

/* Optional: Hover etwas dunkler */
.elementor-swiper-button:hover::before {
  border-color: #3a3a3a;
}


.ma-cars-nav .swiper-wrapper .swiper-slide:nth-child(5) ~ .elementor-swiper-button-prev,
.ma-cars-nav .swiper-wrapper .swiper-slide:nth-child(5) ~ .elementor-swiper-button-next {
  display: block !important;
}
#mma-contact-form {
  display: grid;
}
.woocommerce_variation.wc-metabox .woocommerce_variable_attributes.wc-metabox-content > .data {
  display: grid;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > .form-flex-box
  p.form-row.upload_image {
  display: none;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > .form-flex-box
  div.form-row.form-row-last {
  width: 100%;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > .form-flex-box {
  order: 2;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > .form-row.form-row-full.options {
  order: 3;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > .variable_pricing {
  order: 4;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > .show_if_variation_manage_stock {
  order: 5;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > div:has(p.form-row.form-row-full.variable_stock_status.form-field) {
  order: 6;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > div:has(p.form-row.hide_if_variation_virtual.form-row-full) {
  order: 7;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > div:has(p.form-field.form-row.form-row-full) {
  order: 8;
}
.woocommerce_variation.wc-metabox .variable_pricing_labels {
  order: 9;
}
.woocommerce_variation.wc-metabox .variable_pricing_unit {
  order: 10;
}
.woocommerce_variation.wc-metabox .variable_shipping_time {
  order: 11;
}
.woocommerce_variation.wc-metabox .variable_wireless_electronic_device {
  order: 12;
}
.woocommerce_variation.wc-metabox .variable_product_safety {
  order: 13;
}
.woocommerce_variation.wc-metabox
  .woocommerce_variable_attributes.wc-metabox-content
  > .data
  > .mma-cst-gallery-upload-section {
  order: 1;
}
.promobox-card {
  /* Outer container: horizontal layout - image (left) + white panel (right) */
  display: flex;
  align-items: stretch;
  gap: 0;
  background-color: #f2f2f2; /* page-level gray around the white card */
  color: #fff;
  position: relative;
  box-sizing: border-box;
  place-items: center;
}

.promobox-card-inner {
  /* White inner card containing image (left) and content (right) */
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 220px;
}

.promobox-image-wrapper {
  flex: 0 0 45%;
  display: block;
  overflow: hidden;
  width: 66%;
  margin-left: 12px;
  margin-right: 24px;
}

.promobox-image-wrapper .promobox-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.promobox-content {
  flex: 1 1 55%;
  text-align: left;
  box-sizing: border-box;
  color: #595959;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center title+desc relative to image */
}

.promobox-title {
  font-family: 'Gill Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: #595959;
  letter-spacing: 2px;
  margin: 0 0 10px 0;
}

.promobox-description {
  font-family: 'Gill Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #595959;
  letter-spacing: 0.6px;
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.promobox-link {
  display: inline-block;
  background: transparent !important;
  padding: 12px 28px !important;
  border-radius: 0px !important;
  border: 2px solid #595959 !important;
  color: #595959 !important;
  font-family: 'Gill Sans' !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px !important;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
  margin-top: 26px; 
  align-self: flex-start; 
}

.promobox-link:hover,
.promobox-link:focus,
.promobox-link:active {
  background-color: #595959 !important;
  color: #fff !important;
  border-color: #595959 !important;
}
.promobox-width-1 {
  grid-column: span 1;
}
.promobox-width-2 {
  grid-column: span 2;
}
.promobox-width-3 {
  grid-column: span 3;
}
@media (max-width: 768px) {
  .promobox-width-3 {
    grid-column: span 2;
  }
  .promobox-card-inner {
    flex-direction: column;
    min-height: auto;
  }
  .promobox-image-wrapper {
    flex: 0 0 auto;
    height: 220px;
    width: 40%;
  }
  .promobox-image-wrapper .promobox-image {
    padding: 12px 0px;
  }
  .mma-gallery-dots button {
    width: 22px !important;
    border-radius: 5px !important;
    border: 0 !important;
    background: #595959;
    opacity: 1 !important;
    height: 6px !important;
    margin: 2px !important;
    padding: 0 !important;
  }
  .mma-gallery-dot.mma-gallery-dot--active {
    background: #fc2320 !important;
    width: 40px !important;
  }
}
.mma-gallery-lightbox-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
  border: 0px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
}
  .promobox-card-inner {
    order: 2;
    min-height: auto;
    overflow: hidden;
  }
  .promobox-image-wrapper {
    max-width: 100%;
    flex: 0 0 auto;
    height: 220px;
    order: 1;
  }
#mma-lightbox-prev {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 20px;
  height: 36px;
  width: 36px;
  text-align: center;
  padding: unset !important;
}
#mma-lightbox-next {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 20px;
  height: 36px;
  width: 36px;
  text-align: center;
  padding: unset !important;
}
.mma-price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {
  font-family: Gill Sans;
  color: #595959 !important;
  font-weight: 400;
  font-size: 28px !important;
  line-height: 34px;
  letter-spacing: 1px;
}
.mma-cart-item-count {
  color: #fff;
  font-weight: bold;
  background-color: #d40504;
  padding: 1px 5px 1px 5px;
  border-radius: 50%;
  font-size: 12px;
}
.mma-cart-item-count:empty {
  display: none !important;
}
.ma-cars-nav .swiper-pagination-bullet {
  width: 15px !important;
  border-radius: 5px !important;
  background: #595959 !important;
  opacity: 1 !important;
  height: 5px !important;
}
.ma-cars-nav .swiper-pagination-bullet-active {
  background: #ff0d0b !important;
  width: 35px !important;
}
.mma-product-size {
  font-family: Gill Sans;
  color: #595959;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 1px;
}
.mma-product-desc-text {
  font-family: Gill Sans;
  color: #595959;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 1px;
}
.mma-variation-title {
  font-family: Gill Sans;
  color: #595959;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 1px;
}
.mma-variation-stock {
  font-family: Gill Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 1px;
  width: fit-content;
  gap: 8px;
  place-items: center;
  background-color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  border: 0.5px solid #cdcdcd;
  color: #595959;
}
.mma-breadcrumb-current a {
  color: #737373 !important;
  font-family: 'Gill Sans', Sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 19px !important;
  letter-spacing: 1px !important;
}
.mma-breadcrumb-btn {
  background: none !important;
  border: none !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #595959;
  padding: 6px;
}
.mma-breadcrumb-btn:hover,
.mma-breadcrumb-btn:focus {
  background: none !important;
  border: none !important;
  color: #595959;
}
.mma-breadcrumb-btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: default;
}



/* Elementor Nested Menu: 2-zeilig, nur ganze Wörter (keine Silben-Trennung) */
@media (max-width: 1400px) {
  .e-n-menu-heading .e-n-menu-title-container {
    white-space: normal !important;
    flex-wrap: wrap;
    text-align: center;
    row-gap: 2px;
  }
  .e-n-menu-item {
    max-width: 12ch;
  }
  .e-n-menu-item > div > button {
    display: none !important;
  }
  .e-n-menu-heading .e-n-menu-title-text {
    display: block;
    line-height: 1.2;
    /* Wichtig: nur an Leerzeichen umbrechen */
    hyphens: none;            /* keine automatische Silbentrennung */
    word-break: normal;       /* NICHT in Wörtern trennen */
    overflow-wrap: normal;    /* NICHT in Wörtern umbrechen */
    white-space: normal;      /* Umbruch an Leerzeichen erlauben */

    /* Breite so begrenzen, dass i.d.R. 2 Zeilen entstehen */
    margin: 0 auto;
    /* Bonus: moderne Browser balancieren die zwei Zeilen hübscher */
    text-wrap: balance;       /* optional, stört ältere Browser nicht */
  }

  /* Falls der Top-Level als <a> gerendert wird */
  .e-n-menu-heading .e-n-menu-title > a.e-n-menu-title-container {
    white-space: normal !important;
  }

  /* Optional: etwas engerer Innenabstand pro Menüpunkt */
  .e-n-menu-heading .e-n-menu-item { padding-inline: .4rem; }
}

/* Auf noch schmaleren Screens ggf. etwas mehr Breite zulassen */
@media (max-width: 820px) {
  .e-n-menu-heading .e-n-menu-title-text { max-width: 14ch; }
}


/* Titelzeile grau, wenn der Button offen ist */
.e-n-menu-title.e-click:has(> button[aria-expanded="true"]) {
  background-color: #f2f2f2 !important;
}

/* Alternative/zusätzlich: wenn der Content geöffnet ist */
.e-n-menu-item:has(> .e-n-menu-content.e-active) > .e-n-menu-title.e-click {
  background-color: #f2f2f2 !important;
}

/* Schrift im aktiven Titel rot */
.e-n-menu-title.e-click:has(> button[aria-expanded="true"]) .e-n-menu-title-text,
.e-n-menu-item:has(> .e-n-menu-content.e-active) > .e-n-menu-title.e-click .e-n-menu-title-text {
  color: #d40504 !important;
}

/* Jede Kachel neutralisieren */
.e-n-menu-content .products.elementor-grid li.product-category {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  list-style: none;
}

/* Klickbare Kachel – transparenter Rahmen */
.e-n-menu-content .products.elementor-grid li.product-category a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;   /* kein weißer Hintergrund */
  border: none;
  border-radius: 0;
  overflow: hidden;
}

/* Nur das Bild bekommt weißen Hintergrund und 4:3-Format */
.e-n-menu-content .products.elementor-grid li.product-category a > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;       /* Querformat */
  height: auto;
  object-fit: contain;       /* komplett sichtbar, ggf. Weißflächen */
  object-position: center;   /* mittig/mittig */
  background: #fff;          /* Weiß NUR hinter dem Bild */
  border: 1px solid #eee;    /* feine Linie optional */
  border-radius: 4px;
  margin-bottom: 0px;
}

/* Kategorie-Titel: transparent, sauber unter Bild */
.e-n-menu-content .products.elementor-grid li.product-category .woocommerce-loop-category__title {
  display: block;
  text-align: center;
  margin: 8px 0 12px;
  line-height: 1.3;
  min-height: 2.5em;         /* gleichmäßige Titelhöhe */
  color: #111;
  background: none !important; /* kein Weiß hinter Text */
}

/* Responsive: Spalten reduzieren */
@media (max-width: 1600px) {
  .e-n-menu-content .products.elementor-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 1200px) {
  .e-n-menu-content .products.elementor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 800px) {
  .e-n-menu-content .products.elementor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MMA: Ensure product category thumbnails keep original aspect ratio (don't force square) */
.product-category img.mma-category-thumb,
.product-category img.attachment-full,
.product-category img.wp-post-image {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
}

/* Elementor Product Categories widget specific adjustments */
.elementor-widget-woocommerce-product-categories .woocommerce-loop-category__link img,
.elementor-widget-woocommerce-products .woocommerce-loop-category__link img {
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.mma-subcat-next, .mma-subcat-prev, .mma-subcat-single {
  border: 1px solid #595959 !important;
    border-radius: 0px !important;
    padding: 10px 32px !important;
    background-color: transparent !important;
    color: #595959 !important;
    font-family: 'Gill Sans' !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    gap: 10px !important;
    display: flex !important;
}
.mma-subcat-siblings {
  justify-content: space-between !important;
}
.mma-subcat-siblings:has(.mma-subcat-single) {
  justify-content: center !important;
}
@media (max-width: 768px) {
  .mma-subcat-siblings {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }
  .mma-subcat-next, .mma-subcat-prev, .mma-subcat-single {
    text-align: center !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    place-content: center !important;
  }
}
.columns-6 {
    grid-template-columns: repeat(6, 1fr) !important;
    grid-column-gap: 15px !important;
    justify-content: start !important;
}

/* Ensure no pseudo-elements add visual empty tiles to the product category grid. 
   Some theme/elementor CSS injects ::before/::after for layout; override that here. */
.products.elementor-grid::before,
.products.elementor-grid::after,
.products.elementor-grid li.product-category::before,
.products.elementor-grid li.product-category::after {
  content: none !important;
  display: none !important;
}

.columns-6 .woocommerce-loop-category__title {
  font-family: 'Gill Sans Nova' !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  letter-spacing: 1.6px !important ;
  color: #737373 !important;
}
@media (max-width: 1024px) {
  div.columns-6 {
    margin-top: 25px;
  }
  .columns-6 {
      grid-template-columns: repeat(2, 48%) !important;
      grid-column-gap: 15px !important;
  }  

  .columns-6 .product-category.product {
      justify-content: center !important;
      text-align: center !important;
      width: 100% !important;
      margin-bottom: 5px !important;
  }

  .columns-6 .product-category.product .woocommerce-loop-category__title {
      font-size: 12px !important;
      letter-spacing: 1px !important;
  }

  .columns-6 .product-category.product img {
    aspect-ratio: 4/3 !important;
  }
}
@media (min-width: 1024px) {
  .e-n-menu-content.e-active {
    height: 100vh !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.35) !important;
  }
}
@media (min-width: 1024px) and (max-width: 1400px)  {
  li .e-n-menu-title-text {
    font-size: 10px !important;
  }
  .elementor-sticky--active div.e-con-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

.gt_selector {
    border: none !important;
    background: none !important;
    width: 125px !important;
    font-family: 'Gill Sans' !important;
    color: #737373 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.6px !important;
    font-size: 13px !important;
}
.gt_selector:hover {
    border: none !important;
    background: none !important;
    width: 125px !important;
    font-family: 'Gill Sans' !important;
    color: #737373 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.6px !important;
    font-size: 13px !important;
}
.gt_selector:focus {
    border: none !important;
    background: none !important;
    width: 125px !important;
    font-family: 'Gill Sans' !important;
    color: #737373 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.6px !important;
    font-size: 13px !important;
}
.gt_selector:active {
    border: none !important;
    background: none !important;
    width: 125px !important;
    font-family: 'Gill Sans' !important;
    color: #737373 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.6px !important;
    font-size: 13px !important;
}
.gt_selector option:first-child {
    display: none;
}

.borlabs-cookie-open-dialog-preferences {
    font-family: "Gill Sans", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    line-height: 20px !important;
    letter-spacing: 2px !important;
    color: #595959 !important;
}

@media (max-width: 767px) {
  .borlabs-cookie-open-dialog-preferences {
    font-size: 14px !important;
  }

  .gt-selector {
    padding: 0px !important;
  }
}

@media (max-width: 1024px) {
  .gt_selector option {
    font-size: 10px !important;
  }
}

.borlabs-cookie-open-dialog-preferences a {
  color: #595959 !important;
}

.borlabs-cookie-open-dialog-preferences a:hover {
  color: #FC6620 !important;
}

.woocommerce-MyAccount-navigation-link--downloads {
  display: none !important;
}

.woocommerce .woocommerce-MyAccount-navigation {
  margin-bottom: 50px !important;
}

.woocommerce .woocommerce-MyAccount-navigation a {
  color: #595959 !important;
}

.woocommerce .woocommerce-MyAccount-navigation a:hover {
  color: #D40504 !important;
}

.woocommerce .woocommerce-MyAccount-content a {
  color: #595959 !important;
}
.woocommerce .woocommerce-MyAccount-content a:hover {
  color: #D40504 !important;
}

.elementor-maintenance-mode header {
  display: none !important;
}

.wc-block-components-totals-footer-item-tax {
  display: none !important;
}