:root {
  --black: #141414;
  --green: #a1c487;
  --light-green: #eaf7e5;
  --dotted: #a2c4877e;
  --orange: #fc8a11;
  --beige: #faf3e7;
  --gray: #f3f3f3;
  --white: #ffffff;
}

body {
  background-color: var(--primary-white-color);
  color: var(--primary-text-color);
  --font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.03em;
}
.no-scroll {
  overflow: hidden;
}
html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  margin-bottom: 0;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0); /* старые браузеры */
  clip-path: inset(50%); /* современные браузеры */
  white-space: nowrap; /* запрет переноса */
  border: 0;
}

.link {
  text-decoration: none;
}

.container {
  width: 100%;
  /* padding-left: 15px;
  padding-right: 15px; */
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 375px) {
  .container {
    max-width: 375px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media screen and (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* //////////////// HEADER////////// */

@media screen and (max-width: 767px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
    height: 50px;
    @media screen and (min-width: 768px) {
      display: flex;
    }
  }
  .menu-container {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh-50px);
    background-color: var(--green);
    padding: 48px 40px;
    overflow-y: scroll;
    z-index: 2;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
}

.menu-container {
  @media screen and (min-width: 768px) {
    display: flex;
    justify-content: space-between;
  }

  @media screen and (min-width: 1280px) {
  }
}
.menu-container.is-open {
  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;

    height: 100vh;

    padding: 48px 40px;
    overflow-y: scroll;
    z-index: 2;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.menu_button-close[aria-expanded="false"] {
  display: none;
}
.menu-container {
  @media screen and (min-width: 767px) {
    display: flex;
    justify-content: space-between;
  }
}

.menu_button-open {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0);

  @media screen and (min-width: 768px) {
    display: none;
  }
}
.menu_button-open:hover,
.menu_button-open:focus {
  transform: scale(1.2);
}
.menu_button-close:hover,
.menu_button-close:focus {
  transform: scale(1.2);
}
.menu_button-open[aria-expanded="true"] {
  display: none;
}
.menu_button-close {
  border: none;
  background-color: transparent;

  @media screen and (min-width: 768px) {
    display: none;
  }
}
.menu_button-close[aria-expanded="false"] {
  display: none;
}

.site-nav_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 124px;
}
.site-nav_link {
  color: var(--white);

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  letter-spacing: -0.04em;
  text-align: center;
  color: #fff;
}

.site-nav_list {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 129%;
  letter-spacing: -0.04em;
  text-align: center;
}
.site-nav_link {
  color: var(--black);
  @media (max-width: 768px) {
    color: var(--white);
  }
}

.logo {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.28571;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
  @media screen and (min-width: 768px) {
    display: none;
  }
}

.logo-tablet {
  display: none;
  @media screen and (min-width: 768px) {
    display: flex;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    line-height: 1.28571;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: center;
    color: var(--black);
  }
}

.button-order {
  all: unset;

  background: transparent;
  cursor: pointer;
  width: 20px;
  height: 20px;

border: 0.5px solid var(--black);
border-radius: 50%;
  padding: 3px;
  margin: 0;
  line-height: 1;
  /* margin-right: 12px; */
  margin-top: 10px;

  @media screen and (max-width: 768px) {
    z-index: 4;
    border-color: var(--white);
  }
  
}

.button-order > svg {
  @media screen and (max-width: 768px) {
    fill: var(--white);
  }
}

@media screen and (min-width: 768px) {
  .header-container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .site-nav_list {
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* /////////////////////////////.  HERO /////////////////////////// */
.container-hero {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  @media screen and (min-width: 1280px) {
    display: flex;
    flex-direction: row;
    padding-top: 185px;
    gap: 27px;
  }
}

.section-hero {
  background-color: var(--green);
}

.user-list {
  display: flex;
  padding-top: 48px;
  max-width: fit-content;
  /* margin-left: 20px; */
  @media screen and (min-width: 1280px) {
    padding: 0;
  }
}
.user-list_item:first-child > img {
  border: 2px solid #fff;
  box-sizing: border-box;
}
.user-list_photo {
  width: 44px;
  height: 44px;
  border-radius: 100%;

  @media screen and (min-width: 768px) {
    width: 54px;
    height: 54px;
  }
  @media screen and (min-width: 1280px) {
    width: 70px;
    height: 70px;
  }
}
.user-list_item:not(:first-child) {
  margin-left: -16px;
}

.user-list_item:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-color: var(--white);
  border-radius: 100%;
  width: 44px;
  height: 44px;
  font-size: 8px;
  letter-spacing: -0.04em;
  text-align: center;

  @media screen and (min-width: 768px) {
    width: 55px;
    height: 55px;
    font-size: 10px;
  }
  @media screen and (min-width: 1280px) {
    width: 70px;
    height: 70px;
    font-size: 12px;
  }
}
/* .user-list_item:last-child > span {
    margin-left: -16px;
} */
.start-user-list__item_number {
  letter-spacing: -0.04em;
  font-size: 14px;
      line-height: 0;
      margin-bottom: 7px;
      margin-top: 10px;
  @media screen and (min-width: 768px) {
    font-size: 18px;
  }
  @media screen and (min-width: 1280px) {
    font-size: 24px;
  }
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 40px;
  /* line-height: 44px; */
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;

  max-width: 335px;
  height: auto;
  /* height: 132px; */
  margin-bottom: 14px;
  @media screen and (min-width: 768px) {
    font-size: 54px;

    /* line-height: 64px; */
    line-height: 1.18519;
    max-width: 656px;
  }
  @media screen and (min-width: 1280px) {
    min-width: 672px;
    font-size: 64px;

    /* line-height: 75px; */
    line-height: 1.17188;
  }
}
.hero-title_accent {
  font-style: italic;
  color: var(--light-green);
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 20px;
  @media screen and (min-width: 768px) {
    max-width: 490px;
    margin-bottom: 32px;
  }
}

.hero-btn {
  width: 68px;
  height: 68px;
  border: none;
  border-radius: 100%;
  /* fill: var(--beige); */
  background-color: var(--beige);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;

  /* line-height: 16px; */
  line-height: 1.14286;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--orange);
  text-shadow: 0 4px 70px 0 rgba(0, 0, 0, 0.1);
  transform: rotate(-14deg);
  margin-bottom: 8px;
  @media screen and (min-width: 768px) {
    margin-bottom: 4px;
    width: 114px;
    height: 114px;

    font-size: 24px;

    /* line-height: 24px; */
    line-height: 1;
  }
}
.hero-btn:hover,
.hero-btn:focus {
  background-color: var(--light-green);
  color: var(--green);

}

.hero-btn:hover,
.hero-btn:focus {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.hero-img {
  width: 100%;
  max-width: 303px;
  height: auto;
  /* height: 236px; */
  clip-path: inset(2px);
  margin-bottom: 8px;
  @media screen and (min-width: 768px) {
    max-width: 488px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
  @media screen and (min-width: 1280px) {
    /* image 1 */
    max-width: 517px;
    margin-bottom: 50px;
  }
}

.hero-list {
  display: grid;

  grid-template-columns: auto auto;
  gap: 4px;
  justify-content: end;
  margin-bottom: 20px;
  @media screen and (min-width: 1280px) {
    margin-bottom: 32px;
  }
}

.hero-list_item {
  border: 1px solid #fff;
  border-radius: 1000px;
  padding: 8px 14px;
  width: fit-content;
  height: 28px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 10px;

  /* line-height: 12px; */
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  text-shadow: 0 4px 70px 0 rgba(0, 0, 0, 0.1);
}
.hero-list_item:last-child {
  transform: translateX(-8px);
}

.hero-list_item:hover,
.hero-list_item:focus {
  color: var(--black);
  background-color: var(--white);
}
.hero-right {
  display: flex;
  flex-direction: column;
}

/*    ////////////////////////How it works/////////////////// */

.container-how {
  /* padding-top: 80px;
  padding-right: 80px;
  padding-left: 20px;
  padding-right: 20px; */
  padding: 80px 20px;
}
.how-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 28px;

  /* line-height: 32px; */
  line-height: 1.14286;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}

.how-img {
  width: 100%;
  max-width: 335px;
  margin-bottom: 20px;
}

.how-text-one,
.how-text-two {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: var(--black);
}
.how-text-one {
  margin-bottom: 20px;
}
.how-text-two {
  margin-bottom: 80px;
}

.how-steps {
  border-radius: 40px;
  background: var(--beige);
  background-image: radial-gradient(var(--dotted) 2.5px, transparent 1px);
  background-size: 40px 40px;
  padding: 40px 20px 0;
  line-height: 0;
}
.how-steps__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;

  /* line-height: 28px; */
  line-height: 1.16667;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 40px;
}

.how-steps__list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-bottom: 21px;
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.how-steps__item {
  counter-increment: step;
  position: relative;
  padding-left: 54px;
  padding-right: 65px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: var(--black);
}

.how-steps__item::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  /* margin-right: 14px; */
  width: 40px;
  height: 40px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--green);
  color: var(--black);
  font-weight: 400;
  font-size: 18px;
}

