/* Amount buttons on the gift card order forms (wpgv_amount_picker_html()). The selectors carry the
   wrapper class so a theme's generic button styles do not win. */
.wpgv-amount-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 10px;
}

.wpgv-amount-picker[hidden] {
    display: none;
}

.wpgv-amount-picker .wpgv-amount-option {
    flex: 0 0 auto;
    min-width: 72px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    background: #fff;
    color: #1d2327;
    font: inherit;
    font-size: 15px;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    cursor: pointer;
}

.wpgv-amount-picker .wpgv-amount-option:hover {
    border-color: var(--wpgv-amount-accent, #1371ff);
    background: #fff;
    color: #1d2327;
}

.wpgv-amount-picker .wpgv-amount-option[aria-pressed="true"] {
    border-color: var(--wpgv-amount-accent, #1371ff);
    box-shadow: inset 0 0 0 1px var(--wpgv-amount-accent, #1371ff);
    color: var(--wpgv-amount-accent, #1371ff);
    font-weight: 600;
}

.wpgv-amount-picker .wpgv-amount-option:focus-visible {
    outline: 2px solid var(--wpgv-amount-accent, #1371ff);
    outline-offset: 2px;
}

/* No custom amount: the field only shows the chosen amount, and the min/max hints do not apply.
   The forms show those hints with jQuery .show(), hence !important. */
.wpgv-amount-pick-only input[readonly] {
    cursor: default;
}

.wpgv-amount-pick-only .wpgv-price-range-hint,
.wpgv-amount-pick-only .wpgv-price-min-label {
    display: none !important;
}
