/*
Theme Name: EatGo
Theme URI: http://example.com
Author: Ваше Имя
Author URI: http://example.com
Description: EatGo
Version: 1.0
*/

@font-face {
  font-family: "ComforterBrush";
  src: url("./fonts/Comforter/ComforterBrush-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* @font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy/Gilroy-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy/Gilroy-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
} */

/* 
font-family: 'ComforterBrush', sans-serif;
font-family: 'Gilroy', sans-serif;
Использование ExtraBold:
font-weight: 800; 
Использование Light:
font-weight: 300; 
 */

:root {
  --primary-green: #12a538;
  --hover-green: #caf5d5;
  --social-green: #0e842d;
  --input-white: #f3f3f3;
  --arrow-grey: #afafaf;
  --image-grey: #909090;
  --text: #585858;
  --headline: #343434;
  --icon-black: #1e1e1e;
  --error: #e01e1e;
}

* {
  box-sizing: border-box;
}
html {
  font: 18px "Gilroy", sans-serif;
  background: url(./image/bg/bg-sides.png);
scroll-behavior: smooth;
}
@media (min-width: 430px) {
  html {
    font-size: 20px;
  }
}
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}
@media (min-width: 1000px) {
  html {
    font-size: 18px;
  }
}
@media (min-width: 1230px) {
  html {
    font-size: 20px;
  }
}
body {
  font-family: "Gilroy", sans-serif;
  margin: 0;
  transition: filter 0.3s ease;
}
section {
  position: relative;
}

