.lichtPurchased .contm {
    width: 600px;
} 
.lichtPurchased .contm {
    width: 600px;
} 
.lichtPurchased .formbx.receiver {
    padding: 15px;
    border-radius: 3px;
    background-color: #eee;
    margin: 15px 0 0;
} 
.lichtLogin.lichtFP .contm {
    width: 500px;
}
.lichtLogin.lichtFP .formwbx button {
    width: 100%;
    margin: 0;
}
.lichtLogin.lichtFP .formwbx .taste {
    margin: 15px 0;
}
.lichtLogin.lichtFP .formwbx [href="my-account?view=forgetpassword"] {
    font-size: 80%;
    display: table;
    max-width: 100%;
    margin: 0 0 60px auto;
}
.licht .contbx > .contbx-w {
    padding: 30px;
}
.btnViewCart.btnSticky {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 50;
    min-width: auto;
    border-radius: 3px;
    transform-origin: right top;
    rotate: 90deg;
    translate: 0 225px;
    padding: 10px 12px 12px 12px;
}
.btnViewCart.btnSticky .bg-mask{
    background-color: #fff;
}
.btnViewCart.btnSticky .bimgw {
    width: 21px;
    margin: 0 6px -3px 0;
    rotate: -90deg;
}

.lichtDASHUSERlogout .contm {
    width: 600px;
}
.lichtDASHUSERlogout .contbx > .contbx-w {
    padding: 30px 20px;
} 
.lichtDASHUSERlogout .btnbx {
    margin: 15px 0 0;
}
.lichtDASHUSERlogout .btnbx .btn {
    margin: 3px
}
@media (width < 575px) {
    .lichtDASHUSERlogout .btn {
    width: 100%;
    margin: 3px 0;
    }
}

/* ====================================== */
/* ====================================== */

.cartdisplayerbx{

    --pad-space: 15px;  

    
    .remove{
        .btnRemove{
            background-color: rgb(177, 23, 23);
            color: #fff;
            border-radius: 3px;
            border: 0;
            min-width: auto; 
            opacity: 0.5;
            aspect-ratio: 1;
            width: 35px;
            font-size: 65%;
            line-height: 1;
            padding: 0;

            &:hover{
                opacity: 1;
            }

        }
    }
    .error {
        border-color: orangered !important;

        .errorbx{
            padding: 0 0 15px;
            color: orangered;
        }
    }
    

    .infobx{
        color: #888;
    }
    .total_price{
        position: absolute;
        right: 0;
        top: 0;
        color: var(--clr02);
        font-size: 120%;
    }
    
    
    

    .cartdisplayer{
        overflow: clip;
        overflow-y: auto;  
        height: 100%;
    }

    .cartdisplayerinner{
        z-index: 1;
        flex-direction: column; 

        .productimage{
            .bimgw{
                width: 70px;
                border-radius: 9px;

                .bimg{
                    background-color: #ddd;
                }
            }
        }
        
        
        .mid{
            z-index: 0;
            flex: 1 0 0;
        }
        .bot{
            z-index: 1;
            margin-top: 0;
            position: sticky;
            bottom: 0; 
            line-height: 1;
        }
        .infobx{
            font-size: 75%; 
        }
    }

    .total_price_display {
        font-size: 200%;
        font-family: var(--ft-t1);
        text-align: center;
        

        &>*{
            margin: 0 0 9px; 
        }
    }
    
    &.slidemode{ 
        position: fixed;
        z-index: 999;
        right: var(--pad-space);
        top: var(--pad-space);
        translate: 150% 0;
        transition: .6s all cubic-bezier(0.075, 0.82, 0.165, 1);
        line-height: 1; 

        .cartdisplayerinner > * {
            padding: 15px;
        }

        .cartdisplayerw{
            height: calc(100svh - (var(--pad-space) * 2));
            width: 450px!important;
            max-width: calc(100svw - (var(--pad-space) * 2));
            background-color: #fff;
            border: 2px solid #ccc;
            border-radius: 21px;
            overflow: hidden;
        }

        .bot{
            background-color: #fff;
        }

        .top{
            z-index: 1;
            position: sticky;
            top: 0;
            font-size: 200%;
            font-family: var(--ft-t1);
            background-color: #fff;

            .close{
                color: rgb(192, 17, 17);
                cursor: pointer;
            }
        }
    }
    &.show{
        translate: 0 0 !important;
    }
    &.detail_page {
        max-width: 100%;

        .cartdisplayerw {
            max-width: 100% !important;
            width: 450px;
        }
        .cartdisplayer{
            overflow: clip !important
        }
        .bot{
            margin: 21px 0 !important;
            
            .total_price_display > *{
                padding: 21px 15px; 
                border: 0 solid #ccc;
                background-color: var(--clr02) !important;
                color: #fff;
                border-radius: 6px;
            }
        }

    }
}

