/* Book My Parking Space — site overrides */

body.bmp-space,
body.nine-properties {
    /* Sampled from public/assets/brand/FAV.png + LOGO 1.png */
    --bmp-logo-yellow: #fcb40c;
    --bmp-logo-pink: #f06c78;
    --bmp-logo-orange: #f04800;
    --nine-pm-brand-btn: var(--bmp-logo-yellow);
    --nine-pm-brand-btn-hover: #e5a30b;
    --nine-pm-brand-secondary: var(--bmp-logo-pink);
    --nine-pm-brand-secondary-hover: #e05a68;
    --nine-pm-brand-third: var(--bmp-logo-orange);
    --nine-pm-brand-third-hover: #d94400;
    --bmp-nav-accent: var(--bmp-logo-yellow);
    --bmp-nav-accent-hover: #e5a30b;
    --bmp-nav-muted: #8a8f98;
    --bmp-nav-active-text: #1a1a1a;
    /* Shared content rail — header, sections, footer */
    --nine-pm-content-max: 1280px;
    --nine-pm-content-gutter: 15px;
}

body.nine-properties .cs_btn.cs_style_1.cs_primary_bg,
body.nine-properties .cs_player_btn.cs_primary_bg,
body.nine-properties .cs_offerbox_icon.cs_primary_bg {
    background-color: var(--nine-pm-brand-btn) !important;
}

body.nine-properties .cs_btn.cs_style_1.cs_primary_bg:hover {
    background-color: var(--nine-pm-brand-btn-hover) !important;
}

/* Home — single page background (matches Xproperty default white) */
body.website-template.app-lp.nine-properties {
    --web-wash: #fff;
    background-color: #fff !important;
}

body.website-template.app-lp.nine-properties .nine-pm-rental-band,
body.website-template.app-lp.nine-properties .nine-pm-ad-band,
body.website-template.app-lp.nine-properties .nine-pm-section-band {
    background: transparent !important;
}

body.website-template.app-lp.nine-properties .nine-pm-rental-section.white-box,
body.website-template.app-lp.nine-properties .nine-pm-owners-section.white-box,
body.website-template.app-lp.nine-properties .nine-pm-featured-section.white-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.website-template.app-lp.nine-properties .nine-pm-owners-section .referral-banner {
    border: 1px solid #e1e1e1;
    background: #fff;
}

body.nine-properties .cs_footer .cs_logo {
    margin-bottom: 2rem;
    line-height: 0;
}

body.nine-properties .cs_footer .cs_logo img {
    display: block;
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
}

