/* Theme Variables */
:root {
    --bg-body: #ffffff;
    --bg-header: #F9F8F8;
    --bg-card: #ffffff;
    --bg-card-body: #ffffff;
    --bg-input: #ffffff;
    --bg-modal: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #5C5C5C;
    --text-muted: #999999;
    --border-color: #e5e5e5;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent: #F74952;
    --accent-hover: #e94560;
}

[data-theme="dark"] {
    --bg-body: #0f0f1a;
    --bg-header: #1a1a2e;
    --bg-card: #1f2937;
    --bg-card-body: #252d3a;
    --bg-input: #1f2937;
    --bg-modal: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --border-color: #374151;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --accent: #F74952;
    --accent-hover: #ff6b6b;
}

body{
    font-family: Ubuntu;
    box-sizing: border-box;
    background-color: var(--bg-body);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
.top-header{
    background: var(--bg-header);
    transition: background-color 0.3s ease;
}
.header-top-menu a{
    color: #999;
    text-align: center;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 141.4%; /* 25.452px */
    text-decoration: none;
    margin-left: 15px;
}
.header-top-menu ul{
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: end;
    height: 49px;
    align-items: center;
}
.d-flex{
    display: flex;
}
body{
    margin: 0;
}
.bottom-header{
    border-bottom: 1px solid #E7E7E7;
    margin-bottom: 25px;
}
.bottom-header-items-wrap{
    height: 84px;
    align-items: center;
}
.city-location{
    color: #F74952;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    align-items: center;
    margin-right: 15px;
}
.metro-location{
    color: #5C5C5C;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    align-items: center;
}
.city-location svg , .metro-location svg{
    margin-right: 5px;
}
.position-relative{
    position: relative !important;
}
.search-name-form{
    margin-left: auto;
    display: flex;
}
.text-input{
    border-radius: 50px;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    height: 34px;
    border: none;
    padding-left: 10px;
    width: 210px;
}
.search-name-form button{
    position: absolute;
    right: 10px;
    top: 8px;
    border: none;
    background: none;
}
.login-btn{
    margin-left: 15px;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(15deg);
}
.theme-toggle .sun-icon {
    display: block;
}
.theme-toggle .moon-icon {
    display: none;
}
[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}
[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}
[data-theme="dark"] .theme-toggle {
    border-color: var(--accent);
    color: var(--accent);
}
/* PWA Install Banner */
.pwa-install-banner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    font-size: 14px;
    position: relative;
}
.pwa-install-banner span {
    text-align: center;
}
.pwa-install-btn-banner {
    padding: 6px 20px;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.pwa-install-btn-banner:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}
