/* The Modal (background) */
.bis_modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.bis_modal-content {
    /* margin: auto;
    width: fit-content;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; */
}

/* The Close Button */
.bis_close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.bis_close:hover,
.bis_close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#bis_notify_me_btn.box-3 {
    max-width: 44rem;
}

.bis_ui_button {
    cursor: pointer;
    padding: 13px;
    width: 100%;
    letter-spacing: 1px;
    border: none;
}

.shopeetech-bis-form-warning {
    color: tomato;
    font-size: 12px;
}

#bis-myModal .black-btn {
    /* background-color: black; */
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: none;
    /* color: #fff; */
}

#bis-myModal .black-btn:disabled {
    background-color: #747474 !important;
    cursor: not-allowed;
}

/* Modal Content */
#bis-myModal .modal-content {
    background-color: unset !important;
    margin: auto;
    padding: 20px;
    border: unset !important;
    width: 20%;
}

/* The Close Button */
.bis_close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.bis_close:hover,
.bis_close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#bis-myModal .modal-title {
    margin: 0;
    line-height: 1.42857143;
}

#bis-myModal .bis-modal-title,
#bis-myModal .bis_product_title {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

#bis-myModal .hide {
    display: none;
}

#bis-myModal .show {
    display: block;
}

#bis-myModal a.action-close {
    font-size: 12px;
    color: blue;
}

#bis-myModal .error_message {
    padding: 1px;
}

#bis_container,
#bis-myModal #thank-you-section {
    font-family: Helvetica, sans-serif;
    background: #ffffff;
    border-color: #ffffff;
    border-width: 0;
    border-style: solid;
}

#bis-myModal .bis_close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;
    filter: alpha(opacity=20);
    opacity: 0.2;
}

.bis_close_btn {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;
    filter: alpha(opacity=20);
    opacity: 0.2;
}

.bis_close_btn:hover,
.bis_close_btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#bis-myModal .modal-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.42857143;
}

#bis-myModal p {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.5;
}

#bis-myModal hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eeeeee;
}

#bis-myModal .product-name {
    margin-bottom: 20px;
}

#bis-myModal .form-horizontal .form-group {
    /* margin-right: -15px; */
    /* margin-left: -15px; */
    margin-bottom: 10px;
}

#bis-myModal .form-horizontal .form-group input:focus-visible,
#bis-myModal .form-horizontal .form-group select:focus-visible {
    outline: none;
    box-shadow: none;
}

/* select dropdown option style  */
#bis-myModal .form-horizontal .form-group .selectpicker {
    background-color: #ffffff;
    padding: 15px 10px;
    width: 100%;
    font-size: 14px;
}

#bis-myModal .form-horizontal .form-group .selectpicker .select-option {
    background-color: #fff;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

/* .form-horizontal .form-group .selectpicker .select-option:checked {
    background-color: #000;
    color: #fff;
  } */

#bis-myModal .col-xs-12 {
    width: 100%;
}

#bis-myModal .col-xs-6 {
    width: 50%;
    padding: 0 7px;
}

#bis-myModal .btn-block {
    display: block;
    width: 100%;
}

/*---- Form */
#bis-myModal .form-control {
    padding: 14px;
    font-size: 15px !important;
    width: 100%;
}

.shopeetech-bis-form-hide-warning {
    font-size: 12px;
    color: tomato;
    display: none;
}

.shopeetech-bis-form-success-msg {
    font-size: 12px;
    color: #00853b;
}

/* responsive  */

@media only screen and (min-width: 992px) {

    #bis-myModal #thank-you-section,
    #bis_container {
        position: fixed;
        /* width: 460px; */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: auto;
    }
}

@media only screen and (min-width: 768px) {

    #bis-myModal #thank-you-section,
    #bis_container {
        position: fixed;
        /* width: 460px; */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: auto;
    }
}

@media only screen and (min-width: 500px) {

    #bis-myModal #thank-you-section,
    #bis_container {
        border-radius: 5px;
        padding: 30px 30px;
    }
}

@media only screen and (max-width: 500px) {

    #bis-myModal #thank-you-section,
    #bis_container {
        border-radius: 5px;
        padding: 15px;
    }
}

/* Mobile responsive centering for popup */
@media only screen and (max-width: 768px) {
    #bis-myModal #thank-you-section,
    #bis_container {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        right: auto !important;
    }
}

#bis-myModal button {
    cursor: pointer;
}

/* Store CSS */
.bis_modal_discovervos_myshopify_com .selectpicker {
    width: 100%;
    padding: 12px;
}

.bis_modal_discovervos_myshopify_com .bis_form_grp {
    margin-bottom: 10px;
}

#error_message {
    padding-left: 20px;
}

