.bbp-rl-wrapper {
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bbp-rl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.bbp-rl-slider-header {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.bbp-rl-slider-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbp-rl-slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bbp-rl-slider-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bbp-rl-slider-btn:hover {
    border-color: #0f172a;
}

.bbp-rl-slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.bbp-rl-wrapper.is-slider .bbp-rl-grid--slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bbp-rl-wrapper.is-slider .bbp-rl-grid--slider::-webkit-scrollbar {
    display: none;
}

.bbp-rl-wrapper.is-slider .bbp-rl-grid--slider>.bbp-rl-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 300px;
    scroll-snap-align: start;
}

.bbp-rl-card--more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.bbp-rl-card__more-wrap {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bbp-rl-slider-more-btn {
    background: #1e3242;
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.bbp-rl-slider-more-btn:hover {
    color: #f4f4f4;
}

.bbp-rl-card {
    background: #f8fafc;
    border: 1px solid #d5d9df;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bbp-rl-card__media {
    position: relative;
    width: 100%;
    height: 220px;
    background: #e8edf3;
}

.bbp-rl-card__media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.bbp-rl-card__media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bbp-rl-card__media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.bbp-rl-card__favorite-tools {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbp-rl-card__favorite {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
}

.bbp-rl-card__favorite .item-tool-favorite {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.bbp-rl-card__business-type {
    position: absolute;
    top: 14px;
    right: 14px;
    max-width: calc(100% - 72px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    padding: 2px 12px;
    background: rgb(236 150 55);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    z-index: 2;
}

.bbp-rl-card--marketplace-ad {
    min-height: 440px;
    padding: 0;
    background: #f3f4f6;
}

.bbp-marketplace-ad__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bbp-marketplace-ad__link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    text-decoration: none;
}

.bbp-marketplace-ad__link img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.bbp-rl-card__favorite .item-tool-favorite i {
    font-size: 18px;
    line-height: 1;
}

.bbp-rl-card__favorite .item-tool-favorite i:not(.text-danger) {
    color: #ffffff;
}

.bbp-rl-card__content {
    padding: 26px 20px 24px;
    min-height: 220px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.bbp-rl-card__summary {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.bbp-rl-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bbp-rl-card__price-group {
    min-width: 0;
}

.bbp-rl-card__price-label {
    display: block;
    margin: 0 0 2px;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.bbp-rl-card__price {
    display: inline-block;
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.bbp-rl-card__share {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bbp-rl-card__share i {
    font-size: 16px;
    line-height: 1;
}

.bbp-rl-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 650;
    color: #1f2937;
}

.bbp-rl-card__title a {
    color: inherit;
    text-decoration: none;
}

.bbp-rl-card__city {
    margin: 10px 0px 0px 0px;
    font-size: 15px;
    line-height: 1.2;
    color: #4b5563;
}

.bbp-rl-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    font-size: 15px;
}

.bbp-rl-card__footer {
    margin-top: auto;
    padding-top: 12px;
}

.bbp-rl-card__metric {
    font-weight: 700;
    line-height: 1;
}

.bbp-rl-card__metric--cash {
    color: #2662d9;
}

.bbp-rl-card__metric--revenue {
    color: #1f9f55;
}

.bbp-rl-card__label {
    color: #6b7280;
    line-height: 1;
}

.bbp-rl-card__divider {
    color: #b6bdc8;
    margin: 0 3px;
}

.bbp-rl-card__broker {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.bbp-rl-card__broker-label {
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
}

.bbp-rl-card__broker-name {
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1;
    color: #1f2937;
}

.bbp-rl-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    width: 100%;
}

.bbp-rl-card__actions.is-single {
    grid-template-columns: 1fr;
}

.bbp-rl-card__action {
    position: static;
    inset: auto;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.bbp-rl-card__action i {
    font-size: 16px;
    line-height: 1;
}

.bbp-rl-card--archive {
    width: 100%;
}

.bbp-rl-empty {
    margin: 0;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #d5d9df;
    padding: 16px 20px;
    color: #374151;
}

.bbp-rl-footer {
    margin-top: 28px;
    text-align: center;
}

.bbp-rl-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bbp-rl-show-more:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

.property-info-window {
    background: #f8fafc;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.property-info-window .info-window-image {
    width: 100%;
    height: 190px;
    background: #e8edf3;
}

.property-info-window .info-window-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.property-info-window .info-window-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info-window .info-content {
    padding: 10px 10px 10px !important;
    background: #f8fafc;
}

.property-info-window .info-content > .info-window-price,
.property-info-window .info-content > .info-window-property-type {
    display: none;
}

.property-info-window .bbp-rl-card__title {
    font-size: 18px;
    line-height: 1.25;
}

.bbp-map-card__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin-top: 14px;
}

.bbp-map-card__detail {
    min-width: 0;
}

.bbp-map-card__detail-label {
    display: block;
    margin: 0 0 4px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bbp-map-card__detail-value {
    display: block;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    word-break: break-word;
}

.bbp-map-card__detail-value--cash {
    color: #2662d9;
}

.bbp-map-card__detail-value--revenue {
    color: #1f9f55;
}

.property-info-window .info-window-address-info {
    margin-top: 10px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.4;
}

.property-info-window .info-window-address-info i {
    margin-right: 0px;
    color: #ec9637;
}

/* .gm-style .gm-style-iw-tc {
    top: 18px !important;
} */

@media (max-width: 1199px) {
    .bbp-rl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bbp-rl-wrapper.is-slider .bbp-rl-grid--slider>.bbp-rl-card {
        flex-basis: calc((100% - 20px) / 2);
        min-width: 280px;
    }
}

@media (max-width: 767px) {
    .bbp-rl-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bbp-rl-card__media {
        height: 230px;
    }

    .bbp-rl-card__content {
        padding: 18px;
    }

    .bbp-rl-card__price {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .bbp-rl-card__title {
        font-size: 16px;
    }

    .bbp-rl-card__city {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .bbp-rl-card__meta {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .bbp-rl-card__broker-label {
        font-size: 11px;
    }

    .bbp-rl-card__broker-name {
        font-size: 14px;
    }

    .bbp-rl-card__actions {
        grid-template-columns: 1fr;
    }

    .bbp-rl-wrapper.is-slider .bbp-rl-grid--slider {
        gap: 14px;
    }

    .bbp-rl-wrapper.is-slider .bbp-rl-grid--slider>.bbp-rl-card {
        flex-basis: 88%;
        min-width: 260px;
    }
}
