#main {
  padding: 194px 40px 150px;
  display: flex;
  align-items: center;
}
.main-content {
  width: 100%;
  height: 746px;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  z-index: 0;
  background: url(/assets/img/sticks/banner.png) no-repeat left;
  background-size: cover;
  border-radius: 90px;
}
.sticks-banner {
  max-width: 1920px;
  width: 100%;
  position: absolute;
  z-index: -1;
}
.main-sticks {
  z-index: 1;
  max-width: 100%;
}
.main-sticks img {
  max-width: 100%;
}
.title-box {
  color: var(--white-text);
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding-bottom: 80px;
}
.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;
}

#about {
  padding: 32px 40px;
  position: relative;
}
.about-sticks-bg {
  position: absolute;
  z-index: -1;
  top: 6%;
  left: 0;
}
.about-content {
  /* background: url(/assets/img/sticks/about-bg.png) no-repeat; */
}
.about-top-block {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4vw;
  margin: 0 auto 120px;
  font-size: 20px;
}
.about-top-block p {
  max-width: 380px;
}
.clean-device {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
}
.clean-device-img {
  max-width: 40%;
}
.clean-device-title {
  color: var(--accent-color);
  font-size: 38px;
  margin-bottom: 12px;
  font-weight: normal;
  font-family: TTCommons, sans-serif;
  text-transform: uppercase;
}
.clean-device-descr {
  font-size: 28px;
  margin-bottom: 74px;
  max-width: 650px;
}
.about-bottom-block {
  display: flex;
  align-items: center;
  padding: 0 18px 0 40px;
  background-color: #fff;
  border-radius: 60px;
}
.about-bottom-block p {
  max-width: 380px;
  font-size: 20px;
}

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

