/* auto add to cart   */
.page-content-wrapper.qloader {
    position: relative;
}
.woocommerce .qloader::before {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    right: 50%;
    margin-right: -.5em;
    margin-top: -.5em;
    content: '';
    -webkit-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
    background: url(../images/loader.svg) center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0, 0, 0, .75);
    z-index: 9;
}

.woocommerce .qloader::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--element-background-color);
    z-index: 9;
    right: 0;
    top: 0;
    border-radius: 15px;
    opacity: 0.5;
}

/*
notice
*/

.asc-notice {
    position: fixed;
    bottom: 15px;
    right: 45%;
    z-index: 9999;
    color: #fff;
    max-width: 400px;
}

@media(max-width:600px){
    .asc-notice {
        left: 15px;
        right: 15px;
    }
}

.asc-notice a.button {
    background: none !important;
    padding: 12px !important;
    height: auto !important;
    margin-top: 5px !important;
    color: #fff;
    border: 1px solid;
    border-radius: 10px;
}

.asc-notice .woocommerce-error li,
.asc-notice .woocommerce-message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: start;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding-right: 3rem;
}

.asc-notice .woocommerce-message::before,
.asc-notice .woocommerce-error::before {
    content: unset;
}

.asc-notice ul.woocommerce-error {
    border: none;
    margin: 0;
    background: #dc3545;
    position: relative;
    border-radius: 7px;
}

.asc-notice .woocommerce-message {
    border: none;
    margin: 0;
    background: #28a745;
    position: relative;
    border-radius: 7px;
}

.notice-close {
    position: absolute;
    right: 8px;
    top: 6px;
    color: #fff;
    cursor: pointer;
}

.asc-notice > * + * {
    margin-top: 15px !important;
}

.asc-notice .woocommerce-message p {
    margin-bottom: 8px;
    color: #fff;
}

/*
notice end
*/

/*
Preloader
*/


svg.preloader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    color: var(--color-primary);
    z-index: 100;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite;
    width: 2.125rem;
    -webkit-transition: opacity 1s cubic-bezier(0.28, 0.12, 0.22, 1);
    transition: opacity 1s cubic-bezier(0.28, 0.12, 0.22, 1);
}

svg.preloader .path {
    stroke: currentColor;
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite; }

@-webkit-keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg); }
}

@keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg); }
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 187; }
    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg); }
    100% {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg); }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187; }
    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg); }
    100% {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg); }
}

/*
End preloader
*/
.map {
    display: flex;
}
.map-mark {
    width: 90px;
    background-color: #FA223A;
    border-radius: 25px;
    z-index: 2;
    background-image: url("../images/map-mark.svg");
    background-repeat: no-repeat;
    background-position: right;
}
.map-popup {
    position: relative;
    border: 1px solid #e3dede;
    background-color: white;
    padding: 12px 32px;
    border-radius: 10px 25px 25px 10px;
    margin-right: -55px;
    z-index: 3;
}
.map-popup {
    position: relative;
    border: 1px solid #e3dede;
    background-color: var(--background-color);
    padding: 12px 32px;
    border-radius: 10px 25px 25px 10px;
    margin-right: -55px;
    z-index: 3;
    transition-duration: 0.3s;
}
.map-popup:hover {
    background-color: #fa223a;
    border-color: #fa223a;
    color: #fff;
}
body a.map-popup:active {
    border: 1px solid #e3dede !important;
}

.map-lightbox {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    z-index: 999999;
    display: none;
}
.map-lightbox .popup-container {
    width: 800px;
    height: 600px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 56;
}
#app {
    width: 100%;
    height: 100%;
}

#center-marker {
    width: 42px;
    height: 42px;
    background-image: url('https://cdn.map.ir/web-sdk/1.4.2/assets/images/marker-default-blue.svg');
    background-repeat: no-repeat;
    position: absolute;
    z-index: 99999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    cursor: pointer;
}

#avin-map-address {
    position: absolute;
    top: 0;
    z-index: 999;
    text-align: center;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #FFF;
    padding: 10px 0;
    font-size: 10px;
}
.submit-address {
    position: absolute;
    bottom: 4px;
    width: 25%;
    height: 45px;
    background-color: #ff0871;
    z-index: 999;
    right: 25px;
    border-radius: 12px;
    color: #fff;
    border: unset !important;
}
.woocommerce-checkout form #order_review {
    border: 1px solid var(--gray-normal);
    border-radius: 15px;
    padding: 20px;
}
