/* productSingle */
.productSingle {
  margin-top: 25px;
  --gallery-accent: #1d7d7e;
}

/* productSinglePhotos */
.productSinglePhotos {
  position: relative;
  padding: 0;
  border: 0;
}

.productSinglePhotos:not(.swiper) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.productSinglePhotos.swiper {
  width: 100%;
  overflow: hidden;
}

.productSinglePhotos--placeholder {
  padding: 16px 0 8px;
}

.productSinglePhotos__photo--placeholder {
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 200px;
  opacity: 0.45;
}

.productSinglePhotos .swiper-wrapper {
  align-items: center;
}

.productSinglePhotos .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.productSinglePhotos__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: manipulation;
}

.productSinglePhotos__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
}

.productSinglePhotos__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}

.productSinglePhotos__pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 !important;
  opacity: 0.45;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.productSinglePhotos__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--gallery-accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
  transform: scale(1.25);
}

@media screen and (min-width: 601px) {
  .productSinglePhotos .swiper-slide {
    min-height: min(400px, 50vh);
  }

  .productSinglePhotos__photo {
    max-height: min(600px, 70vh);
    cursor: grab;
  }

  .productSinglePhotos.swiper-grab .productSinglePhotos__photo {
    cursor: grabbing;
  }
}

@media screen and (max-width: 600px) {
  .productSinglePhotos .swiper-slide {
    height: auto;
  }

  .productSinglePhotos__photo {
    max-height: none;
  }
}

/* productSingleInfo */
.productSingleInfo {
  margin-right: 5px;
  margin-left: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.productSingleInfo__left {
  display: flex;
  flex-direction: column;
  width: 60%;
}
.productSingleInfo__right {
  display: flex;
  flex-direction: column;
  background-color: #dee9eb;
  flex-grow: 1;
  padding: 15px;
  gap: 25px;
}
.productSingleInfo__left p {
  padding: 1px 5px 1px 5px;
  text-align: left;
}
.productSingleInfo__left p:nth-child(2n + 1) {
  background-color: #dee9eb;
}
.productSingleInfo__art {
  color: var(--main-bg-color);
  border: 1px solid var(--main-bg-color);
}
.productSingleInfo__priceWrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  align-self: flex-end;
}
.productSingleInfo__price {
  font-size: 30px;
  font-weight: bold;
}
.productSingleInfo__inStock {
  align-self: center;
  font-size: 0.95rem;
}
.productSingleInfo__addToCart {
  align-self: flex-end;
  display: flex;
  justify-content: center;
  align-items: center;
}

.productSingleInfo__cars {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #dee9eb;
  padding: 5px;
}
.productSingleInfo__cartIcon {
  color: var(--main-bg-color);
}
.productSingleInfo__anchor {
  width: 100px;
  height: 50px;
}
.productSingleInfo__button {
  font-size: 20px;
  color: white;
  background-color: var(--main-bg-color) !important;

  padding: 5px 20px 5px 20px;
  align-self: center;
  text-decoration: none;
  border: 0;
}
.productSingleInfo__buttonWrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.productSingleInfo__button:hover,
.productSingleInfo__button:hover * {
  color: white;
  opacity: 0.9;
  text-decoration: none;
}
.productSingleInfo__button:active,
.productSingleInfo__button:active * {
  color: white;
  opacity: 0.8;
  text-decoration: none;
}
.productSingleInfo__buttonText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.productSingleInfo__buttonText .in-basket-desc_text {
  font-size: 0.9rem;
}
@media screen and (max-width: 480px) {
  .productSingleInfo {
    flex-direction: column;
    gap: 10px;
  }
  .productSingleInfo__left {
    width: 100%;
  }
  .productSingleInfo__right {
    width: 100%;
  }
}
