

/* Start:/local/components/bitrix/breadcrumb/templates/yellow/style.css?1782705470446*/
/*.breadcrumbs*/

.breadcrumbs {
    margin-top: 40px;
    margin-bottom: 20px
}

.breadcrumbs {
    width: 100%;
    max-width: -moz-max-content;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    flex-wrap: wrap;
    vertical-align: center;
    grid-row-gap: 20px;
    margin-top: 50px;
    margin-bottom: 30px
}

@media(min-width:361px) {
    .breadcrumbs {
        max-width: max-content;
    }
}
/* End */


/* Start:/local/components/profmaster/title/templates/.default/style.css?1784015092519*/
@media (min-width: 1000px) and (max-width: 1200px) {
    h1 {
        font-size: 40px !important;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    h1 {
        font-size: 45px !important;
    }
}


@media (min-width: 0px) and (max-width: 768px) {
    h1 {
        font-size: 40px !important;
    }
}

@media (min-width: 1475px) and (max-width: 1500px) {
    .hero-2__content {
        width: 45%;
    }

    .hero-2__banner {
        width: 55%;
    }

    .hero-2__panel {
        width: 75%;
    }


}
/* End */


/* Start:/local/components/profmaster/catalog/templates/scaffolding/style.css?1780901153664*/
/* .product-listing__products {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        align-items: stretch;
    } */

.product-listing__product {
    display: flex;
}

.product-listing__product .product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 15px;
}

.product-listing__product .product-card__header {
    flex-grow: 1;
}

.product-listing__product .product-card__footer {
    margin-top: auto;
}

.product-listing__product .product-card h3 {
    min-height: 0;
}

@media (max-width: 767.5px) {
    
}

@media (max-width: 479.5px) {
    
}

/* End */


/* Start:/local/components/profmaster/calc-leca-all/templates/.default/style.css?17792634625801*/
#lesa-pills.nav-pills .nav-link.active,
#lesa-pills.nav-pills .show>.nav-link {
  cursor: default;
  background: #fca000;
  border: 1px solid #fca000;
  color: #fff;
}

.calculation-form {
  background: #fccb06;
  border-radius: 8px;
  color: #231f20;
  padding: 25px 45px;
}

.calculation-form a {
  font-size: 20px;
}

.calculation-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .calculation-form {
    padding: 25px 34px;
  }

  .calculation-form h3 {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .calculation-form {
    padding: 25px 30px;
  }
}

.calculation-form .calc-lesa {
  font-size: 15px;
}

.calculation-form .calc-lesa label {
  line-height: 1.2;
  font-size: 1rem;
  margin-bottom: 5px;
  position: relative;
  right: 10px;
  top: 1px;
}

.calculation-form .calc-lesa .number__label {
  padding: 6px 27px 0;
  border: 1px solid #bababa;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  max-width: 100%;
  width: 100%;
  background-color: #fff;
  font-size: 12px;
  color: #848484;
}

.calc-lesa input:not(.form-check-input) {
  padding: 11px 23px;
  border: 1px solid #bababa;
  border-radius: 8px;
  max-width: 100%;
  width: 100%;
  margin-top: 3px;
}

.calc-lesa .number__label+input {
  padding: 11px 23px;
  border: 1px solid #bababa;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-width: 100%;
  width: 100%;
  margin-top: -3px;
}

.calc__result-val>div:last-child {
  font-size: 14px;
}

.modal_calc_lesa span {
  width: 19px;
  height: 19px;
  background-color: #fca000;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  color: initial;
}

#modal_calc_lesa.fancybox-content {
  width: 1000px;
  max-width: 90%;
}

#modal_calc_lesa .table div {
  display: inline-block;
}

#reset,
#rzs {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.table div,
.calc__price div[class^="col"] div,
.calc__summary div[class^="col"] div,
.calc__consumables div[class^="col"] div {
  display: inline-block;
}

#summa {
  text-decoration: line-through;
  font-size: 12px;
  font-weight: 300;
}

#stoimost_itog,
#stoimost_mes_itog {
  color: green;
}

#lesa-pills.nav-pills button.nav-link,
#lesa-pills.nav-pills a.nav-link {
  /* border: 1px solid #fca000; */
}

