#main {
  padding: 160px 40px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;

  min-height: 100vh;
}
.main-img-box {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto;

  /* width: 32vw; */
  width: 34%;
}
.main-img {
  position: absolute;
  top: -8%;
  right: -8%;

  /* width: 26vw; */
  width: 80%;
}
.main-bg {
  width: 100%;
}
.title-box {
  text-transform: uppercase;
}
.title {
  color: var(--accent-color);
  font-size: 72px;
  font-family: JuraBold, sans-serif;
}
.subtitle {
  font-size: 36px;
  font-weight: normal;
}
#video-box {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* max-height: 100vh; */
}
video {
  width: 100%;
}


#products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 54px;
  padding: 50px 0 50px;
}
.products-item {
  max-width: 45%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-radius: 54px;
  padding: 0 0 0 40px;
  background-color: #fff;
  box-shadow: 0px 1px 5px 1px var(--box-shadow);
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}
.products-item:hover {
  box-shadow: 0px 1px 5px 2px #d4d4d4;
}
.products-item p {
  position: absolute;
  left: 40px;
  width: 50%;
  font-size: 32px;
  font-family: TTCommonsBold, sans-serif;
  /* text-transform: uppercase; */
}
.products-item img {
  grid-area: 1/2;
  width: 100%;
}

#technology {
  padding: 150px 40px 90px;
  overflow: hidden;
}
.technology-top-block {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0 156px;
}
.technology-top-block p {
  max-width: 380px;
  font-size: 20px;
}
.technology-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.technology-device {
  width: 100%;
}
.technology-box-item {
  max-width: 650px;
  justify-self: flex-end;
}
.technology-box-title {
  margin-bottom: 16px;
}
.technology-box-descr {
  font-size: 28px;
  margin-bottom: 24px;
}

#advantages {
  padding: 150px 40px 94px;
}
.advantages-content {
  max-width: 1400px;
  margin: 54px auto 0;
}
.advantages-title-box {
  max-width: 550px;
  text-align: center;
  margin: 0 auto 76px;
}
.advantages-title {
  font-size: 34px;
  margin-bottom: 20px;
}
.advantages-subtitle {
  font-size: 24px;
  font-family: TTCommonsBold, sans-serif;
  color: var(--accent-color);
}
.advantages-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
}
.advantage-item {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  max-width: 250px;
}
.advantage-item-title {
  font-size: 24px;
  font-family: TTCommonsBold, sans-serif;
}
.advantage-item-subtitle {
  font-size: 16px;
}

#sticks {
  padding: 80px 0;
  /* margin: 0 40px 90px; */
  margin: 0 40px;
  border-radius: 100px;
  background: url(/assets/img/main/sticks-bg.png) no-repeat bottom right,
    radial-gradient(
      circle at bottom right,
      #0060de,
      #98bce7a8 30%,
      transparent 60%
    );
}
.sticks-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  margin: 16px 0;
}
.sticks-txt {
  font-size: 28px;
  max-width: 648px;
}
.sticks-txt p {
  margin: 16px 0 32px;
}
.sticks-img {
  max-width: 45%;
}
.sticks-img img {
   width: 100%;
}
#buy {
  position: relative;
  padding-top: 120px;
}
#buy .block-title {
  font-family: TTCommons, sans-serif;
  text-transform: uppercase;
  font-size: 36px;
  margin-bottom: 16px;
}
#map {
  width: 100%;
  height: 800px;
}
.shop-select {
  position: absolute;
  z-index: 1;
  top: 184px;
  left: 40px;
  background-color: var(--main-bg-color);
  border-radius: 54px;
  padding: 40px;
  width: 36%;
}
#byList, #suggestions {
  max-height: 300px;
  overflow-y: scroll;
  scrollbar-width: none;
}
/* .availableProducts {
  position: absolute;
  width: 100%;
  border-radius: 54px;
  padding: 40px;
  background-color: var(--main-bg-color);
  top: 0;
  left: 0;
} */
.btn-back {
  width: 60px;
  height: 60px;
  margin: 16px 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 1px 5px 0px var(--box-shadow);
  background: #fff url(/assets/img/back.svg) no-repeat center;
  background-size: 50%;
  transition: all 0.3s;
}
.btn-back:hover {
  transform: scale(1.1);
}
.shop-name {
  font-size: 20px;
  font-weight: bold;
}
.shop-address,
.open-hours {
  font-size: 20px;
}
.open-hours {
  margin-bottom: 40px;
}
.avail-title {
  padding: 16px 0 12px;
  font-size: 24px;
  font-weight: bold;
  border-top: 1px solid #e1e1e1;
}
.avail-prod-box {
  display: flex;
  gap: 40px;
}
.avail-prod-img-box {
  padding: 0 10px;
  border: 1px solid #e1e1e1;
  border-radius: 28px;
  margin-bottom: 10px;
  overflow: hidden;
}
.avail-product-item img {
  width: 100%;
}
.avail-prod-name {
  text-transform: uppercase;
  font-size: 16px;
  text-align: center;
}
.tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 26px;
}
.tabs button {
  font-family: TTCommonsBold, sans-serif;
  font-size: 24px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.tabs .active {
  color: var(--accent-light);
}
.companyStores {
  padding: 10px 24px;
}

#search {
  display: block;
  padding: 24px 28px;
  font-size: 20px;
  outline: none;
  background-color: #fff;
  border: 1px solid var(--text-color);
  border-radius: 24px;
  width: 100%;
  margin-bottom: 40px;
}
.suggestion-item {
  cursor: pointer;
  font-size: 20px;
}
.suggestion-item:not(:last-child) {
  margin-bottom: 36px;
}

