h1,
h2,
h3 {
  margin: 0 !important;
  hyphens: auto;
}

body.-loading * {
  cursor: progress !important;
}
.header.elementor-sticky--active {
  .sticky-header {
    backdrop-filter: blur(20px);
    background: rgba(18, 18, 18, 0.8);
    box-shadow: 0 0 0 1px #282828;
  }
}

.elementor-menu-cart__toggle_wrapper {
  .elementor-button-icon-qty {
    top: -8px !important;
    right: -8px !important;
    background: orange !important;
    display: flex;
    width: 16px !important;
    min-height: 16px;
    height: 16px !important;
    min-width: 16px !important;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 12px !important;
    font-weight: 500;
  }
}

.wishlist-menu-icon {
  position: relative;
  display: flex;

  a {
    display: flex;
  }

  svg {
    width: 22px;
    height: 20px;

    path {
      stroke: #fff;
      fill: transparent;
    }
  }

  .wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: orange;
    display: flex;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
  }
}

.content-switcher {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  --padding: 10px;
  --active: 0;
  --tab-width: 0;

  .product-wishlist {
    display: flex;
    width: 100%;
    justify-content: end;
  }

  .switcher-navigation__header {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background: #333336;
    width: fit-content;
    max-width: calc(100% - 40px);
    border-radius: 10px;
    opacity: 0;
    &:has(.switcher-navigation.show) {
      opacity: 1;
    }
    &:has(.switcher-navigation__tab:nth-of-type(3)) {
      max-width: calc(100% - 40px);
      width: 90%;
    }

    .switcher-navigation {
      --after-width: 0;
      --after-left: 0;
      --tab-count: 0;
      --tab-index: 0;
      display: grid;
      grid-template-columns: repeat(var(--tab-count), 1fr);
      width: 100%;
      position: relative;

      &:has(.switcher-navigation__tab:nth-of-type(3)) {
        scroll-snap-type: x mandatory;
        overflow: auto;
        scrollbar-width: none;

        &::-webkit-scrollbar {
          display: none;
          /* Older Safari and Chromium */
        }
      }

      &:after {
        content: "";
        position: absolute;
        background: #fff;
        z-index: 0;
        top: 50%;
        transform: translateY(-50%);
        width: var(--after-width);
        height: 100%;
        border-radius: 10px;
        transition: 0.3s ease-in-out;
        left: var(--after-left);
      }

      .switcher-navigation__tab {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
        border-radius: 20px;
        padding: 30px;
        border-radius: 20px;
        flex: 1;
        cursor: pointer;
        z-index: 1;
        transition: 0.3s ease-in-out;

        @media (max-width: 1024px) {
          padding: 10px;
          min-width: 120px;
          max-width: 120px;
        }

        &.active {
          color: #333336;
        }
      }
    }
  }

  .switcher-content {
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    padding: 20px 0;

    .switcher-content__tab {
      display: none;
      flex-direction: column;
      position: relative;
      justify-content: center;
      width: 100%;
      opacity: 0;
      transition: height 0.3s ease-in-out;
      z-index: 0;
      visibility: hidden;
      width: 100%;
      &.product-view-modell__content-col {
        h2 {
          margin-bottom: 20px !important;
        }
      }

      ul.eigenschaften {
        display: flex;
        flex-direction: column;
        gap: 10px;
        list-style-type: none;
        padding: 0;

        li {
          display: grid;
          grid-template-columns: 1fr auto;
        }
      }

      &.active {
        opacity: 1;
        z-index: 1;
        visibility: visible;
        display: flex;
      }
    }
  }
}

/* Remove Item */
.loop-item {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;

  .remove-meta-value {
    cursor: pointer;
  }
}
/* Cookie Banner */
#cookie-notice {
  #cn-close-notice {
    background: none;
    border: none !important;
    &:after,
    &:before {
      background: #fff !important;
    }
  }
  #cn-notice-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 5px;
    button {
      margin: 0 !important;
    }
  }
}