#lesa-pills.nav-pills .nav-link:hover {
  /* background: #ff8718; */
  /* border-color: #ff8718; */
  /* color: #fff; */
}

.form-text {
  color: inherit;
}

.calc__result-title {
  font-weight: 500;
}

.calc__result-title,
.calc__result-val {
  display: block;
  width: 100%;
}

.form-control.is-valid,
.was-validated .form-control:valid,
.form-control.is-invalid,
.was-validated .form-control:invalid {
  padding-right: 1rem;
}

@media (max-width: 768px) {

  #lesa-pills.nav-pills .nav-link.active,
  .nav-link,
  .nav-item {
    width: 100%;
  }
}

@media (max-width: 576px) {

  .calc__price .table-thead,
  .calc__price .table-tbody {
    font-size: 12px;
  }
}

.arenda-cols,
#stoimost,
#stoimost_itog {
  font-size: 18px;
  font-weight: 700;
}

.calculation-form .form-control {
  background-position: 15px !important;
  padding-left: 35px !important;
  padding-right: 15px !important;
}

.calculation-form .form-control,
.calculation-form .form-control:focus {
  background-color: transparent;
}

.calculation-form .form-check {
  padding-left: 2.2rem;
  display: inline;
}

.calculation-form .form-check .form-check-input {
  float: unset;
  background-color: transparent;
  margin-right: 15px;
}

.calculation-form .form-check-input.is-valid:checked,
.calculation-form .was-validated .form-check-input:valid:checked {
  background-color: #231f20;
}

.calculation-form .bg-round-dark {
  background-color: #efc00e;
  border-radius: 20px;
}

.calculation-form input[type=number]::-webkit-outer-spin-button,
.calculation-form input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom-number input[type=number] {
  width: 100%;
  padding-right: 35px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.custom-number input[type=number]::-webkit-outer-spin-button,
.custom-number input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom-number-controls {
  position: absolute;
  right: 1px;
  /* top: 1px; */
  bottom: 32px;
  width: 30px;
  display: flex;
  flex-direction: column;
}

.custom-number-control {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background 0.2s;
  padding: 0;
}

.custom-number-control img {
  width: 12px;
}

.custom-number-control.up {
  position: relative;
  bottom: 0px;
}

.custom-number-control.down {
  position: relative;
  top: 5px;
}

.fix .custom-number-controls {
  top: 10px;
  right: 13px;
}

.fix .custom-number-control.down {
  bottom: 0;
}

.custom-number {
  padding-right: 2px;
  padding-left: 2px;
  position: relative;
}

.calc__result-val {
  font-size: 22px;
  white-space: nowrap;
  font-weight: 700;
  margin-top: 10px;
}

.calc__result_main-title {
  font-size: 30px;
  font-weight: 700;
}

#stoimost_itog,
#stoimost_mes_itog {
  color: #231f20;
}

#lesapricepdf {
  border: 2px solid #000;
  padding: 5px;
  text-align: center;
  border-radius: 6px;
}

#lesapricepdf span {
  position: relative;
  bottom: 6px;
  left: 7px;
  font-weight: 700;
  font-size: 16px;
}

.calculation-form .modalForm-5 {
  width: 100%;
  background-color: #000;
}

.calculation-form .modalForm-5:hover {
  background-color: #000;
  opacity: 0.8;
}

.warnning {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

.table-thead {
  padding: 6px 10px;
}


.nav-link {
  border: 0px !important;
}

/* .nav-link:hover {

} */


.nav-link.active {
  background: #ffab18 !important;
}
/* End */


/* Start:/local/components/profmaster/actions/templates/mozaic/style.css?17853476588218*/
.action_button:hover {
    /* background: #fccb06 !important; */
    /* color: #fff; */
}

.stocks__inner__4 {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 170px);
    grid-template-areas: 'tt tx a1 a3' 'mn mn a2 a4' 'mn mn cs a5' 'a9 a8 a7 a6';
}

.stocks__inner__4 {
    grid-template-rows: repeat(4, 1fr);
    grid-template-areas: 'tt tt tx tx' 'mn mn mn 0' 'mn mn mn cs' 'a1 a1 a2 a2' 'a3 a4 a5 a6' 'a7 a8 a9 a0';
    align-items: center;
}

