/* WhatsApp Order Button — Frontend Styles */

.irb-wa-wrap {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 340px;
}

/* ── Quantity ────────────────────────────────────────────── */

.irb-wa-qty-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.irb-wa-qty-controls {
    display: inline-flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.irb-wa-qty-btn {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 44px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #333;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.irb-wa-qty-btn:hover {
    background: #e0e0e0;
}

.irb-wa-qty-btn:active {
    background: #ccc;
}

.irb-wa-qty-input {
    width: 56px;
    height: 44px;
    border: none;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
}

.irb-wa-qty-input::-webkit-outer-spin-button,
.irb-wa-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Button ──────────────────────────────────────────────── */

.irb-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
    max-width: 280px;
    letter-spacing: 0.3px;
}

.irb-wa-btn:hover {
    background-color: #1ebe57;
}

.irb-wa-btn:active {
    background-color: #18a84a;
    transform: scale(0.98);
}

/* ── Mobile ──────────────────────────────────────────────── */

@media (max-width: 480px) {
    .irb-wa-wrap {
        max-width: 100%;
    }
    .irb-wa-btn {
        max-width: 100%;
    }
}
