/* --- CSS RESET --- */

/* 1. Убираем все отступы и рамки по умолчанию */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Ставим современные размеры и базу для шрифтов */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* 3. Тело страницы */
body {
    line-height: 1.5;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: #F5F5F5;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* 4. Изображения и видео */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 5. Убираем стили списков */
ul,
ol {
    list-style: none;
}

/* 6. Ссылки — убираем подчеркивание и цвет */
a {
    text-decoration: none;
    color: inherit;
}

/* 7. Формы */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* 8. Кнопки — курсор и отключение выделения */
button {
    cursor: pointer;
}

/* 9. Таблицы */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 10. Теги заголовков и параграфов */
h1, h2, h3, h4, h5, h6, p {
    font-weight: inherit;
    font-size: inherit;
}

/* Heading hierarchy */
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

/* 11. Скрытие элементов для скринридеров */
[hidden] {
    display: none !important;
}

:root{
    --bg: #F5F5F5;
    --card: #FFFFFF;
    --text: #333333;
    --text-secondary: #777777;
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-light: #3B82F6;
    --success: #16A34A;
    --error: #DC2626;
    --warning: #F59E0B;
    --border: #E5E7EB;
}

/* ===== PREMIUM HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.03);
    transition: transform .35s cubic-bezier(.22,.68,0,1), box-shadow .35s;
    will-change: transform;
}

header.header--hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

header.header--shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.d-flex {
    display: flex;
}

/* Legacy map-btn */
.map-btn { display: none; }

/* Legacy — hidden */
.top-header {
    display: none;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity .2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(37,99,235,0.25);
    flex-shrink: 0;
}

.logo__text {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
}

/* --- Header search --- */
.header__search {
    flex: 1;
    max-width: 420px;
    position: relative;
    margin: 0 auto;
}

.header__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    opacity: 0.5;
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.header__search-input {
    width: 100%;
    height: 42px;
    padding: 0 16px 0 40px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all .25s;
}

.header__search-input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.header__search-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- Header actions --- */
.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header__action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}

.header__action-btn--map {
    color: var(--text-secondary);
    background: rgba(0,0,0,0.04);
}

.header__action-btn--map:hover {
    color: var(--text);
    background: rgba(0,0,0,0.08);
}

.header__action-btn--cta {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    box-shadow: 0 2px 10px rgba(37,99,235,0.25);
}

.header__action-btn--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(37,99,235,0.35);
}