.pwa-install-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.2s;
}
.pwa-install-close:hover {
    color: #fff;
}
@media (max-width: 576px) {
    .pwa-install-banner {
        font-size: 12px;
        gap: 10px;
        padding: 6px 10px;
    }
    .pwa-install-btn-banner {
        padding: 5px 12px;
        font-size: 12px;
    }
}
.form-item {
    margin-right: 25px;
    margin-bottom: 20px;
}
.slider-text{
    color: #5C5C5C;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}
.noUi-horizontal{
    height: 2px;
    border: none;
    margin-bottom: 10px;
}
.noUi-connect{
    background:  #F74952;
}
.noUi-horizontal .noUi-handle{
    width: 19px;
    height: 19px;
    border-radius: 50%;
    top: -10px;
}
.noUi-handle::after, .noUi-handle::before {
    display: none;
}
.inputs{
    display: flex;
}
.inputs input{
    max-width: 75px;
    border: none;
}
.right-input{
    text-align: right;
}
.form-item select{
    width: 160px;
    padding: 6px 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 10px;
}
.filter{
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.fast-links{
    margin-bottom: 25px;
    overflow-x: auto;
}
.header_auth{
    text-align: center;
    padding-top: 30px;
}
.big-red-text{
    color: #F74952;
    font-family: Ubuntu;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.red-btn{
    border-radius: 50px;
    background: #F74952;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    border: none;
    color: #FFF;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 120px;
    height: 36px;
}
.fast-link{
    height: 32px;
    flex-shrink: 0;
    border-radius: 50px;
    border: 1px solid #EEE;
    background: #F0F0F0;
    color: #999;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-right: 15px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    display: flex;
    padding: 0 13px;
}
.video{
    margin-top: 30px;
}
.video .label{
    margin-bottom: 10px;
}
.yellow-btn{
    border-radius: 34px;
    background: linear-gradient(90deg, #F74952 2.8%, #F0C612 100%);
    color: #fff;
    padding: 13px 20px;
    display: flex;
    align-items: center;
}
.message-btn-wrap{
    margin-bottom: 20px;
    display: flex;
}
.yellow-btn svg{
    margin-left: 10px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

/* Содержимое окна */
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}
.fast-link:hover{
    border-radius: 50px;
    background: #F74952;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    color: #FFF;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}
.page-h1{
    margin: 0;
    margin-bottom: 25px;
}

.phone-message-form{
    display: flex;
    flex-direction: column;
}



.card {
    background: var(--bg-card);
    box-shadow: 0 4px 6px var(--shadow-color);
    overflow: hidden;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.card img {
    width: 100%;
    object-fit: cover;
}

/* Card Gallery */
.card-gallery {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
}
.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 10;
}
.card-gallery:hover .gallery-arrow {
    opacity: 1;
}
.gallery-arrow:hover {
    background: rgba(0,0,0,0.7);
}
.gallery-prev {
    left: 8px;
}
.gallery-next {
    right: 8px;
}
.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.gallery-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active {
    background: #fff;
    transform: scale(1.3);
}
@media (max-width: 768px) {
    .gallery-arrow {
        width: 28px;
        height: 28px;
        opacity: 0.7;
    }
    .gallery-prev {
        left: 5px;
    }
    .gallery-next {
        right: 5px;
    }
}

.card-body {
    padding: 10px;
    padding-top: 15px;
    background: var(--bg-card-body);
    transition: background-color 0.3s ease;
}
.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}
.card-info, .card-reviews {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}
.stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 13px;
}
.stats div {
    flex: 1;
    color: #5C5C5C;
    font-family: Ubuntu;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    display: flex;
    flex-direction: column-reverse;
}
.stats span:first-child {
    color: #F74952;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 9999px;
}
.pink {
    background-color: #ffe4e6;
    color: #db2777;
}
.blue {
    background-color: #dbeafe;
    color: #3b82f6;
}
.red {
    background-color: #fee2e2;
    color: #ef4444;
}
.card-phone {
    background: #ef4444;
    color: #fff;
    text-align: center;
    margin-top: 10px;
    padding: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.card-phone svg {
    margin-right: 5px;
}

.position-absolute{
    position: absolute !important;
}
.position-relative{
    position: relative !important;
}
.top-info{
    bottom: 0px;
    width: 100%;
    background: linear-gradient(to top, #000000d1, #fff0);
    padding-top: 20px;
    padding-bottom: 15px;
}
.top-info .card-title{
    padding: 0 10px;
}
.top-info .card-info{
    padding: 0 10px;
}
.card-price{
    color: #FFF;
    font-family: Ubuntu;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
}
.photo-icon{
    width: 25px;
    height: 25px;
    background: #F74952;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
.photo-count{
    margin-left: 10px;
    color: #FFF;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.card-white-text{
    color: #FFF;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}
.city-location-icon{
    width: 15px;
    height: 15px;
    background: #5D69F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}
.review-count{
    color: #FFF;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
}
.review-count-icon{
    width: 15px;
    height: 15px;
    background: #FFCF03;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}
.card{
    margin-bottom: 30px;
}
.swiper img{
    max-width: 100%;
}
.swiper-button-next, .swiper-button-prev{
    color: #F74952;
}
.swiper-pagination-bullet-active{
    background: #F74952;
}
.single-card{
    border-radius: 10px;
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: 0px 0px 30px 0px var(--shadow-color);
    margin-bottom: 25px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.more-posts-wrap .big-red-text, .more-posts-single{
    margin-bottom: 15px;
}
.single-phone{
    color: #F74952;
    font-family: Ubuntu;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 25px;
    display: block;
}
.single-photo-count{
    color: #000;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
}
.single-name{
    margin: 0;
    margin-bottom: 30px;
    margin-top: 25px;
}
.single-photo-count-wrap{
    margin-bottom: 20px;
}
.single-city-name .city-location-icon{
    width: 25px;
    height: 25px;
}
.metro-wrap{
    color: #000;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    flex-wrap: wrap;
}
.metro-label{
    margin-right: 5px;
    color: #999;
}
.single-city-name, .metro-wrap, .single-review-count{
    margin-bottom: 20px;
}
.single-review-count .review-count-icon{
    width: 25px;
    height: 25px;
}
.single-review-count .review-count{
    color: #000;
}


.price-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    font-family: Ubuntu;
}

.price-block {
    display: flex;
    align-items: center;
}

.price-icon img {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.price-title {
    font-size: 20px;
    font-weight: bold;
    color: #f74952; /* Ярко-розовый */
    margin-bottom: 20px;
    text-align: center;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    width: 160px;
}

.price-label {
    color: #ccc;
    font-size: 18px;
}

.price-value {
    color: #f74952;
    font-size: 18px;
    font-weight: bold;
}



.profile-card {
    padding: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
}

.profile-name {
    font-size: 28px;
    font-weight: bold;
    color: #f43f5e; /* Красный */
}

.profile-info {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid transparent; /* Сначала прозрачный бордер */
    border-radius: 20px;
    font-size: 16px;
    color: #f43f5e;
    background:
        linear-gradient(white, white) padding-box, /* Фон внутри */
        linear-gradient(to right, #F74952, #F0C612) border-box; /* Градиентный бордер */
    transition: background 0.3s;
}

.info-item:hover {
    background:
        linear-gradient(#fff5f5, #fff5f5) padding-box, /* Легкий тон при ховере */
        linear-gradient(to right, #F74952, #F0C612) border-box;
}

.info-item:hover {
    background: #ffe4e6;
}

.profile-details {
    margin-top: 30px;
}

.profile-row {
    margin-bottom: 15px;
    font-size: 18px;
    color: #555;
}

.label {
    font-weight: bold;
    color: #f43f5e;
}
.name-info-wrap{
    flex-direction: column;
}
.review-wrap{
    padding: 20px;
}
.add-review{
    display: flex;
    flex-direction: column;
}
.review-input{
    max-width: 280px;
    padding: 9px;
    border: 1px solid #c8c6c6;
    border-radius: 10px;
    margin-bottom: 15px;
}
.add-review textarea, .phone-message-form textarea{
    max-width: 400px;
    min-height: 90px;
    padding: 9px;
    border: 1px solid #c8c6c6;
    border-radius: 10px;
    margin-bottom: 15px;
}

.alert {
    padding: 12px 20px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 16px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.review-card {
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

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

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f74952, #f0c612);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-info {
    flex-grow: 1;
    margin-left: 12px;
}

.username {
    font-weight: bold;
    font-size: 18px;
}

.hidden-icon {
    font-size: 14px;
    color: #999;
    margin-left: 5px;
}

.rating {
    color: #ccc;
    font-size: 20px;
}

.time {
    font-size: 14px;
    color: #888;
}

.review-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}
#filterClose{
    display:  none;
}
#burger-menu{
    display: flex;
    align-items: center;
    margin-left: 15px;
}
.login-btn{
    display: flex;
    align-items: center;
}


.catalog {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    transition: left 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.catalog.open {
    left: 0;
}

/* Кнопка закрытия */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #f74952;
}

/* Аккордеон */
.accordion {
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 12px 0;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg); /* Плюсик превращается в крестик */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content ul {
    padding: 10px 0;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.accordion-content li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.accordion-content li a{
    text-decoration: none;
    color: inherit;
}
.sidebar-link{
    display: block;
    text-decoration:  none;
    font-weight: bold;
    color: #000;
    padding: 12px 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Тёмный полупрозрачный фон */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900; /* Меньше, чем у каталога (1000) */
}

/* Показать overlay */
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Небольшой апдейт каталога: увеличим z-index */
.catalog {
    z-index: 1001;
}

#filterToggle{
    display: none;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 20px 0;
    gap: 8px;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link:hover {
    background: #f74952; /* яркий розовый */
    color: #fff;
    border-color: #f74952;
}

.page-item.active .page-link {
    background: #f74952;
    color: #fff;
    border-color: #f74952;
    font-weight: bold;
    pointer-events: none; /* нельзя кликать на активную */
}

.page-item.disabled .page-link {
    color: #ccc;
    border-color: #e0e0e0;
    background: #f9f9f9;
    pointer-events: none; /* нельзя кликать */
}

.more-posts , .more-posts-single{
    padding: 10px 20px;
    background: #f74952;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    max-width: 160px;
    text-align: center;
    margin: 0 auto;
}

.city-location,
.metro-location {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    max-height: 380px; /* ограничение по высоте */
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    z-index: 10;
}

.city-location:hover .dropdown,
.metro-location:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
}

#contactModal .big-red-text{
    text-align: center;
}

.dropdown a:hover {
    background-color: #f0f0f0;
}
.metro-name{
    margin-right: 10px;
}

.form h1{
    text-align: center;
}

@media (max-width: 1399px) {
    #filterToggle{
        display: block;
    }
    .bottom-header{
        margin-bottom: 0;
    }
    .bottom-header{
        border-bottom: none;
    }
    .header-top-menu{
        display: none;
    }
    .red-btn{
        padding: 5px;
    }
    #filterClose{
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
        width: 25px;
        height: 25px;
        text-align: center;
        cursor:  pointer;
    }
    .filter {
        position: fixed;
        top: 0;
        left: -300px; /* Скрыт за экраном */
        width: 300px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.3);
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        flex-direction: column;
        overflow-y: auto;
    }
    .form-item{
        margin-right: 0;
    }

    .filter.open {
        left: 0; /* Выезжает */
    }

    #filterToggle {
        margin: 0px auto;
        margin-bottom: 20px;
        padding: 10px 20px;
        background: #f74952;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 16px;
        border-radius: 5px;
    }
}
.star {
    width: 20px;
    height: 20px;
    fill: #FFD700;
}

.star-empty {
    fill: #ccc;
}

.star-half {
    fill: url(#half-grad);
}
.star-rating {
    display: inline-flex;
    position: relative;
    gap: 4px;
    margin-bottom: 10px;
}
.star svg {
    width: 100%;
    height: 100%;
    fill: #ccc;
}
.star.full svg {
    fill: #FFD700;
}
.star.half svg {
    fill: url(#half-grad);
}
.review-radio-group{
    margin-bottom: 10px;
    margin-top: 5px;
}
.breadcrumbs {
    font-size: 16px;
    color: #666;
    margin-bottom:  10px;
}

.top-info-wrap{
    min-height: 350px;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: #999;
}

.breadcrumbs li a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs li a:hover {
    color: #000;
    text-decoration: underline;
}

.breadcrumbs li + li::before {
    content: '>';
    margin: 0 8px;
    color: #ccc;
    font-size: 16px;
}
.metro-name a{
    text-decoration: none;
    color: #000;
}
.catalog-heading{
    font-weight: bold;
    font-size: 22px;
}
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #f74952;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
#sort{
    padding: 6px 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 10px;
}
.set-sort-wrap{
    margin-bottom: 25px;
}
#photo-with-comments{
    padding: 20px;
}
.photo-with-comments-item img{
    border-radius: 10px;
    max-width: 50%;
}
.photo-with-comments-item{
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.comments-form-wrap{
    width: 45%;
    margin-left: 20px;
}

.filter-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

/* Чипы */
.filter-chip {
    padding: 10px 20px;
    background: #f74952;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    text-align: center;
}

.filter-chip svg{
    margin-right: 10px;
}

.filter-chip--icon .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
}

/* Оверлей */
.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 998;
}

/* Панель фильтров справа */
.filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 100%;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1000;
    padding: 18px 18px 20px;
    overflow-y: auto;
}

.filter-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.filter-panel__header h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.filter-close {
    border: none;
    background: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

/* Секции фильтра */
.filter-section {
    margin-bottom: 16px;
}

.filter-section__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4b5563;
}

/* Цена */
.filter-price,
.filter-range {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-input,
.range-input {
    width: 80px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
}

.currency,
.dash {
    font-size: 13px;
    color: #6b7280;
}

/* Теги */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 4px 8px;
    font-size: 13px;
    cursor: pointer;
    color: #000;
}

.filter-tags .tag input {
    accent-color: #4b008f;
}

/* Чеклисты */
.filter-checklist {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 200px;
    overflow-y: auto;
}

.filter-checklist label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
}

.filter-checklist input {
    accent-color: #4b008f;
}

/* Аккордеон внутри фильтра – используем тот же стиль, что и боковое меню */
.filter-acc__btn {
    width: 100%;
    border: none;
    background: #f9fafb;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 6px;
}

/* Иконка уже описана ранее через .acc__icon */

.filter-panel__footer {
    position: sticky;
    bottom: 0;
    padding-top: 10px;
    margin-top: 10px;
    background: linear-gradient(to top, #ffffff 70%, rgba(255,255,255,0));
    display: flex;
    gap: 10px;
}

.filter-submit {
    flex: 1;
    border-radius: 999px;
    border: none;
    background: #ff3b6c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(255,59,108,0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.filter-submit:hover {
    background: #ff2157;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255,59,108,0.45);
}

.filter-reset {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
}

body.is-filter-open .filter-panel {
    transform: translateX(0);
}

body.is-filter-open .filter-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.online .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.online.online .dot {
    background: #2ecc71;
}

.online.today .dot,
.online.yesterday .dot {
    background: #f1c40f;
}

.online.week .dot {
    background: #3498db;
}

.online.month .dot {
    background: #95a5a6;
}

.online.old {
    display: none; /* или серый текст, если нужно */
}

.claim-form{
    display: flex;
    flex-direction: column;
}

.claim-form .red-btn{
    width: auto;
}

.claim-wrap{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #F74952;
    font-family: Ubuntu;
    font-weight: bold;
}

@keyframes headerFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 767px) {
    .comments-form-wrap, .photo-with-comments-item img{
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    .bottom-header {
        position: relative;
        width: 100%;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    header{
        height: 84px;
    }

    .bottom-header.fixed {
        position: fixed;
        top: 0;
        left: 0;
        background: white;
    }
    .catalog {
        width: 100%;
        left: -100%;
    }

    .catalog.open {
        left: 0;
    }

    .close-btn {
        font-size: 32px;
        top: 20px;
        right: 20px;
    }
    .search-name-form{
        display: none;
    }
    .logo svg{
        width: 100px;
    }
    .login-btn{
        margin-left: auto;
    }
    .metro-location{
        display: none!important;
    }
}
@media (max-width: 992px) {
    .right-single-content{
        padding-left: 20px;
        margin-bottom: 20px;
    }
}
@media (max-width: 576px) {
    .profile-header{
        flex-direction: column;
        align-items: center;
    }
    .profile-avatar{
        margin-right: 0;
        margin-bottom: 10px;
    }
    .price-block{
        width: 100%;
    }
    .price-container{
        gap: 10px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        padding-left: 0;
    }
    .price-list{
        width: 100%;
    }
    .price-row{
        width: 100%;
    }
}

.quick-view-btn svg {
    fill: #F74952;
}
.card:hover .quick-view-btn {
    opacity: 1;
    transform: scale(1);
}
.quick-view-btn:hover {
    background: #F74952;
}
.quick-view-btn:hover svg {
    fill: white;
}

/* Quick View Modal */
.qv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* Quick View Loader */
.qv-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.qv-modal.loading .qv-loader {
    display: block;
}
.qv-modal.loading .qv-modal-content {
    opacity: 0;
    pointer-events: none;
}
.qv-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: #F74952;
    border-radius: 50%;
    animation: qvSpin 0.8s linear infinite;
}
@keyframes qvSpin {
    to { transform: rotate(360deg); }
}
.qv-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: qvSlideIn 0.3s ease;
}
@keyframes qvSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.qv-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.qv-close:hover {
    background: #F74952;
    color: white;
}
.qv-body {
    display: flex;
    max-height: 90vh;
    overflow: auto;
}
.qv-gallery {
    flex: 0 0 50%;
    background: #f9f9f9;
    padding: 20px;
}
.qv-main-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.qv-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qv-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
}
.qv-nav:hover {
    background: #F74952;
    color: white;
}
.qv-prev {
    left: 10px;
}
.qv-next {
    right: 10px;
}
.qv-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}
.qv-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.qv-thumb:hover,
.qv-thumb.active {
    opacity: 1;
}
.qv-thumb.active {
    outline: 2px solid #F74952;
    outline-offset: 2px;
}
.qv-info {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}
.qv-name {
    font-size: 28px;
    margin: 0 0 10px;
    color: #333;
}
.qv-rating {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}
.qv-location {
    font-size: 15px;
    color: #888;
    margin-bottom: 20px;
}
.qv-params {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.qv-param {
    background: #f5f5f5;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
}
.qv-param span {
    font-weight: 600;
    color: #333;
}
.qv-prices {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border: 1px solid #ffe0e0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}
.qv-price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
}
.qv-price-row:last-child {
    border-bottom: none;
}
.qv-price-row span {
    color: #888;
}
.qv-price-row strong {
    color: #F74952;
    font-size: 16px;
}
.qv-services {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.qv-service {
    background: #e8f4ff;
    color: #1a73e8;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
}
.qv-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.qv-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}
.qv-badge.verified {
    background: #e6f7ed;
    color: #0f9d58;
}
.qv-badge.video {
    background: #fff3e0;
    color: #f57c00;
}
.qv-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.qv-btn {
    flex: 1;
    min-width: 140px;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.qv-btn-phone {
    background: #F74952;
    color: white;
}
.qv-btn-phone:hover {
    background: #d93d45;
}
.qv-btn-profile {
    background: #333;
    color: white;
}
.qv-btn-profile:hover {
    background: #555;
}

/* Mobile Quick View */
@media (max-width: 768px) {
    .quick-view-btn {
        opacity: 1;
        transform: scale(1);
    }
    .qv-body {
        flex-direction: column;
    }
    .qv-gallery {
        flex: none;
    }
    .qv-info {
        padding: 20px;
    }
    .qv-name {
        font-size: 22px;
    }
    .qv-actions {
        flex-direction: column;
    }
    .qv-btn {
        min-width: 100%;
    }
}

/* Card Actions Top (Quick View + Compare) */
.card-actions-top {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.card-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.95);
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
}
.card-action-btn svg {
    fill: #F74952;
    flex-shrink: 0;
}
.card-action-btn span {
    font-size: 11px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}
.card:hover .card-action-btn {
    opacity: 1;
    transform: translateX(0);
}
.card:hover .card-action-btn:nth-child(2) {
    transition-delay: 0.05s;
}
.card-action-btn:hover {
    background: #F74952;
}
.card-action-btn:hover svg {
    fill: white;
}
.card-action-btn:hover span {
    color: white;
}
.compare-btn.active {
    background: #F74952;
    opacity: 1;
    transform: translateX(0);
}
.compare-btn.active svg {
    fill: white;
}
.compare-btn.active span {
    color: white;
}

/* Verified Badge */
.card-verified-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    animation: verified-glow 2s ease-in-out infinite;
}
.card-verified-badge svg {
    fill: #fff;
    flex-shrink: 0;
}
@keyframes verified-glow {
    0%, 100% { box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 2px 15px rgba(16, 185, 129, 0.6); }
}

/* Compare Bar */
.compare-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 15px 20px;
    transition: bottom 0.3s ease;
}
.compare-bar.show {
    bottom: 0;
}
.compare-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.compare-bar-title {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
.compare-bar-items {
    display: flex;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}
.compare-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 20px;
}
.compare-bar-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.compare-bar-item span {
    font-size: 14px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.compare-bar-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
}
.compare-bar-item-remove:hover {
    color: #F74952;
}
.compare-bar-btn {
    background: #F74952;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.compare-bar-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.compare-bar-btn:not(:disabled):hover {
    background: #d93d45;
}
.compare-bar-clear {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
}
.compare-bar-clear:hover {
    color: #F74952;
}

