.woocommerce-cart, 
.woocommerce-checkout, 
button.single_add_to_cart_button, 
.woocommerce a.add_to_cart_button {
    display: none !important;
}
ul.products li.product mark.count {
    display: none !important;
}
.woocommerce-loop-category__title {
    text-align: center;
    width: 100%;
}

/* MM Brand Cards v1 â Apple Store level premium selection cards */

.mm-home-brand-card,
.mm-brand-card {
  position: relative;
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 4px 20px rgba(24, 26, 23, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}

.mm-home-brand-card:hover,
.mm-brand-card:hover {
  transform: translateY(-3px);
  border-color: #00aa55 !important;
  box-shadow: 0 8px 28px rgba(24, 26, 23, 0.1) !important;
}

.mm-home-brand-card .elementor-widget-html,
.mm-brand-card .elementor-widget-html {
  width: 100%;
}

.mm-brand-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 116px;
  text-decoration: none !important;
  color: #181a17;
  text-align: center;
}

.mm-brand-card-link:hover,
.mm-brand-card-link:focus {
  text-decoration: none !important;
  color: #181a17;
}

.mm-brand-card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  width: 100%;
  transition: transform 0.2s ease;
}

.mm-home-brand-card:hover .mm-brand-card-logo-wrap,
.mm-brand-card:hover .mm-brand-card-logo-wrap {
  transform: scale(1.04);
}

.mm-brand-card-logo {
  display: block;
  max-width: 90px;
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mm-brand-card-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #181a17;
}

.mm-brand-card-count {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280;
}

/* Preserve Elementor grid widths â no layout overrides on parent grid */

@media (max-width: 767px) {
  .mm-home-brand-card,
  .mm-brand-card {
    padding: 24px !important;
    min-height: 160px;
  }

  .mm-brand-card-link {
    min-height: 100px;
    gap: 10px;
  }
}

/* END MM Brand Cards v1 */

/* MM Header Premium v3 */
/**
 * MM Header Premium v3-10
 * Two-tier header: trust-signal topbar + premium main navbar.
 * Topbar: 4 items in ONE flex row, 40px height, strict containment — NO bleed into navbar.
 * Fix: removed v3-9 display:contents + grid (caused address/phone to overlap nav items).
 * Deploy target: Design → Customize → Additional CSS (NOT WPCode).
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  --mm-green: #00aa55;
  --mm-green-hover: #00994d;
  --mm-ink: #181a17;
  --mm-muted: #777777;
  --mm-border: rgba(24, 26, 23, 0.08);
  --mm-topbar-h: 40px;
  --mm-header-h: 82px;
  --mm-nav-size: 16px;
  --mm-nav-lh: 1.4;
  --mm-cta-h: 48px;
  --mm-cta-radius: 11px;
  --mm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body,
body.theme-devicemaster {
  font-family: var(--mm-font) !important;
  font-weight: 400;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
  font-family: var(--mm-font) !important;
  font-weight: 700 !important;
}

button,
.btn,
.elementor-button,
.cea-button-link,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button {
  font-family: var(--mm-font) !important;
  font-weight: 600 !important;
}

/* ── TOP INFO BAR (40px, contained) ─────────────────────────────────────── */

#site-header {
  position: relative !important;
}

#site-header .header-topbar {
  display: block !important;
  min-height: var(--mm-topbar-h);
  height: var(--mm-topbar-h);
  max-height: var(--mm-topbar-h);
  background: #fafafa !important;
  border-bottom: 1px solid var(--mm-border);
  padding: 0 !important;
  line-height: 1;
  overflow: hidden !important;
  position: relative;
  z-index: 10001;
  isolation: isolate;
}

#site-header .header-topbar > .container-fluid {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: var(--mm-topbar-h);
  height: var(--mm-topbar-h);
  max-height: var(--mm-topbar-h);
  max-width: 100%;
  padding: 0 20px !important;
  overflow: hidden !important;
}