.header__action-label {
    display: inline;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.name, .price {
    margin-bottom: 13px;
}

/* Legacy search-btn */
.search-btn { display: none; }

/* Legacy */
.bottom-header {
    display: none;
}

.params {
    padding-top: 25px;
}

.single-price {
    margin-top: 25px;
    color: var(--text);
    font-size: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.price-heading {
    font-weight: 700;
    margin-bottom: 20px;
}

.apart-price, .journey-price {
    width: 48%;
    flex-direction: column;
}

.price-item-wrap {
    margin-top: auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
}

/* Legacy search-name-input */
.search-name-input { display: none; }

.link {
    color: var(--text);
    font-size: 16px;
    padding: 10px;
    margin-right: 10px;
    border-radius: 3px;
    background: #F5F5F5;
    border: 1px solid var(--border);
}

.links {
    margin-bottom: 30px;
}

body {
    font-family: ubuntu;
    background: var(--bg);
}

.filter-btn {
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 28px;
    max-width: 280px;
    text-align: center;
    margin: 20px auto 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.22,.68,0,1);
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.filter-btn:hover {
    background: var(--card);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.filter-btn:hover::before {
    opacity: 1;
}

h1 {
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 28px 0 12px;
    position: relative;
    animation: fadeInDown 0.5s ease both;
}

/* Content hero wrapper */
.content-hero {
    padding-bottom: 4px;
}

.content-hero h1 {
    text-align: left;
    padding-bottom: 8px;
    position: relative;
}

.content-hero h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    margin-top: 12px;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.name-wrap {
    bottom: 19px;
    width: 100%;
    justify-content: space-between;
}

.list-name, .price {
    font-size: 20px;
    color: var(--text);
    align-items: center;
    font-weight: 700;
}

.price {
    margin-right: 13px;
}

.check-post {
    margin-right: 4px;
}

/* --- PREMIUM POST CARD --- */

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardPhoneShimmer {
    0%        { left: -100%; }
    50%, 100% { left: 150%; }
}

.post {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(.22,.68,0,1), box-shadow 0.4s cubic-bezier(.22,.68,0,1), border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    animation: cardReveal 0.5s cubic-bezier(.22,.68,0,1) both;
}

/* Staggered card entrance — first 12 cards */
.posts .post:nth-child(1)  { animation-delay: 0.05s; }
.posts .post:nth-child(2)  { animation-delay: 0.1s; }
.posts .post:nth-child(3)  { animation-delay: 0.15s; }
.posts .post:nth-child(4)  { animation-delay: 0.2s; }
.posts .post:nth-child(5)  { animation-delay: 0.25s; }
.posts .post:nth-child(6)  { animation-delay: 0.3s; }
.posts .post:nth-child(7)  { animation-delay: 0.32s; }
.posts .post:nth-child(8)  { animation-delay: 0.34s; }
.posts .post:nth-child(9)  { animation-delay: 0.36s; }
.posts .post:nth-child(10) { animation-delay: 0.38s; }
.posts .post:nth-child(11) { animation-delay: 0.4s; }
.posts .post:nth-child(12) { animation-delay: 0.42s; }

.post:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
}

/* Image */
.post > .position-relative {
    overflow: hidden;
}

.post > .position-relative img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s cubic-bezier(.22,.68,0,1);
}

.post:hover > .position-relative img {
    transform: scale(1.05);
}

/* Gradient overlay on image bottom */
.post > .position-relative::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Info area */
.bottom-post-info {
    padding: 16px 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.name.d-flex {
    align-items: center;
    gap: 6px;
}

.list-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    transition: color 0.25s ease;
    letter-spacing: -0.2px;
}

.post:hover .list-name {
    color: var(--accent);
}

.check-post {
    margin-right: 2px;
    flex-shrink: 0;
}

.price {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.bottom-post-info-items {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.bottom-post-info-item {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.metro {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding-top: 8px;
    transition: color 0.2s ease;
}

.metro:hover {
    color: var(--text);
}

.metro svg {
    flex-shrink: 0;
}

/* Phone button — hero CTA with shimmer */
.phone {
    margin: 12px 18px 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #3B82F6 100%);
    color: #FFFFFF;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    transition: transform 0.25s cubic-bezier(.22,.68,0,1), box-shadow 0.25s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.phone::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: cardPhoneShimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

.phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

.phone:hover::before {
    animation: none;
}

.phone:active {
    transform: translateY(-1px);
}

/* =============================================
   NEW BEM POST CARD STYLES
   ============================================= */

/* Image container */
.post__image {
    position: relative;
    overflow: hidden;
}

.post__image img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s cubic-bezier(.22,.68,0,1);
}

.post:hover .post__image img {
    transform: scale(1.05);
}

.post__image-link {
    display: block;
}

.post__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Body */
.post__body {
    padding: 16px 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.post__name-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.post__verified {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.post__verified svg {
    width: 18px;
    height: 18px;
}

.post__name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    transition: color 0.25s ease;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post:hover .post__name {
    color: var(--accent);
}

.post__price {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.post__price-unit {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

/* Stats row */
.post__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.post__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.post__stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post__stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.post__stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

/* Metro link */
.post__metro {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding-top: 8px;
    transition: color 0.2s ease;
}

.post__metro:hover {
    color: var(--text);
}

.post__metro svg {
    flex-shrink: 0;
}

/* CTA button */
.post__cta {
    margin: 12px 18px 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #FFFFFF;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(30, 41, 59, 0.25);
    transition: all 0.3s cubic-bezier(.22,.68,0,1);
    margin-top: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.post__cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: cardPhoneShimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

.post__cta:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #3B82F6 100%);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
    transform: translateY(-3px);
}

.post__cta:hover::before {
    animation: none;
}

.post__cta:active {
    transform: translateY(-1px);
}

.post__cta-icon {
    flex-shrink: 0;
}

/* CTA revealed state */
.post__cta.revealed {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
    font-size: 16px;
    letter-spacing: 0.8px;
}

.post__cta.revealed::before {
    display: none;
}

.post__cta.revealed:hover {
    box-shadow: 0 8px 28px rgba(22, 163, 74, 0.45);
}

/* CTA loading */
.post__cta.loading {
    opacity: 1;
    pointer-events: none;
}

.post__cta.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 16px;
}

.posts, .more-posts-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding-block: 24px;
}

.single {
    margin-bottom: 25px;
}

.body-param-tem {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 10px;
}

.more-posts {
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 16px 32px;
    max-width: 340px;
    margin: 8px auto 36px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.22,.68,0,1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.more-posts::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(.22,.68,0,1);
    border-radius: 0 0 16px 16px;
}

.more-posts:hover {
    background: var(--card);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.more-posts:hover::after {
    transform: scaleX(1);
}

.more-posts:active {
    transform: translateY(-1px);
}

.more-posts__text {
    display: inline;
}

.more-posts__arrow {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.more-posts:hover .more-posts__arrow {
    transform: translateY(3px);
}

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

.page-item {
    display: inline-block;
}

.page-link {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--card);
    transition: all 0.25s ease;
}

.page-item.active .page-link {
    color: #FFFFFF;
    border: none;
    background: linear-gradient(90deg, #2563EB 0%, #1D4ED8 50.48%, #1D4ED8 100%);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.page-link:hover {
    color: #FFFFFF;
    border: none;
    background: linear-gradient(90deg, #2563EB 0%, #1D4ED8 50.48%, #1D4ED8 100%);
}

.page-item.disabled .page-link {
    color: #bbb;
    border: 1px solid var(--border);
    background: #f8f8f8;
    cursor: not-allowed;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 13px;
}

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

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumbs .breadcrumb-item {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Добавим стрелочку между элементами */
.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin: 0 6px;
    color: #999999;
}

.about-heading {
    font-size: 24px;
    color: var(--text);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.about-text {
    font-size: 20px;
    color: var(--text);
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

/* квадрат слева */
.check {
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    display: grid;
    place-items: center;
    background: transparent;
}

/* когда пункт "отмечен" */
.item.done .check {
    background: var(--accent);
    border-color: var(--accent);
}

/* сама галочка */
.check-icon {
    width: 8px;
    height: 7px;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(-45deg);
    display: none;
}

/* показываем галочку только у отмеченных */
.item.done .check-icon {
    display: block;
}

.label {
    font-size: 18px;
    color: var(--text);
}

.about-post {
    margin-bottom: 25px;
}

.single {
    display: flex;
    flex-wrap: wrap;
}

.main-photo {
    flex: 1 1 50%;
    min-height: 300px;
    max-width: 50%;
}

.params {
    flex: 1 1 50%;
    padding: 24px;
    max-width: 50%;
}

.body-params {
    margin-top: 25px;
}

.burger-menu {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 12px;
    transition: background 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    background: rgba(0,0,0,0.03);
}

.burger-menu:hover {
    background: rgba(0, 0, 0, 0.07);
}

.burger-menu span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s cubic-bezier(.22,.68,0,1), opacity .2s, width .3s;
}

.burger-menu span:nth-child(2) {
    width: 14px;
}

.burger-menu:hover span:nth-child(2) {
    width: 18px;
}

/* =============================================
   PREMIUM SIDE MENU & OVERLAY
   ============================================= */

/* Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, backdrop-filter .3s ease, background .3s ease;
    z-index: 99;
}

/* Side panel */
/* ===== PREMIUM SIDE-MENU ===== */
.side-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(90vw, 400px);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text);
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(.22,.68,0,1.01);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 16px 0 64px rgba(0, 0, 0, .15), 2px 0 8px rgba(0,0,0,.04);
    overflow: hidden;
}

/* Scrollable content */
.side-menu > nav,
.side-menu > form {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding: 0 20px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.08) transparent;
}

.side-menu > nav::-webkit-scrollbar,
.side-menu > form::-webkit-scrollbar {
    width: 4px;
}

.side-menu > nav::-webkit-scrollbar-thumb,
.side-menu > form::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.08);
    border-radius: 4px;
}

/* --- Side-menu header --- */
.side-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 2;
}

.side-menu__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-menu__brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(37,99,235,0.3);
}

.side-menu__brand-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
}

.side-menu__close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.04);
    color: var(--text-secondary);
    cursor: pointer;
    border: none;
    transition: all .2s;
}