.bis_vase-pearlfection_myshopify_com button,
.bis_modal_vase-pearlfection_myshopify_com button {
    padding: 0 !important;
    letter-spacing: inherit;
}

.bis_vase-pearlfection_myshopify_com#bis_notify_me_btn.box-3 {
    max-width: inherit !important;
}

.bis_kimirica-retail_myshopify_com {
    margin-top: 16px;
}

.bis_modal_kimirica-retail_myshopify_com .bis_form_grp {
    margin-top: 10px;
}

.bis-sticky-container {
    -webkit-transform: translate(50%, -50%) rotate(-90deg);
    transform: translate(50%, -50%) rotate(-90deg);
    position: fixed;
    top: 50%;
    right: 25px;
    z-index: 9999;
    text-align: center;
}

.bis-sticky-container #bis-myBtn {
    padding: 10px;
    padding: 0 !important;
    display: block;
    height: 50px;
    width: 180px;
    border: none;
}

/*  natju-lighting.com  */
.bis_natju-lighting_myshopify_com .bis_ui_button {
    border: 1px solid #da2f0c !important;
}

.bis_natju-lighting_myshopify_com {
    width: 100% !important;
}

#bis_spinner:not([hidden]) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    z-index: 99999;
    align-items: center;
    background: #000;
    opacity: 0.5;
}

#bis_spinner::after {
    content: "";
    width: 80px;
    height: 80px;
    border: 2px solid #f3f3f3;
    border-top: 3px solid #000000;
    border-radius: 100%;
    will-change: transform;
    z-index: 99999;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ------------ */
/* Tab Style  */
/* ------------ */
.bis-tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

/* Style the buttons that are used to open the tab content */
.bis-tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    width: 100%;
    border-right: 1px solid #92929280;
}

/* Change background color of buttons on hover */
.bis-tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.bis-tab button.active {
    background-color: #000;
    color: #fff;
}

.bis-tab button:last-child {
    border-right: none;
}

/* ITI Mobile Number Validator style  */
.iti {
    width: 100%;
}


.bis_farmdidi-mystore-com_myshopify_com .bis_ui_button {
    padding: 7px !important;
}

.paymentButtonsWrapper .bis_farmdidi-mystore-com_myshopify_com {
    width: 100% !important;
}

#request-message {
    margin-bottom: 15px;
}

.bis-thank-you-btns {
    display: flex;
    flex-direction: row;
}

/* Upsell Products */
#bis-upsell-products {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e5e5;
}

#bis-upsell-heading {
    margin: 0 0 6px 0;
    font-weight: 600;
    font-size: 12px;
}

#bis-upsell-grid {
    display: grid;
    gap: 6px;
}

#bis-upsell-grid.bis-upsell-horizontal {
    grid-template-columns: repeat(var(--bis-upsell-cols, 4), 1fr);
}

#bis-upsell-grid.bis-upsell-vertical {
    grid-template-columns: 1fr;
}

.bis-upsell-card {
    display: flex !important;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
    min-width: 0;
}

.bis-upsell-horizontal .bis-upsell-card {
    flex-direction: column;
    gap: 3px;
    height: 100%;
}

.bis-upsell-vertical .bis-upsell-card {
    flex-direction: row;
    gap: 6px;
    align-items: center;
}

.bis-upsell-card-img {
    object-fit: cover !important;
    border-radius: 3px;
    flex-shrink: 0;
    display: block;
}

.bis-upsell-horizontal .bis-upsell-card-img {
    width: 100% !important;
}

.bis-upsell-vertical .bis-upsell-card-img {
    width: 32px !important;
    height: 32px !important;
}

.bis-upsell-card-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    color: #333;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.bis-upsell-horizontal .bis-upsell-card-title {
    -webkit-line-clamp: 1;
    flex: 1;
}

.bis-upsell-vertical .bis-upsell-card-title {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.bis-upsell-card-btn {
    border: none !important;
    border-radius: 3px;
    padding: 2px 6px !important;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    line-height: 1.2;
    font-size: 10px !important;
    box-sizing: border-box;
}

.bis-upsell-horizontal .bis-upsell-card-btn {
    width: 100%;
    margin-top: auto;
}

.bis-upsell-vertical .bis-upsell-card-btn {
    flex-shrink: 0;
}

/* .bis-thank-you-btns:first-child {
    padding-left: 0px !important;
}
.bis-thank-you-btns:last-child {
    padding-right: 0px !important;
} */
.bis_modal_3138ef-20_myshopify_com button,
.bis_3138ef-20_myshopify_com button {
    border: none !important;
}


.bis_modal_3138ef-20_myshopify_com .bis-modal-title {
    margin-bottom: 10px;
    text-align: center;
}

.bis_modal_3138ef-20_myshopify_com p {
    text-align: center;
}

.bis_modal_3138ef-20_myshopify_com .bis-modal-title {
    margin-bottom: 10px !important;
    text-align: center !important;
}

.bis_modal_3138ef-20_myshopify_com p {
    text-align: center !important;
}

.bis_modal_3138ef-20_myshopify_com .bis_modal-content {
    width: 90% !important;
}

.bis_modal_3138ef-20_myshopify_com #bis_container {
    padding: 30px 15px !important;
}