.stocks__inner__3 {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 170px);
    grid-template-areas: 'tt tx a1 a2' 'mn mn a3 a4' 'mn mn cs a5';
}

.stocks__title {
    font-size: calc(1.325rem + 0.9vw);
    grid-area: tt;
}

.stocks__text {
    grid-area: tx;
    color: rgba(35, 31, 32, 0.5);
    justify-content: center;
    padding: 0 30px;
}

.stocks__text,
.stocks__header {
    display: flex;
    align-items: center;
}

.stocks__header {
    grid-area: tt;
}

.stocks__header > h2 {
    font-size: 44px;
}

.stocks__controls {
    grid-area: cs;
    display: flex;
    grid-gap: 8px;
    align-items: flex-end;
    justify-content: flex-start;
}

.stocks__nav {
    margin-top: 12px;
    display: flex;
    grid-gap: 12px;
    justify-content: center;
}

.stocks__card[data-index='0'] {
    grid-area: mn;
}

.stocks__card[data-index='0'] .stock_type_decoration {
    background: #fccb06 url(/assets/main-promo-decoration-ZPc1EhNz.png) center/cover no-repeat;
}

.stocks__card[data-index='1'] {
    grid-area: a1;
}

.stocks__card[data-index='2'] {
    grid-area: a2;
}

.stocks__card[data-index='3'] {
    grid-area: a3;
}

.stocks__card[data-index='4'] {
    grid-area: a4;
}

.stocks__card[data-index='5'] {
    grid-area: a5;
}

.stocks__card[data-index='6'] {
    grid-area: a6;
}

.stocks__card[data-index='7'] {
    grid-area: a7;
}

.stocks__card[data-index='8'] {
    grid-area: a8;
}

.stocks__card[data-index='9'] {
    grid-area: a9;
}

.stocks .stocks__card_active {
    z-index: 5;
}

.stocks .stock {
    transition: all 0.25s ease-in-out;
}

.stocks .stock__content-big {
    color: #231f20;
}

.stocks .stock_type_default,
.stocks .stock_type_big {
    will-change: transform, background-color, padding, opacity;
}

.stock__header .label_type_medium {
    padding: 15px 20px;
    border-radius: 10px;
}

.stock__header .label_variant_bluer {
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #fff !important;
    font-weight: 500;
    z-index: 2;
}

.stock_type_default .label__text {
    color: #000;
}

.stock_type_default .label {
    background: #eaeaea;
}

.stock_type_default {
    background: #fff !important;
}

.stock__title_big {
    color: #fff;
}

.stock_type_big .stock__icon {
    display: none;
}

.stock__title_big .label__text {
    color: #fff;
}

.action_button {
    background: #fccb06;
    color: #231f20;
    height: 53px;
    padding: 10px 15px;
    border-radius: 10px;
    line-height: 100%;
    max-width: 200px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.action_button:hover {
    background: #ffab18;
    color:#000;
}

.stock__content-description {
    color: var(--bs-white);
    padding: 15px 0px;
}

.stocks .stock__icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 50px;
    height: 50px;
    transform: rotate(-45deg);
}

/* ................................................................... */

/* 
.stocks__grid {
    display: grid;
    gap: 20px;
}

.stocks__grid--3cols {
    grid-template-columns: repeat(3, 1fr);
}

.stocks__grid--4cols {
    grid-template-columns: repeat(4, 1fr);
} */

.container > .formwork-page__stocks > .stocks > .stocks__inner > .container {
    margin: 0;
}

/* ---- Mobile slider (hidden by default) ---- */
.stocks__mob {
    display: none;
}

.stocks__mob-header {
    display: none;
}

.stocks__mob .carousel .swiper-slide {
    height: auto;
}

/* MEDIA */
@media (max-width: 1279.5px) {
    .stocks__inner__3 {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 170px);
        grid-template-areas: 'tt tx a1' 'mn mn a2' 'mn mn cs' 'a3 a4 a5';
    }
    h3.stock__title {
        font-size: 25px;
    }
}

