

/* Start:/local/templates/main/components/bitrix/news/cases/bitrix/news.detail/.default/style.css?176088668410549*/

.case__text li,.case__text p   {
  font-size: 16px !important;
}
.page_content .text_page {
  padding-left: 0;
}
.page_content {
  width: 100% !important;
}
.case__hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 32px;
  align-items: start;
}

.case__gallery {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  min-width: 0;
}

.case__main-slider {
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

.case__swiper {
  width: 100%;
  height: 420px;
}

.case__swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  cursor: pointer;
}

.case__swiper-slide img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case__swiper-thumbs {
  margin-top: 16px;
  height: 85px;
}

.case__swiper-thumbs .swiper-wrapper {
  gap: 4px;
}

.case__swiper-thumbs .swiper-slide {
  width: calc(25% - 6px);
  height: 100%;
  opacity: 0.6;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.case__swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #ebcc00;
}

.case__swiper-thumbs .swiper-slide:hover {
  opacity: 1;
}

.case__swiper-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case__swiper>.case__swiper-button-next,
.case__swiper>.case__swiper-button-prev {
  width: 44px;
  height: 44px;
  background-color: rgba(235, 204, 0, 0.95);
  color: #231f20;
}

.case__swiper>.case__swiper-button-next:after,
.case__swiper>.case__swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}


.case__info {
  padding: 16px 20px 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);}

