

/* Start:/tests/assets/css/testPageStyles.css?17623310735031*/
/* Стили для секции */
.taft-section {
  max-width: 1440px;
  margin: 0 auto;
  //padding: 40px 20px;
}

.taft-title {
  font-weight: 700;
  font-size: 2rem; /* 32px при 16px базовом размере */
  line-height: 130%;
  //text-align: center;
  //margin-bottom: 20px;
  text-transform: none;
}

.taft-description {
  font-weight: 400;
  font-size: 0.875rem; /* 14px при 16px базовом размере */
  line-height: 140%;
  //text-align: center;
  max-width: 1440px;
  //margin: 0 auto 40px;
  marin-bottom: 20px;
}

/* Контейнер для Заголовка с текстом для выравнивания */
.taft-text-container {
  display: flex;
  //justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Контейнер для карточек */
.taft-cards-container {
  display: flex;
  //justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Стили карточки */
.taft-card {
  //width: 382px;
  //height: 467px;
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  width: 25vw;
  height: 30vw;
}

.taft-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.taft-card.flipped .taft-card-inner {
  transform: rotateY(180deg);
}

.taft-card-front,
.taft-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.taft-card-front {
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #000000;
}

.taft-card-back {
  background-color: #F8F8F8;
  transform: rotateY(180deg);
  padding: 30px 20px;
  justify-content: space-between;

}

/* Стили для лицевой стороны карточки */
.card-category {
  font-weight: 700;
  font-size: 2rem; /* 32px при 16px базовом размере */
  line-height: 130%;
  margin-bottom: 20px;

}

.view-button {
  width: 190px;
  height: 42px;
  border: 1px solid #000000;
  background: transparent;
  color: #000000;
  font-weight: 700;
  font-size: 0.875rem; /* 14px при 16px базовом размере */
  line-height: 130%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Стили для обратной стороны карточки */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 10;
}

.close-button::before,
.close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #000;
}

.close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.product-title {
  font-weight: 700;
  //font-size: 1.125rem; /* 18px при 16px базовом размере */
  line-height: 130%;
  text-align: center;
  margin-bottom: 20px;
}

.product-image {
  height: 176px;
  //margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-height: 100%;
  max-width: 100%;
}

.product-description {
  font-weight: 400;
  font-size: 0.875rem; /* 14px при 16px базовом размере */
  line-height: 140%;
  text-align: center;
  //margin-bottom: 20px;
}

.buy-button.no-styles-href {
  width: 190px;
  height: 42px;
  background: #7ac3a6;
  color: #000000;
  font-weight: 700;
  font-size: 0.875rem; /* 14px при 16px базовом размере */
  line-height: 130%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
/* Hover-эффект для кнопки */
.buy-button:hover {
    background: #68b095; /* Немного темнее при наведении */
}

/* Фокус для доступности */
.buy-button:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}
/* Медиа-запросы для адаптивности */
@media (max-width: 1200px) {
  .taft-card {
    width: 350px;
    height: 428px;
  }
}

@media (max-width: 1024px) {
  .taft-card {
    width: 300px;
    height: 367px;
  }

  .taft-title {
    font-size: 1.75rem;
  }

  .card-category {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .taft-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  .taft-card {
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin-bottom: 20px;
  }

  .taft-title {
    font-size: 1.5rem;
  }

  .card-category {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .taft-card {
    //height: 350px;
	height: 120vw;
  }

  .taft-title {
    font-size: 2.25rem;
  }

  .card-category {
    font-size: 1.25rem;
  }

  .product-title {
    font-size: 1rem;
  }
}

/* End */
/* /tests/assets/css/testPageStyles.css?17623310735031 */
