@media (max-width: 768px) {
  #n2-ss-2,
  #n2-ss-2 .n2-ss-slider,
  #n2-ss-2 .n2-ss-slide,
  #n2-ss-2 .n2-ss-slider-1,
  #n2-ss-2 .n2-ss-slider-2,
  #n2-ss-2 .n2-ss-slider-3 {
    height: 33vh !important;
    max-height: 33vh !important;
    min-height: 33vh !important;
  }
  #n2-ss-2 .n2-ss-slide-background {
    height: 100% !important;
  }
  #n2-ss-2 .n2-ss-slide-background img {
    object-fit: cover !important;
    height: 100% !important;
    width: 100% !important;
  }
  #n2-ss-2 .n2-ss-layers-container,
  #n2-ss-2 .n2-ss-section-main-content {
    padding: 0.2em !important;
  }
  #n2-ss-2 .n2-ss-layer:not([data-type="button"]) {
    padding: 0.2em !important;
    margin: 0 !important;
  }
  #n2-ss-2 .n2-ss-layer:not([data-type="button"]),
  #n2-ss-2 .n2-ss-layer:not([data-type="button"]) * {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
}

/* Цены на готовые окна */
.w-tabs.layout_trendy .w-tabs-section-content-h .g-cols.type_default {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: stretch !important;
}
.w-tabs.layout_trendy .w-tabs-section-content-h .vc_col-sm-4 {
  flex: 1 1 0 !important;
  max-width: none !important;
  width: auto !important;
  float: none !important;
}

/* 2-й слайд (id 5) — левая часть фото + текст слева по центру */
@media (max-width: 768px) {
  #n2-ss-2 .n2-ss-slide-5 .n2-ss-section-outer,
  #n2-ss-2 .n2-ss-slide-5 .n2-ss-slide-background {
    background-size: auto 100% !important;
    background-position: 0% 50% !important;
    background-repeat: no-repeat !important;
  }
  #n2-ss-2 .n2-ss-slide-5 .n2-ss-has-maxwidth {
    position: absolute !important;
    top: 50% !important;
    left: 5% !important;
    max-width: 90% !important;
    transform: translateY(-50%) !important;
  }
  #n2-ss-2 .n2-ss-slide-5 #n2-ss-2item4 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7) !important;
  }

  /* 3-й слайд (id 16) — показать левую часть фото (баннер + окно) */
  #n2-ss-2 .n2-ss-slide-16 .n2-ss-slide-background img {
    object-fit: cover !important;
    object-position: 0% 50% !important;
    width: 100% !important;
    height: 100% !important;
  }
}