.case__info-group {
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.case__info-group-label {
  color: #999;
  font-size: 14px;
  margin-bottom: 4px;
}

.case__info-group-value {
  color: #231f20;
  font-size: 16px;
}

.case__location {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case__area {
  padding: 12px 0;
  margin-bottom: 16px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.case__area-label {
  color: #999;
  font-size: 13px;
  margin-bottom: 4px;
}

.case__area-value {
  font-size: 20px;
  font-weight: 600;
  color: #231f20;
}

.case__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.case__btn {
  padding: 14px 24px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.case__btn--primary {
  background-color: #ebcc00;
  color: #231f20;
}

.case__btn--primary:hover {
  background-color: #d4b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(235, 204, 0, 0.3);
}

.case__buttons>.case__btn--secondary {
  background-color: transparent;
  color: #231f20;
  border: 2px solid #ebcc00;
}

.case__btn--secondary:hover {
  background-color: #ebcc00;
  color: #231f20;
}

.case__note {
  font-size: 14px;
  color: #231f20;
  line-height: 1.6;
  padding: 16px;
  background-color: #f9f9f9;
}

@media (max-width: 1200px) {
  .case__hero {
    gap: 48px;
  }

  .case__swiper {
    height: 380px;
  }
}

@media (max-width: 992px) {
  .cases {
    padding: 28px 0;
  }

  .case__hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case__swiper {
    height: 400px;
  }

}

@media (max-width: 768px) {
  .case__text li,.case__text p  {
    font-size: 14px !important;
  }
  .case__swiper {
    height: auto;
  }

  .case__swiper-thumbs {
    height: auto;
  }

  .case__info-group-value {
    font-size: 14px;
    line-height: normal;
  }

  .case__info-group {
    margin-bottom: 8px;
  }

  .case__swiper-button-next,
  .case__swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .case__swiper-button-next:after,
  .case__swiper-button-prev:after {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .cases {
    padding: 16px 0;
  }

  .case__swiper {
    height: 260px;
  }

  .case__swiper-thumbs {
    height: 60px;
  }

  .case__swiper-thumbs .swiper-slide {
    width: calc(25% - 4px);
  }

  .case__btn {
    font-size: 14px;
  }

  .case__area {
    padding: 16px 0;
    margin-bottom: 12px;
  }

}
.case__info {
  grid-column: 2;
  grid-row: 1 / 5;
  padding: 16px 20px 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
}
.case__gallery,
.case__text,
.case__items,
.case__other {
  grid-column: 1;
}
@media (max-width: 992px) {
  .case__hero {
    grid-template-columns: 100%;
    grid-template-areas:
            "gallery"
            "info"
            "text"
            "items"
            "cases";
    gap: 16px;
  }
  .case__gallery,
  .case__text,
  .case__items,
  .case__other,
  .case__info {
    grid-column: auto;
    grid-row: auto;
  }

  .case__gallery { grid-area: gallery; }
  .case__info    { grid-area: info; }
  .case__text    { grid-area: text; }
  .case__items   { grid-area: items; }
  .case__other   { grid-area: cases; }

  .cases {
    padding: 18px 0;
  }
  .case__swiper {
    height: 400px;
  }
  .case__info {
    padding-top: 0;
    box-shadow: none;
    padding: 0;
  }
}

/* Products Slider */
.products-slider {
  position: relative;
}

.products-swiper {
  overflow: hidden;
}
.products-swiper>.swiper-wrapper>.swiper-slide{
  /*max-height: 400px;*/
}
.product-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-content {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  display: block;
  height: 2em;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #231f20;
  line-height: normal;
}
.product-title a,.case-title a{
  text-decoration: none;
  color: inherit;
font-weight: inherit}

  .product-title a{

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-price {
  margin-bottom: 16px;
}

.product-btn {
  text-decoration: none;
  display: inline-block;
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  background-color: transparent;
  color: #231f20;
  border: 2px solid #ebcc00;
}

.product-btn:hover {
  background: #d4b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(235, 204, 0, 0.3);
}

/* Cases Slider */
.cases-slider {
  position: relative;
  padding-bottom: 60px;
}

.cases-swiper {
  overflow: hidden;
  padding: 10px 5px;
}

.case-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  cursor: pointer;
}

.case-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.case-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-content {
  padding: 16px 0;
}

.case-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.4em;
  line-height: 1.2em;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 22px;
  color: #231f20;
}

.case-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #666;
}

.case-area-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.case-area-value {
  color: #231f20;
}

.products-slider>.swiper-button-next,.products-slider>.swiper-button-prev,.cases-slider>.swiper-button-next,.cases-slider>.swiper-button-prev,.cases-slider>.case__swiper-button-next:after {
  top:40%;
  width: 44px;
  height: 44px;
  background-color: rgba(235, 204, 0, 0.95);
  color: #231f20;
}
.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled  {
  opacity: 0;
}
.products-slider>.swiper-button-next:after,
.products-slider>.swiper-button-prev:after,
.cases-slider>.swiper-button-next:after,
.cases-slider>.swiper-button-prev:after,.cases-slider>.case__swiper-button-next:after {
  font-size: 18px;
  font-weight: bold;
}

.products-slider>.swiper-button-next:hover,
.products-slider>.swiper-button-prev:hover,
.cases-slider>.swiper-button-next:hover,
.cases-slider>.swiper-button-prev:hover {
  background-color: #ebcc00;
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #999;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #ebcc00 !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 5px !important;
}

/* Responsive */
@media (max-width: 992px) {
  h2 {
    font-size: 28px;
  }

  .product-image,
  .case-image {
    height: 240px;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 24px;
  }

  .product-image,
  .case-image {
    height: 200px;
  }

  .product-title,
  .case-title {
    font-size: 16px;
  }


  .products-slider>.swiper-button-next,
  .products-slider>.swiper-button-prev,
  .cases-slider>.swiper-button-next,
  .cases-slider>.swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .products-slider>.swiper-button-next:after,
  .products-slider>.swiper-button-prev:after,
  .cases-slider>.swiper-button-next:after,
  .cases-slider>.swiper-button-prev:after {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .product-image,
  .case-image {
    height: 180px;
  }

  .product-content,
  .case-content {
    padding: 15px;
  }
}
/* End */
/* /local/templates/main/components/bitrix/news/cases/bitrix/news.detail/.default/style.css?176088668410549 */