/* Compare Modal */
.cmp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cmp-modal.loading .cmp-modal-content {
    opacity: 0.3;
}
.cmp-modal.loading .cmp-loader {
    display: flex;
}
.cmp-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.cmp-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: qvSlideIn 0.3s ease;
}
.cmp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cmp-close:hover {
    background: #F74952;
    color: white;
}
.cmp-title {
    text-align: center;
    padding: 20px;
    margin: 0;
    font-size: 24px;
    border-bottom: 1px solid #eee;
}
.cmp-table-wrap {
    overflow: auto;
    max-height: calc(90vh - 80px);
    padding: 20px;
}
.cmp-table {
    width: 100%;
    border-collapse: collapse;
}
.cmp-table th,
.cmp-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.cmp-table th {
    background: #f9f9f9;
    position: sticky;
    top: 0;
}
.cmp-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 8px;
}
.cmp-name {
    font-weight: 600;
    font-size: 16px;
}
.cmp-label {
    text-align: left;
    font-weight: 500;
    color: #666;
    background: #fafafa;
    white-space: nowrap;
}
.cmp-best {
    background: #e6f7ed;
    color: #0f9d58;
    font-weight: 600;
}
.cmp-services {
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
}
.cmp-has {
    color: #0f9d58;
}
.cmp-no {
    color: #ccc;
}
.cmp-actions {
    padding: 20px 10px;
}
.cmp-phone-btn,
.cmp-profile-btn {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
}
.cmp-phone-btn {
    background: #F74952;
    color: white;
}
.cmp-phone-btn:hover {
    background: #d93d45;
}
.cmp-profile-btn {
    background: #333;
    color: white;
}
.cmp-profile-btn:hover {
    background: #555;
}

