:root{
    --_font---font-family: Geist, sans-serif;
    --_color---black: #000;
    --_color---white: white;
    --_color---black-text: #222;
    
    --_color---gray-text: #5c5c5c;
    --_color---white-stroke: #e3e8ef;
    --_color---white-grey: #d4d4d4;
    --_color---white-bg: #fafafa;
    --_color---yellow: #ffc300;
    --black-hover: #0006;
    
    --blue:#7CCBF3;
    --yellow:#FFD24D;
    --text:#334155;
    --muted:#64748B;
    --bg:#F8FAFC;
    
    --color_1: #5faee8;
    --color_2: #FFD24D;
    
    --baby-blue: #5faee8;
    --baby-blue-hover: #4a9bd9;   
    --baby-blue-active: #3d8bc7;  
    --baby-blue-shadow: rgba(95, 174, 232, 0.4);
}
a {
    color: rgb(95 174 232);
    text-decoration: underline;
}
a:hover{
    text-decoration: none;
}
.btn {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
}

.btn-primary {

    background-color: var(--baby-blue) !important;
    border-color: var(--baby-blue) !important;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


.btn-primary:hover {
    background-color: var(--baby-blue-hover) !important;
    border-color: var(--baby-blue-hover) !important;
}


.btn-primary:active, 
.btn-primary:focus {
    background-color: var(--baby-blue-active) !important;
    border-color: var(--baby-blue-active) !important;
}


a.text-primary {
    color: var(--baby-blue) !important;
    transition: color 0.2s;
}

a.text-primary:hover {
    color: var(--baby-blue-hover) !important;
}
body {
    font-family: 'Montserrat', sans-serif;
    background:var(--bg);
    color:var(--text);
    transition:.3s;
    font-size: 14px;
    line-height: 1.4;
}
body.dark{
 --bg:#0F172A;
 --text:#E2E8F0;
 --muted:#94A3B8;
}

.form-control {
    font-size: 14px;
}
.container {
  max-width: 1650px;
  margin-left: auto;
  margin-right: auto;
}
header{
    padding: 15px;
    margin-bottom: 20px;
}
.logo{
    font-family: Montserrat, sans-serif;
    color: var(--_color---black-text);
    font-size: 26px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0 5px;
}
.color_1{
    color: var(--color_1);
}
.color_2{
    color: var(--color_2);
}

.navbar-expand-lg .nav .nav-link {
    color: #5c5c5c;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    padding: 5px 20px;
}
.navbar-expand-lg .nav .nav-link:hover{
    color: var(--color_1);
}
ul.lang {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.lang a{
    font-weight: 500;
    color: var(--_color---gray-text);
    text-decoration: none;
    font-size: 14px;
}
ul.lang a.active, ul.lang a:hover{
    color: var(--color_1);
}
.lang_wr {
    padding: 0.375rem 0.75rem;
    border: 1px solid #5c5c5c;
    border-radius: 0.375rem;
}
.right_header {
    display: flex;
    align-items: center;
    gap: 0 20px;
    justify-content: end;
}
.section_block{
    margin-bottom: 40px;
}
.hero_well {
    position: relative;
    padding: 50px;
    border-radius: 16px;
    justify-content: space-between;
    align-items: flex-end;
    height: 638px;
    display: flex;
    overflow: clip;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero_well:after{
    content: '';
    background-image: linear-gradient(#0000 16%, #000000a6);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero_well_description {
    width: 55%;
    position: relative;
    z-index: 2;
    color: var(--_color---white);
}
.hero_well_title{
    font-size: clamp(32px, 4vw + 1rem, 60px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero_well_text {
    font-size: clamp(16px, 1.5vw + 0.75rem, 30px);
    line-height: 1.2;
    font-weight: 100;
    text-transform: uppercase;
}
.newsletter_module {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}
.newslettrer_block {
    background: #1e293b;
    padding: 30px 0;
    color: #fff;
}
.agree_block_text {
    font-size: 12px;
}
footer{
    background: #1E293B;
    padding: 30px 0;
    border-top: 1px solid #6c7889;
}
.footer_title {
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color_1);
}
.footer_title a{
    color: var(--color_1);
    text-decoration: none;
}
.wr_footer_menu ul li a {
    color: var(--_color---white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0 10px;
    font-size: 14px;
    font-weight: 500;
}
.wr_footer_menu ul li a:hover{
    color: var(--color_1);
}
.menu_flex {
    display: flex;
    align-items: start;
    gap: 20px;
    justify-content: space-between;
}
.wr_footer_menu ul {
    list-style: none;
    padding-left: 10px;
    line-height: 2;
}
.dev_copy{
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #6c7889;
    font-size: 14px;
    color: #6c7889;
}
.footer_desc {
    color: #fff;
}

.form-check-input:checked {
    background-color: #5faee8 !important;
    border-color: #5faee8 !important;
}


.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(95, 174, 232, 0.2) !important;
    border-color: rgba(95, 174, 232, 0.5) !important;
}


.cursor-pointer {
    cursor: pointer;
}


.agree_block a:hover {
    color: #4a9bd9 !important;
    border-bottom-style: solid !important;
}


.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0, 0, 0, 0.25)'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.ul-gal, .feature-list {
    list-style: none;
    padding: 0;
}
.ul-gal li, .feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.ul-gal li::before, .feature-list li::before{
    content: "\F272"; 
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: #5faee8; 
    font-size: 1.2rem;
}
.theme-toggle {
    font-size: 20px;
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.theme-toggle:hover {
    opacity: .6;
}
.theme-icon.bi-moon-stars {
    color: var(--color_1);
}
.theme-icon.bi-sun-fill {
    color: var(--color_2)
}
body.dark .lang svg{
    fill: var(--_color---white);
}
body.dark ul.lang a,
body.dark .lang_wr{
    color: var(--_color---white);
    border-color: var(--_color---white);
}
body.dark ul.lang a.active, body.dark ul.lang a:hover{
    color: var(--color_2);
}
body.dark .navbar-expand-lg .nav .nav-link{
    color: var(--_color---white);
}
body.dark .navbar-expand-lg .nav .nav-link:hover{
    color: var(--color_2);
}
body.dark header,
body.dark .newslettrer_block{
    background: #1E293B;
}
body.dark .newslettrer_block{
    border-top: 1px solid #6c7889;
}

/* ==========================================================================
   ОСНОВНОЙ КОД NAVBAR (Остается без изменений, добавлены флекс-свойства для десктопа)
   ========================================================================== */

.modern-navbar {
    display: flex;
    align-items: center;
    gap: 6px; 
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center; 
}

.modern-nav-item {
    position: relative;
}

.modern-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 16px; 
    border-radius: 16px;
    color: #0F172A;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: .3s ease;
    white-space: nowrap; 
}

.modern-nav-link:hover {
    background: #F1F5F9;
    color: #0284C7;
}

.modern-nav-link.active,
.modern-nav-link.current {
    background: #E0F2FE;
    color: #0284C7;
}

.nav-arrow {
    transition: .3s;
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.modern-subnav {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 14px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s ease;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    z-index: 1000;
}

.has-dropdown:hover > .modern-subnav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-subnav-item + .modern-subnav-item {
    margin-top: 4px;
}

.modern-subnav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 16px;
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

.modern-subnav-link:hover {
    background: #F8FAFC;
    color: #0284C7;
    transform: translateX(4px);
}


body.dark .modern-nav-link { color: #F8FAFC; }
body.dark .modern-nav-link:hover { background: #1E293B; color: #7CCBF3; }
body.dark .modern-nav-link.active { background: #0F172A; }
body.dark .modern-subnav { background: #1E293B; border-color: #334155; }
body.dark .modern-subnav-link { color: #CBD5E1; }
body.dark .modern-subnav-link:hover { background: #0F172A; color: #7CCBF3; }

body.dark .navbar-toggler svg path{
    stroke: #fff;
}
/* ==========================================================================
   АДАПТИВНОСТЬ И ОПТИМИЗАЦИЯ ДЛЯ ЭКРАНОВ 1200px - 1450px
   ========================================================================== */

@media (min-width: 1201px) and (max-width: 1450px) {
    .modern-nav-link {
        padding: 0 10px; 
        font-size: 14px;  
        gap: 4px;
    }
    .modern-navbar {
        gap: 4px;
    }
}
/* ==========================================================================
   МОБИЛЬНОЕ МЕНЮ (Слайд слева СТРОГО до 1200px)
   ========================================================================== */


@media (min-width: 1201px) {
    .navbar-toggler {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    
    .collapse.navbar-collapse {
        display: flex !important; 
    }
    
    .navbar-toggler {
        display: flex !important;
        padding: 0;
        border: none;
        background: transparent;
        z-index: 1001;
        justify-content: end;
        width: 100%;
    }
    
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;          
        max-width: 85vw;       
        height: 100vh;
        background: #fff;
        padding: 15px 15px 20px 15px; 
        z-index: 1000;
        
        
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        
        flex-direction: column;
        overflow-y: auto;     
    }
    
    
    body.dark .navbar-collapse {
        background: #1E293B;
    }

    
    .navbar-collapse.show {
        transform: translateX(0) !important;
    }

    
    .modern-navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .modern-nav-link {
        justify-content: space-between;
        width: 100%;
        white-space: normal;
        font-size: 14px;
        height: 38px;
        padding: 12px 16px;
    }
    .modern-subnav-link {
        min-height: 100%;
        padding: 5px 16px;
        font-size: 14px;
    }
    
    .modern-subnav {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 8px;
        padding: 8px;
        box-shadow: none;
        border: 1px solid #E2E8F0;
        background: #F8FAFC;
        
        display: none; 
    }
    body.dark .modern-subnav {
        background: #0F172A;
        border-color: #334155;
    }

    
    .has-dropdown.open > .modern-subnav {
        display: block;
    }
    
    .has-dropdown.open .nav-arrow {
        transform: rotate(180deg);
    }
    
    
    .has-dropdown:hover > .modern-subnav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    
    .navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px); 
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    .navbar-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }
}


/* ========================================
   CARD
======================================== */

.mbp-card{
    position:relative;

    height:100%;

    background:#fff;

    border:1px solid #E2E8F0;
    border-radius:16px;

    overflow:hidden;

    transition:.35s ease;

    box-shadow:
        0 10px 30px rgba(15,23,42,.04);
}

.mbp-card:hover{
    transform:translateY(-6px);

    box-shadow:
        0 25px 60px rgba(15,23,42,.10);
}

/* ========================================
   IMAGE
======================================== */

.mbp-card__media{
    position:relative;
}

.mbp-card__image{
    width:100%;
    height:280px;

    object-fit:cover;

    transition:1s ease;
}

.mbp-card:hover .mbp-card__image{
    transform:scale(1.04);
}

/* ========================================
   BADGES
======================================== */

.mbp-card__badges{
    position:absolute;
    top: 5px;
    left: 5px;
}

/* ========================================
   PRICE
======================================== */

.mbp-card__price{
    position:absolute;
    left:20px;
    bottom:20px;

    display:flex;
    align-items:center;
    gap:8px;

    padding:10px;

    border-radius:5px;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(12px);

    box-shadow:
        0 10px 30px rgba(15,23,42,.08);
}

.mbp-card__price-label{
    font-size:13px;
    font-weight:600;

    color:#64748B;
}

.mbp-card__price-value{
    font-size:18px;
    font-weight:800;

    color:#0F172A;
}

/* ========================================
   CONTENT
======================================== */

.mbp-card__content{
    padding:15px;
}

/* ========================================
   HEADER
======================================== */

.mbp-card__header{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.mbp-card__title{
    margin:0 0 10px;
    font-size: 20px;
    font-weight:800;
    line-height:1.1;
}

.mbp-card__title a{
    color:#0F172A;
    text-decoration:none;

    transition:.3s;
}

.mbp-card__title a:hover{
    color:#0EA5E9;
}

.mbp-card__location{
    display:flex;
    align-items:center;
    gap:8px;

    font-size:14px;
    font-weight:600;

    color:#64748B;
}

/* ========================================
   RATING
======================================== */

.mbp-rating{
    width: 75px;
    height: 60px;
    padding: 5px;
    border-radius: 10px;
    background: #F8FAFC;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.mbp-rating__value{
    font-size:22px;
    font-weight:800;

    color:#0F172A;
}

.mbp-rating__stars{
    font-size:8px;
    letter-spacing:1px;
    color:#FFD24D;
}

/* ========================================
   DESC
======================================== */

.mbp-card__desc{
    margin: 10px 0 20px;
    color:#475569;
    font-size: 14px;
}

/* ========================================
   FEATURES
======================================== */

.mbp-card__features{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin-bottom:26px;
}

.mbp-feature{
    padding: 10px 10px;
    background:#F8FAFC;
    border-radius: 5px;
}

.mbp-feature__label{
    display:block;
    margin-bottom:4px;
    font-size: 11px;
    font-weight:700;
    text-transform:uppercase;
    color:#94A3B8;
}

.mbp-feature__value{
    font-size: 12px;
    font-weight:700;
    
}

/* ========================================
   FOOTER
======================================== */

.mbp-card__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.mbp-card__button{
    flex:1;

    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:5px;

    background:#0EA5E9;

    color:#fff;
    text-decoration:none;

    font-size:15px;
    font-weight:700;

    transition:.3s;
}

.mbp-card__button:hover{
    background:#0284C7;
    color:#fff;
}





/* ========================================
   DARK
======================================== */

body.dark .mbp-card{
    background:#1E293B;
    border-color:#1E293B;
}

body.dark .mbp-card__title a,
body.dark .mbp-card__price-value,
body.dark .mbp-rating__value,
body.dark .mbp-feature__value{
    color:#F8FAFC;
}

body.dark .mbp-card__desc{
    color:#CBD5E1;
}

body.dark .mbp-feature,
body.dark .mbp-rating{
    background:#0f1729;
}

body.dark .mbp-card__price{
    background:#1E293B;
}

body.dark .mbp-card__button{
    background:#38BDF8;
}

/* ========================================
CATALOG
======================================== */

.mbp-catalog{
    transition:.3s ease;
}



.mbp-catalog--grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}



.mbp-catalog--list{
    display:grid;
    grid-template-columns:repeat(1,minmax(0,1fr));
    gap:20px;
}

/* ========================================
VIEW SWITCH
======================================== */

.mbp-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:32px;
}

.mbp-toolbar__title{
    margin:0;

    font-size:32px;
    font-weight:800;

    color:#0F172A;
}

.mbp-view-switch{
    display:flex;
    align-items:center;
    gap:8px;

    padding:6px;

    background:#fff;

    border:1px solid #E2E8F0;
    border-radius:14px;
}

.mbp-view-switch__btn{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:none;
    border-radius:10px;

    background:transparent;

    cursor:pointer;

    transition:.25s ease;
}

.mbp-view-switch__btn svg{
    width:18px;
    height:18px;

    fill:none;
    stroke:#64748B;
    stroke-width:2;

    transition:.25s ease;
}

.mbp-view-switch__btn:hover{
    background:#F8FAFC;
}

.mbp-view-switch__btn.is-active{
    background:#0EA5E9;
}

.mbp-view-switch__btn.is-active svg{
    stroke:#fff;
}

/* ========================================
LIST MODE
НЕ ТРОГАЕТ ТВОИ СТИЛИ
======================================== */

.mbp-catalog--list .mbp-card{
    display:flex;
    align-items:stretch;
}

.mbp-catalog--list .mbp-card__media{
    width:360px;
    min-width:360px;
}

.mbp-catalog--list .mbp-card__image{
    height:100%;
    min-height:100%;
}

.mbp-catalog--list .mbp-card__content{
    flex:1;

    display:flex;
    flex-direction:column;
}

.mbp-catalog--list .mbp-card__footer{
    margin-top:auto;
}

.mbp-catalog--list .mbp-card__desc{
    max-width:900px;
}

/* ========================================
DARK
======================================== */

body.dark .mbp-toolbar__title{
    color:#fff;
}

body.dark .mbp-view-switch{
    background:#1E293B;
    border-color:#334155;
}

body.dark .mbp-view-switch__btn:hover{
    background:#334155;
}

/* ========================================
RESPONSIVE
======================================== */

@media (max-width:991px){

    .mbp-catalog--grid{
        grid-template-columns:1fr;
    }

    .mbp-catalog--list .mbp-card{
        flex-direction:column;
    }

    .mbp-catalog--list .mbp-card__media{
        width:100%;
        min-width:100%;
    }

    .mbp-catalog--list .mbp-card__image{
        height:280px;
    }

}

@media (max-width:767px){

    .mbp-toolbar{
        gap:20px;
        align-items:flex-start;
        flex-direction:column;
    }

    .mbp-toolbar__title{
        font-size:26px;
    }

}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 160px; 
    gap: 8px;
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 10px;
}

.gallery-grid__item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a1a;
}


.gallery-grid__item.big-item {
    grid-column: span 2;
    grid-row: span 2;
    height: 320px; 
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 12px;
    }
    .gallery-grid__item.big-item {
        height: auto; 
    }
}


@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
        grid-auto-rows: 220px;
    }

    
    .gallery-grid__item.big-item {
        grid-column: span 2;
        grid-row: span 2;
    }
}


.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 10px;
}

.hidden-photo { display: none; }
.bread-container {
    background: transparent;
}

.custom-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.custom-breadcrumb .breadcrumb-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    display: flex;
    align-items: center;
}


