/* Alvoble Gift Card storefront styles: plain CSS, no theme classes, works on Luma and the Alvoble Storefront theme. */
.alvoble-gc { box-sizing: border-box; margin: 1rem 0; padding: 1rem; border: 1px solid rgba(128, 128, 128, 0.35); border-radius: 6px; }
.alvoble-gc *, .alvoble-gc *::before, .alvoble-gc *::after { box-sizing: inherit; }
.alvoble-gc__title { margin: 0 0 .75rem; font-size: 1.1em; font-weight: 600; padding: 0; }
/* No opacity on text: it faded the theme link colour below 4.5:1 (Luma, "Check the balance" link: 3.58:1). */
.alvoble-gc__intro, .alvoble-gc__note { margin: .5rem 0; font-size: .9em; }
.alvoble-gc__field { margin: 0 0 .9rem; }
.alvoble-gc__label { display: block; margin: 0 0 .3rem; font-weight: 600; }
.alvoble-gc__input { display: block; width: 100%; max-width: 28rem; padding: .5rem .6rem; border: 1px solid rgba(128, 128, 128, .6); border-radius: 4px; font: inherit; background: transparent; color: inherit; }
textarea.alvoble-gc__input { resize: vertical; }
.alvoble-gc__row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; }
.alvoble-gc__row .alvoble-gc__input { flex: 1 1 12rem; }
.alvoble-gc__button { padding: .5rem 1rem; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.alvoble-gc__button:hover, .alvoble-gc__button:focus { background: rgba(128, 128, 128, .15); }
.alvoble-gc__button--link { border: 0; padding: 0; text-decoration: underline; font-weight: 400; }
.alvoble-gc__list { margin: 0 0 .75rem; padding: 0; list-style: none; }
.alvoble-gc__item { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: .35rem 0; border-bottom: 1px solid rgba(128, 128, 128, .2); }
.alvoble-gc__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.alvoble-gc__amount { margin-left: auto; font-weight: 600; }
.alvoble-gc__remove { margin: 0; }
.alvoble-gc__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.alvoble-gc__result { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 4px; border: 1px solid transparent; }
.alvoble-gc__result p { margin: .2rem 0; }
.alvoble-gc__result--ok { border-color: #2e7d32; background: rgba(46, 125, 50, .08); }
.alvoble-gc__result--error { border-color: #c62828; background: rgba(198, 40, 40, .08); }
.alvoble-gc__message { margin: .5rem 0; font-size: .9em; }
.alvoble-gc__message--error { color: #c62828; }
.alvoble-gc__message--ok { color: #2e7d32; }
/* product page: amount choices as buttons, the open amount input shows with its radio */
.alvoble-gc__radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.alvoble-gc__choice { display: inline-block; margin: 0 .5rem .5rem 0; padding: .45rem .9rem; border: 1px solid rgba(128, 128, 128, .6); border-radius: 4px; cursor: pointer; }
.alvoble-gc__radio:checked + .alvoble-gc__choice { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; font-weight: 600; }
.alvoble-gc__radio:focus-visible + .alvoble-gc__choice { outline: 2px solid currentColor; outline-offset: 2px; }
.alvoble-gc__custom { display: none; margin-top: .5rem; }
.alvoble-gc__custom--always, .alvoble-gc__radio--custom:checked ~ .alvoble-gc__custom { display: block; }
@media (max-width: 480px) { .alvoble-gc { padding: .75rem; } .alvoble-gc__row { flex-direction: column; } .alvoble-gc__button { width: 100%; } }
