/** Fonts **/

[class^="xoo-cp-icon-"], [class*=" xoo-cp-icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'added-to-cart-popup-woocommerce' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.add-to-cart-loader {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0000005C;
    backdrop-filter: blur(4px) !important;
    z-index: 9999;
}

/** -- **/
.xoo-cp-opac {
    z-index: 99998;
    position: fixed;
    display: none;
    background-color: #0000005C;
    backdrop-filter: blur(4px) !important;
}

.xoo-cp-opac, .xoo-cp-modal, .xoo-cp-cont-opac {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.xoo-cp-modal {
    position: fixed;
    text-align: center;
    z-index: 99998;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
}

.xoo-cp-modal .xoo-cp-container {
    transition: .3s ease;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}

.xoo-cp-active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

.xoo-cp-cont-opac {
    position: absolute;
    z-index: 1;
    background: #ffffff42;
    backdrop-filter: blur(2px);
}

.xoo-cp-modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.xoo-cp-container {
    display: inline-block;
    max-width: 650px;
    background: #fff;
    position: relative;
    vertical-align: middle;
    width: 90%;
    text-align: left;
    overflow: hidden;
    box-shadow: 2px 8px 23px 3px #00000033;
    padding: 15px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

span.xoo-cp-close {
    position: absolute;
    width: 27px;
    height: 27px;
    top: 20px;
    left: 20px;
    padding: 3px;
    background-color: #00000045;
    cursor: pointer;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    transition: .3s ease;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}

span.xoo-cp-close:hover {
    box-shadow: 0 0 7px 1px #cbcbcb !important;
}

span.xoo-cp-close::after,
span.xoo-cp-close::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 12px;
    width: 2px;
    height: 18px;
    background-color: #fff;
}

span.xoo-cp-close::after {
    transform: rotate(-46deg);
    -webkit-transform: rotate(-46deg);
    -moz-transform: rotate(-46deg);
    -ms-transform: rotate(-46deg);
    -o-transform: rotate(-46deg);
}

span.xoo-cp-close::before {
    transform: rotate(46deg);
    -webkit-transform: rotate(46deg);
    -moz-transform: rotate(46deg);
    -ms-transform: rotate(46deg);
    -o-transform: rotate(46deg);
}

.xoo-cp-success, .xoo-cp-error {
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: block;
    text-align: left;
}

.xoo-cp-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    margin-top: 10px;
}

