/* POPUP */
#BLOY-popup-widget__container {
    position: fixed;
    width: 0px;
    height: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 99999;
}

#BLOY-popup-widget__container[data-open='true'] .BLOY-popup {
    opacity: 1;
    transform: none;
    transition: opacity 364ms cubic-bezier(0.4, 0, 0.2, 1), transform 242ms cubic-bezier(0.4, 0, 0.2, 1);
}

#BLOY-popup-widget__container[data-open='false'] .BLOY-popup {
    opacity: 0;
    transform: scale(0.75, 0.5625);
    transition: opacity 364ms cubic-bezier(0.4, 0, 0.2, 1), transform 242ms cubic-bezier(0.4, 0, 0.2, 1) 121ms;
    visibility: hidden;
}

.BLOY-popup__wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 660px;
}

@media (max-width: 450px) {
    #BLOY-popup-widget__container[data-open='true'] .BLOY-popup {
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        height: 100dvh !important;
        max-height: unset !important;
        max-width: unset !important;
        transform: scale(1);
        z-index: 9999999999;
    }
    .BLOY-popup__wrapper {
        max-height: unset;
    }
}

.BLOY-skeleton {
    display: block !important;
    width: 100%;
    background: linear-gradient(90deg, #eeeeeebb 25%, #dededebb 50%, #eeeeeebb 75%);
    background-size: 200% 100%;
    animation: bloySkeletonAnimation 2s infinite ease-in-out;
    margin-top: 14px;
}

.BLOY-skeleton--line {
    height: 15px;
}

div .BLOY-skeleton--line:last-child {
    margin-bottom: 6px;
}

@keyframes bloySkeletonAnimation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.BLOY-popup__noti {
    padding: 100px 0;
    text-align: center;
}

.BLOY-popup__noti > * {
    margin-bottom: 16px;
}

.BLOY-popup__noti-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__noti-text {
    font-size: 13px;
    color: var(--bloy-text-color);
}

.BLOY-popup__noti-other {
    font-size: 13px;
    margin-top: -15px;
    color: var(--bloy-text-color);
}

.BLOY-popup__section {
    background-color: #ffffff;
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
    padding: 14px 16px;
    border-radius: var(--bloy-popup-border-radius, 0);
    opacity: 0;
    animation: bloyFadeInSlideFromLeft 0.2s ease-in-out forwards;
    border: 1px solid #e3e3e3;
}

@keyframes bloyFadeInSlideFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.BLOY-popup__section + .BLOY-popup__section {
    margin-top: 20px;
}

.BLOY-popup {
    position: fixed;
    background-color: #fff;
    width: 350px;
    height: calc(100% - 120px);
    max-height: 660px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5), 0 1px 15px 0 rgba(0, 0, 0, 0.2);
    /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05); */
    overflow: hidden;
    scrollbar-width: none; /* for Firefox */
    -ms-overflow-style: none; /* for IE and Edge */
    right: 20px;
    bottom: 80px;
    border-radius: var(--bloy-popup-border-radius, 0);
    /* border: 1px solid #e3e3e3; */
}

.BLOY-popup__watermark {
    background-color: #ffffff;
    padding: 13px;
    margin-top: auto;
}

.BLOY-popup__watermark-container {
    font-size: 14px;
    display: flex;
    background-color: #e8ecff;
    border-radius: 20px;
    padding: 5px 10px;
    text-align: center;
    margin-top: auto;
    height: 35px;
    align-items: center;
    justify-content: center;
}

.BLOY-popup svg {
    fill: none;
    stroke: unset;
}
.BLOY-popup.BLOY-popup__bg--solid {
    background-color: var(--bloy-popup-background-color);
}