.container {
  max-width: 1680px;
  background-image: url(./image/320-mobile.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  padding: 20px 10px;
  overflow-x: hidden;
  margin: auto;
  min-height: 100vh;
}
@media (min-width: 430px) {
  .container {
    padding: 20px;
  }
}
@media (min-width: 768px) {
  .container {
    background-image: url(./image/1440-desktop.png);
    padding: 30px 40px;
  }
}
@media (min-width: 1000px) {
  .container {
    padding: 40px 90px;
  }
}
@media (min-width: 1230px) {
  .container {
    padding: 42px 120px;
  }
}
/* Typografi */
h1 {
  color: var(--headline);
  font-family: "ComforterBrush", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 89%;
  transform: rotate(-13deg);
  font-size: 4.3rem;
}
h2 {
  color: var(--headline);
  font-family: "ComforterBrush", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 95%;
  transform: rotate(-13deg);
  font-size: 2.7rem;
}
h3 {
  color: var(--headline);
  font-family: "ComforterBrush", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  font-size: 2.3rem;
}
.p1 {
  color: var(--text);
  font-family: "Gilroy", sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 120%;
  font-size: 1rem;
  text-decoration: none;
}
.darck-gray-text {
  color: var(--headline);
}
b {
  font-weight: 600;
}
@media (min-width: 430px) {
  h1 {
    font-size: 4.1rem;
  }
}
@media (min-width: 530px) {
  h1 {
    font-size: 5rem;
  }
}
@media (min-width: 768px) {
  h1 {
    font-size: 4.75rem;
  }
  h2 {
    font-size: 3.5rem;
  }
}
@media (min-width: 1000px) {
  h1 {
    font-size: 5.75rem;
  }
  h2 {
    font-size: 4rem;
  }
}
@media (min-width: 1230px) {
  h1 {
    font-size: 6.5rem;
  }
  h2 {
    font-size: 4.5rem;
  }
  h3 {
    font-size: 3rem;
  }
}

/* all */

.svg-icon {
  width: 30px;
  height: 30px;
}
.svg-icon path {
  fill: #343434;
  transition: fill 0.3;
}
.svg-icon path:hover {
  fill: #fff;
}

.make_order_button {
  border-radius: 300px;
  border: 1px solid var(--primary-green);
  background: var(--primary-green);
  color: #fff;
  font-weight: 500;
  padding: 13px 50px;
  font-size: 1.14rem;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  text-align: center;
  position: relative;
  font-family: "Gilroy", sans-serif;
}

.hero .make_order_button,
.catering .make_order_button,
.equipment-content .make_order_button {
  min-width: 278px;
}

.make_order_button:hover {
  background: var(--hover-green);
  color: var(--primary-green);
}

.make_order_button_with_arrow::after {
  background-image: url(./image/bg/arrows/arrow-hero.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  content: "";
  display: block;
  position: absolute;
  width: 600px;
  max-width: 38vw;
  height: 360px;
  left: 115%;
  bottom: 50%;
  pointer-events: none;
}

.make_order_block p {
  padding: 0 10px 15px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .make_order_button {
    font-size: 1rem;
    width: fit-content;
    padding: 14px 50px;
  }
  .make_order_block p {
    padding: 0 0 30px 0;
  }
}
@media (min-width: 1230px) {
  .make_order_button {
    padding: 19px 30px;
  }
}

/* header */
header {
  border-radius: 300px;
  background: #fff;
  box-shadow: 0px 6px 5px 0px rgba(124, 124, 124, 0.05);
  margin: auto;
  padding: 5px 16px 5px 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  z-index: 99;
}
.header-logo {
  width: 72px;
}
header .svg-icon path:hover {
  fill: var(--primary-green);
}
header .svg-icon {
  width: 20px;
}
.nav-desk {
  display: none;
}
.nav-mob {
  display: flex;
  gap: 15px;
  align-items: center;
}
.nav-mob img {
  width: 20px;
  height: 20px;
}
header .p1 {
  font-size: 1.4rem;
}
.rotate-title {
  max-width: 530px;
  margin: auto;
}
.rotate-title h2 {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  header {
    padding: 10px 20px;
  }
  .header-logo {
    width: 84px;
  }

  header .p1 {
    font-size: 1rem;
  }
  .rotate-title {
    max-width: none;
    margin: 0;
  }
}
@media (min-width: 1000px) {
  .nav-desk {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  .nav-desk a {
    font-size: 0.8rem;
  }
  .nav-desk a path:hover {
    fill: var(--primary-green);
  }
  .nav-desk .p1:hover {
    color: var(--primary-green);
  }
  .nav-mob {
    display: none;
  }
}
@media (min-width: 1230px) {
  .nav-desk {
    gap: 20px;
  }
  .nav-desk a {
    font-size: 0.9rem;
  }

  header {
    padding: 12px 20px;
  }
  .header-logo {
    width: 112px;
    margin-right: 20px;
  }
}
@media (min-width: 1440px) {
  .nav-desk {
    gap: 30px;
  }
  .nav-desk a {
    font-size: 1rem;
  }
}
/* menu */
#menu-icon {
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: none;
}

.side-menu {
  height: 100%;
  width: 270px;
  position: fixed;
  top: 0;
  right: -270px;
  background-color: white;
  overflow-x: hidden;
  transition: 0.3s;
  padding: 30px;
  z-index: 1000;
  border-radius: 20px 0px 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.side-menu .menu-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.side-menu .menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.side-menu .menu-list > a {
  font-size: 1.4rem;
  border-radius: 300px;
  padding: 0px 10px;
}
.side-menu .menu-list > a:hover {
  background: #f3f3f3;
}
.side-menu #close-menu {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

.side-menu .make_order_button {
  padding: 9px 25px;
}

/* Hero */
/* .hero {
  position: relative;
} */
.hero-content {
  max-width: 100%;
}
.hero-content .rotate-title {
  padding-top: 75%;
  padding-bottom: 22px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.hero-content .rotate-title h1:last-child {
  text-align: right;
  width: auto;
  padding-top: 10px;
}
.hero-content > p {
  padding: 0 10px;
}
.hero-content .make_order_block p {
  margin-top: 20px;
}
.hero-plate-img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.hero-plate-img img {
  transition: transform 1s ease;
  width: 100%;
  position: relative;
}

@media (min-width: 430px) {
  .hero-content .rotate-title {
    padding-top: 83%;
  }
  /* .hero-plate-img {
    margin-left: -20px;
    top: -13%;
  } */
}

@media (min-width: 768px) {
  /* .hero-plate-img {
    margin-left: -40px;
    top: -3%;
  }
  .hero-plate-img img {
    width: 60%;
    right: -57%;
  } */
  .hero-content {
    max-width: 65%;
  }
  .hero-content .rotate-title {
    padding: 30px 0 30px 10px;
  }
  .hero-content .rotate-title h1:last-child {
    padding-right: 23%;
    padding-top: 0;
  }
  .hero-content p {
    padding: 0;
    max-width: 75%;
  }
  .hero-content .make_order_block p {
    margin-top: 15px;
    margin-bottom: 30px;
  }
}
@media (min-width: 1000px) {
  .hero-content .rotate-title {
    padding: 60px 0 50px 55px;
  }
  /* .hero-plate-img {
    margin-left: -90px;
  } */
}
@media (min-width: 1230px) {
  /* .hero-plate-img {
    margin-left: -120px;
    top: -8%;
  }
  .hero-plate-img img {
    width: fit-content;
    right: -57%;
  } */
  .hero-content .rotate-title {
    padding: 78px 0 55px 45px;
  }
  .hero-content .rotate-title h1:last-child {
    padding-right: 11%;
  }
  .hero-content p {
    max-width: 64%;
  }
  .hero-content .make_order_block p {
    margin-top: 45px;
  }
}
/* Catering */
.catering {
  margin-top: 67px;
}
.catering .make_order_button {
    z-index: 1;
}
.catering .rotate-title h2:nth-child(2) {
  text-align: end;
}

.catering-content-mob {
  display: block;
  margin-top: 40px;
}
.catering-content-desk {
  display: none;
}
.catering-item {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  margin-bottom: 13px;
  gap: 15px;
}
.catering-content-mob .catering-item:nth-child(even) {
  flex-direction: row-reverse;
}
.catering-description {
  margin: 0 10px 25px;
}
.catering-item img {
  width: 120px;
  transition: transform 1s ease;
}
.catering-item div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catering-content-mob .make_order_block {
  margin-top: 30px;
}
@media (min-width: 430px) {
  .catering-item img {
    width: 150px;
  }
}
@media (min-width: 768px) {
  .catering {
    margin-top: 42px;
  }
  .catering-content-mob {
    display: none;
  }
  .catering-content-desk {
    display: flex;
    flex-direction: row;
    gap: 23px;
  }

  .catering-items-col1,
  .catering-items-col2 {
    width: 50%;
  }
  .catering .rotate-title {
    text-align: end;
    padding-top: 58px;
  }
  .catering .rotate-title h2:nth-child(1) {
    padding-right: 35%;
  }
  .catering-item {
    margin-bottom: 38px;
    gap: 24px;
    position: relative;
    z-index: 1;
  }
  .catering-item img {
    width: 37%;
  }
  .catering-item div {
    gap: 10px;
  }
  .catering-description {
    margin: 30px 0;
  }
}
@media (min-width: 1230px) {
  .catering-description {
    margin: 0 0 55px 39%;
  }
  .catering-item {
    margin-bottom: 60px;
    gap: 38px;
  }
  .catering-item div {
    gap: 15px;
  }
  .catering-content-desk {
    gap: 11px;
  }
}
/* equipment */
.equipment-photo-mob {
  display: block;
  border-radius: 10px;
  width: 100%;
  height: 200px;
  margin-top: 30px;
  position: relative;
}
.equipment .rotate-title {
  margin-top: 40px;
}
.equipment .rotate-title h2:nth-child(1) {
  width: 101%;
}
.equipment .rotate-title h2:nth-child(2) {
  text-align: end;
  padding-top: 5px;
}
.equipment-block {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  gap: 30px;
}

.equipment-block > div {
  width: 100%;
}
.equipment-content > p:first-child {
  padding: 0 10px;
}
.equipment-list {
  padding: 10px 10px 10px 15px;
}
.equipment-gallery {
  position: relative;
}

.equipment-gallery img:nth-child(2) {
  display: none;
}

.equipment-gallery img {
  object-fit: cover;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #909090;
}


@media (min-width: 768px) {
  .equipment-photo-mob {
    display: none;
  }
  .equipment .rotate-title {
    margin-top: 50px;
  }
  .equipment .rotate-title h2:nth-child(2) {
    text-align: center;
    padding-left: 10%;
    padding-top: 0;
  }
  .equipment-block {
    flex-direction: row;
    margin-top: 105px;
  }
  .equipment-block > div {
    width: 50%;
  }
  .equipment-content > p:first-child {
    padding: 0;
  }
  .equipment-list {
    padding: 30px 0 30px 10px;
  }
  .equipment-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 59% 39%;
    gap: 2%;
    height: 100%;
  }
  .equipment-gallery img {
    height: 100%;
    margin-bottom: 0;
  }
  .equipment-gallery img:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 2;
    display: block;
  }
  
  .equipment-gallery img:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / 3;
    display: block;
  }
  .equipment-gallery img:nth-child(3) {
    grid-column: 1;
    grid-row: 2 / 3;
    display: block;
  }

}

/* advantages */
.advantages .rotate-title {
  margin-top: 116px;
}
.advantages .rotate-title h2:nth-child(2) {
  text-align: end;
  margin-top: 5px;
}
.advantages-content {
  padding-top: 50px;
}
.advantages-left-block {
  position: relative;
}
.advantages-left-block p {
  padding-bottom: 30px;
}
.advantages-photo-block img,
.advantages-photo-block-mob img {
  object-fit: cover;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #909090;
  position: relative;
}
.advantages-photo-block img:nth-child(3),
.advantages-photo-block img:nth-child(4) {
  display: none;
}

.advantages-right-block {
  padding-top: 20px;
}
.advantages-right-block h3 {
  margin: 15px 0;
}
.advantages-photo-block-mob {
  padding-top: 30px;
}

@media (min-width: 768px) {
  .advantages-content {
    display: flex;
    padding-top: 50px;
    column-gap: 6%;
  }
  .advantages .rotate-title h2:nth-child(1) {
    text-align: center;
  }
  .advantages-right-block {
    padding-top: 0px;
  }
  .advantages-photo-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 35% 23% 38%;
    gap: 2%;
    height: 474px;
  }
  .advantages-photo-block img {
    height: 100%;
    margin-bottom: 0;
  }
  .advantages-photo-block img:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .advantages-photo-block img:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    display: block;
  }
  .advantages-photo-block img:nth-child(4) {
    grid-column: 2;
    grid-row: 2/4;
    display: block;
  }
  .advantages-photo-block-mob {
    display: none;
  }
  .advantages-right-block h3 {
    margin: 45px 0 15px;
  }
}