#flavors {
  padding: 80px 40px;
  margin-bottom: 210px;
}
.flavors-content {
  max-width: 1400px;
  margin: 0 auto;
}
.flavors-subtitle {
  font-size: 20px;
  max-width: 650px;
  margin-bottom: 56px;
}
.flavors-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  gap: 2.8% 3.7%;
}
.flavor-item {
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  position: relative;
}
.flavor-item-img {
  transition: opacity 0.3s;
  width: 100%;
}
.flavor-item-txt {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, 16px);
  transition: all 0.3s;
  width: 100%;
}
.flavor-name {
  font-family: TTCommonsBold, sans-serif;
  color: #fff;
  font-size: 32px;
  text-align: center;
  margin-bottom: 8px;
}
.flavor-descr {
  color: #fff;
  font-size: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.flavor-item:hover .flavor-item-img {
  opacity: 0; /* Скрываем изображение при наведении */
}
.flavor-item:hover .flavor-item-txt {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: unset;
}
.flavor-item:hover .flavor-descr {
  opacity: 1; /* Показываем текст при наведении */
}

/* .flavor-item:hover .flavor-descr {
  display: block;
}
.flavor-item:hover .flavor-item-txt {
  position: unset;
}
.flavor-item:hover .flavor-item-img {
  display: none;
} */
.flavor-item.blue {
  background: radial-gradient(circle at 80% 20%, #ffffff8e, transparent 60%),
    #0060de;
}
.flavor-item.orange {
  background: radial-gradient(circle at 80% 20%, #ffffff8e, transparent 60%),
    #f46d14;
}
.flavor-item.crimson {
  background: radial-gradient(circle at 80% 20%, #ffffff8e, transparent 60%),
    #fd84a8;
}
.flavor-item.vanilla {
  background: radial-gradient(circle at 80% 20%, #ffffff8e, transparent 60%),
    #f6e39e;
}
.flavor-item.amber {
  background: radial-gradient(circle at 80% 20%, #ffffff59, transparent 60%),
    #845432;
}
.flavor-item.violet {
  background: radial-gradient(circle at 80% 20%, #ffffff8e, transparent 60%),
    #6f41d2;
}
.flavor-item.mint {
  background: radial-gradient(circle at 80% 20%, #ffffff8e, transparent 60%),
    #03aa89;
}
.flavor-item.yellow {
  background: radial-gradient(circle at 80% 20%, #ffffff8e, transparent 60%),
    #ffdd31;
}

#select-device {
  max-width: 1400px;
  border-radius: 80px;
  /* background: #000 url(/assets/img/device/blue-device-bg.png) no-repeat bottom left;
  background-size: 55%; */
  padding: 46px 24px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 158px;
  margin-bottom: 130px;
  /* transition: background-image 0.5s ease; */
  background: #000;
  position: relative;
  overflow: hidden;
}
.device-box {
  max-width: 45%;
}
#deviceImage {
  width: 100%;
}
.colors-box {
  color: var(--white-text);
  display: grid;
}
.colors-title {
  font-size: 32px;
  font-weight: bold;
  /* text-transform: uppercase; */
  margin-bottom: 16px;
}
.colors-subtitle {
  font-size: 20px;
  max-width: 380px;
  margin-bottom: 6px;
}
.palette {
  /* grid-area: 4 / 2 / 5 / 3; */
}


.device-container {
  /* position: relative; */
  width: 40%;
  /* height: 40vw; */
  height: 516px;
}
.bg-images, .device-images {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.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;
}

.bg-image.active, .device-image.active {
  opacity: 1;
}

.device-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}


.selected-color {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--white-text);
}
.choose-color-box {
  border-radius: 24px;
  padding: 10px;
  display: flex;
  gap: 10px;
  justify-self: start;
  background-color: #292929;
  box-shadow: 0px 1px 5px 1px #8c8c8c6b;
  margin-bottom: 40px;
  max-width: max-content;
}
.color-option {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.1s;
}
.color-option.active {
  width: 68px;
  border-radius: 22px;
}
.btn-white.where-buy {
  /* grid-area: 5 / 2 / 6 / 3; */

  align-self: baseline;
  justify-self: baseline;
}

@media (max-width: 911px) {
  #main {
    padding: 110px 0 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/sticks/banner-mob.png) no-repeat  center 76% / cover ;
    /* background-size: cover; */
  }
  .title-box {
    padding-bottom: 0;
    max-width: 100%;
  }
  .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;
  }
  .main-sticks {
    max-width: 100%;
  }
  .main-sticks img {
    /* max-width: 100%; */
    display: none;
  }

  #about {
    padding: 20vw 1.27vw 0;
    margin-bottom: 16.5vw;
  }
  .about-sticks-bg {
    width: 80%;
    top: 75%;
  }
  .clean-device {
    flex-direction: column-reverse;
    gap: 18vw;
  }
  .clean-device-title {
    font-size: 6.6vw;
    font-weight: normal;
    font-family: TTCommons, sans-serif;
    text-transform: uppercase;
    max-width: 50%;
    color: var(--accent-color);
  }
  .about-top-block {
    flex-direction: column-reverse;
    align-items: center;
    font-size: 4vw;
    margin: 10.9vw 0 17.3vw;
  }
  .about-top-block p {
    max-width: 100%;
    color: var(--text-muted);
  }
  .about-top-block img {
    width: 100%;
  }
  .clean-device-descr {
    font-size: 4.6vw;
    margin-bottom: 5vw;
    color: var(--text-muted);
  }
  .clean-device-img {
    max-width: 100%;
  }
  .about-bottom-block {
    padding: 4vw;
    border-radius: 8.3vw;
  }
  .about-bottom-block p {
    font-size: 3.56vw;
  }
  .about-bottom-block img {
    width: 34%;
  }

  #specs {
    padding: 7.6vw 2.5vw 0;
  }
  .specs-content {
    margin: 13.7vw auto 0;
  }
  #specs .block-title {
    text-align: center;
  }
  .specs-box {
    gap: 16vw;
  }
  .specs-title-box {
    margin: 0 auto;
  }
  .specs-title {
    font-size: 5.5vw;
    margin-bottom: 5vw;
  }
  .specs-subtitle {
    font-size: 5.5vw;
  }
  .spec-item {
    max-width: 60%;
    gap: 0;
  }
  .spec-item-img {
    margin-bottom: 4vw;
    width: 100%;
  }
  .spec-item-title {
    font-size: 5vw;
    margin-bottom: 3vw;
  }
  .spec-item-subtitle {
    font-size: 4vw;
  }

  #flavors {
    padding: 20vw 1.2vw 0;
    margin-bottom: 14.2vw;
  }
  .flavors-subtitle {
    font-size: 4vw;
    margin-bottom: 6.1vw;
    max-width: 100%;
    color: var(--text-muted);
  }
  .flavors-content {
    margin: 10.9vw auto 0;
  }
  .flavors-box {
    grid-template-columns: 1fr;
    gap: 4vw;
  }
  .flavor-item {
    border-radius: 5.5vw;
    flex-direction: column;
    padding-bottom: 10vw;
  }
  .flavor-item-img {
    width: 100%;
  }
  .flavor-item-txt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: unset;
    transform: translate(0, 0);
  }
  .flavor-name {
    font-size: 8vw;
    margin-bottom: 2vw;
  }
  .flavor-descr {
    opacity: 1;
    font-size: 5vw;
  }
  .flavor-item:hover .flavor-item-img {
    opacity: 1;
  }
  .flavor-item:hover .flavor-item-txt,
  .flavor-item-txt {
    position: unset;
    transform: translate(0, 0);
  }

  #select-device {
    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%;
  }
  .colors-title {
    font-family: JuraBold, sans-serif;
    font-size: 6.6vw;
    margin-bottom: 5.59vw;
  }
  .colors-subtitle {
    font-size: 4.6vw;
    margin-bottom: 5.59vw;
    max-width: 100%;
  }
  .palette {
    grid-area: 4/1;
    margin-top: 8.39vw;
  }
  .device-container {
    width: 100%;
    height: 90vw;
  }
  .bg-images, .device-images {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
  }
  #deviceImage {
    width: 100%;
  }
  .device-box,
  .colors-box {
    max-width: 100%;
  }
  .selected-color {
    font-size: 3.56vw;
  }
  .choose-color-box {
    border-radius: 6.1vw;
    margin-bottom: 0;
  }
  .color-option {
    width: 6.3vw;
    height: 6.3vw;
  }
  .color-option.active {
    width: 12.7vw;
    border-radius: 5.59vw;
  }
}

