.vcqr-loop-form {
    margin: 0;
}

.vcqr-single-controls {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.vcqr-single-controls form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
}

.vcqr-single-controls label {
    width: 100%;
    font-weight: 600;
}

.vcqr-single-controls input[type="number"] {
    width: 90px;
    min-height: 44px;
}

.vcqr-view-basket {
    display: inline-block;
    margin-top: 12px;
}

.vcqr-basket {
    max-width: 1000px;
    margin: 0 auto;
}

.vcqr-table-wrap {
    overflow-x: auto;
}

.vcqr-table {
    width: 100%;
}

.vcqr-product {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vcqr-product img {
    width: 84px;
    height: 84px;
    object-fit: cover;
}

.vcqr-product small {
    display: block;
    margin-top: 4px;
}

.vcqr-table input[type="number"] {
    width: 84px;
}

.vcqr-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    text-decoration: none;
}

.vcqr-basket-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 34px;
}

.vcqr-customer-form {
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.vcqr-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vcqr-form p {
    margin: 0;
}

.vcqr-form .wide {
    grid-column: 1 / -1;
}

.vcqr-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.vcqr-form input,
.vcqr-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.vcqr-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .vcqr-form {
        grid-template-columns: 1fr;
    }

    .vcqr-form .wide {
        grid-column: 1;
    }

    .vcqr-basket-actions {
        flex-direction: column;
    }

    .vcqr-basket-actions .button {
        width: 100%;
        text-align: center;
    }

    .vcqr-product img {
        width: 64px;
        height: 64px;
    }
}

.vcqr-loop-add-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: relative;
    z-index: 5;
}

.vcqr-ajax-add {
    position: relative;
    z-index: 6;
    cursor: pointer;
}

.vcqr-ajax-add[disabled] {
    cursor: wait;
    opacity: 0.75;
}

.vcqr-add-status {
    min-height: 1em;
    font-size: 12px;
}
