@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

/* ТЕМНАЯ ТЕМА */
body {
  background-color: #050505;
  color: #eee;
}
.container {
  max-width: 500px;
  margin: 0 auto;
  background: #111;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.hero {
  padding: 20px 15px 15px;
  text-align: left;
}
.wb-badge {
  display: inline-block;
  background: #222;
  color: #c5a059;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #c5a059;
}

.hero h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.2;
  color: #fff;
}
.highlight-text {
  color: #c5a059;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #999;
  margin-bottom: 15px;
}
.stars {
  color: #c5a059;
  font-size: 14px;
  letter-spacing: -2px;
}

/* Главное фото */
.image-wrapper {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.hero-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
  opacity: 0.95;
  border: 1px solid #222;
}
.bogo-badge {
  position: absolute;
  bottom: -15px;
  right: 10px;
  background: #d32f2f;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.5);
  transform: rotate(-3deg);
  animation: shake 3s infinite;
}
@keyframes shake {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg) scale(1.05);
  }
}

/* Цены */
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.new-price {
  font-size: 34px;
  font-weight: 800;
  color: #c5a059;
  line-height: 1;
}
.old-price {
  font-size: 16px;
  color: #666;
  text-decoration: line-through;
}
.price-note {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #d32f2f;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.stock-warning {
  display: inline-block;
  background: #1a0a0a;
  border: 1px dashed #552222;
  color: #ff5555;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
}
.stock-warning b {
  font-weight: 800;
}

/* Премиальная кнопка под золото */
.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #dfb86c 0%, #a67b27 100%);
  color: #0a0a0a;
  font-weight: 800;
  font-size: 18px;
  padding: 18px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.1s ease;
  box-shadow:
    0 6px 0 #6e5015,
    0 10px 20px rgba(197, 160, 89, 0.2);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.btn:active {
  transform: translateY(6px);
  box-shadow:
    0 0px 0 #6e5015,
    0 4px 10px rgba(197, 160, 89, 0.2);
}
.btn-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow:
      0 6px 0 #6e5015,
      0 0 0 0 rgba(197, 160, 89, 0.4);
  }
  70% {
    box-shadow:
      0 6px 0 #6e5015,
      0 0 0 10px rgba(197, 160, 89, 0);
  }
  100% {
    box-shadow:
      0 6px 0 #6e5015,
      0 0 0 0 rgba(197, 160, 89, 0);
  }
}

.divider {
  height: 8px;
  background: #000;
  width: 100%;
}

/* Описание аромата */
.fragrance-info {
  padding: 20px 15px;
}
.fragrance-info h2 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}
.fragrance-desc {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.5;
}

