.precard-overlay,
.precard-overlay-c {
  background: rgba(0, 0, 0, 0.302);
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: all 0.4s;
  visibility: hidden;
  width: 100%;
  z-index: 999999999;
}
.precard-overlay-c {
  z-index: 10;
}
body.show-2nd-overlay .precard-overlay-c {
  opacity: 1;
  visibility: visible;
}
.precard {
  background: rgba(0, 0, 0, 0.401);
  cursor: pointer;
  display: flex;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999999;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: all 0.4s;
  visibility: hidden;
}
.precard .nici-dd-dropdown-content {
  max-height: 45vh;
}
.precard .products-slider__item--img {
  position: relative;
}
.precard .products-slider__item--img:before {
  content: "";
  display: block;
  padding-top: 133%;
}
.precard .products-slider__item--img img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .precard .products-slider__item--img img {
    border-radius: 8px;
  }
}
.precard-wrapper {
  background: #fff;
  border-top-left-radius: 16px;
  cursor: auto;
  margin-left: auto;
  max-width: 462px;
  position: relative;
  width: 100%;
}
@media screen and (max-width: 989px) {
  .precard-wrapper {
    border-top-right-radius: 16px;
    height: 95%;
    margin-top: auto;
    max-width: none;
    transform: translateY(100%);
    transition: 0.4s ease-in;
  }
}
.precard-message {
  align-items: center;
  background: #f8f8f8;
  border-top-left-radius: 16px;
  color: #161616;
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 15px 40px;
  justify-content: center;
  line-height: 17px;
  padding: 32px 0;
}
@media screen and (max-width: 989px) {
  .precard-message {
    border-top-right-radius: 16px;
  }
}
.precard-message svg {
  height: 29px;
  width: 29px;
}
.precard-body {
  padding: 0 36px;
}
@media screen and (max-width: 989px) {
  .precard-body {
    padding: 0 19px;
  }
}
.precard-buttons {
  display: grid;
  gap: 0 23px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
}
.precard-buttons .precard-btn {
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  line-height: 15px;
  padding: 15px 10px;
  text-align: center;
  transition: all 0.4s;
  -webkit-tap-highlight-color: transparent;
}
.precard-buttons .precard-btn.precard-close {
  border: 1px solid #707070;
  color: #000;
}
.precard-buttons .precard-btn.precard-cart {
  background: #000;
  border: 1px solid #000;
  color: #fff;
}
.precard-question {
  background: #efefef;
  border: 1px solid #707070;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  line-height: 15px;
  position: relative;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  margin-top: 15px;
  padding: 19px 10px;
}
.precard-question p {
  color: #000 !important;
  margin: 0 !important;
}
.precard-question .question-mark {
  border: 1px solid #707070;
  border-radius: 50%;
  color: #000;
  font-size: 13px;
  height: 20px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}
