:root {
    --primary: #00ba77;
    --primary-dark: #009e65;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html, body { margin: 0; padding: 0; }

body {
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.5;
    overflow-x: clip;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

table { max-width: 100%; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    min-width: 0;
}
.site-main { min-height: 60vh; }

/* Site header (как uslug.by) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e8ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.top-bar-desktop {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px 0;
    overflow: hidden;
    max-height: 52px;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        max-height 0.28s ease,
        padding 0.28s ease,
        opacity 0.28s ease,
        transform 0.28s ease,
        border-color 0.28s ease;
    will-change: max-height, opacity, transform;
}

@media (min-width: 1024px) {
    body.p24-topbar-hidden .top-bar-desktop {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
        transform: translate3d(0, -6px, 0);
        pointer-events: none;
        border-bottom-color: transparent;
    }

    body.p24-topbar-locked .top-bar-desktop {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-bar-desktop {
        transition: none;
    }
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.top-link {
    text-decoration: none;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.top-link:hover { color: #007bff; }

.accent-link { color: #27ae60; font-weight: 600; }
.accent-link:hover { color: #2ecc71; }

.ads-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 14px;
    border-radius: 9px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.ads-label { font-size: 12px; color: #777; font-weight: 500; }
.ads-value {
    font-size: 15px;
    font-weight: 800;
    color: #007bff;
    letter-spacing: 0.02em;
}

.header-main { background: #fff; }

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.logo-img {
    display: block;
    width: auto;
    height: 46px;
    max-width: min(180px, 38vw);
    object-fit: contain;
}

.header-search-section {
    flex: 1;
    min-width: 0;
    max-width: 820px;
    overflow: visible;
}

.ks-search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.ks-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: visible;
}

.ks-input {
    width: 100%;
    height: 48px;
    background: #f2f4f5;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 48px 0 15px;
    font: inherit;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ks-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.12);
}

.ks-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #7f8c8d;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-search-btn:hover { color: var(--primary); }

.ks-location-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font: inherit;
    white-space: nowrap;
    transition: background 0.2s;
}

.ks-location-trigger:hover { background: #f0fcf6; }

.ks-pin-icon { color: var(--primary); flex-shrink: 0; }

.ks-current-city {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.ks-search-results,
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    z-index: 1100;
    max-height: 280px;
    overflow: auto;
}

.ks-search-results a,
.search-dropdown a {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text);
    text-decoration: none;
}

.ks-search-results a:hover,
.search-dropdown a:hover { background: #f8fafc; }

.ks-search-results b,
.search-dropdown b {
    color: var(--primary);
    font-weight: 700;
}

.search-dropdown.is-loading,
.search-dropdown.is-empty {
    padding: 12px 14px;
    font-size: 14px;
    color: var(--muted);
    pointer-events: none;
}

.ks-auth-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.ks-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: #f2f4f5;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.ks-login-btn:hover {
    background: #e5e7eb;
    color: #000;
}

.header-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Mobile header (как на uslug.by) */
.mobile-only-header { display: none; }
.p24-mh-search-backdrop,
.p24-mh-search-panel { display: none; }

@media (max-width: 992px) {
    .desktop-only-header { display: none !important; }

    .mobile-only-header {
        display: block;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .mh-top-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        border-bottom: 1px solid #f1f5f9;
    }

    .mobile-logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 140px;
        line-height: 0;
    }
    .mobile-logo .logo-img {
        max-height: 36px;
        width: auto;
    }

    .mh-right-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .mh-icon-btn {
        position: relative;
        color: #334155;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 0;
        cursor: pointer;
        text-decoration: none;
        transition: color .15s, background .15s, border-color .15s;
    }
    .mh-icon-btn:hover {
        color: var(--primary-dark);
        border-color: #bbf7d0;
        background: #f0fdf4;
    }
    .mh-icon-btn.is-active {
        color: #ef4444;
        border-color: #fecaca;
        background: #fef2f2;
    }
    .mh-icon-btn.is-active svg path { fill: currentColor; }

    .mh-burger-toggle.is-open {
        color: var(--primary-dark);
        border-color: #86efac;
        background: #ecfdf5;
    }
    .mh-burger-toggle.is-open .mh-burger-icon line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .mh-burger-toggle.is-open .mh-burger-icon line:nth-child(2) {
        opacity: 0;
    }
    .mh-burger-toggle.is-open .mh-burger-icon line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    .mh-burger-icon line {
        transform-origin: center;
        transition: transform .2s ease, opacity .2s ease;
    }

    .mh-fav-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #ef4444;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        line-height: 16px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(239, 68, 68, .35);
    }
    .mh-fav-badge[hidden] { display: none !important; }

    body.p24-mobile-search-open { overflow: hidden; }
    body.p24-mobile-menu-open { overflow: hidden; }

    .p24-mh-search-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9997;
        background: rgba(15, 23, 42, 0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, visibility .2s ease;
        pointer-events: none;
    }

    .p24-mh-search-panel {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 9998;
        transform: translateY(-110%);
        transition: transform .25s ease;
        pointer-events: none;
    }

    .p24-mh-search-inner {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        padding: 10px 12px;
    }

    .p24-mh-search-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .p24-mh-search-box {
        flex: 1;
        min-width: 0;
        position: relative;
    }

    .p24-mh-city-trigger {
        flex: 0 0 auto;
        max-width: 120px;
        height: 40px;
        padding: 0 10px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        color: #0f172a;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        font: inherit;
    }
    .p24-mh-city-trigger .ks-current-city {
        font-size: 13px;
        font-weight: 600;
        color: var(--primary-dark);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ks-search-box.mobile-search .ks-input {
        height: 42px;
        background: #f2f4f5;
    }

    body.p24-mobile-search-open .p24-mh-search-panel {
        transform: translateY(0);
        pointer-events: auto;
    }
    body.p24-mobile-search-open .p24-mh-search-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav-panel {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: #fff;
        transition: max-height .35s ease-in-out, opacity .25s ease-in-out;
    }
    .mobile-nav-panel.open {
        max-height: 85vh;
        opacity: 1;
        overflow-y: auto;
        border-top: 1px solid #f1f5f9;
    }

    .mobile-nav-ads {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 18px;
        background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
        border-bottom: 1px solid #dcfce7;
    }
    .mobile-nav-ads-label {
        font-size: 12px;
        color: #64748b;
        font-weight: 600;
    }
    .mobile-nav-ads-value {
        font-size: 14px;
        font-weight: 800;
        color: var(--primary-dark);
    }

    .mobile-nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-nav-list li { border-bottom: 1px solid #f8fafc; }
    .mobile-nav-list li.mobile-nav-divider {
        height: 8px;
        background: #f8fafc;
        border-bottom: none;
    }
    .mobile-nav-list a {
        display: block;
        padding: 14px 18px;
        text-decoration: none;
        color: #334155;
        font-size: 15px;
        font-weight: 600;
        transition: background .15s, color .15s;
    }
    .mobile-nav-list a:hover,
    .mobile-nav-list a:active {
        background: #f8fafc;
        color: var(--primary-dark);
    }
    .mobile-nav-list a.mobile-nav-accent {
        color: var(--primary-dark);
        background: #f0fdf4;
    }

    .mobile-nav-footer {
        display: flex;
        gap: 10px;
        padding: 14px 18px 18px;
        border-top: 1px solid #f1f5f9;
        background: #fafafa;
    }
    .mobile-nav-logout-form { flex: 1; margin: 0; }
    .mobile-nav-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 12px;
        border: none;
        background: var(--primary);
        color: #fff;
        font: inherit;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(0, 186, 119, .22);
    }
    .mobile-nav-btn--ghost {
        width: 100%;
        background: #fff;
        color: #334155;
        border: 1px solid #e2e8f0;
        box-shadow: none;
    }
}

/* Hero / legacy search */
.hero-search { position: relative; flex: 1; min-width: 220px; display: flex; gap: 8px; }
.search-input {
    width: 100%; height: 46px; border: 2px solid var(--border); border-radius: 12px;
    padding: 0 14px; font: inherit; background: var(--bg);
}
.search-input:focus { outline: none; border-color: var(--primary); background: #fff; }
.inline-form { display: inline; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 18px; border-radius: 12px; border: none; cursor: pointer;
    font: inherit; font-weight: 700; transition: .15s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(0,186,119,.25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; border: 2px solid var(--border); color: var(--text); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }

.hero {
    background: radial-gradient(circle at top right, rgba(0,186,119,.12), transparent 40%), var(--bg);
    padding: 56px 0 48px;
}
.hero-inner { max-width: 760px; }
.hero-badge { display: inline-block; background: #fff; border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 16px 0; letter-spacing: -.02em; }
.hero-lead { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; color: var(--muted); }
.hero-stats strong { display: block; color: var(--text); font-size: 22px; }

/* Hero v2 — главная как на макете */
.hero-v2 {
    background: linear-gradient(180deg, #f8fafb 0%, #fff 55%);
    padding: 40px 0 56px;
    overflow: hidden;
}

.hero-v2-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 13px;
    font-weight: 600;
}

.hero-v2-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 186, 119, 0.2);
}

.hero-v2-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.8vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero-v2-title-line {
    display: block;
}

.hero-v2-accent {
    color: var(--primary);
}

.hero-v2-lead {
    margin: 0 0 28px;
    max-width: 520px;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
}

.hero-v2-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 560px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid #eef2f6;
    padding: 6px 6px 6px 18px;
    overflow: visible;
}

.hero-v2-search-icon {
    display: flex;
    color: #94a3b8;
    flex-shrink: 0;
}

.hero-v2-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 16px;
    padding: 12px 10px;
    outline: none;
    color: var(--text);
}

.hero-v2-search-input::placeholder { color: #94a3b8; }

.hero-v2-search-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.hero-v2-search-city {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--primary);
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s;
}

.hero-v2-search-city:hover { background: #f0fcf6; }

.hero-v2-search-dropdown {
    left: 0;
    right: 0;
    border-radius: 16px;
}

.hero-v2-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.hero-v2-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--primary);
    font-size: 12px;
}

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

.hero-animate {
    opacity: 0;
    animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0ms);
}

.hero-v2-visual {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cards {
    position: relative;
    width: min(100%, 380px);
    height: 360px;
}

.hero-card {
    position: absolute;
    left: 50%;
    width: min(340px, 92%);
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    transform-origin: center center;
}

.hero-card-1 {
    top: 0;
    z-index: 3;
    transform: translateX(-58%) rotate(-2deg);
    animation: heroCardFloat1 5s ease-in-out infinite;
}

.hero-card-2 {
    top: 108px;
    z-index: 2;
    transform: translateX(-42%) scale(0.96);
    opacity: 0.92;
    animation: heroCardFloat2 5.5s ease-in-out infinite;
}

.hero-card-3 {
    top: 210px;
    z-index: 1;
    transform: translateX(-50%) scale(0.92);
    opacity: 0.88;
    animation: heroCardFloat3 6s ease-in-out infinite;
}

@keyframes heroCardFloat1 {
    0%, 100% { transform: translateX(-58%) translateY(0) rotate(-2deg); }
    50% { transform: translateX(-58%) translateY(-10px) rotate(0deg); }
}

@keyframes heroCardFloat2 {
    0%, 100% { transform: translateX(-42%) translateY(0) scale(0.96); }
    50% { transform: translateX(-42%) translateY(-8px) scale(0.96); }
}

@keyframes heroCardFloat3 {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(0.92); }
    50% { transform: translateX(-50%) translateY(-6px) scale(0.92); }
}

.hero-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.hero-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-card-avatar-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.hero-card-avatar-teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.hero-card-avatar-blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }

.hero-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.hero-card-title-wrap strong {
    font-size: 16px;
    line-height: 1.2;
}