.pyramid {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 15px;
}
.note-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}
.note-item:last-child {
  margin-bottom: 0;
}
.note-icon {
  font-size: 20px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.note-text h4 {
  font-size: 14px;
  color: #c5a059;
  margin-bottom: 3px;
  font-weight: 700;
}
.note-text p {
  font-size: 13px;
  color: #aaa;
}

/* Блок доверия */
.trust-block {
  padding: 20px 15px;
}
.trust-block h2 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}
.step-icon {
  width: 32px;
  height: 32px;
  background: #111;
  color: #c5a059;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.step-text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #eee;
}
.step-text p {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

/* Отзывы */
.reviews-section {
  padding: 20px 15px;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.reviews-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.reviews-header span {
  font-size: 13px;
  color: #c5a059;
  font-weight: 700;
}

.review-card {
  background: #161616;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c5a059; /* Золотая окантовка как в общем стиле */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.reviewer-info h4 {
  font-size: 14px;
  margin-bottom: 2px;
  font-weight: 700;
  color: #eee;
}
.reviewer-info h4 .stars {
  color: #c5a059;
  font-size: 12px;
  margin-left: 5px;
  letter-spacing: -1px;
}
.reviewer-info .date {
  font-size: 11px;
  color: #666;
}
.review-text {
  font-size: 13px;
  line-height: 1.5;
  color: #bbb;
  margin-bottom: 10px;
}
.review-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.review-photos img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #333;
}

/* Форма заявки */
.order-wrapper {
  background: #050505;
  padding: 40px 0 20px;
}
.order-section {
  margin: 0 15px;
  padding: 30px 20px 20px;
  background: #111;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.form-thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #111;
  box-shadow: 0 0 0 2px #c5a059;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
}

.order-section h2 {
  font-size: 22px;
  margin-bottom: 5px;
  font-weight: 800;
  margin-top: 15px;
  color: #fff;
}
.order-section p {
  font-size: 13px;
  color: #888;
  margin-bottom: 15px;
}

/* === ВЫБОР КОМПЛЕКТА (форма заказа) === */
.bundle-select {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  text-align: left;
}
.bundle-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.bundle-option:hover {
  border-color: #3a3a3a;
}
.bundle-option.selected {
  border-color: #c5a059;
  background: #1a1710;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}

/* Кастомный радио под золотую тему (системный радио плохо смотрится на тёмном фоне) */
.bundle-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid #333;
  border-radius: 50%;
  background: #0a0a0a;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s;
}
.bundle-option input[type="radio"]:checked {
  border-color: #c5a059;
}
.bundle-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #c5a059;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.bundle-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bundle-name {
  font-size: 14px;
  font-weight: 700;
  color: #eee;
}
.bundle-info small {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.bundle-price {
  font-size: 16px;
  font-weight: 800;
  color: #c5a059;
  text-align: right;
  white-space: nowrap;
}
.bundle-price s {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-decoration: line-through;
}

.bundle-badge {
  position: absolute;
  top: -10px;
  left: 14px;
  background: #222;
  color: #c5a059;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #c5a059;
}
.bundle-badge.badge-gold {
  background: #2a0f0f;
  color: #ff8a8a;
  border: 1px solid #d32f2f;
}

.form-group {
  margin-bottom: 12px;
}
.form-group input {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border: 2px solid #222;
  border-radius: 8px;
  outline: none;
  background: #0a0a0a;
  color: #fff;
  transition: 0.3s;
  text-align: center;
  font-weight: 500;
}
.form-group input::placeholder {
  color: #555;
}
.form-group input:focus {
  border-color: #c5a059;
  background: #000;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.guarantee {
  font-size: 12px;
  color: #666;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.footer {
  padding: 20px;
  text-align: center;
  background: #050505;
  color: #444;
  font-size: 11px;
  border-top: 1px solid #111;
}

/* Стили для ошибок валидации */
.field-error {
  display: none;
  font-size: 13px;
  color: #ff8a8a;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 10px 12px 10px 40px;
  background: #2a0f0f;
  border-radius: 6px;
  position: relative;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid #552222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.field-error::before {
  content: "!";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #d32f2f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(211, 47, 47, 0.3);
}

/* Стили для поля с ошибкой */
.form-group input.error {
  border-color: #d32f2f;
  background: #1a0a0a;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
}

/* ===== ФУТЕР ===== */
.footer {
  background: #050505;
  padding: 30px 20px 20px;
  border-top: 1px solid #1a1a1a;
  color: #666;
  font-size: 12px;
}

.footer-content {
  max-width: 500px;
  margin: 0 auto;
}

.footer-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #111;
}

.footer-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-company {
  font-size: 12px;
  line-height: 1.7;
  color: #777;
  margin-bottom: 2px;
}

.footer-company i {
  width: 18px;
  text-align: center;
  color: #c5a059;
}

.footer-link {
  color: #c5a059;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-link:hover {
  color: #dfb86c;
  text-decoration: underline;
}

.footer-contacts {
  background: #0a0a0a;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #1a1a1a;
}

.footer-contacts .footer-company {
  margin-bottom: 8px;
}
.footer-contacts .footer-company:last-child {
  margin-bottom: 0;
}

.footer-docs-title {
  font-size: 13px;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-docs .footer-link {
  font-size: 12px;
  line-height: 2;
  color: #888;
}

.footer-docs .footer-link:hover {
  color: #c5a059;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #111;
  text-align: center;
  font-size: 11px;
  color: #444;
}