body.show-pre-card {
  overflow: hidden !important;
}
body.show-pre-card .precard {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 989px) {
  body.show-pre-card .precard .precard-wrapper {
    transform: none;
    transition: 0.4s ease-in;
  }
}
body:not(.show-pre-card) .precard-upsells .products-slider__item-slider {
  opacity: 0 !important;
  visibility: hidden !important;
}
.precard-upsells {
  margin-top: 20px;
  overflow: auto;
  padding-bottom: 30px;
  padding-right: 20px;
  width: calc(100% + 20px);
}
@media screen and (max-width: 990px) {
  .precard-upsells .cart-quick-view .product-form-triggers-mobile {
    margin-top: 20px;
    padding: 18px;
  }
  .precard-upsells .main-product__label.main {
    margin-top: 0;
  }
  .precard-upsells .cart-quick-view {
    gap: 16px;
  }
  .precard-upsells .cart-quick-view .product__slider-slide:before {
    padding-top: 105%;
  }
  .precard-upsells .cart-page__products {
    position: relative;
  }
  .precard-upsells .cart-page__products:before {
    color: #000;
    content: "Hierzu passende Artikel";
    display: block;
    font-family: Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 15px;
    margin-bottom: 16px;
    text-align: center;
  }
}
@media screen and (max-width: 989px) {
  .precard-upsells {
    height: auto;
    margin-left: -19px;
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
    width: calc(100% + 38px);
  }
}
.precard-upsells .cart-page__products--subtitle,
.precard-upsells .cart-page__products--title,
.precard-upsells .swiper-button-next:not(.swiper-button-next__quick),
.precard-upsells .swiper-button-prev:not(.swiper-button-prev__quick) {
  display: none !important;
}
.precard-upsells .products-slider__item--img {
  border-radius: 8px !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
}
@media screen and (max-width: 989px) {
  .precard-upsells .products-slider__item--img {
    margin-bottom: 11px !important;
  }
}
.precard-upsells .products-slider__item--title {
  color: #000 !important;
  display: -webkit-box;
  font-size: 10px !important;
  line-height: 12px !important;
  margin-bottom: 2px !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.precard-upsells .products-slider__item--price {
  color: #000 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 12px !important;
  margin-bottom: 12px !important;
}
.precard-upsells .products-slider__button {
  border-radius: 4px;
  font-size: 13px;
  line-height: 15px;
  padding: 10px;
  text-align: center;
  width: 100%;
  color: black;
  background: white; 
  border: 1px solid #000;
  border-radius: 4px;
}

.precard-upsells .products-slider__item-slider {
  opacity: 1;
  visibility: visible;
}
.precard-upsells .products-slider__item-slider .products-slider__item--wrapper {
  display: grid;
  gap: 40px 10px;
  grid-template-columns: 1fr 1fr;
}
@media screen and (max-width: 989px) {
  .precard-upsells
    .products-slider__item-slider
    .products-slider__item--wrapper {
    gap: 20px 10px;
    margin-bottom: 0;
    overflow: auto;
    padding: 20px 0;
  }
  .precard-upsells
    .products-slider__item-slider
    .products-slider__item--wrapper
    .swiper-slide {
    max-width: 100%;
    padding: 0;
    width: 100%;
  }
}
@media screen and (max-width: 650px) {
  .precard-upsells
    .products-slider__item-slider
    .products-slider__item--wrapper
    .swiper-slide {
    max-width: 100%;
  }
}
.precard-additional-popup {
  background: #f8f8f8;
  border-top-left-radius: 16px;
  height: 100%;
  left: auto;
  max-width: 462px;
  opacity: 0;
  padding: 50px 34px 20px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: all 0.4s;
  visibility: hidden;
  width: 100%;
  z-index: 100;
  z-index: 99999999999;
}
@media screen and (max-width: 989px) {
  .precard-additional-popup {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    bottom: 0;
    height: fit-content;
    max-width: none;
    padding: 78px 35px 60px 31px;
    top: auto;
    transform: translateY(100%);
  }
}
.precard-additional-popup .title {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 15px;
}
@media screen and (max-width: 989px) {
  .precard-additional-popup .title {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 20px;
  }
}
.precard-additional-popup .content {
  font-size: 15px;
  line-height: 15px;
}
@media screen and (max-width: 989px) {
  .precard-additional-popup .content {
    font-size: 13px;
    line-height: 15px;
  }
}
.precard-additional-popup .close {
  border: 1px solid #707070;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  margin-top: 30px;
  padding: 15px 10px;
  text-align: center;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
@media screen and (max-width: 989px) {
  .precard-additional-popup .close {
    font-size: 13px;
    line-height: 15px;
    padding: 15.5px 10px;
  }
}
.precard-additional-popup-close {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}
@media screen and (min-width: 990px) {
  .precard-additional-popup-close {
    display: none;
  }
}
@media screen and (max-width: 989px) {
  .precard-additional-popup-close {
    display: flex;
    height: 15px;
    right: 15px;
    top: 8px;
    width: 20px;
  }
}
.precard-additional-popup-close svg {
  height: 100%;
  width: 100%;
}
body.show-precard-additional-popup .precard-additional-popup {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}
@media screen and (max-width: 989px) {
  body.show-precard-additional-popup .precard-additional-popup {
    transform: translateY(0);
  }
  body.show-precard-additional-popup .precard-overlay {
    opacity: 1;
    visibility: visible;
  }
}
.precard-wrapper-close-mob {
  display: none;
}
@media screen and (max-width: 989px) {
  .precard-wrapper-close-mob {
    cursor: pointer;
    display: flex;
    height: 15px;
    position: absolute;
    right: 15px;
    top: 10px;
    width: 20px;
    -webkit-tap-highlight-color: transparent;
  }
  .precard-wrapper-close-mob svg {
    height: 100%;
    width: 100%;
  }
}
.cart-quick-view .model-popup-info {
  display: none !important;
}