.hero-card-title-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hero-card-sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.hero-card-sub-green { color: var(--primary); font-weight: 600; }
.hero-card-sub-blue { color: #2563eb; font-weight: 600; }

.hero-card-socials {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.hero-social {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hero-social-viber { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.hero-social-wa { background: linear-gradient(135deg, #22c55e, #16a34a); }
.hero-social-tg { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.hero-social-ig { background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6); }

.hero-card-rating {
    font-size: 13px;
    color: #f59e0b;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero-card-rating span {
    color: var(--muted);
    letter-spacing: 0;
    margin-left: 4px;
}

.hero-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-card-tags span {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

@media (max-width: 960px) {
    .hero-v2-grid {
        grid-template-columns: 1fr;
    }

    .hero-v2-visual {
        min-height: 300px;
        margin-top: 8px;
        overflow: hidden;
        max-width: 100%;
    }

    .hero-cards {
        height: 280px;
        width: min(100%, 320px);
        margin: 0 auto;
    }

    .hero-card {
        width: min(300px, calc(100vw - 40px));
    }

    .hero-card-1,
    .hero-card-2,
    .hero-card-3 {
        left: 50%;
        animation: none;
    }

    .hero-card-1 {
        top: 0;
        transform: translateX(-50%) rotate(-1deg);
    }

    .hero-card-2 {
        top: 96px;
        transform: translateX(-50%) scale(0.96);
        opacity: 0.92;
    }

    .hero-card-3 {
        top: 188px;
        transform: translateX(-50%) scale(0.92);
        opacity: 0.88;
    }
}

@media (max-width: 520px) {
    .hero-v2-search {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 12px;
    }

    .hero-v2-search-divider { display: none; }

    .hero-v2-search-city {
        width: 100%;
        justify-content: center;
        border-top: 1px solid #eef2f6;
        border-radius: 12px;
    }
}

.section { padding: 48px 0; }
.section-muted { background: var(--bg); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 28px; }
.link-more { color: var(--primary); font-weight: 700; }

.geo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.geo-grid-home .geo-region,
.geo-carousel-slide.geo-region { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.geo-region h3, .geo-region h4 { margin: 0 0 12px; font-size: 16px; }
.geo-region-card { padding: 16px 16px 18px; }
.geo-region-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.geo-region-head h3 { margin: 0; font-size: 16px; }
.geo-region-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 186, 119, 0.22);
    transition: background 0.2s;
}
.geo-region-pill:hover { background: var(--primary-dark); }
.geo-region-pill.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-dark); }
.geo-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-city-link {
    border: none; background: #f1f5f9; color: var(--text); padding: 6px 10px; border-radius: 8px;
    font: inherit; font-size: 13px; cursor: pointer;
}
a.geo-city-link:hover, .geo-city-link:hover { background: #dcfce7; color: var(--primary-dark); }
.geo-city-link.is-active { background: var(--primary); color: #fff; }
.geo-more { font-size: 12px; color: var(--muted); align-self: center; }

.geo-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}
.geo-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding: 4px 2px 12px;
    margin: -4px -2px -12px;
    cursor: grab;
    user-select: none;
}
.geo-carousel-viewport::-webkit-scrollbar { display: none; }
.geo-carousel-viewport.is-dragging { cursor: grabbing; }
.geo-carousel-track {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.geo-carousel-slide {
    flex: 0 0 calc((100% - 40px) / 3.5);
    max-width: calc((100% - 40px) / 3.5);
    scroll-snap-align: start;
    min-width: 280px;
}
.geo-carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: background 0.2s, border-color 0.2s, opacity 0.2s, transform 0.15s;
    z-index: 2;
}
.geo-carousel-arrow:hover:not(:disabled) {
    background: #f0fcf6;
    border-color: #bbf7d0;
    color: var(--primary-dark);
}
.geo-carousel-arrow:active:not(:disabled) { transform: scale(0.96); }
.geo-carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

@media (max-width: 900px) {
    .geo-carousel-slide {
        flex-basis: calc(100% - 64px);
        max-width: calc(100% - 64px);
        min-width: 260px;
    }
}

@media (max-width: 520px) {
    .geo-carousel-arrow { width: 40px; height: 40px; }
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}
.listing-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: box-shadow .18s, transform .18s, border-color .18s;
    overflow: hidden;
    min-width: 0;
    --listing-card-h: 152px;
    max-height: var(--listing-card-h);
}
.listing-card--free,
.listing-card--vip {
    grid-column: span 1;
}
.listing-card--free {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-color: #c5d0de;
    box-shadow:
        inset 4px 0 0 #94a3b8,
        0 2px 10px rgba(15, 23, 42, .07);
}
.listing-card--free:hover {
    border-color: #94a3b8;
    box-shadow:
        inset 4px 0 0 #64748b,
        0 10px 28px rgba(15, 23, 42, .11);
}
.listing-card--premium {
    grid-column: span 1;
    --listing-card-h: 178px;
    border-color: #fcd34d;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    box-shadow:
        inset 4px 0 0 #d97706,
        0 4px 16px rgba(15, 23, 42, .07);
}
.listing-card:hover {
    transform: translateY(-2px);
}
.listing-card--vip {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    box-shadow:
        inset 4px 0 0 #2563eb,
        0 4px 16px rgba(37, 99, 235, .08);
}
.listing-card--vip:hover {
    border-color: #60a5fa;
    box-shadow:
        inset 4px 0 0 #1d4ed8,
        0 12px 30px rgba(37, 99, 235, .14);
}
.listing-card--premium:hover {
    border-color: #fbbf24;
    box-shadow:
        inset 4px 0 0 #b45309,
        0 10px 28px rgba(15, 23, 42, .11);
}
.listing-card-tariff-mark {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
    backdrop-filter: blur(6px);
}
.listing-card-tariff-mark-icon {
    font-size: 11px;
    line-height: 1;
}
.listing-card-tariff-mark--vip {
    background: rgba(37, 99, 235, .92);
    color: #fff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, .35);
}
.listing-card-tariff-mark--premium {
    background: rgba(217, 119, 6, .94);
    color: #fff;
    box-shadow: 0 2px 10px rgba(245, 158, 11, .4);
}
.listing-card-tariff-mark--premium .listing-card-tariff-mark-icon {
    color: #fef3c7;
}
.listing-card-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    max-height: var(--listing-card-h);
    color: inherit;
    text-decoration: none;
}
.listing-card-media {
    position: relative;
    flex-shrink: 0;
    order: 2;
}
.listing-card-photo {
    width: 100%;
    height: 100%;
    min-height: var(--listing-card-h);
    max-height: var(--listing-card-h);
    overflow: hidden;
    background: #f1f5f9;
}
.listing-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.listing-card:hover .listing-card-photo img {
    transform: scale(1.03);
}
.listing-card-photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    opacity: .35;
}
.listing-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    order: 1;
    padding: 11px 14px 12px;
    min-width: 0;
    overflow: hidden;
}
.listing-card--premium .listing-title {
    font-size: 13px;
    line-height: 1.22;
    margin-bottom: 2px;
    -webkit-line-clamp: 2;
}
.listing-card--premium .listing-card-cat-row {
    margin-bottom: 2px;
}
.listing-card--premium .listing-card-performer-row {
    margin-bottom: 2px;
    font-size: 11px;
}
.listing-card--premium .listing-excerpt {
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}
.listing-card--premium .listing-card-note {
    margin-bottom: 2px;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
}
.listing-card--premium .listing-card-foot {
    margin-top: auto;
}
.listing-card--premium .listing-more {
    padding: 3px 7px;
    font-size: 11px;
}
.listing-card--premium .listing-card-stats {
    font-size: 11px;
    gap: 6px;
}
.listing-card--premium .listing-views {
    font-size: 11px;
    padding: 1px 6px;
}
.listing-card--premium .listing-date {
    font-size: 10px;
}
.listing-card-cat-row {
    min-width: 0;
    margin-bottom: 3px;
}
.listing-card-performer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 3px;
    font-size: 12px;
    color: var(--muted);
}
.listing-card-performer-row .performer-name {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}
.listing-card-performer-row .performer-name-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.listing-card-performer-row .listing-card-rating {
    flex-shrink: 0;
    font-size: 12px;
}
.listing-card-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
.listing-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}
.listing-card-top-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
}
.listing-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.listing-views-icon {
    flex-shrink: 0;
    opacity: .85;
}
.listing-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}
.listing-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #334155;
}
.listing-card-rating strong {
    font-weight: 700;
    font-size: 13px;
}
.listing-card-rating-count {
    color: #64748b;
    font-weight: 700;
}
.listing-card-rating-stars {
    display: inline-flex;
    gap: 1px;
}
.listing-card-rating-star {
    color: #e2e8f0;
    font-size: 11px;
    line-height: 1;
}
.listing-card-rating-star.is-filled {
    color: #f59e0b;
}
.listing-card-verified {
    color: #047857;
    font-weight: 700;
}
.listing-card-price {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
}
.listing-card--premium .listing-card-price {
    font-size: 15px;
    margin-bottom: 4px;
}
.listing-title {
    margin: 0 0 3px;
    font-size: 15px;
    line-height: 1.25;
    color: var(--text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.listing-card-cat-row .listing-cat {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}
.listing-card--vip .listing-title { font-size: 14px; }
.listing-card--free .listing-title { font-size: 14px; }
.listing-excerpt {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.listing-card-note {
    margin: 0 0 4px;
    padding: 3px 7px;
    border-radius: 6px;
    background: #fffbeb;
    color: #92400e;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.listing-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    min-width: 0;
}
.listing-cat {
    background: #ecfdf5;
    color: var(--primary-dark);
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.listing-more {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    padding: 4px 9px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    transition: background .15s, border-color .15s, color .15s;
}
.listing-card:hover .listing-more {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

@media (min-width: 961px) {
    .listing-card-media {
        width: auto;
        min-width: 0;
        max-width: none;
        flex: 0 0 132px;
        padding: 7px 8px 7px 4px;
        box-sizing: border-box;
        display: flex;
        align-items: stretch;
    }
    .listing-card--premium .listing-card-media {
        flex: 0 0 140px;
        padding: 6px 8px 6px 4px;
    }
    .listing-card-photo {
        flex: 1;
        min-height: 0;
        max-height: none;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
    }
    .listing-card--vip .listing-card-tariff-mark,
    .listing-card--premium .listing-card-tariff-mark {
        top: 13px;
        left: 11px;
    }
    .listing-card--free .listing-excerpt,
    .listing-card--vip .listing-excerpt {
        -webkit-line-clamp: 1;
    }
    .listing-card--premium .listing-excerpt,
    .listing-card--premium .listing-card-note {
        -webkit-line-clamp: 2;
    }
    .listing-card--premium .listing-title {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 960px) {
    .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .listing-card,
    .listing-card-link {
        max-height: none;
    }
    .listing-card--free,
    .listing-card--vip,
    .listing-card--premium {
        grid-column: span 1;
    }
    .listing-card-link {
        flex-direction: column;
    }
    .listing-card-content {
        order: 2;
        padding: 12px 14px 14px;
    }
    .listing-card-media {
        order: 1;
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 0;
        display: block;
        flex: none;
    }
    .listing-card--premium .listing-card-media {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .listing-card-photo {
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 560px) {
    .listing-grid {
        grid-template-columns: 1fr;
    }
    .listing-card--free,
    .listing-card--vip,
    .listing-card--premium {
        grid-column: span 1;
    }
}

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num { color: var(--primary); font-weight: 800; font-size: 14px; }
.step-card h3 { margin: 8px 0; }

.cta-section { background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-list { padding-left: 18px; color: #cbd5e1; }

.page-hero { padding: 32px 0 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
.page-hero-compact { padding-bottom: 24px; }
.page-hero h1 { margin: 8px 0; font-size: clamp(28px, 4vw, 36px); }
.page-lead { color: var(--muted); margin: 0; }
.catalog-seo-intro {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.55;
}
.breadcrumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.breadcrumbs a:hover { color: var(--primary); }

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: start;
}

.catalog-main {
    order: 1;
    min-width: 0;
}

.catalog-listing-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    margin-bottom: 14px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.catalog-listing-toolbar-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.catalog-listing-toolbar-label {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-right: 2px;
}
.catalog-listing-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.catalog-listing-toolbar-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}
.catalog-listing-toolbar-btn.is-active {
    background: #ecfdf5;
    border-color: #34d399;
    color: #047857;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, .14);
}
.catalog-listing-toolbar-check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}
.catalog-listing-toolbar-check--sort {
    background: #059669;
    color: #fff;
}
.catalog-listing-toolbar-check--filter {
    background: #2563eb;
    color: #fff;
}
.catalog-listing-toolbar-btn-icon {
    font-size: 11px;
    line-height: 1;
    opacity: .85;
}
.catalog-listing-toolbar-btn-icon--svg {
    flex-shrink: 0;
}
.catalog-listing-toolbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.catalog-listing-toolbar-chip:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #334155;
}
.catalog-listing-toolbar-chip.is-active {
    border-color: #60a5fa;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}
.catalog-listing-toolbar-chip-icon {
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.catalog-sidebar {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    position: sticky;
    top: 88px;
    height: fit-content;
}
.catalog-sidebar-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}
.catalog-sidebar-cta {
    background: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 55%, #fff 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 14px;
}
.catalog-sidebar-cta-title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    color: #065f46;
}
.catalog-sidebar-cta-lead {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.45;
    color: #047857;
}
.catalog-sidebar-cta-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 13px;
}
.catalog-sidebar-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.catalog-sidebar-block-more {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}
.catalog-sidebar-block-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.catalog-sidebar-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.catalog-sidebar-news-item {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.catalog-sidebar-news-item:hover {
    background: #f0fcf6;
    border-color: #bbf7d0;
}
.catalog-sidebar-news-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}
.catalog-sidebar-news-date {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}
.catalog-sidebar-ad {
    position: relative;
    padding: 18px 14px;
    border-radius: var(--radius);
    border: 1px dashed #cbd5e1;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, .95), rgba(241, 245, 249, .95)),
        repeating-linear-gradient(
            -45deg,
            rgba(148, 163, 184, .08),
            rgba(148, 163, 184, .08) 8px,
            transparent 8px,
            transparent 16px
        );
    text-align: center;
}
.catalog-sidebar-ad-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.catalog-sidebar-ad-text {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #475569;
}
.catalog-sidebar-ad-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}
.catalog-sidebar-ad-link:hover {
    text-decoration: underline;
}

.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li { margin-bottom: 6px; }
.cat-list a {
    display: block;
    color: var(--muted);
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.cat-list a:hover { color: var(--primary); background: #f0fcf6; }
.cat-list a.is-active {
    color: var(--primary-dark);
    background: #ecfdf5;
    font-weight: 700;
}

.catalog-sidebar-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}
.catalog-sidebar-block .catalog-sidebar-title {
    margin-bottom: 10px;
}
.catalog-sidebar-block-head .catalog-sidebar-title {
    margin-bottom: 0;
}

.cat-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-accordion {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.cat-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    background: #f8fafc;
    font: inherit;
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.cat-accordion-trigger:hover { background: #f1f5f9; }

.cat-accordion-label { flex: 1; min-width: 0; }

.cat-accordion-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 1px 6px;
}

.cat-accordion-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-top: -4px;
}

.cat-accordion.is-open .cat-accordion-icon {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.cat-accordion-panel {
    display: none;
    padding: 6px 8px 10px;
    border-top: 1px solid var(--border);
}

.cat-accordion.is-open .cat-accordion-panel { display: block; }

.listing-detail { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.listing-body { color: #334155; }
.listing-lead { font-size: 18px; color: #475569; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; }
.contact-name { font-weight: 700; font-size: 18px; }
.contact-note { font-size: 13px; color: var(--muted); }

.empty-state { padding: 32px; text-align: center; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }

/* Footer (как на uslug.by) */
.site-footer { width: 100%; padding: 0; margin: 0; }

.p24-v2-footer {
    width: 100%;
    box-sizing: border-box;
    background: #18181b;
    color: #e4e4e7;
    padding: 80px 0 40px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.p24-v2-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 195, 123, 0.3), transparent);
    transform: translateX(-50%);
}

.p24-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.p24-v2-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.p24-v2-logo-link { display: inline-block; }
.p24-v2-brand img {
    height: 38px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(1.1);
}

.p24-v2-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #a1a1aa;
    margin: 0 0 30px;
}

.p24-v2-apps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p24-v2-app-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #27272a;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    border: 1px solid #3f3f46;
    transition: all 0.3s ease;
}

.p24-v2-app-link:hover {
    background: #3f3f46;
    border-color: #00c37b;
    transform: translateY(-2px);
}

.p24-v2-app-icon {
    font-size: 20px;
    color: #00c37b;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
}

.p24-v2-app-icon-play { font-size: 12px; }

.p24-v2-app-info span {
    display: block;
    font-size: 10px;
    color: #71717a;
    text-transform: uppercase;
}

.p24-v2-app-info strong { display: block; font-size: 14px; }

.p24-v2-h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin: 0 0 30px;
    position: relative;
}

.p24-v2-h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00c37b;
}

.p24-v2-links { list-style: none; padding: 0; margin: 0; }
.p24-v2-links li { margin-bottom: 14px; }

.p24-v2-links a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.p24-v2-links a:hover {
    color: #00c37b;
    padding-left: 5px;
}

.p24-v2-contacts {
    background: #27272a;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #3f3f46;
}

.p24-v2-mail {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
}

.p24-v2-mail:hover { color: #00c37b; }

.p24-v2-time { font-size: 13px; color: #71717a; margin: 0 0 20px; }

.p24-v2-btn {
    background: #00c37b;
    color: #fff !important;
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s;
    box-sizing: border-box;
}

.p24-v2-btn:hover {
    background: #00a869;
    box-shadow: 0 0 20px rgba(0, 195, 123, 0.4);
}

.p24-v2-btn-outline {
    background: transparent;
    border: 2px solid #00c37b;
    color: #00c37b !important;
}

.p24-v2-btn-outline:hover {
    background: rgba(0, 195, 123, 0.12);
    color: #fff !important;
}

.p24-v2-auth-btns { margin-top: 4px; }
.p24-v2-auth-btns .p24-v2-btn { margin-bottom: 0; }

.p24-v2-payment-logos {
    text-align: center;
    padding: 20px 0 10px;
    border-top: 1px solid #27272a;
}

.p24-v2-payment-img {
    max-height: 64px;
    height: auto;
    width: auto;
    max-width: 100%;
    opacity: 0.9;
    vertical-align: middle;
}

.p24-v2-bottom {
    border-top: 1px solid #27272a;
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 32px;
    font-size: 13px;
    color: #52525b;
}

.p24-v2-copyright { margin: 0; max-width: 520px; line-height: 1.6; }
.p24-v2-requisites-wrap { max-width: 620px; text-align: right; }

.p24-v2-requisites {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #71717a;
}

.p24-v2-requisites-email {
    color: #71717a;
    text-decoration: none;
}

.p24-v2-requisites-email:hover {
    color: #00c37b;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .p24-v2-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .p24-v2-brand, .p24-v2-contacts { grid-column: span 3; text-align: center; }
    .p24-v2-brand p { max-width: 500px; margin: 0 auto 25px; }
    .p24-v2-apps { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .p24-v2-h4::after { left: 50%; transform: translateX(-50%); }
    .p24-v2-bottom { justify-content: center; text-align: center; }
    .p24-v2-requisites-wrap { text-align: center; }
}

@media (max-width: 600px) {
    .p24-v2-footer { padding: 48px 0 32px; }
    .p24-v2-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        justify-items: center;
    }
    .p24-v2-grid > div { text-align: center; width: 100%; }
    .p24-v2-brand { grid-column: 1 / -1; }
    .p24-v2-grid > div:nth-child(2) { grid-column: 1 / -1; }
    .p24-v2-contacts { grid-column: 1 / -1; }
    .p24-v2-h4 { text-align: center; }
    .p24-v2-links { text-align: center; }
    .p24-v2-apps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .p24-v2-app-link { justify-content: center; }
    .p24-v2-payment-img { max-height: 56px; }
    .p24-v2-bottom { flex-direction: column; gap: 16px; }
    .p24-v2-copyright, .p24-v2-requisites-wrap { max-width: none; text-align: center; }
}

.modal-overlay {
    position: fixed; inset: 0; background: rgba(15,23,42,.65); backdrop-filter: blur(4px);
    display: none; place-items: center; z-index: 100; padding: 20px;
}
.modal-overlay.is-open { display: grid; }
.modal-overlay.is-open.modal-auth-layer { z-index: 110; }
.modal-window {
    width: min(520px, 100%); background: #fff; border-radius: 18px; padding: 28px;
    box-shadow: var(--shadow); position: relative; max-height: 90vh; overflow: auto;
}
.modal-city { width: min(900px, 100%); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: none; border-radius: 50%; background: #f1f5f9; cursor: pointer; font-size: 22px; }
.modal-sub { color: var(--muted); margin-top: 0; }
.auth-brand { text-align: center; font-weight: 800; font-size: 18px; margin: 0 0 8px; }
.auth-brand span { color: var(--primary); }
.field-label { display: block; font-weight: 600; margin-bottom: 6px; }
.field-input { width: 100%; height: 48px; border: 2px solid var(--border); border-radius: 12px; padding: 0 12px; font: inherit; margin-bottom: 12px; }
.phone-field {
    display: flex; align-items: stretch; margin-bottom: 12px;
    border: 2px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff;
}
.phone-field:focus-within { border-color: var(--primary); }
.phone-field-prefix {
    display: flex; align-items: center; padding: 0 10px 0 12px; font: inherit; font-weight: 600;
    color: var(--text); background: #f8fafc; border-right: 1px solid var(--border);
    user-select: none; white-space: nowrap;
}
.phone-field-input {
    flex: 1; min-width: 0; border: none !important; margin-bottom: 0 !important;
    border-radius: 0 !important; box-shadow: none !important;
}
.phone-field-input:focus { outline: none; }
.field-hint { color: #b91c1c; font-size: 13px; }
.field-hint[hidden] { display: none; }
.auth-sms-timer {
    text-align: center; font-size: 14px; color: #64748b; margin: 0 0 12px;
}
.auth-sms-resend { text-align: center; margin: 0 0 12px; }
.auth-resend-link {
    background: none; border: 0; padding: 0; font: inherit; color: var(--primary);
    cursor: pointer; text-decoration: underline;
}
.auth-resend-link:hover { color: var(--primary-dark); }
.auth-resend-link:disabled { opacity: 0.5; cursor: not-allowed; text-decoration: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.auth-btn-spinner {
    display: none; position: absolute; left: 50%; top: 50%;
    width: 20px; height: 20px; margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
    border-radius: 50%; animation: authSpin 0.7s linear infinite;
}
.btn.is-loading .auth-btn-spinner { display: block; }
@keyframes authSpin { to { transform: rotate(360deg); } }
.auth-dev-note {
    background: #fffbeb; border: 1px solid #fcd34d; color: #92400e;
    font-size: 13px; padding: 10px 12px; border-radius: 10px; margin: 0 0 14px;
}
.auth-sent-note {
    background: #ecfdf5; border: 1px solid #b8ecd8; color: #0d6b47;
    font-size: 14px; padding: 12px; border-radius: 10px; margin-bottom: 14px;
    text-align: center; font-weight: 600;
}
.auth-sent-note[hidden] { display: none; }
.auth-dev-code {
    background: #ecfdf5; border: 2px solid var(--primary); border-radius: 12px;
    padding: 14px; margin-bottom: 14px; text-align: center; font-size: 15px;
}
.auth-dev-code-value {
    display: block; font-size: 32px; font-weight: 800; letter-spacing: 0.2em;
    color: var(--primary); margin-top: 6px;
}

.dashboard h1 { margin-top: 0; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.dash-card-accent { border-color: #00ba77; background: linear-gradient(135deg, #f0fdf8 0%, #fff 100%); }

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

.pagination li {
    display: inline-flex;
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    background: #fff;
    line-height: 1;
}

.pagination a:hover {
    border-color: #bbf7d0;
    background: #f0fcf6;
    color: var(--primary-dark);
}

.pagination li.active span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination li.disabled span {
    color: #94a3b8;
    background: #f8fafc;
    cursor: not-allowed;
}

/* Blog */
.blog-hero { background: var(--bg); padding: 40px 0 32px; border-bottom: 1px solid var(--border); }
.blog-hero-compact { padding-bottom: 24px; }
.blog-hero h1 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 40px); }
.blog-hero-lead { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0; }
.blog-search { display: flex; gap: 8px; max-width: 480px; margin-top: 20px; }
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 40px;
    align-items: start;
}
.blog-main { min-width: 0; }
.blog-sidebar {
    position: sticky;
    top: 88px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.blog-sidebar-title { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.blog-rubric-list { list-style: none; padding: 0; margin: 0; }
.blog-rubric-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600;
}
.blog-rubric-list a:hover, .blog-rubric-list a.is-active { background: #ecfdf5; color: var(--primary-dark); }
.blog-rubric-count { font-size: 12px; color: var(--muted); font-weight: 500; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Blog carousel (главная) */
.blog-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
}

.blog-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding: 4px 2px 12px;
    margin: -4px -2px -12px;
}

.blog-carousel-viewport::-webkit-scrollbar { display: none; }

.blog-carousel-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.blog-carousel-slide {
    flex: 0 0 min(100%, 300px);
    scroll-snap-align: start;
    min-width: 0;
}

.blog-carousel-slide .blog-card {
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.blog-carousel-slide .blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.blog-carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: background 0.2s, border-color 0.2s, opacity 0.2s, transform 0.15s;
    z-index: 2;
}

.blog-carousel-arrow:hover:not(:disabled) {
    background: #f0fcf6;
    border-color: #bbf7d0;
    color: var(--primary-dark);
}

.blog-carousel-arrow:active:not(:disabled) { transform: scale(0.96); }

.blog-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

@media (min-width: 640px) {
    .blog-carousel-slide {
        flex-basis: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .blog-carousel-slide {
        flex-basis: calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
}

@media (min-width: 1280px) {
    .blog-carousel-slide {
        flex-basis: calc(25% - 18px);
        max-width: calc(25% - 18px);
    }
}

@media (min-width: 1440px) {
    .blog-carousel-slide {
        flex-basis: calc(20% - 19.2px);
        max-width: calc(20% - 19.2px);
    }
}

@media (max-width: 639px) {
    .blog-carousel {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }

    .blog-carousel-viewport {
        grid-row: 1;
        grid-column: 1 / -1;
    }

    .blog-carousel-arrow {
        position: absolute;
        top: 38%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        opacity: 0.95;
    }

    .blog-carousel-prev { left: 4px; }
    .blog-carousel-next { right: 4px; }

    .blog-carousel-arrow:active:not(:disabled) {
        transform: translateY(-50%) scale(0.96);
    }

    .blog-carousel-slide {
        flex-basis: calc(100% - 56px);
        max-width: calc(100% - 56px);
    }
}

.section-blog-home {
    padding-top: 56px;
    padding-bottom: 56px;
}

.section-head-center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.section-head-center h2 {
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-head-center p {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
}

.blog-carousel-cta {
    margin: 28px 0 0;
    text-align: center;
}

.blog-carousel-cta .btn {
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    min-width: 220px;
}

.blog-card--home .blog-card-body {
    padding: 16px;
}

.blog-card--home .blog-card-date {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.blog-card--home .blog-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card--home .blog-card-title a {
    color: inherit;
}

.blog-card--home .blog-card-excerpt {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s;
}
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card-image { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #d1fae5, #ecfdf5); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #00ba77 0%, #009e65 100%); opacity: .35; }
.blog-card-rubric {
    position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95);
    padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--primary-dark);
}
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: 13px; color: var(--muted); }
.blog-card-title { font-size: 18px; margin: 8px 0; line-height: 1.3; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { color: var(--muted); font-size: 14px; margin: 0 0 12px; flex: 1; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.blog-card-meta-stats {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.blog-card-meta-sep { opacity: 0.5; }
.blog-card-meta--compact {
    margin-top: auto;
    padding-top: 10px;
    justify-content: flex-start;
}
.blog-views-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: inherit;
    color: inherit;
    white-space: nowrap;
}
.blog-views-icon { flex-shrink: 0; opacity: 0.75; }
.blog-article-meta .blog-views-count { font-size: 14px; }
.blog-search-note { color: var(--muted); margin-bottom: 16px; }
/* Article (single post) */
.blog-article {
    padding: 28px 0 64px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 120px);
}
.blog-article-breadcrumbs { margin-bottom: 24px; }
.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}
.blog-article-main { min-width: 0; }
.blog-article-aside { min-width: 0; }
.blog-article-aside .blog-sidebar {
    position: sticky;
    top: 88px;
}
.blog-article-cover-wrap {
    margin: 0 0 24px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #ecfdf5;
    aspect-ratio: 16 / 9;
    max-height: 420px;
}
.blog-article-cover {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.blog-article-intro {
    padding-bottom: 24px;
}
.blog-article-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}
.blog-article-rubric {
    display: inline-block;
    background: #ecfdf5;
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 186, 119, 0.2);
}
.blog-article-rubric:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}
.blog-article-meta-sep { opacity: 0.5; }
.blog-article-meta .blog-views-icon { opacity: 0.7; }

.blog-related-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
}
.blog-related-meta-sep { opacity: 0.5; }
.blog-related-views { white-space: nowrap; }
.blog-article-lead {
    font-size: 19px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 6px; opacity: .6; }
.blog-prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.blog-prose > h1:first-child { display: none; }
.blog-prose h2 {
    margin: 2em 0 0.75em;
    font-size: 24px;
    line-height: 1.25;
    color: var(--text);
}
.blog-prose h3 { margin-top: 1.5em; font-size: 20px; }
.blog-prose p { margin: 0 0 1.1em; }
.blog-prose ul, .blog-prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.blog-prose li { margin-bottom: 0.35em; }
.blog-prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.25em 0; }
.blog-prose a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.blog-prose a:hover { color: var(--primary); }
.blog-prose .p24-article-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.blog-prose .p24-article-list li {
    position: relative;
    padding: 12px 12px 12px 36px;
    margin-bottom: 8px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
}
.blog-prose .p24-article-list li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 12px;
    color: var(--primary);
    font-weight: 800;
}
.blog-prose .p24-article-quote {
    margin: 1.5em 0;
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    background: #ecfdf5;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #334155;
}
.blog-prose .p24-article-quote p:last-child { margin-bottom: 0; }

.blog-toc {
    margin: 0 0 2em;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid #bbf7d0;
    background: linear-gradient(135deg, #f0fdf8 0%, #fff 100%);
}
.blog-toc-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-dark);
}
.blog-toc ol {
    margin: 0;
    padding-left: 1.2em;
    font-size: 15px;
    line-height: 1.55;
}
.blog-toc a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}
.blog-toc a:hover { color: var(--primary-dark); text-decoration: underline; }
.blog-prose h2[id] { scroll-margin-top: 88px; }
.blog-prose h2 .heading-anchor {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 186, 119, 0.25);
}
.blog-figure {
    margin: 1.5em 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.blog-figure img { margin: 0; border-radius: 0; display: block; width: 100%; }
.blog-figure figcaption {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--muted);
    background: #f8fafc;
    border-top: 1px solid var(--border);
}
.blog-callout {
    margin: 1.5em 0;
    padding: 18px 20px;
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    background: #f0fdf8;
}
.blog-callout strong { display: block; margin-bottom: 6px; color: var(--primary-dark); }
.blog-callout-warn {
    border-left-color: #f59e0b;
    background: #fffbeb;
}
.blog-cta-inline {
    margin: 2em 0;
    padding: 22px;
    text-align: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
}
.blog-cta-inline h3 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.blog-cta-inline p { margin: 0 0 16px; font-size: 14px; opacity: 0.9; }
.blog-cta-inline a {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}
.blog-cta-inline a:hover { background: var(--primary-dark); }
.blog-prose .blog-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 1.25em 0;
}
.blog-prose .blog-link-grid a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
}
.blog-prose .blog-link-grid a:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 186, 119, 0.12);
}
.blog-sidebar-related { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.blog-related-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.blog-related-item { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.blog-related-item:hover .blog-related-title { color: var(--primary); }
.blog-related-thumb { flex-shrink: 0; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #ecfdf5; }
.blog-related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-related-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.blog-related-title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.blog-related-date { font-size: 12px; color: var(--muted); }
.blog-sidebar-cta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
.blog-sidebar-cta-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.blog-sidebar-cta-title { font-size: 16px; margin: 0 0 8px; }
.blog-sidebar-cta-text { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.btn-block { display: block; width: 100%; text-align: center; }

/* 404 */
.error-page {
    position: relative;
    overflow: hidden;
    padding: 48px 0 72px;
    min-height: calc(100vh - 200px);
}
.error-page-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 186, 119, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 20%, rgba(15, 23, 42, 0.06), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #fff 45%, #ecfdf5 100%);
}
.error-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.error-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: error-float 12s ease-in-out infinite;
}
.error-orb-1 {
    width: 320px; height: 320px;
    top: -80px; right: 10%;
    background: rgba(0, 186, 119, 0.35);
}
.error-orb-2 {
    width: 240px; height: 240px;
    bottom: 10%; left: -40px;
    background: rgba(0, 158, 101, 0.2);
    animation-delay: -4s;
}
.error-orb-3 {
    width: 180px; height: 180px;
    top: 40%; right: -20px;
    background: rgba(15, 23, 42, 0.08);
    animation-delay: -8s;
}
@keyframes error-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -16px) scale(1.05); }
}
.error-page-inner { position: relative; z-index: 1; }
.error-page-hero {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    margin-bottom: 56px;
}
.error-page-code {
    margin: 0;
    font-size: clamp(88px, 18vw, 200px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
    display: flex;
    justify-content: center;
    gap: 0.02em;
    user-select: none;
}
.error-page-code span {
    display: inline-block;
    background: linear-gradient(160deg, var(--primary) 0%, #0f172a 55%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: error-digit 4s ease-in-out infinite;
}
.error-page-code span:nth-child(2) { animation-delay: 0.15s; }
.error-page-code span:nth-child(3) { animation-delay: 0.3s; }
@keyframes error-digit {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-6px); opacity: 0.85; }
}
.error-page-badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(0, 186, 119, 0.12);
    border: 1px solid rgba(0, 186, 119, 0.25);
}
.error-page-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.error-page-lead {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 17px;
    max-width: 520px;
    line-height: 1.6;
}
.error-page-search {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 520px;
    margin-bottom: 20px;
}
.error-page-search .search-input { flex: 1; min-width: 200px; }
.error-page-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.error-links-section { margin-bottom: 40px; }
.error-links-title {
    margin: 0 0 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
}
.error-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.error-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.error-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 186, 119, 0.45);
    box-shadow: 0 12px 32px rgba(0, 186, 119, 0.12);
}
.error-link-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 12px;
}
.error-link-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.error-link-title { font-weight: 700; font-size: 16px; }
.error-link-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.error-link-arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s, transform 0.2s;
}
.error-link-card:hover .error-link-arrow {
    opacity: 1;
    transform: translateX(0);
}
.error-tags-section { margin-bottom: 32px; }
.error-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.error-tag {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.error-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.error-page-help {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}
.error-page-help a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.error-page-help a:hover { color: var(--primary); }

@media (max-width: 1100px) and (min-width: 901px) {
    .blog-article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
}

@media (max-width: 1023px) {
    .top-bar-desktop { max-height: none; opacity: 1; padding: 8px 0; }
    body.p24-topbar-hidden .top-bar-desktop {
        max-height: none;
        opacity: 1;
        pointer-events: auto;
        padding: 8px 0;
    }
    .top-bar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .top-bar-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .top-bar-nav::-webkit-scrollbar { display: none; }
    .top-link { white-space: nowrap; flex-shrink: 0; }
    .ads-counter { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
    .container { width: min(1200px, calc(100% - 24px)); }

    .catalog-layout, .listing-detail { grid-template-columns: 1fr; }
    .catalog-sidebar {
        position: static;
        order: 2;
    }
    .catalog-main { order: 1; }
    .catalog-listing-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px;
    }
    .catalog-listing-toolbar-group {
        gap: 5px;
    }
    .catalog-listing-toolbar-label {
        width: 100%;
        margin: 0 0 2px;
    }
    .catalog-listing-toolbar-chip {
        align-self: flex-start;
    }
    .contact-card { position: static; }

    .header-container {
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0;
    }
    .logo-img { height: 36px; max-width: 140px; }
    .header-search-section {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }
    .ks-search-wrapper {
        flex-wrap: wrap;
        width: 100%;
    }
    .ks-search-box { width: 100%; }
    .ks-location-trigger {
        width: 100%;
        justify-content: center;
        padding: 10px;
        background: #f8fafc;
        border-radius: 8px;
    }
    .ks-auth-wrap {
        margin-left: 0;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-end;
    }
    .ks-login-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero-v2 { padding: 28px 0 40px; }
    .hero-v2-search { max-width: none; }
    .hero-v2-lead { max-width: none; }

    .section { padding: 36px 0; }
    .section-head h2 { font-size: clamp(22px, 5vw, 28px); }
    .section-head { align-items: flex-start; }

    .geo-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }

    .blog-layout { grid-template-columns: 1fr; }
    .blog-article-layout { grid-template-columns: 1fr; gap: 32px; }
    .blog-article-aside { order: -1; }
    .blog-article-main { order: 0; }
    .blog-article-aside .blog-sidebar {
        position: static;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    .blog-sidebar { position: static; }
    .blog-search { flex-direction: column; max-width: none; }
    .blog-search .search-input,
    .blog-search .btn { width: 100%; }

    .blog-carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .page-hero { padding: 24px 0 12px; }
    .page-hero h1 { font-size: clamp(24px, 6vw, 32px); }

    .error-page-hero { grid-template-columns: 1fr; text-align: center; }
    .error-page-code { order: -1; }
    .error-page-lead, .error-page-search { margin-left: auto; margin-right: auto; }
    .error-page-actions { justify-content: center; }
    .error-page-search { flex-direction: column; width: 100%; }
    .error-page-search .search-input { width: 100%; min-width: 0; }
    .error-links-grid { grid-template-columns: 1fr; }

    .modal-overlay { padding: 12px; align-items: end; }
    .modal-window {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        padding: 22px 18px;
    }
    .modal-city {
        width: 100%;
        max-height: 88vh;
    }
    .modal-city .geo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { width: min(1200px, calc(100% - 20px)); }

    .ads-label { display: none; }
    .ads-counter { padding: 6px 12px; }
    .ads-value { font-size: 14px; }

    .hero-v2-title { font-size: clamp(28px, 8vw, 40px); }
    .hero-v2-badge { font-size: 12px; padding: 6px 12px; }
    .hero-v2-trust { flex-direction: column; gap: 10px; }

    .hero-v2-visual { min-height: 260px; }
    .hero-cards { height: 250px; }

    .p24-v2-footer { padding: 48px 0 28px; }
    .p24-v2-container { padding: 0 16px; }

    .blog-card-title { font-size: 16px; }
    .listing-title { font-size: 16px; }

    .breadcrumbs { font-size: 12px; }
}

@media (max-width: 380px) {
    .ks-auth-wrap { width: 100%; justify-content: stretch; }
    .ks-auth-wrap .ks-login-btn,
    .ks-auth-wrap .inline-form { flex: 1; }
    .ks-auth-wrap .ks-login-btn { width: 100%; }
}

/* User cabinet */
.cabinet-section { padding-top: 24px; padding-bottom: 48px; }
.cabinet-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.cabinet-main { min-width: 0; }
.profile-form-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.cabinet-title { margin: 0 0 8px; font-size: clamp(26px, 3vw, 32px); }
.cabinet-lead { color: var(--muted); margin: 0 0 20px; max-width: 720px; line-height: 1.55; }
.cabinet-breadcrumbs { margin-bottom: 12px; font-size: 13px; }
.cabinet-page-content { min-width: 0; }
.cabinet-alert {
    padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 14px;
}
.cabinet-alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.cabinet-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.cabinet-errors { margin: 0; padding-left: 18px; }
.cabinet-banner {
    padding: 18px 20px; border-radius: 14px; margin-bottom: 24px; border: 1px solid var(--border);
}
.cabinet-banner strong { display: block; margin-bottom: 6px; font-size: 16px; }
.cabinet-banner p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cabinet-banner-meta { font-size: 13px; margin-bottom: 0 !important; }
.cabinet-banner-warn { background: #fffbeb; border-color: #fde68a; }
.cabinet-banner-info {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(254, 249, 195, 0.92) 0%, rgba(253, 230, 138, 0.78) 50%, rgba(250, 204, 21, 0.65) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 8px 32px rgba(202, 138, 4, 0.14),
        0 2px 8px rgba(202, 138, 4, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.cabinet-banner-info::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%, transparent 100%);
    pointer-events: none;
}
.cabinet-banner-info > * { position: relative; z-index: 1; }
.cabinet-banner-info strong { color: #1c0a00; font-size: 17px; font-weight: 800; }
.cabinet-banner-info p { color: #0c0a09; font-weight: 500; }
.cabinet-banner-info .cabinet-banner-meta { color: #292524; font-size: 13px; font-weight: 600; opacity: 1; }
.profile-lock-banner {
    padding: 16px 18px; border-radius: 14px; margin-bottom: 20px;
    background: #f8fafc; border: 1px solid var(--border);
}
.profile-lock-banner strong { display: block; margin-bottom: 6px; }
.profile-lock-banner p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.profile-unlock-active {
    padding: 14px 16px; border-radius: 12px; margin-bottom: 20px;
    background: #ecfdf5; border: 1px solid #a7f3d0; font-size: 14px;
}
.profile-unlock-active p { margin: 6px 0 0; color: #065f46; }
.profile-form-locked .profile-form-fieldset:disabled {
    opacity: 0.72; pointer-events: none; cursor: not-allowed;
}
.profile-form-locked .profile-form-fieldset:disabled input,
.profile-form-locked .profile-form-fieldset:disabled textarea,
.profile-form-locked .profile-form-fieldset:disabled select {
    background: #f1f5f9; color: #64748b; border-color: #e2e8f0;
}
.cabinet-banner-error { background: #fef2f2; border-color: #fecaca; }
.cabinet-rejection-reason {
    margin: 12px 0 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 10px;
}
.cabinet-rejection-reason-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #991b1b;
    margin-bottom: 6px;
}
.cabinet-rejection-reason-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #1c1917;
    white-space: pre-wrap;
}
.cabinet-banner-success { background: #f0fdf8; border-color: #bbf7d0; }
.cabinet-banner-gift-note {
    margin: 0 0 12px !important;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
    border: 1px dashed rgba(0, 186, 119, .35);
    color: var(--text) !important;
    font-size: 14px !important;
}
.cabinet-banner-gift-note strong { color: var(--primary-dark); }
.cabinet-banner-deadline {
    margin: 0 0 12px !important;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.25);
    color: #9a3412 !important;
    font-size: 13px !important;
    font-weight: 600;
}

.welcome-gift-banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 18px;
    border: 1px solid rgba(0, 186, 119, .28);
    background: linear-gradient(135deg, #ecfdf5 0%, #fff7ed 52%, #f0fdf8 100%);
    box-shadow: 0 16px 40px rgba(0, 186, 119, .12);
}
.welcome-gift-banner-glow {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, .35) 0%, rgba(251, 191, 36, 0) 70%);
    pointer-events: none;
}
.welcome-gift-banner-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
}
.welcome-gift-banner-badge {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.welcome-gift-banner-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.welcome-gift-banner-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #b45309;
}
.welcome-gift-banner-title {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
}
.welcome-gift-banner-text {
    margin: 0;
    max-width: 56ch;
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
}
.welcome-gift-banner-text strong { color: #0f766e; }
.welcome-gift-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
}
.welcome-gift-banner-dismiss-form { margin: 0; }
.welcome-gift-banner-dismiss {
    border: 0;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.welcome-gift-banner-dismiss:hover { color: #0f766e; }
.welcome-gift-banner-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #00ba77 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 186, 119, .28);
}
.welcome-gift-banner-amount-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}
.welcome-gift-banner-amount-currency {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    opacity: .92;
    letter-spacing: .06em;
}

.welcome-gift-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 186, 119, .22);
    background: linear-gradient(135deg, #f0fdf8 0%, #fff 100%);
}
.welcome-gift-card--pending {
    border-color: rgba(251, 191, 36, .35);
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}
.welcome-gift-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
    font-size: 24px;
    flex-shrink: 0;
}
.welcome-gift-card-title {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--text);
}
.welcome-gift-card-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}
.verify-gift-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    border: 1px dashed rgba(0, 186, 119, .28);
    color: #334155;
    line-height: 1.55;
}
.verify-gift-note strong { color: var(--primary-dark); }