.how-steps__img {
  width: 100%;
  max-width: 258px;
  height: auto;
}

@media screen and (min-width: 768px) {
  .how-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: space-between;
  }
  .how-title {
    flex-basis: 386px;

    order: 1;
    color: rgba(20, 20, 20, 1);

    font-family: var(--font-family);
    font-weight: 500;
    font-size: 40px;

    /* line-height: 44px; */
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--black);
    /* margin-right: 8px; */
    margin-bottom: 40px;
  }

  .how-img {
    /* flex-basis:  310px;; */
    max-width: 310px;
    /* img vegetables */

    height: 176px;
    order: 2;
    /* display: flex;
    justify-content: flex-end; */
    margin-bottom: 40px;
  }

  .how-text-one,
  .how-text-two {
    flex-basis: 317px;
    /* flex-basis: 50%; */
    order: 3;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;

    /* line-height: 24px; */
    line-height: 1.33333;
    letter-spacing: -0.04em;
    color: var(--black);
    margin-bottom: 100px;
  }

  .how-steps {
    display: flex;
  }
  .how-steps__img {
    /* img girl */

    order: 1;
    width: auto;
    max-width: 350px;
    flex: 0 0 auto;
    padding-top: 40px;
  }
  .how-steps-rigth {
    order: 2;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .how-steps__title {
    font-size: 28px;

    /* line-height: 32px; */
    line-height: 1.14286;
    text-shadow: 0 4px 70px 0 rgba(0, 0, 0, 0.1);
    padding-right: 40px;
  }
  .how-steps__list {
    padding-right: 39px;
  }
}

