.velo-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.42857143;
    color: #333;
    text-align: center;
    box-shadow: 0px 0px 12px -2px rgba(85, 85, 85, 0.1);
    border: 1px solid rgb(177, 177, 177);
    border-radius: 10px;
    padding: 15px;
    max-width: 1200px;
    margin: auto;
}

.velo-wrapper h2 {
    padding-bottom: 30px;
    padding-left: 80px;
    padding-right: 80px;
}

.velo-choices-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    justify-content: flex-start;
    flex-direction: row;
}

body div .velo-inner-choice {
    /* 33.33% for 3 items per row, 10px for space between items */
    flex: 0 0 calc(33.33% - 10px);
    margin: 0 5px 10px 5px;
    border-radius: 10px;
    min-height: 100px;
    padding: 10px;
    color: #333;
    cursor: pointer;
    border: 1px solid rgb(177, 177, 177);
    text-decoration: none;
}

.velo-inner-choice:hover {
    border: 2px solid #4545ff;
    padding: 9px;
}

.velo-wrapper .velo-inner-choice .velo-choice-image {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
}

/* Loading animation */
.velo-loading {
    display: inline-block;
    position: relative;
    width: 44px;
    height: 50px;
}

.velo-loading div {
    display: inline-block;
    position: absolute;
    left: 0;
    width: 10px;
    background: #4545ff;
    animation: velo-loading 1.4s cubic-bezier(0.1, 0.4, 0.3, 0.1) infinite;
}

.velo-loading div:nth-child(1) {
    left: 0;
    animation-delay: -0.32s;
}

.velo-loading div:nth-child(2) {
    left: 16px;
    animation-delay: -0.16s;
}

.velo-loading div:nth-child(3) {
    left: 32px;
    animation-delay: 0;
}

.velo-choices-wrapper .woocommerce.columns-3,
.velo-choices-wrapper .woocommerce.columns-3 .columns-3,
.velo-choices-wrapper .woocommerce.columns-4,
.velo-choices-wrapper .woocommerce.columns-4 .columns-4 {
    width: 100%;
}

.velo-wrapper .velo-frontend-back-button {
    width: 60px;
    padding: 5px;
    z-index: 987;
    position: absolute;
    display: block;
    top: 24px;
    height: 35px;
    line-height: 1em;
    left: 20px;
    font-size: 14px;
    background-color: #4545ff;
    color: #ffffff;
    border-radius: 25px;
    border: 1px solid #4545ff;
}

.velo-wrapper .velo-frontend-back-button:hover {
    background-color: #ffffff;
    color: #4545ff;
    border: 1px solid #4545ff;
}

@keyframes velo-loading {
    0% {
        top: 8px;
        height: 36px;
    }

    50%,
    100% {
        top: 16px;
        height: 20px;
    }
}

.velo-free-version-credits {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 10px;
}

.velo-free-version-credits a {
    color: #4545ff;
    text-decoration: underline;
}

.velo_selectors-template-default .velo-wrapper {
    max-width: 1000px;
    margin: 30px auto;
}

@media(min-width: 769px) and (max-width: 1024px) {
    body div .velo-inner-choice {
        flex: 0 0 calc(50% - 10px) !important;
        margin: 0 5px 15px 5px !important;
    }

    .velo-wrapper h2 {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 0;
    }

    .velo-wrapper .velo-frontend-back-button {
        width: 60px;
        padding: 5px;
        z-index: 987;
        position: relative;
        display: block;
        top: 0;
        height: 35px;
        left: 0;
        font-size: 14px;
        margin: auto;
    }
}

@media(max-width: 768px) {
    .velo-choices-wrapper {
        flex-direction: column !important;
    }

    body div .velo-inner-choice {
        flex: 0 0 calc(100%) !important;
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }

    .velo-wrapper h2 {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 0;
    }

    .velo-wrapper .velo-frontend-back-button {
        width: 60px;
        padding: 5px;
        z-index: 987;
        position: relative;
        display: block;
        top: 0;
        height: 35px;
        left: 0;
        font-size: 14px;
        margin: auto;
    }
}