/* ---------------------- */
/* БАЗА САЙТА */
/* ---------------------- */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f6f7;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3 {
  color: #111;
  font-weight: 700;
}

section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}


/* ---------------------- */
/* HERO */
/* ---------------------- */

.hero-section {
  text-align: center;
  padding: 30px 20px;
}

.order-btn {
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px 30px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.2s;
}

.order-btn:hover {
  background: #449c48;
}


/* ---------------------- */
/* КРАСИВЫЕ БЛОКИ */
/* ---------------------- */

.product-block,
.about-section,
.block-composition,
.content-section,
.reviews-section,
.review-form-section,
.faq-section {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 35px;
}


/* ---------------------- */
/* ТАБЛИЦА СОСТАВА */
/* ---------------------- */

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

.composition-table th {
  background: #e8e8e8;
  padding: 10px;
  text-align: left;
}

.composition-table td {
  padding: 12px 10px;
  vertical-align: top;
}

.composition-img {
  width: 90px;
  border-radius: 6px;
}


/* ---------------------- */
/* ОТЗЫВЫ */
/* ---------------------- */

.review {
  padding: 20px;
  background: #fafafa;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

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

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

.review-stars {
  font-size: 18px;
  color: #f7b400;
}

.review-photo {
  margin-top: 10px;
  width: 140px;
}


/* ---------------------- */
/* FAQ */
/* ---------------------- */

.faq-section h3 {
  margin-top: 25px;
}


/* ---------------------- */
/* ФОРМА M1 – ЧИСТАЯ, ЦЕНТРАЛЬНАЯ, НОРМАЛЬНАЯ */
/* ---------------------- */

#order-form {
  margin: 40px auto;
  max-width: 600px;
}

#order-form .m1-content {
  width: 100% !important;
  padding: 25px !important;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* убиваем старые float */
#order-form .m1-left,
#order-form .m1-right {
  float: none !important;
  width: 100% !important;
  text-align: left !important;
}

/* убираем фиксированные высоты и абсолюты */
#order-form .m1-top,
#order-form .m1-price {
  position: static !important;
  height: auto !important;
  width: 100% !important;
}

/* поля */
#order-form input[type="text"],
#order-form input[type="tel"] {
  width: 100% !important;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #fff;
  margin-top: 5px;
}

/* кнопка */
#order-form input[type="submit"] {
  width: 100%;
  padding: 14px;
  background: #4CAF50 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 20px !important;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.2s;
}

#order-form input[type="submit"]:hover {
  background: #449c48 !important;
}

/* разделительная линия */
#order-form .m1-line {
  border-top: 1px solid #ccc !important;
  margin: 20px 0;
}

#order-form .m1-row {
  margin-bottom: 18px;
}


/* ---------------------- */
/* FOOTER */
/* ---------------------- */

.site-footer {
  text-align: center;
  padding: 30px 10px;
  color: #666;
  font-size: 14px;
}
