.pdp-delivery-estimation{
    margin: 0 0 15px;
}

.pdp-delivery-estimation .area-date{
    margin: 0 0 6px
}

.pdp-delivery-estimation .area-date > span{
    color: #28d9aa;
}

.pdp-delivery-estimation .area-summary{
    display: inline-flex;
    align-items: center;
    border: 1px solid #31e4b8;
    border-radius: 8px;
    color: #31e4b8;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.3px;
    line-height: 23px;
    padding: 5px 12px;
    position: relative;
}

.pdp-delivery-estimation .area-summary img{
    margin: 0 5px 0 0;
}

.pdp-delivery-estimation .area-summary .summary-list .area,
.pdp-delivery-estimation .area-summary .summary-list .sub-area{
    border-radius: 7px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
    display: none;
    width: 230px;
    height: 245px;
    position: absolute;
    left: -1px;
    top: calc(100% + 10px);
    z-index: 8;
    list-style: none;
    margin: 0 0 0;
    padding: 0 15px;
    overflow-y: auto;
}

.pdp-delivery-estimation .area-summary .summary-list .area.active,
.pdp-delivery-estimation .area-summary .summary-list .sub-area.active{
    display: block;
}

.pdp-delivery-estimation .area-summary .summary-list .sub-area{
    left: 229px;
    height: 270px;
}

.pdp-delivery-estimation .area-summary .summary-list .area li,
.pdp-delivery-estimation .area-summary .summary-list .sub-area li{
    border-bottom: 1px solid #dfdfdf;
    color: #000;
    font-weight: normal;
    letter-spacing: 0.5px;
    padding: 9px 0;
    position: relative;
}

.pdp-delivery-estimation .area-summary .summary-list .area li:after{
    content: '';
    background: url('../images/arrows.svg');
    position: absolute;
    right: 0px;
    top: 50%;
    width: 14px;
    height: 14px;
    background-size: 100% 100%;
    transform: translateY(-50%);
}

.pdp-delivery-estimation .area-summary .summary-list .area li:last-of-type,
.pdp-delivery-estimation .area-summary .summary-list .sub-area li:last-of-type{
    border-bottom: 0;
}

.pdp-delivery-estimation .area-summary.inn{
    border: none;
    color: #000;
    font-weight: normal;
    padding: 0;
}

.pdp-delivery-estimation .area-summary.inn img{
    display: none;
}

.pdp-delivery-estimation .area-summary.inn .default{
    display: none;
}

.pdp-delivery-estimation .area-summary .fetched{
    display: none;
}

.pdp-delivery-estimation .area-summary.inn .fetched{
    display: block;
    font-size: 14px;
}

.loading-mask{
    position: relative;
}

.loading-mask .loader{
    background: rgb(0 0 0 / 60%);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.loading-mask .loader img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50px;
}

html[lang="ar"] .pdp-delivery-estimation .area-date{
    display: flex;
    flex-direction: row-reverse;
    margin: 0 0 6px
}

html[lang="ar"] .pdp-delivery-estimation .area-date > span{
    direction: rtl;
    margin: 0 5px 0 0;
}

html[lang="ar"] .pdp-delivery-estimation .area-summary{
    flex-direction: row-reverse;
}

html[lang="ar"] .pdp-delivery-estimation{
    text-align: right;
}

html[lang="ar"] .pdp-delivery-estimation .area-summary img{
    margin: 0 0 0 5px;
}

html[lang="ar"] .pdp-delivery-estimation .area-summary .summary-list .area,
html[lang="ar"] .pdp-delivery-estimation .area-summary .summary-list .sub-area{
    left: auto;
    right: 0;
}

html[lang="ar"]  .pdp-delivery-estimation .area-summary .summary-list .area.active,
html[lang="ar"]  .pdp-delivery-estimation .area-summary .summary-list .sub-area.active{
    display: block;
}

html[lang="ar"] .pdp-delivery-estimation .area-summary .summary-list .sub-area{
    right: 230px;
    height: 270px;
}

@media(min-width: 768px){
    .mobile-delivery-popup{
        display: none !important;
    }
}

@media(max-width: 767px){
    .pdp-delivery-estimation .area-summary .summary-list{
        display: none;
    }
    
    .mobile-delivery-popup{
        display: none;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9999;
    }

    .mobile-delivery-popup .back{
        display: inline-flex;
        align-items: center;
        height: 60px;
        padding: 0 15px;
    }

    .mobile-delivery-popup .back > svg{
        height: 15px;
        transform: rotate(180deg);
    }

    .mobile-delivery-popup .delivery-content > ul{
        display: flex;
        justify-content: space-around;
        list-style: none;
        border: 1px solid #d6d6d6;
        border-left: none;
        border-right: none;
        margin: 0;
        padding: 0;
    }

    .mobile-delivery-popup .delivery-content li{
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        height: 48px;
        letter-spacing: 0.5px;
        line-height: 1;
        text-align: center;
        text-transform: uppercase;
    }

    .mobile-delivery-popup .delivery-content li.active{
        background-color: #e6e6e6;
    }

    .mobile-delivery-popup .delivery-content .listing-areas,
    .mobile-delivery-popup .delivery-content .listing-cities{
        height: calc(100vh - 118px);
        overflow-y: auto;
    }

    .mobile-delivery-popup .delivery-content .listing-areas ul,
    .mobile-delivery-popup .delivery-content .listing-cities ul{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 8px 0 0;
        padding: 0;
    }

    .mobile-delivery-popup .delivery-content .listing-areas li,
    .mobile-delivery-popup .delivery-content .listing-cities li{
        width: 100%;
        border-bottom: 1px solid #ccc;
        justify-content: flex-start;
        font-weight: normal;
        letter-spacing: 0.7px;
        padding: 17px 35px;
        text-transform: none;
    }

    html[lang="ar"] .mobile-delivery-popup .back{
        flex-direction: row-reverse;
    }

    html[lang="ar"] .mobile-delivery-popup .back > svg{
        transform: rotate(0deg);
    }

    html[lang="ar"] .mobile-delivery-popup .delivery-content > ul{
        flex-direction: row-reverse;
    }

    html[lang="ar"] .mobile-delivery-popup .delivery-content .listing-areas li,
    html[lang="ar"] .mobile-delivery-popup .delivery-content .listing-cities li{
        justify-content: flex-end;
    }
}