/*
|--------------------------------------------------------------------------
| BSR RENTAL KART PRODUCT CARD
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| PRODUCT CARD
|--------------------------------------------------------------------------
*/

.bsr-product-card {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    overflow: visible;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.bsr-product-card.has-product-link {
    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| DESKTOP CARD HOVER
|--------------------------------------------------------------------------
*/

@media (hover: hover) and (pointer: fine) {

    .bsr-product-card.has-product-link:hover {
        transform: translateY(-3px);

        box-shadow:
            0 10px 30px
            rgba(0, 0, 0, 0.08);
    }
}


/*
|--------------------------------------------------------------------------
| MAIN PRODUCT LINK
|--------------------------------------------------------------------------
*/

.bsr-product-main-link {
    position: absolute;
    z-index: 5;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: block;
}


/*
|--------------------------------------------------------------------------
| PRODUCT IMAGE
|--------------------------------------------------------------------------
*/

.bsr-product-image-wrap {
    position: relative;
    z-index: 1;

    width: 100%;
    overflow: hidden;

    pointer-events: none;
}

.bsr-product-image {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    transition:
        transform 0.35s ease;
}


/*
|--------------------------------------------------------------------------
| DESKTOP IMAGE HOVER
|--------------------------------------------------------------------------
*/

@media (hover: hover) and (pointer: fine) {

    .bsr-product-card.has-product-link:hover
    .bsr-product-image {
        transform: scale(1.015);
    }
}


/*
|--------------------------------------------------------------------------
| PRODUCT CONTENT
|--------------------------------------------------------------------------
*/

.bsr-product-content {
    position: relative;
    z-index: 10;

    box-sizing: border-box;

    padding:
        18px
        20px
        20px
        20px;

    background: #ffffff;

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| SMALL TITLE
|--------------------------------------------------------------------------
*/

.bsr-product-eyebrow {
    margin: 0 0 4px 0;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 500;

    letter-spacing: 0.04em;

    color: #777777;
}


/*
|--------------------------------------------------------------------------
| PRODUCT TITLE
|--------------------------------------------------------------------------
*/

.bsr-product-title {
    margin: 0 0 14px 0;

    font-size: 20px;
    line-height: 1.25;

    font-weight: 700;

    color: #111111;
}


/*
|--------------------------------------------------------------------------
| FEATURES CONTAINER
|--------------------------------------------------------------------------
*/

.bsr-product-card .bsr-features {
    position: relative;
    z-index: 50;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    width: 100%;

    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible;

    pointer-events: auto;
}


/*
|--------------------------------------------------------------------------
| FEATURE BUTTON
|--------------------------------------------------------------------------
|
| IMPORTANT:
| Fixed 30px height prevents Salient / WPBakery
| global styles from making the buttons too tall.
|--------------------------------------------------------------------------
*/

.bsr-product-card .bsr-features .bsr-feature {
    position: relative;
    z-index: 51;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    width: auto !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    margin: 0 !important;

    padding:
        0
        8px !important;

    border:
        1px solid
        #2f6fe4 !important;

    border-radius: 0 !important;

    background: #ffffff;

    color: #2f6fe4;

    font-family:
        Arial,
        sans-serif;

    font-size: 11px !important;

    line-height: 28px !important;

    font-weight: 500;

    white-space: nowrap;

    cursor: pointer;

    pointer-events: auto;

    outline: none;

    overflow: visible;

    vertical-align: middle;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}


/*
|--------------------------------------------------------------------------
| FEATURE LABEL
|--------------------------------------------------------------------------
*/

.bsr-product-card
.bsr-feature
.bsr-feature-label {
    display: block !important;

    width: auto !important;

    height: auto !important;

    min-height: 0 !important;

    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    font-size: inherit !important;

    line-height: 28px !important;

    white-space: nowrap !important;
}


/*
|--------------------------------------------------------------------------
| FEATURE ACTIVE / HOVER
|--------------------------------------------------------------------------
*/

.bsr-product-card
.bsr-feature:hover,

.bsr-product-card
.bsr-feature:focus,

.bsr-product-card
.bsr-feature.is-open {
    background: #2f6fe4;

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| TOOLTIP
|--------------------------------------------------------------------------
*/

.bsr-feature-info {
    position: absolute;

    z-index: 9999;

    bottom: calc(100% + 10px);

    left: 50%;

    box-sizing: border-box;

    width: 280px;

    max-width:
        min(
            280px,
            calc(100vw - 30px)
        );

    height: auto !important;
    min-height: 0 !important;
    max-height: none;

    margin: 0;

    padding:
        13px
        14px;

    background: #ffffff;

    color: #111111;

    text-align: left;

    white-space: normal;

    border: 0;

    box-shadow:
        0 6px 22px
        rgba(0, 0, 0, 0.13);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateX(-50%)
        translateY(4px);

    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease;
}


/*
|--------------------------------------------------------------------------
| TOOLTIP OPEN
|--------------------------------------------------------------------------
*/

.bsr-feature.is-open
.bsr-feature-info {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}


/*
|--------------------------------------------------------------------------
| TOOLTIP TITLE
|--------------------------------------------------------------------------
*/

.bsr-feature-info-title {
    margin:
        0
        20px
        5px
        0;

    padding: 0;

    font-size: 12px;
    line-height: 1.35;

    font-weight: 700;

    color: #111111;
}


/*
|--------------------------------------------------------------------------
| TOOLTIP DESCRIPTION
|--------------------------------------------------------------------------
|
| Softer text for a lighter visual appearance.
|--------------------------------------------------------------------------
*/

.bsr-feature-info-text {
    margin: 0;
    padding: 0;

    font-size: 11px;
    line-height: 1.5;

    font-weight: 400;

    color: #5c5c5c;
}


/*
|--------------------------------------------------------------------------
| TOOLTIP CLOSE BUTTON
|--------------------------------------------------------------------------
*/

.bsr-feature-close {
    position: absolute;

    top: 5px;
    right: 7px;

    display: none;

    width: 22px;
    height: 22px;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    color: #777777;

    font-size: 18px;
    line-height: 22px;

    text-align: center;

    cursor: pointer;

    pointer-events: auto;
}


/*
|--------------------------------------------------------------------------
| LARGE DESKTOP
|--------------------------------------------------------------------------
*/

@media (min-width: 1200px) {

    .bsr-product-content {
        padding:
            18px
            20px
            20px
            20px;
    }

    .bsr-product-title {
        font-size: 20px;
    }


    /*
     * Force compact desktop Feature buttons.
     */

    .bsr-product-card
    .bsr-features
    .bsr-feature {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding:
            0
            8px !important;

        font-size: 11px !important;

        line-height: 28px !important;
    }

    .bsr-product-card
    .bsr-feature
    .bsr-feature-label {
        line-height: 28px !important;
    }
}


/*
|--------------------------------------------------------------------------
| SMALL DESKTOP / TABLET LANDSCAPE
|--------------------------------------------------------------------------
*/

@media (min-width: 768px) and (max-width: 1199px) {

    .bsr-product-content {
        padding:
            16px
            17px
            18px
            17px;
    }

    .bsr-product-title {
        margin-bottom: 12px;

        font-size: 19px;
    }

    .bsr-product-card
    .bsr-features {
        gap: 7px !important;
    }

    .bsr-product-card
    .bsr-features
    .bsr-feature {
        height: 29px !important;
        min-height: 29px !important;
        max-height: 29px !important;

        padding:
            0
            7px !important;

        font-size: 10px !important;

        line-height: 27px !important;
    }

    .bsr-product-card
    .bsr-feature
    .bsr-feature-label {
        line-height: 27px !important;
    }

    .bsr-feature-info {
        width: 260px;
    }
}


/*
|--------------------------------------------------------------------------
| DESKTOP TOOLTIP HOVER
|--------------------------------------------------------------------------
*/

@media (min-width: 768px) {

    .bsr-feature:hover
    .bsr-feature-info {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {


    /*
    |--------------------------------------------------------------------------
    | CARD
    |--------------------------------------------------------------------------
    */

    .bsr-product-card {
        width: 100%;
        max-width: 100%;

        transform: none;
    }


    /*
    |--------------------------------------------------------------------------
    | DISABLE DESKTOP HOVER MOVEMENT
    |--------------------------------------------------------------------------
    */

    .bsr-product-card.has-product-link:hover {
        transform: none;

        box-shadow: none;
    }


    /*
    |--------------------------------------------------------------------------
    | IMAGE
    |--------------------------------------------------------------------------
    */

    .bsr-product-image {
        width: 100%;

        transform: none !important;
    }


    /*
    |--------------------------------------------------------------------------
    | CONTENT
    |--------------------------------------------------------------------------
    */

    .bsr-product-content {
        padding:
            14px
            15px
            17px
            15px;
    }


    /*
    |--------------------------------------------------------------------------
    | SMALL TITLE
    |--------------------------------------------------------------------------
    */

    .bsr-product-eyebrow {
        margin-bottom: 3px;

        font-size: 10px;

        line-height: 1.35;
    }


    /*
    |--------------------------------------------------------------------------
    | PRODUCT TITLE
    |--------------------------------------------------------------------------
    */

    .bsr-product-title {
        margin-bottom: 12px;

        font-size: 18px;

        line-height: 1.25;
    }


    /*
    |--------------------------------------------------------------------------
    | FEATURES
    |--------------------------------------------------------------------------
    */

    .bsr-product-card
    .bsr-features {
        display: flex !important;

        flex-wrap: wrap !important;

        align-items: center !important;

        gap: 6px !important;

        width: 100%;

        margin: 0 !important;

        padding: 0 !important;
    }


    /*
    |--------------------------------------------------------------------------
    | MOBILE FEATURE BUTTON
    |--------------------------------------------------------------------------
    */

    .bsr-product-card
    .bsr-features
    .bsr-feature {
        width: auto !important;

        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;

        margin: 0 !important;

        padding:
            0
            7px !important;

        font-size: 10px !important;

        line-height: 26px !important;

        white-space: nowrap;

        text-align: center;

        touch-action: manipulation;

        -webkit-tap-highlight-color:
            transparent;
    }


    .bsr-product-card
    .bsr-feature
    .bsr-feature-label {
        margin: 0 !important;

        padding: 0 !important;

        line-height: 26px !important;

        white-space: nowrap !important;
    }


    /*
    |--------------------------------------------------------------------------
    | MOBILE TOOLTIP
    |--------------------------------------------------------------------------
    */

    .bsr-feature-info {
        position: fixed;

        z-index: 999999;

        left: 15px !important;
        right: 15px !important;

        bottom:
            calc(
                16px +
                env(safe-area-inset-bottom)
            );

        width: auto;

        height: auto !important;

        min-height: 0 !important;

        max-width: none;

        max-height:
            calc(100vh - 40px);

        overflow-y: auto;

        padding:
            17px
            40px
            17px
            17px;

        border-radius: 3px;

        box-shadow:
            0 10px 35px
            rgba(0, 0, 0, 0.18);

        transform:
            translateY(12px) !important;

        -webkit-overflow-scrolling:
            touch;
    }


    /*
    |--------------------------------------------------------------------------
    | MOBILE TOOLTIP OPEN
    |--------------------------------------------------------------------------
    */

    .bsr-feature.is-open
    .bsr-feature-info {
        transform:
            translateY(0) !important;
    }


    /*
    |--------------------------------------------------------------------------
    | MOBILE TOOLTIP TITLE
    |--------------------------------------------------------------------------
    */

    .bsr-feature-info-title {
        margin:
            0
            20px
            6px
            0;

        font-size: 13px;

        line-height: 1.4;
    }


    /*
    |--------------------------------------------------------------------------
    | MOBILE TOOLTIP DESCRIPTION
    |--------------------------------------------------------------------------
    */

    .bsr-feature-info-text {
        font-size: 12px;

        line-height: 1.5;

        color: #5c5c5c;
    }


    /*
    |--------------------------------------------------------------------------
    | MOBILE CLOSE BUTTON
    |--------------------------------------------------------------------------
    */

    .bsr-feature-close {
        display: block;

        top: 8px;

        right: 9px;

        width: 26px;

        height: 26px;

        margin: 0;

        padding: 0;

        font-size: 20px;

        line-height: 26px;
    }
}


/*
|--------------------------------------------------------------------------
| VERY SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .bsr-product-content {
        padding:
            13px
            12px
            16px
            12px;
    }


    .bsr-product-title {
        font-size: 17px;
    }


    .bsr-product-card
    .bsr-features {
        gap: 5px !important;
    }


    .bsr-product-card
    .bsr-features
    .bsr-feature {
        height: 27px !important;
        min-height: 27px !important;
        max-height: 27px !important;

        padding:
            0
            6px !important;

        font-size: 9.5px !important;

        line-height: 25px !important;
    }


    .bsr-product-card
    .bsr-feature
    .bsr-feature-label {
        line-height: 25px !important;
    }


    .bsr-feature-info {
        left: 10px !important;
        right: 10px !important;

        bottom:
            calc(
                10px +
                env(safe-area-inset-bottom)
            );
    }
}