/* reviews */
.reviews {
  display: flex;
  flex-direction: column;
}

.reviews .rotate-title {
  text-align: start;
  margin-top: 75px;
  margin-bottom: 30px;
}
.reviews .rotate-title h2:nth-child(2) {
  text-align: end;
}

.reviews-slider-container {
  width: calc(100% + 10px);
  overflow-x: hidden;
  position: relative;
  margin: auto;
  margin-top: 15px;
}

.reviews-slider {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 390px;
  gap: 10px;
  transition: transform 0.5s ease-in-out;
}

.feedback-card {
  width: calc(100vw - 20px);
  height: fit-content;
  border-radius: 10px;
  border: 1px solid #909090;
  background: #fff;
  box-sizing: border-box;
  padding: 15px 10px;
}
.feedback-card .p1:first-child {
  padding-bottom: 10px;
}

.slider-arrow {
  text-align: center;
  margin-top: 15px;
  order: 2;
}
.arrow {
  border: none;
  background: none;
}
.arrow svg {
  width: 38px;
}
.arrow:hover path {
  fill: var(--primary-green);
}
.arrow:disabled path {
  cursor: not-allowed;
  fill: var(--arrow-grey);
}

@media (min-width: 768px) {
  .reviews .rotate-title {
    text-align: center;
    margin-top: 105px;
    margin-bottom: 0px;
  }
  .reviews .rotate-title h2:nth-child(2) {
    padding-right: 10%;
  }
  .reviews-slider-container {
    width: calc(100% + 120px);
    margin-top: 0;
  }
  .reviews-slider {
    max-height: 490px;
    gap: 20px;
  }
  .feedback-card {
    width: 470px;
    padding: 30px;
  }
  .slider-arrow {
    text-align: end;
    order: 0;
    /* padding-right: 120px; */
    margin-bottom: 40px;
    margin-top: 0;
  }
  .arrow svg {
    width: 60px;
  }
}