.xoo-cp-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.xoo-cp-atcn {
    overflow: auto;
    font-size: 12px;
    padding: 10px;
    border: 1px solid transparent;
    display: block;
    text-align: right;
    margin-bottom: 15px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.xoo-cp-atcn svg {
    vertical-align: middle;
}

.xoo-cp-atcn .xoo-cp-icon-check {
    margin-right: 5px;
}

.xoo-cp-btns {
    margin: 0 auto;
    clear: both;
    text-align: center;
}

a.xcp-btn {
    width: 30%;
    padding: 8px 0;
    display: inline-block;
    margin-right: 5px;
    font-size: 13px;
    font-weight: 300;
    padding: 14px 0px;
    color: #fff;
    background: linear-gradient(90deg, #f92727 0%, #fb793a 65%);
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    transition: .3s ease;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}

a.added_to_cart.wc-forward {
    font-size: 13px;
    text-align: center;
    color: #fff;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

a.xoo-cp-btn-ch {
    background: linear-gradient(90deg, #fb793a 0%, #f92727 65%) !important;
}

a.xcp-btn:hover {
    box-shadow: 0 0 10px 1px #fb793a;
}

@keyframes xoo-cp-spin {
    100% {
        transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

.xoo-cp-icon-spinner {
    display: inline-block;
    animation: xoo-cp-spin 575ms infinite linear;
    -webkit-animation: xoo-cp-spin 575ms infinite linear;
}

td.xoo-cp-ptitle a {
    font-size: 13px;
    font-weight: 700;
    line-height: 25px;
    color: #23254E;
}

td.xoo-cp-pimg {
    width: 20%;
}

td.xoo-cp-pimg a img {
    width: 100% !important;
    height: auto !important;
}

td.xoo-cp-pimg .sale-flash {
    margin-top: 10px;
}

.xoo-cp-pdetails {
    width: 100%;
    display: block;
    overflow: auto;
    margin-bottom: 5px;
}

td.xoo-cp-pprice {
    font-size: 20px;
    margin: 15px 0;
    width: 15%;
}

td.xoo-cp-pprice>span.woocommerce-Price-amount>bdi {
    font-weight: 700 !important;
    font-size: 20px !important;
    color: #23254e !important;
}

td.xoo-cp-pprice>span.woocommerce-Price-amount>bdi::before {
    top: 3px !important;
}

td.xoo-cp-pprice .discount {
    margin-bottom: 8px;
    font-size: 12px;
    color: #EF4056;
    text-shadow: 0 0 #ef4056cf !important;
}

td.xoo-cp-pprice .discount span.woocommerce-Price-amount {
    margin-left: 18px;
}

span.woocommerce-Price-amount>bdi {
    position: relative;
}

td.xoo-cp-pqty {
    min-width: 90px;
    padding-right: 20px
}

.xoo-cp-pdetails td.xoo-cp-remove svg {
    width: 25px !important;
    cursor: pointer;
}

.xoo-cp-pdetails td.xoo-cp-remove svg g:last-child path:first-child {
    transition: .3s ease !important;
    -webkit-transition: .3s ease !important;
    -moz-transition: .3s ease !important;
    -ms-transition: .3s ease !important;
    -o-transition: .3s ease !important;
}

.xoo-cp-pdetails td.xoo-cp-remove svg:hover g:last-child path:first-child {
    transform: translate(12px, -7px) rotate(45deg) !important;
    -webkit-transform: translate(12px, -7px) rotate(45deg) !important;
    -moz-transform: translate(12px, -7px) rotate(45deg) !important;
    -ms-transform: translate(12px, -7px) rotate(45deg) !important;
    -o-transform: translate(12px, -7px) rotate(45deg) !important;
}

.xoo-cp-pdetails td {
    vertical-align: middle;
    text-align: center;
}

.xoo-cp-pdetails td.xoo-cp-ptitle {
    text-align: right;
    width: 45%;
    padding: 0 15px;
}

.xoo-cp-ptotal {
    width: 100%;
    display: flex;
    justify-content: space-around;
    float: right;
    font-size: 18px;
    padding: 17px 0 15px 0;
    border-top: 1px solid #F0F0F1;
}

.xoo-cp-ptotal .xcp-totxt {
    color: #818181 !important;
    font-size: 13px !important;
}

.xoo-cp-ptotal .xcp-ptotal {
    color: #23254E;
    font-size: 20px;
    font-weight: 700;
}

.xoo-cp-ptotal span.xcp-ptotal>span.woocommerce-Price-amount>bdi::before {
    top: 5px !important;
}

.xoo-cp-preloader {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    top: 45%;
    right: 48%;
    border: 1px solid transparent;
    z-index: 2;
    border-top: 1px solid #1b1b1ba3;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -ms-border-radius: 50% !important;
    -o-border-radius: 50% !important;
}

@keyframes xoo-cp-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-ms-keyframes xoo-cp-spin {
    from {
        -ms-transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
    }
}

@-moz-keyframes xoo-cp-spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes xoo-cp-spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.xoo-cp-outer {
    display: none;
}

.xoo-cp-variations {
    font-size: 13px;
}

.xoo-cp-variations .variation {
    overflow: auto;
    margin-top: 15px;
}

.xoo-cp-variations .variation dt {
    position: absolute;
    color: #818181;
}

.xoo-cp-variations .variation dd {
    margin: 0 50px 10px 0px;
    color: #393939;
    font-weight: 700;
}

.xoo-cp-variations .variation dt.variation-,
.xoo-cp-variations .variation dd.variation- {
    color: #EF4056 !important;
    font-weight: 700 !important;
}

span.xcp-plus, span.xcp-minus {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    float: left;
    width: 21px;
}

input[type=number].xoo-cp-qty {
    outline: none !important;
    border: 0 !important;
    text-align: center;
    display: inline-block;
    max-width: 30px;
    float: left;
    height: 100%;
    line-height: 100%;
    padding: 0;
}

input.xoo-cp-qty::-webkit-outer-spin-button,
input.xoo-cp-qty::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.xoo-cp-qtybox {
    border: 2px solid #dbdbdb;
    position: relative;
    display: inline-block;
    font-weight: 700;
    height: 40px;
    line-height: 38px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.xoo-cp-qtybox .xcp-chng {
    font-size: 10px;
}

.xoo-cp-qtybox input.xoo-cp-qty {
    padding: 0 !important;
    font-weight: 700;
}

.xoo-cp-added, .xoo-cp-adding {
    margin-left: 5px;
}

.xoo-cp-notice-box {
    left: 0;
    right: 0;
    bottom: 50px;
    position: fixed;
    z-index: 100000;
}

.xoo-cp-notice-box>div {
    display: table;
    margin: 0 auto;
    background-color: #333;
    padding: 10px 20px;
    color: white;
    font-weight: 500;
    font-size: 15px;
}

.xoo-cp-notice ul.woocommerce-error a.button {
    display: none;
}

.xoo-cp-notice ul.woocommerce-error {
    margin: 0;
}

.xoo-cp-variations .variation:first-of-type {
    display: block;
}

@media (max-width: 1024px) {

    .xoo-cp-modal {
        overflow: hidden !important;
        transform: scale(1) !important;
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        -o-transform: scale(1) !important;
        transition: .3s ease;
        -webkit-transition: .3s ease;
        -moz-transition: .3s ease;
        -ms-transition: .3s ease;
        -o-transition: .3s ease;
    }

    .xoo-cp-modal .xoo-cp-container {
        max-width: 100% !important;
        width: 100% !important;
        position: absolute !important;
        bottom: 0 !important;
        right: 0 !important;
        transform: translateY(0) !important;
        -webkit-transform: translateY(0) !important;
        -moz-transform: translateY(0) !important;
        -ms-transform: translateY(0) !important;
        -o-transform: translateY(0) !important;
        border-radius: 15px 15px 0 0 !important;
        -webkit-border-radius: 15px 15px 0 0 !important;
        -moz-border-radius: 15px 15px 0 0 !important;
        -ms-border-radius: 15px 15px 0 0 !important;
        -o-border-radius: 15px 15px 0 0 !important;
    }

    .xoo-cp-container .xoo-cp-pdetails td.xoo-cp-remove svg {
        width: 22px !important;
    }

    .xoo-cp-container .xoo-cp-pdetails td.xoo-cp-pimg {
        width: 90px !important;
    }

    .xoo-cp-container .xoo-cp-pdetails td.xoo-cp-pimg .sale-flash {
        text-align: center;
    }

    .xoo-cp-container .xoo-cp-pdetails td.xoo-cp-pimg .sale-flash svg {
        width: 52px !important;
    }

    .xoo-cp-pdetails td.xoo-cp-ptitle {
        width: auto !important;
    }

    .xoo-cp-container td.xoo-cp-ptitle a {
        font-size: 11px !important;
    }

    .xoo-cp-container td.xoo-cp-ptitle .xoo-cp-variations,
    .xoo-cp-container a.xoo-cp-btn-vc {
        font-size: 12px !important;
    }

    .xoo-cp-container td.xoo-cp-pprice,
    .xoo-cp-container .xoo-cp-ptotal,
    .xoo-cp-container .xoo-cp-variations dl:last-child,
    .xoo-cp-container a.xoo-cp-btn-ch {
        display: none !important;
    }

    .xoo-cp-container a.xoo-cp-btn-vc {
        width: 100% !important;
        margin: 0 !important;
        padding: 13px 0px !important;
    }

    .xoo-cp-container span.xoo-cp-close {
        width: 26px !important;
        height: 26px !important;
    }

    .xoo-cp-container span.xoo-cp-close::after,
    .xoo-cp-container span.xoo-cp-close::before {
        top: 5px !important;
        height: 16px !important;
    }

    a.added_to_cart.wc-forward {
        font-size: 11px !important;
        padding: 13px 46px !important;
    }

    td.xoo-cp-pqty {
        min-width: 77px !important;
        padding: 0 !important;
    }
}