

/* Start:/local/templates/perila_redesign_2023/components/bitrix/menu/catalog-menu/style.css?17833236482130*/
.catalog-menu__tabs-head {
  display: flex;
  border: 1px solid #1d58e0;
}

.catalog-menu__tabs-head-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 50%;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  padding: 7px 25px;
  background-color: #ffffff;
  color: #1d58e0;
  cursor: pointer;
  flex: 1 0;
  min-height: 58px;
}

.catalog-menu__tabs-head-item--active-tab {
  color: #ffffff;
  background-color: #1d58e0;
}

.catalog-menu__tabs-content-item {
  display: none;
}

.catalog-menu__tabs-content-item--active-tab {
  display: block;
}

.catalog-menu__list {
  padding: 25px;
  background-color: #f7f7f9;
}

.catalog-menu__item-title {
  display: block;
  color: #20293c;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.catalog-menu__item-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 30px;
}

.catalog-menu__item-icon {
  position: relative;
  width: 15px;
  height: 15px;
}

.catalog-menu__item-icon:before,
.catalog-menu__item-icon:after {
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: #000000;
  transition: transform 0.3s ease;
}

.catalog-menu__item-icon:after {
  transform: rotate(90deg);
}

.catalog-menu__item-icon--closed:before {
  transform: rotate(90deg);
}

.catalog-submenu {
  display: none;
  padding: 0 0 25px 25px;
}

.catalog-submenu__item-title {
  display: block;
  color: #20293c;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  transition: color 0.3s;
}

.catalog-submenu__item-title:hover {
  color: #1d58e0;
}

.catalog-submenu__item-title-wrapper {
  margin-bottom: 20px;
}

@media screen and (max-width: 1400px) {
  .catalog-menu__tabs-head-item {
    font-size: 16px;
    line-height: 20px;
    padding: 7px 15px;
  }
  .catalog-menu__item-title,
  .catalog-submenu__item-title {
    font-size: 14px;
    line-height: 19px;
  }
}

@media screen and (max-width: 1024px) {
  .catalog-menu__tabs-head-item {
    font-size: 14px;
    line-height: 20px;
  }
}
/* End */


/* Start:/local/templates/perila_redesign_2023/components/bitrix/catalog.section.list/catalog-front-sections/style.css?17807472883996*/
.catalog-front-sections__list {
  display: flex;
  flex-wrap: wrap;
}

.catalog-front-sections__button {
  text-align: center;
  margin-top: 65px;
}

.catalog-front-sections__button .button {
  padding: 15px 40px;
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
}

.catalog-front-sections {
  margin-left: 24px;
  flex: 3;
  min-width: 0;
}

.front-section {
  display: flex;
  flex-direction: column;
  margin-left: 30px;
  margin-top: 30px;
  border: 1px solid #e5e9eb;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.lqip-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  height: 335px;
}

.lqip-link {
  display: block;
  width: 100%;
  height: 100%;
}

.lqip-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(15px);
  transform: scale(1.1);
  z-index: 1;
}

.lqip-main {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: transparent;
}

.front-section__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 25px;
}

.front-section__title {
  font-size: 22px;
  line-height: 27px;
  font-weight: 600;
  color: #000000;
}

.front-section__title-wrapper {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-wrap: break-word;
  word-break: break-word;
}

.front-section__title:hover {
  color: #1d58e0;
}

.front-section__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.front-section__button .button {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  padding: 10px 15px;
}

.front-section__price {
  white-space: nowrap;
  margin-left: 10px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .front-section {
    width: calc(100% / 3 - 20px);
  }
  .front-section:nth-child(3n + 1) {
    margin-left: 0;
  }
  .front-section:nth-child(-n + 3) {
    margin-top: 0;
  }
}

@media screen and (max-width: 1370px) {
  .front-section {
    margin-left: 20px;
    margin-top: 20px;
    width: calc(100% / 3 - 14px);
  }
  .lqip-wrapper {
    height: 250px;
  }
  .front-section__title {
    font-size: 19px;
    line-height: 25px;
  }
  .front-section__bottom {
    flex-direction: column-reverse;
    margin-top: 20px;
  }
  .front-section__button {
    margin-top: 20px;
  }
  .front-section__button .button {
    font-size: 17px;
    line-height: 20px;
    padding: 7px 12px;
  }
  .front-section__price {
    font-size: 15px;
    line-height: 16px;
  }
}

@media screen and (max-width: 1170px) {
  .front-section__title {
    font-size: 15px;
    line-height: 20px;
  }
  .lqip-wrapper {
    height: 200px;
  }
  .front-section__content {
    padding: 10px;
  }
}

@media screen and (max-width: 992px) {
  .catalog-front-sections__button {
    margin-top: 30px;
  }
  .catalog-front-sections__button .button {
    padding: 10px 15px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }
  .front-section__title {
    font-size: 19px;
    line-height: 25px;
  }
}

@media screen and (max-width: 768px) {
  .front-section {
    width: calc(100% / 2 - 5px);
    margin-left: 10px;
  }
  .front-section:nth-child(2n + 1) {
    margin-left: 0;
  }
  .front-section:nth-child(-n + 2) {
    margin-top: 0;
  }
  .lqip-wrapper {
    height: 250px;
  }
  .front-section__content {
    padding: 15px 5px;
  }
  .front-section__button .button {
    font-size: 15px;
    line-height: 18px;
    font-weight: 500;
    padding: 5px 10px;
  }
  .front-section__title {
    font-size: 15px;
    line-height: 20px;
  }
  .front-section__price {
    white-space: nowrap;
    margin-left: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
  }
}