.list-item {
  cursor: pointer;
  font-size: 20px;
}
.list-item:hover {
  text-decoration: underline;
}
.list-item:not(:last-child) {
  margin-bottom: 36px;
}
.avail-product-item {
  max-width: 200px;
}

#contacts {
  padding-top: 100px;
}
.contacts-wrap {
  padding: 85px 0;
  /* margin: 0 40px 90px; */
  margin: 4.5vw 40px;
  background: url(/assets/img/main/contacts-bg.png) no-repeat bottom / contain,
    radial-gradient(
      circle at bottom right,
      #0060de,
      #98bce7a8 30%,
      transparent 60%
    );
  border-radius: 100px;
}
.contacts-content {
  /* max-width: 650px;
  margin: 26px 0 300px 220px; */

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

  margin-left: 12%;
  margin-bottom: 12%;
  margin-top: 2%;
}
.contacts-content-left {
  max-width: 650px;
}
.contacts-content p {
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--text-muted);
}
.phone, .email {
  font-size: 32px;
  display: block;
  margin-bottom: 1rem;
}

@media (max-width: 911px) {
  #main {
    padding: 110px 10px 64px 0;
    min-height: 100vh;
    position: relative;
  }
  .title-box {
    max-width: 90%;
    margin: 0 auto;
  }
  .title {
    /* font-size: 40px; */
    font-size: 10vw;
    color: var(--text-color);
  }
  .subtitle {
    /* font-size: 24px; */
    font-size: 6vw;
  }
  .main-img-box {
    justify-content: flex-end;
    align-items: center;
    /* padding: 52px 0; */
    padding: 0;
    width: 100%;
  }
  .main-img {
    width: 90%;
    /* height: fit-content; */
    height: auto;
    position: unset;
  }
  .main-bg {
    width: 132%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: -36%;
  }
  #video-box {
    /* height: auto; */
  }
  video {
    /* width: auto; */
  }
  #products {
    padding: 56px 16px 0;
    flex-direction: column;
  }
  .products-item {
    border-radius: 30px;
    max-width: 100%;
  }
  .products-item p {
    left: 20px;
    font-size: 4.6vw;
  }
  .products-item img {
    width: 45vw;
  }

  #technology {
    /* padding: 96px 5px 0; */
    padding: 7.6vw 2.5vw 0;
  }
  .technology-top-block {
    flex-direction: column;
    margin-bottom: 48px;
  }
  .technology-top-block p {
    font-size: 16px;
  }
  .technology-content {
    grid-template-columns: 1fr;
    margin: 24px 5px 0;
    row-gap: 40px;
  }
  .technology-box-item {
    max-width: 100%;
    justify-self: center;
  }
  .technology-box-title {
    font-size: 7.6vw;
    margin-bottom: 2.54vw;
  }
  .technology-box-descr {
    font-size: 4.6vw;
    color: var(--text-muted);
  }
  .btn-more {
    width: 100%;
    text-align: center;
  }

  #advantages {
    padding: 7.6vw 2.5vw 0;
  }
  #advantages .block-title {
    text-align: center;
  }
  .advantages-title-box {
    margin: 0 auto 42px;
  }
  .advantages-title {
    font-size: 5.5vw;
  }
  .advantages-subtitle {
    font-size: 5.5vw;;
  }
  .advantage-item {
    gap: 12px;
    max-width: 100%;
    width: 100%;
  }
  .advantage-item-title {
    font-size: 6.1vw;
  }
  .advantage-item-subtitle {
    font-size: 4vw;
  }

  #sticks {
    padding: 80px 5px 36px;
    margin: 0 5px;
    border-radius: 52px;
    background: url(/assets/img/main/sticks-bg-mob.png) no-repeat bottom left, radial-gradient(circle at bottom left, #0060de, #98bce7a8 30%, transparent 55%);
    background-size: contain;
  }
  .sticks-content {
    margin: 24px 5px 0;
    flex-direction: column;
  }
  .sticks-img {
    max-width: 100%;
  }
  .sticks-txt {
    font-size: 4.6vw;
    max-width: 100%;
    color: var(--text-muted);
  }
  .sticks-txt p {
    margin: 9px 0 40px;
  }
  #buy {
    padding-top: 7.6vw;
    display: flex;
    flex-direction: column-reverse;
  }
  #buy .block-title {
    font-size: 5vw;
  }
  #byList, #suggestions {
    max-height: 45vw;
  }
  #map {
    height: 600px;
  }
  .shop-select {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    padding: 10px 5px;
  }
  .tabs button {
    font-size: 4.6vw;
  }
  .btn-white.companyStores {
    font-size: 20px;
    border-radius: 20px;
  }
  #search {
    padding: 10px 30px;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .suggestion-item:not(:last-child) {
    margin-bottom: 16px;
  }
  .suggestion-item, .list-item {
    font-size: 16px;
  }
  .btn-back {
    width: 50px;
    height: 50px;
  }
  .avail-prod-name {
    font-size: 3vw;
  }

  #contacts {
    margin-bottom: 10vw;
  }
  .contacts-wrap {
    margin: 0 5px;
    padding: 20px 5px 36px;
    border-radius: 52px;
    background: url(/assets/img/main/sticks-bg-mob.png) no-repeat bottom left / contain, radial-gradient(circle at bottom left, #0060de, #98bce7a8 30%, transparent 55%);
  }
  .contacts-content {
    margin: 28px 0 0;
    flex-direction: column;
    min-height: 50vh;
    justify-content: space-between;

  }
  .contacts-content-right img {
    width: 100%;
  }
  .contacts-content p {
    font-size: 4.6vw;
    margin-top: 16px;
    margin-bottom: 24px;
  }
  .phone, .email {
    font-size: 6.1vw;
  }
}

