.popup {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  padding: 20px;
}
.popup__wrapper {
  display: table;
  height: 100%;
  width: 100%;
}
.popup__inner {
  display: table-cell;
  vertical-align: middle;
}
.popup__content {
  padding: 16px;
  border-radius: 40px;
  background: var(--background-body);
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.content__img {
  border-radius: 40px;
  max-width: 310px;
  max-height: 310px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.content__title {
  color: var(--text-dark);
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
  margin-bottom: 12px;
}
.content__description {
  color: var(--text-dark);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 20px;
}
.content__tabs-title {
  color: var(--text-dark);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 8px;
}
.content__tabs-additives,
.content__tabs-size {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 8px;
  flex-wrap: wrap;
}

.content__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.content__tab span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--border-light);
  transition: all 0.3s ease;
}
.content__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dark);
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--text-dark);
  margin-bottom: 12px;
}
.conrents__worning {
  color: var(--text-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 14px */
  padding-left: 24px;
  position: relative;
  margin-bottom: 20px;
}
.conrents__worning::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: url(../assets/image/info-empty.svg) no-repeat center;
}
.content__btn {
  width: 100%;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  padding: 10px 0;
  color: var(--text-dark);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  background-color: transparent;
  transition: color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}
.content__tab--active {
  background: var(--background-container);
  color: var(--text-light) !important;
}
.content__tab--active span {
  color: var(--text-dark);
}
@media (hover: none) {
  .content__btn {
    color: var(--text-dark);
    background-color: transparent;
  }
  .content__tab {
    color: var(--text-dark);
  }
}

@media (hover: hover) {
  .content__btn:hover {
    background: var(--background-container);
    color: var(--text-light);
  }
  .content__tab:hover {
    background: var(--background-container);
    color: var(--text-light);
  }
  .content__tab:hover span {
    color: var(--text-dark);
  }
}

@media (max-width: 824px) {
  .popup__content {
    max-width: 690px;
  }
  .content__img {
    max-width: 310px;
    max-height: 310px;
  }
}
@media (max-width: 824px) {
  .content__img {
    display: none;
  }
}