@media screen and (min-width: 1280px) {
  .container-how {
    padding: 124px 65px 160px;
  }
  .how-top {
    display: grid;
    grid-template-columns: 580px 1fr;
    column-gap: 82px;
    row-gap: 32px;
    align-items: start;
  }
  .how-title {
    font-size: 48px;
    line-height: 1.08333;
    margin-bottom: 0;
  }
  .how-img {
    grid-column: 2;
    grid-row: 1 / span 3;
    max-width: 492px;
    height: 392px;
    margin-bottom: 0;
    margin-left: auto;
    border-radius: 160px;
    object-fit: cover;
  }
  .how-text-one,
  .how-text-two {
    font-size: 18px;
    line-height: 1.44444;
    max-width: 520px;
    margin-bottom: 0;
  }
  .how-steps {
    margin-top: 80px;
    padding: 80px 64px;
    gap: 64px;
    align-items: center;
  }
  .how-steps__img {
    max-width: 492px;
    padding-top: 0;
  }
  .how-steps-rigth {
    padding: 0;
    max-width: 510px;
  }
  .how-steps__title {
    font-size: 32px;
    line-height: 1.125;
    margin-bottom: 32px;
    padding-right: 0;
  }
  .how-steps__list {
    gap: 32px;
    padding-right: 0;
  }
  .how-steps__item {
    font-size: 18px;
    line-height: 1.44444;
    padding-right: 0;
  }
  .how-steps__item::before {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
}

/* ////////////////////////////Advertisement//////////////////////// */

.marquee {
  overflow: hidden;
  font-family: "Neue Montreal", sans-serif;
  font-weight: 500;
  font-size: 24px;

  /* line-height: 28px; */
  line-height: 1.16667;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
  background-color: var(--orange);
  transform: rotate(-4deg);
  @media screen and (min-width: 768px) {
    font-size: 28px;

    /* line-height: 32px; */
    line-height: 1.14286;

    transform: rotate(2deg);
  }
  @media screen and (min-width: 1280px) {
    transform: rotate(3deg);
    font-size: 40px;

    /* line-height: 48px; */
    line-height: 1.2;
  }
}
.marquee:last-child {
  background-color: var(--green);
  transform: rotate(7deg);
  @media screen and (min-width: 768px) {
    transform: rotate(-4deg);
  }
  @media screen and (min-width: 1280px) {
    transform: rotate(-2deg);
  }
}
.marquee__inner {
  display: flex;
}

.marquee__line {
  flex-shrink: 0;
  margin: 0;
  padding: 10px 15px;
  min-width: 100%;
  white-space: nowrap;
  animation-name: marqueeLine;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes marqueeLine {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.gallery-list {
  display: grid;
  flex-direction: column;
  gap: 20px;
  @media screen and (min-width: 768px) {
    grid-template-columns: 342px 342px;
  }
  @media screen and (min-width: 1280px) {
    grid-template-columns: 389px 389px 389px;
  }
}
/* ////////////////////////////Product Card//////////////////////// */
.container-vegatables {
  padding: 80px 20px 0px;
  @media screen and (min-width: 768px) {
    padding: 100px 32px 0px;
  }

  @media screen and (min-width: 1280px) {
    padding-top: 124px;
  }
}

.vegateles-title {
  font-weight: 500;
  font-size: 24px;

  /* line-height: 28px; */
  line-height: 1.16667;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
  margin-bottom: 14px;
}
.vegateles-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--black);
  margin-bottom: 40px;
  @media screen and (min-width: 768px) {
    margin-left: 71px;
    font-size: 18px;

    /* line-height: 24px; */
    line-height: 1.33333;

    width: 562px;
    height: 72px;
  }

  @media screen and (min-width: 1280px) {
    margin-left: 327px;
    width: 562px;
    height: 72px;
  }
}
.product-card {
  background-color: var(--light-green);
  border-radius: 20px;
  padding: 40px 20px 20px;
  /* min-height: 280px; */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* .product-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
} */

.product-card__title {
  font-family: var(--font-family);
  font-weight: 700;
  /* width: 70px;
height: 28px; */
  line-height: 1.16667;
  letter-spacing: -0.04em;
  color: var(--black);
  margin: 0;
  text-transform: capitalize;
  margin-bottom: 8px;
}

.product-card__category {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 40px;
  text-transform: capitalize;
}

.product-card__price {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--black);
  margin: 0;
  margin-top: auto;
}

