@charset "UTF-8";
.widget.c-brands.c-brands-template-4 {
  /* Для элементов второго ряда (4, 5, 6) возвращаем полную высоту */
  /* Для элементов правой колонки (3, 6) возвращаем полную ширину */
  /* Основные стили для слайдера */
  /* Убираем бордеры у крайних элементов, чтобы не дублировались с внешним бордером */
  /* Навигация */
  /* Адаптивность */
  /* Дополнительные стили для совместимости с существующими классами */
  /* slider */
}
.widget.c-brands.c-brands-template-4 .widget-header {
  position: relative;
  padding-top: 72px !important;
}
.widget.c-brands.c-brands-template-4 .widget-header + .widget-content {
  margin: 0;
}
.widget.c-brands.c-brands-template-4 .widget-header .widget-title {
  font-size: 36px;
  font-weight: 600;
  color: #E52421;
}
.widget.c-brands.c-brands-template-4 .widget-header .widget-description {
  font-size: 18px;
  color: #000;
}
@media all and (max-width: 768px) {
  .widget.c-brands.c-brands-template-4 .widget-header {
    padding-top: 0 !important;
  }
}
.widget.c-brands.c-brands-template-4 * + .widget-button-wrap {
  margin-top: 24px;
}
.widget.c-brands.c-brands-template-4 .widget-button-wrap.align-left {
  text-align: left;
}
.widget.c-brands.c-brands-template-4 .widget-button-wrap.align-center {
  text-align: center;
}
.widget.c-brands.c-brands-template-4 .widget-button-wrap.align-right {
  text-align: right;
}
.widget.c-brands.c-brands-template-4 .widget-button {
  padding: 12px 18px;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  border-width: 1px;
}
.widget.c-brands.c-brands-template-4 .widget-button.widget-button-rectangular {
  border-radius: 2px;
}
.widget.c-brands.c-brands-template-4 .widget-button.widget-button-rounded {
  border-radius: 18px;
}
.widget.c-brands.c-brands-template-4 .widget-button:hover, .widget.c-brands.c-brands-template-4 .widget-button:focus, .widget.c-brands.c-brands-template-4 .widget-button:active {
  color: #fff !important;
}
.widget.c-brands.c-brands-template-4[data-border=true] .widget-item {
  margin-left: -1px;
  margin-top: -1px;
  border: 1px solid #E52421;
  -webkit-transition: border-color 350ms;
  -moz-transition: border-color 350ms;
  -ms-transition: border-color 350ms;
  -o-transition: border-color 350ms;
  transition: border-color 350ms;
}
.widget.c-brands.c-brands-template-4 .widget-item, .widget.c-brands.c-brands-template-4 .widget-item-wrapper {
  display: block;
}
.widget.c-brands.c-brands-template-4 .widget-item-wrapper {
  position: relative;
  -webkit-transition: box-shadow 350ms;
  -moz-transition: box-shadow 350ms;
  -ms-transition: box-shadow 350ms;
  -o-transition: box-shadow 350ms;
  transition: box-shadow 350ms;
}
.widget.c-brands.c-brands-template-4 .widget-item-wrapper:hover {
  z-index: 11; /* Поднимаем выше, чем z-index: 10 у .widget-item */
}
.widget.c-brands.c-brands-template-4 .widget-item-wrapper:hover .widget-item-picture {
  opacity: 0;
  visibility: hidden;
}
.widget.c-brands.c-brands-template-4 .widget-item-wrapper:hover .widget-item-hover-text {
  opacity: 1;
  visibility: visible;
}
.widget.c-brands.c-brands-template-4[data-columns="4"] .widget-item-wrapper {
  padding: 20px 30px;
}
@media all and (max-width: 1200px) {
  .widget.c-brands.c-brands-template-4[data-columns="4"] .widget-item-wrapper {
    padding: 28px 40px;
  }
}
@media all and (max-width: 500px) {
  .widget.c-brands.c-brands-template-4[data-columns="4"] .widget-item-wrapper {
    padding: 28px 16px;
  }
}
.widget.c-brands.c-brands-template-4[data-columns="3"] .widget-item-wrapper {
  padding: 30px 70px;
}
@media all and (max-width: 768px) {
  .widget.c-brands.c-brands-template-4[data-columns="3"] .widget-item-wrapper {
    padding: 28px 40px;
  }
}
@media all and (max-width: 500px) {
  .widget.c-brands.c-brands-template-4[data-columns="3"] .widget-item-wrapper {
    padding: 28px 16px;
  }
}
.widget.c-brands.c-brands-template-4[data-columns="5"] .widget-item-wrapper {
  padding: 20px;
}
@media all and (max-width: 1024px) {
  .widget.c-brands.c-brands-template-4[data-columns="5"] .widget-item-wrapper {
    padding: 28px 40px;
  }
}
@media all and (max-width: 500px) {
  .widget.c-brands.c-brands-template-4[data-columns="5"] .widget-item-wrapper {
    padding: 28px 16px;
  }
}
.widget.c-brands.c-brands-template-4 .widget-item-picture-wrap {
  position: relative;
}
.widget.c-brands.c-brands-template-4 .widget-item-picture {
  display: block;
  padding-top: 30%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  -webkit-transition-property: filter, opacity, transform, visibility;
  -moz-transition-property: filter, opacity, transform, visibility;
  -ms-transition-property: filter, opacity, transform, visibility;
  -o-transition-property: filter, opacity, transform, visibility;
  transition-property: filter, opacity, transform, visibility;
  -webkit-transition-duration: 350ms, 350ms, 350ms, 350ms;
  -moz-transition-duration: 350ms, 350ms, 350ms, 350ms;
  -ms-transition-duration: 350ms, 350ms, 350ms, 350ms;
  -o-transition-duration: 350ms, 350ms, 350ms, 350ms;
  transition-duration: 350ms, 350ms, 350ms, 350ms;
}
.widget.c-brands.c-brands-template-4 .widget-item-hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #151515;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  -webkit-transition-property: opacity, visibility;
  -moz-transition-property: opacity, visibility;
  -ms-transition-property: opacity, visibility;
  -o-transition-property: opacity, visibility;
  transition-property: opacity, visibility;
  -webkit-transition-duration: 300ms, 300ms;
  -moz-transition-duration: 300ms, 300ms;
  -ms-transition-duration: 300ms, 300ms;
  -o-transition-duration: 300ms, 300ms;
  transition-duration: 300ms, 300ms;
}
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(4) .widget-item-hover-text,
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(5) .widget-item-hover-text,
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(6) .widget-item-hover-text {
  height: 100%;
}
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(3) .widget-item-hover-text,
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(6) .widget-item-hover-text {
  width: 100%;
}
.widget.c-brands.c-brands-template-4 .widget-item-wrapper:hover .widget-item-picture {
  opacity: 1 !important;
}
.widget.c-brands.c-brands-template-4[data-effect-1=grayscale] .widget-item-picture, .widget.c-brands.c-brands-template-4[data-effect-2=grayscale] .widget-item-picture {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}
.widget.c-brands.c-brands-template-4[data-effect-1=zoom] .widget-item-wrapper:hover .widget-item-picture, .widget.c-brands.c-brands-template-4[data-effect-2=zoom] .widget-item-wrapper:hover .widget-item-picture {
  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  -ms-transform: scale(1.25);
  -o-transform: scale(1.25);
  transform: scale(1.25);
}
.widget.c-brands.c-brands-template-4[data-effect-1=shadow] .widget-item:hover, .widget.c-brands.c-brands-template-4[data-effect-2=shadow] .widget-item:hover {
  border-color: transparent;
}
.widget.c-brands.c-brands-template-4[data-effect-1=shadow] .widget-item-wrapper:hover, .widget.c-brands.c-brands-template-4[data-effect-2=shadow] .widget-item-wrapper:hover {
  -webkit-box-shadow: 0 8px 32px rgba(23, 30, 37, 0.08);
  -moz-box-shadow: 0 8px 32px rgba(23, 30, 37, 0.08);
  box-shadow: 0 8px 32px rgba(23, 30, 37, 0.08);
}
.widget.c-brands.c-brands-template-4 .widget-item-wrapper:hover .widget-item-picture {
  -webkit-filter: none;
  filter: none;
}
.widget.c-brands.c-brands-template-4 .widget-all-container {
  display: none;
}
.widget.c-brands.c-brands-template-4 .widget-all-button {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #808080;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.widget.c-brands.c-brands-template-4 .widget-all-button i {
  display: none;
  font-size: 18px;
}
@media all and (max-width: 550px) {
  .widget.c-brands.c-brands-template-4 .widget-all-container {
    display: block;
  }
  .widget.c-brands.c-brands-template-4 .widget-title.align-center.widget-title-margin {
    margin-left: 20px;
  }
  .widget.c-brands.c-brands-template-4 .widget-all-container.mobile {
    text-align: right;
    width: 20px;
    max-height: 36px;
  }
  .widget.c-brands.c-brands-template-4 .widget-all-container i {
    display: inline-block;
  }
  .widget.c-brands.c-brands-template-4 .widget-button-wrap.mobile {
    display: none;
  }
  .widget.c-brands.c-brands-template-4 .widget-all-container {
    width: 20px;
  }
}
.widget.c-brands.c-brands-template-4 .widget-items.owl-carousel {
  display: flex;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.widget.c-brands.c-brands-template-4 .widget-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 7.5px;
}
.widget.c-brands.c-brands-template-4 .widget-slide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  height: 100%;
  min-height: 200px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid #E52421; /* Внешний бордер остается */
}
.widget.c-brands.c-brands-template-4 .widget-item {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #E52421;
  border-color: #E52421 !important;
  margin-left: -1px;
  margin-top: -1px;
  position: relative;
  border-bottom: 0 !important;
  border-right: 0 !important;
}
.widget.c-brands.c-brands-template-4 .widget-item:hover {
  z-index: 10; /* Поднимаем элемент при наведении, чтобы его бордер был поверх соседних */
}
.widget.c-brands.c-brands-template-4 .widget-item:first-child,
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(2),
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(3) {
  margin-top: -1px;
}
.widget.c-brands.c-brands-template-4 .widget-item:nth-child(3n+1) {
  margin-left: -1px;
}
.widget.c-brands.c-brands-template-4 .widget-item-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.widget.c-brands.c-brands-template-4 .widget-item-picture {
  width: 100%;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}