.cabinet-sidebar,
.site-sidebar.cabinet-sidebar {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06); overflow: hidden;
    position: sticky; top: 88px;
}
.cabinet-sidebar-brand {
    padding: 18px 16px 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.cabinet-sidebar-brand-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.cabinet-sidebar-brand-link:hover .cabinet-sidebar-brand-name {
    color: var(--primary-dark);
}
.cabinet-sidebar-brand-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
}
.cabinet-sidebar-brand-name {
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    color: var(--text);
}
.cabinet-sidebar-brand-name .performer-name-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cabinet-sidebar-brand .listing-contact-logo--md {
    width: 72px;
    height: 72px;
}
.cabinet-sidebar-brand .listing-contact-logo--md img {
    width: 72px;
    height: 72px;
}
.cabinet-sidebar-brand .listing-contact-avatar--md {
    width: 72px;
    height: 72px;
    font-size: 22px;
}
.cabinet-sidebar-approved {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    flex-shrink: 0;
}
.cabinet-sidebar-balance {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #f0fdf8 0%, #fff 100%);
}
.cabinet-sidebar-balance-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cabinet-sidebar-balance-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.cabinet-sidebar-balance-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}
.cabinet-sidebar-balance-gift {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #0f766e;
    font-weight: 600;
}
.cabinet-sidebar-balance-gift--pending {
    color: #b45309;
}
.cabinet-sidebar-balance-btn {
    flex-shrink: 0;
    white-space: nowrap;
}
.gu-sidebar-menu { display: flex; flex-direction: column; }
.gu-acc-item { border-bottom: 1px solid var(--border); position: relative; }
.gu-acc-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; padding: 16px 18px; margin: 0; border: 0; background: transparent;
    cursor: pointer; font-weight: 700; font-size: 15px; font-family: inherit;
    color: var(--text); user-select: none; text-align: left;
}
.gu-acc-header:hover { background: #f8fafc; }
.gu-header-content {
    display: flex; align-items: center; gap: 12px; min-width: 0;
}
.gu-acc-icon { flex-shrink: 0; color: #64748b; }
.gu-arrow {
    color: #94a3b8; font-size: 14px; line-height: 1; transition: transform 0.2s, color 0.2s;
}
.gu-acc-body {
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease;
}
.gu-acc-body > .gu-acc-inner { overflow: hidden; min-height: 0; }
.gu-acc-item.is-open .gu-acc-body { grid-template-rows: 1fr; }
.gu-acc-item.is-open .gu-acc-header { color: var(--primary-dark); }
.gu-acc-item.is-open .gu-acc-header .gu-acc-icon { color: var(--primary); }
.gu-acc-item.is-open .gu-acc-header .gu-arrow {
    transform: rotate(90deg); color: var(--primary);
}
.gu-acc-item.is-open::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--primary); border-radius: 0 2px 2px 0; z-index: 1;
}
.gu-acc-inner {
    display: flex; flex-direction: column; gap: 2px;
    padding: 0; margin: 0; background: transparent;
}
.gu-acc-item.is-open .gu-acc-inner {
    padding: 4px 12px 14px; margin: 0 12px 12px;
    background: #f1f5f9; border-radius: 10px;
}
.gu-acc-inner a,
.gu-logout {
    display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none;
    color: var(--text); font-size: 14px; font-weight: 500; text-align: left;
    border: 0; background: none; width: 100%; cursor: pointer; font-family: inherit;
}
.gu-acc-inner a:hover,
.gu-logout:hover { background: #e2e8f0; color: var(--primary-dark); }
.gu-acc-inner a.is-active { background: #ecfdf5; color: var(--primary-dark); font-weight: 700; }
.gu-logout { color: #dc2626; }
.gu-logout:hover { background: #fef2f2; color: #b91c1c; }
.gu-logout-form { margin: 0; }
.cabinet-sidebar-foot {
    padding: 16px 18px; border-top: 1px solid var(--border); background: #f8fafc;
}
.cabinet-sidebar-phone { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.cabinet-table-wrap { overflow-x: auto; }
.cabinet-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cabinet-table th, .cabinet-table td {
    padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left;
}
.cabinet-table th { background: #f8fafc; font-weight: 700; }
.profile-section-title { margin: 0 0 8px; font-size: 18px; }
.profile-section-lead { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.profile-step-head {
    display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px;
}
.profile-step-num {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.profile-step-type { margin-bottom: 16px; }
.profile-step-details {
    scroll-margin-top: 24px;
    animation: profileStepIn 0.35s ease;
}
@keyframes profileStepIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.profile-type-hint {
    margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
    background: #f8fafc; color: var(--muted); font-size: 14px; text-align: center;
}
.profile-type-summary { color: var(--primary); font-weight: 600; }
.profile-type-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.profile-type-card { cursor: pointer; position: relative; }
.profile-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.profile-type-card-inner {
    display: block; padding: 16px; border: 2px solid var(--border); border-radius: 12px;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.profile-type-icon {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 12px;
    border-radius: 12px; background: #f1f5f9; color: #64748b;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.profile-type-icon-svg { display: block; }
.profile-type-card input:checked + .profile-type-card-inner .profile-type-icon,
.profile-type-card.is-selected .profile-type-card-inner .profile-type-icon {
    background: #ecfdf5; color: var(--primary);
}
.profile-type-card:hover .profile-type-icon { transform: translateY(-1px); }
.profile-type-card input:checked + .profile-type-card-inner,
.profile-type-card.is-selected .profile-type-card-inner {
    border-color: var(--primary); background: #f0fdf8; box-shadow: 0 0 0 1px var(--primary);
}
.profile-type-card strong { display: block; margin-bottom: 4px; }
.profile-type-card small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.profile-photo-block {
    display: flex; gap: 20px; align-items: center; margin-bottom: 22px;
    padding: 20px; border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf8 100%);
    border: 1px solid var(--border);
}
.profile-photo-preview {
    width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
    background: #fff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 0 0 2px #e2e8f0;
    transition: box-shadow 0.2s;
}
.profile-photo-preview.has-photo {
    box-shadow: 0 4px 20px rgba(0, 186, 119, 0.2), 0 0 0 2px var(--primary);
}
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-placeholder { color: #94a3b8; display: flex; align-items: center; justify-content: center; }
.profile-photo-meta { flex: 1; min-width: 0; }
.profile-photo-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #1e293b; }
.profile-photo-lead { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.profile-photo-input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.profile-photo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.profile-photo-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 10px;
    border: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
    color: #fff; background: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 186, 119, 0.35);
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.profile-photo-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 186, 119, 0.4);
}
.profile-photo-btn:active { transform: translateY(0); }
.profile-photo-btn svg { flex-shrink: 0; opacity: 0.95; }
.profile-photo-hint { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }
.profile-fields-block { margin-bottom: 4px; }
.profile-optional { font-weight: 400; color: var(--muted); font-size: 13px; }
.profile-fields { display: grid; gap: 14px; margin-bottom: 14px; }
.profile-fields-row {
    display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-bottom: 8px;
}
.profile-payment-block {
    margin-bottom: 20px; padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf8 100%);
    border: 2px solid #bbf7d0;
    box-shadow: 0 2px 12px rgba(0, 186, 119, 0.08);
}
.profile-payment-block .profile-subtitle { margin-top: 0; }
.profile-payment-lead {
    margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.5;
}
.profile-required-badge {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    color: #047857; background: #ecfdf5; padding: 3px 8px; border-radius: 6px;
    vertical-align: middle; margin-left: 6px;
}
.profile-payment-block .profile-field-full:last-child { margin-bottom: 0; }
.profile-payment-block-optional {
    border-color: var(--border);
    background: #f8fafc;
    box-shadow: none;
}
.profile-payment-block-optional .profile-payment-lead { margin-top: 12px; }
.profile-toggle-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 10px; cursor: pointer;
    border: 2px dashed #cbd5e1; background: #fff;
    font-size: 14px; font-weight: 600; color: #334155;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.profile-toggle-btn:hover { border-color: var(--primary); color: var(--primary); }
.profile-toggle-btn.is-active {
    border-style: solid; border-color: var(--primary);
    background: #f0fdf8; color: var(--primary-dark);
}
.profile-toggle-check {
    position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.profile-toggle-btn-icon {
    width: 22px; height: 22px; border-radius: 6px;
    background: #e2e8f0; color: #475569;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; line-height: 1; font-weight: 700;
    transition: transform 0.15s, background 0.15s;
}
.profile-toggle-btn.is-active .profile-toggle-btn-icon {
    transform: rotate(45deg); background: var(--primary); color: #fff;
}
.profile-ip-bank-fields { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.profile-input-upper { text-transform: uppercase; }
.profile-field { display: flex; flex-direction: column; gap: 6px; }
.profile-field span { font-size: 13px; font-weight: 600; color: #475569; }
.profile-field input,
.profile-field textarea,
.profile-field select {
    padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
    font: inherit; width: 100%;
    background: #fff;
}
.profile-field select {
    padding-right: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}
.profile-field select:focus,
.profile-field input:focus,
.profile-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.12);
}
.profile-field textarea { resize: vertical; min-height: 120px; }
.profile-field small { color: var(--muted); font-size: 12px; }
.profile-field-footer {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 12px; margin-top: 6px;
}
.profile-field-footer small { flex: 1; margin: 0; }
.profile-char-counter {
    flex-shrink: 0; font-size: 12px; font-weight: 600; color: #64748b;
    font-variant-numeric: tabular-nums;
}
.profile-char-counter.is-over { color: #dc2626; }
.listing-body-hint { color: var(--muted); font-size: 12px; line-height: 1.45; }
.listing-body-error {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
}
.listing-body-error[hidden] { display: none; }
.field-input.is-invalid,
.profile-field textarea.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.profile-field-full { margin-bottom: 16px; }
.profile-subtitle { margin: 20px 0 12px; font-size: 15px; }
.profile-consent {
    display: flex; gap: 12px; align-items: flex-start;
    margin: 22px 0 4px; padding: 14px 16px;
    border-radius: 12px; background: #f8fafc; border: 1px solid var(--border);
    font-size: 13px; line-height: 1.55; color: #475569; cursor: pointer;
}
.profile-consent input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); cursor: pointer;
}
.profile-consent a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.profile-consent a:hover { color: var(--primary-dark); }
.profile-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.text-muted { color: var(--muted); font-size: 14px; }

/* Static / info pages */
.page-hero {
    padding: 32px 0 28px;
    background: linear-gradient(180deg, #f0fdf8 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
}
.page-hero-title { margin: 12px 0 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; }
.page-hero-lead { margin: 12px 0 0; max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.page-body { padding-top: 32px; padding-bottom: 56px; }
.page-container { max-width: 960px; }
.page-container-narrow { max-width: 720px; }
.page-subtitle { margin: 32px 0 16px; font-size: 20px; font-weight: 700; }
.page-note-card,
.page-cta-card {
    padding: 20px 22px; border-radius: 14px; border: 1px solid var(--border);
    background: #f8fafc; margin-top: 28px;
}
.page-cta-card { background: linear-gradient(135deg, #f0fdf8, #fff); text-align: center; }
.page-cta-card h3 { margin: 0 0 8px; }
.page-cta-card p { margin: 0 0 16px; color: var(--muted); }
.page-list { margin: 0; padding-left: 20px; line-height: 1.6; }
.page-schedule { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }
.page-empty-table {
    padding: 28px; border: 1px dashed var(--border); border-radius: 14px;
    text-align: center; color: var(--muted);
}

.tariff-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.tariff-card {
    position: relative; padding: 24px 20px; border: 2px solid var(--border);
    border-radius: 16px; background: #fff; display: flex; flex-direction: column;
}
.tariff-card-featured {
    border-color: var(--primary); box-shadow: 0 8px 32px rgba(0, 186, 119, 0.12);
}
.tariff-badge {
    position: absolute; top: -10px; right: 16px; background: var(--primary); color: #fff;
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.tariff-name { margin: 0 0 8px; font-size: 22px; }
.tariff-price { margin: 0 0 16px; font-size: 26px; font-weight: 800; color: var(--primary-dark); }
.tariff-period { font-size: 14px; font-weight: 500; color: var(--muted); }
.tariff-features {
    margin: 0 0 20px; padding: 0; list-style: none; flex: 1;
}
.tariff-features li {
    padding: 8px 0 8px 24px; position: relative; font-size: 14px; line-height: 1.45;
    border-bottom: 1px solid #f1f5f9;
}
.tariff-features li::before {
    content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}

.feature-highlight {
    display: flex; gap: 20px; align-items: flex-start; padding: 22px;
    background: #f0fdf8; border-radius: 14px; border: 1px solid #bbf7d0; margin-bottom: 8px;
}
.feature-highlight-icon { font-size: 36px; line-height: 1; }
.feature-highlight h2 { margin: 0 0 8px; font-size: 18px; }
.feature-highlight p { margin: 0; color: var(--muted); line-height: 1.55; }

.media-format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.media-format-card {
    padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.media-format-card h3 { margin: 0 0 10px; font-size: 17px; }
.media-format-card p { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.media-format-price { margin: 0; font-size: 15px; }

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.how-step-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}
.how-step-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.how-step-card h2 { margin: 0 0 10px; font-size: 18px; }
.how-step-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

.sitemap-grid { display: flex; flex-direction: column; gap: 36px; }
.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sitemap-links a {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 14px;
}
.sitemap-links a:hover { color: var(--primary); }
.sitemap-links-cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px 16px;
}

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-card {
    display: flex; flex-direction: column; padding: 22px; border-radius: 14px;
    border: 1px solid var(--border); background: #fff; text-decoration: none; color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.support-card:hover {
    border-color: var(--primary); box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
.support-card-tg:hover { border-color: #229ed9; }
.support-card-icon { font-size: 28px; margin-bottom: 12px; }
.support-card h2 { margin: 0 0 8px; font-size: 18px; }
.support-card p { margin: 0 0 12px; flex: 1; font-size: 14px; color: var(--muted); line-height: 1.5; }
.support-card-link { font-size: 14px; font-weight: 600; color: var(--primary); }

.faq-section { margin-bottom: 28px; }
.faq-section-title { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    border: 1px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden;
}
.faq-item summary {
    padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '❯'; float: right; color: #94a3b8; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(90deg); color: var(--primary); }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.partners-dashboard {
    padding: 22px; border-radius: 14px; border: 1px solid var(--border);
    background: linear-gradient(135deg, #f8fafc, #fff); margin-bottom: 28px;
}
.partners-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.partners-stat-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.partners-stat-value { font-size: 24px; font-weight: 800; color: var(--primary-dark); }
.partners-ref-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.partners-ref-row { display: flex; gap: 10px; }
.partners-ref-input {
    flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit;
}
.partners-ref-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.partners-use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.partners-use-card {
    padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.partners-use-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.partners-use-card h3 { margin: 0 0 6px; }
.partners-use-badge {
    display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary-dark);
    background: #ecfdf5; padding: 2px 8px; border-radius: 6px; margin-bottom: 8px;
}
.partners-use-badge-warn { background: #fffbeb; color: #92400e; }
.partners-use-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

.legal-meta {
    margin: 0 0 20px; padding: 12px 14px; border-radius: 10px;
    background: #f0fdf8; border: 1px solid #bbf7d0; font-size: 13px; color: #166534;
}
.legal-toc {
    margin: 0 0 28px; padding: 18px 20px; border-radius: 12px;
    background: #f8fafc; border: 1px solid var(--border);
}
.legal-toc strong { display: block; margin-bottom: 10px; font-size: 14px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; }
.legal-toc li { margin: 0 0 6px; font-size: 13px; line-height: 1.4; break-inside: avoid; }
.legal-toc a { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-content h2 { margin: 32px 0 12px; font-size: 18px; scroll-margin-top: 24px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { margin: 16px 0 8px; font-size: 15px; color: #1e293b; }
.legal-content p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: #334155; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; font-size: 14px; line-height: 1.6; color: #334155; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--primary); font-weight: 600; }
.legal-content a:hover { color: var(--primary-dark); }
.legal-requisites {
    padding: 16px; background: #f8fafc; border-radius: 12px; border: 1px solid var(--border);
    margin: 10px 0 16px;
}
.legal-requisites p { margin-bottom: 6px; }
@media (max-width: 640px) {
    .legal-toc ol { columns: 1; }
}

.verify-status-card {
    padding: 24px; border-radius: 14px; border: 1px solid var(--border); margin-bottom: 20px;
}
.verify-status-card h2 { margin: 0 0 10px; }
.verify-status-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.verify-status-none { background: #fffbeb; border-color: #fde68a; }
.verify-status-pending { background: #eff6ff; border-color: #bfdbfe; }
.verify-status-rejected { background: #fef2f2; border-color: #fecaca; }
.verify-status-approved { background: #f0fdf8; border-color: #bbf7d0; }

@media (max-width: 900px) {
    .tariff-grid, .media-format-grid, .support-grid, .how-steps { grid-template-columns: 1fr; }
    .partners-stat-row, .partners-use-grid { grid-template-columns: 1fr; }
    .partners-ref-row { flex-direction: column; }
}

@media (max-width: 960px) {
    .cabinet-layout { grid-template-columns: 1fr; }
    .cabinet-sidebar { position: static; order: 2; }
    .cabinet-main { order: 1; }
    .profile-type-grid { grid-template-columns: 1fr; }
    .profile-fields-row { grid-template-columns: 1fr; }
}

/* ——— Кабинет: объявления ——— */
.listings-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 8px;
}
.listings-page-head .cabinet-title { margin-bottom: 0; }
.listings-empty-card { text-align: center; padding: 32px 24px; }
.listings-empty-text { margin: 0 0 16px; color: var(--muted); }

.dash-listings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.dash-listings-lead { margin: 8px 0 0; max-width: 640px; }
.dash-listings-head-actions { flex-shrink: 0; }
.dash-listings-stack { display: grid; gap: 12px; }
.dash-listing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.dash-listing-card:has(.dash-listing-cities[open]) {
    position: relative;
    z-index: 20;
}
.dash-listing-card:has(.dash-listing-actions.is-open) {
    position: relative;
    z-index: 20;
}
.dash-listing-card.is-rejected {
    border-color: rgba(185, 28, 28, 0.25);
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.06);
}
.dash-listing-card.is-pending {
    background: #fffbeb;
    border-color: #fbbf24;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
}
.dash-listing-card.is-pending .dash-listing-card-foot {
    border-top-color: rgba(245, 158, 11, 0.35);
}
.dash-listing-card-main { padding: 12px 16px 10px; }
.dash-listing-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.dash-listing-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.dash-listing-id {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}
.dash-listing-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.dash-listing-badge-free { background: #f1f5f9; color: #475569; }
.dash-listing-badge-vip { background: #dbeafe; color: #1d4ed8; }
.dash-listing-badge-premium { background: #fef3c7; color: #b45309; }
.dash-listing-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, auto));
    gap: 18px;
    text-align: right;
}
.dash-listing-stat strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    color: var(--text);
}
.dash-listing-stat span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--muted);
}
.dash-listing-stats--compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px 10px;
    max-width: 420px;
}
.dash-listing-stat-chip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    line-height: 1.3;
    color: #475569;
    white-space: nowrap;
}
.dash-listing-stat-chip--icon {
    align-items: center;
}
.dash-listing-stat-icon {
    flex-shrink: 0;
    color: #94a3b8;
}
.dash-listing-stat-label {
    font-weight: 600;
}
.dash-listing-stat-chip--reviews-only {
    display: none;
}
.dash-listing-lifecycle-short { display: none; }
.dash-listing-stat-chip strong {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}
.dash-listing-stat-chip--muted {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
    font-size: 11px;
}
.dash-listing-stat-chip--rating strong {
    color: #b45309;
}
.dash-listing-stat-sub {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: .02em;
}
.dash-listing-card-body {
    display: flex;
    gap: 12px;
    align-items: center;
}
.dash-listing-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid var(--border);
}
.dash-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dash-listing-info { min-width: 0; flex: 1; }
.dash-listing-title {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.3;
    color: #0f172a;
}
.dash-listing-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}
.dash-listing-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.25;
    border: 1px solid transparent;
    white-space: nowrap;
}
.dash-listing-date-pill--listing {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}
.dash-listing-date-pill--tariff.dash-listing-date-pill--premium {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}
.dash-listing-date-pill--tariff.dash-listing-date-pill--vip {
    background: #dbeafe;
    border-color: #bfdbfe;
    color: #1e40af;
}
.dash-listing-date-label {
    font-weight: 600;
}
.dash-listing-date-value {
    font-weight: 800;
    color: #0f172a;
}
.dash-listing-date-pill--tariff.dash-listing-date-pill--premium .dash-listing-date-value {
    color: #92400e;
}
.dash-listing-date-pill--tariff.dash-listing-date-pill--vip .dash-listing-date-value {
    color: #1e40af;
}
.dash-listing-lifecycle {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}
.dash-listing-lifecycle li + li { margin-top: 2px; }
.dash-listing-meta {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    line-height: 1.35;
}
.dash-listing-meta-category {
    color: #64748b;
}
.dash-listing-meta-sep {
    color: #cbd5e1;
    font-weight: 700;
}
.dash-listing-meta .dash-listing-cities-trigger,
.dash-listing-meta .dash-listing-cities-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}
.dash-listing-meta .dash-listing-cities-trigger {
    color: var(--primary-dark);
}
.dash-listing-cities {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.dash-listing-cities[open] {
    z-index: 40;
}
.dash-listing-cities-trigger {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-style: dotted;
}
.dash-listing-cities-trigger::-webkit-details-marker { display: none; }
.dash-listing-cities-trigger:hover { color: var(--primary); }
.dash-listing-cities[open] .dash-listing-cities-trigger {
    color: var(--primary);
    text-decoration-style: solid;
}
.dash-listing-cities-panel {
    position: absolute;
    z-index: 41;
    top: calc(100% + 6px);
    left: 0;
    min-width: 320px;
    width: min(420px, 92vw);
    max-height: min(480px, 75vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
}
.dash-listing-cities-lead {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--muted);
}
.dash-listing-cities-regions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.dash-listing-cities-region {
    min-width: 0;
}
.dash-listing-cities-region[open] {
    grid-column: 1 / -1;
}
.dash-listing-cities-region-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    list-style: none;
    font: inherit;
    text-align: left;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.dash-listing-cities-region-btn::-webkit-details-marker { display: none; }
.dash-listing-cities-region-btn:hover {
    border-color: #cbd5e1;
    background: #fff;
}
.dash-listing-cities-region[open] .dash-listing-cities-region-btn {
    border-color: var(--primary);
    background: #f0fdf8;
    box-shadow: 0 0 0 2px rgba(0, 186, 119, .12);
}
.dash-listing-cities-region-name {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    line-height: 1.25;
}
.dash-listing-cities-region-count {
    flex-shrink: 0;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}
.dash-listing-cities-region[open] .dash-listing-cities-region-count {
    background: var(--primary);
    color: #fff;
}
.dash-listing-cities-region-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}
.dash-listing-cities-link {
    display: block;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    line-height: 1.3;
    border: 1px solid transparent;
}
.dash-listing-cities-link:hover {
    background: #f0fdf8;
    color: var(--primary-dark);
    border-color: rgba(0, 186, 119, .2);
}
@media (max-width: 560px) {
    .dash-listing-cities-regions {
        grid-template-columns: 1fr;
    }
    .dash-listing-cities-region-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.dash-listing-price {
    display: none;
}
.dash-listing-reject-reason {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.45;
}
.dash-listing-card.is-paused {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.dash-listing-card.is-archived {
    background: #fafafa;
    border-color: #e2e8f0;
    opacity: .92;
}
.dash-listing-archive-note {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--muted);
}
.dash-listing-card-foot {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.dash-listing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    position: relative;
}
.dash-listing-actions-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: #475569;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .15s, border-color .15s, background .15s;
}
.dash-listing-actions-toggle:hover,
.dash-listing-actions.is-open .dash-listing-actions-toggle {
    color: var(--primary-dark);
    border-color: #86efac;
    background: #f0fdf4;
}
.dash-listing-actions-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}
.dash-listing-actions-panel .btn {
    height: 32px;
    padding: 0 13px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9px;
    gap: 5px;
}
.dash-listing-actions-panel .btn-outline {
    border-width: 1px;
}
.dash-listing-actions-panel .btn-primary {
    box-shadow: 0 5px 14px rgba(0, 186, 119, .22);
}
.dash-listing-inline-form {
    display: inline-flex;
    margin: 0;
}
.btn-danger-outline {
    color: #b91c1c;
    border-color: rgba(185, 28, 28, .35);
}
.btn-danger-outline:hover {
    background: #fef2f2;
    border-color: #b91c1c;
    color: #991b1b;
}
.dash-listing-actions .is-disabled {
    opacity: 0.55;
    pointer-events: none;
}
.dash-listing-reject-alert p { margin: 6px 0 0; }
.listing-existing-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.listing-existing-photo {
    width: 84px;
    height: 84px;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f8fafc;
}
.listing-existing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-tariff-card.is-locked {
    opacity: 0.92;
    cursor: default;
}
.listing-tariff-card.is-locked input { pointer-events: none; }

@media (max-width: 768px) {
    .dash-listing-card {
        overflow-x: clip;
    }
    body:has(.dash-listing-cities[open]) {
        overflow: hidden;
    }
    .dash-listings-head { flex-direction: column; }
    .dash-listings-stack { gap: 10px; }
    .dash-listing-card-main {
        padding: 10px 12px 8px;
        position: relative;
    }
    .dash-listing-card-top {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin-bottom: 8px;
    }
    .dash-listing-badges {
        gap: 5px;
        padding-right: 0;
    }
    .dash-listing-id { font-size: 11px; }
    .dash-listing-badge,
    .listing-status {
        font-size: 10px;
        padding: 3px 8px;
    }
    .dash-listing-stats--compact {
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow: visible;
        max-width: none;
        gap: 4px;
        padding-bottom: 0;
    }
    .dash-listing-stat-chip {
        flex-shrink: 0;
        padding: 2px 6px;
        font-size: 10px;
        border-radius: 999px;
        gap: 3px;
    }
    .dash-listing-stat-chip strong { font-size: 10px; }
    .dash-listing-stat-icon {
        width: 11px;
        height: 11px;
    }
    .dash-listing-stat-label,
    .dash-listing-stat-sub {
        display: none;
    }
    .dash-listing-stat-chip--rating .dash-listing-stat-label--reviews {
        display: inline;
        font-size: 9px;
        font-weight: 700;
        color: #64748b;
    }
    .dash-listing-stat-chip--reviews-only { display: none !important; }
    .dash-listing-stat-chip--date strong {
        font-weight: 700;
        font-size: 10px;
    }

    .dash-listing-card-body {
        gap: 8px;
        align-items: flex-start;
    }
    .dash-listing-thumb {
        width: 52px;
        height: 52px;
        border-radius: 8px;
    }
    .dash-listing-title {
        font-size: 14px;
        line-height: 1.25;
        margin-bottom: 2px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .dash-listing-meta {
        font-size: 11px;
        margin-bottom: 0;
        gap: 2px;
        line-height: 1.3;
        align-items: baseline;
    }
    .dash-listing-meta .dash-listing-cities-trigger,
    .dash-listing-meta .dash-listing-cities-label {
        font-size: 10px;
    }
    .dash-listing-cities {
        display: inline;
        max-width: 100%;
    }
    .dash-listing-cities-trigger {
        font-size: 11px;
        font-weight: 600;
        text-underline-offset: 2px;
    }
    .dash-listing-cities[open] {
        position: static;
    }
    .dash-listing-cities[open] .dash-listing-cities-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 50%;
        width: auto;
        min-width: 0;
        max-width: none;
        transform: translateY(-50%);
        z-index: 1100;
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    }
    .dash-listing-cities[open]::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 1099;
        background: rgba(15, 23, 42, 0.35);
        backdrop-filter: blur(2px);
    }
    .dash-listing-dates {
        margin-top: 4px;
        gap: 4px;
    }
    .dash-listing-date-pill {
        font-size: 9px;
        padding: 2px 6px;
        gap: 4px;
    }
    .dash-listing-archive-note,
    .dash-listing-reject-reason {
        font-size: 10px;
        margin-top: 3px;
    }

    .dash-listing-card-foot {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 6px;
        padding-top: 0;
        border-top: none;
    }
    .dash-listing-actions {
        justify-content: flex-end;
    }
    .dash-listing-actions-toggle {
        display: inline-flex;
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .dash-listing-actions-panel {
        display: none;
        position: absolute;
        right: 0;
        bottom: calc(100% + 6px);
        top: auto;
        z-index: 12;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        min-width: min(220px, calc(100vw - 40px));
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    }
    .dash-listing-actions.is-open .dash-listing-actions-panel {
        display: flex;
    }
    .dash-listing-actions-panel .btn,
    .dash-listing-actions-panel .dash-listing-inline-form {
        width: 100%;
    }
    .dash-listing-actions-panel .btn {
        justify-content: center;
        height: 30px;
        font-size: 11px;
    }
    .dash-listing-actions-panel .dash-listing-inline-form {
        display: flex;
    }
}

.listing-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
}
.listing-status-pending {
    background: #fde68a;
    color: #92400e;
    border: 1px solid #fbbf24;
    font-weight: 700;
}
.listing-status-published { background: #ecfdf5; color: #047857; }
.listing-status-rejected { background: #fef2f2; color: #b91c1c; }
.listing-status-draft { background: #f8fafc; color: #64748b; }
.listing-status-paused { background: #f1f5f9; color: #475569; }
.listing-status-archived { background: #f8fafc; color: #64748b; }

.listing-form-section { margin-bottom: 16px; }
.listing-form-section .profile-section-title { margin: 0 0 6px; font-size: 18px; }
.listing-form-section .profile-section-lead { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.listing-draft-notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.listing-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.listing-form-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}
.listing-form-step {
    padding: 8px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}
.listing-form-step.is-active {
    background: #ecfdf5;
    color: #047857;
    box-shadow: inset 0 0 0 1px #bbf7d0;
}
.listing-form-section-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.listing-form-section-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.listing-form-section--accent {
    background: linear-gradient(180deg, #fff 0%, #f8fffc 100%);
    border-color: #bbf7d0;
}
.listing-form-section-head .profile-section-title { margin: 0 0 4px; }
.listing-form-section-head .profile-section-lead { margin: 0; }
.listing-pay-methods {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed var(--border);
}
.listing-pay-methods-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.listing-pay-methods-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.listing-pay-methods-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 13px;
}
.listing-pay-methods-list li.is-soon { opacity: 0.72; }
.listing-pay-methods-list strong { grid-column: 1; }
.listing-pay-methods-list span { grid-column: 1; color: var(--muted); font-size: 12px; }
.listing-pay-methods-list em {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #047857;
}
.listing-pay-methods-list li.is-soon em { color: #94a3b8; }
.listing-form-actions--sticky {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}
.listing-form-actions-note {
    flex: 1 1 100%;
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

.invoices-summary {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.invoices-balance-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.invoices-balance-label { font-size: 13px; color: var(--muted); }
.invoices-balance-value { font-size: 28px; color: var(--primary-dark); }
.invoices-methods-title { margin: 0 0 10px; font-size: 16px; }
.invoices-methods-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.invoices-methods-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--border);
    font-size: 13px;
}
.invoices-methods-list li.is-disabled { opacity: 0.75; }
.invoices-method-name { font-weight: 700; }
.invoices-method-hint { color: var(--muted); flex: 1; }
.invoices-method-soon,
.invoices-method-active {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}
.invoices-method-soon { background: #f1f5f9; color: #64748b; }
.invoices-method-active { background: #ecfdf5; color: #047857; }
.invoices-topup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-top: 12px;
}
.invoices-topup-form .profile-field { min-width: 180px; margin: 0; }
.invoices-table-sub { display: block; color: var(--muted); margin-top: 2px; }
.invoice-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.invoice-status-pending { background: #eff6ff; color: #1d4ed8; }
.invoice-status-completed { background: #ecfdf5; color: #047857; }
.invoice-status-cancelled { background: #fef2f2; color: #b91c1c; }
.invoice-status-failed { background: #fef2f2; color: #b91c1c; }

@media (max-width: 768px) {
    .invoices-summary { grid-template-columns: 1fr; }
    .listing-form-steps { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

.listing-tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.listing-tariff-card {
    cursor: pointer;
    margin: 0;
}
.listing-tariff-card input { position: absolute; opacity: 0; pointer-events: none; }
.listing-tariff-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: #fff;
    min-height: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.listing-tariff-card.is-selected .listing-tariff-inner,
.listing-tariff-card:has(input:checked) .listing-tariff-inner {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}
.listing-tariff-inner strong { font-size: 16px; }
.listing-tariff-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.listing-tariff-help {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.listing-tariff-help:hover,
.listing-tariff-help:focus-visible {
    background: #cbd5e1;
    color: #1e293b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.18);
}
.listing-tariff-tooltip {
    position: absolute;
    z-index: 20;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: min(260px, 72vw);
    padding: 12px 14px;
    border-radius: 12px;
    background: #1e293b;
    color: #f8fafc;
    text-align: left;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
}
.listing-tariff-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #1e293b;
}
.listing-tariff-help:hover .listing-tariff-tooltip,
.listing-tariff-help:focus-visible .listing-tariff-tooltip,
.listing-tariff-help.is-open .listing-tariff-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(2px);
}
.listing-tariff-tooltip-title {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}
.listing-tariff-tooltip-text {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #cbd5e1;
}
.listing-tariff-tooltip-text + .listing-tariff-tooltip-text,
.listing-tariff-tooltip-text + .listing-tariff-tooltip-list {
    margin-top: 6px;
}
.listing-tariff-tooltip-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.listing-tariff-tooltip-list li {
    position: relative;
    padding: 3px 0 3px 16px;
    font-size: 12px;
    line-height: 1.4;
    color: #e2e8f0;
}
.listing-tariff-tooltip-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
}
.listing-tariff-price { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
.listing-tariff-hint {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-top: 2px;
}
.listing-tariff-features {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    flex: 1;
}
.listing-tariff-features li {
    position: relative;
    padding: 4px 0 4px 18px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
}
.listing-tariff-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
}
.listing-tariff-inner small { color: var(--muted); font-size: 13px; line-height: 1.4; }

.listing-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}
.listing-contact-phone {
    padding-bottom: 4px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 4px;
}
.listing-contact-extra-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}
.listing-contact-extra-hint {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}
.listing-contact-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 720px) {
    .listing-contact-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 420px) {
    .listing-contact-tiles {
        grid-template-columns: 1fr;
    }
}
.listing-contact-tile {
    display: flex;
    flex-direction: column;
    min-height: 48px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.listing-contact-tile:hover {
    border-color: #cbd5e1;
}
.listing-contact-tile.is-active {
    background: linear-gradient(180deg, #f0fdf8 0%, #fff 100%);
    border-color: #6ee7b7;
    box-shadow: 0 4px 14px rgba(0, 186, 119, 0.1);
}
.listing-contact-tile-leading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.listing-contact-tile-img {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
.listing-contact-tile-fallback {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef2f6;
    color: #64748b;
}
.listing-contact-tile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    text-align: left;
}
.listing-contact-tile.is-active .listing-contact-tile-btn {
    color: #047857;
}
.listing-contact-tile-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    background: #e2e8f0;
    color: #64748b;
}
.listing-contact-tile.is-active .listing-contact-tile-icon {
    background: var(--primary);
    color: #fff;
}
.listing-contact-tile-body {
    padding: 0 12px 12px;
}
.listing-contact-tile-body input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.12s, box-shadow 0.12s;
}
.listing-contact-tile-body input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.15);
}
.listing-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}
.listing-check input { width: 18px; height: 18px; accent-color: var(--primary); }

.listing-products { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.listing-price-editor-lead {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}
.listing-price-limit-note {
    margin: 0 0 8px;
    font-size: 13px;
    color: #047857;
    line-height: 1.4;
}
.listing-price-fields-hint {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
}
.listing-price-editor {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.listing-price-editor-head,
.listing-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 100px minmax(0, 1fr) 40px;
    gap: 10px;
    align-items: start;
}
.listing-price-editor-head {
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    align-items: center;
}
.listing-price-editor-body {
    display: flex;
    flex-direction: column;
}
.listing-price-row {
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f6;
}
.listing-price-row:last-child {
    border-bottom: 0;
}
.listing-price-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.listing-price-cell-label {
    display: none;
    font-size: 12px;
    color: var(--muted);
}
.listing-price-cell input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}
.listing-price-cell input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.12);
}
.listing-price-cell input.is-invalid {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.listing-price-char-counter {
    font-size: 11px;
    line-height: 1.2;
    color: var(--muted);
    text-align: right;
}
.listing-price-char-counter.is-over {
    color: #dc2626;
    font-weight: 600;
}
.listing-price-char-counter--price {
    display: none !important;
    min-height: 0;
    margin: 0;
    padding: 0;
}
.listing-price-char-counter--price.is-over {
    display: block !important;
}
.listing-price-remove {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    justify-self: center;
    align-self: start;
    margin-top: 0;
}
.listing-price-remove:hover { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.listing-price-add { margin-top: 12px; }
.listing-price-add:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ——— Загрузчик фото объявления ——— */
.listing-photo-uploader.is-dragover {
    outline: 2px dashed var(--primary);
    outline-offset: 4px;
}
.listing-photos-hint {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}
.listing-photos-hint strong {
    color: #334155;
}
.listing-photo-notice {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}
.listing-photo-slots {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 900px) {
    .listing-photo-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .listing-photo-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.listing-photo-slot {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.listing-photo-slot--main {
    border-color: #6ee7b7;
    background: #f0fdf8;
}
.listing-photo-slot--main .listing-photo-slot-label {
    color: #047857;
}
.listing-photo-slot.is-locked {
    border-color: #fcd34d;
    background: #fffbeb;
    cursor: not-allowed;
}
.listing-photo-slot.is-locked .listing-photo-slot-label {
    color: #b45309;
}
.listing-photo-slot.is-filled {
    border-style: solid;
    border-color: #e2e8f0;
    cursor: grab;
}
.listing-photo-slot.is-dragging {
    opacity: 0.55;
    transform: scale(0.98);
}
.listing-photo-slot-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    text-align: center;
}
.listing-photo-slot-plus {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
}
.listing-photo-slot--main .listing-photo-slot-plus {
    border-color: #6ee7b7;
    color: #047857;
}
.listing-photo-slot-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}
.listing-photo-slot-preview {
    position: absolute;
    inset: 0;
}
.listing-photo-slot-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.listing-photo-slot-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.listing-photo-slot-remove:hover {
    background: rgba(185, 28, 28, 0.85);
}
.listing-photo-batch-progress {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.22);
}
.listing-photo-batch-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.listing-photo-batch-progress-head .js-listing-photo-batch-label {
    font-weight: 600;
    color: var(--text);
}
.listing-photo-batch-progress-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.15);
    overflow: hidden;
}
.listing-photo-batch-progress-bar {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    transition: width 0.25s ease;
}
.listing-photo-slot-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    padding: 10px;
}
.listing-photo-slot.is-processing .listing-photo-slot-loading {
    display: flex;
}
.listing-photo-slot-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 120px;
}
.listing-photo-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(22, 163, 74, 0.2);
    border-top-color: #16a34a;
    border-radius: 50%;
    animation: listing-photo-spin 0.75s linear infinite;
}
@keyframes listing-photo-spin {
    to { transform: rotate(360deg); }
}
.listing-photo-slot-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}
.listing-photo-slot-progress-track {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.15);
    overflow: hidden;
}
.listing-photo-slot-progress-bar {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #16a34a;
    transition: width 0.2s ease;
}
.listing-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.listing-detail-gallery-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
}
.listing-detail-gallery-item.is-main {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 220px;
}
.listing-detail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 640px) {
    .listing-detail-gallery-item.is-main {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 0;
    }
}

.listing-detail-block {
    margin-top: 28px;
}
.listing-detail-block h2 {
    margin: 0 0 12px;
    font-size: 20px;
}
.listing-detail-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    white-space: pre-line;
}
.listing-price-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.listing-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.listing-price-table th,
.listing-price-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eef2f6;
}
.listing-price-table th {
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.listing-price-table tr:last-child td {
    border-bottom: 0;
}
.listing-price-table td:last-child {
    font-weight: 600;
    color: #047857;
    white-space: nowrap;
}
.contact-messenger {
    margin: 8px 0 0;
    font-size: 14px;
    color: #334155;
}

.listing-product-row {
    display: grid;
    grid-template-columns: 1fr 120px 80px 36px;
    gap: 10px;
    align-items: end;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.listing-product-remove {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}
.listing-product-remove:hover { color: #b91c1c; border-color: #fecaca; }

@media (max-width: 768px) {
    .listing-tariff-grid { grid-template-columns: 1fr; }
    .listing-price-editor-head { display: none; }
    .listing-price-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: relative;
        padding-right: 48px;
    }
    .listing-price-cell-label { display: block; }
    .listing-price-remove {
        position: absolute;
        top: 10px;
        right: 12px;
        margin-top: 0;
    }
    .listing-product-row { grid-template-columns: 1fr; }
    .listing-product-remove { justify-self: start; }
}

/* ——— Выбор категории (раздел → категория) ——— */
.profile-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #334155;
}
.profile-field-sublabel {
    font-weight: 500;
    color: var(--muted);
}
.cat-picker--wizard {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}
.cat-pick-selected {
    margin-bottom: 10px;
    padding: 12px 14px;
    background: #f0fdf8;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
}
.cat-pick-selected-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.cat-pick-selected-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.cat-pick-selected-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cat-pick-selected-text strong {
    font-size: 15px;
    color: #047857;
    line-height: 1.3;
}
.cat-pick-selected-text .js-cat-sel-group {
    font-size: 12px;
    color: var(--muted);
}
.cat-pick-selected-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #d1fae5;
    font-size: 12px;
    color: #64748b;
}
.cat-pick-clear {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    cursor: pointer;
}
.cat-pick-clear:hover { border-color: #cbd5e1; }
.cat-picker--wizard .cat-picker-search {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: #f8fafc;
    margin-bottom: 10px;
}
.cat-picker--wizard .cat-picker-search:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.12);
}

.city-picker-toolbar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
}

.city-picker-toolbar .cat-picker-search {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.city-picker-belarus-btn {
    flex-shrink: 0;
    align-self: stretch;
    padding: 0 14px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: #ecfdf5;
    color: #047857;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, opacity .15s;
}

.city-picker-belarus-btn:hover:not(.is-disabled) {
    background: #d1fae5;
    border-color: #059669;
}

.city-picker-belarus-btn.is-selected {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.city-picker-belarus-btn.is-disabled {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

.city-picker-belarus-btn.is-shake {
    animation: city-belarus-shake .45s ease;
}

@keyframes city-belarus-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.city-picker-premium-notice {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.city-picker-premium-notice.is-visible {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.city-picker-selected-summary {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    line-height: 1.45;
    color: #475569;
}

.city-picker-selected-label {
    font-weight: 700;
    color: #334155;
    margin-right: 4px;
}

.city-picker-clear-all {
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    text-decoration: underline;
}

.city-picker-clear-all:hover {
    color: var(--primary);
}

.city-picker-limit-note {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.city-picker-scroll {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 2px;
}
.city-picker-region + .city-picker-region {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.city-picker-region-title {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}
.city-picker .js-city-picker-body[hidden] {
    display: none;
}
.cat-picker-view {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 2px;
}
.cat-pick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.cat-pick-group-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
    padding: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cat-pick-group-tile:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.cat-pick-group-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.cat-pick-group-count {
    font-size: 12px;
    color: var(--muted);
}
.cat-pick-back {
    border: 0;
    background: none;
    padding: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
}
.cat-pick-back:hover { text-decoration: underline; }
.cat-pick-subtitle {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.cat-pick-search-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.cat-picker-wizard-hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
}
.cat-picker-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.cat-picker-chips.cat-picker-chips--search {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}
.cat-picker-chips--grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.cat-chip--search-hit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 10px 12px;
    width: 100%;
    min-height: 52px;
    text-align: left;
    border-radius: 8px;
}
.cat-chip--search-hit .cat-chip-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.cat-chip--search-hit .cat-chip-meta {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    line-height: 1.25;
}
@media (max-width: 900px) {
    .cat-picker-chips.cat-picker-chips--search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .cat-pick-grid { grid-template-columns: 1fr; }
    .cat-picker-chips.cat-picker-chips--search { grid-template-columns: 1fr; }
}
.cat-picker-chips--grid .cat-chip {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
    min-height: 42px;
    border-radius: 8px;
}
@media (max-width: 720px) {
    .cat-picker-chips--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cat-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.cat-chip:hover {
    border-color: #cbd5e1;
    background: #fff;
}
.cat-chip.is-selected {
    color: #047857;
    background: #ecfdf5;
    border-color: var(--primary);
}
.cat-chip[hidden] { display: none; }
.cat-chip.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
}
.cat-chip--custom {
    border-style: dashed;
    color: #c2410c;
    background: #fffaf5;
}
.cat-chip--custom.is-selected {
    border-style: solid;
    background: #fff7ed;
}
.cat-picker-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cat-picker-foot-hint {
    font-size: 11px;
    color: var(--muted);
}
.cat-picker--compact .cat-picker-empty {
    margin: 0;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}
.cat-picker--compact .cat-picker-custom-panel {
    margin-top: 8px;
}
.cat-picker-custom-input {
    width: 100%;
    padding: 7px 10px;
    font-size: 13px;
    border: 1px solid #fde68a;
    border-radius: 8px;
    background: #fffbeb;
    outline: none;
}
.cat-picker-custom-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.listing-balance-note {
    margin: 0 0 12px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    color: #065f46;
}
.listing-balance-note a {
    font-weight: 600;
    color: var(--primary-dark);
}

.listing-tariff-limit-note {
    margin: 0 0 14px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1e3a5f;
}

.listing-catalog-section.is-hidden { display: none !important; }

.listing-catalog-section {
    padding: 0;
    overflow: hidden;
}
.listing-catalog-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.listing-catalog-acc-trigger:hover { background: #f8fafc; }
.listing-catalog-acc-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.listing-catalog-acc-title .listing-form-section-num { margin: 0; }
.listing-catalog-acc-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.listing-catalog-limit-note {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}
.listing-catalog-limit-note:empty {
    display: none;
}
.listing-catalog-acc-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform .2s;
}
.listing-catalog-section.is-open .listing-catalog-acc-chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}
.listing-catalog-acc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
}
.listing-catalog-acc-inner {
    overflow: hidden;
    min-height: 0;
}
.listing-catalog-section.is-open .listing-catalog-acc-body {
    grid-template-rows: 1fr;
}
.listing-catalog-section.is-open .listing-catalog-acc-inner {
    overflow: visible;
    padding: 0 18px 18px;
}
.listing-catalog-acc-body .listing-catalog-acc-inner:first-child {
    padding-top: 0;
}
.listing-catalog-acc-lead {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}
.listing-catalog-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.listing-catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
}
.listing-catalog-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    background: rgba(255,255,255,.92);
    color: #b91c1c;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.listing-catalog-photo { cursor: pointer; display: block; }
.listing-catalog-photo input[type="file"] { display: none; }
.listing-catalog-photo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}
.listing-catalog-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-catalog-photo-preview.is-processing img,
.listing-catalog-photo-preview.is-processing .listing-catalog-photo-placeholder {
    opacity: 0.35;
}
.listing-catalog-photo-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, .82);
}
.listing-catalog-photo-preview {
    position: relative;
}
.listing-catalog-photo-loading[hidden] {
    display: none !important;
}
.listing-catalog-photo-loading-bar {
    width: 72%;
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}
.listing-catalog-photo-loading-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--primary);
    transition: width .15s ease;
}
.listing-catalog-photo-loading-label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    text-align: center;
}
.listing-catalog-photo-placeholder {
    font-size: 22px;
    color: #94a3b8;
}
.listing-catalog-field { display: block; margin: 0; }
.listing-catalog-char-counter {
    display: none;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.2;
    color: var(--muted);
    text-align: right;
}
.listing-catalog-char-counter.is-over {
    display: block;
    color: #dc2626;
    font-weight: 600;
}
.listing-catalog-field input.is-over-limit,
.listing-catalog-field textarea.is-over-limit {
    border-color: #f87171;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, .12);
}
.listing-catalog-field input,
.listing-catalog-field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    background: #fff;
}
.listing-catalog-field input:focus,
.listing-catalog-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 186, 119, .12);
}
.listing-catalog-field textarea {
    resize: vertical;
    min-height: 52px;
    line-height: 1.4;
}
.listing-catalog-add { margin-top: 12px; }

