/* --- Общие стили --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #fefefe;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 15px 0;
  font-weight: 700;
  color: #111;
}

p {
  margin-bottom: 15px;
}

a {
  color: #2e7d32;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Hero Section --- */
.hero-section {
  text-align: center;
  background: #e8f5e9;
  padding: 50px 20px;
}

.hero-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.product-block {
  margin: 20px auto;
  max-width: 600px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column; /* ставим элементы один под другим */
  align-items: center;    /* центрируем по горизонтали */
  gap: 20px;              /* отступ между фото и кнопкой */
}

.product-block img {
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px; /* скругление для красоты */
}

.order-btn {
  background: #2e7d32;
  color: #fff;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.order-btn:hover {
  background: #1b5e20;
  transform: translateY(-2px); /* легкий эффект «подъема» */
}

/* --- Content Sections --- */
.content-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.content-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2e7d32;
}

/* --- Composition Table --- */
.composition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.composition-table th, .composition-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.composition-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* --- Reviews Section --- */
.reviews-section .review {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.review-name {
  font-weight: 600;
  margin-right: auto;
}

.review-stars {
  color: #fbc02d;
  margin-right: 10px;
}

.review-date {
  font-size: 12px;
  color: #777;
}

.review-text {
  margin-top: 10px;
  font-size: 15px;
}

.review-photo {
  display: block;
  margin-top: 10px;
  max-width: 180px;
  height: auto;
  object-fit: cover;
  border-radius: 0; /* без скруглений для фото упаковки */
}

/* --- Review Form --- */
.review-form-section form input,
.review-form-section form textarea,
.review-form-section form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.review-form-section form button {
  width: 100%;
  padding: 12px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.review-form-section form button:hover {
  background: #1b5e20;
}

/* --- FAQ Section --- */
.faq-section h3 {
  font-size: 18px;
  margin-top: 20px;
  color: #2e7d32;
}

.faq-section p {
  font-size: 15px;
  margin-bottom: 15px;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  background: #2e7d32;
  color: #fff;
  font-size: 14px;
}

.site-footer a {
  color: #c8e6c9;
}

.site-footer a:hover {
  color: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 22px;
  }

  .composition-img {
    width: 50px;
    height: 50px;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
  }

  .review-photo {
    max-width: 140px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 20px;
  }

  .order-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
}