.ecombx,
.ecombx.categorylistbx.ecom_design_1{
    --listset-gap: 21px;
    --listset-count: 4;
    @media(width<991px){
        --listset-count: 3;
    }
    @media(width<767px){
        --listset-count: 3;
    }
    @media(width<575px){
        --listset-count: 2;
    }

    .categorybx{
        flex-direction: column;
    }
    .itom, .categorybx{  

        .bimg{
            scale: 1.15;
            transition: 1.2s all cubic-bezier(0.165, 0.84, 0.44, 1)
        }
        &:hover{
            .bimg{
                scale: 1;
            }
        }

        & a {
            width: 100%;
        }

        .btm{
            margin-top: auto;
            padding: 3px 0 0;
        }

        .btn {
            --btnbgclr: var(--clr01, #000);
            --btnbgclrhov: var(--clr02);
            --btnborderclr: var(--btnbgclr);
            --btnborderclrhov: var(--btnbgclrhov);
            --btnclr: var(--clr01x, #000);
            --btnclrhov: var(--clr01x, #fff);

            gap: 6px;
            width: 100%;
        }

        .tmpttl{
            line-height: 1;
            margin: 15px 0 0;

            & > * ~ * {
                margin: 6px 0 0;
            }

            .ttl{
                font-family: var(--ft-t1);
            } 
    
            .rate_img{
                aspect-ratio: 15 / 2;
                width: 90px;
                max-width: 100%;
                display: block;
            }
        }

        .variancebx {
            font-size: 70%;
            position: relative; 
            cursor: pointer;
            z-index: 4;
            line-height: 1;

            .choosen{
                padding: 6px 21px 6px 0;
            }
            & i {
                position: absolute;
                right: 6px;
                top: 6px; 
                color: #ccc;
                pointer-events: none;
            }
            &:hover i { 
                color: var(--clr02);
            }



            .optionbx{
                display: none; 
                background-color: #eee;
                position: absolute;
                border: 1px solid #ccc;
                width: 100%;
                bottom: 0;
                left: 0;
                translate: 0 100%;
                border-radius: 6px;
                overflow: hidden;

                & [option] {
                    padding: 9px;
                    width: 100%;

                    &:hover{
                        background-color: var(--clr02);
                        color: #fff;
                    }
                }
            }

            &.active{
                .optionbx{
                    display: block;
                }
            }
        }

    }
}
.unit_manupulator{ 

    .quantitybx{
        line-height: 0;
        font-family: var(--ft-t1);

        .bimgw{
            width: 30px; 
            .bimg{
                background-color: var(--clr01);
                scale: 1 !important;
            }
        }

        .btnAdjust{
            background-color: transparent;
            border-radius: 0;
            border: 0;
            min-width: auto;
            padding: 0;

            &:hover{
                .bimg{
                    background-color: var(--clr02);
                }
            }
        }  

        & input{
            padding: 0;
            background-color: transparent;
            width: 60px;
            margin: 0;
            text-align: center;
            pointer-events: none;
            border: 0;
        }
    }
}

[ecombtn]{
    --transition: .6s all ease;
    cursor: pointer;
    position: relative;
    line-height: 1;
    transition: var(--transition);
    
    .ecombtnbx{
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        gap: 6px;
    }
 
    .bimgbx{
        line-height: 0;
        .bimgw{
            width: 21px;

            .bimg{
                background-color: #000;
                transition: var(--transition);
            }
        }
    }

    &:hover{
        color: var(--clr02);
        .bimg{
            background-color: var(--clr02) !important;
        }
    }

    .items_count{
        position: absolute;
        right: 0;
        top: 0;
        translate: 50% -50%;
        font-size: 50%;

        &>*{
            display: flex;
            justify-content: center;
            align-items: center; 
            background-color: rgb(189, 24, 24);
            color: #fff;
            line-height: 1;
            border-radius: 6px;
            padding: 3px 6px;
            font-family: var(--ft-t1);
        }
    }

    .currencybx{
        display: none;
        pointer-events: none;
        position: absolute;
        right: 0;
        bottom: 0;
        min-width: 100%;
        translate: 0 100%; 
        background-color: #fff;
        border: 2px solid #ccc;
        border-radius:6px;

        [currency] {
            padding:  3px  9px;
            color: var(--bdclr);

            &:hover{
                color: #fff;
                background-color: var(--clr02);
            }
        }

    }

    &:not(.active){
        .currencybx{
            display: none;
        }
    }
}


.categorylistbx.doctorbx{
    --div-list-l: 200px;
    line-height: 1.1;
    font-family: inherit !important;


    .categoryw {
        gap: 9px 0;
    }

    .listo-l {
        .bimgbx{
            line-height: 0;
        }
        .bimgw{
            border-radius: 9px;
        }
    }
    .listo-r {
        padding-left: 15px; 
 
        .listo-rw{
            gap: 15px;

            & > * {
                width: 100%;
            }
        }

        .title{
            font-family: var(--ft-t1);
        }
        .desc.ellipsis {
            --line: 3;
            line-height: 1.5;
        }
        .taste{
            margin-top: auto;
        }

        .infobx{
            gap: 6px;

            & > * {
                width: 100%;
            }
            
        }

        .labelbx {
            gap: 3px;
            
            .label-{
                border-radius: 3px;
                font-family: var(--ft-t1);
                border: 1px solid #ccc;
                font-size: 80%;
                padding: 3px 6px;
            }
        }
    }

    .floaterbx {
        position: absolute;
        z-index: 12;
        bottom: 0;
        left: 0;
        padding: 15px;
        padding-top: 30px;
        line-height: 1;
        font-family: var(--ft-t1);
        color: #fff;
        width: 100%;
        background-image: linear-gradient(0deg, rgba(0,0,0,.5) 30%, rgba(0,0,0,0) 100%);


        @media(width>575px){
            display: none;
        }

        .title{
            font-size: 120%;
            margin: 0 0 6px;
        }

        .labelbx {
            gap: 3px;
            
            .label-{
                border-radius: 3px;
                font-family: var(--ft-t1);
                border: 1px solid #ccc;
                font-size: 80%;
                padding: 3px 6px;
            }
        } 

    }

    @media(width<=575px){
        .listo-l,
        .listo-r{
            flex: 0 0 100%;
            max-width: 100%;
            padding: 0;
        }
        .listo-r{
            .title,
            .labelbx{
                display: none;
            }

            .taste{
                .btn{
                    flex: 1 0 0;
                }
            }
        }
    }

    .listo-l{
        transition: .9s all cubic-bezier(0.165, 0.84, 0.44, 1);
        opacity: 1;
    }
    .listo-r{ 
        transition: .9s all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
        translate: 0 0;
    }

    .categorybx:not(.inview) {
        .listo-l{ 
            opacity: 0;
        }
        .listo-r{
            opacity: 0;
            translate: 50px 0;
        }
    }
}



.dropdownbx {
    font-family: var(--ft-t1);
    pointer-events: none;
    position: fixed;
    top: 210px;
    width: calc(100% - 60px) !important;
    max-height: 50svh;
    overflow: clip;
    overflow-y: auto;
    z-index: 8;
    left: 50%;
    translate: -50% 60px;
    background-color: #fff; 
    border-radius: 15px;
    opacity: 0;
    transition: .3s all ease-out, 0s left;
    line-height: 1.2;
    border: 2px solid #ddd;

    &.active{
        pointer-events: all;
        translate: -50% 0;
        opacity: 1;
    }

    & a {
        display: block;

        &:hover{
            color: var(--clr02);
        }
    }
    .dropdownw{
        padding: 65px;
    }

    .categorylistbx{
        --listset-count: 3;
        --listset-gap: 60px;

        .title{ 
            font-size: 120%;
            padding: 0 0 9px;
            margin: 0 0 9px;
            border-bottom: 1px solid #ccc;
            color: var(--clr01);
        }

        .listbx{
            font-size: 90%; 

            & > * ~ * {
                margin-top: 6px;
            }
 
        }
    }

    &[dropid] {
        width: auto !important;
        max-width: 350px !important;
        min-width: 200px;
        translate: 0 60px;

        &.active{ 
            translate: 0 0; 
        }
        .dropdownw{
            padding: 21px;
        }

        & li, 
        & ul{
            list-style-type: none;
            padding: 0;
            margin: 0;
            width: 100%; 
        }

        & li ~ li {
            margin-top: 12px;
        }
    }
}

body{
   
    &.scrolled{
        .dropdownbx {
            top: 80px;
        }
    } 
}



.app_icon {
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-image: var(--icon-url);
    -webkit-mask-image: var(--icon-url);
    background-color: var(--icon-clr, #aaa);
    transition: .4s all ease;

    &.app_icon_website_profile{
        --icon-url: url(src/icon_website_profile.png)
    }
    &.app_icon_logout{
        --icon-url: url(src/icon_logout.png)
    }
    &.app_icon_setting{
        --icon-url: url(src/icon_setting.png)
    }
    &.app_icon_missing_image{
        --icon-url: url(src/icon_missing_image.png)
    }
    &.app_icon_edit{
        --icon-url: url(src/icon_edit.png)
    }
    &.app_icon_trash{
        --icon-url: url(src/icon_trash.png)
    }
    &.app_icon_menu{
        --icon-url: url(src/icon_menu.png)
    }
    &.app_icon_left_arrow{
        --icon-url: url(src/icon_left_arrow.png)
    }
    &.app_icon_overview{
        --icon-url: url(src/icon_overview.png)
    }
    &.app_icon_doctors{
        --icon-url: url(src/icon_doctors.png)
    }
    &.app_icon_medical_services{
        --icon-url: url(src/icon_medical_services.png)
    }
    &.app_icon_video{
        --icon-url: url(src/icon_video.png)
    }
    &.app_icon_clinic_profile{
        --icon-url: url(src/icon_clinic_profile.png)
    }
    &.app_icon_password{
        --icon-url: url(src/icon_password.png)
    }
    &.app_icon_email{
        --icon-url: url(src/icon_email.png)
    }
    &.app_icon_request{
        --icon-url: url(src/icon_request.png)
    }
    &.app_icon_schedule{
        --icon-url: url(src/icon_schedule.png)
    }
    &.app_icon_profile{
        --icon-url: url(src/icon_profile.png)
    }
    &.app_icon_medical_report{
        --icon-url: url(src/icon_medical_report.png)
    }
    &.app_icon_appointment{
        --icon-url: url(src/icon_appointment.png)
    }
    &.app_icon_save{
        --icon-url: url(src/icon_save.png)
    }
    &.app_icon_message{
        --icon-url: url(src/icon_message.png)
    }
    &.app_icon_send{
        --icon-url: url(src/icon_send.png)
    }
}

.btn_save{

    border: 1px solid #ddd;
    background-color: transparent;
    border-radius: 9px;
    padding: 0 12px;
    position: relative;

    .bimgbx{
        line-height: 0;
        width: 25px;
    }

    .app_icon{
        --icon-clr: #ccc;
    }

    &.active{
        .app_icon{
            --icon-clr: green;
        }
        &:hover{
            .app_icon{
                --icon-clr: green;
            }
        }
    }
    &:hover{
        .app_icon{
            --icon-clr: #999;
        }
    }

    &::after{
        content: "Save";
        display: inline-flex;
        padding: 9px 12px;
        line-height: 1;
        position: absolute;
        top: 0;
        left: 50%;
        translate: -50% 0;
        opacity: 0;
        background-color: #ddd;
        font-family: var(--ft-t1);
        font-size: 80%;
        transition: .3s all ease;
        border-radius: 3px;
        pointer-events: none;
    }

    &:not(.active){ 

        &:hover{
            &::after{
                opacity: 1;
                translate: -50% calc(-100% - 6px);
            }
        }
    }
    &.active{
        &::after{ 
            content: "Saved";
            background-color: rgb(160, 239, 160);
            color: green; 
        }

        &:hover{
            &::after{
                opacity: 1; 
                translate: -50% calc(-100% - 6px);
            }
        }
    }

}
.btn_message{
    border: 1px solid #ddd;
    background-color: transparent;
    border-radius: 9px;
    padding: 0 12px;
    position: relative;

    .bimgbx{
        line-height: 0;
        width: 25px;
    }

    .app_icon{
        --icon-clr: #ccc;
    }

    &.active{
        .app_icon{
            --icon-clr: green;
        }
        &:hover{
            .app_icon{
                --icon-clr: green;
            }
        }
    }
    &:hover{
        .app_icon{
            --icon-clr: #999;
        }
    }

    &::after{
        content: "Message";
        display: inline-flex;
        padding: 9px 12px;
        line-height: 1;
        position: absolute;
        top: 0;
        left: 50%;
        translate: -50% 0;
        opacity: 0;
        background-color: #ddd;
        font-family: var(--ft-t1);
        font-size: 80%;
        transition: .3s all ease;
        border-radius: 3px;
        pointer-events: none;
    }

    &:not(.active){ 

        &:hover{
            &::after{
                opacity: 1;
                translate: -50% calc(-100% - 6px);
            }
        }
    }
    &.active{
        &::after{ 
            content: "Saved";
            background-color: rgb(160, 239, 160);
            color: green; 
        }

        &:hover{
            &::after{
                opacity: 1; 
                translate: -50% calc(-100% - 6px);
            }
        }
    }

}


.licht.pop_sign{
    .contm{
        width: 500px;
    }
}

html:has([mn="8996"], [mn="8997"], [mn="8998"], [mn="8999"]), 
body:has([mn="8996"], [mn="8997"], [mn="8998"], [mn="8999"]) {
    overscroll-behavior: contain !important;
    overflow-y: auto;
}

.messagebx.pop{
    display: block !important;
    position: fixed !important;
    height: 100svh !important;
    width: 100svw !important;
    top: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(9px); 
    opacity: 0;

    pre{
        margin: 0;
        line-height: inherit;
        font-family: inherit;
    }

    &:not(.closing){
        transition: .9s all ease;
    }

    &.active{
        opacity: 1;
    }
    
    .messagew{
        width: 100%;
        height: 100%;
        padding: 21px;
    }

    .chatbx{
        width: 800px;
        max-width: 100%;
        height: 100%;
        margin: 0 auto;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 15px;

        .chatw{
            padding: 21px;
        }
    }

    .dialogbx{
        background-color: #eee;
        border-radius: 15px;

        .dialogw{ 

            .dialogw-{
                padding: 15px;
                gap: 3px;
            }
        } 
    }

    .chatw {
        flex-direction: column;
        line-height: 1.2;
        gap: 6px;

        .top{
            .btn_close{
                cursor: pointer;
            }
            .title{
                font-family: var(--ft-t1);
            }
            .noticettl{
                font-size: 80%;
            }

            .div-l{
                flex: 0 0 25px;
                max-width: 25px;

                .bimgbx{
                    line-height: 0;
                    width: 100%;
                }
            }
            .div-r{
                flex: 0 0 calc(100% - 25px);
                max-width: calc(100% - 25px);
                padding-left: 15px;

                .bimgbx{
                    line-height: 0;
                    width: 45px;
                }
            }
        }

        .mid{
            flex: 1 0 0;
            overflow: clip;
            overflow-y: auto;
        }

        .btm{
            position: relative;
            line-height: 1;
            background-color: #eee;
            border-radius: 6px;
            overflow: clip;

            textarea{
                max-height: 200px;
                height: 100px;
                resize: none;
                margin: 0;
                width: 100%;
                background-color: transparent;
            }

            .div-l{
                flex: 1 0 0;
            }
        }
    }

    .msgtxt-{

        --border-radius: 12px;

        .txtbx{ 
            border-radius: var(--border-radius); 
            max-width: calc(100% - 21px);
            padding: 15px;
        }

        &:first-child{
            &.self{
                .txtbx{
                    border-top-right-radius: var(--border-radius);
                }
            }
            &:not(.self){
                .txtbx{
                    border-top-left-radius: var(--border-radius);
                }
            }
        } 
        &:last-child{
            &.self{
                .txtbx{
                    border-bottom-right-radius: var(--border-radius);
                }
            }
            &:not(.self){
                .txtbx{
                    border-bottom-left-radius: var(--border-radius);
                }
            }
        } 

        &.self{
            justify-content: flex-end;

            .txtbx{
                border-top-right-radius: 0;
                border-bottom-right-radius: 0;
                background-color: var(--clr01);
                color: #fff;
            }  
            
            & + .msgtxt-:not(.self){
                .txtbx{
                    border-top-left-radius: var(--border-radius);
                }
            }
            &:has(+ .msgtxt-:not(.self)){
                .txtbx{
                    border-bottom-right-radius: var(--border-radius);
                }
            }
        }

        &:not(.self){
            .txtbx{
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
                background-color: var(--clr02);
                color: #fff;
            }

            & + .msgtxt-.self{
                .txtbx{
                    border-top-right-radius: var(--border-radius);
                }
            }
            &:has(+ .msgtxt-.self){
                .txtbx{
                    border-bottom-left-radius: var(--border-radius);
                }
            }
        } 
    }

    button.btn_icon{
        padding: 12px;
        aspect-ratio: 1;
        width: 45px;
        max-width: 100%;
        border: 0;
        background-color: #eee;
        border-radius: 6px;

        .bimgbx{
            line-height: 0;
            width: 100%;
        }

        &:hover{
            background-color: #ccc;

            .app_icon{
                --icon-clr: #333;
            } 
        }
 
    }
}