/* POPUP BASE */
#ds-checkout-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.ds-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

/* POPUP BOX */
.ds-fullscreen {
    max-width: 420px;
    height: 100vh;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

/* CLOSE */
.ds-close {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
}

/* FIELDS */
.ds-field {
    margin-bottom: 14px;
}

.ds-field input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    box-sizing: border-box;
}

/* VALIDATION */
.ds-error {
    min-height: 16px;
    margin-top: 4px;
    font-size: 13px;
    color: #d63638;
}

.ds-input-error {
    border: 1px solid #d63638 !important;
}

/* CART SUMMARY */
#ds-cart-summary {
    margin-top: 20px;
    border-top: 1px solid #e5e5e5;
    padding-top: 12px;
}

.ds-summary h4 {
    margin-bottom: 10px;
}

.ds-item,
.ds-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ds-discount {
    color: #0a7a2f;
    font-weight: 600;
}

.ds-total {
    font-size: 16px;
    font-weight: bold;
    border-top: 1px dashed #ccc;
    padding-top: 8px;
}

/* STEPS */
/* #ds-step-loading, */
#ds-step-success {
    display: none;
    text-align: center;
    margin-top: 120px;
}
#ds-step-loading {
    display: none;              /* toggle to flex when showing */
    position: fixed;            /* cover entire viewport */
    inset: 0;
    /* background: rgba(255,255,255,0.85); */
    z-index: 9999;

    display: flex;              /* THIS is the missing piece */
    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center */
}

.ds-loader {
    width: 44px;
    height: 44px;
    border: 4px solid #e0e0e0;
    border-top-color: #000;
    border-radius: 50%;
    animation: ds-spin 0.8s linear infinite;
}

@keyframes ds-spin {
    to { transform: rotate(360deg); }
}



/* BUTTON */
#ds-place-order {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    font-size: 15px;
    cursor: pointer;
}
.fkcart-shortcode-container .fkcart-shortcode-price{
    color: #fff;
}
.fkcart-shortcode-container .fkcart-shortcode-icon-wrap{
    color: #fff;
}
.ds-form-field{
    margin-top: 30px;
}
.fkcart-shortcode-container{
    padding-top: 28px;
}