.custom-breadcrumb .breadcrumb-item a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--baby-blue);
}


.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "•"; 
    padding-right: 8px;
    color: var(--_color---white-grey);
    font-size: 10px;
    font-weight: bold;
}


.custom-breadcrumb .breadcrumb-item.active {
    color: var(--_color---white-grey); 
    font-weight: 400;
    pointer-events: none;
}


body.dark .custom-breadcrumb .breadcrumb-item a {
    color: var(--muted);
}
body.dark .custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--baby-blue);
}
body.dark .custom-breadcrumb .breadcrumb-item.active {
    color: #4b5563;
}







































.my-custom-labels-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; 
    margin-top: 12px; 
    margin-bottom: 12px; 
}


.my-custom-labels-wrapper .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px; 
    padding: 6px 12px; 
    font-size: 13px; 
    font-weight: 600; 
    color: #ffffff !important; 
    border-radius: 6px; 
    line-height: 1;
    text-transform: none; 
}


.my-custom-labels-wrapper .badge i {
    font-size: 14px; 
    line-height: 1;
    display: inline-block;
}

/* ==========================================================================
   КНОПКА С КРОЛЛА ВВЕРХ
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background-color: #5faee8;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    z-index: 999;
    
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #1E293B;
    transform: translateY(-4px); 
}


body.dark .scroll-top-btn {
    background-color: #5faee8; 
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark .scroll-top-btn:hover {
    background-color: #1E293B;
}


@media (max-width: 576px) {
    .scroll-top-btn {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}
.menu_m_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}
.menu_m_bottom {
    margin-top: 20px;
}
.navbar-toggler:focus{
    box-shadow:none;
}
.mbp-feature .mbp-feature__value p{
    margin-bottom: 0;
}
.mbp-feature .mbp-feature__value a {
    color: #0EA5E9;
}
body.dark .mbp-feature .mbp-feature__value a {
    color: #fff;
}
.mbp-feature .mbp-feature__value a:hover{
    text-decoration: none;
}
.mbp-card__media .img-fluid{
    width: -webkit-fill-available;
}
/* ==========================================================================
   ОБЩАЯ СТРУКТУРА И СВЕТЛАЯ ТЕМА
   ========================================================================== */

