.khushboo-cart-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.khushboo-cart-actions .single_add_to_cart_button,
.khushboo-cart-actions .khushboo-bulk-order-btn {
    flex: 1 1 50%;
    width: auto !important;
    min-width: 0;
}

.khushboo-bulk-order-btn {
    background-color: transparent !important;
    color: #3B0A0A !important;
    border: 2px solid #C6A664 !important;
    padding: 14px 18px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-transform: capitalize;
    cursor: pointer;
}

.khushboo-bulk-order-btn:hover {
    background-color: #C6A664 !important;
    color: #fff !important;
}

.khushboo-bulk-order-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.khushboo-bulk-order-modal.is-open {
    display: flex;
}

body.khushboo-bulk-order-open {
    overflow: hidden;
}

.khushboo-bulk-order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.khushboo-bulk-order-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.khushboo-bulk-order-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #3B0A0A;
    cursor: pointer;
}

.khushboo-bulk-order-modal__title {
    margin: 0 0 6px;
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #3B0A0A;
}

.khushboo-bulk-order-modal__product {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 14px;
}

.khushboo-bulk-order-field {
    margin-bottom: 14px;
}

.khushboo-bulk-order-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #3B0A0A;
    font-size: 14px;
}

.khushboo-bulk-order-field label .required {
    color: #b91c1c;
}

.khushboo-bulk-order-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
}

.khushboo-bulk-order-field input.is-invalid,
.khushboo-bulk-order-field textarea.is-invalid {
    border-color: #b91c1c !important;
    box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.15) !important;
}

.khushboo-bulk-order-field input,
.khushboo-bulk-order-field textarea {
    width: 100%;
    border: 1px solid #EADCC7;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    color: #3B0A0A;
    background: #fff;
}

.khushboo-bulk-order-field input:focus,
.khushboo-bulk-order-field textarea:focus {
    outline: none;
    border-color: #C6A664;
    box-shadow: 0 0 0 2px rgba(198, 166, 100, 0.2);
}

.khushboo-bulk-order-honeypot {
    display: none !important;
}

.khushboo-bulk-order-message {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
}

.khushboo-bulk-order-message.is-success {
    color: #15803d;
}

.khushboo-bulk-order-message.is-error {
    color: #b91c1c;
}

.khushboo-bulk-order-submit {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #3B0A0A;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.khushboo-bulk-order-submit:hover {
    background: #000;
}

.khushboo-bulk-order-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.khushboo-bulk-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: nowrap;
}

.khushboo-bulk-captcha-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 130px;
    padding: 10px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3B0A0A 0%, #6b1f1f 100%);
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    user-select: none;
    border: 2px dashed #C6A664;
    white-space: nowrap;
}

.khushboo-bulk-captcha-answer {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #EADCC7 !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #3B0A0A !important;
    text-align: center;
}

.khushboo-bulk-captcha-answer:focus {
    outline: none;
    border-color: #C6A664 !important;
    box-shadow: 0 0 0 2px rgba(198, 166, 100, 0.2) !important;
}

.khushboo-bulk-captcha-refresh {
    flex: 0 0 42px;
    width: 42px;
    height: auto;
    min-height: 42px;
    border-radius: 8px;
    border: 1px solid #EADCC7;
    background: #FAF5EA;
    color: #3B0A0A;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.khushboo-bulk-captcha-refresh:hover {
    background: #C6A664;
    color: #fff;
}

@media (max-width: 480px) {
    .khushboo-bulk-captcha-row {
        flex-wrap: wrap;
    }

    .khushboo-bulk-captcha-display {
        flex: 1 1 100%;
    }

    .khushboo-bulk-captcha-answer {
        flex: 1 1 calc(100% - 52px);
    }
}

@media (max-width: 640px) {
    .khushboo-cart-actions {
        flex-direction: column;
    }
}