.cs_site_header.cs_style_1,
.cs_site_header.cs_style_1.cs_sticky_active {
    background-color: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

.cs_site_header.cs_style_1 .cs_main_header_in,
.cs_site_header.cs_style_1.cs_sticky_active .cs_main_header_in {
    height: 67px !important;
    min-height: 67px !important;
    max-height: 67px !important;
}

/* Account pages: fixed header offset (replaces removed breadcrumb hero spacing) */
body.xproperty-account-page {
    --nine-site-header-height: 67px;
}

@media (max-width: 1199px) {
    body.xproperty-account-page {
        --nine-site-header-height: 62px;
    }
}


/* ===== BMP header — logo + nav left, actions right ===== */
.cs_site_header.bmp-header,
.cs_site_header.bmp-header.cs_sticky_active {
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

/* Align nav start/end with page content rail */
body.nine-properties .cs_site_header.bmp-header .container,
body.nine-properties .cs_site_header.bmp-header.cs_sticky_active .container,
body.nine-properties .cs_site_header.cs_style_1.bmp-header .container {
    max-width: var(--nine-pm-content-max, 1280px) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--nine-pm-content-gutter, 15px) !important;
    padding-right: var(--nine-pm-content-gutter, 15px) !important;
    box-sizing: border-box !important;
}

.cs_site_header.bmp-header .cs_header_main,
.cs_site_header.bmp-header.cs_sticky_active .cs_header_main {
    padding: 0 !important;
    background: transparent !important;
}

.cs_site_header.bmp-header .cs_main_header_in,
.cs_site_header.bmp-header.cs_sticky_active .cs_main_header_in {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
}

.cs_site_header.bmp-header .bmp-header__bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cs_site_header.bmp-header .bmp-header__left {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
    flex: 1 1 auto;
}

.cs_site_header.bmp-header .bmp-header__logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.cs_site_header.bmp-header .bmp-header__logo img {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
}

.cs_site_header.bmp-header .bmp-header__nav {
    display: none;
    align-items: center;
    gap: 4px;
}

.cs_site_header.bmp-header .bmp-nav__link {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.cs_site_header.bmp-header .bmp-nav__link:hover {
    color: var(--nine-pm-brand-secondary, #f06c78) !important;
}

.cs_site_header.bmp-header .bmp-nav__link.is-active {
    color: var(--nine-pm-brand-secondary, #f06c78) !important;
    background: rgb(240 108 120 / 12%);
}

.cs_site_header.bmp-header .bmp-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.cs_site_header.bmp-header .bmp-header__mode {
    display: none;
    margin: 0;
}

.cs_site_header.bmp-header .bmp-header__cta {
    white-space: nowrap;
    border-color: transparent !important;
}

.cs_site_header.bmp-header .bmp-header__cta:hover {
    border-color: var(--primary-color) !important;
}

.cs_site_header.bmp-header .bmp-header__fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--nine-pm-brand-secondary, #f06c78);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cs_site_header.bmp-header .bmp-header__fav:hover,
.cs_site_header.bmp-header .bmp-header__fav.is-active {
    background: rgb(240 108 120 / 12%);
}

.cs_site_header.bmp-header .bmp-header__fav:hover {
    transform: scale(1.05);
}

.cs_site_header.bmp-header .bmp-header__fav i {
    font-size: 20px;
    line-height: 1;
}

@media (min-width: 1200px) {
    .cs_site_header.bmp-header .bmp-header__nav {
        display: flex;
    }

    .cs_site_header.bmp-header .bmp-header__mobile-nav {
        display: none !important;
    }

    .cs_site_header.bmp-header .bmp-header__mode {
        display: inline;
    }
}

@media (max-width: 1199px) {
    .cs_site_header.bmp-header .bmp-header__cta {
        display: none !important;
    }

    .cs_site_header.bmp-header .bmp-header__mode {
        display: none !important;
    }

    .cs_site_header.bmp-header .nine-header-nav > li > a.is-active {
        color: var(--nine-pm-brand-secondary, #f06c78) !important;
        background: rgb(240 108 120 / 12%);
        border-radius: 6px;
    }
}

/* ===== BMP category cards ===== */
.bmp-categories {
    padding: 2.5rem 0 1rem;
}

.bmp-categories__inner {
    max-width: var(--nine-pm-content-max, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--nine-pm-content-gutter, 15px);
    padding-right: var(--nine-pm-content-gutter, 15px);
    box-sizing: border-box;
}

body.nine-properties .bmp-categories .container.bmp-categories__inner {
    max-width: var(--nine-pm-content-max, 1280px) !important;
    padding-left: var(--nine-pm-content-gutter, 15px) !important;
    padding-right: var(--nine-pm-content-gutter, 15px) !important;
}

.bmp-categories__head {
    margin-bottom: 1.5rem;
}

.bmp-categories__title {
    margin: 0 0 0.4rem;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
}

.bmp-categories__subtitle {
    margin: 0;
    max-width: 40rem;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #666;
}

.bmp-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.bmp-category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bmp-category-card:hover {
    border-color: #fdb813;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    color: inherit;
}

.bmp-category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(160deg, #fff7e6 0%, #ffe8b3 100%);
    color: #c47a00;
    font-size: 1.35rem;
}

.bmp-category-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
}

.bmp-category-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.bmp-category-card__desc {
    font-size: 0.88rem;
    line-height: 1.4;
    color: #6b7280;
}

.bmp-category-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f8f8f8;
    color: #888;
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.bmp-category-card:hover .bmp-category-card__arrow {
    background: #fdb813;
    color: #fff;
}

@media (max-width: 991px) {
    .bmp-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .bmp-categories {
        padding: 1.75rem 0 0.5rem;
    }

    .bmp-categories__title {
        font-size: 1.4rem;
    }

    .bmp-categories__grid {
        grid-template-columns: 1fr;
    }
}

/* Public saved homes page */
body.nine-properties .xproperty-favourites-public {
    padding: calc(67px + 2rem) 0 3rem;
    background: #f8f8f8;
}

body.nine-properties .xproperty-favourites-public__inner {
    max-width: 1280px;
}

body.nine-properties .xproperty-favourites-public__header {
    margin-bottom: 1.5rem;
}

body.nine-properties .xproperty-favourites-public__title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
}

body.nine-properties .xproperty-favourites-public__intro {
    margin: 0;
    max-width: 42rem;
    font-size: 15px;
    line-height: 1.5;
    color: #6b7280;
}

/* Home hero — 65% viewport height */
.cs_hero.cs_style_1.cs_hero_home {
    min-height: 65vh !important;
    height: 65vh !important;
    max-height: none !important;
    padding: 96px 0 40px !important;
    background-size: cover !important;
    background-position: center center !important;
}

.cs_hero.cs_style_1.cs_hero_home .cs_hero_content {
    padding-top: 36px !important;
}

.cs_hero.cs_style_1.cs_hero_home .cs_hero_title,
.cs_hero.cs_style_1.cs_hero_home h1 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 991px) {
    .cs_site_header.cs_style_1 .cs_main_header_in {
        height: 63px !important;
        min-height: 63px !important;
        max-height: 63px !important;
    }

    .cs_site_header.cs_style_1 .nine-header-logo {
        height: 63px !important;
        max-height: 63px !important;
        padding: 2px 0 !important;
    }

    .cs_site_header.cs_style_1 .nine-header-logo img {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
    }

    .cs_hero.cs_style_1.cs_hero_home {
        min-height: 65vh !important;
        height: auto !important;
    }
}