.side-menu__close:hover {
    background: rgba(239,68,68,0.08);
    color: #ef4444;
    transform: rotate(90deg);
}

/* --- Side-menu footer CTA --- */
.side-menu__footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.side-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
    transition: all .25s;
}

.side-menu__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.4);
}

.side-menu__cta:active {
    transform: translateY(0);
}

/* --- Nav sections --- */
.side-nav__section {
    margin-top: 20px;
}

.side-nav__section:first-child {
    margin-top: 16px;
}

.side-nav__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    padding: 0 4px;
}

/* --- Quick chips --- */
.side-nav__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.side-nav__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.side-nav__chip:hover {
    border-color: rgba(37,99,235,0.2);
    background: rgba(37,99,235,0.04);
    box-shadow: 0 3px 12px rgba(37,99,235,0.08);
    transform: translateY(-1px);
}

.side-nav__chip:active {
    transform: translateY(0);
}

.side-nav__chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Direct links --- */
.side-nav__links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .2s;
}

.side-nav__link:hover {
    background: rgba(37,99,235,0.06);
    color: var(--text);
    transform: translateX(3px);
}

.side-nav__link-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity .2s;
}

.side-nav__link:hover .side-nav__link-icon {
    opacity: 0.8;
}

/* --- Accordion (details/summary) --- */
.side-acc {
    margin-top: 2px;
}