@media (max-width: 999.5px) {
    .stocks__card[data-index='3'],
    .stocks__card[data-index='4'],
    .stocks__card[data-index='5'],
    .stocks__card[data-index='6'],
    .stocks__card[data-index='7'],
    .stocks__card[data-index='8'],
    .stocks__card[data-index='9'] {
        opacity: 0;
        display: none;
    }

    .stocks.stocks__main {
        margin: 0;
        height: auto;
        min-height: 690px;
        padding-bottom: 0;
    }
}

@media (max-width: 767.5px) {
    .stocks__card[data-index='1'],
    .stocks__card[data-index='2'] {
        opacity: 0;
        display: none;
    }

    .stocks__inner__4 {
        grid-template-rows: auto;
        grid-template-columns: 100%;
        grid-template-areas: 'tt' 'tx' 'mn' 'cs';
    }

    .stocks.stocks__main {
        min-height: 616px;
    }
}

@media (max-width: 479.5px) {
    .scaffolding-page__stocks {
        margin-inline: 10px;
    }

    .container > .scaffolding-page__stocks .container,
    .container > .scaffolding-page__stocks .container > .scaffolding-page__stocks {
        margin: 0;
    }

    /* Hide desktop grid */
    .stocks__main {
        display: none;
    }

    /* Show mobile slider */
    .stocks__mob {
        display: flex;
        flex-direction: column;
        margin-top: 24px;
    }

    .stocks__mob-header {
        display: block;
    }

    .stocks__mob-header h2 {
        font-size: 34px;
        margin-bottom: 8px;
    }

    .stocks__mob-header .stocks__text {
        display: block;
        padding: 0;
        margin-bottom: 10px;
    }

    .stocks__mob .carousel .swiper-slide .stock {
        min-height: 420px;
        border-radius: 20px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .stocks__mob .carousel .swiper-slide .stock__icon {
        display: flex !important;
    }

    .stocks__mob .carousel .swiper-slide .stock__content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .stocks__mob .carousel__mobile-buttons {
        margin-top: 16px;
    }
}

.container > .scaffolding-page__stocks > .stocks > .stocks__inner > .container {
    margin: 0;
}

/* Стили из файла \catalogs\scaffolding\index.php */
.label_type_medium {
    padding: 15px 20px;
    border-radius: 10px;
}

.label_variant_bluer {
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #fff !important;
    font-weight: 500;
    z-index: 2;
}

.label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    height: -moz-fit-content;
    height: fit-content;
}

.stock_type_default .label__text {
    color: #000;
}

.stock_type_default .label {
    background: #eaeaea;
}

.stock_type_default {
    background: #fff !important;
}

.stock__title_big {
    color: #fff;
}

.stock_type_big .stock__icon {
    display: none;
}

.stock__title_big .label__text {
    color: #fff;
}

.action_button {
    background: #fccb06;
    color: #231f20;
    height: 53px;
    padding: 10px 15px;
    border-radius: 10px;
    line-height: 100%;
    max-width: 200px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.action_button:hover {
    background: #ffab18;
}

.stock__content-description {
    color: #fff;
    padding: 10px 0px;
}

.stocks .stock__icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 50px;
    height: 50px;
    transform: rotate(-45deg);
}
/* End */


/* Start:/local/components/profmaster/tabs/templates/.default/style.css?17888530941300*/
.tab ul li {
    list-style-type: disc !important;
    margin: 10px 30px !important;
    line-height: 1.5;
}

.tab A {
    text-decoration: underline;
}


.product-pricing A {
    display: contents;
}

.product-pricing P {
    padding: 10px 0px;
}

.tab {
    padding: 20px 30px;
}

@media (max-width: 768px) {
    .tab {
        padding: 16px;
    }
}

