@font-face {
    font-family: 'Loos Normal';
    src: url('../fonts/LoosNormal-Regular.woff2') format('woff2'),
         url('../fonts/LoosNormal-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Loos Normal';
    src: url('../fonts/LoosNormal-Medium.woff2') format('woff2'),
         url('../fonts/LoosNormal-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Loos Normal';
    src: url('../fonts/LoosNormal-Bold.woff2') format('woff2'),
         url('../fonts/LoosNormal-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* Основной текст */
body {
    font-family: 'Loos Normal', sans-serif;
    font-weight: 400;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Loos Normal', sans-serif;
    font-weight: 700;
}

/* Верхнее меню */
#sp-header .sp-megamenu-parent > li > a {
    font-family: 'Loos Normal', sans-serif;
    font-weight: 500;
}
.row, 
.sp-row, 
.sppb-row {
    align-items: flex-start !important;
}
.sppb-ajax-contact-status {
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== POPUP OVERLAY ===== */
.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999999;

    /* Центр */
    display: flex;
    justify-content: center;
    align-items: center;

    /* По умолчанию модальное окно НЕ доложно блокировать сайт */
    opacity: 0;
    pointer-events: none; /* <-- ключевой момент */
    transition: opacity 0.25s ease;
}

.custom-modal.show {
    opacity: 1;
    pointer-events: auto; /* включаем клики только когда активно */
}

/* ===== POPUP CONTENT ===== */
.custom-modal-content {
    background: #fff;
    padding: 35px 45px;
    border-radius: 14px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    position: relative;

    box-shadow: 0 20px 40px rgba(0,0,0,0.15),
                0 0 5px rgba(0,0,0,0.08);

    transform: scale(0.85);
    opacity: 0;
    transition: all 0.25s ease;
}

.custom-modal.show .custom-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* ===== ICON ===== */
.custom-modal-icon {
    font-size: 50px;
    color: #2ecc71;
    margin-bottom: 20px;
    line-height: 1;
}

/* ===== CLOSE BUTTON ===== */
.custom-modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: 0.2s;
}

.custom-modal-close:hover {
    color: #000;
}

.sppb-row.sppb-no-gutter {
    align-items: stretch !important;
}
.sppb-col-md-3 {
    display: flex;
}

/* Контейнер картинки */
.sppb-addon-single-image {
    height: 100%;
    width: 100%;
}

.sppb-addon-single-image-container {
    height: 100%;
}
.sppb-addon-single-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 🔑 ключ */
    object-position: center;
    display: block;
    border-radius: 18px;
}
div#sppb-column-addons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}