.product-card__image {
  width: 100%;
  /* height: 100%;  */
  max-width: 292px;
  height: 223px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  margin: 0;
  margin-bottom: 48px;

  @media screen and (min-width: 768px) {
    max-width: 300px;
    /* height: 245px;
   */
  }
  @media screen and (min-width: 1280px) {
    max-width: 321px;
    height: 261px;
  }
}
.vegetales-gallery {
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .product-card {
    min-height: 320px;
    padding: 64px 24px 24px;
    border-radius: 24px;
  }

  .product-card__title {
    font-size: 28px;

    /* line-height: 32px; */
    line-height: 1.14286;
  }

  .product-card__category {
    font-size: 18px;

    /* line-height: 24px; */
    line-height: 1.33333;
  }

  .product-card__price {
    font-size: 18px;

    /* line-height: 24px; */
    line-height: 1.33333;
  }
  .vegetales-gallery {
    margin-bottom: 40px;
  }
}

@media screen and (min-width: 1280px) {
  .product-card {
    min-height: 465px;
    /* padding: 28px; */
    border-radius: 28px;
  }

  .product-card__title {
    font-size: 48px;
  }

  .product-card__category {
    font-size: 20px;
  }

  .product-card__price {
    font-size: 20px;
  }
  .vegetales-gallery {
    margin-bottom: 44px;
  }
}

