.vi-wcaio-va-cart-form-wrap-wrap {
    position: fixed;
    /*z-index: 999999999;*/
    z-index: 999;
    top:0;
}

.vi-wcaio-va-cart-form-wrap-wrap :focus {
    outline: unset !important
}

.vi-wcaio-va-cart-form-wrap-wrap *, .vi-wcaio-va-cart-form-wrap-wrap ::after, .vi-wcaio-va-cart-form-wrap-wrap ::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.vi-wcaio-va-cart-form-wrap {
    display: flex;
    width: 100vw;
    height: 100vh
}

.vi-wcaio-va-cart-form-wrap.vi-wcaio-container-loading:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    max-height: 100%;
    opacity: .45
}

.vi-wcaio-va-cart-form {
    height: auto;
    width: auto;
    margin: auto;
    position: relative;
    background: #fff;
    padding: 35px;
    max-width: 60%;
    max-height: calc(100vh - 40px);
    min-width: 300px;
    min-height: 200px;
    z-index: 10;
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: column
}

.vi-wcaio-va-cart-form .vi-wcaio-va-product-bt-atc-cancel {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #000;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
    cursor: pointer
}

.vi-wcaio-va-cart-form > div {
    flex-grow: 1;
    margin-bottom: 30px;
    width: 100%
}

.vi-wcaio-va-cart-form .vi-wcaio-swatches-wrap-wrap {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto
}

.vi-wcaio-va-cart-form .vi-wcaio-swatches-wrap-wrap > div {
    margin-bottom: 10px
}

.vi-wcaio-va-cart-form .vi-wcaio-swatches-wrap-wrap > div:last-child {
    margin-bottom: 0
}

.vi-wcaio-swatches-wrap-wrap::-webkit-scrollbar {
    width: 7px
}

.vi-wcaio-swatches-wrap-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    margin-top: 2px;
    margin-bottom: 2px
}

.vi-wcaio-swatches-wrap-wrap::-webkit-scrollbar-thumb {
    background: #cecece;
    border-radius: 20px
}

.vi-wcaio-swatches-wrap-wrap::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6
}

.vi-wcaio-va-cart-form .vi-wcaio-swatches-wrap-wrap .vi-wcaio-va-swatches-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%
}

.vi-wcaio-va-cart-form .vi-wcaio-swatches-wrap-wrap .vi-wcaio-va-swatches-attr-name {
    margin-right: 10px;
    color: #000
}

.vi-wcaio-va-cart-form .vi-wcaio-swatches-wrap-wrap select {
    width: auto;
    min-width: 150px;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important;
    color: #212121;
    background-color: #fff;
    padding: 2px;
    height: auto;
    border: 1px solid #eee;
    min-height: 39px
}

.vi-wcaio-va-cart-form .vi-wcaio-swatches-wrap-wrap select .vi-wcaio-option-disabled {
    display: none !important
}

@media screen and (max-width: 400px) {
    .vi-wcaio-va-cart-form {
        max-width: 96%
    }
}

.vi-wcaio-va-cart-form-overlay {
    content: '';
    background-color: rgba(0, 0, 0, .3);
    display: block;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1
}

.vi-wcaio-va-cart-form.vi-wcaio-va-cart-form-loading:before {
    content: '';
    background-color: rgb(255 255 255 / 30%);
    display: block;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2
}

.vi-wcaio-va-qty-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70%;
    margin: auto
}

.vi-wcaio-va-qty-add, .vi-wcaio-va-qty-subtract {
    cursor: pointer
}

.vi-wcaio-va-qty-input {
    border: none !important;
    text-align: center !important;
    border-radius: 0 !important;
    box-shadow: unset;
    display: inline-block;
    height: 39px !important;
    width: 65px;
    padding: 0 5px !important;
    color: #212121;
    border-radius: 0;
    background: #fff;
    color: #222;
    box-shadow: unset !important
}

.vi-wcaio-va-cart-form input[type=number]::-webkit-inner-spin-button, .vi-wcaio-va-cart-form input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin-right: 0 !important
}

.vi-wcaio-va-cart-form .vi-wcaio-va-action-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0
}

.vi-wcaio-va-action-wrap button.vi-wcaio-product-bt-atc {
    opacity: 1;
    position: relative
}

.vi-wcaio-va-action-wrap .added_to_cart {
    display: none !important
}

.vi-wcaio-product-bt-atc-loading {
    padding-left: 26px !important;
    position: relative
}

.vi-wcaio-product-bt-atc-loading:before {
    position: absolute;
    left: 8px;
    top: 35%;
    content: '' !important;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #838a8e;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    animation: vi-wcaio-spin 1s linear infinite
}

@keyframes vi-wcaio-spin {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.vi-wcaio-va-action-wrap button.vi-wcaio-button-swatches-disable, .vi-wcaio-va-action-wrap button.vi-wcaio-product-bt-atc-disabled {
    opacity: .6;
    cursor: not-allowed
}