.listing-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
@media (max-width: 768px) {
    .listing-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .listing-catalog-grid-body {
        padding: 10px;
    }
    .listing-catalog-grid-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .listing-catalog-grid-price {
        font-size: 13px;
        margin-bottom: 0;
    }
    .listing-catalog-grid-excerpt {
        display: none;
    }
    .listing-catalog-grid-photo-empty svg {
        width: 22px;
        height: 22px;
    }
}
.listing-catalog-grid-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s, border-color .15s;
}
.listing-catalog-grid-link:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 186, 119, .12);
}
.listing-catalog-grid-photo {
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.listing-catalog-grid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-catalog-grid-photo-empty { font-size: 32px; opacity: .35; }
.listing-catalog-grid-body { padding: 14px; }
.listing-catalog-grid-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.listing-catalog-grid-price {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
}
.listing-catalog-grid-excerpt {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

.listing-catalog-item-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.listing-catalog-item-price {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
}
.listing-catalog-item-photo {
    margin: 0 0 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.listing-catalog-item-photo img {
    display: block;
    width: 100%;
    height: auto;
}
.listing-catalog-item-description {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
}
.listing-catalog-item-back { margin-top: 24px; }

.mod-listing-form--compact .listing-catalog-section.dash-card {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 14px;
    margin-bottom: 12px;
}

@media (max-width: 1100px) {
    .listing-catalog-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    .listing-catalog-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .listing-catalog-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .listing-catalog-item-page {
        grid-template-columns: 1fr;
    }
    .welcome-gift-banner-inner {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .welcome-gift-banner-badge {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    .welcome-gift-banner-amount {
        flex-direction: row;
        gap: 8px;
        min-width: 0;
        width: 100%;
        justify-content: center;
    }
    .welcome-gift-banner-amount-currency { margin-top: 0; }
}

/* Listing page v2, favorites, lightbox */
.performer-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
}
p.performer-name {
    display: flex;
}
.performer-name-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.verified-badge {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}
.verified-badge--sm {
    width: 16px;
    height: 16px;
}
.verified-badge--md {
    width: 18px;
    height: 18px;
}
.verified-badge--lg {
    width: 22px;
    height: 22px;
}
.mod-verified-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.mod-field-verified {
    align-items: flex-start;
}

.listing-page-breadcrumbs { margin-bottom: 16px; }
.listing-page-hero {
    position: relative;
    margin: 0 0 28px;
    padding: clamp(20px, 4vw, 32px) clamp(20px, 4vw, 36px);
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .16);
}
.listing-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 65% at 100% 0%, rgba(0, 186, 119, .24), transparent 58%),
        radial-gradient(ellipse 45% 45% at 0% 100%, rgba(0, 186, 119, .12), transparent 52%);
    pointer-events: none;
}
.listing-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    opacity: .6;
}
.listing-page-hero--premium::before {
    background:
        radial-gradient(ellipse 75% 65% at 100% 0%, rgba(245, 158, 11, .28), transparent 58%),
        radial-gradient(ellipse 45% 45% at 0% 100%, rgba(0, 186, 119, .14), transparent 52%);
}
.listing-page-hero .listing-page-head {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}
.listing-page-hero .listing-page-title {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.listing-page-hero .listing-page-location {
    color: rgba(226, 232, 240, .78);
}
.listing-page-hero .listing-page-location svg {
    color: var(--primary);
    flex-shrink: 0;
}
.listing-page-hero .listing-page-badge--muted {
    background: rgba(255, 255, 255, .1);
    color: rgba(241, 245, 249, .88);
    border: 1px solid rgba(255, 255, 255, .1);
}
.listing-page-hero .listing-page-badge--muted svg {
    opacity: .85;
}
.listing-page-hero .listing-page-badge--tariff {
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    color: #78350f;
    box-shadow: 0 4px 16px rgba(245, 158, 11, .35);
}
.listing-page-hero .listing-fav-btn {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
}
.listing-page-hero .listing-fav-btn:hover {
    background: rgba(239, 68, 68, .16);
    border-color: rgba(252, 165, 165, .45);
    color: #fecaca;
}
.listing-page-hero .listing-fav-btn.is-active {
    background: rgba(239, 68, 68, .22);
    border-color: #f87171;
    color: #fca5a5;
}
.listing-page-head-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-shrink: 0;
}
.listing-admin-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    background: #fffbeb;
    color: #b45309;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.listing-admin-edit-btn:hover {
    color: #92400e;
    border-color: #fbbf24;
    background: #fef3c7;
}
.listing-admin-edit-btn--lg {
    padding: 12px 14px;
    flex-shrink: 0;
}
.listing-page-hero .listing-admin-edit-btn {
    background: rgba(245, 158, 11, .16);
    border-color: rgba(251, 191, 36, .45);
    color: #fde68a;
    backdrop-filter: blur(10px);
}
.listing-page-hero .listing-admin-edit-btn:hover {
    background: rgba(245, 158, 11, .28);
    border-color: rgba(252, 211, 77, .65);
    color: #fff;
}
.page-hero-compact .listing-admin-edit-btn {
    margin-top: 12px;
}
.listing-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.listing-share-btn:hover {
    color: var(--primary-dark);
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.listing-share-btn.is-copied {
    color: var(--primary-dark);
    border-color: #86efac;
    background: #ecfdf5;
}
.listing-share-btn--lg {
    padding: 12px 14px;
    flex-shrink: 0;
}
.listing-page-hero .listing-share-btn {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
}
.listing-page-hero .listing-share-btn:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}
.listing-page-hero .listing-share-btn.is-copied {
    background: rgba(0, 186, 119, .2);
    border-color: rgba(134, 239, 172, .55);
    color: #bbf7d0;
}
.listing-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.listing-page-title {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--text);
}
.listing-page-location {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}
.listing-page-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.listing-page-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.listing-page-badge--tariff {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}
.listing-page-badge--verified {
    background: #ecfdf5;
    color: #047857;
}
.listing-page-badge--muted {
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
}