.BLOY-popup.BLOY-popup__bg--img {
    background-image: var(--bloy-popup-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.BLOY-popup__header--img-overlay {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 40%;
    background-color: var(--bloy-primary-color);
}
.BLOY-popup::-webkit-scrollbar,
.BLOY-popup__container::-webkit-scrollbar {
    display: none; /* for Chrome, Safari and Opera */
}

.BLOY-popup__header {
    background-color: #241a28;
    position: relative;
    height: 170px;
}

.BLOY-popup__header.BLOY-popup__header--solid {
    background-color: var(--bloy-popup-header-color);
}

.BLOY-popup__header.BLOY-popup__header--img {
    background-image: var(--bloy-header-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.BLOY-popup.BLOY-popup--fixed .BLOY-popup__header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1;
}

.BLOY-popup__header--title {
    position: absolute;
    color: #ffffff;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 16px;
    line-height: 1.5;
    opacity: 1;
}

.BLOY-popup__header--title-first {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.BLOY-popup__header--title-second {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.BLOY-popup__header--title.BLOY-popup__header--title-fixed {
    opacity: 0;
}

.BLOY-popup__action {
    position: absolute;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    z-index: 2;
}

.BLOY-popup__action button {
    padding: 0 6px;
}

.BLOY-popup__action--close {
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.BLOY-popup__action--back {
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.BLOY-popup__action--back svg,
.BLOY-popup__action--back img {
    width: 20px;
    height: 20px;
}

.BLOY-popup__action--back span {
    margin-left: 2px;
}

.BLOY-popup__container {
    overflow-y: scroll;
    height: calc(100% - 30px);
}

.BLOY-popup__main {
    transform: translateY(-30px);
}

.BLOY-popup.BLOY-popup--fixed .BLOY-popup__main {
    transform: translateY(140px);
}

.BLOY-popup__main-container {
    padding: 0 12px;
    position: relative;
    animation: bloySlideInFromLeft 0.1s ease-in-out forwards;
    z-index: 1;
}

@keyframes bloySlideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* WIDGET */
.BLOY-widget {
    position: fixed;
    height: 50px;
    width: 150px;
    width: fit-content;
    background-color: var(--bloy-primary-color);
    display: flex;
    align-items: center;
    color: #ffffff !important;
    cursor: pointer;
    right: 20px;
    bottom: 20px;
    transition: all 0.2s;
    padding: 0 16px;
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-widget,
.BLOY-widget * {
    box-sizing: content-box;
}

#BLOY-popup-widget__container[data-open='true'] .BLOY-widget {
    width: var(--bloy-widget-width-display) !important;
}

.BLOY-widget__icon {
    line-height: 0;
    display: var(--bloy-widget-icon-display);
}

.BLOY-widget__icon svg,
.BLOY-widget__icon img {
    width: 20px;
    height: 20px;
    fill: #ffffff !important;
}

.BLOY-widget__title {
    margin-left: 8px;
    font-size: 14px;
    overflow: hidden;
    display: block;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    display: var(--bloy-widget-text-display);
}

.BLOY-popup__point-program {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5px;
}

.BLOY-popup__point-referral-program {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0px;
}

.BLOY-popup__point-program:hover {
    background-color: #f9f9f9;
    border-radius: var(--bloy-popup-border-radius, 0);
}
.BLOY-popup__vip-program {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 2px;
}

.BLOY-popup__vip-program:hover {
    background-color: #f9f9f9;
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-popup__next-action + .BLOY-popup__point-program {
    margin-bottom: -14px;
    padding: 5px 2px;
}

.BLOY-popup__next-action + .BLOY-popup__point-program-reward {
    margin-bottom: -14px;
    padding: 12px 0;
}

.BLOY-popup__point-item {
    display: flex;
    align-items: center;
}

.BLOY-popup__point-item svg,
.BLOY-popup__point-item img {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.BLOY-popup__tier {
    font-size: 14px;
    display: flex;
    align-items: center;
    color: var(--bloy-text-color);
}

.BLOY-popup__tier svg,
.BLOY-popup__tier img {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.BLOY-popup__tier + svg,
.BLOY-popup__tier + img {
    width: 25px;
    height: 25px;
}

.BLOY-popup__point-item svg path {
    fill: #4a4a4a;
}

.BLOY-popup__point-item + svg,
.BLOY-popup__point-item + img {
    width: 25px;
    height: 25px;
}

.BLOY-popup__point-item span {
    font-size: 14px;
    font-weight: 400;
    color: var(--bloy-text-color);
}

.BLOY-popup__next-action {
    border-bottom: 1px solid #f0f0f0;
}

.BLOY-popup__next-action .BLOY-popup__item-detail {
    max-width: unset;
}

.BLOY-popup__next-action-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bloy-text-color);
}

.BLOY-popup__login {
    text-align: center;
}

.BLOY-popup__login-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.BLOY-popup__login-body {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin: 6px 0 10px;
    color: var(--bloy-text-color);
}

.BLOY-popup__login-join {
    color: #ffffff;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    background-color: var(--bloy-primary-color);
    border-radius: var(--bloy-popup-btn-border-radius, 0);
    font-family: var(--font-body-family);
}

.BLOY-popup__login-join:hover {
    opacity: 0.7;
}

.BLOY-popup__login-signIn {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin-top: 6px;
}

.BLOY-popup__login-signIn-link {
    text-decoration: none;
}
.BLOY-popup__list-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__list-subtitle {
    font-size: 14px;
    color: var(--bloy-text-color);
}

.BLOY-popup__list-item {
    padding: 14px 0px;
}

.BLOY-popup__list-item + .BLOY-popup__list-item {
    border-top: 1px solid #f0f0f0;
}

.BLOY-popup__item-discount .BLOY-popup__text--primary {
    margin-bottom: 4px;
}

.BLOY-popup__item-discount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.BLOY-popup__item-discountBadge {
    background-color: #e4e5e7;
    padding: 2px 8px;
    border-radius: 28px;
    font-size: 12px;
}

.BLOY-popup__item-content {
    display: flex;
    align-items: center;
}

.BLOY-popup__item-content--disabled {
    opacity: 0.6;
}

.BLOY-popup__item-contentSpacing {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 10px;
}

.BLOY-popup__item-contentIcon {
    line-height: 0;
    margin-right: 12px;
}

.BLOY-popup__item-contentIcon svg,
.BLOY-popup__item-contentIcon img {
    width: 25px;
    height: 25px;
}

.BLOY-popup__item-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.BLOY-popup__item-activity .BLOY-popup__text--primary {
    margin-bottom: 6px;
}

.BLOY-popup__text--primary {
    font-size: 14px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__text--subdued {
    font-size: 14px;
    color: #616161;
}

.BLOY-popup__text--subdued p {
    margin: auto;
}

.BLOY-popup__activity__date {
    text-align: right;
    flex-shrink: 0;
}

.BLOY-popup__discountAction {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.BLOY-popup__emptyState {
    padding: 100px 0;
    text-align: center;
}

.BLOY-popup__emptyState > * {
    margin-bottom: 16px;
}

.BLOY-popup__emptyState-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bloy-text-color);
}

.BLOY-popup__emptyState-text {
    font-size: 13px;
    color: var(--bloy-text-color);
}

.BLOY-popup__emptyState-icon svg,
.BLOY-popup__emptyState-icon img {
    margin: 0 auto;
    width: 36px;
    height: 36px;
}

.BLOY-popup__birthday > * {
    margin-bottom: 14px;
}

.BLOY-popup__birthday-text {
    font-size: 13px;
    color: var(--bloy-text-color);
}

.BLOY-popup__paginate-load {
    text-align: center;
}

.BLOY-popup__paginate-load svg {
    animation: bloyBtnLoading 0.6s infinite linear;
}

.BLOY-confirmation__checkbox_label {
    font-size: 14px;
}

.BLOY-popup__referral_text {
    font-size: 14px;
    font-weight: 400;
    color: var(--bloy-text-color);
}

.BLOY-popup__referral_navigator {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.BLOY-popup__referral-program {
    padding: 0px 2px 14px;
}

.BLOY-popup__referral-program-container {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5px;
}

.BLOY-popup__referral-program-container:hover {
    background: #f9f9f9;
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-popup__referral_rewards {
    padding: 8px;
}

.BLOY-popup__referral_reward {
    display: flex;
    align-items: center;
    gap: 10px;
}

.BLOY-popup__referral_reward_info {
    display: flex;
    flex-direction: column;
}

.BLOY-popup__referral_reward_info span {
    font-size: 14px;
}

.BLOY-popup__referral_reward_receiver {
    color: var(--bloy-text-color);
    font-weight: 400;
}

div.BLOY-popup__referral_reward_value,
span.BLOY-popup__referral_completed_count {
    color: var(--bloy-secondary-color);
}

.BLOY-popup__referral_reward_icon svg {
    width: 20px;
    height: 20px;
}

.BLOY-popup__referral_reward + .BLOY-popup__referral_reward {
    margin-top: 12px;
}

.BLOY-popup__referral_url_container {
    border: 1px solid #ccc;
    margin-top: 6px;
    display: flex;
    border-top-right-radius: var(--bloy-popup-btn-border-radius, 0);
    border-bottom-right-radius: var(--bloy-popup-btn-border-radius, 0);
    border-radius: var(--bloy-popup-border-radius, 0);
    overflow: hidden;
}

.BLOY-popup__referral_sharing_url,
.BLOY-popup__referral_share_socials {
    padding: 10px 0;
}

.BLOY-popup__referral_social_list {
    margin-top: 6px;
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.BLOY-popup__referral_url_input {
    border: none;
    padding: 8px 6px;
    flex: 1;
    outline: none;
    outline-offset: unset;
    box-shadow: none;
}

.BLOY-popup__referral_textarea {
    display: flex;
    flex-direction: column;
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-popup__referral_textarea + .BLOY-popup__referral_textarea {
    margin: 10px 0 14px;
}

.BLOY-popup__referral_textarea textarea {
    margin-top: 4px;
    padding: 12px 8px 12px 12px;
    width: 100%;
    border: 1px solid var(--bloy-secondary-color);
    border-radius: var(--bloy-popup-border-radius, 0);
}

.BLOY-cart__rewards {
    max-width: 400px;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 16px;
}

.BLOY-referral__modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.BLOY-referral__modal_overlay[data-open='true'] {
    opacity: 1;
    visibility: visible;
}

#BLOY-referral__modal {
    position: fixed;
    background-color: #fff;
    border-radius: var(--bloy-popup-border-radius, 0);
    width: 90%;
    height: auto;
    max-width: 400px;
    max-height: 550px;
    padding: 12px;
    overflow-y: visible;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.3s ease, opacity 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2321321312321;
}

#BLOY-referral__modal[data-open='true'] {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}

.BLOY-popup__referral_email_input,
.BLOY-popup__referral_discount_input {
    width: 100%;
    padding: 10px;
    outline: none;
    outline-offset: unset;
    box-shadow: none;
    border-radius: var(--bloy-popup-border-radius, 0);
    border: 1px solid #a4a4a4;
}

.BLOY-popup__referral_email_input_wrapper {
    margin: 2px 0 14px;
}

.BLOY-popup__referral_discount_input {
    margin: 2px 0 14px;
}

.BLOY-popup__referral_btn_group {
    display: flex;
    gap: 12px;
}

.BLOY-popup__referral_error {
    color: #8e1f0b;
    font-size: 14px;
}

.BLOY-popup__referral_success {
    text-align: center;
    color: #0c5132;
    font-size: 14px;
}

.BLOY-popup__referral_social_item {
    cursor: pointer;
}

#BLOY-popup__toast_container {
    position: fixed;
    z-index: 2147483648;
    right: 0;
    left: 0;
    text-align: center;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.BLOY-popup__toast {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: absolute;
    padding: 8px 14px;
    margin: 16px;
    background: var(--bloy-primary-color, #001584);
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.19);
    animation-duration: 0.3s;
    animation-name: BLOY-popupToastSlideUp;
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    bottom: 0;
}

.BLOY-popup__toast__close {
    color: #fff;
}
.BLOY-popup__toast-fadeOut {
    animation-name: BLOY-popupToastFadeOut;
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-fill-mode: forwards;
}

#BLOY-toast-container p,
#BLOY-toast-container h4 {
    margin: 3px 0 !important;
}

.BLOY-popup__toast-text {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
}

.BLOY-popup__toast-icon {
    position: absolute;
    top: 5px;
    left: -40px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #fff;
}

.BLOY-popup__toast a,
.BLOY-popup__toast a:hover {
    color: #549edb !important;
    text-decoration: none !important;
}

/** toast types */
.BLOY-popup__toast-success {
    border-bottom: 2px solid #51c625;
}

.BLOY-popup__toast-warning {
    border-bottom: 2px solid #db9215;
}

.BLOY-popup__toast-error {
    border-bottom: 2px solid #db2b1d;
}

.BLOY-popup__toast-info {
    border-bottom: 2px solid #27abdb;
}

.BLOY-popup__next_tier {
    display: flex;
    align-items: center;
    margin-top: 12px;
    gap: 4px;
}

.BLOY-popup__progress_container {
    width: 100%;
    height: 4px;
    background: #e8ebf9;
    border-radius: 4px;
    overflow: hidden;
}

.BLOY-popup__progress {
    width: 40%;
    height: 4px;
    background: var(--bloy-primary-color);
    border-radius: 4px;
    transition: width 0.3s ease-in-out;
    display: block !important;
}

.BLOY-popup__vip_heading {
    display: flex;
    justify-content: space-between;
}

.BLOY-popup__vip_heading_content {
    text-align: center;
    margin-bottom: 14px;
}

.BLOY-popup__vip_action {
    align-self: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.BLOY-popup__vip_action_disabled {
    visibility: hidden;
}

.BLOY-popup__vip_action:hover {
    cursor: pointer;
    opacity: 0.7;
}

.BLOY-popup__vip_dashboard {
    font-size: 14px;
    color: var(--bloy-text-color);
}

.BLOY-popup__vip_title {
    font-size: 16px;
    font-weight: 600;
}

.BLOY_popup__vip_spent {
    display: inline-block;
    background: #f3f4f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 8px;
    font-weight: 450;
    color: var(--bloy-text-color);
}

.BLOY-popup__vip_perk_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 24px;
    margin-left: 10px;
}

.BLOY-popup__vip_perk_container {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 20px;
    font-size: 14px;
    margin-left: 10px;
    line-height: 20px;
    margin-bottom: 10px;
    height: auto;
}

.BLOY-popup__vip_perk_container svg {
    width: 18px;
    height: 18px;
}

.BLOY-popup__vip_perk_container img {
    height: 18px;
    width: 18px;
}
.BLOY-popup__vip_perk span {
    font-size: 14px;
    font-weight: 400;
}

.BLOY-popup__vip_perk + .BLOY-popup__vip_perk {
    margin-top: 12px;
}

.BLOY-popup__tier_desciption {
    color: var(--bloy-text-color);
}

/* .BLOY-popup__vip_perkTitle {

} */

@keyframes BLOY-popupToastSlideUp {
    from {
        transform: translate3d(0, 400px, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes BLOY-popupToastFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#BLOY-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}
.BLOY-popup__bottom {
    display: block !important;
    padding: 10px 0;
}
