/* Reset CSS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Элементы HTML5 отображаются как блочные */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

/* Базовые настройки для body */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Удаление стилей списков */
ol,
ul {
  list-style: none;
}

/* Удаление курсива для address */
address {
  font-style: normal;
}

/* Сброс стиля для ссылок */
a {
  color: inherit;
  text-decoration: none;
}

/* Устранение проблем с img */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Наследование шрифтов для элементов формы */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Удаление изменений шрифта в textarea */
textarea {
  resize: vertical;
}

/* Сброс стилей для таблиц */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Устранение проблем с границами для изображений внутри ссылок */
a img {
  border: none;
}

/* Устранение лишних отступов у fieldset */
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Удаление подсветки в Chrome */
:focus {
  outline: 0;
}

/* Улучшение для скрытого контента */
[hidden] {
  display: none !important;
}

/* Базовые настройки шрифтов */
:root {
  --font-primary: "Roboto", sans-serif;
  --font-headers: "Montserrat", sans-serif;
  --text-base: 16px;
  --text-scale-ratio: 1.2;
  --main-color: #708f71;
  --main-color-dark: #5a725b;
  --main-color-light: #89ab8a;
  --background-color: #f3f4f6;
  --slide-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  --slide-shadow-active: 0 8px 25px rgba(0, 0, 0, 0.25);
  --transition-speed: 0.6s;
}

