/* Button Component System */

/* === BASE BUTTON COMPONENT === */
.osp-3sc-continue-btn,
.osp-3sc-back-btn,
.osp-3sc-place-order-btn {
    text-align: center;
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    height: 60px;
}

/* === PRIMARY BUTTONS (Continue, Place Order) === */
.osp-3sc-continue-btn,
.osp-3sc-place-order-btn {
    background: var(--osp-primary-color);
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.osp-3sc-continue-btn:hover,
.osp-3sc-continue-btn:focus,
.osp-3sc-place-order-btn:hover,
.osp-3sc-place-order-btn:focus {
    background: var(--osp-secondary-color);
    outline: none;
}

/* === SECONDARY BUTTONS (Back) === */
.osp-3sc-back-btn {
    background: rgb(25 32 46);
    color: #ffffffa3;
    border: 1px solid rgb(255 255 255 / 9%);
}

.osp-3sc-back-btn:hover,
.osp-3sc-back-btn:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

/* === DESKTOP BUTTON GROUP === */
.osp-3sc-continue-section {
    padding-top: 20px;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}




/* Mobile: Transform buttons to sticky bottom navigation */
@media (max-width: 477px) {

    /* Move button container to sticky bottom position */
    .osp-3sc-continue-section {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #050d1c;
        padding: 10px 20px;
        z-index: 1000;
        flex-direction: row;
        gap: 12px;
    }

    /* === BASE BUTTON COMPONENT === */
.osp-3sc-continue-btn,
.osp-3sc-back-btn,
.osp-3sc-place-order-btn {
    padding: 10px;
    height: 50px;
}

/* === PRIMARY BUTTONS (Continue, Place Order) === */
.osp-3sc-continue-btn,
.osp-3sc-place-order-btn {
    font-size: 16px;
}

    /* Mobile button adjustments */
    .osp-3sc-back-btn {
        padding: 16px 12px;
        font-size: 14px;
    }


    /* Add bottom padding to content to avoid sticky nav overlap */
    .osp-3sc-checkout-wrapper {
        padding-bottom: 100px;
    }
}


/* Hide original WooCommerce place order button */
#place_order {
    display: none !important;
}