@media (min-width:0px) and (max-width:899.9px) {
    
    .zenaname {
        color:#000;
    }
    .zenamobile {
        display: block;
    }

    .zenadesktop {
        display: none;
    }

    .table-thead-v2 {
        font-size: 14px;
        font-weight: 600;
        background: #f7f7f7;
        border-radius: 8px 8px 0 0;
        color: #FFFFFF;
        padding: 20px 20px;
        margin: 5px 0 0 0px;
        border-width: 1px 1px 0px 1px;
        border-style: solid;
        border-color: #eaeaea;
    }

    .table-tbody-v2 {
        font-size: 14px;
        font-weight: 600;
        padding: 0 20px;
        border: 1px solid #eaeaea;
        border-radius: 8px;
        border-radius: 0px 0px 8px 8px;
    }

    .table-tbody-v2 .col {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


@media (min-width:900px) {
    .zenamobile {
        display: none;
    }

    .zenadesktop {
        display: block;
    }
}
/* End */


/* Start:/local/components/profmaster/certs/templates/lite/style.css?17840150921743*/
.grey_certificate {
    background: #f7f7f7 !important;
    border:5px solid #fff;
    border-radius:20px !important;
    /* padding:0px 5px; */
}
.grey_certificate:hover {
    background: #fccb06 !important;
}


/* Затемненный фон */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

/* Контент попапа */
.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Изображение */
.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
}

/* Кнопка закрытия */
.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fccb06;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 20px;
}

.popup-close:hover {
    background-color: white;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .popup-close {
        top: -50px;
        right: 10px;
    }
}

/* Стили для сертификатов */
.certificate__title {
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    height: 4.8em;
    margin: 0;
    padding-right: 40px;
}
/* End */


/* Start:/local/components/profmaster/parts/templates/.default/style.css?1779263462340*/
.product-card__link {
    display: block;
    text-decoration: none;
}

.product-card__title-link {
    text-decoration: none;
    color: #000;
    display: inline-block;
}

.product-card__title-link:hover {
    text-decoration: underline;
    text-decoration-color: #000;
}

.product-card__title-link h5 {
    color: #000;
    margin: 0;
}
/* End */


/* Start:/local/components/profmaster/advantages/templates/lesa/style.css?1779263462880*/
                    .dotted {
                        position: relative;
                        border-radius: 30px;
                        background: #fff;
                        padding: 20px;
                        width: 100%;
                        height: 100%;

                    }

                    .dotted::before {
                        content: '';
                        position: absolute;
                        top: 0px;
                        left: 0px;
                        right: 0px;
                        bottom: 0px;
                        border-radius: inherit;
                        border: 2px dashed #e9e9e9;
                        mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
                        mask-composite: exclude;
                        pointer-events: none;
                    }
/* End */


/* Start:/local/components/profmaster/reviews/templates/.default/style.css?17792634621265*/
/* Затемненный фон */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

/* Контент попапа */
.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Изображение */
.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
}

/* Кнопка закрытия */
.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fccb06;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 20px;
}

.popup-close:hover {
    background-color: white;
}
.slide iframe {
    width: 100%;
    height: 100%;
}
/* Для мобильных устройств */
@media (max-width: 768px) {
    .popup-close {
        top: -50px;
        right: 10px;
    }
}
/* End */


/* Start:/local/components/profmaster/cams-gallery/templates/.default/style.css?17792634621265*/
/* Затемненный фон */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

/* Контент попапа */
.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Изображение */
.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
}

/* Кнопка закрытия */
.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fccb06;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 20px;
}

.popup-close:hover {
    background-color: white;
}
.slide iframe {
    width: 100%;
    height: 100%;
}
/* Для мобильных устройств */
@media (max-width: 768px) {
    .popup-close {
        top: -50px;
        right: 10px;
    }
}
/* End */


/* Start:/local/components/profmaster/objects/templates/.default/style.css?17888530946071*/
:root {
    --space-content: 100px;
}
/* Затемненный фон */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

/* Контент попапа */
.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Изображение */
.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
}

/* Кнопка закрытия */
.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fccb06;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 20px;
}

.popup-close:hover {
    background-color: white;
}

.our-projects {
    margin-top: var(--space-content);
}

@media (max-width: 1279.5px) {
    .our-projects .project-card__body {
        min-height: 0;
    }

    .our-projects .project-card__content {
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }

    .our-projects .project-card__content h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .our-projects .project-card__text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    .our-projects .project-card__body > .button {
        flex-shrink: 0;
    }
}

@media (max-width: 999.5px) {
    .our-projects .project-card__text {
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }
}

/* Для мобильных устройств */
@media (max-width: 1279.5px) {
    :root {
        --space-content: 80px;
    }
}
@media (max-width: 768px) {
    .popup-close {
        top: -50px;
        right: 10px;
    }
}

@media (max-width: 999.5px) {
    :root {
        --space-content: 64px;
    }
}

