/**
 * POS product / barcode search — input + submit merged
 */
#form-productGet .pos-prod-search {
    --pos-prod-search-bg: hsl(240 6% 97%);
    --pos-prod-search-bg-focus: #fff;
    --pos-prod-search-border: rgba(60, 60, 67, 0.14);
    --pos-prod-search-border-focus: var(--pp-admin-primary, #0d6efd);
    --pos-prod-search-radius: 10px;
    --pos-prod-search-text: hsl(222 47% 11%);
    --pos-prod-search-muted: rgba(60, 60, 67, 0.55);
    --pos-prod-search-h: 2.5rem;
    --pos-prod-search-accent: var(--pp-admin-primary, #0d6efd);
    --pos-prod-search-accent-hover: #0b5ed7;

    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: stretch;
    min-height: var(--pos-prod-search-h);
    margin-bottom: 0;
    background: var(--pos-prod-search-bg);
    border: 1px solid var(--pos-prod-search-border);
    border-radius: var(--pos-prod-search-radius);
    overflow: hidden;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

#form-productGet .pos-prod-search:focus-within {
    background: var(--pos-prod-search-bg-focus);
    border-color: var(--pos-prod-search-border-focus);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

#form-productGet .pos-prod-search__input {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: auto;
    min-height: var(--pos-prod-search-h);
    padding: 0.35rem 0.65rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--pos-prod-search-text);
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}

#form-productGet .pos-prod-search__input::placeholder {
    color: var(--pos-prod-search-muted);
    opacity: 1;
}

#form-productGet .pos-prod-search__input:focus {
    outline: none;
    box-shadow: none;
}

#form-productGet .pos-prod-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

#form-productGet .pos-prod-search__submit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: var(--pos-prod-search-h);
    padding: 0 0.85rem;
    margin: 0;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
    background: var(--pos-prod-search-accent);
    color: #fff;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

#form-productGet .pos-prod-search__submit:hover {
    background: var(--pos-prod-search-accent-hover);
}

#form-productGet .pos-prod-search__submit:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

#form-productGet .pos-prod-search__submit ion-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    #form-productGet .pos-prod-search__submit-text {
        display: none;
    }

    #form-productGet .pos-prod-search__submit {
        padding: 0 0.65rem;
    }
}