@media (min-width: 912px) and (max-width: 1300px) {
  #main {
    min-height: 100vh;
    justify-content: space-around;
  }
  .main-img-box {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 50vw;
    padding: 0;
  }
  .main-img {
    position: absolute;
    top: -8%;
    right: 0;
    width: 80%;

    /* width: 26vw; */
  }
  .main-bg {
    position: unset;
    width: 100%;

  }
  .title {
    font-size: 54px;
  }
  .subtitle {
    font-size: 38px;
  }
  .products-item {
    font-size: 32px;
  }
  .products-item p {
    font-size: 20px;
  }
  #technology,
  #advantages {
    padding: 150px 40px 80px;
  }
  #sticks {
    padding: 80px 40px;
    margin: 0;
    background-size: contain;
  }
  .sticks-txt {
    max-width: 45%;
    font-size: 1.8vw;
  }
  
  #buy {
    display: flex;
    flex-direction: column-reverse;
  }
  .shop-select {
    position: unset;
    width: 100%;
    border-radius: 0;
    padding: 10px 40px;
  }
  #search {
    max-width: 350px;
  }
  .contacts-wrap {
    padding: 20px 40px 80px;
    margin: 4.5vw 0 0;
  }
  .contacts-content-left {
    max-width: 50%;
  }
  .contacts-content-right {
    max-width: 50%;
  }
  .contacts-content-right img {
    width: 100%;
  }
  .contacts-content p {
    font-size: 1.8vw;
  }
  .phone, .email {
    font-size: 24px;
  }
}

@media (min-width: 2561px) {
  #main {
    min-height: auto;
  }
}