/* Основные настройки типографики */
html {
  font-size: var(--text-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Настройка заголовков */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: calc(
    var(--text-base) * var(--text-scale-ratio) * var(--text-scale-ratio) *
      var(--text-scale-ratio) * var(--text-scale-ratio)
  ); /* ~2.07rem */
  letter-spacing: -0.02em;
}

h2 {
  font-size: calc(
    var(--text-base) * var(--text-scale-ratio) * var(--text-scale-ratio) *
      var(--text-scale-ratio)
  ); /* ~1.73rem */
}

h3 {
  font-size: calc(
    var(--text-base) * var(--text-scale-ratio) * var(--text-scale-ratio)
  ); /* ~1.44rem */
}

h4 {
  font-size: calc(var(--text-base) * var(--text-scale-ratio)); /* ~1.2rem */
  font-weight: 600;
}

h5 {
  font-size: var(--text-base); /* 1rem */
  font-weight: 600;
}

h6 {
  font-size: calc(var(--text-base) / var(--text-scale-ratio)); /* ~0.83rem */
  font-weight: 600;
}

/* Параграфы и межстрочные интервалы */
p,
ul,
ol {
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Жирный текст */
strong,
b {
  font-weight: 500;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  :root {
    --text-base: 15px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-base: 14px;
    --text-scale-ratio: 1.15;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 0.4em;
  }
}

@media (max-width: 576px) {
  :root {
    --text-base: 14px;
    --text-scale-ratio: 1.1;
  }
}

/* Для предотвращения слишком мелкого шрифта на очень маленьких экранах */
@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
}

.hero-section,
.order-section {
  position: relative;
}

.hero-line {
  position: absolute;
  top: 4%;
  background-color: #e0f0e0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  display: block;
  width: 60%;
  margin: 100px auto 0;
}

.hero-flex-content {
  display: flex;
  flex-direction: row;
}

.hero-left-content {
  width: 50%;
}

.hero-left-content h1,
.hero-left-content p {
  margin-bottom: 20px;
}

.hero-slider {
  position: relative;
  margin-bottom: 120px;
}

.hero-slider p {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  color: #333;
}

.hero-slider p.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider p.fade-out {
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-slider p strong {
  display: block;
  color: var(--main-color-dark);
}

.hero-price {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 30px 0;
}

.old-price,
.new-price {
  background-color: #000000;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
}

.old-price {
  text-decoration: 3px line-through rgb(255, 0, 0);
}

.hero-button {
  text-decoration: none;
  color: white;
  font-weight: bold;
  background-color: var(--main-color);
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 18px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: var(--main-color-light);
  transform: scale(1.05);
}

.hero-button.active {
  background-color: var(--main-color);
  transform: scale(1.05);
}

.hero-button.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 2px solid var(--main-color);
  border-radius: 10px;
  opacity: 0.6;
  animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
  0% {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }
  70% {
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    opacity: 0;
  }
  100% {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
}

.hero-content-down {
  margin-top: 20px;
}
.hero-prod-mob {
  display: none;
}
.hero-prod-desk img {
  position: relative;
  left: 50%;
  width: 80%;
}

@media (max-width: 767px) {
  .hero-line {
    top: 1%;
  }
  .hero-content {
    width: 95%;
    margin: 50px auto 0;
  }

  .hero-flex-content {
    flex-direction: column;
  }
  .hero-left-content {
    width: 100%;
    text-align: center;
  }
  .hero-slider {
    text-align: center;
  }
  .hero-prod-mob {
    display: block;
  }

  .hero-prod-mob img {
    width: 80%;
    margin: auto;
  }
  .hero-price {
    margin: 20px auto 40px;
    justify-content: center;
    gap: 20px;
  }

  .hero-prod-desk {
    display: none;
  }

  .hero-content-down {
    margin-top: 40px;
  }
  .hero-button {
    font-size: 22px;
  }
}

section {
  padding: 15px 0;
}

.section-content {
  width: 60%;
  margin: 0 auto;
}

.ingredients-section-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  margin: 20px auto;

}

.ingredient {
  width: 70%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  position: relative;
  background-size: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  margin: auto;
}

.ingredient-background {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.ingredient-text {
  color: #fff;
  padding: 0 10px;
  position: absolute;
  bottom: 10px;
  font-size: 18px;
  text-align: center;
}

.ingredient-text strong {
  font-weight: bold;
}

.i-1 {
  background-image: url(../img/ingr-1.jpg);
}
.i-2 {
  background-image: url(../img/ingr-2.jpg);
}
.i-3 {
  background-image: url(../img/ingr-3.jpg);
}
.i-4 {
  background-image: url(../img/ingr-4.jpg);
}
.i-5 {
  background-image: url(../img/ingr-5.jpg);
}
.i-6 {
  background-image: url(../img/ingr-6.jpg);
}

.ingredients-slider-nav {
  display: none;
  justify-content: center;
  margin-top: 15px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--main-color-light);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: var(--main-color-dark);
}

.functionality-section {
  background-color: var(--background-color);
}

.functionality-section-subtitel,
.usage-section-subtitel {
  text-align: center;
  font-size: 20px;
}

.functionality-section-content {
  display: grid;
  grid-template-columns: 1fr 10px 1fr;
  grid-gap: 30px 0;
  margin-top: 20px;
}

.vertical-line {
  grid-column: 2;
  grid-row: 1 / span 3;
  background-color: var(--main-color);
  width: 10px;
  height: 100%;
  justify-self: center;
}

.functionality-block-1,
.functionality-block-2 {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-right: 20px;
}

.functionality-block-2 {
  grid-row: 3;
}

.functionality-block-3 {
  grid-column: 3;
  grid-row: 2;
  text-align: left;
  padding-left: 20px;
}

.usage-flex-block {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.usage-block {
  flex: 1;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.usage-block img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.usage-block p {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.usage-descriptions {
  display: inline-block;
  background-color: rgba(80, 80, 80, 0.1);
  padding: 0 10px;
  border-left: 3px solid var(--main-color);
}

.testimonials-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  background-color: var(--background-color);
  padding: 20px;
  color: #333;
}

.section-title {
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  color: #333;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--main-color);
  border-radius: 3px;
}

.carousel-wrapper {
  width: 100%;
  max-width: 1500px;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.carousel-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 30px 0;
}

.testimonials-section-content {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 350px;
}

.testimonial {
  background-color: var(--main-color);
  padding: 25px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 15px;
  color: white;
  box-shadow: var(--slide-shadow);
  width: 300px;
  position: absolute;
  transition: all var(--transition-speed) cubic-bezier(0.34, 1.56, 0.64, 1); /* Упругий эффект */
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  filter: blur(3px);
  visibility: hidden;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 20px;
  font-size: 150px;
  color: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
}

.testimonial.active {
  left: 50%;
  transform: translateX(-50%) scale(1) translateY(0);
  opacity: 1;
  filter: blur(0);
  visibility: visible;
  z-index: 10;
  box-shadow: var(--slide-shadow-active);
}

.testimonial.prev {
  left: calc(50% - 320px);
  transform: translateX(-50%) scale(0.85) translateY(10px);
  opacity: 0.7;
  filter: blur(2px);
  visibility: visible;
  z-index: 5;
}

.testimonial.prev2 {
  left: calc(50% - 520px);
  transform: translateX(-50%) scale(0.7) translateY(20px);
  opacity: 0.4;
  filter: blur(4px);
  visibility: visible;
  z-index: 3;
}

.testimonial.next {
  left: calc(50% + 320px);
  transform: translateX(-50%) scale(0.85) translateY(10px);
  opacity: 0;
  filter: blur(2px);
  visibility: visible;
  z-index: 5;
  animation: fadeIn var(--transition-speed) ease forwards;
}

.testimonial.next2 {
  left: calc(50% + 520px);
  transform: translateX(-50%) scale(0.7) translateY(20px);
  opacity: 0;
  filter: blur(4px);
  visibility: visible;
  z-index: 3;
  animation: fadeInLight var(--transition-speed) ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.7;
  }
}

@keyframes fadeInLight {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.4;
  }
}

/* Стили для содержимого слайда */
.avatar-testimonial {
  grid-column: 1;
  grid-row: 1;
  position: relative;
}

.avatar-testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.testimonial.active .avatar-testimonial img {
  transform: scale(1.05);
}

.name-testimonial {
  grid-column: 2;
  grid-row: 1;
  font-weight: bold;
  font-size: 19px;
  align-self: center;
  padding-left: 10px;
  letter-spacing: 0.5px;
}

.text-testimonial {
  grid-column: 1 / span 2;
  grid-row: 2;
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
  margin-top: 5px;
  position: relative;
}

/* Кнопки и индикаторы */
.controls-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
  position: relative;
}

