:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-da9317b *//* ==========================================
   СЕКЦІЯ КАТАЛОГУ
   ========================================== */
.smart-catalog-section {
    background: #110f0e;
    color: #ffffff;
    padding: 140px 5vw 80px 5vw !important;
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
    overflow: visible !important;
}

.catalog-container {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: flex-start;
}

.sidebar-wrapper {
    width: 30%;
    flex-shrink: 0;
}

.mobile-filter-toggle {
    display: none;
    width: 100%;
    background: rgba(248, 244, 238, 0.1);
    border: 1px solid rgba(220, 205, 185, 0.3);
    color: #ffffff;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s;
}

.mobile-filter-toggle:hover {
    background: rgba(248, 244, 238, 0.2);
}

.mobile-filter-toggle.hidden-inline {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.floating-filter-btn {
    display: none;
    position: fixed;
    top: 90px;
    left: 20px;
    width: 46px;
    height: 46px;
    background: #110f0e;
    border: 1px solid rgba(220, 205, 185, 0.4);
    color: #e2d2bd;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s;
}

.floating-filter-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-filter-btn:hover {
    background: #e2d2bd;
    color: #110f0e;
}

#closePopupBtn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2d2bd;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.3s;
}

#closePopupBtn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.apply-filters-btn {
    display: none;
    width: 100%;
    background: #e2d2bd;
    color: #110f0e;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.apply-filters-btn:hover {
    background: #ffffff;
}

.catalog-sidebar {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px; /* Зменшено загальні відступи всередині сайдбару */
    box-sizing: border-box;
}

.filter-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px; /* Зменшено відступ під заголовком */
    color: #e2d2bd;
}

.filter-group {
    margin-bottom: 14px; /* Компактніші відступи між блоками */
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group:last-of-type {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.room-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.room-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.room-btn:hover, .room-btn.active {
    background: #e2d2bd;
    border-color: #e2d2bd;
    color: #110f0e;
    font-weight: 600;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-val {
    font-size: 15px;
    font-weight: 600;
    color: #e2d2bd;
}

.custom-range {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
    margin-top: 6px;
}

.custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #e2d2bd;
    cursor: pointer;
    margin-top: -5px;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px; /* Зменшено відстань між чекбоксами */
}

.toggle-row:last-child {
    margin-bottom: 0;
}

.toggle-text {
    font-size: 13px;
}

.toggle-switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider.round {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 22px;
}

.slider.round:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider.round {
    background-color: #8c6d46;
}

input:checked + .slider.round:before {
    transform: translateX(16px);
}

.reset-btn {
    width: 100%;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}
.reset-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.catalog-results {
    width: 70%;
}

.results-header {
    margin-bottom: 25px;
}

.results-count {
    font-size: 18px;
    font-weight: 600;
    color: #e2d2bd;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: rgba(226, 210, 189, 0.5);
    transform: translateY(-5px);
}

.plan-img-wrap {
    background: #ffffff;
    padding: 30px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.plan-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.plan-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e2d2bd;
    color: #110f0e;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.plan-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.p-stat {
    display: flex;
    flex-direction: column;
}

.p-stat-lbl {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.p-stat-val {
    font-size: 14px;
    font-weight: 600;
    color: #e2d2bd;
}

.plan-btn {
    margin-top: auto;
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #e2d2bd;
    color: #e2d2bd;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.plan-btn:hover {
    background: #e2d2bd;
    color: #110f0e;
}

@media (max-width: 992px) {
    .catalog-container { 
        flex-direction: column; 
    }
    
    .sidebar-wrapper {
        width: 100%;
        position: static !important;
        height: auto !important;
    }

    .mobile-filter-toggle {
        display: flex; 
    }

    .floating-filter-btn {
        display: flex; 
    }

    #closePopupBtn {
        display: block; 
    }

    .apply-filters-btn {
        display: block; 
    }

    .catalog-sidebar { 
        display: none !important; 
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        background: rgba(17, 15, 14, 0.95);
        backdrop-filter: blur(8px);
        z-index: 99999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .catalog-sidebar.open {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }

    .catalog-sidebar.open > * {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .catalog-results { 
        width: 100%; 
    }
}

@media (max-width: 768px) {
    .catalog-grid { 
        grid-template-columns: 1fr !important; 
    }
}/* End custom CSS */