@media screen and (max-width: 540px) {
  .lqip-wrapper {
    height: 136px;
  }
}
/* End */


/* Start:/local/templates/perila_redesign_2023/components/bitrix/news.list/gallery/style.css?17827916231509*/
.gallery {
  margin-top: 80px;
}

.gallery__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.gallery__item {
  width: calc((100% - 120px) / 6);
  max-height: 225px;
  aspect-ratio: 1 / 1;
}

.gallery__item a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative; /* Делаем ссылку контейнером для слоев */
}

/* Нижний слой: размытая миниатюра */
.gallery__lqip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.1); /* Убирает белые рамки, которые дает фильтр blur по краям */
  z-index: 1;
}

/* Верхний слой: четкая картинка */
.gallery__item img {
  position: relative;
  z-index: 2; /* Кладем поверх размытого слоя */
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.gallery__item img.is-loaded {
  opacity: 1; /* Картинка плавно перекрывает собой размытый фон */
}

.gallery__item a:hover img {
  opacity: 0.8;
}

@media screen and (max-width: 991px) {
  .gallery__item {
    width: calc((100% - 72px) / 4);
  }
}

@media screen and (max-width: 767px) {
  .gallery__item {
    width: calc((100% - 24px) / 2);
  }
}
/* End */


/* Start:/local/templates/perila_redesign_2023/components/bitrix/news.list/reviews-yandex/style.css?17827939634190*/
.modern-reviews-section {
    padding: 40px 0;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

.modern-reviews__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a4f8b;
}

.modern-reviews__intro {
    font-size: 16px;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 800px;
}

.modern-reviews__intro a:hover {
    text-decoration: none !important;
}

.modern-reviews__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.modern-reviews__summary-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modern-reviews__rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
}

.modern-reviews__rating-badge svg {
    width: 16px;
    height: 16px;
}

.modern-reviews__count {
    font-size: 14px;
    color: #718096;
}

.modern-reviews__btn {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1a4f8b;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.modern-reviews__btn:hover {
    border-color: #1a4f8b;
    background-color: #f1f5f9;
}

.modern-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.review-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}

.review-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.review-card__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.review-card__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__avatar svg {
    width: 24px;
    height: 24px;
}

.review-card__meta {
    flex-grow: 1;
    min-width: 0;
}

.review-card__name {
    font-weight: 600;
    font-size: 15px;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card__date {
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
}

.review-card__badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icon-yandex { width: 14px; height: 14px; }
.icon-external { width: 12px; height: 12px; opacity: 0.6; }
.icon-star { width: 12px; height: 12px; }

.review-card__yandex {
    font-size: 11px;
    font-weight: 600;
    color: #ef4444;
    border: 1px solid #fee2e2;
    background-color: #fef2f2;
    padding: 2px 8px;
    border-radius: 12px;
}

.review-card__star {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
}

.review-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card__yandex-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid transparent;
    color: #1a202c;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.review-card__yandex-link:hover {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    color: #4a5568;
}
/* End */


/* Start:/local/templates/perila_redesign_2023/components/bitrix/news.list/reviews-front/style.css?17827951642972*/
.reviews-front {
  margin-top: 60px;
  margin-bottom: 80px;
}

.reviews-front__info {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reviews-front__info-left {
  max-width: 1101px;
  font-size: 16px;
  line-height: 25px;
}

.reviews-front__info-right {
  display: flex;
  flex-direction: column;
  margin-left: 100px;
}

.reviews-front__info-right .button {
  padding: 15px 68px;
  font-size: 22px;
  font-weight: 600;
}

.reviews-front__info-right .button--gray {
  padding: 15px 112px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
}

.reviews-front__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.reviews-front__card {
  background: #FFFFFF;
  border: 1px solid #EAECEF;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.reviews-front__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.reviews-front__card-header {
  margin-bottom: 12px;
}

.reviews-front__name {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
}

.reviews-front__card-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
  flex-grow: 1;
}

.reviews-front__card-text p {
  margin: 0;
}

.reviews-front__card-media {
  margin-top: 20px;
  height: 120px;
  min-height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #F7F7F9;
}

.reviews-front__media-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.reviews-front__lqip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  filter: blur(10px);
  transform: scale(1.1);
  z-index: 1;
}

.reviews-front__media-link img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.3s ease;
}

.reviews-front__media-link img.is-loaded {
  opacity: 1;
}

.reviews-front__media-link:hover img.is-loaded {
  transform: scale(1.05);
}

.reviews-front__media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.reviews-front__media-link:hover .reviews-front__media-overlay {
  opacity: 1;
}

@media screen and (max-width: 992px) {
  .reviews-front__info {
    flex-direction: column;
  }
  .reviews-front__info-right {
    margin-left: 0;
    margin-top: 20px;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .reviews-front__grid {
    grid-template-columns: 1fr;
  }
}
/* End */
/* /local/templates/perila_redesign_2023/components/bitrix/menu/catalog-menu/style.css?17833236482130 */
/* /local/templates/perila_redesign_2023/components/bitrix/catalog.section.list/catalog-front-sections/style.css?17807472883996 */
/* /local/templates/perila_redesign_2023/components/bitrix/news.list/gallery/style.css?17827916231509 */
/* /local/templates/perila_redesign_2023/components/bitrix/news.list/reviews-yandex/style.css?17827939634190 */
/* /local/templates/perila_redesign_2023/components/bitrix/news.list/reviews-front/style.css?17827951642972 */