#site-header .header-topbar .topbar-ul {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 32px);
  width: max-content;
  max-width: min(1200px, calc(100vw - 40px));
  margin: 0 auto !important;
  padding: 0;
  list-style: none;
  overflow: hidden !important;
  max-height: var(--mm-topbar-h);
  transform: none !important;
  left: auto !important;
  right: auto !important;
  position: relative !important;
}

#site-header .header-topbar .topbar-ul.pull-center {
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

#site-header .header-topbar .topbar-ul > li {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  max-height: var(--mm-topbar-h);
}

/* Address + phone in one LI: inline-flex siblings (NOT display:contents) */
#site-header .header-topbar .topbar-ul > li:has(.mm-topbar-address):has(.mm-topbar-phone) {
  display: inline-flex !important;
  align-items: center;
  gap: clamp(10px, 1.8vw, 32px);
  order: 1;
}

#site-header .header-topbar .topbar-ul > li:has(.mm-topbar-wa),
#site-header .header-topbar .topbar-ul > li.mm-topbar-wa {
  order: 4;
}

#site-header .header-topbar .topbar-ul > li > a,
#site-header .header-topbar .topbar-ul > a.mm-topbar-address,
#site-header .header-topbar .topbar-ul > a.mm-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mm-font) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--mm-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 0.2s ease;
  flex-shrink: 0;
  position: relative !important;
}

#site-header .header-topbar .topbar-ul > li > a:hover,
#site-header .header-topbar .topbar-ul > li > a:focus {
  color: var(--mm-green) !important;
}

#site-header .header-topbar .topbar-ul i,
#site-header .header-topbar .topbar-ul .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px !important;
  color: var(--mm-green) !important;
  border: 1.5px solid rgba(0, 170, 85, 0.35);
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

#site-header .header-topbar .topbar-ul > li:has(a)::after {
  content: none !important;
  display: none !important;
}

/* Hours pseudo-item (when no mm-topbar-hours LI) */
#site-header .header-topbar .topbar-ul::before {
  content: "Mo–Sa 09:00–20:00, So 10:00–20:00";
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mm-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--mm-ink);
  white-space: nowrap;
  padding: 0 12px 0 29px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2300aa55' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z'/%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0'/%3E%3C/svg%3E")
    5px center / 14px no-repeat;
  border: 1.5px solid rgba(0, 170, 85, 0.35);
  border-radius: 999px;
  background-color: #fff;
  min-height: 22px;
  line-height: 22px;
  flex-shrink: 0;
}

/* Full 4-LI topbar HTML (update_topbar_v3.py) */
#site-header .header-topbar .topbar-ul > li.mm-topbar-address,
#site-header .header-topbar .topbar-ul > li.mm-topbar-phone,
#site-header .header-topbar .topbar-ul > li.mm-topbar-wa,
#site-header .header-topbar .topbar-ul > li.mm-topbar-hours {
  font-size: 13px !important;
  color: var(--mm-ink) !important;
}

#site-header .header-topbar .topbar-ul > li.mm-topbar-address {
  order: 1;
}

#site-header .header-topbar .topbar-ul > li.mm-topbar-phone {
  order: 2;
}

#site-header .header-topbar .topbar-ul > li.mm-topbar-wa {
  order: 4;
}

#site-header .header-topbar .topbar-ul > li.mm-topbar-address::after,
#site-header .header-topbar .topbar-ul > li.mm-topbar-phone::after,
#site-header .header-topbar .topbar-ul > li.mm-topbar-wa::after,
#site-header .header-topbar .topbar-ul > li.mm-topbar-hours::after {
  content: none !important;
}

#site-header .header-topbar .topbar-ul:has(.mm-topbar-hours)::before {
  content: none !important;
  display: none !important;
}

#site-header .header-topbar .topbar-ul > li.mm-topbar-hours {
  order: 3;
  font-size: 13px !important;
  color: var(--mm-ink) !important;
}

#site-header .header-topbar .topbar-ul > li.mm-topbar-hours::after {
  content: none !important;
}