.mbp-selected-container {
    margin-bottom: 24px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}


.mbp-selected__title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
#mse2_selected {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

#mse2_selected2 {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 0 !important;
    background: transparent !important;
}


.mbp-selected__group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 8px;
    margin-right: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e9f2;
    background: #ffffff;
}


.mbp-selected__label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}


.mbp-selected__badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px 8px;
    border-radius: 6px;
    color: #0284c7 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}


.mbp-selected__close {
    top: 0;
    margin-left: 6px;
    font-size: 14px;
    line-height: 1;
    color: #94a3b8;
}


.mbp-selected__badge:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444 !important;
}
.mbp-selected__badge:hover .mbp-selected__close {
    color: #ef4444;
}

/* ==========================================================================
   ТЕМНАЯ ТЕМА (body.dark)
   ========================================================================== */

body.dark .mbp-selected-container {
    background: #1e293b;
    border-color: #334155;
}

body.dark .mbp-selected__title {
    color: #f8fafc;
}

body.dark .mbp-selected__group {
    background: #0f172a;
    border-color: #1e293b;
}

body.dark .mbp-selected__label {
    color: #94a3b8;
}

body.dark .mbp-selected__badge {
    background: #1e293b;
    border-color: #334155;
    color: #38bdf8 !important;
}

body.dark .mbp-selected__close {
    color: #64748b;
}


body.dark .mbp-selected__badge:hover {
    background: #451a03;
    border-color: #7f1d1d;
    color: #f87171 !important;
}
body.dark .mbp-selected__badge:hover .mbp-selected__close {
    color: #f87171;
}
/* ==========================================================================
   1. ВЫДЕЛЕНИЕ БЛОКОВ (КАРТОЧКИ В СТИЛЕ TRIP.COM)
   ========================================================================== */
#mse2_filters {
    width: 100%;
    box-sizing: border-box;
}

.filter_page_sp {
    display: flex;
    flex-direction: column;
    gap: 16px; 
    width: 100%;
    margin-bottom: 20px;
}


.filter_page_sp fieldset {
    border: 1px solid #e5e9f2; 
    border-radius: 8px;
    padding: 16px;
    margin: 0;
    background: #ffffff; 
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); 
}


.filter_page_sp .filter_title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f2942;
    margin: 0 0 16px 0;
    padding: 0;
    text-transform: none;
    line-height: 1.2;
}

/* ==========================================================================
   2. СТИЛИЗАЦИЯ БЛОКА ЦЕНЫ (ОДИН РЯД, ТЕКСТ СЛЕВА)
   ========================================================================== */
.mse2_number_inputs.row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 0 16px 0 !important;
    width: 100% !important;
}

.mse2_number_inputs.row .col-md-6 {
    flex: 1 !important;
    width: calc(50% - 5px) !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}


.mse2_number_inputs .col-md-6 label.d-flex {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 38px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    color: #8592a6 !important;
    font-weight: 400 !important;
    transition: border-color 0.15s ease !important;
}

.mse2_number_inputs .col-md-6 label.d-flex::before,
.mse2_number_inputs .col-md-6 label.d-flex::after {
    display: none !important;
}

.mse2_number_inputs .col-md-6:focus-within label.d-flex {
    border-color: #5faee8 !important;
}


.mse2_number_inputs input.form-control {
    display: inline-block !important;
    flex: 1 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 0 0 6px !important;
    margin: 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f294d !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


.mse2_number_slider.ui-slider {
    height: 3px !important;
    background: #e5e9f2 !important;
    border: none !important;
    margin: 0 4px 20px 4px !important;
    position: relative !important;
}

.mse2_number_slider .ui-slider-range {
    height: 100% !important;
    background: #5faee8 !important;
    position: absolute !important;
}


.mse2_number_slider .ui-slider-handle {
    width: 16px !important;
    height: 16px !important;
    background: #ffffff !important;
    border: 2px solid #5faee8 !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: -6px !important;
    margin-left: -8px !important;
    outline: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
}

/* ==========================================================================
   3. СПИСКИ ЧЕКБОКСОВ И РАДИО
   ========================================================================== */
.filter_page_sp label.d-block {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    color: #0f294d !important;
    cursor: pointer !important;
}
.filter_page_sp label.d-block:last-child {
    margin-bottom: 0 !important;
}

.filter_page_sp input[type="checkbox"],
.filter_page_sp input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


.filter_page_sp label.d-block::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #8592a6 !important;
    background: #ffffff !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}


.filter_page_sp fieldset:not([id="mse2_tv|camp_country"]) label.d-block::before {
    border-radius: 2px !important;
}
.filter_page_sp fieldset[id="mse2_tv|camp_country"] label.d-block::before,
.filter_page_sp fieldset[id="mse2_tv|city_sad"] label.d-block::before{
    border-radius: 50% !important;
}

.filter_page_sp label.d-block:hover:not(.disabled)::before {
    border-color: #5faee8 !important;
}


.filter_page_sp fieldset:not([id="mse2_tv|camp_country"]) label:has(input:checked)::before {
    background-color: #5faee8 !important;
    border-color: #5faee8 !important;
    background-size: 100% 100% !important;
    background-image: url("data:image/svg:xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.filter_page_sp fieldset[id="mse2_tv|camp_country"] label:has(input:checked)::before {
    background-color: #5faee8 !important;
    border-color: #5faee8 !important;
    background-image: url("data:image/svg:xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='3.5' fill='%23fff'/%3e%3c/svg%3e") !important;
    background-size: 100% 100% !important;
}


.filter_page_sp label .sup {
    margin-left: auto !important;
    font-size: 12px !important;
    color: #8592a6 !important;
}

.filter_page_sp label.disabled {
    opacity: 0.4 !important;
}

/* ==========================================================================
   4. ТЕМНАЯ ВЕРСИЯ (ОТРАБАТЫВАЕТ ЕСЛИ НА BODY ЕСТЬ .dark)
   ========================================================================== */
body.dark .filter_page_sp fieldset {
    background: #1e293b !important; 
    border-color: #334155 !important;
}

body.dark .filter_page_sp .filter_title {
    color: #f1f5f9 !important;
}

body.dark .filter_page_sp label.d-block {
    color: #cbd5e1 !important;
}

body.dark .filter_page_sp label.d-block::before {
    background: #0f172a !important;
    border-color: #475569 !important;
}

body.dark .filter_page_sp label.d-block:hover:not(.disabled)::before {
    border-color: #5faee8 !important;
}

body.dark .filter_page_sp label:has(input:checked)::before {
    background-color: #5faee8 !important;
    border-color: #5faee8 !important;
}

body.dark .filter_page_sp label .sup {
    color: #64748b !important;
}


body.dark .mse2_number_inputs .col-md-6 label.d-flex {
    background: #0f172a !important;
    border-color: #475569 !important;
    color: #64748b !important;
}

body.dark .mse2_number_inputs .col-md-6:focus-within label.d-flex {
    border-color: #5faee8 !important;
}

body.dark .mse2_number_inputs input.form-control {
    color: #f1f5f9 !important;
}

body.dark .mse2_number_slider.ui-slider {
    background: #334155 !important;
}

body.dark .mse2_number_slider .ui-slider-range {
    background: #5faee8 !important;
}

body.dark .mse2_number_slider .ui-slider-handle {
    border-color: #5faee8 !important;
}
/* ==========================================================================
   ПАГИНАЦИЯ (ЦВЕТ #0EA5E9 — СВЕТЛАЯ ВЕРСИЯ)
   ========================================================================== */
.mse2_pagination {
    display: flex !important;
    justify-content: center !important;
    margin: 30px 0 !important;
    width: 100% !important;
}

.mse2_pagination .pagination {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.mse2_pagination .page-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mse2_pagination .page-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    text-decoration: none !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease-in-out !important;
}


.mse2_pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    color: #0EA5E9 !important;
    border-color: #0EA5E9 !important;
    background-color: rgba(14, 165, 233, 0.05) !important; 
}


.mse2_pagination .page-item.active .page-link {
    color: #ffffff !important;
    background-color: #0EA5E9 !important;
    border-color: #0EA5E9 !important;
    font-weight: 700 !important;
    cursor: default !important;
}


.mse2_pagination .page-item.disabled .page-link {
    color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
body.dark .mse2_pagination .page-link {
    color: #cbd5e1 !important;
    background-color: #1e293b !important;
    border-color: #334155 !important;
}
body.dark .mse2_pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    color: #38bdf8 !important;
    border-color: #38bdf8 !important;
    background-color: rgba(56, 189, 248, 0.08) !important;
}
body.dark .mse2_pagination .page-item.active .page-link {
    color: #ffffff !important;
    background-color: #0EA5E9 !important;
    border-color: #0EA5E9 !important;
}
body.dark .mse2_pagination .page-item.disabled .page-link {
    color: #475569 !important;
    background-color: #0f172a !important;
    border-color: #1e293b !important;
}
.category_page_grid {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 30px;
    align-items: start;
    width: 100%;
    margin-bottom: 50px;
}

div[id="mse2_tv|camp_city"], 
fieldset[id="mse2_tv|camp_city"]{
    display: none !important;
}

div[id="mse2_tv|camp_country"]:has(input:checked) ~ div[id="mse2_tv|camp_city"],
fieldset[id="mse2_tv|camp_country"]:has(input:checked) ~ fieldset[id="mse2_tv|camp_city"],
div[id="mse2_tv|camp_country"]:has(.checked) ~ div[id="mse2_tv|camp_city"],
fieldset[id="mse2_tv|camp_country"]:has(.checked) ~ fieldset[id="mse2_tv|camp_city"] {
    display: block !important;
}

div[id="mse2_tv|camp_city"] .disabled,
div[id="mse2_tv|camp_city"] .zero,
fieldset[id="mse2_tv|camp_city"] .disabled,
fieldset[id="mse2_tv|camp_city"] .zero {
    display: none !important;
}
.mbp-sort_grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mbp-sort_page {
    margin-bottom: 20px;
}
#mse2_sort .sort[data-dir="desc"] span:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1'/></svg>") no-repeat center / contain;
}
#mse2_sort .sort[data-dir="asc"] span:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5'/></svg>") no-repeat center / contain;
}