.vegetables-btn {
  width: 80px;
  height: 80px;
  margin-left: 127px;
  /* margin-right: auto; */
  border-radius: 100%;
  border: none;
  background-color: var(--orange);
  fill: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -4%;
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 70px 0 rgba(0, 0, 0, 0.1);
  transform: rotate(-14deg);

  @media screen and (min-width: 768px) {
    width: 114px;
    height: 114px;
    font-size: 18px;

    /* line-height: 24px; */
    line-height: 1.33333;
    margin-left: 295px;
  }

  @media screen and (min-width: 1280px) {
    margin-left: 550px;
  }
}

.vegetables-btn:hover,
.vegetables-btn:focus {
  background-color: var(--green);
}

/* /////////DELIVERY/////////// */
.container-delivery {
  padding: 80px 20px;

  @media screen and (min-width: 1280px) {
    padding: 100px 32px;
  }
}
.delivery-block {
  border-radius: 40px;
  background: var(--beige);
  background-image: radial-gradient(var(--dotted) 2.5px, transparent 1px);
  background-size: 40px 40px;
  padding: 80px 20px;
  line-height: 0;
  @media screen and (min-width: 768px) {
    border-radius: 80px;
    padding: 40px 80px;
  }

  @media screen and (min-width: 1280px) {
    display: flex;
    align-items: center;
    gap: 130px;
    padding: 44px 64px;
  }
}

.delivery-img {
  width: 100%;
  max-width: 295px;
  height: auto;
  margin-bottom: 40px;
  @media screen and (min-width: 768px) {
    max-width: 544px;
  }

  @media screen and (min-width: 1280px) {
  }
}
.delivery-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;

  /* line-height: 28px; */
  line-height: 1.16667;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
  @media screen and (min-width: 768px) {
    font-size: 28px;
    line-height: 1.14286;
    width: 544px;
  }

  @media screen and (min-width: 1280px) {
    font-size: 40px;
    width: 437px;
    text-align: left;
    margin-right: 0;

    /* line-height: 44px; */
    line-height: 1.1;
  }
}

.accent-green {
  font-style: italic;
  color: var(--green);
}
.accent-orange {
  font-style: italic;
  color: var(--orange);
}

/*///////////// callack /////*/

.container-callback {
  padding: 0 20px 80px;
  @media screen and (min-width: 768px) {
    padding: 0 32px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  @media screen and (min-width: 1280px) {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 77px;
  }
}

.callback-left {
  @media screen and (min-width: 768px) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  @media screen and (min-width: 1280px) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
.callback-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;

  /* line-height: 28px; */
  line-height: 1.16667;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
  margin-bottom: 20px;
  @media screen and (min-width: 768px) {
    font-size: 40px;

    /* line-height: 44px; */
    line-height: 1.1;
    width: 524px;
    letter-spacing: 0;
  }

  @media screen and (min-width: 1280px) {
    text-align: left;
    margin-bottom: 40px;
    font-size: 48px;

    /* line-height: 50px; */
    line-height: 1.04167;
  }
}

.callback-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--black);
  margin-bottom: 40px;
  @media screen and (min-width: 768px) {
    font-size: 18px;

    /* line-height: 24px; */
    line-height: 1.33333;
    width: 499px;
  }

  @media screen and (min-width: 1280px) {
    margin-bottom: 80px;
    text-align: left;
  }
}
.callback-img_wrapper {
  border-radius: 40px;
  background: var(--light-green);
  background-image: radial-gradient(var(--dotted) 2.5px, transparent 1px);
  background-size: 40px 40px;
  padding-top: 31px;
  line-height: 0;
  text-align: center;
  @media screen and (min-width: 768px) {
    width: 704px;
    padding-top: 17px;
  }

  @media screen and (min-width: 1280px) {
    width: 525px;
    padding-top: 37px;
  }
}
.callback-img {
  width: 100%;
  height: auto;
  max-width: 335px;

  @media screen and (min-width: 768px) {
    max-width: 629px;
  }

  @media screen and (min-width: 1280px) {
    max-width: 525px;
  }
}

