@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Thin.eot');
  src: local('Roboto Thin'), local('Roboto-Thin'),
  url('../fonts/roboto/Roboto-Thin.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-Thin.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-Thin.woff') format('woff'),
  url('../fonts/roboto/Roboto-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-ThinItalic.eot');
  src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'),
  url('../fonts/roboto/Roboto-ThinItalic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-ThinItalic.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-ThinItalic.woff') format('woff'),
  url('../fonts/roboto/Roboto-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

/* Roboto Light (300) */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Light.eot');
  src: local('Roboto Light'), local('Roboto-Light'),
  url('../fonts/roboto/Roboto-Light.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-Light.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-Light.woff') format('woff'),
  url('../fonts/roboto/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-LightItalic.eot');
  src: local('Roboto Light Italic'), local('Roboto-LightItalic'),
  url('../fonts/roboto/Roboto-LightItalic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-LightItalic.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-LightItalic.woff') format('woff'),
  url('../fonts/roboto/Roboto-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

/* Roboto Regular (400) */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Regular.eot');
  src: local('Roboto'), local('Roboto-Regular'),
  url('Roboto-Regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-Regular.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-Regular.woff') format('woff'),
  url('../fonts/roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Italic.eot');
  src: local('Roboto Italic'), local('Roboto-Italic'),
  url('../fonts/roboto/Roboto-Italic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-Italic.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-Italic.woff') format('woff'),
  url('../fonts/roboto/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* Roboto Medium (500) */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Medium.eot');
  src: local('Roboto Medium'), local('Roboto-Medium'),
  url('../fonts/roboto/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-Medium.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-Medium.woff') format('woff'),
  url('../fonts/roboto/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-MediumItalic.eot');
  src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'),
  url('../fonts/roboto/Roboto-MediumItalic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-MediumItalic.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-MediumItalic.woff') format('woff'),
  url('../fonts/roboto/Roboto-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

/* Roboto Bold (700) */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Bold.eot');
  src: local('Roboto Bold'), local('Roboto-Bold'),
  url('Roboto-Bold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-Bold.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-Bold.woff') format('woff'),
  url('../fonts/roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-BoldItalic.eot');
  src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
  url('../fonts/roboto/Roboto-BoldItalic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-BoldItalic.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-BoldItalic.woff') format('woff'),
  url('../fonts/roboto/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

/* Roboto Black (900) */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Black.eot');
  src: local('Roboto Black'), local('Roboto-Black'),
  url('../fonts/roboto/Roboto-Black.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-Black.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-Black.woff') format('woff'),
  url('../fonts/roboto/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-BlackItalic.eot');
  src: local('Roboto Black Italic'), local('Roboto-BlackItalic'),
  url('../fonts/roboto/Roboto-BlackItalic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/roboto/Roboto-BlackItalic.woff2') format('woff2'),
  url('../fonts/roboto/Roboto-BlackItalic.woff') format('woff'),
  url('../fonts/roboto/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

ul {
  list-style: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  font-family: Roboto, Arial, sans-serif;
}

.lock {
  overflow: hidden;
}

.container {
  background-color: #fff;
  max-width: 1240px;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  margin: 0 auto;
  border-left: 2px solid #c5c5c5;
  border-right: 2px solid #c5c5c5;
}

.main-wrapper {
  background-image: url("../images/bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.logo {
  display: block;
  max-width: 584px;
  width: 100%;
}

.header-contact {
  display: flex;
  flex-direction: column;
}

.header-contact__tel {
  font-weight: bold;
  color: #000;
  font-size: 38px;
  opacity: .25;
  text-shadow: #000 1px 0 10px;
}

.header-contact__text {
  font-size: 19px;
  opacity: .25;
}

.header__wrapper {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 30px;
  border-bottom: 20px solid #64C22B;
}

.main-section .container{
  padding-top: 25px;
}

.main-section__email {
  color: #64C22B;
  text-decoration: underline;
  font-size: 30px;
  text-align: right;
  display: block;
}

.title {
  font-size: 45px;
  color: #64C22B;
  margin-bottom: 40px;
}

.main-section__content {
  padding: 46px 63px;
  position: relative;
  background-color: #e8e8e8;
  margin-bottom: 50px;
}

.main-section__content::after {
  background-image: url("../images/cow.png");
  display: block;
  content: '';
  position: absolute;
  height: 671px;
  width: 361px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.main-section__item {
  position: relative;
  padding-left: 45px;
}

.list__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 15px;
  height: 15px;
  background-color: #F4B142;
  border-radius: 50%;
}

.list__icon::before {
  left: -18px;
  background-color: #F4B142;
  position: absolute;
  content: '';
  display: block;
  height: 4px;
  width: 15px;
  border-radius: 7px;
  top: 50%;
  transform: translateY(-50%);
}

.main-section__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 740px;
  margin-bottom: 55px;
}

.product__card {
  display: flex;
  gap: 30px;
}

.product__img-wrapper {
  background-color: #fff;
  display: flex;
  min-height: 250px;
  max-width: 250px;
  width: 100%;
  border-radius: 15px;
  -webkit-box-shadow: 0px 0px 8px 3px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 0px 0px 8px 3px rgba(34, 60, 80, 0.2);
  box-shadow: 0px 0px 8px 3px rgba(34, 60, 80, 0.2);
  justify-content: center;
}

.main-section .product__img-wrapper {
  min-height: 250px;
  max-width: 500px;
}

.main-section .product__card {
  gap: 67px;
}

.product__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
}

.product__volume {
  display: flex;
  flex-direction: column;
  color: #555555;
}

.product__btn {
  font-weight: bold;
  width: min-content;
  padding: 10px 84px;
  display: block;
  text-transform: uppercase;
  background-color: #fff;
  color: #64C22B;
  border: 1px solid #64C22B;
  border-radius: 7px;
  cursor: pointer;
}

.product__btn:hover {
  background-color: #64C22B;
  color: #ffffff;
}

.product__img-wrapper img {
  display: block;
  width: 100%;
  max-width: 170px;
}

.product__title {
  display: flex;
  flex-direction: column;
  font-size: 20px;
}

.product__title-second {
  color: #64C22B;
}

.line {
  width: 100%;
  height: 2px; /* Высота линии */
  background: linear-gradient(to right, rgba(0, 0, 0, 0), #64c22b, rgba(0, 0, 0, 0)); /* Градиент */
  border-radius: 5px; /* Закругление краев */
  display: block;
}

.order-section .container {
  padding-top: 50px;
}

.products {
  display: grid;
  gap: 40px 20px;
  grid-template-columns: 1fr 1fr;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #F5F5F5;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.orderForm::after {
  background-image: url(../images/cow.png);
  display: block;
  content: '';
  position: absolute;
  height: 530px;
  width: 249px;
  top: 55%;
  right: -44px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.products {
  margin-bottom: 50px;
}

.preorder-section .container {
  padding-top: 50px;
  padding-bottom: 50px;
}

.preorder-section__title {
  color: #64C22B;
  text-align: center;
  font-size: 36px;
  font-weight: normal;
  margin-bottom: 50px;
}

.preorder__btn {
  border-color: #F4B142;
  color: #F4B142;
}

.preorder__btn:hover {
  background-color: #F4B142;
  color: #ffffff;
}

.footer .container {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 3px solid #64C22B;
  display: flex;
  justify-content: space-between;
}

.footer__mail {
  font-weight: bold;
  color: #000;
  font-size: 38px;
  opacity: .25;
}

.orderForm {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 30px;
  max-height: 100vh;
  padding-bottom: 15px;
}

.orderForm input,
.orderForm textarea{
  padding: 12px;
  border: 1px solid #64C22B;
  border-radius: 10px;
}

.modal-success {
  display: none;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.modal-success img {
  max-width: 50px;
}

.form-group {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  color: #818181;
}

.orderForm .form-group {
  max-width: 285px;
}

.orderForm .title {
  text-align: left;
  font-size: 35px;
  margin-bottom: 20px;
}

@media screen and (max-width: 1024px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .header-contact__tel,
  .footer__mail {
    font-size: 30px;
  }

  .header-contact__text {
    font-size: 14px;
  }

  .logo {
    max-width: 350px;
  }

  .main-section .product__card {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .products {
    gap: 20px;
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .header__wrapper {
    padding-top: 20px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-contact__tel {
    font-size: 29px;
  }

  .logo {
    max-width: 300px;
  }

  .header__wrapper {
    flex-direction: column;
    padding-bottom: 20px;
  }

  .title,
  .preorder-section__title {
    font-size: 30px;
  }

  .main-section__email {
    font-size: 26px;
  }

  .main-section__content {
    padding: 20px;
  }

  .main-section__content::after {
    display: none;
  }

  .main-section .product__img-wrapper img:nth-child(2) {
    display: none;
  }

  .orderForm {
    overflow-y: scroll;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 550px) {
  .product__card {
    flex-direction: column;
    text-align: center;
  }

  .product__img-wrapper,
  .product__btn {
    margin: 0 auto;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .orderForm::after {
    display: none;
  }

  .orderForm {
    max-height: 700px;
  }
}