.header-fav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: #64748b;
    text-decoration: none;
    transition: color .15s, border-color .15s, background .15s, transform .15s;
    flex-shrink: 0;
}
.header-fav-btn:hover {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff5f5;
}
.header-fav-btn.is-active {
    color: #ef4444;
    border-color: #fca5a5;
    background: #fef2f2;
}
.header-fav-btn.is-active .header-fav-icon path {
    fill: currentColor;
}
.header-fav-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, .35);
}
.header-fav-badge[hidden] { display: none !important; }

.listing-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.listing-fav-btn:hover {
    color: #ef4444;
    border-color: #fecaca;
    background: #fff5f5;
}
.listing-fav-btn.is-active {
    color: #ef4444;
    border-color: #fca5a5;
    background: #fef2f2;
}
.listing-fav-btn.is-active .listing-fav-icon path {
    fill: currentColor;
}
.listing-fav-btn.is-pulse { animation: favPulse .42s ease; }
.listing-fav-btn.is-shrink { animation: favShrink .28s ease; }
@keyframes favPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
@keyframes favShrink {
    0% { transform: scale(1); }
    100% { transform: scale(.94); }
}
.listing-fav-btn--lg {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.listing-fav-btn--card {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .12);
}
.listing-fav-btn-label { white-space: nowrap; }

