.xoo-cp-opac {
    z-index: 99998;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    display: none;
    backdrop-filter: blur(15px);
}

.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(0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0rem 0.75rem;
}

.xoo-cp-active {
    transition: visibility 0.4s ease-out, opacity 0.4s ease-out, transform 0.4s ease-out;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.xoo-cp-cont-opac {
    z-index: 1;
    background-color: white;
    opacity: 0.5;
    position: absolute;
}

.xoo-cp-container {
    font-size: var(--smaller-font-size);
    display: inline-block;
    max-width: 800px;
    background: #fff;
    position: relative;
    vertical-align: middle;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    border-radius: 2rem;
    padding: 2rem;
    overflow: hidden;
}

.xoo-cp-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.xoo-cp-preloader,
.xoo-xp-icon-spinner {
    display: none !important;
}

.xoo-cp-close.xcp-btn.primary-btn.light {
    background-color: var(--light-bg-color);
    border: 1px solid var(--border-color);
}

.xoo-cp-success,
.xoo-cp-error {

    text-align: left;

}

.xoo-cp-error {
    color: #a94442;
}

.xoo-cp-success {
    color: rgb(16, 160, 16);
}

.xoo-cp-atcn {
    display: flex;
    text-align: left;
    align-items: center;
    margin-bottom: 2rem;
}

.xoo-cp-atcn .xoo-cp-icon-check {
    display: inline-block;
    margin-right: 5px;
    margin-top: 2px;
    width: 30px;
    height: 30px;
    background: url('../img/check.svg') no-repeat center center;
}

.xoo-cp-btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.xoo-cp-icon-spinner {
    animation: xoo-cp-spin 575ms infinite linear;
    display: inline-block;
}


.xoo-cp-pimg img {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    vertical-align: middle;
}

.xoo-cp-pdetails {
    width: 100%;
    display: block;
    overflow: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.xoo-cp-pdetails tbody {
    width: 100%;
    display: block;
}

td.xoo-cp-pprice {
    margin: 15px 0;
    width: 15%;
}

td.xoo-cp-pqty {
    min-width: 90px;
}

.xoo-cp-icon-cross {
    display: inline-block;
    height: 26px;
    width: 26px;
    background: url('../img/x-mark.svg') no-repeat center center;
    background-size: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.xoo-cp-pdetails td {
    vertical-align: middle;
    text-align: center;
}

.xoo-cp-pdetails td.xoo-cp-ptitle {
    text-align: left;
}

.xoo-cp-ptotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}


td.xoo-cp-remove .xoo-cp-remove-pd {
    color: #ea0a0a;
    cursor: pointer;
}

td.xoo-cp-ptitle {
    width: 45%;
    padding-left: 5px;

}

td.xoo-cp-ptitle a {
    text-decoration: none;
    color: inherit;
}

.xoo-cp-outer {
    display: none;
}

.xoo-cp-variations .variation {
    overflow: auto;
    margin-top: 5px;
    margin-bottom: 0;
    font-size: var(--smallest-font-size);
}

.xoo-cp-variations .variation dt {
    margin: 0 5px 0 0;
    float: left;
}

.xoo-cp-variations .variation dd {
    margin: 0 10px 0 0;
    float: left;
}

span.xcp-plus,
span.xcp-minus {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    float: left;
    width: 21px;
}



input[type=number].xoo-cp-qty {
    border: 0 !important;
    text-align: center;
    display: inline-block;
    height: 100%;
    line-height: 100%;
    padding: 0.5rem;
    max-width: 50px;
    margin: 0;
    font-family: var(--default-font-family);
    font-size: var(--smaller-font-size);
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

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 {
    position: relative;
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
}

.xoo-cp-added,
.xoo-cp-adding {
    display: none;
}

.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;
}

.xoo-cp-notice ul.woocommerce-error a.button {
    display: none;
}

.xoo-cp-notice ul.woocommerce-error {
    margin: 0;
}

.xoo-cp-variations .variation:last-of-type {
    display: none;
}

.xoo-cp-variations .variation:first-of-type {
    display: block;
}