/* Updated to match the requested inline layout */
.wqa-container-60a28a59 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    font-family: inherit;
    /* Gap is controlled by Elementor */
}

/* Quantity Selector Group */
.wqa-quantity-selector {
    display: flex;
    flex-direction: row;
    border: 1px solid #e2e8f0; /* Light gray border */
    border-radius: 4px;
    background: #fff;
    min-width: 80px;
    height: 100%; /* Match button height */
}

.wqa-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 16px;
    color: #4a5568;
    -moz-appearance: textfield;
}

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

.wqa-qty-controls {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
}

.wqa-qty-btn {
    background: transparent;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    font-size: 14px;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* Split height equally */
    line-height: 1;
}

.wqa-qty-btn.wqa-minus {
    border-top: 1px solid #e2e8f0;
}

.wqa-qty-btn:hover {
    background: #f7fafc;
    color: #2d3748;
}

/* Buttons */
.wqa-btn {
    flex: 1; /* Take up remaining space equally */
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.wqa-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.wqa-btn:active {
    transform: translateY(0);
}

/* Toast Notification */
.wqa-toast {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wqa-toast.show {
    opacity: 1;
    visibility: visible;
    bottom: -50px;
}

/* Responsive constraints */
@media (max-width: 767px) {
    .wqa-container-60a28a59 {
        flex-wrap: wrap; /* Allow wrapping on small screens */
    }
    
    .wqa-btn {
        flex: 1 1 100%; /* Make buttons full width if they wrap */
    }
}