.bis_modal_3138ef-20_myshopify_com #request-message {
    margin-bottom: 15px !important;
}

.bis_3138ef-20_myshopify_com {
    max-width: none !important;
}

.bis_3138ef-20_myshopify_com button {
    padding: 18px !important;
}

.bis_modal_3138ef-20_myshopify_com #submit-btn__bis {
    letter-spacing: 0.2rem;
    padding: 18px !important;
}

/* checkboxes style  */
#bis_checkbox_grp {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.bis_box {
    flex: 1;
    margin: 10px 0;
    margin-bottom: 20px;
    text-align: start;
}

.bis-custom-checkbox {
    display: none !important;
    accent-color: #000;
    transform: scale(1.3)
}


/* -------------------------------- */
/* Custom Checkbox added  ---------*/
/* -------------------------------- */
.bis-custom-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px; /* Space between checkbox and label text */
}

/* Custom checkbox style */
.bis-custom-checkbox-style {
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 4px; /* Optional: makes the checkbox rounded */
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Checkbox checked state */
.bis-custom-checkbox:checked + .bis-custom-checkbox-style {
    background-color: #000;
    border-color: #000;
}

/* Optional: Add a checkmark icon */
.bis-custom-checkbox:checked + .bis-custom-checkbox-style::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

/* ------------------------- */
/* Swipper  */
/* ------------------------- */
/* Ensure the Swiper container has a fixed size */
.bis-product-img-container {
    /* width: 100%;
    height: 180px; 
    overflow: hidden; */
}

.bis-product-img {
    /* height: 100%;
    width: 100%;
    object-fit: contain; */
}


/* powered by  */
#shopeetech_powered-by {
    margin: 5px 0 10px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}
#shopeetech_powered-by.powered-by-modal {
    margin-top: 10px;
    margin-bottom: 0px;
}
#shopeetech_powered-by.center {
    justify-content: center;
}
#shopeetech_powered-by .shopeetech_powered-by-text {
    color: #000;
    margin: 0px;
    font-size: 13px;
}

#shopeetech_powered-by .shopeetech_powered-by-img {
    border-radius: 5px;
}

#shopeetech_powered-by.shopeetech_powered-by-hidden {
    display: none !important;
}

/* ------------------------- */
/* Product Image Position Styles */
/* ------------------------- */
#bis_container:has(.bis-img-position-top) {
    max-width: 460px !important;
}
/* Top Position */
.bis-img-position-top {
    /* width: 100%; */
    height: auto;
    min-height: 180px;
    max-height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bis-img-position-top .bis-product-img {
    /* width: 100%;
    height: 100%; */
    /* object-fit: contain; */
    object-position: center;
}

/* Left Position */
.bis-img-position-left {
    width: 50%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bis-container-with-left-img {
    display: flex;
    flex-direction: row;
    min-height: 400px;
    /* max-width: 800px; */
    position: relative;
}

.bis-container-with-left-img .bis_close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    float: none;
}

.bis-container-with-left-img #bis-content-wrapper {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Right Position */
.bis-img-position-right {
    width: 50%;
    /* height: 100%; */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.bis-img-position-right .bis-product-img {
    /* width: 100%; */
    /* height: 100%; */
    /* object-fit: cover; */
}

.bis-container-with-right-img {
    display: flex;
    flex-direction: row;
    min-height: 400px;
    /* max-width: 800px; */
    position: relative;
}

.bis-container-with-right-img .bis_close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    float: none;
}

.bis-container-with-right-img #bis-content-wrapper {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
    order: 1;
}

/* Background Position */
.bis-img-position-background {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


.bis-container-with-background-img {
    position: relative;
}

.bis-container-with-background-img .bis_close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    float: none;
    pointer-events: auto;
}

/* Content elements above background image */
.bis-container-with-background-img #shopeetech-bis-modal-title,
.bis-container-with-background-img #shopeetech-bis-sub-header,
.bis-container-with-background-img #bis_product_title,
.bis-container-with-background-img form,
.bis-container-with-background-img .bis_privacy,
.bis-container-with-background-img hr {
    position: relative;
    z-index: 1;
}