.callback-phone_form {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 40px;
  overflow: hidden;
  background: var(--white);

  border-radius: 100px;
  max-width: 335px;
  height: 48px;
  @media screen and (min-width: 768px) {
    max-width: 350px;
  }

  @media screen and (min-width: 1280px) {
  }
}

.callback-phone_input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: 16px;
  border-radius: 40px 0 0 40px;
  width: 100%;
}
.callback-phone_input::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: #c1bdbd;
}

.callback-recall_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--orange);
  border: none;
  color: var(--white);

  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  cursor: pointer;
  border-radius: 100px;
  padding: 15px 35px;
  width: 100%;
  max-width: 105px;
  height: 48px;
}

.callback-recall_btn:hover {
  background: #e68900;
}

/************************* FOOTER ************************/
.footer {
  background-color: var(--light-green);
}

.footer-container {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  @media screen and (min-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
    padding: 80px 32px;
  }

  @media screen and (min-width: 1280px) {
  }
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* @media screen and (min-width: 768px) {
   display: flex;
   flex-direction: column;
   align-items: center;
  
  } */

  @media screen and (min-width: 1280px) {
    flex-direction: row;
    gap: 166px;
  }
}
.footer-desktop-position {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-img {
  width: 100%;
  max-width: 335px;
  margin-bottom: 20px;
  @media screen and (min-width: 768px) {
    max-width: 349px;
  }

  @media screen and (min-width: 1280px) {
  }
}
.footer .logo {
  margin-bottom: 40px;
  @media screen and (min-width: 1280px) {
    margin-bottom: 0;
  }
}

.footer-site-nav_list {
  display: flex;
  gap: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--black);
  margin-bottom: 40px;
}
.footer-site-nav_link {
  color: var(--black);
}

.footer-right {
  @media screen and (min-width: 768px) {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  @media screen and (min-width: 1280px) {
  }
}
.footer-media_list {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.media-link {
  width: 44px;
  height: 44px;
}
.footer-tel {
  margin-bottom: 20px;
}
.footer-tel a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
}
.footer-location {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--black);
  @media screen and (min-width: 768px) {
    text-align: start;
  }

  @media screen and (min-width: 1280px) {
  }
}

/**************** modal ***************/

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 93px 15px;
  overflow-y: scroll;

  background-color: rgba(0, 0, 0, 0.2);
  transition-property: opacity, visibility;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.backdrop.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
/* body.modal-open {
  overflow: hidden; 
} */

/* .modal-container {
      position: absolute;
   
    background-color: var(--white);
    border-radius: 20px;
    max-width: 335px;
    width: 90%;
    height: 90vh;
    overflow-y: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
   position: relative;
 
  overflow: hidden;
  @media screen and (min-width: 768px) {
  max-width: 704px;
  }

  @media screen and (min-width: 1280px) {
  
  }


} */
.modal {
  position: absolute;
  padding: 20px;
  background-color: var(--white);
  border-radius: 20px;
  max-width: 335px;
  width: 100%;
  height: 90vh;
  overflow-y: auto;
  top: 50%;
  left: 50%;
transform: translate(-50%, -50%) scaleX(1);
 transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  @media screen and (min-width: 768px) {
    padding: 40px;
    position: absolute;

    max-width: 704px;
    
  }
  @media screen and (min-width: 1280px) {
  max-width: 891px;
  }


}
.backdrop.is-hidden .modal {
  transform: translate(-50%, -50%) scaleX(0.1);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.modal-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 28px;

  /* line-height: 28px; */
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  text-shadow: 0 4px 70px 0 rgba(0, 0, 0, 0.1);

@media screen and (min-width: 768px) {
  font-size: 40px;

/* line-height: 44px; */ 
line-height: 1.1;
  }

  
 
}
.modal__close-button {
  border: none;
  background-color: transparent;
}
.modal__cross {
  width: 28px;
  height: 28px;

}