.controls::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.1);
}

.control-btn {
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 50px;
  width: 120px;
  height: 45px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
  background-color: var(--main-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.control-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.control-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.control-btn:hover::before {
  left: 100%;
}

.indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator:hover {
  background-color: #b1b5bc;
  transform: scale(1.1);
}

.indicator.active {
  background-color: var(--main-color);
  transform: scale(1.2);
}

.indicator.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 1px solid var(--main-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* Адаптивность */
@media (max-width: 992px) {
  .testimonial {
    width: 280px;
  }

  .testimonial.prev {
    left: calc(50% - 280px);
  }

  .testimonial.next {
    left: calc(50% + 280px);
  }

  .testimonial.prev2,
  .testimonial.next2 {
    display: none;
  }
}

@media (max-width: 768px) {
  .testimonial {
    width: 260px;
    padding: 20px;
  }

  .testimonial.prev {
    left: calc(50% - 220px);
  }

  .testimonial.next {
    left: calc(50% + 220px);
  }

  .avatar-testimonial img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 576px) {
  .carousel-title {
    font-size: 1.6rem;
  }

  .testimonial.prev,
  .testimonial.next {
    display: none;
  }

  .testimonial.active {
    width: 85%;
    max-width: 320px;
  }

  .control-btn {
    width: 100px;
    height: 40px;
    font-size: 14px;
  }
}

/* Анимация автоматического переключения */
.auto-progress {
  height: 3px;
  width: 100%;
  max-width: 300px;
  background-color: #d1d5db;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}

.auto-progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--main-color);
  border-radius: 3px;
  transition: width linear;
}

/* Эффект наложения при перетаскивании */
.testimonial.dragging {
  cursor: grabbing;
  transition: none;
}

/* Кнопка паузы/воспроизведения */
.auto-play-toggle {
  background: none;
  border: none;
  color: var(--main-color);
  cursor: pointer;
  font-size: 16px;
  padding: 5px 10px;
  margin-left: 10px;
  transition: color 0.3s;
}

.auto-play-toggle:hover {
  color: var(--main-color-dark);
}

.play-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.story-section-content {
  display: flex;
  flex-direction: row;
}

.story-content {
  width: 60%;
}

.story-gallery {
  width: 40%;
}

.slider-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.main-image {
  flex: 2;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a3520;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.thumbnail-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.thumbnail:hover {
  opacity: 0.8;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.active-thumbnail {
  border: 2px solid #16a34a;
  transform: scale(1.05);
}

.controls {
  display: none;
  justify-content: center;
  margin-top: 15px;
  gap: 15px;
}

.control-btn {
  background-color: #16a34a;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.control-btn:hover {
  background-color: #138a3f;
}

/* Стили для отображения на мобильных устройствах */
@media (max-width: 600px) {
  .slider-container {
    flex-direction: column;
  }

  .main-image {
    height: 300px;
  }

  .thumbnail-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .thumbnail {
    width: calc(25% - 8px);
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 767px) {
  .section-content {
    width: 100%;
    padding: 2px 5px;
  }

  .ingredients-section-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    grid-gap: 0;
  }

  .ingredient {
    min-width: 100%;
    flex-shrink: 0;
    margin-right: 0;
    transform: none;
    transition: transform 0.5s ease;
  }

  .ingredient:hover {
    transform: none;
  }

  .ingredient-text {
    font-size: 18px;
  }

  .ingredients-slider-nav {
    display: flex;
  }

  .functionality-section-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .vertical-line {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    height: 10px;
    margin: 20px 0;
  }

  .functionality-block-1,
  .functionality-block-2,
  .functionality-block-3 {
    grid-column: 1;
    text-align: center;
    padding: 0 10px;
  }

  .usage-flex-block {
    flex-direction: column;
    gap: 10px;
  }

  .usage-block {
    margin: 10px 0;
  }

  .usage-block img {
    max-width: 100%;
  }

  .testimonials-section-content {
    flex-direction: column;
    max-width: 100%;
    gap: 10px;
  }

  .carousel-container {
    padding: 0;
  }

  .controls-container {
    margin-top: -10px;
  }

  .story-section-content {
    flex-direction: column;
  }

  .story-content,
  .story-gallery {
    width: 100%;
  }
}

.faq-section {
  background-color: var(--background-color);
}

.faq-container {
  max-width: 600px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background-color: var(--main-color);
  color: white;
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: var(--main-color-dark);
}

.faq-answer {
  background-color: white;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer-content {
  padding: 20px;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Достаточно большое значение для любого ответа */
}

.arrow {
  transition: transform 0.3s;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* Стили для отображения на мобильных устройствах */
@media (max-width: 600px) {
  .faq-container {
    width: 100%;
  }

  .faq-question {
    padding: 12px;
    font-size: 14px;
  }

  .faq-answer-content {
    padding: 15px;
    font-size: 14px;
  }
}

.footer {
  background-color: #000000;
  height: 100%;
  color: #f3f4f6;
  text-align: center;
  justify-content: center;
  padding: 20px 0 10px;
}

.footer h4 {
  font-size: 27px;
}

.footer p {
  font-size: 14px;
}

.priv {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  font-weight: bold;
}

.copyrighting {
  margin: 10px;
}

@media (max-width: 767px) {
  .priv {
    flex-direction: column;
  }
}

/* Навигация */
.main-nav {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(1, 31, 1, 0.61);
}

.nav-container {
  max-width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.logo {
  text-decoration: none;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
}

.logo img {
  height: 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-bottom: 0;
}

.nav-menu li {
  margin-bottom: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: var(--main-color-light);
}

.nav-cta {
  background-color: var(--main-color);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
}

.nav-cta:hover {
  background-color: var(--main-color-light);
}

/* Мобильное меню */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-container {
    max-width: 100%;
  }
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    color: #fff;
  }
}

.blur-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 90;
}

.order-form-popup {
  display: none;
  position: absolute;
  bottom: 20%;
  left: 0;
  right: 0;
  max-width: 400px;
  margin: 0 auto;
  margin-top: 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
  padding: 20px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-form h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}

.promo {
  text-align: center;

  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.order-price {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.order-old-price {
  color: #aaa;
  text-decoration: 2px line-through #d40909;
  font-size: 18px;
}

.order-new-price {
  color: var(--main-color-light);
  font-size: 20px;
  font-weight: 500;
}

.stock-counter {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.stock-icon {
  font-size: 20px;
  margin-right: 10px;
}

.stock-text {
  color: #e65100;
  font-size: 16px;
  font-weight: bold;
}

#stockAmount {
  color: #d32f2f;
}

/* Стиль для крестика закрытия */
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  line-height: 20px;
  transition: color 0.3s;
}

.close-button:hover {
  color: #333;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-buttons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.submit-button {
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  background-color: var(--main-color);
  color: white;
  width: 100%;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: var(--main-color-light);
}

/* Добавим позиционирование для кнопки */
.hero-left-content {
  position: relative;
}

.description,
.order-description {
  margin: 15px 0;
  font-size: 14px;
}

.order-description {
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .order-form-popup {
    margin: 0 5px;
    top: 40%;
    height: 75%;
  }
}

.certificates {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
}

.certificat {
  flex: 1;
}

.certificat img {
  width: 70px;

  margin: 0 auto;
}
.certificat p {
  font-size: 10px;
  text-align: center;
}