#mse2_sort.sort-links-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

#mse2_sort .sort-title {
    color: #636366;
}
body.dark #mse2_sort .sort-title {
    color: #8e8e93;
}

#mse2_sort .sort {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #000000; 
    text-decoration: none;
    opacity: 0.4; 
    background: none; 
    border: none;
    padding: 0;
    transition: opacity 0.2s ease, color 0.2s ease;
}

#mse2_sort .sort:hover {
    opacity: 0.8;
}

#mse2_sort .sort.active {
    opacity: 1;
    color: #000000; 
}

body.dark #mse2_sort .sort span{
    color: #ffffff; 
    opacity: 0.4;
}

body.dark #mse2_sort .sort span:hover {
    opacity: 0.8;
}

body.dark #mse2_sort .sort.active span {
    opacity: 1;
    color: #ffffff; 
}

#mse2_sort .sort .sort-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}
#mse2_sort .sort.active.asc .sort-icon:not(.icon-both) {
    transform: rotate(180deg);
}
#mse2_sort .sort.active.desc .sort-icon:not(.icon-both) {
    transform: rotate(0deg);
}
#mse2_sort .sort.active.asc .icon-both,
#mse2_sort .sort.active.desc .icon-both {
    transform: none;
}
.limit-buttons-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.limit-title {
    color: #636366;
    margin-right: 4px;
}
body.dark .limit-title {
    color: #8e8e93;
}

.limit-btn-group {
    display: inline-flex;
    gap: 6px;
}

.limit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background-color: #f2f2f7;
    color: #000000;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.limit-btn:hover {
    background-color: #e5e5ea;
}

.limit-btn.active {
    background-color: #fff;
    color: #000000;
    font-weight: 600;
    cursor: default;
    border: 1px solid #e5e9f2;
}
body.dark .limit-btn {
    background-color: #1c1c1e;
    color: #ffffff;
}

body.dark .limit-btn:hover {
    background-color: #2c2c2e;
}

body.dark .limit-btn.active {
    background-color: #1e293b;
    color: #ffffff;
    border-color: #334155;
}


.wr_catalog {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mse2_pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.block_mobile_sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.bread-container {
    background: transparent;
}

.custom-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.custom-breadcrumb .breadcrumb-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    display: flex;
    align-items: center;
}


.custom-breadcrumb .breadcrumb-item a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--baby-blue);
}


.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "•"; 
    padding-right: 8px;
    color: var(--_color---white-grey);
    font-size: 10px;
    font-weight: bold;
}


.custom-breadcrumb .breadcrumb-item.active {
    color: var(--_color---white-grey); 
    font-weight: 400;
    pointer-events: none;
}


body.dark .custom-breadcrumb .breadcrumb-item a {
    color: var(--muted);
}
body.dark .custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--baby-blue);
}
body.dark .custom-breadcrumb .breadcrumb-item.active {
    color: #4b5563;
}


.section-title-page {
    background: var(--bg);
    font-family: var(--_font---font-family);
}

.header-main-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    gap: 20px;
}

.title-h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
    font-size: 30px; 
    color: var(--_color---black-text);
    margin: 0;
    line-height: 1.2;
}

body.dark .title-h1 { color: var(--_color---white); }

.address-line {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}


.header-rating-lite {
    white-space: nowrap;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 12px;
}

body.dark .score-row {
    background: #1e293b;
    border-color: #334155;
}

.star-icon {
    color: var(--_color---yellow);
    font-size: 16px;
}

.score-val {
    font-weight: 800;
    font-size: 18px;
    color: var(--_color---black-text);
}

body.dark .score-val { color: var(--_color---white); }

.score-divider {
    color: var(--_color---white-grey);
    font-weight: 300;
}

.reviews-count {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

.reviews-count:hover {
    color: var(--baby-blue);
    border-bottom-color: var(--baby-blue);
}


@media (max-width: 768px) {
    .header-main-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .title-h1 { font-size: 24px; }
    .header-rating-lite { width: 100%; }
    .score-row { display: inline-flex; }
}

.camp-nav-scrollspy {
    position: relative;
    width: 100%;
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 16px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: background 0.3s, border-color 0.3s;
    margin-bottom: 40px;
}


.camp-nav-scrollspy.fixed-sticky {
    position: fixed;
    top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 0px;
}

body.dark .camp-nav-scrollspy {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.modal-content {
    color: inherit;
}
.modal-content-custom .modal-header .btn-close {
    margin-left: auto;
    position: absolute;
    top: 25px;
    right: 25px;
}
.nav-spy-container {
    display: flex;
    align-items: center;
    height: 55px;
    padding: 0 20px;
}


.scroll-progress-bar {
    position: absolute;
    top: -10px;
    left: 0;
    height: 5px;
    background: var(--baby-blue);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 16px;
}


.spy-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 18px; 
    flex-wrap: nowrap;
}


.spy-link, .spy-dropdown-trigger {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--_color---black-text);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    white-space: nowrap;
}
body.dark .spy-link, body.dark .spy-dropdown-trigger { color: #cbd5e1; }
.spy-link:hover, .spy-link.active, .spy-dropdown-trigger:hover { color: var(--baby-blue); }


.spy-link.video_link i{
    color: red !important; 
}
.spy-link.fire_link {
    color: #ef4444 !important; 
}
body.dark .spy-link.fire_link {
    color: #f97316 !important; 
}
.spy-link.fire_link i {
    animation: firePulse 1.5s infinite ease-in-out;
    display: inline-block;
}
@keyframes firePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.6)); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.9)); }
}


.spy-dropdown {
    position: relative;
}