/* Mobile Compare */
@media (max-width: 768px) {
    .card-action-btn {
        opacity: 1;
        transform: translateX(0);
        padding: 5px 10px;
    }
    .card-action-btn span {
        font-size: 10px;
    }
    .compare-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .compare-bar-items {
        justify-content: center;
    }
    .compare-bar-btn {
        width: 100%;
    }
    .cmp-table {
        font-size: 13px;
    }
    .cmp-avatar {
        width: 60px;
        height: 60px;
    }
    .cmp-table th,
    .cmp-table td {
        padding: 8px;
    }
}

/* ===== Dark Theme Specific Styles ===== */
[data-theme="dark"] .header-top-menu a {
    color: var(--text-muted);
}
[data-theme="dark"] .header-top-menu a:hover {
    color: var(--text-primary);
}
[data-theme="dark"] .bottom-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
}
[data-theme="dark"] .text-input {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-color);
}
[data-theme="dark"] .text-input::placeholder {
    color: var(--text-muted);
}
[data-theme="dark"] .stats div {
    color: var(--text-secondary);
}
[data-theme="dark"] .stats span {
    color: var(--text-primary);
}
[data-theme="dark"] .badge {
    background: var(--bg-header);
}
[data-theme="dark"] .card-info {
    color: var(--text-secondary);
}
[data-theme="dark"] footer {
    background: var(--bg-header);
}
[data-theme="dark"] .modal-content,
[data-theme="dark"] .quick-view-modal-content,
[data-theme="dark"] .compare-modal-content {
    background: var(--bg-modal);
    color: var(--text-primary);
}
[data-theme="dark"] .login-btn svg path {
    fill: var(--text-secondary);
}
[data-theme="dark"] .search-name-form button svg path {
    fill: var(--accent);
}
[data-theme="dark"] #sort {
    color: var(--text-primary);
}
[data-theme="dark"] .compare-bar {
    background: var(--bg-header);
    border-top: 1px solid var(--border-color);
}
[data-theme="dark"] .cmp-table {
    background: var(--bg-card);
}
[data-theme="dark"] .cmp-table th {
    background: var(--bg-header);
    color: var(--text-secondary);
}
[data-theme="dark"] .cmp-table td {
    border-color: var(--border-color);
    color: var(--text-primary);
}
[data-theme="dark"] .claim-modal-content,
[data-theme="dark"] .contact-modal-content {
    background: var(--bg-modal);
}
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-color);
}
[data-theme="dark"] .pwa-install-banner {
    background: linear-gradient(135deg, #252d3a 0%, #1a1a2e 100%);
}

/* Single Card Dark Theme */
[data-theme="dark"] .single-card {
    background: var(--bg-card);
}
[data-theme="dark"] .single-name {
    color: var(--text-primary);
}
[data-theme="dark"] .single-city-name,
[data-theme="dark"] .metro-wrap,
[data-theme="dark"] .single-review-count {
    color: var(--text-secondary);
}
[data-theme="dark"] .single-photo-count {
    color: var(--text-secondary);
}
[data-theme="dark"] .single-info-block {
    background: var(--bg-card-body);
    border-color: var(--border-color);
}
[data-theme="dark"] .single-info-title {
    color: var(--text-secondary);
}
[data-theme="dark"] .single-info-value {
    color: var(--text-primary);
}
[data-theme="dark"] .single-price-block {
    background: var(--bg-card-body);
}
[data-theme="dark"] .single-price-title {
    color: var(--text-secondary);
}
[data-theme="dark"] .single-price-value {
    color: var(--text-primary);
}
[data-theme="dark"] .single-about,
[data-theme="dark"] .single-services {
    background: var(--bg-card-body);
}
[data-theme="dark"] .single-about-text {
    color: var(--text-secondary);
}
[data-theme="dark"] .service-item {
    background: var(--bg-header);
    color: var(--text-secondary);
    border-color: var(--border-color);
}
[data-theme="dark"] .service-item.available {
    color: var(--text-primary);
}
[data-theme="dark"] .big-red-text {
    color: var(--accent);
}
[data-theme="dark"] .more-posts-single {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .review-count , [data-theme="dark"] .metro-name a, [data-theme="dark"] .profile-row , [data-theme="dark"]  .breadcrumbs li a{
    color: var(--text-primary);
}

/* ===== Skeleton Loading ===== */
.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e8e8e8 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Skeleton Card */
.skeleton-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 0;
}

.skeleton-body {
    padding: 15px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-text:last-child {
    margin-bottom: 0;
}

.skeleton-text.w-100 { width: 100%; }
.skeleton-text.w-80 { width: 80%; }
.skeleton-text.w-60 { width: 60%; }
.skeleton-text.w-40 { width: 40%; }
.skeleton-text.w-30 { width: 30%; }

.skeleton-title {
    height: 20px;
    width: 70%;
    margin-bottom: 12px;
}

.skeleton-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.skeleton-stat {
    flex: 1;
    height: 40px;
    border-radius: 4px;
}

.skeleton-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.skeleton-badge {
    height: 24px;
    width: 80px;
    border-radius: 12px;
}

.skeleton-button {
    height: 44px;
    width: 100%;
    border-radius: 8px;
}

/* Skeleton Quick View */
.skeleton-quick-view {
    display: flex;
    gap: 20px;
}

.skeleton-qv-gallery {
    width: 40%;
}

.skeleton-qv-main-image {
    width: 100%;
    aspect-ratio: 3/4;
    margin-bottom: 10px;
}

.skeleton-qv-thumbs {
    display: flex;
    gap: 8px;
}

.skeleton-qv-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.skeleton-qv-info {
    flex: 1;
}

.skeleton-qv-name {
    height: 28px;
    width: 60%;
    margin-bottom: 15px;
}

.skeleton-qv-row {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.skeleton-qv-label {
    height: 16px;
    width: 80px;
}

.skeleton-qv-value {
    height: 16px;
    width: 100px;
}

.skeleton-qv-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.skeleton-qv-service {
    height: 28px;
    width: 70px;
    border-radius: 14px;
}

/* Dark Theme Skeleton */
[data-theme="dark"] .skeleton {
    background: linear-gradient(
        90deg,
        #2d3748 25%,
        #3d4a5c 50%,
        #2d3748 75%
    );
    background-size: 200% 100%;
}

[data-theme="dark"] .skeleton-card {
    background: var(--bg-card);
}

/* Responsive */
@media (max-width: 768px) {
    .skeleton-quick-view {
        flex-direction: column;
    }
    .skeleton-qv-gallery {
        width: 100%;
    }
}

/* ===== Live Filters ===== */

/* Filter Bar */
.filter-bar {
    margin-bottom: 15px;
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #c91b5c, #a01548);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(201, 27, 92, 0.3);
}

.filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 27, 92, 0.4);
}

.filter-chip svg {
    width: 18px;
    height: 18px;
}

.filter-active-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #fff;
    color: #c91b5c;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.filter-results-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.filter-results-count span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.active-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-primary);
    animation: filterTagAppear 0.2s ease;
}

