/* Стилизация табов в попапе продукта */

.btn-card .tn-atom{
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

body.is-lock{
    overflow: hidden !important;
}

/* Попап продукта */

.overlay {
  padding: 80px 0;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  overflow: auto;
  scrollbar-width: none;
  transition: all 0.5s ease-in-out 0s;
}
.overlay:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
}
.overlay::-webkit-scrollbar {
  display: none;
}
.overlay__close {
  position: absolute;
  inset: 0;
  z-index: -1;
  cursor: pointer;
  background: none;
  border: none;
}
.product-popup {
  padding: 30px 50px 70px 60px;
  box-sizing: border-box;
  margin: auto 0;
  width: 1012px;
  background: #fff;
  font-family: Circe, Arial;
}
.product-popup * {
  box-sizing: border-box;
}
.product-popup__header {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-popup__copy {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 155.5%;
  cursor: pointer;
}
.product-popup__copy-icon {
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-popup__copy-icon svg {
  width: 100%;
}
.product-popup__close {
  padding: 0;
  border: none;
  background: none;
  color: #bdbdbd;
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  width: 30px;
  height: 30px;
}
.product-popup__close:hover {
  color: #832c40;
}
.product-popup__close svg {
  width: 100%;
  height: 100%;
}
.product-popup__title {
  margin-bottom: 34px;
  font-size: 36px;
  font-weight: 400;
  line-height: 133.333%;
  letter-spacing: 1.08px;
  color: #832c40;
}
.product-popup__body {
  display: flex;
  align-items: start;
  gap: 50px;
}
.product-popup__info {
  flex: 1 1 auto;
}
.product-popup__image {
  width: 336px;
  aspect-ratio: 1;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-popup__image img {
  width: 100%;
}

.product-popup__tabs {
  margin-bottom: 34px !important;
  list-style: none;
  padding: 0 !important;
  display: flex;
}

.product-popup__tab {
  padding-left: 16px;
  padding-right: 16px;
  height: 45px;
  color: #6a6a6a;
  font-size: 12px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  border-bottom: 1px solid #e9e9ff;
  transition: all 0.3s ease-in-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-popup__tab:hover {
  color: #832c40;
}

.product-popup__tab.is-active {
  color: #832c40;
  border-color: #832c40;
  pointer-events: none;
}

.product-popup__weight {
  margin-bottom: 14px;
  color: #181818;
  font-size: 18px;
  font-weight: 400;
  line-height: 155.5%;
}

.product-popup__tabcontent {
  color: #6a6a6a;
  font-size: 18px;
  font-weight: 400;
  line-height: 155.5%;
}

.product-popup__tabcontent p + p {
  margin-top: 14px;
}

@media (min-width: 992px) {
  .product-popup__body {
    margin: 0 8.5px;
  }
  .product-popup__tab {
    min-width: 150px;
  }
}

@media (max-width: 1200px) {
  .product-popup {
    padding: 32px 24px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 992px) {
  .overlay {
    padding: 32px 0;
  }
  .product-popup__title {
    font-size: 30px;
  }
  .product-popup__body {
    gap: 32px;
  }
  .product-popup__image {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .product-popup__body {
    flex-direction: column;
    align-items: stretch;
  }
  .product-popup__image {
    width: 50%;
    align-self: center;
  }
}

@media (max-width: 576px) {
  .product-popup {
    padding: 16px;
  }
  .product-popup__copy {
    font-size: 16px;
  }
  .product-popup__copy-icon {
    width: 26px;
    height: 26px;
  }
  .product-popup__close {
    width: 25px;
    height: 25px;
  }
  .product-popup__title {
    font-size: 22px;
  }
  .product-popup__image {
    width: 80%;
  }
  .product-popup__weight {
    margin-bottom: 10px;
  }
}

@media (max-width: 400px) {
  .product-popup {
    padding: 16px 10px;
    width: calc(100% - 20px);
  }
  
  .product-popup__tab {
    height: 40px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 10px;
  }
}
