

/* Start:/local/templates/blacksensor/template_styles.css?17821791803335*/
@media (min-width: 1024px){ .catalog__products{ grid-template-columns:repeat(3,1fr)!important; } }
.product-white__info {
  margin-top: auto;
}

.product-related__slider .swiper-slide { display: flex; height: auto; }

.product-related__slider .product.product-white { display: flex; flex-direction: column; width: 100%; }

.product-related__slider .swiper-wrapper { align-items: stretch; }

.product-related__slider .product__fotobox { aspect-ratio: 1 / 1; overflow: hidden; }
.product-related__slider .product__foto { width: 100%; height: 100%; object-fit: contain; }

.product-related__slider .product__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-related__slider .product__info { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


.cases__sliderbox,
.cases__slider,
.cases__slider .swiper-wrapper,
.cases__slider .swiper-slide {
    height: auto !important;
}

.cases__slider .swiper-slide .case {
    min-height: 280px !important;
}

.case-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.case-content__list {
    flex-grow: 1 !important;
    align-content: start !important;
}

.case-content__buttons {
    margin-top: auto !important;
}

.case__img {
    min-height: 323px !important;
}

.card-product-filters__item {
  font-size: 14px!important;
}
@media (max-width: 768px) {
    .cases__slider .swiper-slide .case {
        min-height: auto !important;
    }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background-color: #0b0b0b; 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 24px; 
  padding: 60px 45px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.is-active .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background-color: #e0e0e0;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.modal-text {
  font-size: 14px;
  line-height: 1.6;
  color: #a0a0a0; 
  text-align: left;
}

.js-open-modal {
  cursor: pointer;
}

@media (max-width: 768px) {
  .modal-window {
    padding: 50px 20px 24px 20px; 
    border-radius: 16px; 
  }

  .modal-title {
    margin-bottom: 16px;
    padding-right: 0; 
    text-align: left; 
  }

  .modal-text {
*    line-height: 1.5;
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}
/* End */
/* /local/templates/blacksensor/template_styles.css?17821791803335 */