/* galery */
.galery .rotate-title {
  width: 102%;
  margin: 62px 0 40px;
}
.galery .rotate-title h2 {
  text-align: center;
}
.galery-slider-container {
  width: calc(100% + 10px);
  overflow-x: hidden;
  position: relative;
  margin: auto;
  margin-top: 10px;
  z-index: 2;
}
.galery-slider {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 435px;
  gap: 10px;
  transition: transform 0.5s ease-in-out;
}
.galery-slider img {
  object-fit: cover;
  height: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #909090;
}
/**/
.galery-slider,
.galery-slider img {
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}
/**/
.galery-navigation {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-green);
}
/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 95%;
}

.gallery-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.gallery-close:hover,
.gallery-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


@media (min-width: 768px) {
  .galery-slider-container {
    width: calc(100% + 120px);
    margin-top: 45px;
  }
  .galery-slider {
    gap: 20px;
  }
  .galery .rotate-title {
    width: 102%;
    margin: 120px 0 40px;
  }
  .galery .rotate-title h2 {
    text-align: start;
  }
  .galery > .p1 {
    width: 50%;
    margin-left: 50%;
  }
    .modal-content {
    max-height: 95%;
    width: auto;
  }
}

/* bigForm */
.bigForm {
  border-radius: 10px;
  border: 1px solid #909090;
  background: #fff;
  box-shadow: 0px 6px 5px 0px rgba(124, 124, 124, 0.05);
  padding: 30px 10px 25px;
  margin-top: 52px;
}
.bigForm > div:nth-child(1) {
  margin-bottom: 35px;
}
.bigForm h2:nth-child(2) {
  text-align: end;
}
.bigForm > div > div > .p1 {
  margin: 15px 0 10px;
  position: relative;
  z-index: 1;
}
.bigForm-contacts {
  display: flex;
  gap: 12px;
}
.bigForm-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bigForm-phone {
  display: flex;
  flex-direction: row;
  align-items: normal;
  /*gap: 8px;*/
}
.bigForm-phone div a {
  margin-bottom: 8px;
}
.bigForm-contacts a {
  display: flex;
  align-items: center;
  gap: 3px;
}

