body.drivebit-static-city-page {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #09052b;
    background: #fff;
}

.drivebit-static-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e8e8ee;
}

.drivebit-static-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.drivebit-static-logo img {
    display: block;
    height: 32px;
    width: auto;
}

.drivebit-static-header-nav {
    display: flex;
    gap: 16px;
    flex: 1;
}

.drivebit-static-header-nav a,
.drivebit-city-link,
.drivebit-login-link {
    color: #09052b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.drivebit-login-link {
    margin-left: auto;
    padding: 8px 16px;
    border: 1.5px solid #09052b;
    border-radius: 8px;
}

.drivebit-city-main {
    flex: 1;
}

/* Static HTML hero (moskva index.html) — matches Compose HeroBanner + HeroDateRangeSelector */
.drivebit-hero-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px var(--drivebit-page-pad-x, 40px) 0;
    box-sizing: border-box;
    width: 100%;
}

.drivebit-hero-static {
    position: relative;
    width: 100%;
    margin: 0 0 30px;
    border-radius: 30px;
    overflow: hidden;
    box-sizing: border-box;
}

.drivebit-hero-static .drivebit-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.drivebit-hero-static .drivebit-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(9, 5, 43, 0.5), rgba(9, 5, 43, 0.7));
    pointer-events: none;
}

.drivebit-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 100px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
}

.drivebit-hero-headline {
    margin: 0 0 20px;
    max-width: 100%;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
}

.drivebit-hero-static .drivebit-hero-tagline {
    margin: 0 0 12px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.drivebit-hero-static .drivebit-hero-sub {
    margin: 0 0 48px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.drivebit-hero-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 1000px;
}

.drivebit-hero-dates {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 90px;
    background: #fff;
    border-radius: 20px;
    padding: 0 34px;
    box-sizing: border-box;
}

.drivebit-hero-date-trigger {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

.drivebit-hero-date-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.drivebit-hero-date-label--mobile {
    display: none;
}

.drivebit-hero-date-label {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
}

.drivebit-hero-date-value {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drivebit-hero-date-value:not(.is-empty) {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.drivebit-hero-date-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: #2962ff;
    mask-image: url("/images/filter-main/calendar.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("/images/filter-main/calendar.svg");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.drivebit-hero-dates-divider {
    width: 1px;
    height: 64px;
    background: #e0e0e6;
    margin: 0 24px;
    flex-shrink: 0;
}

.drivebit-hero-search-btn {
    flex-shrink: 0;
    width: 292px;
    height: 90px;
    border: none;
    border-radius: 20px;
    background: #2962ff;
    color: #fff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.drivebit-hero-search-btn:hover {
    background: #1a4fd4;
}

body:has(#drivebit-hero-static) #root:empty {
    min-height: 0;
    background: none;
}

body:has(#drivebit-hero-static) #root:empty::before {
    display: none;
}

body:has(#drivebit-hero-static) .drivebit-seo-loader {
    display: none;
    min-height: 0;
}

body:has(#drivebit-hero-static) #root:not(:empty) .app-container {
    padding-top: 0;
}

.drivebit-hero {
    position: relative;
    min-height: 360px;
    max-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drivebit-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.drivebit-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9, 5, 43, 0.5), rgba(9, 5, 43, 0.7));
}

.drivebit-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 40px;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}

.drivebit-hero-content h1 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
}

.drivebit-hero-tagline {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
}

