#main {
  padding: 194px 40px 150px;
  display: flex;
  align-items: center;
}
.main-content {
  width: 100%;
  padding: 80px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 0;
  height: 746px;
  background: url(/assets/img/device/banner.png) no-repeat center;
  background-size: cover;
  border-radius: 90px;
}
.title-box {
  color: var(--white-text);
  position: relative;
  z-index: 2;
  max-width: 540px;
}
.title {
  font-weight: normal;
  font-size: 36px;
}
.subtitle {
  font-family: Jura, sans-serif;
  text-transform: uppercase;
  font-size: 72px;
  margin-bottom: 76px;
  font-weight: normal;
}
.subtitle span {
  font-family: JuraBold, sans-serif;
}
.play-video-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 12px 20px 12px 16px;
}
.play-video-box:hover {
  cursor: pointer;
}
.play-video-box:hover .play-btn {
  transform: scale(1.1);
}
.play-btn {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  flex-shrink: 0;
}
.play-txt {
  color: #fff;
  font-size: 30px;
  font-weight: normal;
}
#videoPlayer {
  display: none;
}

#about {
  padding: 128px 40px 90px;
  overflow: hidden;
}
.about-top-block {
  display: flex;
  gap: 3%;
  margin-bottom: 156px;
}
.technology-box-item p {
  max-width: 380px;
  font-size: 20px;
}
.technology-box-item {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}
.technology-content {
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr) 0.3fr;
}
.technology-content.reverse {
  margin-top: 100px;
}
.pure-technology-block {
  grid-area: 1 / 1 / 2 / 2;
  max-width: 700px;
}
.pure-technology-block p {
  margin-top: 10px;
  font-size: 28px;
}
.technology-bottom-block {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  grid-area: 2 / 1 / 3 / 2;
  align-self: flex-end;
  max-width: 700px;
  padding: 6px 30px 16px 40px;
  background-color: #fff;
  border-radius: 60px;
}
.technology-bottom-block img {
  max-width: 34%;
}
.technology-img-box {
  grid-area: 1 / 2 / 3 / 3;
  display: grid;
  justify-items: center;
  position: relative;
}
.btn-more.tech {
  grid-area: 3 / 2 / 4 / 3;
}
.technology-bg {
  position: absolute;
  z-index: -1;
  top: -16%;
  right: -10%;
  width: 120%;
}
.reverse .pure-technology-block {
  grid-area: 1 / 2 / 2 / 3;
}
.reverse .technology-img-box {
  grid-area: 1 / 1 / 3 / 2;
  background: url(/assets/img/device/device-bg.png) no-repeat center;
  background-size: 80%;
}
.reverse .technology-device {
  width: 100%;
}
.reverse .technology-bottom-block {
  grid-area: 2 / 2 / 3 / 3;
}

#advantages {
  padding: 110px 40px 94px;
}
.advantages-content {
  margin-top: 54px;
  display: grid;
  justify-items: center;
}
.advantages-title-box {
  max-width: 550px;
  text-align: center;
  margin-bottom: 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;
}

#complect {
  padding: 80px 0 150px;
  /* height: 100vh; */
}
.complect-title {
  padding-left: 40px;
}
.complect-content {
  margin-top: 80px;
  background-image: url(/assets/img/device/complect-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  align-items: center;
}
.complect-txt {
  font-size: 28px;
  display: grid;
  gap: 16px;
}

#select-device {
  padding: 80px 40px;
  /* margin-bottom: 240px; */
  margin-bottom: 100px;
}
.palette-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  height: 100%;
  margin-top: 32px;
}
.device-container {
  position: relative;
  width: 50%;
  /* height: 40vw; */
  height: 800px;
}
.device-box {
  width: 45%;
  background: url(/assets/img/device/blue-bg.png) no-repeat center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-image 0.5s ease;
}
#deviceImage {
  width: 100%;
}



.sticks-container {
  width: 50%;
}
.sticks-bg-images, .sticks-images {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.sticks-bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.sticks-bg-image.active, .sticks-image.active {
  opacity: 1;
}

.sticks-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}



.colors-title {
  font-size: 34px;
  max-width: 650px;
  margin-bottom: 20px;
}
.colors-subtitle {
  font-size: 20px;
  max-width: 440px;
  margin-bottom: 24px;
}
.selected-color {
  font-size: 14px;
  margin-bottom: 10px;
}
.choose-color-box {
  background-color: #fff;
  box-shadow: 0px 1px 5px 1px var(--box-shadow);
  border-radius: 24px;
  padding: 10px;
  display: flex;
  gap: 10px;
  max-width: fit-content;
}
.color-option,
.sticks-color-option {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.1s;
}
.color-option.active,
.sticks-color-option.active {
  width: 68px;
  border-radius: 22px;
}