.order-form {
  display: flex;
  flex-direction: column;
}
.order-form input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 40px;
  font-size: 0.8rem;
  color: #1e1e1e;
}


.order-form .form-input {
  border-radius: 300px;
  border: 1px solid #343434;
  background: #f3f3f3;
  padding: 10px 15px;
  margin: 5px 0 14px;
  font-family: "Gilroy", sans-serif;
  width: 100%;
  font-size: 0.8rem;
}
.order-form .date-inputs .form-input:first-child {
  margin: 5px 0;
}

.order-form textarea {
  border-radius: 10px;
  font-family: "Gilroy", sans-serif;
  height: 100px;
  border: 1px solid #343434;
  background: #f3f3f3;
  padding: 10px 15px;
  margin: 5px 0 14px;
  width: 100%;
  resize: none;
  font-size: 0.8rem;
}
.order-form select {
  appearance: none; /* Убирает стандартный вид селекта */
  -webkit-appearance: none; /* Для Safari */
  -moz-appearance: none; /* Для Firefox */
  border-radius: 300px;
  border: 1px solid #343434;
  background: #f3f3f3
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOSIgdmlld0JveD0iMCAwIDE4IDE5IiBmaWxsPSJub25lIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE0LjY3ODMgNy44ODIzOEw5LjkwNTM1IDEyLjY1NTRDOS42MTI0NiAxMi45NDgyIDkuMTM3NTkgMTIuOTQ4MiA4Ljg0NDY5IDEyLjY1NTRMNC4wNzE3MiA3Ljg4MjM4QzMuNzc4ODMgNy41ODk0OSAzLjc3ODgzIDcuMTE0NjEgNC4wNzE3MiA2LjgyMTcyQzQuMzY0NjEgNi41Mjg4MyA0LjgzOTQ5IDYuNTI4ODMgNS4xMzIzOCA2LjgyMTcyTDkuMzc1MDIgMTEuMDY0NEwxMy42MTc3IDYuODIxNzJDMTMuOTEwNiA2LjUyODgzIDE0LjM4NTQgNi41Mjg4MyAxNC42NzgzIDYuODIxNzJDMTUuOTcxMiA3LjExNDYxIDE1Ljk3MTIgNy41ODk0OSAxNC42NzgzIDcuODgyMzhaIiBmaWxsPSIjMzQzNDM0Ii8+Cjwvc3ZnPgo=")
    no-repeat right 15px center !important; /* Своя стрелка */
  padding: 10px 15px;
  padding-right: 40px; /* Дополнительное пространство для стрелки */
  margin: 5px 0 14px;
  font-family: "Gilroy", sans-serif;
  width: 100%;
  font-size: 0.8rem;
  outline: none;
  background-size: 18px; /* Размер стрелки */
  color: #1e1e1e;
  /* -webkit-tap-highlight-color: transparent; */
}


/* Для ie и других старых браузеров */
select::-ms-expand {
  display: none;
}
/* .order-form input[type="date"]{
  width: 100% !important;
  border-radius: 300px;
  border: 1px solid #343434;
  background: #f3f3f3;
  padding: 10px 15px;
  margin: 5px 0 14px;
  font-family: "Gilroy", sans-serif;
  font-size: 0.8rem;
  outline: none;
  min-width: 100%;
} */

