/* from https://loading.io/css/ */
.lds-ring {
    display: inline-block;
    position: absolute;
    width: 60px;
    height: 60px;
    left: 0px;
    top: 0px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    margin: 2px;
    margin-left: 2px !important;
    border: 6px solid var(--main_red);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--main_red) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}

@keyframes lds-ring {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}

.cart-loading {
    left: 35px
}

.loading {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading div:first-of-type {
    font-size: 2em;
    color: var(--main_red);
}

.lds-ring-container {
    position: relative;
    margin-bottom: 60px;
}

.hidden {
    display: none;
}