/* Desktop: hide navbar phone completely — contact info lives in topbar only */
@media (min-width: 1025px) {
  #site-header .header-navbar .navbar-ul.pull-right > li:has(.phone-number-box1) {
    display: none !important;
  }
}

/* Mobile topbar: phone + WhatsApp only */
@media (max-width: 767px) {
  #site-header .header-topbar .topbar-ul {
    justify-content: center;
    gap: 28px;
    max-width: 100%;
  }

  #site-header .header-topbar .topbar-ul > li > a.mm-topbar-address,
  #site-header .header-topbar .topbar-ul > a.mm-topbar-address,
  #site-header .header-topbar .topbar-ul::before,
  #site-header .header-topbar .topbar-ul > li.mm-topbar-hours,
  #site-header .header-topbar .topbar-ul > li.mm-topbar-address {
    display: none !important;
  }

  #site-header .header-topbar .topbar-ul > li:has(.mm-topbar-address):has(.mm-topbar-phone) {
    display: inline-flex !important;
    order: 1;
    gap: 0;
  }

  #site-header .header-topbar .topbar-ul > li:has(.mm-topbar-wa),
  #site-header .header-topbar .topbar-ul > li.mm-topbar-wa {
    order: 2;
  }

  #site-header .header-navbar .navbar-ul.pull-right > li:has(.phone-number-box1) {
    display: none !important;
  }
}

/* ── MAIN HEADER (80–85px) ──────────────────────────────────────────────── */