.listing-gallery {
    margin-bottom: 28px;
}
.listing-gallery-main {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    cursor: zoom-in;
    background: #f1f5f9;
    aspect-ratio: 16 / 10;
}
.listing-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.listing-gallery-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    color: #334155;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .12);
}
.listing-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.listing-gallery-thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 66px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    opacity: .78;
    transition: opacity .15s, border-color .15s, transform .15s;
}
.listing-gallery-thumb:hover,
.listing-gallery-thumb.is-active {
    opacity: 1;
    border-color: var(--primary);
}
.listing-gallery-thumb.is-active {
    transform: translateY(-1px);
}
.listing-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-detail--v2 { gap: 28px; }
.listing-lead--v2 {
    font-size: 19px;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 20px;
}
.listing-body--v2 {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}
.listing-detail-block--card {
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}
.listing-contact-phone { margin-bottom: 10px; }
.listing-contact-messengers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
    padding: 2px 0;
}
.listing-contact-messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, opacity .15s;
}
.listing-contact-messenger-icon img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
}
.listing-contact-messenger-icon:hover {
    transform: translateY(-2px) scale(1.04);
}
.listing-contact-messenger-icon:hover img {
    box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
}
.listing-contact-messenger-icon:active {
    transform: translateY(0) scale(.98);
}
.listing-contact-messengers--compact {
    gap: 12px;
}
.contact-card--v2 {
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
.contact-verified {
    margin: -4px 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #047857;
}

/* Listing page v3 — compact gallery + top sidebar */
.listing-page--v3 { padding: 8px 0 48px; }
.listing-page-badge {
    gap: 5px;
}
.listing-page-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.listing-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}
.listing-page-main { min-width: 0; }
.listing-page-aside {
    position: sticky;
    top: 88px;
}
.listing-gallery--mosaic {
    margin-bottom: 22px;
}
.listing-gallery-mosaic {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 8px;
    min-height: 280px;
    height: clamp(240px, 32vw, 340px);
}
.listing-gallery--single .listing-gallery-mosaic {
    grid-template-columns: 1fr;
    height: clamp(220px, 28vw, 300px);
}
.listing-gallery-mosaic-main {
    position: relative;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    background: #eef2f6;
    aspect-ratio: auto;
    max-height: none;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
}
.listing-gallery-mosaic-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
    height: 100%;
}
.listing-gallery-mosaic-side--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.listing-gallery-mosaic-side--count-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}
.listing-gallery-mosaic-side--count-3 .listing-gallery-cell:nth-child(3) {
    grid-column: 1 / -1;
}
.listing-gallery-cell {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #eef2f6;
    transition: border-color .15s, transform .12s, box-shadow .15s;
}
.listing-gallery-cell:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.listing-gallery-cell.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0, 195, 123, .25);
}
.listing-gallery-mosaic-main img,
.listing-gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.listing-gallery-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .55);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .02em;
    pointer-events: none;
}
.listing-gallery-mosaic-main.is-active {
    box-shadow: 0 0 0 2px var(--primary), 0 4px 20px rgba(0, 195, 123, .15);
}
.listing-gallery--mosaic .listing-gallery-zoom {
    width: 36px;
    height: 36px;
    right: 10px;
    bottom: 10px;
    border-radius: 10px;
}
.listing-page-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.listing-page-section--body {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}
.listing-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.01em;
}
.listing-section-icon {
    flex-shrink: 0;
    color: var(--primary);
    opacity: .92;
}
.listing-lead--v3 {
    margin: 0;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    font-size: 17px;
    line-height: 1.55;
    color: #166534;
    font-weight: 500;
}
.listing-body--v3 {
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}
.listing-detail-block--card .listing-section-title {
    margin-bottom: 12px;
}
.listing-detail-block--card h2:not(.listing-section-title) {
    margin: 0 0 12px;
}