/* Текст описания в карточке объекта не обрезается на уровне PHP,
   а визуально «уходит» в белый градиент только на мобильной версии
   (<=767.5px — мобильный брейкпоинт сайта).
   Полный текст остаётся в DOM (доступен в модальном окне). */
@media (max-width: 767.5px) {
    .project-card__text {
        position: relative;
        height: 112px;
        overflow: hidden;
    }

    .project-card__text::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 48px;
        background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 100%);
        pointer-events: none;
    }
}

/* Модальное окно объекта */
.object-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(35, 31, 32, 0.5);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}

.object-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    padding: 30px 50px 30px 30px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.object-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #231f20;
}

.object-modal-content {
    display: flex;
    flex: 1;
    gap: 20px;
    min-height: 0;
    max-height: calc(90vh - 60px);
    overflow-x: hidden;
    overflow-y: auto;
}

.object-modal-col1 {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.object-modal-col2 {
    flex: 0 0 min(500px, 45%);
    min-width: 0;
}

.object-modal-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    border-radius: 10px;
}

.object-modal-col3 {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.object-modal-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.3;
}

.object-modal-description {
    margin: 0 0 auto;
    color: #231f2080;
    overflow-wrap: break-word;
    word-break: break-word;
}

.object-modal__cta {
    display: flex;
    width: 100%;
    margin-top: 20px;
    text-decoration: none;
}

.object-modal__cta .button__text {
    width: 100%;
    text-align: center;
}

.object-modal-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    border-radius: 10px;
    opacity: 0.5;
}

.object-modal-thumb.is-active {
    opacity: 1;
}

@media (max-width: 999.5px) {
    .object-modal {
        padding: 24px 44px 24px 20px;
    }

    .object-modal-content {
        flex-direction: column;
    }

    .object-modal-col1 {
        flex: none;
        flex-direction: row;
        overflow-x: auto;
    }

    .object-modal-col2 {
        flex: none;
        width: 100%;
    }

    .object-modal-img {
        max-height: 280px;
    }
}

@media (max-width: 767.5px) {
    .object-modal-overlay {
        padding: 12px;
    }

    .object-modal {
        width: 100%;
        padding: 20px 40px 20px 16px;
        border-radius: 16px;
    }

    .object-modal-title {
        font-size: 20px;
    }

    .object-modal-close {
        top: 12px;
        right: 12px;
    }
}

/* End */


/* Start:/local/components/profmaster/blog/templates/.default/style.css?17815056081434*/
/* Затемненный фон */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

/* Контент попапа */
.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Изображение */
.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
}

/* Кнопка закрытия */
.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fccb06;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 20px;
}

.popup-close:hover {
    background-color: white;
}

/* Для мобильных устройств */
@media (max-width: 1279.5px) {
    section.news-preview {
        padding-bottom: 80px;
    }
}

@media (max-width: 767.5px) {
    .popup-close {
        top: -50px;
        right: 10px;
    }
    section.news-preview {
        padding-bottom: 64px;
    }
    .carousel__header h2 {
        font-size: 34px;
    }
}

/* End */
/* /local/components/bitrix/breadcrumb/templates/yellow/style.css?1782705470446 */
/* /local/components/profmaster/title/templates/.default/style.css?1784015092519 */
/* /local/components/profmaster/catalog/templates/scaffolding/style.css?1780901153664 */
/* /local/components/profmaster/calc-leca-all/templates/.default/style.css?17792634625801 */
/* /local/components/profmaster/actions/templates/mozaic/style.css?17853476588218 */
/* /local/components/profmaster/tabs/templates/.default/style.css?17888530941300 */
/* /local/components/profmaster/certs/templates/lite/style.css?17840150921743 */
/* /local/components/profmaster/parts/templates/.default/style.css?1779263462340 */
/* /local/components/profmaster/advantages/templates/lesa/style.css?1779263462880 */
/* /local/components/profmaster/reviews/templates/.default/style.css?17792634621265 */
/* /local/components/profmaster/cams-gallery/templates/.default/style.css?17792634621265 */
/* /local/components/profmaster/objects/templates/.default/style.css?17888530946071 */
/* /local/components/profmaster/blog/templates/.default/style.css?17815056081434 */