.drivebit-hero-sub {
    margin: 0 0 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.drivebit-hero-search {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.drivebit-hero-search input[type="date"] {
    padding: 10px 12px;
    border: 1px solid #e2e2e8;
    border-radius: 8px;
    font-size: 14px;
    color: #09052b;
    min-width: 0;
}

.drivebit-hero-search button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #09052b;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.drivebit-filters-static {
    max-width: var(--drivebit-page-max, 1200px);
    width: 100%;
    min-width: 0;
    margin: 0 auto 20px;
    padding: 0 var(--drivebit-page-pad-x, 40px);
    box-sizing: border-box;
}

body:not(:has(#drivebit-hero-static)) .drivebit-filters-static {
    display: none;
}

.drivebit-filters-scroll {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 999px;
    background: #09052b;
    box-shadow: 0 8px 20px rgba(9, 5, 43, 0.18);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    box-sizing: border-box;
}

.drivebit-filters-scroll::-webkit-scrollbar {
    display: none;
}

.drivebit-filters-scroll:focus-visible {
    outline: 2px solid #4f6ef7;
    outline-offset: 2px;
}

.drivebit-filters-track {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: max-content;
    min-width: 0;
    max-width: none;
}

.drivebit-filter-btn {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border: none;
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.15;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.drivebit-filter-btn:first-child {
    border-radius: 999px 0 0 999px;
}

.drivebit-filter-btn:last-child {
    flex-grow: 0;
    flex-shrink: 0;
    width: auto;
    border-right: none;
    border-radius: 0 999px 999px 0;
}

.drivebit-filter-btn:hover:not([aria-pressed="true"]):not(.is-selected) {
    background: rgba(255, 255, 255, 0.08);
}

.drivebit-filter-btn.is-selected[data-filter-title="Все"],
.drivebit-filter-btn[aria-pressed="true"][data-filter-title="Все"] {
    background: #4f6ef7;
    color: #fff;
    border-right-color: rgba(255, 255, 255, 0.2);
}

.drivebit-filter-btn.is-selected:not([data-filter-title="Все"]),
.drivebit-filter-btn[aria-pressed="true"]:not([data-filter-title="Все"]) {
    background: #fff;
    color: #09052b;
    border-right-color: rgba(9, 5, 43, 0.12);
}

.drivebit-filter-label {
    pointer-events: none;
    white-space: nowrap;
}

.drivebit-city-filters {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    box-sizing: border-box;
}

.drivebit-city-filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.drivebit-city-filters a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #e2e2e8;
    border-radius: 999px;
    color: #09052b;
    text-decoration: none;
    font-size: 14px;
}

.drivebit-city-filters a:hover,
.drivebit-city-filters a[aria-current="page"] {
    border-color: #09052b;
    background: #f4f4f8;
}

@media (max-width: 900px) {
    .drivebit-hero-toolbar {
        flex-direction: column;
        gap: 12px;
    }

    .drivebit-hero-dates {
        width: 100%;
        padding: 0 16px;
    }

    .drivebit-hero-search-btn {
        width: 100%;
        height: 72px;
    }
}

@media (max-width: 640px) {
    .drivebit-static-header-inner {
        padding: 10px 16px;
    }

    .drivebit-hero-wrap {
        padding: 8px var(--drivebit-page-pad-x-mobile, 16px) 0;
    }

    .drivebit-hero-inner {
        padding: 20px 8px 24px;
    }

    .drivebit-hero-headline {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .drivebit-hero-static .drivebit-hero-tagline {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .drivebit-hero-static .drivebit-hero-sub {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .drivebit-hero-toolbar {
        flex-direction: column;
        gap: 12px;
    }

    .drivebit-hero-dates {
        width: 100%;
        height: 72px;
        padding: 0 16px;
    }

    .drivebit-hero-date-label--desktop {
        display: none;
    }

    .drivebit-hero-date-label--mobile {
        display: block;
    }

    .drivebit-hero-date-icon {
        width: 20px;
        height: 20px;
    }

    .drivebit-hero-dates-divider {
        height: 48px;
        margin: 0 12px;
    }

    .drivebit-hero-search-btn {
        width: 100%;
        height: 56px;
    }

    .drivebit-hero {
        min-height: 300px;
    }

    .drivebit-hero-search {
        grid-template-columns: 1fr;
    }

    .drivebit-city-filters {
        padding: 12px 16px;
    }

    .drivebit-filters-static {
        padding: 0 var(--drivebit-page-pad-x-mobile, 16px);
        margin-bottom: 16px;
    }

    .drivebit-filter-btn {
        padding: 12px 14px;
        font-size: 13px;
    }
}
