.checkout-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto;
}

/* .checkout-steps {
    flex: 2 1 600px;
} */

.checkout-summary {
    flex: 1 1 300px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    background: #f9f9f9;
}

.woo-step-indicator-wrapper {
    margin-bottom: 40px;
    background: #f3f3f3;
    border-radius: 4px;
    padding: 8px 12px;
}

.woo-step-indicator {
    display: flex;
    gap: 20px;
}

.step-circle {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: transform .2s;
    padding: 10px 15px;
    position: relative;
}

/* .step-circle:hover {
    transform: scale(1.05);
} */

.step-circle .step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 5px; */
    margin-right: 8px;
    color: #fff;
    font-weight: bold;
}

.step-circle.active .step-number {
    background: #0a3049;
}

.step-circle.active .step-label {
    font-weight: bold;
    color: #0a3049;
}

.step-circle.completed {
    background: transparent;
    padding-right: 25px;
}

.step-circle.completed .step-checkmark {
    color: #da1a32;
}

.step-circle.completed .step-number {
    background: #da1a32;
}

.step-circle.completed .step-label {
    color: #da1a32;
}

.woo-step-progress {
    position: relative;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-top: 15px;
    overflow: hidden;
    display: none;
}

.woo-step-progress-bar {
    position: absolute;
    height: 100%;
    width: 0%;
    background: #0a3049;
    border-radius: 3px;
    transition: width .3s ease-in-out;
}

.woo-step {
    display: none;
}

.woo-step:first-child {
    display: block;
}

.input-error {
    border: 1px solid red;
}

.step-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

div[data-step="1"] .step-buttons {
    justify-content: flex-start;
}

.next-step,
.prev-step {
    padding: 10px 22px;
    background: #0a3049;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}

.next-step:hover,
.prev-step:hover {
    background: #09253a;
}

.next-step:disabled,
.prev-step:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.step-circle .step-checkmark {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 13px;
    color: #0a3049;
    margin-top: 15px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    display: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.step-circle.completed .step-checkmark {
    display: flex;
}

.input-error {
    border: 1px solid red !important;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row {
    margin: 0 0 30px;
}

.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide {
    width: 100%;
}

.woocommerce-billing-fields__field-wrapper .form-row-first, 
.woocommerce-billing-fields__field-wrapper .form-row-last {
    width: calc(50% - 10px);
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row label {
    font-family: "Geist",sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    color: #0a3049;
    display: block;
    margin-bottom: 10px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row .input-text, .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=text], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=email], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=password], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=date], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=datetime], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=datetime-local], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=tel], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=url], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row input[type=search], .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row textarea, .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce .checkout-steps .form-row select {
    width: 100%;
    padding: 15px 20px;
    background: #f5f7fa;
    border-radius: 15px;
    font-family: "Geist",sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #0a3049;
    border: none;
}

.woocommerce-checkout:not(.woocommerce-order-received) h3#ship-to-different-address {
    font-size: 18px;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    display: none;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    display: block;
}

.step-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 0;
    padding: 6px 30px;
    text-decoration: none;
    text-transform: none;
    min-width: 120px;
    height: 50px;
    border-radius: 50px !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.block_checkout-coupon .woocommerce-form-coupon-toggle,
.block_checkout-coupon form.checkout_coupon {
    max-width: 980px;
    margin: 0 auto;
}

@media only screen and (max-width: 575px) {
    .step-buttons button {
        padding: 6px 20px;
        min-width: 160px;
        height: 45px;
        font-size: 15px;
    }
}