.date-inputs span {
  display: block;
  width: 100%;
}
.radio-inputs {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
input[type="radio" i] {
  width: 18px;
  height: 18px;
}

.consent-text {
  margin-top: 15px;
}
.order-form > p:last-child {
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  .bigForm {
    display: flex;
    gap: 5%;
    padding: 45px;
    margin-top: 152px;
  }
  .bigForm > div:first-child {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
  }
  .bigForm > div:last-child {
    width: 45%;
  }
  .bigForm .rotate-title {
    margin-top: 65px;
  }
  .bigForm-contacts {
    flex-direction: column;
    gap: 20px;
  }
  .bigForm-phone {
    width: fit-content;
  }
  .bigForm-contacts > div:nth-child(2) {
    gap: 20px;
  }
  .bigForm > div > div > .p1 {
    margin-top: 40px;
  }
  fieldset {
    width: 50%;
    display: flex;
    flex-direction: column;
  }
  fieldset legend {
    margin-bottom: 10px;
  }
  .radioBlock {
    display: flex;
  }
  .bigForm .make_order_button {
    width: 100%;
  }
  .radio-inputs {
    flex-direction: row;
  }

  .date-inputs p {
    display: flex;
    gap: 2%;
  }
  .date-inputs span {
    width: 49%;
  }
}

/* footer */
footer {
  text-align: center;
  margin: auto;
  margin-top: 60px;
}
footer .p1 {
  font-size: 0.7rem;
}

/* social-media */
.social-media {
  position: fixed;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  justify-content: center;
  bottom: 0px;
  margin-left: -10px;
  padding: 12px 0 16px;
  border-radius: 30px 30px 0px 0px;
  border-top: 1px #fff;
  border-right: 1px #fff;
  border-left: 1px #fff;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0px -2px 6px 0px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(1.5px);
  z-index: 2;
}
.social-media a {
  width: 40px;
  height: 40px;
  border-radius: 300px;
  border: 1px solid var(--social-green);
  background-color: var(--primary-green);
}
.social-media a svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 10px auto;
}
.social-media a:hover path {
  fill: #fff;
}
.social-media .up-button {
  border: none;
  background-color: inherit;
  width: 45px;
  height: 45px;
}
.social-media .up-button svg {
  width: 100%;
  height: 100%;
  margin: auto;
}
.social-media .up-button path {
  fill: var(--primary-green);
}
.social-media .up-button:hover svg path {
  fill: var(--icon-black);
}
.up-button.inactive {
  opacity: 0.5;
  pointer-events: none;
}
.up-button.inactive path {
  fill: var(--image-grey);
}

@media (min-width: 430px) {
  .social-media {
    margin-left: -20px;
  }
}
@media (min-width: 768px) {
  .social-media {
    right: 30px;
    flex-direction: column;
    gap: 12px;
    top: calc(50% - 108px);
    bottom: auto;
    background: none;
    border: none;
    width: fit-content;
    margin: 0;
    backdrop-filter: none;
    box-shadow: none;
  }
  .social-media a {
    width: 45px;
    height: 45px;
  }
  .social-media a svg {
    width: 25px;
    height: 25px;
  }
    .social-media .up-button {
    width: 50px;
    height: 50px;
  }
  .social-media .up-button {
    margin-top: 200%;
  }
}
@media (min-width: 1000px) {
  .social-media {
    right: 40px;
  }
}
@media (min-width: 1230px) {
  .social-media {
    right: 42px;
  }
}
/* backgrounds */

.hero-plate-img .hero-plate-box {
  position: relative;
  width: 125%;
  max-width: 494px;
  top: -107px;
  right: calc(-100px - 10%);
  float: right;
}

.hero-plate-img > .hero-plate-box::before {
  background-image: url(./image/bg/bg-image-group-mini.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  content: "";
  display: block;
  position: absolute;
  width: 54%;
  height: 100%;
  left: -14%;
  bottom: -3%;
}

.hero-plate-img::after {
  background-image: url(./image/bg/bg-image-tomato.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  display: block;
  position: absolute;
  width: 60%;
  left: -37%;
  height: 100%;
  transform: scaleY(-1) rotate(-104.682deg);
}

.hero .make_order_block::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 125%;
  height: 100%;
  left: -101%;
  top: 58%;
  transform: rotate(-14.7deg);
}

.equipment::before {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 79%;
  height: 50%;
  left: -49%;
  top: -9%;
  transform: scaleY(-1) rotate(-35deg);
}
.catering .make_order_block::before {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 72%;
  height: 50%;
  left: 66%;
  bottom: -27%;
  transform: rotate(137deg);
}
.equipment .rotate-title::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 121%;
  height: 30%;
  right: -89%;
  bottom: 48%;
  transform: rotate(-15deg);
}
.equipment-block::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 121%;
  height: 30%;
  left: -64%;
  bottom: -19%;
  transform: rotate(-15deg);
}
.equipment-gallery::before {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 111%;
  height: 50%;
  right: -62%;
  bottom: -34%;
  transform: scaleY(-1) rotate(-43deg);
}
.advantages-left-block::before {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 108%;
  height: 50%;
  right: -70%;
  bottom: -33%;
  transform: scaleY(-1) rotate(-43deg);
}
.advantages-photo-block-mob::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 121%;
  height: 30%;
  left: -28%;
  bottom: -10%;
  transform: rotate(-43deg);
}
.galery .rotate-title::before {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 108%;
  height: 50%;
  right: -87%;
  bottom: 67%;
  transform: scaleY(-1) rotate(-43deg);
}
.galery::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 156%;
  height: 49%;
  left: -92%;
  bottom: -4%;
  transform: scaleY(-1) rotate(133deg);
}
.reviews .rotate-title::before {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 108%;
  height: 50%;
  right: -77%;
  bottom: 62%;
  transform: scaleY(-1) rotate(-43deg);
}
.reviews::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 156%;
  height: 49%;
  left: -106%;
  bottom: -46%;
  transform: rotate(314deg);
}
.slider-arrow::before {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 108%;
  height: 50%;
  right: -59%;
  bottom: -26%;
  transform: rotate(128deg);
}
/* не могу его прилампичить нормально, он должен быть внизу под формой */
/* footer::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 156%;
  height: 49%;
  left: -106%;
  bottom: -46%;
  transform: rotate(314deg);
} */