.listing-contact-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, .08);
}
.listing-contact-card--paid {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 120px);
}
.listing-contact-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.listing-contact-card-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}
.listing-contact-card-head-icon {
    flex-shrink: 0;
    color: var(--primary);
}
.listing-contact-performer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.listing-contact-performer--branded {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding: 16px 12px 4px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #eef2f6;
}
.listing-contact-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
}
.listing-contact-logo--lg {
    width: 96px;
    height: 96px;
    margin: 0 auto;
}
.listing-contact-logo--md {
    width: 72px;
    height: 72px;
}
.listing-contact-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
}
.listing-contact-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    color: #1d4ed8;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
}
.listing-contact-avatar--lg {
    width: 72px;
    height: 72px;
    font-size: 20px;
    border-radius: 16px;
}
.listing-contact-performer--branded .listing-contact-avatar--lg {
    margin: 0 auto;
}
.listing-contact-performer-info { min-width: 0; }
.listing-contact-performer--branded .listing-contact-performer-info {
    width: 100%;
}
.listing-contact-performer--branded .performer-name {
    justify-content: center;
}
.listing-contact-performer .contact-name {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}
.listing-contact-performer .contact-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #047857;
}
.listing-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.listing-contact-phone { margin: 0; }
.listing-contact-messengers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
    padding: 2px 0;
}
.listing-contact-messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.listing-contact-messenger-icon img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
}
.listing-contact-messenger-icon:hover {
    transform: translateY(-2px) scale(1.04);
}
.listing-contact-messenger-icon:hover img {
    box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
}
.listing-contact-messenger-icon:active {
    transform: translateY(0) scale(.98);
}
.listing-contact-messengers--compact {
    gap: 12px;
}
.listing-contact-action {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
}
.listing-contact-action:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}
.listing-contact-action-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
}
.listing-contact-action-icon--brand {
    color: #fff;
}
.listing-contact-action--phone {
    border: none;
    background: linear-gradient(135deg, #00c37b 0%, #00a86b 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 195, 123, .28);
}
.listing-contact-action--phone:hover {
    background: linear-gradient(135deg, #00d084 0%, #00b877 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 195, 123, .35);
}
.listing-contact-action--phone .listing-contact-action-icon {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}
.listing-contact-action--phone.is-revealed {
    cursor: default;
    pointer-events: none;
    justify-content: center;
    background: #fff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}
.listing-contact-action--phone.is-revealed:hover {
    transform: none;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}
.listing-contact-action--phone.is-revealed .listing-contact-action-icon {
    background: #f0fdf4;
    color: var(--primary-dark);
}
.listing-contact-action--phone.is-revealed .listing-contact-action-label {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #0f172a;
}
.listing-contact-action-icon--img {
    padding: 0;
    background: transparent;
    overflow: hidden;
}
.listing-contact-action-icon--img img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}
.listing-contact-action--messenger:hover {
    border-color: #cbd5e1;
}
.mod-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mod-inline-check .listing-contact-tile-img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}
.listing-contact-action-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.listing-contact-card .contact-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    line-height: 1.45;
    color: #94a3b8;
}
.listing-contact-card .contact-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    opacity: .75;
}