#select-flavors {
  max-width: 1400px;
  border-radius: 80px;
  /* background: #000 url(/assets/img/sticks/blue-bg.png) no-repeat bottom left;
  background-size: 55%; */
  background: #000;
  overflow: hidden;
  padding: 96px 24px;
  margin: 0 auto;
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
  gap: 158px;
  margin-bottom: 130px;
  /* transition: background-image 0.5s ease; */

  position: relative;
}
.sticks-box {
  max-width: 45%;
}
#sticksImage {
  width: 100%;
}
.sticks-colors-box {
  color: var(--white-text);
  display: grid;
  justify-items: start;
}
.sticks-title {
  font-size: 32px;
  font-family: TTCommonsBold, sans-serif;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sticks-subtitle {
  font-size: 20px;
  max-width: 380px;
  margin-bottom: 6px;
}
.sticks-choose-color-box {
  background-color: #292929;
  box-shadow: 0px 1px 5px 1px #8c8c8c6b;
  margin-bottom: 40px;
}

#instruction {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  gap: 55px;
  max-width: 1400px;
  margin: 0 auto;
  max-height: 0;
  overflow: hidden;
  /* transition: all 1s ease; */
}
#instruction.opened {
  max-height: 100%;
  padding: 100px 0 10px;
}
.step-box {
  padding: 40px 0 0 40px;
  border: 1px solid #e1e1e1;
  border-radius: 50px;
  display: grid;
  font-family: JuraBold, sans-serif;
  overflow: hidden;
}
.step-box:hover {
  box-shadow: inset 0px 0px 3px 1px #d4d4d4;
}
.step-box:last-child {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 40px 20px 40px 40px;
}
.step-box:last-child .step-title {
  margin-bottom: 0;
  text-transform: none;
}
.step-title {
  text-transform: uppercase;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}
.step-descr {
  font-size: 24px;
  font-weight: bold;
  max-width: 96%;
}
.step-box img {
  justify-self: flex-end;
}
.step-box:not(:last-child) img {
  align-self: flex-end;
}