@keyframes filterTagAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.active-filter-tag button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.active-filter-tag button:hover {
    background: rgba(201, 27, 92, 0.1);
    color: #c91b5c;
}

.active-filters__clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #c91b5c;
    border-radius: 16px;
    color: #c91b5c;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.active-filters__clear:hover {
    background: #c91b5c;
    color: #fff;
}

/* Filter Panel Footer */
.filter-panel__footer {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    position: sticky;
    bottom: 0;
}

.filter-reset {
    flex: 0 0 auto;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-reset:hover {
    border-color: #c91b5c;
    color: #c91b5c;
}

.filter-submit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #c91b5c, #a01548);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201, 27, 92, 0.4);
}

.filter-submit__count {
    opacity: 0.8;
}

/* Loading Skeleton for Filters */
.filter-skeleton .skeleton-image {
    height: 280px;
}

.skeleton-text-inline {
    display: inline-block;
    width: 50px;
    height: 14px;
    vertical-align: middle;
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

.no-results::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-secondary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Dark Theme Filter Styles */
[data-theme="dark"] .filter-chip {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .active-filter-tag {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .filter-panel__footer {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .filter-reset {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .no-results::before {
    background-color: var(--bg-card);
}

/* Mobile Filter Improvements */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: row;
        justify-content: space-between;
    }

    .filter-chip {
        padding: 8px 14px;
        font-size: 13px;
    }

    .filter-results-count {
        font-size: 13px;
    }

    .active-filters {
        margin-top: 10px;
    }

    .active-filter-tag {
        font-size: 11px;
        padding: 5px 8px;
    }

    .filter-panel {
        width: 100%;
        max-width: 100%;
    }

    .filter-panel__footer {
        padding: 12px 15px;
    }

    .filter-submit,
    .filter-reset {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Filter Panel Slide Animation */
.filter-panel {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.is-filter-open .filter-panel {
    transform: translateX(0);
}

/* Filter Overlay */
.filter-overlay {
    transition: opacity 0.3s ease;
}

body.is-filter-open .filter-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Filter Loading State */
.filter-chip.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.filter-chip.is-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Content Fade Animation */
.content {
    transition: opacity 0.2s ease;
}

.content.is-loading {
    opacity: 0.5;
    pointer-events: none;
}