.spy-dropdown-content {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1000;
}
body.dark .spy-dropdown-content { background: #0f172a; border-color: #334155; }

@media (min-width: 769px) {
    .spy-dropdown:hover .spy-dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.spy-dropdown-content a {
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--_color---black-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
body.dark .spy-dropdown-content a { color: #cbd5e1; }
.spy-dropdown-content a:hover { background: rgba(95, 174, 232, 0.08); color: var(--baby-blue); }

.spy-mobile-trigger { display: none; }
.iti { display: block; }
form[data-fetchit] [data-error="tel"] { display: block; }
.iti__country-list {
    position: absolute;
    z-index: 2;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0 0 0 -1px;
    border-radius: 6px;
    box-shadow: none;
    background-color: #fff;
    border: 1px solid #ccc;
    white-space: nowrap;
    max-height: 200px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
body.dark .iti__country-list{
    background-color: #0f1729;
    border: 1px solid #344255;
}
@media (max-width: 1200px) {
    .camp-nav-scrollspy, .camp-nav-scrollspy.fixed-sticky {
        position: fixed;
        bottom: 80px;
        top: auto;
        right: 20px;
        left: auto !important;
        width: auto !important;
        background: transparent;
        border: none;
        box-shadow: none;
        z-index: 1000;
        margin-bottom: 0px !important;
    }

    .nav-spy-container { padding: 0; height: auto; }
    .scroll-progress-bar { position: fixed; top: 0; border-radius: 0; }

    .spy-mobile-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        background: var(--baby-blue);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 24px;
        box-shadow: 0 8px 24px rgba(95, 174, 232, 0.4);
        cursor: pointer;
        z-index: 2;
    }

    .spy-menu-wrapper {
        position: absolute;
        bottom: 70px;
        right: 0;
        background: var(--_color---white);
        border: 1px solid var(--_color---white-stroke);
        border-radius: 20px;
        padding: 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        min-width: 240px;
        
        max-height: 70vh; 
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0.95);
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: bottom right;
    }
    body.dark .spy-menu-wrapper { background: #1e293b; border-color: #334155; }
    .spy-menu-wrapper.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

    .spy-link, .spy-dropdown-trigger { padding: 12px 15px; width: 100%; border-radius: 10px; }
    
    
    .spy-dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.03);
        padding: 0;
        margin-top: 5px;
        max-height: 0;
        overflow-y: auto; 
        overflow-x: hidden;
        transition: max-height 0.35s ease-in-out;
    }
    body.dark .spy-dropdown-content { background: rgba(255, 255, 255, 0.03); }
    
    
    .spy-dropdown.is-active .spy-dropdown-content {
        max-height: 220px; 
        padding: 6px 0;
    }
    .spy-dropdown.is-active .spy-dropdown-trigger i { transform: rotate(180deg); }
}

.desc-columns {
    column-count: 2;
    column-gap: 50px;
    color: var(--_color---black-text);
    line-height: 1.7;
    font-size: 16px;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); 
}

body.dark .desc-columns { color: var(--_color---white); }


.collapse-content {
    max-height: 350px; 
    overflow: hidden;
    position: relative;
}


.collapse-content.expanded {
    max-height: 5000px; 
    transition: max-height 1s ease-in-out;
}


.read-more-wrapper {
    position: relative;
}

.read-more-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(0deg, var(--bg) 20%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
    transition: 0.3s;
}


.collapse-content.expanded + .read-more-overlay {
    background: transparent;
    position: relative;
    height: auto;
    margin-top: 20px;
}


.btn-read-more {
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    cursor: pointer;
}

body.dark .btn-read-more {
    background: #1e293b;
    border-color: #334155;
    color: white;
}

.btn-read-more i {
    color: var(--baby-blue);
    font-size: 18px;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    border-color: var(--baby-blue);
}


@media (max-width: 992px) {
    .desc-columns { column-count: 1; }
}
.feature-value p{
    margin-bottom: 0;
}
.features-panel {
    font-family: var(--_font---font-family);
}

.features-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--_color---black-text);
}
body.dark .features-title { color: var(--_color---white); }


.features-flex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}


.feature-item {
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s ease;
}

body.dark .feature-item {
    background: #1e293b;
    border-color: #334155;
}


.feature-item.wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .feature-item.wide { grid-column: span 1; }
    .features-flex-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .features-flex-grid { grid-template-columns: 1fr; }
}


.feature-icon {
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    color: var(--baby-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
body.dark .feature-icon { background: rgba(95, 174, 232, 0.1); }


.feature-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.feature-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--_color---black-text);
    line-height: 1.2;
}
body.dark .feature-value { color: var(--_color---white); }