.side-acc__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    list-style: none;
    transition: all .2s;
    user-select: none;
}

.side-acc__btn::-webkit-details-marker { display: none; }
.side-acc__btn::marker { display: none; content: ""; }

.side-acc__btn:hover {
    background: rgba(37,99,235,0.06);
    color: var(--text);
}

.side-acc__btn-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.side-acc__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity .2s;
}

.side-acc__btn:hover .side-acc__icon {
    opacity: 0.75;
}

.side-acc__count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(0,0,0,0.05);
    padding: 2px 8px;
    border-radius: 6px;
    line-height: 1.4;
    flex-shrink: 0;
    transition: all .2s;
}

.side-acc[open] .side-acc__count {
    background: rgba(37,99,235,0.1);
    color: var(--accent);
}

.side-acc__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.22,.68,0,1);
    opacity: 0.4;
}

.side-acc[open] .side-acc__arrow {
    transform: rotate(180deg);
    opacity: 0.7;
}

/* Open state */
.side-acc[open] > .side-acc__btn {
    background: rgba(37,99,235,0.05);
    color: var(--text);
}

.side-acc[open] .side-acc__icon {
    opacity: 0.8;
}

/* Panel */
.side-acc__panel {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 0 8px 18px;
    margin-left: 24px;
    border-left: 2px solid rgba(37,99,235,0.12);
}

.side-acc__link {
    display: block;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .2s;
}

.side-acc__link:hover {
    background: rgba(37,99,235,0.06);
    color: var(--text);
    padding-left: 16px;
}

/* Open states */
.is-menu-open .side-menu, .is-filter-open #filter {
    transform: translateX(0);
}

.is-menu-open .menu-overlay, .is-filter-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Lock scroll */
.is-menu-open, .is-filter-open {
    overflow: hidden;
}

/* Close button in side-menu (legacy) */
.close-side-btn {
    display: none;
}

/* --- PREMIUM FILTER PANEL --- */
#filter.side-menu {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.filter {
    flex-direction: column;
    padding-top: 8px;
    gap: 0;
}

.filter__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Form items */
.form-item {
    margin-bottom: 24px;
    width: 100%;
}

/* Select dropdowns */
.form-item select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(51,51,51,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    margin-bottom: 0;
}

.form-item select:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: #F9FAFB;
}

.form-item select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.form-item select option {
    background: var(--card);
    color: var(--text);
}

/* Slider labels */
.slider-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

/* noUiSlider track */
.noUi-horizontal {
    height: 4px;
    border: none;
    margin-bottom: 14px;
    border-radius: 4px;
    background: var(--border);
}

.noUi-connect {
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    border-radius: 4px;
}

/* noUiSlider handles */
.noUi-horizontal .noUi-handle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    top: -10px;
    background: #FFFFFF;
    border: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    cursor: grab;
    transition: box-shadow 0.2s, transform 0.15s;
}

.noUi-horizontal .noUi-handle:hover {
    box-shadow: 0 2px 14px rgba(37, 99, 235, 0.45);
    transform: scale(1.1);
}