@media (max-width: 911px) {
  #main {
    padding: 110px 5px 32px;
  }
  .main-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 5vw 7.1vw;
    min-height: 84vh;
    height: 100%;
    border-radius: 12.2vw;
    gap: 2vw;
    background: url(/assets/img/device/banner-mob.png) no-repeat center;
    background-size: cover;
  }
  .title-box {
    max-width: 100%;
    margin-bottom: 5vw;
  }
  .title {
    font-size: 6.1vw;
    margin-bottom: 2vw;
  }
  .subtitle {
    font-size: 10.2vw;
    margin-bottom: 8.6vw;
  }
  .btn-white.where-buy {
    font-size: 4vw;
    padding: 4vw 19vw;
  }
  .play-video-box {
    padding: 1.5vw 2vw;
    max-width: 75%;
  }
  .play-btn {
    width: 11.8vw;
    height: 11.8vw;
  }
  .play-btn img {
    width: 3.56vw;
  }
  .play-txt {
    font-size: 4vw;
  }

  #about {
    padding: 20vw 1.27vw 0;
  }
  .about-top-block {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
  .technology-top-block p {
    font-size: 16px;
  }
  .technology-box-item {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 4vw;
    margin: 10.9vw 0 17.3vw;
  }
  .technology-box-item p {
    max-width: 100%;
    color: var(--text-muted);
    font-size: 4vw;
  }
  .technology-box-item img {
    width: 100%;
  }
  .technology-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .btn-more.tech {
    grid-area: auto;
  }
  .pure-technology-block {
    grid-area: auto;
  }
  .pure-technology-block h4 {
    max-width: 50%;
  }
  .pure-technology-block p {
    font-size: 4.6vw;
    color: var(--text-muted);
    margin-bottom: 5vw;
  }
  .technology-img-box {
    grid-area: 3/1;
    margin-bottom: 60px;
  }
  .technology-device {
    width: 90%;
  }
  .technology-bottom-block {
    grid-area: auto;
    margin-bottom: 24px;
    padding: 16px 6px;
    border-radius: 8.39vw;
  }
  .technology-bottom-block p {
    font-size: 3.56vw;
    max-width: 60%;
  }
  .technology-bottom-block img {
    max-width: 34%;
  }
  .btn-more.tech {
    width: 100%;
  }

  .technology-content.reverse {
    margin-top: 12vw;
  }
  .reverse .pure-technology-block {
    grid-area: auto;
  }
  .reverse .technology-img-box {
    grid-area: auto;
    margin-bottom: 0;
  }
  .reverse .technology-bottom-block {
    grid-area: 2/1;
    margin-bottom: 4vw;
  }
  .reverse .technology-bottom-block img {
    transform: scaleX(-1);
  }

  #advantages {
    padding: 7.6vw 2.5vw 0;
  }
  #advantages .block-title {
    text-align: center;
  }
  .advantages-title {
    font-size: 5.5vw;
    margin-bottom: 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;
  }

  #select-device {
    padding: 80px 10px;
    margin-bottom: 0;
  }
  .palette-content {
    padding: 24px 0 0;
    margin-top: 0;
    gap: 16px;
    flex-direction: column-reverse;
  }
  .device-box {
    width: 100%;
  }
  #deviceImage {
    width: 100%;
  }
  .device-container {
    width: 100%;
    height: 50vh;
  }
  .sticks-container {
    width: 100%;
    height: 80vw;
  }
  .sticks-bg-images, .sticks-images {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
  }
  .colors-title {
    font-size: 5.5vw;
    margin-bottom: 4vw;
    max-width: 100%;
  }
  .colors-subtitle {
    font-size: 3.56vw;
    margin-bottom: 4.32vw;
    max-width: 100%;
  }
  .selected-color {
    font-size: 3.56vw;
  }
  .choose-color-box {
    border-radius: 6.1vw;
  }
  .color-option,
  .sticks-color-option {
    width: 6.3vw;
    height: 6.3vw;
  }
  .color-option.active,
  .sticks-color-option.active {
    width: 12.7vw;
    border-radius: 5.59vw;
  }

  #select-flavors {
    justify-content: center;
    border-radius: 12vw;
    padding: 13.7vw 2vw 0 2vw;
    gap: 20px;
    margin: 0 1.27vw 16vw;
    flex-direction: column-reverse;
    background-size: 85%;
  }
  .sticks-box {
    max-width: 100%;
  }
  .sticks-title {
    font-family: JuraBold, sans-serif;
    font-size: 6.6vw;
    margin-bottom: 5.59vw;
  }
  .sticks-subtitle {
    font-size: 4.6vw;
    margin-bottom: 5.59vw;
    max-width: 100%;
  }
  .select-color-box {
    grid-area: 4/1;
    margin-top: 8.39vw;
  }
  #sticksImage {
    width: 100%;
  }

  #instruction {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 4.6vw;
  }
  #instruction.opened {
    padding: 4.6vw 0px;
  }
  .step-title {
    font-size: 7.12vw;
  }
  .step-descr {
    font-size: 4.6vw;
  }
  .step-box:last-child .step-title {
    font-size: 5.08vw;
  }

  .complect-content {
    background-size: cover;
    flex-direction: column-reverse;
  }
  .complect-title {
    padding-left: 10px;
  }
  .complect-txt {
    font-size: 20px;
    display: grid;
    gap: 16px;
  }
  .complect-img {
    width: 70%;
  }
}
@media (min-width: 912px) and (max-width: 1300px) {
  #main {
    padding: 150px 0 75px;
  }
  .main-content {
    padding: 20px;
    height: 50vw;
    border-radius: 32px;
  }
  .title-box {
    max-width: 50%;
  }
  .title {
    font-size: 28px;
  }
  .subtitle {
    font-size: 48px;
    margin-bottom: 20px;
  }
  .btn-white.where-buy {
    font-size: 20px;
    padding: 20px 80px;
  }
  .about-top-block {
    gap: 40px;
  }
  .technology-content {
    grid-template-rows: repeat(2, 0.6fr);
  }
  .btn-more.tech {
    grid-area: 2 / 2 / 4 / 3;
  }
  .pure-technology-block p {
    font-size: 18px;
  }
  .technology-img-box {
    grid-area: 1 / 2 / 2 / 2;
  }
  .technology-device {
    width: 90%;
  }
  .technology-bottom-block {
    margin-bottom: 40px;
    border-radius: 30px;
    font-size: 16px;
  }
  .technology-bottom-block img {
    width: 35%;
  }
  .technology-content.reverse {
    margin-top: 96px;
  }
  .reverse .pure-technology-block {
    margin-bottom: 28px;
  }
  .reverse .technology-bottom-block img {
    transform: scaleX(-1);
  }
  .step-descr {
    font-size: 24px;
  }
  #palette {
    /* margin-bottom: 100px; */
  }
  .device-container {
    width: 80%;
    height: 60vw;
  }
  .palette-content {
    gap: 8px;
  }
  .colors-title {
    font-size: 28px;
    max-width: 600px;
    margin-bottom: 12px;
  }
  .colors-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }
  #select-flavors {
    justify-content: center;
    gap: 80px;
  }
  .complect-img {
    width: 50%;
  }
}

/* Стили для полноэкранного видео */
.fullscreen-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-video video {
  width: 100%;
  /* max-width: 90%; */
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.close-btn:hover {
  color: #ccc;
}

@media (hover: none) {
  .play-video-box:hover .play-btn {
    transform: scale(1);
  }
  .step-box:hover {
    box-shadow: none;
  }
  .close-btn:hover {
    color: white;
  }
  
}

















.bg-images, .device-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bg-image.active, .device-image.active {
  opacity: 1;
}

.device-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