.feature-value a {
    color: var(--baby-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.feature-value a:hover {
    border-bottom-color: var(--baby-blue);
}


.feature-item:hover {
    border-color: var(--baby-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.promo-banner-flash {
    background: var(--baby-blue);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px var(--baby-blue-shadow);
    position: relative;
    overflow: hidden;
}


.promo-banner-flash::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    100% { left: 200%; }
}

.promo-content { display: flex; align-items: center; gap: 20px; }
.promo-icon {
    font-size: 32px;
    background: rgba(255,255,255,0.2);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 15px;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.promo-title { font-weight: 800; margin: 0; font-size: 1.2rem; }
.promo-subtitle { margin: 0; opacity: 0.9; font-size: 0.9rem; }

.promo-timer {
    background: var(--_color---yellow);
    color: #000;
    padding: 10px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    z-index: 1;
}

.timer-label { display: block; font-size: 10px; text-transform: uppercase; line-height: 1; }
.timer-value { font-size: 20px; }

@media (max-width: 768px) {
    .promo-banner-flash { flex-direction: column; text-align: center; gap: 15px; }
    .promo-content { flex-direction: column; gap: 10px; }
}

.universal-card {
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    transition: .3s;
}

body.dark .universal-card {
    background: #1e293b;
    border-color: #334155;
}


.card-header-simple {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header-simple i {
    font-size: 28px;
    line-height: 1;
}

.card-header-simple h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}


.is-included .card-header-simple i { color: #10b981; } 
.is-excluded .card-header-simple i { color: #f59e0b; } 
.is-promo .card-header-simple i { color: var(--baby-blue); } 

.is-included ol,
.is-included2 ol{
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 0;
    margin: 0px 0;
}

.is-included ol li,
.is-included2 ol li{
    counter-increment: custom-counter;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.is-included ol li::before,
.is-included2 ol li::before{
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #5faee8;
    text-align: right;
}
body.dark .is-included2 ol li, body.dark .is-included ol li { color: var(--_color---white); }
.all_chek_block ul {
    list-style: none;
    padding: 0;
}
.all_chek_block ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.all_chek_block ul li::before{
    content: "\F272"; 
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: #5faee8; 
    font-size: 1.2rem;
}

.chek_block ul,
.no_chek_block ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.chek_block ul li,
.no_chek_block ul li{
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.4;
    display: flex;
    justify-content: space-between;
}


.chek_block ul li::before {
    content: "\F272";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: #10b981;
    font-size: 1.2rem;
}


.no_chek_block ul li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
}

.no_chek_block ul li strong {
    font-weight: 700;
    color: var(--_color---black-text);
}
body.dark .no_chek_block ul li strong { color: var(--_color---white); }
.no_chek_block p {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--_color---white-stroke);
}
body.dark .no_chek_block p { border-color: #334155; }

.promo-grid {
    display: grid;
    
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


@media (max-width: 991px) {
    .promo-grid {
        
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; 
    }
}


@media (max-width: 480px) {
    .promo-grid {
        grid-template-columns: repeat(1, 1fr); 
        gap: 10px;
    }
    .chek_block ul li,
    .no_chek_block ul li{
        flex-wrap: wrap;
    }
    .chek_block ul li strong,
    .no_chek_block ul li strong{
        width: 100%;
    }
}
.promo-item {
    background: var(--bg);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: .3s;
}
body.dark .promo-item { background: #0f172a; }
.promo-item:hover {
    border-color: var(--baby-blue);
    transform: translateY(-3px);
}
.promo-item strong {
    display: block;
    color: var(--baby-blue);
    margin-bottom: 5px;
    font-size: 16px;
}
.promo-item p {
    font-size: 13px;
    margin: 0;
    color: var(--muted);
}
.booking-wrapper {
    font-family: var(--_font---font-family); 
}
.camp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 992px) { .camp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .camp-grid { grid-template-columns: 1fr; } }


.camp-card-premium {
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark .camp-card-premium {
    background: #1e293b; 
    border-color: #334155;
}


.card-main-info {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.camp-name {
    font-family: 'Montserrat', sans-serif; 
    font-size: 18px;
    font-weight: 800;
    margin: 10px 0;
    min-height: 30px; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.badge-pill {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}
.b-yellow { background: var(--_color---yellow); color: #000; }
.b-blue { background: var(--baby-blue); color: #fff; }
.b-gray { background: #e2e8f0; color: #64748b; }
.b-green { background: #10b981; color: #fff; }

.status-text { font-size: 12px; font-weight: 600; margin-left: 8px; }
.status-text.green { color: #10b981; }
.status-text.red { color: #ef4444; }


.card-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--_color---white-stroke);
    gap: 10px;
}
body.dark .card-action-bar { border-color: #334155; }

.price-old { font-size: 13px; text-decoration: line-through; color: #94a3b8; display: block; }
.price-new { font-size: 22px; font-weight: 900; color: var(--_color---black-text); white-space: nowrap; }
body.dark .price-new { color: var(--_color---white); }


.btn-camp {
    background: var(--baby-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s;
    flex-shrink: 0;
}

.btn-camp:hover { background: var(--baby-blue-hover); transform: translateY(-2px); }


.camp-card-premium.ended { opacity: 0.6; pointer-events: none; }
.btn-ended-label {
    width: 100%;
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-weight: 700;
    cursor: not-allowed;
}


.custom-tabs .nav-link {
    color: var(--muted);
    font-weight: 600;
    border: none;
    padding: 12px 20px;
}
.custom-tabs .nav-link.active {
    background: var(--baby-blue);
    color: white;
    border-radius: 12px;
}
.promo-item strong.feature-icon-strong{
    color: var(--muted);
    margin-bottom:0;
    text-transform: uppercase;
    font-size: 12px;
}
body.dark .promo-item strong.feature-icon-strong{
    color: var(--baby-blue);
    margin-bottom:0;
    font-size: 12px;
}
  .docs-card {
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

body.dark .docs-card {
    background: #1e293b;
    border-color: #334155;
}


.docs-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.docs-icon-main {
    width: 45px;
    height: 45px;
    background: rgba(95, 174, 232, 0.1); 
    color: var(--baby-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.docs-intro {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 20px;
}


.docs-list {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 15px;
}

@media (max-width: 768px) {
    .docs-list { grid-template-columns: 1fr; }
}

.doc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}

body.dark .doc-item { background: #0f172a; }

.doc-item:hover {
    border-color: var(--baby-blue);
    transform: translateX(5px);
}

.doc-item i {
    color: #10b981; 
    font-size: 18px;
    line-height: 1.4;
}

.doc-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--_color---black-text);
    line-height: 1.4;
}
body.dark .doc-item span { color: var(--_color---white); }


.docs-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed var(--_color---white-stroke);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-style: italic;
}

body.dark .docs-footer { border-color: #334155; }

.gallery-grid-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; 
    margin: 20px 0;
}


.gallery-grid__item_cont {
    display: block;
    
    width: calc((100% - 48px) / 4); 
    height: 100px; 
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--_color---white-stroke);
    background: var(--_color---white);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}


body.dark .gallery-grid__item_cont {
    background: #1e293b;
    border-color: #334155;
}


.gallery-grid__item_cont img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}


.gallery-grid__item_cont:hover {
    transform: translateY(-4px); 
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--baby-blue); 
}

body.dark .gallery-grid__item_cont:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}


.gallery-grid__item_cont:hover img {
    transform: scale(1.05);
}


.gallery-grid__item_cont::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(95, 174, 232, 0.1); 
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-grid__item_cont:hover::after {
    opacity: 1;
}




@media (max-width: 991px) {
    .gallery-grid__item_cont {
        width: calc((100% - 32px) / 3);
        height: 100px; 
    }
}


@media (max-width: 576px) {
    .gallery-grid-cont {
        gap: 10px; 
    }
    .gallery-grid__item_cont {
        width: calc((100% - 10px) / 2); 
        height: 100px;
        border-radius: 12px; 
    }
}
.ul-time {
    position: relative;
    padding-left: 20px;
    margin: 0px 0;
}


.ul-time::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--_color---white-stroke);
}
body.dark .ul-time::before {
    background: #334155;
}

.ul-time li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
    padding-left: 15px;
}


.ul-time li::before {
    content: '';
    position: absolute;
    left: -17px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--baby-blue);
    border-radius: 50%;
    border: 2px solid var(--bg);
    z-index: 2;
}


.ul-time li span {
    display: inline-block;
    min-width: 95px;
    padding: 3px 10px;
    background: rgba(95, 174, 232, 0.1); 
    color: var(--baby-blue);
    font-weight: 800;
    font-size: 13px;
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.4;
}

body.dark .ul-time li span {
    background: rgba(56, 189, 248, 0.15);
}


.ul-time li {
    font-size: 15px;
    color: var(--_color---black-text);
    line-height: 1.5;
}

body.dark .ul-time li {
    color: var(--_color---white);
}



.info-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .info-grid-container { grid-template-columns: 1fr; }
}

.info-card {
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: fit-content;
        min-height: 238px;
}

body.dark .info-card { background: #1e293b; border-color: #334155; }

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.info-card-header i {
    font-size: 28px;
    line-height: 1;
}
.card-icon-img { width: 30px; height: 30px; object-fit: contain; }
.info-card-header h3 { font-size: 19px; font-weight: 800; margin: 0; color: var(--_color---black-text); }
body.dark .info-card-header h3 { color: #fff; }


.collapsible-content {
    max-height: 200px; 
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    line-height: 1.6;
}


.card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(0deg, var(--_color---white) 10%, rgba(255,255,255,0) 100%);
    transition: opacity 0.3s;
}
body.dark .card-gradient { 
    background: linear-gradient(0deg, #1e293b 10%, rgba(30,41,59,0) 100%); 
}


.schedule-mini {
    list-style: none !important;
    padding: 0 !important;
}
.schedule-mini li {
    display: flex;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid var(--_color---white-stroke);
}
.schedule-mini li span {
    font-weight: 800;
    color: var(--baby-blue);
    min-width: 85px;
}


.btn-card-more {
    background: none; border: none; color: var(--baby-blue);
    font-weight: 700; cursor: pointer; display: flex;
    align-items: center; gap: 6px; margin-top: 15px; padding: 0;
}


.info-card.is-open .collapsible-content {
    max-height: 2000px; 
}
.info-card.is-open .card-gradient {
    opacity: 0;
}
.info-card.is-open .btn-card-more i {
    transform: rotate(180deg);
}
.reviews-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px;
}

@media (max-width: 991px) {
    .reviews-grid { grid-template-columns: 1fr; } 
}

.review-card {
    background: var(--_color---white);
    border: 1px solid var(--_color---white-stroke);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

body.dark .review-card { background: #1e293b; border-color: #334155; }


.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-info { display: flex; align-items: center; gap: 12px; }

.user-avatar {
    width: 45px;
    height: 45px;
    background: var(--baby-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.user-name { font-weight: 700; color: var(--_color---black-text); }
body.dark .user-name { color: #fff; }

.review-rating { color: #ffc107; font-size: 14px; display: flex; gap: 2px; }


.review-text-container {
    max-height: 100px; 
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease-in-out; 
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
}


.review-card.is-open .review-text-container {
    max-height: 800px; 
}

.review-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, var(--_color---white), transparent);
    pointer-events: none; 
    transition: opacity 0.3s ease;
}
body.dark .review-fade { background: linear-gradient(to top, #1e293b, transparent); }


.review-card.is-open .review-fade { 
    opacity: 0;
}


.btn-more-text {
    background: none; border: none; color: var(--baby-blue);
    font-weight: 700; font-size: 13px; cursor: pointer;
    padding: 10px 0; display: flex; align-items: center; gap: 5px;
}

.btn-more-text i { transition: 0.3s; }
.review-card.is-open .btn-more-text i { transform: rotate(180deg); }


.review-admin-reply {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--_color---white-stroke);
}
body.dark .review-admin-reply { border-color: #334155; }

.admin-badge {
    color: var(--baby-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-text {
    font-size: 13.5px;
    line-height: 1.5;
    font-style: italic;
    color: var(--_color---black-text);
}
body.dark .admin-text { color: #cbd5e1; }


/* ==========================================================================
   БАЗОВЫЕ СТИЛИ МОДАЛКИ (СВЕТЛАЯ ТЕМА)
   ========================================================================== */
.review-modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--_color---white, #ffffff);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.review-modal-img-col {
    position: relative;
    background: var(--baby-blue, #3b82f6);
}

.review-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.review-modal-header {
    border-bottom: none;
    padding: 35px 35px 10px 35px;
}

.review-modal-header .modal-title {
    font-weight: 800;
    font-size: 24px;
    color: var(--_color---black-text, #1e293b);
}

.review-modal-body {
    padding: 10px 35px 35px 35px;
}


.review-modal-body .form-label,
.review-modal-body label {
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    margin-bottom: 6px;
}

.review-modal-body .form-control {
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14.5px;
    color: var(--_color---black-text, #1e293b);
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.review-modal-body .form-control:focus {
    background-color: #ffffff;
    border-color: var(--baby-blue, #3b82f6);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}


.review-btn-close {
    background-size: 12px;
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.review-btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}


/* ==========================================================================
   БАЗОВЫЕ СТИЛИ МОДАЛКИ (СВЕТЛАЯ ТЕМА)
   ========================================================================== */
.review-modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--_color---white, #ffffff);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.review-modal-img-col {
    position: relative;
    background: var(--baby-blue, #3b82f6);
}

.review-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.review-modal-header {
    border-bottom: none;
    padding: 35px 35px 10px 35px;
}

.review-modal-header .modal-title {
    font-weight: 800;
    font-size: 20px;
    color: var(--_color---black-text, #1e293b);
}

.review-modal-body {
    padding: 10px 35px 35px 35px;
}


.review-modal-body .form-label,
.review-modal-body label {
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    margin-bottom: 6px;
}

.review-modal-body .form-control {
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14.5px;
    color: var(--_color---black-text, #1e293b);
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.review-modal-body .form-control:focus {
    background-color: #ffffff;
    border-color: var(--baby-blue, #3b82f6);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}


.review-btn-close {
    background-size: 12px;
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.review-btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}
.ec-rating-description {
    line-height: normal;
    font-size: 12px;
}

/* ==========================================================================
   КОНТРАСТНАЯ ТЕМНАЯ ТЕМА (body.dark)
   ========================================================================== */
body.dark .review-modal-content {
    background-color: #1e293b; 
    border: 1px solid #334155;
}


body.dark .review-modal-header .modal-title {
    color: #ffffff; 
}


body.dark .review-btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}


body.dark .review-modal-body .form-label,
body.dark .review-modal-body label,
body.dark .review-modal-body .form-text {
    color: #cbd5e1 !important; 
    font-size:12px;
}

.review-modal-body .help-block{
    color:red;
    font-size:12px;
}

body.dark .review-modal-body .form-control,
body.dark .review-modal-body input:not(.btn),
body.dark .review-modal-body textarea,
body.dark .review-modal-body select {
    background-color: #0f172a !important; 
    border: 1px solid #334155 !important;
    color: #ffffff !important; 
    border-radius: 12px;
}


body.dark .review-modal-body .form-control::placeholder,
body.dark .review-modal-body input::placeholder,
body.dark .review-modal-body textarea::placeholder {
    color: #64748b !important;
}


body.dark .review-modal-body .form-control:focus,
body.dark .review-modal-body input:focus,
body.dark .review-modal-body textarea:focus {
    background-color: #0f172a !important;
    border-color: var(--baby-blue, #3b82f6) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25) !important;
    color: #ffffff !important;
}
body.dark .review-modal-body input[role="switch"]{
    background-color: #575e70 !important; 
}

.review-modal-body .ec-rating {
    display: flex;
    align-items: flex-end;
}
.was-validated .form-control:valid:placeholder-shown {
    border-color: #dee2e6; /* Возвращаем стандартный цвет границы */
    padding-right: inherit;
    background-image: none; /* Убираем зеленую галочку */
}
/* ==========================================================================
   СБРОС И СТИЛИЗАЦИЯ КОНТЕЙНЕРА (ОБЫЧНЫЙ ПОРЯДОК)
   ========================================================================== */
.ec-stars,
.ec-rating-stars {
    background-image: none !important;
    display: inline-flex !important;
    flex-direction: row !important; 
    gap: 4px;
}

.ec-stars span,
.ec-rating-stars span {
    background-image: none !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-block;
    position: relative;
    cursor: pointer;
}


.ec-stars span::before,
.ec-rating-stars span::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #e2e8f0; 
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: background-color 0.15s ease;
}

/* ==========================================================================
   ЛОГИКА ПОДЦВЕТКИ (ОПИРАЕМСЯ НА КЛАССЫ СНИППЕТА)
   ========================================================================== */

.ec-rating-stars span.active::before,
.ec-rating-stars span.active2::before {
    background-color: #ffc107 !important;
}

/* При наведении сам скрипт easyComm временно добавляет класс .hover на звезду 
   и на те, что стоят ДО неё. Привязываемся строго к его логике */
.ec-rating-stars span.hover::before {
    background-color: #ffc107 !important;
}


/* ==========================================================================
   СТАТИЧНЫЕ ЗВЕЗДЫ В КАРТОЧКАХ ОТЗЫВОВ
   ========================================================================== */
.review-card .ec-stars {
    position: relative;
    width: calc(20px * 5 + 4px * 4);
    height: 20px;
}


.review-card .ec-stars::before {
    content: "★★★★★";
    letter-spacing: 5px;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1;
    display: block;
}


.review-card .ec-stars span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100% !important;
    background-image: none !important;
    overflow: hidden;
}

.review-card .ec-stars span::before {
    content: "★★★★★";
    letter-spacing: 5px;
    color: #ffc107;
    font-size: 16px;
    line-height: 1;
    width: calc(20px * 5 + 4px * 4);
    background: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

body.dark .ec-rating-stars span::before,
body.dark .review-card .ec-stars::before {
    background-color: #334155;
    color: #334155;
}
body.dark .ec-rating-stars span.active::before,
body.dark .ec-rating-stars span.active2::before,
body.dark .ec-rating-stars span.hover::before {
    background-color: #ffc107 !important;
}
[id*="success"] {
    animation: fadeInModal 0.4s ease forwards;
}
.ec-alert {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 16px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.ec-alert::before {
    content: "✓";
    background: #16a34a;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}


.ec-message {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
}


.ec-message__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.ec-message__author {
    font-weight: 800;
    font-size: 16px;
    color: var(--_color---black-text, #1e293b);
}

.ec-message__date {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}


.ec-message p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    font-style: italic;
}


.ec-stars {
    display: none !important;
}

body.dark .ec-alert {
    background: rgba(22, 101, 52, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

body.dark .ec-message {
    background: #0f172a;
    border-color: #334155;
}

body.dark .ec-message__author {
    color: #ffffff;
}

body.dark .ec-message__date {
    color: #475569;
}

body.dark .ec-message p {
    color: #cbd5e1;
}


@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 #map {
    height: 500px;
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--_color---white-stroke);
    background-color: #f8f9fa; 
}


.leaflet-popup-content-wrapper {
    background: #fff;
    color: #333;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}


body.dark .leaflet-popup-content-wrapper {
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

body.dark .leaflet-popup-tip {
    background: #1e293b;
}


body:not(.dark) .leaflet-tile-container {
    filter: saturate(1.1) contrast(1.02);
}
.blog-page-wrap .blog-filters-card {
    background: var(--_color---bg-card, #ffffff);
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 12px;
    padding: 20px;
}



.blog-card {
    background: var(--_color---bg-card, #ffffff);
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.dark .blog-card {
    background: #1e293b;
    border-color: #334155;
}

.blog-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

body.dark .blog-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f5f9;
}

body.dark .blog-card__img-wrap {
    background: #0f172a;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card__badge-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.blog-card__badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    color: #fff;
}

.blog-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__date {
    font-size: 12px;
    color: var(--_color---text-muted, #64748b);
    margin-bottom: 8px;
}

body.dark .blog-card__date {
    color: #94a3b8;
}

.blog-card__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.blog-card__title a {
    color: var(--_color---text-main, #0f172a);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark .blog-card__title a {
    color: #f8fafc;
}

.blog-card__title a:hover {
    color: #5faee8;
}

.blog-card__desc {
    font-size: 14px;
    color: var(--_color---text-muted, #64748b);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark .blog-card__desc {
    color: #94a3b8;
}

.blog-card__footer {
    margin-top: auto;
}
a.custom_link {
    color: inherit !important;
    display: inline;
    text-decoration: none;
    background-image: linear-gradient(rgb(95 174 232 / 70%), rgb(95 174 232 / 70%));
    background-position: 0% 112%;
    background-repeat: no-repeat;
    background-size: 100% 4px;
    transition: 0.3s;
}
a.custom_link:hover {
  color: #000;
  background-size: 100% 100%;
}
.date_pub {
    display: flex;
    align-items: center;
    gap: 5px;
}
.date_pub i{
    font-size: 18px;
}
.content_page--blog{
    line-height: 2;
}
.content_page--blog :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 400;
}
.quot-shadow {
    border-left: 3px solid #5faee8;
    border-top: 1px solid #d1d1d1;
    border-right: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
    box-shadow: 0 5px 10px 1px #CCC;
    padding: 10px 10px 10px 25px;
    margin-bottom: 40px;
}
body.dark .quot-shadow {
    border-left: 3px solid #5faee8;
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    box-shadow: 0 5px 10px 1px #5faee842;
}
.content_page--blog ol {
  padding-left: 20px;
}
.content_page--blog ul {
  padding-left: 0;
}
.content_page--blog ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  list-style-type: none;
}
.content_page--blog ul li a {
  display: inline-block;
  margin-bottom: 10px;
}
.content_page--blog ul li::before {
    position: absolute;
    content: "";
    height: 6px;
    width: 6px;
    border-radius: 100%;
    left: 0;
    top: 6px;
    background-color: #5faee8;
    transition: 0.3s ease;
}
.badge-blog {
    font-size: 13px;
    border-radius: 5px;
    padding: .4em 1em;
    line-height: initial;
    font-weight: 600;
    display: inline-block;
}
.top_blog {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: space-between;
}
.social-share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(95, 174, 232, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Стили для Bootstrap Icons */
.social-share a i {
    font-size: 16px;
    color: #5faee8;
    line-height: 1;
}

/* Стили для кастомной иконки Viber, чтобы она не отличалась по размеру */
.social-share a .viber-svg-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    color: #5faee8;
}

.social-share a:hover {
    background: #5faee8;
    transform: translateY(-2px);
}

.social-share a:hover i,
.social-share a:hover .viber-svg-icon {
    color: #ffffff;
}

.social-share-title {
    font-size: 14px;
    color: var(--_color---text-muted, #64748b);
}
.top_blog_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--_color---white-stroke, #e2e8f0);
}

body.dark .article-nav {
    border-top-color: #334155;
}

.article-nav__item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    max-width: 50%;
    padding: 16px 20px;
    background: var(--_color---bg-card, #ffffff);
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

body.dark .article-nav__item {
    background: #1e293b;
    border-color: #334155;
}

.article-nav__item--next {
    text-align: right;
    justify-content: flex-end;
}

.article-nav__item:hover {
    border-color: #5faee8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(95, 174, 232, 0.1);
}

.article-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(95, 174, 232, 0.1);
    color: #5faee8;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.article-nav__item:hover .article-nav__icon {
    background: #5faee8;
    color: #ffffff;
}

.article-nav__content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-nav__label {
    font-size: 12px;
    color: var(--_color---text-muted, #64748b);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark .article-nav__label {
    color: #94a3b8;
}

.article-nav__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--_color---text-main, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.dark .article-nav__title {
    color: #f8fafc;
}

@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
        margin-bottom: 40px;
    }
    .article-nav__item {
        max-width: 100%;
    }
}
.sidebar-widget {
    background: var(--_color---bg-card, #ffffff);
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

body.dark .sidebar-widget {
    background: #1e293b;
    border-color: #334155;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--_color---text-main, #0f172a);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark .sidebar-widget-title {
    color: #f8fafc;
}

/* Карточка отдельной статьи в сайдбаре */
.sidebar-article-card {
    display: flex;
    flex-direction: column; /* Вертикальный формат: картинка сверху, текст снизу */
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--_color---white-stroke, #e2e8f0);
}

.sidebar-article-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

body.dark .sidebar-article-card {
    border-bottom-color: #334155;
}

/* Обложка статьи */
.sidebar-article-img-wrap {
    position: relative;
    width: 100%;
    height: 160px; /* Фиксированная аккуратная высота */
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.sidebar-article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-article-card:hover .sidebar-article-img-wrap img {
    transform: scale(1.03); /* Легкое увеличение при наведении */
}

/* Бейдж поверх картинки */
.sidebar-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}
.wr_rat {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    gap: 5px;
    justify-content: space-between;
}
.sidebar-article-date {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sidebar-article-rating {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
body.dark .sidebar-article-rating{
    color: #fff;
}
.sidebar-article-rating i{
    color: #f59e0b;
    font-size: 14px;
}
/* Заголовок статьи */
.sidebar-article-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px 0;
}

.sidebar-article-title a {
    color: var(--_color---text-main, #0f172a);
    text-decoration: none;
    transition: color 0.15s ease;
}

body.dark .sidebar-article-title a {
    color: #f8fafc;
}

.sidebar-article-title a:hover {
    color: #38bdf8; /* Акцентный цвет при наведении */
}

/* Интротекст */
.sidebar-article-intro {
    font-size: 12px;
    color: var(--_color---text-muted, #64748b);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ограничение в 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.dark .sidebar-article-intro {
    color: #94a3b8;
}
.author-widget {
    background: var(--_color---bg-card, #ffffff);
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center; /* Центрируем для красивого личного профиля */
}

body.dark .author-widget {
    background: #1e293b;
    border-color: #334155;
}

/* Шапка с фото и именем */
.author-widget__avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 14px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #ffffff;
}

body.dark .author-widget__avatar {
    border-color: #334155;
}

.author-widget__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-widget__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--_color---text-main, #0f172a);
    margin-bottom: 4px;
}

body.dark .author-widget__name {
    color: #f8fafc;
}

.author-widget__role {
    font-size: 12px;
    line-height: 1.4;
    color: #38bdf8; /* Акцентный цвет для роли/профессии */
    margin-bottom: 12px;
}

/* Описание / город */
.author-widget__bio {
    font-size: 13px;
    color: var(--_color---text-muted, #64748b);
    line-height: 1.5;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--_color---white-stroke, #f1f5f9);
}

body.dark .author-widget__bio {
    color: #94a3b8;
    border-top-color: #334155;
}

.author-widget__bio p {
    margin: 0;
}

/* Блок соцсетей (в ряд с кнопками) */
.author-widget__social {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.author-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--_color---bg-main, #f8fafc);
    border: 1px solid var(--_color---white-stroke, #e2e8f0);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--_color---text-main, #334155);
    text-decoration: none;
    transition: all 0.2s ease;
}

body.dark .author-social-btn {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

.author-social-btn:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-1px);
}
.sad-filter-hidden,
#mse2_tv\|sad_area,
#mse2_tv\|sad_micarea,
#mse2_tv\|sad_metro,
#mse2_tv\|sad_suburb {
    display: none;
}
.sad-filter-visible {
    display: block !important;
}
.read-more-wrapper.is-short .read-more-overlay {
    display: none;
}
.read-more-wrapper.is-short .collapse-content {
    max-height: none !important;
}
.text-bg-primary {
    color: #fff !important;
    background-color: rgb(95 174 232) !important;
    font-size: 12px !important;
    font-weight: 500;
}
.inactive-notice-block {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(239, 68, 68, 0.08); 
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ff6b6b;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.inactive-notice-block .notice-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.15); /* Подложка иконки в тон */
    border-radius: 12px;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
    color: #ff6b6b;
}

.inactive-notice-block .notice-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
@media (max-width: 565px) {
    .top_blog {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .social-share {
        justify-content: space-around;
        gap: 5px;
        flex-wrap: wrap;
    }
    .social-share-title {
        font-size: 12px;
    }
}
@media (max-width: 1440px){
    .category_page_grid {
        grid-template-columns: 270px 1fr;
    }
}
@media (max-width: 1300px) {
    .logo {
        font-size: 20px;
    }
    .logo_svg svg {
        width: 30px;
        height: 30px;
    }
    .camp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}
@media (max-width: 1200px){
    .hero_well_description {
        width: 100%;
    }
    .mbp-catalog--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
     #mse2_sort.sort-links-wrapper,
    .limit-buttons-wrapper{
        flex-wrap: wrap;
    }
    .limit-title,
    .sort-title{
        display:block;
    }
    .mbp-sort_grid {
        gap:20px;
        flex-wrap: wrap;
    }
    .category_page_grid{
        grid-template-columns: 1fr;
    }
    .menu_flex {
        flex-wrap: wrap;
    }
    .mbp-view-switch{
        display:none;
    }
    .mbp-sort_page, 
    .filter_page_wr {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        max-width: calc(100% - 50px);
        z-index: 1050;
        background-color: #ffffff;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        padding: 20px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mbp-sort_page.open, 
    .filter_page_wr.open {
        transform: translateX(0);
    }

    body.dark .mbp-sort_page,
    body.dark .filter_page_wr {
        background-color: #1e293b;
    }

    .btn.btn-primary.red_bg {
        background-color: #dc3545 !important;
        border-color: #dc3545 !important;
        color: #ffffff !important;
    }
    .close_mob_block {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .close_mob_block svg path {
        stroke: #000000;
        transition: stroke 0.2s ease;
    }

    body.dark .close_mob_block svg path {
        stroke: #ffffff;
    }
}

@media (max-width: 768px) {
    .camp-grid {
        grid-template-columns: 1fr;
    }
    .mbp-catalog--grid{
        grid-template-columns: 1fr;
    }
    .menu_flex_50 {
        width: 47%;
    }
    .reviews-top{
        flex-wrap: wrap;
    }
}
@media (max-width: 565px) {
   .status-text {
        margin-left: 0;
        display: block;
        margin-top: 15px;
    }
    .menu_flex_50 {
        width: 47%;
    }
    .hero_well {
        padding: 50px 15px;
    }
    
    .my-custom-labels-wrapper {
        display: flex;
        flex-wrap: nowrap; 
        overflow-x: auto; 
        gap: 6px;
        margin-top: 10px;
        margin-bottom: 10px;
        padding-bottom: 4px; 
        
        
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
    }
    
    .my-custom-labels-wrapper::-webkit-scrollbar {
        display: none; 
    }

    
    .my-custom-labels-wrapper .badge {
        padding: 5px 10px; 
        font-size: 12px; 
        white-space: nowrap; 
        flex-shrink: 0; 
    }
    
    .my-custom-labels-wrapper .badge i {
        font-size: 13px;
    }
}