.modal-list {
  margin: 0;
  padding: 0;
  @media screen and (min-width: 768px) {
    display: grid;
    grid-template-columns: 200px 200px 200px;
    gap: 12px;
    margin-bottom: 40px;
  }

  @media screen and (min-width: 1280px) {
    grid-template-columns: 257px 257px 257px;
  }
}
.modal-product_card {
  background: #f7f2e9;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 295px;
  position: relative;
  @media screen and (min-width: 768px) {
    flex-direction: column;
    /* Rectangle */
    max-width: 200px;
    height: 250px;
    padding: 40px 20px;
  }

  @media screen and (min-width: 1280px) {
    max-width: 257px;
height: 308px;
  }
}

.modal-product_img {
  background-size: cover;
  width: 94px;
  height: 78px;
  @media screen and (min-width: 768px) {
    width: 172px;
    height: 142px;
  }

  @media screen and (min-width: 1280px) {
    width: 217px;
height: 200px;
  }
}

/* Text */
.modal-product_title {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;

  /* line-height: 24px; */
  line-height: 1.33333;
  letter-spacing: -0.04em;
  color: var(--black);

@media screen and (min-width: 1280px) {
   font-size: 24px;

/* line-height: 28px; */ 
line-height: 1.16667;
margin-bottom: 8px;
  }
 
}

.modal-product_category {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.02em;
  color: var(--black);
}

.modal-form_container {
  position: relative;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-img {
  @media screen and (max-width: 768px) {
    display: none;
  }
  z-index: 6;
  position: absolute;
  bottom: -40px;
  right: -174px;
  width: 444px;
  height: 413px;
  @media screen and (min-width: 1280px) {
  right: -40px;
  }
}

.modal-form input {
  border: 1px solid rgba(20, 20, 20, 0.3);
  border-radius: 100px;
  width: 100%;
  max-width: 295px;
  height: 46px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: rgba(0, 0, 0, 0.5);
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 24px;
  @media screen and (min-width: 768px) {
    max-width: 360px;
  }

  @media screen and (min-width: 1280px) {
    height: 48px;
  }
}
.modal-form input::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: rgba(20, 20, 20, 0.5);
  padding-top: 14px;
  padding-bottom: 14px;
  /* padding-left: 24px; */
}

.modal-form textarea {
  box-sizing: border-box;
  border: 1px solid rgba(20, 20, 20, 0.3);
  border-radius: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  width: 100%;
  max-width: 295px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  color: rgba(0, 0, 0, 0.5);
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 24px;
  height: 132px;
  @media screen and (min-width: 768px) {
    max-width: 360px;
  }

  @media screen and (min-width: 1280px) {
  }
}

.modal-form_btn {
  border-radius: 100px;
  padding: 12px 24px;
  width: 92px;
  height: 42px;
  background-color: var(--orange);
  margin-top: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;

  /* line-height: 18px; */
  line-height: 1.28571;
  letter-spacing: -0.04em;
  text-transform: capitalize;
  color: #fff;
  border: none;
  @media screen and (min-width: 768px) {
    width: 114px;
    height: 48px;
    padding: 15px 35px;
  }

  @media screen and (min-width: 1280px) {
   
  }
}

.custom-checkbox input {
  display: none;
}
.custom-checkbox .checkmark {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: transparent;
  border: 1.5px solid var(--green);
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  position: absolute;
  /* top: 14px; */
  right: 5px;
  cursor: pointer;
  @media screen and (min-width: 768px) {
    top: 14px;
  }

  @media screen and (min-width: 1280px) {
    width: 20px;
    height: 20px;
  }
}

/* Стилі для стану checked */
.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--green);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  @media screen and (min-width: 1280px) {
    width: 8px;
    height: 13px;
    left: 5px;
  }
}