@media (min-width: 912px) and (max-width: 1300px) {
  #main {
    padding: 150px 0 75px;
  }
  .main-content {
    padding: 20px;
    height: 50vw;
    border-radius: 32px;
  }
  .sticks-banner {
    width: 100%;
  }
  .title {
    font-size: 32px;
  }
  .subtitle {
    font-size: 48px;
    margin-bottom: 20px;
  }
  .main-sticks {
    max-width: 50%;
  }
  .main-sticks img {
    max-width: 100%;
  }
  .btn-white.where-buy {
    font-size: 20px;
    padding: 10px 64px;
  }
  #about .block-title {
    margin-bottom: 16px;
  }
  .clean-device {
    flex-wrap: nowrap;
  }
  .clean-device-descr {
    font-size: 24px;
  }
  .about-bottom-block p {
    font-size: 18px;
  }
  .about-bottom-block img {
    max-width: 40%;
  }
  #flavors .block-title {
    margin-bottom: 16px;
  }
  .device-container {
    height: 40vw;
  }
}
@media (max-width: 910px) and (orientation: landscape) {
  .main-content {
    background: url(/assets/img/sticks/banner-mob.png) no-repeat center bottom / cover;
  }
}

@media (hover: none) {
  .flavor-item {
    flex-direction: column;
    padding-bottom: 40px;
  }
  .flavor-item:hover .flavor-item-img {
    opacity: 1;
  }
  .flavor-item:hover .flavor-item-txt,
  .flavor-item-txt {
    position: unset;
    transform: translate(0, 0);
  }
  .flavor-descr {
    opacity: 1;
  }
  .flavor-item:hover .flavor-descr {
    opacity: 1;
  }
}


