/* Buy Now Button Styles */
.buy-now-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--accent);
    /* Vibrant orange for 'Buy Now' */
    color: #ffffff;
    font-weight: 600;
    /* text-transform: uppercase; */
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    /* font-family: 'Poppins', sans-serif; */
    letter-spacing: 0.5px;
}

.buy-now-button:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(230, 74, 25, 0.3);
}

.buy-now-button:active {
    transform: translateY(0);
}

/* Loop Order Now modal */
body.tazaj-order-modal-open {
    overflow: hidden;
}

.tazaj-order-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.tazaj-order-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.tazaj-order-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.tazaj-order-modal__dialog {
    position: relative;
    width: min(500px, calc(100% - 20px));
    margin: 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 20px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.tazaj-order-modal__close {
    position: absolute;
    right: -14px;
    top: -14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #ff3a1e;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.tazaj-order-modal__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #111111;
}

.tazaj-order-attribute {
    margin-bottom: 14px;
}

.tazaj-order-attribute__label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111111;
    margin-bottom: 6px;
}

.tazaj-order-attribute__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tazaj-order-option {
    border: 1px solid #d9d9d9;
    background: #ffffff;
    color: #111111;
    padding: 6px 10px;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.tazaj-order-option.is-active {
    border-color: #ef4a23;
    color: #ef4a23;
    background: #fff6f3;
}

.tazaj-order-modal__error {
    color: #d32f2f;
    font-size: 14px;
    margin: 6px 0 12px;
}

.tazaj-order-modal__submit {
    border: none;
    border-radius: 6px;
    background: #ef4a23;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 14px;
    min-width: 140px;
}

.tazaj-order-modal__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.tazaj-order-modal__submit.is-processing {
    opacity: 0.7;
}

.tazaj-order-now-btn.is-processing {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 767px) {
    .tazaj-order-modal__dialog {
        width: calc(100% - 16px);
        padding: 14px;
    }

    .tazaj-order-modal__close {
        right: -10px;
        top: -10px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }

    .tazaj-order-modal__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .tazaj-order-attribute__label {
        font-size: 16px;
    }

    .tazaj-order-option {
        font-size: 13px;
        padding: 6px 9px;
    }

    .tazaj-order-modal__submit {
        width: 100%;
        min-width: 0;
        font-size: 13px;
        padding: 10px 14px;
    }
}