.thank-you-container::before {
  background-image: url(./image/bg/bg-image-tomato-all.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 62%;
  height: 46%;
  left: -28%;
  top: -14%;
  transform: rotate(300deg);
}
.thank-you-container::after {
  background-image: url(./image/bg/bg-image-peper.png);
  mix-blend-mode: darken;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
  position: absolute;
  width: 34%;
  height: 25%;
  right: 0%;
  bottom: 8%;
  transform: rotate(101deg);
}

@media (min-width: 768px) {
  .equipment::before {
    width: 79%;
    height: 50%;
    left: 75%;
    top: -45%;
    transform: rotate(105deg);
  }
  .equipment .rotate-title::before {
    background-image: url(./image/bg/bg-image-right.png);
    width: 28%;
    height: 78%;
    right: -7%;
    bottom: 62%;
  }
  .catering .make_order_block::before {
    background-image: url(./image/bg/bg-image-tomato-all.png);
    width: 72%;
    height: 100%;
    left: -56%;
    top: 64%;
    transform: rotate(-37.5deg);
  }
  /* .hero-plate-img::before {
    background-image: url(./image/bg/bg-hero-sm.png);
    width: 31.25%;
    height: 100%;
    right: 20%;
    top: 35%;
    left: auto;
  }
  .hero-plate-img::after {
    transform: rotate(30.496deg);
    display: block;
    position: absolute;
    width: 41%;
    height: 100%;
    left: -15%;
    top: -34%;
  } */
  /* .container::before {
    background-image: url(./image/bg/arrow-hero.png);
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    width: 33%;
    height: 30%;
    right: 32%;
    top: 18%;
  } */

  .hero .make_order_block::before {
    width: 72%;
    height: 100%;
    left: -56%;
    top: 92%;
    transform: rotate(-37.5deg);
  }
  .equipment-block::before {
    width: 72%;
    height: 100%;
    left: -56%;
    top: 59%;
    transform: scaleY(-1) rotate(-210deg);
  }

  .equipment-gallery::before {
    background-image: url(./image/bg/bg-image-tomato-all.png);
    width: 151%;
    height: 142%;
    left: 70%;
    top: 117%;
    transform: scaleY(-1) rotate(-210deg);
  }
  .advantages-left-block::before {
    background-image: url(./image/bg/bg-image-tomato-all.png);
    width: 153%;
    height: 84%;
    left: -106%;
    top: 42%;
    transform: scaleY(-1) rotate(-225deg);
  }
  .galery .rotate-title::before {
    background-image: url(./image/bg/bg-image-right.png);
    width: 28%;
    height: 78%;
    right: -18%;
    bottom: 62%;
    transform: rotate(0deg);
  }
  .galery::before {
    background-image: url(./image/bg/peper.png);
    width: 74%;
    height: 158%;
    left: -34%;
    bottom: -119%;
    transform: rotate(0deg);
  }
  .make_order_button.catering-btn-arrow::after {
    background-image: url(./image/bg/arrows/arrow-cattering.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    content: "";
    display: block;
    position: absolute;
    width: min(63vw, 833px);
    height: 1000px;
    bottom: -30px;
    left: 14%;
    pointer-events: none;
  }
  .make_order_button.equipment-btn-arrow::after {
    background-image: url(./image/bg/arrows/arrow-equipment.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    content: "";
    display: block;
    position: absolute;
    width: 420px;
    height: 640px;
    left: 100%;
    bottom: -38px;
    pointer-events: none;
  }
  .galery .rotate-title::after {
    background-image: url(./image/bg/arrows/arrow-galeri.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    display: block;
    position: absolute;
    width: 34%;
    height: 11%;
    right: 53%;
    bottom: 67%;
  }
  .reviews .rotate-title::after {
    background-image: url(./image/bg/arrows/arrow-review.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    display: block;
    position: absolute;
    width: 52%;
    height: 12%;
    right: 3%;
    bottom: 64%;
  }
  .reviews::after {
    background-image: url(./image/bg/arrows/arrow-review-2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    display: block;
    position: absolute;
    width: 41%;
    height: 21%;
    right: 19%;
    bottom: -18%;
  }
  .bigForm > div:first-child::before {
    background-image: url(./image/bg/arrows/arrow-form.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    display: block;
    position: absolute;
    width: 47%;
    height: 42%;
    right: 48%;
    bottom: 13%;
  }
}

@media (min-width: 1000px) {
  .make_order_button_with_arrow::before {
    width: 33%;
    right: 30%;
    top: 25%;
  }
  .make_order_button.catering-btn-arrow::after {
    left: 2%;
    width: min(58vw, 733px);
  }
}
@media (min-width: 1230px) {
  /* .hero-plate-img::after {
    left: -18%;
    top: -24%;
  } */
  .make_order_button_with_arrow::before {
    width: 39%;
    right: 32%;
    top: 27%;
  }
  .make_order_button.catering-btn-arrow::after {
    left: 4%;
    width: min(59vw, 894px);
  }
  .catering-content-desk::before {
    background-image: url(./image/bg/bg-image-tomato.png);
    mix-blend-mode: darken;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    display: block;
    position: absolute;
    width: 41%;
    height: 100%;
    right: -21%;
    top: 9%;
    transform: rotate(30.84deg);
  }
}

@media (min-width: 1441px) {
  .catering-content-desk::before {
    right: -27%;
  }
  .equipment-block::before {
    top: 42%;
  }
  .equipment-gallery::before {
    top: 105%;
  }
}

/* popup */
.popup-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 60px 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  width: 90%;
}

.popup-form h2:last-child {
  text-align: end;
}
.popup-form .rotate-title {
  margin-bottom: 20px;
}
.popup-form form {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}
.popup-form .form-input {
  border-radius: 300px;
  border: 1px solid #343434;
  background: #f3f3f3;
  padding: 10px 15px;
  margin: 5px 0 5px;
  font-family: "Gilroy", sans-serif;
  width: 100%;
  font-size: 0.8rem;
}
.popup-form .p1:last-child {
  font-size: 0.8rem;
}

#close-form {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
@media (min-width: 768px) {
  .popup-form {
    padding: 60px 45px 40px;
    z-index: 999;
    display: none;
    width: 590px;
    max-width: 80%;
  }
  .popup-form h2 {
    font-size: 3rem;
  }
  .popup-form .make_order_button {
    width: 100%;
  }
}

/* thank-you-page */
.thank-cont {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.thank-cont header {
  margin: 0 auto;
}
.thank-cont footer {
  margin: 20px auto 106px;
}
.thank-you-container .rotate-title {
  max-width: 65%;
  margin: auto;
  margin-top: 10%;
}
.thank-you-container .rotate-title h2:last-child {
  text-align: end;
}
.thank-you-container .p1 {
  text-align: center;
  margin-top: 10%;
}
.thank-you-container a {
  margin: auto;
  display: block;
  margin-top: 50px;
}
@media (min-width: 768px) {
  .thank-you-container .rotate-title {
    max-width: 40%;
  }
  .thank-cont footer {
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .hero-plate-img .hero-plate-box {
    position: relative;
    width: 60%;
    max-width: 864px;
    top: -100px;
    right: -17%;
    float: right;
  }

  .hero-plate-img > .hero-plate-box::before {
    background-image: url(./image/bg/bg-image-group-mini.png);
    mix-blend-mode: darken;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    content: "";
    display: block;
    position: absolute;
    width: 54%;
    height: 100%;
    left: -14%;
    bottom: -3%;
  }
  .hero-plate-img::after {
    background-image: url(./image/bg/bg-image-tomato.png);
    mix-blend-mode: darken;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    display: block;
    position: absolute;
    width: 34.55%;
    height: 100%;
    transform: scaleY(-1) rotate(-104.682deg);
  }

  .hero-plate-img > .hero-plate-box::before {
    background-image: url(./image/bg/before-plate.png);
  }
  .hero-plate-img::after {
    background-image: url(./image/bg/bg-image-hero-left.png);
    transform: none;
    left: 0;
  }
}

.image-container {
  overflow: hidden;
  position: relative;
}

.image-container img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
