/* =========================================================
   LOWCOST LETTERBOX
   UK / INDIA REGION SWITCHER
   ========================================================= */


/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.ll-region-switcher {

    position: relative;

    display: inline-block;

    vertical-align: middle;

    margin-left: 10px;

    z-index: 9999;
}


/*
|--------------------------------------------------------------------------
| Main Button
|--------------------------------------------------------------------------
*/

.ll-region-current {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    height: 40px;

    min-width: 82px;

    padding: 0 12px;

    box-sizing: border-box;

    background: #ffffff;

    color: #222222;

    border: 1px solid #ffffff;

    border-radius: 22px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    line-height: 1;

    cursor: pointer;

    white-space: nowrap;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .14);

    transition:
        background .2s ease,
        box-shadow .2s ease;
}


.ll-region-current:hover {

    background: #f8f8f8;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .20);
}


/*
|--------------------------------------------------------------------------
| Real Flag
|--------------------------------------------------------------------------
*/

.ll-region-flag {

    display: block;

    width: 20px;

    height: 15px;

    min-width: 20px;

    object-fit: cover;

    border-radius: 1px;

    box-shadow:
        0 0 1px rgba(0, 0, 0, .35);
}


/*
|--------------------------------------------------------------------------
| Arrow
|--------------------------------------------------------------------------
*/

.ll-region-chevron {

    display: inline-block;

    margin-left: 1px;

    font-size: 14px;

    font-weight: 700;

    line-height: 1;

    transition:
        transform .2s ease;
}


.ll-region-switcher.open
.ll-region-chevron {

    transform:
        rotate(180deg);
}


/*
|--------------------------------------------------------------------------
| Dropdown
|--------------------------------------------------------------------------
*/

.ll-region-dropdown {

    display: none;

    position: absolute;

    top: calc(100% + 7px);

    right: 0;

    width: 185px;

    padding: 6px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e5e5;

    border-radius: 9px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .18);
}


.ll-region-switcher.open
.ll-region-dropdown {

    display: block;
}


/*
|--------------------------------------------------------------------------
| Dropdown option
|--------------------------------------------------------------------------
*/

.ll-region-option {

    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    min-height: 40px;

    padding: 8px 10px;

    box-sizing: border-box;

    border-radius: 6px;

    color: #222222;

    background: transparent;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.2;

    transition:
        background .15s ease,
        color .15s ease;
}


.ll-region-option:hover {

    background: #f2f6fb;

    color: #2167d5;

    text-decoration: none;
}


.ll-region-option.active {

    background: #eef5fc;

    color: #2167d5;

    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| Popup Overlay
|--------------------------------------------------------------------------
*/

#ll-region-overlay {

    display: flex;

    position: fixed;

    inset: 0;

    z-index: 999999;

    align-items: center;

    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    background:
        rgba(0, 0, 0, .48);

    backdrop-filter:
        blur(3px);
}


/*
|--------------------------------------------------------------------------
| Popup
|--------------------------------------------------------------------------
*/

#ll-region-popup {

    width: 100%;

    max-width: 440px;

    padding:
        30px 30px 28px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, .25);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    animation:
        llRegionPopupIn
        .25s
        ease-out;
}


@keyframes llRegionPopupIn {

    from {

        opacity: 0;

        transform:
            translateY(15px)
            scale(.97);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/*
|--------------------------------------------------------------------------
| Popup Icon
|--------------------------------------------------------------------------
*/

.ll-region-icon {

    width: 60px;

    height: 60px;

    margin:
        0 auto 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #eef6ff;

    font-size: 29px;
}


/*
|--------------------------------------------------------------------------
| Popup Heading
|--------------------------------------------------------------------------
*/

.ll-region-title {

    margin:
        0 0 10px;

    color: #1c1c1c;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| Popup Text
|--------------------------------------------------------------------------
*/

.ll-region-text {

    max-width: 360px;

    margin:
        0 auto 24px;

    color: #666666;

    font-size: 15px;

    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Popup Buttons
|--------------------------------------------------------------------------
*/

.ll-region-buttons {

    display: flex;

    gap: 10px;
}


.ll-region-btn {

    flex: 1;

    min-height: 46px;

    padding:
        0 15px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.2;

    cursor: pointer;

    outline: none;

    transition:
        background .2s ease,
        border-color .2s ease;
}


/*
|--------------------------------------------------------------------------
| Stay UK
|--------------------------------------------------------------------------
*/

.ll-region-uk {

    background: #ffffff;

    color: #2167d5;

    border:
        1px solid #2167d5;
}


.ll-region-uk:hover {

    background: #f2f7ff;
}


/*
|--------------------------------------------------------------------------
| Switch India
|--------------------------------------------------------------------------
*/

.ll-region-india {

    background: #2167d5;

    color: #ffffff;

    border:
        1px solid #2167d5;
}


.ll-region-india:hover {

    background: #1857bd;

    border-color: #1857bd;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .ll-region-switcher {

        margin-left: 5px;
    }


    .ll-region-current {

        height: 38px;

        min-width: auto;

        padding:
            0 10px;

        font-size: 13px;
    }


    .ll-region-dropdown {

        width: 170px;
    }


    #ll-region-popup {

        max-width: 400px;

        padding:
            28px 20px 22px;

        border-radius: 15px;
    }


    .ll-region-title {

        font-size: 20px;
    }


    .ll-region-text {

        font-size: 14px;
    }


    .ll-region-buttons {

        flex-direction: column;
    }


    .ll-region-btn {

        width: 100%;
    }
}