/* Базовые стили - для больших экранов (desktop) */
.error {
  width: 1212px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 300px;
}

.mobile {
  display: none;
  visibility: hidden;
  opacity: 0;
}

a.text:active,
a.text:hover,
a.text {
  text-decoration: none;
  color: #fff;
}

.operator,
.katalog {
  display: inline-block;
  box-sizing: border-box;
  padding: 0 15px;
  margin: 0 15px 15px 0;
  outline: none;
  border: none;
  height: 60px;
  width: 160px;
  line-height: 26px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  cursor: pointer;
  user-select: none;
  appearance: none;
  touch-action: manipulation;
  z-index: 1;
}

.operator {
  background-color: #ff4888;
  margin-right: 70px;
}

.katalog {
  background-color: #78be5e;
}

.btns {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.myReviews__close-container {
	display: none;
	visibility: hidden;
	opacity: 0;
}

.b24-widget-button-wrapper {
	display: none;
	visibility: hidden;
	opacity: 0;
}

.myReviews__container {
	display: none;
	visibility: hidden;
	opacity: 0;
}

.element-invisible {
	display: none;
	visibility: hidden;
	opacity: 0;
}

#back-top {
	display: none;
	visibility: hidden;
	opacity: 0;
}

/* ==== Адаптивные стили ==== */

/* От 0 до 320px */
@media (max-width: 320px) {
  .error {
    display: none;
  }

  .mobile {
    display: block;
    visibility: visible;
    opacity: 1;
    text-align: center;
  }

  .mobile img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .btns {
    flex-direction: column;
    margin-top: 20px;
    padding: 0 10px;
  }

  .btns button {
    width: 100%;
    margin: 10px 0;
    font-size: 18px;
    height: 50px;
  }
}

/* От 321px до 375px */
@media (min-width: 321px) and (max-width: 375px) {
  .error {
    display: none;
  }

  .mobile {
    display: block;
    visibility: visible;
    opacity: 1;
    text-align: center;
  }

  .mobile img {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
  }

  .btns {
    flex-direction: column;
    margin-top: 25px;
    padding: 0 15px;
  }

  .btns button {
    width: 100%;
    margin: 12px 0;
    font-size: 19px;
    height: 55px;
  }
}

/* От 376px до 425px */
@media (min-width: 376px) and (max-width: 425px) {
  .error {
    display: none;
  }

  .mobile {
    display: block;
    visibility: visible;
    opacity: 1;
    text-align: center;
  }

  .mobile img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  .btns {
    flex-direction: column;
    margin-top: 30px;
    padding: 0 20px;
  }

  .btns button {
    width: 100%;
    margin: 15px 0;
    font-size: 20px;
    height: 60px;
  }
}

/* От 426px до 480px */
@media (min-width: 426px) and (max-width: 480px) {
  .error {
    display: none;
  }

  .mobile {
    display: block;
    visibility: visible;
    opacity: 1;
    text-align: center;
  }

  .mobile img {
    width: 100%;
    height: auto;
    margin-bottom: 18px;
  }

  .btns {
    flex-direction: column;
    margin-top: 35px;
    padding: 0 25px;
  }

  .btns button {
    width: 100%;
    margin: 18px 0;
    font-size: 21px;
    height: 62px;
  }
}

/* От 481px до 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .error {
    display: none;
  }

  .mobile {
    display: block;
    visibility: visible;
    opacity: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .mobile img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    margin-top: 40px;
    padding: 0 30px;
    gap: 30px;
    flex-wrap: wrap;
  }

  .btns button {
    flex: 1 1 200px;
    max-width: 300px;
    height: 60px;
    font-size: 22px;
    margin: 10px 0;
  }
}

/* От 769px до 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .error {
    display: block;
    max-width: 900px;
    width: 100%;
    margin-top: 100px;
  }

  .mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
    padding: 0 40px;
    gap: 40px;
    flex-wrap: nowrap;
  }

  .btns button {
    width: 220px;
    height: 65px;
    font-size: 22px;
    margin: 0;
  }
}

/* От 1025px до 1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
  .error {
    display: block;
    max-width: 1100px;
    width: 100%;
    margin-top: 120px;
  }

  .mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
    padding: 0 50px;
    gap: 50px;
    flex-wrap: nowrap;
  }

  .btns button {
    width: 240px;
    height: 70px;
    font-size: 24px;
    margin: 0;
  }
}

/* От 1281px до 1680px */
@media (min-width: 1281px) and (max-width: 1680px) {
  .error {
    display: block;
    max-width: 1400px;
    width: 100%;
    margin-top: 140px;
  }

  .mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    margin-top: 60px;
    padding: 0 60px;
    gap: 60px;
    flex-wrap: nowrap;
  }

  .btns button {
    width: 260px;
    height: 75px;
    font-size: 26px;
    margin: 0;
  }
}

/* От 1681px до 1920px */
@media (min-width: 1681px) and (max-width: 1920px) {
  .error {
    display: block;
    max-width: 1600px;
    width: 100%;
    margin-top: 160px;
  }

  .mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    margin-top: 70px;
    padding: 0 70px;
    gap: 70px;
    flex-wrap: nowrap;
  }

  .btns button {
    width: 280px;
    height: 80px;
    font-size: 28px;
    margin: 0;
  }

  .operator {
    margin-right: 0;
  }
}

/* От 1921px до 2560px */
@media (min-width: 1921px) and (max-width: 2560px) {
  .error {
    display: block;
    max-width: 1800px;
    width: 100%;
    margin-top: 180px;
  }

  .mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    margin-top: 80px;
    padding: 0 80px;
    gap: 80px;
    flex-wrap: nowrap;
  }

  .btns button {
    width: 300px;
    height: 85px;
    font-size: 30px;
    margin: 0;
  }
}

/* От 2561px до 3840px */
@media (min-width: 2561px) and (max-width: 3840px) {
  .error {
    display: block;
    max-width: 2100px;
    width: 100%;
    margin-top: 200px;
  }

  .mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .btns {
    flex-direction: row;
    justify-content: center;
    margin-top: 90px;
    padding: 0 100px;
    gap: 100px;
    flex-wrap: nowrap;
  }

  .btns button {
    width: 340px;
    height: 95px;
    font-size: 34px;
    margin: 0;
  }
}