/* Sticky contact dock on listing page */
.listing-contact-dock {
    position: fixed;
    left: max(14px, env(safe-area-inset-left));
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 240;
}
.listing-contact-dock-fab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #00ba77 0%, #059669 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(5, 150, 105, .35);
    transition: transform .15s, box-shadow .15s;
}
.listing-contact-dock-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(5, 150, 105, .42);
}
.listing-contact-dock-fab-icon {
    flex-shrink: 0;
}
.listing-contact-dock-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.listing-contact-dock-overlay[hidden] {
    display: none !important;
}
.listing-contact-dock-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(4px);
    animation: lcdBackdropIn .2s ease;
}
@keyframes lcdBackdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.listing-contact-modal {
    position: relative;
    z-index: 1;
    width: min(400px, 100%);
    max-height: min(88vh, 560px);
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, .22),
        0 0 0 1px rgba(15, 23, 42, .06);
    animation: lcdModalIn .24s cubic-bezier(.22, 1, .36, 1);
}
@keyframes lcdModalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
body.listing-contact-dock-open {
    overflow: hidden;
}
.listing-contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
    transition: background .15s, color .15s;
}
.listing-contact-modal-close:hover {
    background: #fff;
    color: #334155;
}
.listing-contact-modal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 52px 16px 18px;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    border-bottom: 1px solid #ecfdf5;
    border-radius: 20px 20px 0 0;
}
.listing-contact-modal-logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}
.listing-contact-modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 4px;
}
.listing-contact-modal-logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    color: #1d4ed8;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
}
.listing-contact-modal-brand-text {
    min-width: 0;
    flex: 1;
}
.listing-contact-modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.listing-contact-modal-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #047857;
    line-height: 1.2;
}
.listing-contact-modal-body {
    padding: 16px 18px 6px;
}
.listing-contact-modal-section-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
}
.listing-contact-modal-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #00ba77 0%, #059669 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(5, 150, 105, .28);
    transition: transform .15s, box-shadow .15s, opacity .15s;
}
.listing-contact-modal-phone:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, .34);
}
.listing-contact-modal-phone:disabled {
    opacity: .85;
    cursor: wait;
}
.listing-contact-modal-phone.is-revealed {
    background: #ecfdf5;
    color: #047857;
    box-shadow: inset 0 0 0 1px #bbf7d0;
    font-size: 17px;
    letter-spacing: .02em;
}
.listing-contact-modal-phone.is-revealed .listing-contact-modal-phone-icon {
    color: #059669;
}
.listing-contact-modal-phone-icon {
    flex-shrink: 0;
    display: flex;
}
.listing-contact-modal-phone-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.listing-contact-modal-messengers {
    margin-top: 14px;
}
.listing-contact-modal-messengers .listing-contact-messengers {
    justify-content: center;
    gap: 10px;
    margin: 0;
}
.listing-contact-modal-messengers .listing-contact-messenger-icon img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}
.listing-contact-modal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}
.listing-contact-modal-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.listing-contact-modal-link:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0f172a;
}
.listing-contact-modal-link-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.listing-contact-modal-link-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.listing-contact-modal-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 12px 18px 16px;
    font-size: 12px;
    line-height: 1.35;
    color: #94a3b8;
    text-align: center;
}
.listing-contact-modal-foot svg {
    flex-shrink: 0;
    opacity: .75;
}

@media (max-width: 480px) {
    .listing-contact-dock-fab-label {
        display: none;
    }
    .listing-contact-dock-fab {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .listing-contact-modal {
        align-self: flex-end;
        width: 100%;
        max-height: min(82vh, 520px);
        border-radius: 20px 20px 0 0;
        animation: lcdModalInMobile .28s cubic-bezier(.22, 1, .36, 1);
    }
    .listing-contact-dock-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .listing-contact-modal-brand {
        border-radius: 20px 20px 0 0;
    }
    @keyframes lcdModalInMobile {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 960px) {
    .listing-page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .listing-page-aside {
        position: static;
        order: -1;
    }
    .listing-gallery-mosaic {
        grid-template-columns: 1fr;
        height: auto;
    }
    .listing-gallery-mosaic-main {
        height: clamp(200px, 55vw, 260px);
    }
    .listing-gallery-mosaic-side {
        height: clamp(120px, 36vw, 160px);
    }
}

@media (max-width: 768px) {
    .listing-page-hero {
        padding: 18px 16px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    .listing-page-head {
        flex-direction: column;
    }
    .listing-page-head-actions {
        width: 100%;
    }
    .listing-admin-edit-btn--lg {
        flex: 1;
    }
    .listing-admin-edit-btn-label {
        display: none;
    }
    .listing-fav-btn--lg {
        flex: 1;
        justify-content: center;
    }
    .listing-page-title {
        font-size: clamp(22px, 6vw, 30px);
    }
    .listing-page-section--body,
    .listing-detail-block--card {
        padding: 16px 18px;
    }
    .photo-lightbox-nav { display: none; }
    .photo-lightbox-viewport {
        width: 100vw;
        height: 58vh;
    }
    .photo-lightbox-thumbs {
        width: 100vw;
        padding: 8px 12px 12px;
    }
    .photo-lightbox-thumb {
        flex: 0 0 64px;
        width: 64px;
        height: 48px;
    }
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0 12px;
}
.photo-lightbox[hidden] { display: none !important; }
.photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .88);
    backdrop-filter: blur(4px);
}
.photo-lightbox-viewport {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    height: min(62vh, 720px);
    flex: 0 1 auto;
    overflow: hidden;
}
.photo-lightbox-track {
    display: flex;
    height: 100%;
    transition: transform .28s ease;
    will-change: transform;
}
.photo-lightbox-track.is-dragging { transition: none; }
.photo-lightbox-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}
.photo-lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
}
.photo-lightbox-close,
.photo-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    transition: background .15s;
}
.photo-lightbox-close:hover,
.photo-lightbox-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, .22);
}
.photo-lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 28px;
    line-height: 1;
}
.photo-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}
.photo-lightbox-nav:disabled {
    opacity: .35;
    cursor: default;
}
.photo-lightbox-prev { left: 16px; }
.photo-lightbox-next { right: 16px; }
.photo-lightbox-counter {
    position: absolute;
    left: 50%;
    top: 18px;
    bottom: auto;
    transform: translateX(-50%);
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.photo-lightbox-thumbs {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    width: min(92vw, 1100px);
    margin-top: 12px;
    padding: 8px 4px 4px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.photo-lightbox-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, .08);
    opacity: .72;
    transition: opacity .15s, border-color .15s, transform .12s;
}
.photo-lightbox-thumb:hover {
    opacity: .92;
}
.photo-lightbox-thumb.is-active {
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 195, 123, .35);
}
.photo-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.lightbox-open { overflow: hidden; }

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.favorites-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s, transform .15s;
}
.favorites-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.favorites-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.favorites-card-photo {
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    overflow: hidden;
}
.favorites-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.favorites-card-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 32px;
    opacity: .35;
}
.favorites-card-body { padding: 16px 18px 18px; }
.favorites-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}
.favorites-card-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
}
.favorites-card-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}
.page-hero-lead {
    margin: 8px 0 0;
    max-width: 640px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

/* Listing info duo + reviews */
.listing-info-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.listing-info-duo-card:only-child {
    grid-column: 1 / -1;
}
.listing-info-duo-card {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    min-height: 100%;
}
.listing-info-duo-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}
.listing-info-duo-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    white-space: pre-line;
}

.listing-reviews {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.listing-reviews-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.listing-reviews-title {
    margin-bottom: 6px;
}
.listing-reviews-summary {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}
.listing-reviews-summary--empty {
    color: #64748b;
}
.listing-reviews-stars,
.listing-review-stars {
    display: inline-flex;
    gap: 2px;
}
.listing-reviews-star {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1;
}
.listing-reviews-star.is-filled,
.listing-review-rating-star input:checked + span,
.listing-review-rating-star.is-hover span {
    color: #f59e0b;
}
.listing-reviews-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}
.listing-reviews-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}
.listing-reviews-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.listing-reviews-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}
.listing-reviews-filter-select {
    height: 36px;
    padding: 0 32px 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    appearance: none;
}
.listing-reviews-filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 186, 119, 0.12);
}
@media (min-width: 769px) {
    .listing-reviews-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}
.listing-review-card {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}
.listing-review-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.listing-review-author {
    display: block;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
}
.listing-review-date {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--muted);
}
.listing-review-body {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    white-space: pre-line;
}
.listing-review-reply {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 3px solid var(--primary);
}
.listing-review-reply-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.listing-review-reply p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}
.listing-review-form-panel {
    padding: 22px 24px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.listing-review-form-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
}
.listing-review-form-lead {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}
.listing-review-form {
    display: grid;
    gap: 14px;
}
.listing-review-field {
    display: grid;
    gap: 6px;
}
.listing-review-field span {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.listing-review-field input,
.listing-review-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    background: #fff;
}
.listing-review-field input:focus,
.listing-review-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 195, 123, .12);
}
.listing-review-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.listing-review-rating-star {
    cursor: pointer;
}
.listing-review-rating-star input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.listing-review-rating-star span {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: #cbd5e1;
    transition: color .12s, transform .12s;
}
.listing-review-rating-star:hover span,
.listing-review-rating-star:hover ~ .listing-review-rating-star span {
    color: #fbbf24;
}
.listing-review-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 4px;
}
.listing-review-demo-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 13px;
    line-height: 1.5;
    color: #92400e;
}
.listing-review-demo-note svg {
    flex-shrink: 0;
    margin-top: 1px;
}
.listing-review-done {
    text-align: center;
    padding: 12px 0 4px;
}
.listing-review-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 28px;
    font-weight: 800;
}
.listing-review-done h3 {
    margin: 0 0 8px;
    font-size: 20px;
}
.listing-review-done p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .listing-info-duo {
        grid-template-columns: 1fr;
    }
    .listing-reviews-head {
        flex-direction: column;
        align-items: stretch;
    }
    .listing-reviews-toolbar {
        justify-content: stretch;
    }
    .listing-reviews-filter {
        width: 100%;
    }
    .listing-reviews-filter-select {
        flex: 1;
        min-width: 0;
    }
    .listing-review-form-panel {
        padding: 18px 16px;
    }
}

/* Cabinet dock — sticky quick actions (reviews, notifications) */
.cabinet-dock {
    position: fixed;
    left: 20px;
    bottom: 24px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cabinet-dock-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 52px;
    padding: 12px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .12);
    transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
}
.cabinet-dock-btn:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
    color: #0f172a;
}
.cabinet-dock-btn.is-active {
    border-color: var(--primary);
    background: linear-gradient(180deg, #f0fdf8 0%, #fff 100%);
    color: var(--primary-dark);
}
.cabinet-dock-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cabinet-dock-btn-label {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.cabinet-dock-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, .45);
    animation: cabinetDockPulse 2s ease-in-out infinite;
}
@keyframes cabinetDockPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.cabinet-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.cabinet-pill--warn {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
.cabinet-pill--info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.dash-reviews-head,
.dash-notifications-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.dash-reviews-section { margin-bottom: 28px; }
.dash-reviews-section--answered { margin-top: 8px; }
.dash-reviews-section-title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 800;
}
.dash-reviews-stack {
    display: grid;
    gap: 14px;
}
.dash-review-card {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}
.dash-review-card--pending {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffef8 0%, #fff 100%);
    box-shadow: 0 4px 18px rgba(245, 158, 11, .08);
}
.dash-review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.dash-review-author {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}
.dash-review-stars { display: inline-flex; gap: 2px; }
.dash-review-star { color: #cbd5e1; font-size: 14px; }
.dash-review-star.is-filled { color: #f59e0b; }
.dash-review-date {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--muted);
}
.dash-review-listing {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
}
.dash-review-listing a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}
.dash-review-listing a:hover { text-decoration: underline; }
.dash-review-category {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}
.dash-review-body {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    white-space: pre-line;
}
.dash-review-reply-form {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.dash-review-reply-field {
    display: grid;
    gap: 6px;
}
.dash-review-reply-field span {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.dash-review-reply-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    resize: vertical;
}
.dash-review-reply-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 195, 123, .12);
}
.dash-review-reply-actions {
    display: flex;
    justify-content: flex-end;
}
.dash-review-card--reported {
    border-color: #fcd34d;
    box-shadow: 0 4px 18px rgba(245, 158, 11, .1);
}
.dash-review-report-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: -2px 0 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
.dash-review-report-badge svg {
    flex-shrink: 0;
    opacity: .85;
}
.dash-review-card-foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.dash-review-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}
.dash-review-spam-form {
    margin: 0;
}
.dash-review-report summary {
    list-style: none;
    cursor: pointer;
}
.dash-review-report summary::-webkit-details-marker {
    display: none;
}
.dash-review-report-form {
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.dash-review-reported-note {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}
.dash-review-reply-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    background: #fff;
}
.dash-reviews-tabs {
    margin-bottom: 18px;
}
.dash-review-owner-reply {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f0fdf8;
    border-left: 3px solid var(--primary);
}
.dash-review-owner-reply-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #047857;
}
.dash-review-owner-reply p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
    white-space: pre-line;
}
.dash-reviews-empty,
.dash-notifications-empty {
    text-align: center;
    padding: 32px 24px;
}
.dash-reviews-empty-title,
.dash-notifications-empty-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}
.dash-reviews-empty-text,
.dash-notifications-empty-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}
.dash-notifications-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 22px;
    font-weight: 800;
}
.dash-notifications-list {
    display: grid;
    gap: 12px;
}
.dash-notifications-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.dash-notifications-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}
.dash-notifications-tab:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}
.dash-notifications-tab.is-active {
    border-color: var(--primary);
    background: #f0fdf8;
    color: var(--primary-dark);
}
.dash-notifications-tab-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}
.dash-notifications-tab.is-active .dash-notifications-tab-count {
    background: var(--primary);
}
.dash-notifications-tab-count--muted {
    background: #f1f5f9;
    color: #64748b;
}
.dash-notifications-tab.is-active .dash-notifications-tab-count--muted {
    background: #e2e8f0;
    color: #475569;
}
.dash-notification-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.dash-notification-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--muted);
}
.dash-notification-card {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}
.dash-notification-card--warning {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffef8 0%, #fff 100%);
}
.dash-notification-card--danger {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fffafa 0%, #fff 100%);
}
.dash-notification-card--info {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.dash-notification-card--success {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f0fdf8 0%, #fff 100%);
}
.dash-notification-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
}
.dash-notification-body {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}
.dash-notification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.dash-notification-dismiss-form { margin: 0; }

@media (max-width: 960px) {
    .cabinet-dock {
        left: 12px;
        bottom: 16px;
    }
    .cabinet-dock-btn-label {
        display: none;
    }
    .cabinet-dock-btn {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 999px;
    }
}

/* ── Company profile landing ── */
.performer-name-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}
.performer-name-link:hover {
    color: var(--primary-dark);
}
.performer-name-link .performer-name-text {
    text-decoration: underline;
    text-decoration-color: rgba(0, 186, 119, .35);
    text-underline-offset: 2px;
}
.listing-card-performer-name.performer-name-link .performer-name-text {
    font-size: inherit;
}
.listing-contact-performer-link {
    display: block;
    flex-shrink: 0;
    border-radius: 16px;
    transition: transform .15s, box-shadow .15s;
}
.listing-contact-performer-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}
.listing-contact-profile-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}
.listing-contact-profile-link:hover {
    text-decoration: underline;
}

.company-profile-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(0, 186, 119, .14), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(59, 130, 246, .08), transparent 38%),
        linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: 28px 0 36px;
    border-bottom: 1px solid var(--border);
}
.company-profile-breadcrumbs {
    margin-bottom: 20px;
}
.company-profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}
.company-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.company-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}
.company-profile-badge--verified {
    color: #047857;
    border-color: rgba(16, 185, 129, .35);
    background: #ecfdf5;
}
.company-profile-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}
.company-profile-title-row .listing-contact-logo,
.company-profile-title-row .listing-contact-avatar {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}
.company-profile-title {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: -.02em;
}
.company-profile-org {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--muted);
}
.company-profile-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 15px;
}
.company-profile-stars,
.company-profile-star {
    color: #cbd5e1;
}
.company-profile-star.is-filled {
    color: #f59e0b;
}
.company-profile-rating-count {
    color: var(--muted);
}
.company-profile-lead {
    margin: 0 0 20px;
    max-width: 680px;
    font-size: 16px;
    line-height: 1.65;
    color: #475569;
}
.company-profile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.company-profile-contact-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}
.company-profile-contact-title {
    margin: 0 0 14px;
    font-size: 18px;
}
.company-profile-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.company-profile-contact-list li {
    display: grid;
    gap: 2px;
}
.company-profile-contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.company-profile-contact-list a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}
.company-profile-contact-list a:hover {
    text-decoration: underline;
}
.company-profile-contact-empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}
.company-profile-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.company-profile-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}
.company-profile-nav::-webkit-scrollbar { display: none; }
.company-profile-nav-link {
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.company-profile-nav-link:hover,
.company-profile-nav-link.is-active {
    background: #ecfdf5;
    color: #047857;
}
.company-profile-body {
    padding: 32px 0 56px;
}
.company-profile-section {
    margin-bottom: 40px;
    scroll-margin-top: 72px;
}
.company-profile-section--card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}
.company-profile-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.company-profile-section-title {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.01em;
}
.company-profile-section-meta {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}
.company-profile-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.company-profile-about {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}
.company-profile-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.company-profile-catalog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s, transform .15s;
}
.company-profile-catalog-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}
.company-profile-catalog-photo {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}
.company-profile-catalog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.company-profile-catalog-body {
    padding: 16px;
    display: grid;
    gap: 8px;
}
.company-profile-catalog-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}
.company-profile-catalog-title a {
    color: inherit;
    text-decoration: none;
}
.company-profile-catalog-title a:hover {
    color: var(--primary-dark);
}
.company-profile-catalog-price {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}
.company-profile-catalog-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}
.company-profile-catalog-listing {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}
.company-profile-catalog-listing:hover {
    text-decoration: underline;
}
.company-profile-prices-wrap {
    overflow-x: auto;
}
.company-profile-prices-table th:last-child,
.company-profile-prices-table td:last-child {
    min-width: 160px;
}
.company-profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.company-profile-gallery-item {
    aspect-ratio: 1;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    transition: transform .15s, box-shadow .15s;
}
.company-profile-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}
.company-profile-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.company-profile-section--reviews {
    margin-bottom: 0;
}
.company-profile-reviews {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}
.company-profile-review-listing {
    margin: 8px 0 0;
    font-size: 13px;
}
.company-profile-review-listing a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}
.company-profile-review-listing a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .company-profile-hero-grid {
        grid-template-columns: 1fr;
    }
    .company-profile-contact-card {
        order: -1;
    }
    .company-profile-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .company-profile-listings {
        grid-template-columns: 1fr;
    }
}