@media (min-width: 1025px) {
  #site-header .header-navbar {
    min-height: var(--mm-header-h);
    height: var(--mm-header-h);
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid var(--mm-border);
    box-shadow: 0 1px 0 rgba(24, 26, 23, 0.03);
    background: #ffffff;
    position: relative;
    z-index: 10000;
  }

  #site-header .header-navbar > .container-fluid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-height: var(--mm-header-h);
    gap: 12px;
  }

  #site-header .header-navbar .navbar-ul {
    align-items: center !important;
    margin: 0;
  }

  #site-header .header-navbar .navbar-ul.element-left {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap !important;
    display: flex !important;
    align-items: center !important;
  }

  #site-header .header-navbar .navbar-ul.pull-right {
    flex: 0 0 auto;
    margin-left: auto;
    flex-wrap: nowrap !important;
    gap: 12px;
  }

  #site-header .header-titles,
  #site-header .header-titles-wrapper,
  #site-header .header-navigation-wrapper,
  #site-header .primary-menu-wrapper {
    display: flex;
    align-items: center;
    min-height: var(--mm-header-h);
  }

  #site-header .header-titles-wrapper {
    flex: 0 0 auto;
    padding-right: 8px;
  }

  #site-header .header-navigation-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  #site-header .primary-menu-wrapper {
    width: 100%;
    justify-content: center;
  }

  #site-header .primary-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto;
  }

  #site-header .site-logo,
  #site-header .sticky-logo {
    width: 168px;
    max-width: 168px;
    height: auto;
    display: block;
  }

  #site-header .header-titles {
    min-height: 0;
    padding: 6px 0 !important;
  }

  #site-header .sticky-head,
  #site-header .sticky-outer .sticky-head {
    min-height: 0;
  }

  #site-header .primary-menu > li {
    display: flex;
    align-items: center;
  }

  #site-header .primary-menu > li > a {
    font-family: var(--mm-font) !important;
    font-size: var(--mm-nav-size) !important;
    font-weight: 600 !important;
    line-height: var(--mm-nav-lh) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    padding: 0 14px !important;
    position: relative;
    color: var(--mm-ink);
    transition: color 0.2s ease;
    white-space: nowrap;
  }

  #site-header .primary-menu > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -8px;
    height: 2px;
    background: var(--mm-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
  }

  #site-header .primary-menu > li > a:hover,
  #site-header .primary-menu > li.current-menu-item > a,
  #site-header .primary-menu > li.current-menu-ancestor > a {
    color: var(--mm-green) !important;
  }

  #site-header .primary-menu > li > a:hover::after,
  #site-header .primary-menu > li.current-menu-item > a::after,
  #site-header .primary-menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
  }

  #site-header .primary-menu > li.menu-item-has-children > a {
    padding-right: 22px !important;
    padding-left: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23181a17' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px 6px;
  }

  #site-header .primary-menu > li.menu-item-has-children > a::before {
    content: none !important;
    display: none !important;
    border: none !important;
  }

  #site-header .primary-menu li.menu-item-has-children {
    position: relative;
  }

  #site-header .primary-menu .sub-menu {
    display: block !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(24, 26, 23, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
    pointer-events: none;
    z-index: 9999;
  }

  #site-header .primary-menu li.menu-item-has-children:hover > .sub-menu,
  #site-header .primary-menu li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  #site-header .primary-menu .sub-menu li a {
    display: block;
    padding: 10px 16px !important;
    font-family: var(--mm-font) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--mm-ink) !important;
    white-space: nowrap;
  }

  #site-header .primary-menu .sub-menu li a:hover {
    background: #f7f7f7;
    color: var(--mm-green) !important;
  }

  #site-header .primary-menu .sub-menu li a::after {
    display: none !important;
  }

  #site-header .header-navbar .navbar-ul.pull-right {
    min-width: 0;
    flex-shrink: 0;
  }

  #site-header .phone-number-box1 .phone-txt {
    display: none !important;
  }

  #site-header .header-navbar .cea-button-link {
    min-height: var(--mm-cta-h) !important;
    height: var(--mm-cta-h) !important;
    padding: 0 22px !important;
    border-radius: var(--mm-cta-radius) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--mm-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    background-color: var(--mm-green) !important;
    border-color: var(--mm-green) !important;
    transition:
      background-color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease !important;
  }

  #site-header .header-navbar .cea-button-content-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    line-height: 1;
  }

  #site-header .header-navbar .cea-button-icon {
    display: none !important;
  }

  #site-header .header-navbar .cea-button-text {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  #site-header .header-navbar .cea-button-text::after {
    content: "Termin vereinbaren";
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  #site-header .header-navbar .cea-button-link:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 170, 85, 0.22);
    background-color: var(--mm-green-hover) !important;
    border-color: var(--mm-green-hover) !important;
  }

  #site-header .navbar-ul.pull-right > li:has(.cea-button-wrapper) {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  #site-header .site-logo,
  #site-header .sticky-logo {
    width: 156px;
    max-width: 156px;
  }

  #site-header .primary-menu > li > a {
    padding: 0 10px !important;
    font-size: 15px !important;
  }

  #site-header .header-topbar .topbar-ul {
    gap: 10px;
    max-width: calc(100vw - 24px);
  }

  #site-header .header-topbar .topbar-ul > li,
  #site-header .header-topbar .topbar-ul > li > a,
  #site-header .header-topbar .topbar-ul::before {
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-header .primary-menu > li > a,
  #site-header .primary-menu > li > a::after,
  #site-header .primary-menu .sub-menu,
  #site-header .header-navbar .cea-button-link,
  #site-header .header-topbar .topbar-ul > li > a {
    transition: none !important;
  }

  #site-header .header-navbar .cea-button-link:hover {
    transform: none !important;
  }
}
/* END MM Header Premium v3 */

/* MM Sitewide Overflow Guard */
html,body{max-width:100%;overflow-x:hidden}
.site,.site-content,.elementor,.elementor-section,.e-con,.e-con-inner,.container,.container-fluid{max-width:100%}
.mobile-menu-floating,.mobile-menu-wrapper,.wp-menu.mobile-menu{max-width:100vw;overflow-x:hidden}
img,svg,iframe,video,table{max-width:100%}
img,svg,video{height:auto}
@media(max-width:767px){.elementor-widget-container,.woocommerce-product-details__short-description,.entry-content{max-width:100%}}
/* /MM Sitewide Overflow Guard */
