/* базовые стили */
* {
  outline: none !important;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  transition: 0.2s;
}
button {
  transition: 0.2s;
  cursor: pointer;
  border: none;
  line-height: 40px;
  border-radius: 5px;
  padding: 0 20px;
  font-size: 18px;
}
p {
  margin: 0;
  padding: 0;
}
form {
  margin: 0;
}
form input.error {
  border-color: #dc3545 !important;
  color: #dc3545 !important;
}
h1,
h2 {
  margin: 0;
  font-weight: 500;
  line-height: 32px;
}
h2 {
  line-height: 25px;
}
.jspVerticalBar {
  width: 5px;
  background: #fff;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
.jspTrack {
  width: 5px;
  background: #fff;
}
.jspDrag {
  width: 5px;
  background: #666;
}
body,
html {
  width: 100%;
  min-height: 100vh;
  color: #000;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
/* базовые стили */
/* select */
.mweb-select {
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.mweb-select span {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0 30px 0 10px;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mweb-select span:after {
  content: "\f078";
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  text-align: center;
  font-weight: 300;
}
.mweb-select ul {
  display: none;
  position: absolute;
  top: 100%;
  bottom: auto;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 250px;
  z-index: 2;
  border-bottom: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
}
.mweb-select ul li {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 40px 10px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-top: none;
  background: #fff;
}
.mweb-select ul li:last-child {
  border-bottom: none;
}
.mweb-select ul li:hover,
.mweb-select ul li.active {
  background: #f5f5f5;
}
.mweb-select .error {
  display: none;
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}
.mweb-select.no-limit ul {
  max-height: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
}
.mweb-select.active span {
  border-radius: 5px 5px 0 0;
}
.mweb-select.active ul {
  display: block;
}
.mweb-select.error span {
  color: #dc3545;
  border-color: #dc3545;
}
.mweb-select.error .error {
  display: block;
}
.mweb-select.inverted ul {
  bottom: 100%;
  top: auto;
  border-top: 1px solid #ccc;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.mweb-select.inverted.active span {
  border-radius: 0 0 5px 5px;
}
/* select */
/* checkbox */
.mweb-checkbox label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.mweb-checkbox label input[type="checkbox"] {
  display: none;
}
.mweb-checkbox label input[type="checkbox"]:checked + span:after {
  display: block;
}
.mweb-checkbox label span {
  font-size: 16px;
  padding-left: 36px;
  line-height: 26px;
  position: relative;
  cursor: pointer;
  display: block;
}
.mweb-checkbox label span:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #ccc;
  border-radius: 2px;
}
.mweb-checkbox label span:after {
  content: '\f00c';
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 24px;
  height: 24px;
  color: #666;
  font-size: 20px;
  text-align: center;
  line-height: 24px;
  display: none;
}
/* checkbox */
/* radio */
.mweb-radio label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.mweb-radio label input[type="radio"] {
  display: none;
}
.mweb-radio label input[type="radio"]:checked + span:after {
  display: block;
}
.mweb-radio label span {
  font-size: 16px;
  padding-left: 30px;
  line-height: 26px;
  position: relative;
  cursor: pointer;
  display: block;
}
.mweb-radio label span:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 50%;
}
.mweb-radio label span:after {
  content: '';
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  top: 7px;
  left: 4px;
  width: 12px;
  height: 12px;
  color: #666;
  font-size: 20px;
  text-align: center;
  line-height: 24px;
  border-radius: 50%;
  background: #666;
  display: none;
}
/* radio */
/* input, textarea */
.mweb-input input {
  padding: 0 15px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 16px;
}
.mweb-input.unit {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.mweb-input.unit span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #666;
  color: #fff;
  padding: 0 15px;
  height: 40px;
  font-size: 16px;
}
.mweb-input.unit input {
  flex: 1;
  box-sizing: border-box;
  min-width: 0;
}
.mweb-input.unit.unit-left span {
  border-radius: 5px 0 0 5px;
}
.mweb-input.unit.unit-left input {
  border-radius: 0 5px 5px 0;
  border-left: none;
}
.mweb-input.unit.unit-right span {
  border-radius: 0 5px 5px 0;
}
.mweb-input.unit.unit-right input {
  border-radius: 5px 0 0 5px;
  border-right: none;
}
.mweb-textarea textarea {
  resize: none;
  padding: 10px 15px;
  height: 140px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 16px;
}
/* input, textarea */
/* file */
/* range slider */
.mweb-range-slider {
  z-index: 1;
  width: 100%;
  border-radius: 2px;
  border: 1px solid #666 !important;
  margin: 10px 0;
}
.mweb-range-slider input {
  display: none;
}
.mweb-range-slider .ui-slider-range {
  background: #ffd700;
}
.mweb-range-slider .ui-slider-handle {
  background: #ccc !important;
  width: 10px !important;
  border-radius: 2px;
  border-color: #666 !important;
}
/* mweb slider */
.mweb-slider {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.mweb-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.mweb-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mweb-slider .swiper-button-prev {
  top: 50%;
  left: 0;
  transform: translate(50%, -50%);
  margin-top: 0;
  color: #fff;
}
.mweb-slider .swiper-button-next {
  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);
  margin-top: 0;
  color: #fff;
}
.mweb-slider .swiper-pagination {
  bottom: 20px;
}
.mweb-slider .swiper-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: #fff;
  opacity: 1;
}
.mweb-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #666;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-wrap {
  width: 400px;
  height: 400px;
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-wrap .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-wrap.active {
  cursor: pointer;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap {
  width: 400px;
  height: 70px;
  box-sizing: border-box;
  margin-top: 20px;
  position: relative;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list {
  padding: 0 49px;
  box-sizing: border-box;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list .swiper-slide {
  width: calc(272px / 4);
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list .swiper-slide.swiper-slide-thumb-active {
  border-color: #ffd700;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list .swiper-button-prev {
  color: #666;
  background: #fff;
  transform: translate(0, -50%);
  width: 49px;
  height: 100%;
  justify-content: flex-start;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list .swiper-button-prev:after {
  font-size: 30px;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list .swiper-button-next {
  color: #666;
  background: #fff;
  transform: translate(0, -50%);
  width: 49px;
  height: 100%;
  justify-content: flex-end;
}
.mweb-slider-thumbnails-block .mweb-slider-thumbnails-list-wrap .mweb-slider-thumbnails-list .swiper-button-next:after {
  font-size: 30px;
}
/* mweb slider */
/* modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100;
}
.modal .modal-block {
  display: none;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  border-radius: 5px;
  padding: 25px;
  box-sizing: border-box;
}
.modal .modal-block .modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-block .modal-close:hover {
  color: #dc3545;
}
/* modal */
/* qty */
.qty-control {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid #666;
  overflow: hidden;
}
.qty-control .qty-btn {
  background-color: #fff;
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.qty-control .qty-btn:hover {
  background-color: #ffd700;
  color: #000;
}
.qty-control .qty-btn.increment {
  border-radius: 0 5px 5px 0;
}
.qty-control .qty-btn.decrement {
  border-radius: 5px 0 0 5px;
}
.qty-control .qty-btn.inactive {
  opacity: 0.25;
  cursor: default;
}
.qty-control .qty-btn.inactive:hover {
  background: #fff;
}
.qty-control .qty-input {
  width: 40px;
  height: 35px;
  text-align: center;
  border: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
  font-weight: 500;
  color: #000;
}
.qty-control .qty-input:disabled {
  opacity: 0.25;
}
/* qty */