.noUi-horizontal .noUi-handle:active {
    cursor: grabbing;
    transform: scale(1.15);
}

.noUi-handle::after, .noUi-handle::before {
    display: none;
}

/* Slider value inputs */
.inputs {
    display: flex;
    justify-content: space-between;
}

.inputs input {
    max-width: 90px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    padding: 4px 0;
}

.right-input {
    text-align: right;
    right: 0;
    position: relative;
}

/* Search button */
.filter__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    margin-top: 8px;
}

.filter__search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4);
}

.filter__search-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
}

.filter .orange-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #3B82F6 100%);
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    margin-top: 8px;
}

.filter .orange-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.45);
}

.filter .orange-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.d-none{
    display: none;
}

.category-items a{
    color: var(--text);
    font-size: 18px;
}
.category-items{
    column-count: 4;
}

.service-wrap{
    width: 100%;
    margin-top: 15px;
}
.map-wrap{
    width: 100%;
    margin-top: 15px;
}

.service-wrap .list{
    column-count: 5;
}

.orange-btn{
    border-radius: 3px;
    background: linear-gradient(90deg, #2563EB 0%, #1D4ED8 50.48%, #1D4ED8 100%);
    box-shadow: 0 5px 4.3px 0 rgba(37, 99, 235, 0.25);
    color: #FFFFFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-transform: uppercase;
    padding: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

/* Анимации по предпочтениям пользователя */
@media (prefers-reduced-motion: reduce) {
    .side-menu, .menu-overlay, .burger-menu span {
        transition: none
    }
}

/* Десктоп: фикс ширина, всё остальное ок */
@media (min-width: 1024px) {
    .side-menu {
        width: 360px
    }
}
/* Десктоп: фикс ширина, всё остальное ок */
@media (max-width: 1024px) {
    .service-wrap .list{
        column-count: 4;
    }
}

@media (max-width: 992px) {
    .service-wrap .list{
        column-count: 3;
    }
    .single {
        flex-direction: column;
    }

    .main-photo {
        flex: 1 1 100%;
        min-height: 220px;
        max-width: 100%;
    }

    .params {
        flex: 1 1 100%;
        padding: 0px;
        padding-top: 25px;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .service-wrap .list{
        column-count: 1;
    }
    .container {
        max-width: 700px;
    }
    .header__search {
        display: none;
    }
    .header__action-label {
        display: none;
    }
    .header__action-btn {
        padding: 9px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-inline: 12px;
    }

    .header__search {
        display: none;
    }

    .header__action-label {
        display: none;
    }

    .header__action-btn {
        padding: 9px;
    }

    .logo__text {
        display: none;
    }

    .posts, .more-posts-wrap {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .post {
        border-radius: 16px;
    }

    .bottom-post-info {
        padding: 12px 12px 8px;
    }

    .list-name {
        font-size: 15px;
    }

    .price {
        font-size: 15px;
    }

    .bottom-post-info-item {
        font-size: 11px;
    }

    .phone {
        margin: 8px 12px 12px;
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 12px;
    }

    h1 {
        font-size: 18px;
        letter-spacing: 1.5px;
        padding: 20px 0 16px;
    }

    h1::after {
        width: 36px;
        margin-top: 10px;
    }

    .filter-btn {
        padding: 12px 22px;
        font-size: 13px;
        margin-top: 14px;
    }

    .top-header {
        padding: 10px 0;
    }

    .map-btn {
        font-size: 0;
        padding: 8px;
        border-radius: 10px;
    }

    .map-btn svg {
        margin-left: 0;
    }

    .footer {
        padding: 28px 0 24px;
        margin-top: 40px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col:last-child {
        flex-direction: column;
        gap: 12px;
    }
}

/* --- CONTENT AREA --- */
.content-area {
    width: 100%;
    min-height: 50vh;
}

main {
    padding-top: 4px;
}

/* --- VIP BADGE --- */
.vip-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #FFD700 0%, #F5A623 100%);
    color: #1a1528;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 10px;
    z-index: 3;
    letter-spacing: 2px;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}

/* --- FAVORITE BUTTON --- */
.favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.25s cubic-bezier(.22,.68,0,1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.favorite-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-secondary);
    stroke-width: 2;
    transition: all 0.3s cubic-bezier(.22,.68,0,1);
}

.favorite-btn.is-favorite svg {
    fill: var(--error);
    stroke: var(--error);
    transform: scale(1.15);
}

.favorite-btn:active svg {
    transform: scale(0.8);
}

/* Legacy add-post-btn */
.add-post-btn { display: none; }


/* --- CATEGORY ITEMS RESPONSIVE --- */
@media (max-width: 768px) {
    .category-items {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .category-items {
        column-count: 1;
    }
}

/* --- PAGINATION HIDE (keep for SEO, show more-posts only) --- */
.pagination {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- EMPTY STATE --- */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
    animation: fadeInDown 0.5s ease both;
}

.empty-state-icon,
.empty-state__icon {
    margin: 0 auto 20px;
    opacity: 0.3;
    stroke: var(--text-secondary);
}

.empty-state-title,
.empty-state__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.empty-state-text,
.empty-state__text {
    font-size: 16px;
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    background: #FFFFFF;
    padding: 36px 0 28px;
    margin-top: 60px;
    border-top: none;
    box-shadow: 0 -1px 0 var(--border);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 0 0 2px 2px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col:last-child {
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

.footer-logo {
    color: var(--accent);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-col--nav {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .footer-col--nav {
        gap: 12px;
        justify-content: center;
    }
}

/* --- 404 / ERROR PAGES --- */
.error-container {
    text-align: center;
    padding: 40px;
}

.error-code {
    font-size: 96px;
    font-weight: bold;
    color: var(--accent);
}

.error-message {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 20px;
}

.error-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.error-link {
    display: inline-block;
    background: linear-gradient(90deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.error-link:hover {
    opacity: 0.85;
}

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--card);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-left: 4px solid var(--accent);
    animation: toastIn 0.3s ease forwards;
    max-width: 320px;
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(40px); }
}

/* --- LOADING STATE --- */
.loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

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

/* --- PHONE REVEALED STATE --- */
.phone.revealed {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
    font-size: 16px;
    letter-spacing: 0.8px;
}

.phone.revealed::before {
    display: none;
}

.phone.revealed:hover {
    box-shadow: 0 8px 28px rgba(22, 163, 74, 0.45);
}

/* Phone loading override — white spinner on blue */
.phone.loading {
    opacity: 1;
    pointer-events: none;
}

.phone.loading::after {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
}

/* --- VIP CARD DISTINCTION --- */
.post.is-vip {
    border-color: rgba(245, 166, 35, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(245, 166, 35, 0.1);
}

.post.is-vip::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.04) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.post.is-vip:hover {
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow:
        0 20px 60px rgba(245, 166, 35, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(245, 166, 35, 0.15);
}

/* --- RESULTS COUNTER + SORT BAR --- */
.catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 4px;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.results-count svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.results-count strong {
    color: var(--text);
    font-weight: 700;
}

.sort-select {
    padding: 8px 36px 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(51,51,51,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.sort-select:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

.sort-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    outline: none;
}

/* --- QUICK FILTER CHIPS --- */
.quick-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-chips::-webkit-scrollbar {
    display: none;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.quick-chip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.quick-chip:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.04);
}

.quick-chip.active {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* --- MOBILE FAB (Add Post) --- */
.fab-add-post {
    display: none;
}

@media (max-width: 576px) {
    .fab-add-post {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 24px;
        right: 16px;
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
        color: #FFFFFF;
        z-index: 90;
        box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
        transition: transform 0.25s cubic-bezier(.22,.68,0,1), box-shadow 0.25s ease;
        text-decoration: none;
    }

    .fab-add-post:hover,
    .fab-add-post:active {
        transform: scale(1.08);
        box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
    }

    .fab-add-post svg {
        width: 24px;
        height: 24px;
    }
}

/* =============================================
   PREMIUM SINGLE POST PAGE — Editorial Luxury
   ============================================= */

@keyframes singleFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes phonePulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35), 0 0 0 0 rgba(37, 99, 235, 0.25); }
    50%      { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45), 0 0 0 10px rgba(37, 99, 235, 0); }
}

@keyframes phoneShimmer {
    0%        { left: -100%; }
    50%, 100% { left: 150%; }
}

/* --- Layout --- */
.single {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    margin-bottom: 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    animation: singleFadeUp 0.5s ease both;
}

/* --- Gallery column (sticky on desktop) --- */
.single .main-photo {
    flex: 0 0 52%;
    max-width: 52%;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    min-height: auto;
}

.single-gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.single .main-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* Photo count badge */
.single-photo-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    z-index: 5;
}

.single-photo-count svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Swiper overrides */
.single .mySwiper { border-radius: 20px; }

.single .swiper-button-next,
.single .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.single .swiper-button-next:hover,
.single .swiper-button-prev:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.single .swiper-button-next::after,
.single .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.single .swiper-pagination-bullet {
    background: #FFFFFF;
    opacity: 0.5;
    width: 8px;
    height: 8px;
    transition: opacity 0.3s, transform 0.3s;
}

.single .swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFFFFF;
    transform: scale(1.35);
}

/* Verified badge */
.single-verified {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    margin-top: 12px;
    background: rgba(22, 163, 74, 0.05);
    border: 1px solid rgba(22, 163, 74, 0.12);
    border-radius: 14px;
    color: var(--success);
    font-size: 14px;
    font-weight: 600;
}

.single-verified svg { flex-shrink: 0; }

.single-check-photo {
    margin-top: 12px;
}

.single-check-photo-img {
    width: 100%;
    max-width: 200px;
    border-radius: 14px;
    border: 2px solid rgba(22, 163, 74, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* --- Info panel --- */
.single .params {
    flex: 1 1 0%;
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: singleFadeUp 0.5s ease 0.1s both;
}

/* Alert */
.single-alert {
    padding: 14px 20px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-alert--success {
    background: rgba(22, 163, 74, 0.05);
    border: 1px solid rgba(22, 163, 74, 0.12);
    color: var(--success);
}

/* Header: name + age */
.single-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.single-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.single-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.single-age {
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 4px 14px;
    background: #F3F4F6;
    border-radius: 8px;
}

.single-name-row .vip-badge {
    position: static;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 6px;
}

.single-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    width: fit-content;
}

/* Phone — hero CTA with pulse & shimmer */
.single-phone {
    margin: 0;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #3B82F6 100%);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
    animation: phonePulse 2.5s ease-in-out infinite;
}

.single-phone::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: phoneShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.single-phone-icon { flex-shrink: 0; width: 20px; height: 20px; }

.single-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(37, 99, 235, 0.5);
    animation: none;
}

.single-phone:active { transform: translateY(-1px); }

/* Phone revealed override */
.single-phone.revealed {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    box-shadow: 0 6px 24px rgba(22, 163, 74, 0.35);
    animation: none;
}

.single-phone.revealed::before { display: none; }

/* Messengers */
.single-messengers { display: flex; gap: 10px; }

.single-messenger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0088cc;
    background: rgba(0, 136, 204, 0.05);
    border: 1px solid rgba(0, 136, 204, 0.1);
    transition: all 0.25s ease;
    flex: 1;
    justify-content: center;
}

.single-messenger:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.1);
}