.widget.c-brands.c-brands-template-4 .widget-slider-navigation {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: end;
  padding: 20px 10px;
}
@media (max-width: 768px) {
  .widget.c-brands.c-brands-template-4 .widget-slider-navigation {
    gap: 0;
  }
}
@media (max-width: 1200px) {
  .widget.c-brands.c-brands-template-4 .widget-slide-grid {
    gap: 10px;
  }
  .widget.c-brands.c-brands-template-4 .widget-slider-button-left {
    left: -15px;
  }
  .widget.c-brands.c-brands-template-4 .widget-slider-button-right {
    right: -15px;
  }
}
@media (max-width: 1023px) {
  .widget.c-brands.c-brands-template-4 .widget-slide-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
  }
  .widget.c-brands.c-brands-template-4 .widget-item-picture {
    height: 80px;
  }
}
@media (max-width: 767px) {
  .widget.c-brands.c-brands-template-4 .widget-slide-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
  }
}
@media (max-width: 449px) {
  .widget.c-brands.c-brands-template-4 .widget-slide-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 8px;
  }
  .widget.c-brands.c-brands-template-4 .widget-item-picture {
    height: 60px;
  }
  .widget.c-brands.c-brands-template-4 .widget-slider-button-left {
    left: -10px;
  }
  .widget.c-brands.c-brands-template-4 .widget-slider-button-right {
    right: -10px;
  }
}
.widget.c-brands.c-brands-template-4 .widget-content {
  position: relative;
  padding: 0 !important;
}
.widget.c-brands.c-brands-template-4 .c-brands-template-4 .widget-item-wrapper {
  padding: 10px;
}
.widget.c-brands.c-brands-template-4 .c-brands.c-brands-template-4 .widget-slider-navigation {
  display: block;
  text-align: right;
  margin-bottom: 15px;
}
.widget.c-brands.c-brands-template-4 .c-brands.c-brands-template-4 .widget-slider-button {
  display: inline-block;
  width: 56px;
  height: 56px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -ms-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.widget.c-brands.c-brands-template-4 .c-brands.c-brands-template-4 .widget-slider-button svg path {
  fill: #000;
}
.widget.c-brands.c-brands-template-4 .c-brands.c-brands-template-4 .widget-slider-button:hover {
  background-color: #E52421;
}
.widget.c-brands.c-brands-template-4 .c-brands.c-brands-template-4 .widget-slider-button:hover svg path {
  fill: #F7EB3F;
}
.widget.c-brands.c-brands-template-4 .c-brands.c-brands-template-4 .widget-slider-button-left {
  margin-right: 5px;
  transform: rotate(180deg);
}

/*# sourceMappingURL=style.css.map */
