/* ========================================
   СТИЛИ СТРАНИЦЫ ТОВАРА
   ======================================== */

:root {
  --bg: 55, 40, 40;
  --prime: 222, 63, 58;
  --trans: 0.3s ease-out 0s;
}

/* Заголовок товара - белый цвет */
.product-detail__name--white {
  color: white !important;
}

/* Атрибуты вариаций */
.product-detail__attribute {
  margin: 0 0 24px;
}

.product-detail__attribute-label {
  display: block;
  font-family: MontserratAlternates, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: white;
  margin: 0 0 12px;
  text-transform: uppercase;
  text-align: center;
}

.product-detail__attribute-options {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
  justify-content: center;
}

/* Кнопки выбора атрибутов */
.product-detail__attribute-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 23px;
  background-color: transparent;
  color: white;
  font-family: MontserratAlternates, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  transition: all var(--trans);
  user-select: none;
}

.product-detail__attribute-option:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.05);
}

.product-detail__attribute-option input[type="radio"] {
  display: none;
}

.product-detail__attribute-option input[type="radio"]:checked + span {
  border-color: white;
  background-color: rgba(var(--prime));
  color: white;
  font-weight: 600;
}

/* ========================================
   АДАПТИВ
   ======================================== */

@media (min-width: 768px) {
  .product-detail__attribute-label {
    text-align: left;
  }

  .product-detail__attribute-options {
    justify-content: flex-start;
  }
}
/* ========================================
   УВЕДОМЛЕНИЯ
   ======================================== */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  padding: 16px 24px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #000;
  font-family: MontserratAlternates, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateX(200%);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.notification--show {
  transform: translateX(0);
  opacity: 1;
}

.notification--success {
  border-left: 4px solid rgba(var(--prime));
}

.notification--error {
  border-left: 4px solid #ff4444;
}

@media (min-width: 768px) {
  .notification {
    top: 40px;
    right: 40px;
    font-size: 18px;
    line-height: 1.5;
  }
}