.single-messenger--wa {
    color: #25D366;
    background: rgba(37, 211, 102, 0.05);
    border-color: rgba(37, 211, 102, 0.1);
}

.single-messenger--wa:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.22);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.1);
}

.single-messenger svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Params grid */
.single-params-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.single-param {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.single-param:hover {
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
}

.single-param-label {
    font-size: 11px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.single-param-value {
    font-size: 17px;
    color: var(--text);
    font-weight: 700;
}

/* Places */
.single-places { display: flex; flex-direction: column; gap: 10px; }

.single-section-label {
    font-size: 11px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.single-places-list { display: flex; gap: 8px; flex-wrap: wrap; }

.single-place-tag {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.single-place-tag:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.18);
    color: var(--accent);
    transform: translateY(-1px);
}

/* Prices */
.single-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.single-price-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.single-price-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px 3px 0 0;
}

.single-price-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

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

.single-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.single-price-val {
    font-weight: 800;
    color: var(--text);
    font-size: 16px;
}

/* About */
.single-about {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.single-about .single-section-title { margin-bottom: 12px; }

.single-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.single-about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Tags row */
.single-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.single-tag--salon {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

/* Extra info (not_younger, contacts_per_hour) */
.single-extra-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-extra-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.single-extra-item svg { flex-shrink: 0; color: var(--accent); }

/* Express price block accent */
.single-price-block--express::before {
    background: linear-gradient(90deg, var(--warning), #FBBF24);
}

/* Video */
.single-video-wrap {
    width: 100%;
    padding: 40px 0 0;
    animation: singleFadeUp 0.5s ease 0.22s both;
}

.single-video {
    width: 100%;
    max-height: 500px;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

/* Location row (rayon + metro under phone) */
.single-location-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.single-rayon-info,
.single-metro-info.single-metro-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.single-rayon-info svg,
.single-location-row .single-metro-info svg { flex-shrink: 0; }

.single-rayon-info svg { color: var(--accent); }

.single-rayon-info a,
.single-location-row .single-metro-info {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.single-rayon-info a:hover { color: var(--accent); }

/* --- Map --- */
.single-map-wrap {
    width: 100%;
    padding: 40px 0 0;
    animation: singleFadeUp 0.5s ease 0.2s both;
}

.single-map-wrap .single-section-title { margin-bottom: 16px; }

#map {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

/* --- Services --- */
.single-services-wrap {
    width: 100%;
    padding: 40px 0 0;
    animation: singleFadeUp 0.5s ease 0.25s both;
}

.single-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.single-service-group {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.single-service-group:hover {
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.single-service-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.single-service-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 10px;
    transition: background 0.2s;
}

.single-service-item:hover { background: #F9FAFB; }

.single-service-item a { color: inherit; transition: color 0.2s; }
.single-service-item a:hover { color: var(--accent); }

.single-service-item.is-available { color: var(--text); }
.single-service-item.is-unavailable { color: #C4C4C4; }

.single-service-badge {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.single-service-badge--yes { background: rgba(22, 163, 74, 0.08); color: var(--success); }
.single-service-badge--pay { background: rgba(245, 158, 11, 0.08); color: var(--warning); font-size: 11px; }
.single-service-badge--sym { background: rgba(200, 17, 214, 0.08); color: #C811D6; }
.single-service-badge--no  { background: rgba(220, 38, 38, 0.06); color: var(--error); }

/* --- Reviews --- */
.single-reviews-section {
    margin-top: 40px;
    animation: singleFadeUp 0.5s ease 0.3s both;
}

.single-reviews-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.07);
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.single-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.single-review {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 24px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.single-review:hover {
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

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

.single-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
}

.single-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.single-review-author {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.single-review-date {
    font-size: 13px;
    color: #9CA3AF;
}

.single-review-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Review Summary & Rating --- */
.single-reviews-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 20px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 20px;
}

.single-reviews-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-reviews-rating-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.single-reviews-stars {
    display: flex;
    gap: 2px;
}

.single-star {
    font-size: 20px;
    color: var(--border);
    line-height: 1;
}

.single-star.is-filled {
    color: #F59E0B;
}

.single-reviews-happy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #16A34A;
}

.single-review-rating-inline {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-left: auto;
}

.single-star-sm {
    font-size: 14px;
    color: var(--border);
    line-height: 1;
}

.single-star-sm.is-filled {
    color: #F59E0B;
}

.single-review-happy-badge {
    margin-left: 6px;
    font-size: 14px;
}

/* --- Related --- */
.single-related {
    margin-top: 40px;
    animation: singleFadeUp 0.5s ease 0.35s both;
}

/* --- SINGLE PAGE RESPONSIVE --- */
@media (max-width: 992px) {
    .single {
        flex-direction: column;
        gap: 0;
    }

    .single .main-photo {
        flex: 1 1 100%;
        max-width: 100%;
        position: relative;
        top: auto;
    }

    .single .params {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 24px 0 0;
    }

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

    .single-gallery-card,
    .single .mySwiper {
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .single .params {
        padding: 20px 0 0;
        gap: 18px;
    }

    .single-name { font-size: 26px; }
    .single-age  { font-size: 15px; }

    .single-prices { grid-template-columns: 1fr; }
    .single-params-grid { grid-template-columns: repeat(2, 1fr); }
    .single-services-grid { grid-template-columns: 1fr; }
    .single-messengers { flex-direction: column; }

    .single-phone {
        padding: 16px 20px;
        font-size: 16px;
    }

    .single-gallery-card,
    .single .mySwiper {
        border-radius: 14px;
    }

    .single-review { padding: 18px 16px; }
    .single-about  { padding: 18px 16px; }
}

