/* SISupplies - address suggestions on Request Account: the look of what sis-addr.js adds (draft 1, 30 Sep 2026).
   Goes into sis-storefront with the script, printed only on /requestaccount/ when the switch is on (DESIGN.md 4).
   Brand: black, red #d10404, white, Montserrat. Fields 5 px corners, buttons 10 px. Values in px (the Bricks rem trap).
   Nothing here styles today's fields: only the classes the script adds. */

.sis-addr-group { position: relative; }                       /* Address 1's own .form-group, so the list hangs under the field */

/* the suggestion list (ARIA listbox) under Address 1 */
.sis-addr-pop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid #6d6e71; border-radius: 5px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); overflow: hidden; }
.sis-addr-pop[hidden] { display: none; }
.sis-addr-list { list-style: none; margin: 0; padding: 2px 0; overscroll-behavior: contain; }   /* on a small phone the script may cap its height so it clears the keyboard */
.sis-addr-opt { display: flex; flex-direction: column; justify-content: center; gap: 0; min-height: 40px; margin: 0;
  padding: 4px 12px; cursor: pointer; }
@media (pointer: coarse) { .sis-addr-opt { min-height: 44px; } }      /* finger-sized rows on touch screens */
.sis-addr-opt:hover, .sis-addr-opt[aria-selected="true"] { background: #f0f0f0; }   /* no red line (owner) */
.sis-addr-l1 { font: 600 14px/1.3 "Montserrat", "Segoe UI", Arial, sans-serif; color: #212121; overflow-wrap: anywhere; }
.sis-addr-l2 { font: 400 12px/1.3 "Montserrat", "Segoe UI", Arial, sans-serif; color: #66676b; overflow-wrap: anywhere; }

/* the provider's credit (Geoapify free plan + OpenStreetMap): the list's last line, and inside the "Did you mean" box */
.sis-addr-credit { margin: 0; padding: 7px 14px 8px 16px; border-top: 1px solid #e0e0e0;
  font: 400 12px/1.4 "Montserrat", "Segoe UI", Arial, sans-serif; color: #66676b; }
.sis-addr-credit > span { white-space: nowrap; }                     /* it wraps between the two credits, never inside one */
.sis-addr-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sis-addr-credit a:hover { color: #d10404; }

/* notes: a full-width row right after the Postal Code (works in today's flex form and in the v2 grid) */
.sis-addr-note { grid-column: 1 / -1; flex: 0 0 100%; width: 100%; box-sizing: border-box; margin: 0; }
.sis-addr-done { padding: 2px 0 2px 26px; font: 500 14px/1.45 "Montserrat", "Segoe UI", Arial, sans-serif; color: #363636;
  background: no-repeat left 1px / 18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23212121'/%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* "Did you mean ...?" */
.sis-addr-check { padding: 14px 16px 0; border: 1px solid #c1c1c1; border-left: 3px solid #d10404; border-radius: 5px; background: #fff; }
.sis-addr-check-q { margin: 0 0 12px; font: 500 15px/1.45 "Montserrat", "Segoe UI", Arial, sans-serif; color: #212121; overflow-wrap: anywhere; }
.sis-addr-check-q strong { font-weight: 700; }
.sis-addr-check-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.sis-addr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 8px 18px;
  border-radius: 10px; font: 700 15px/1.2 "Montserrat", "Segoe UI", Arial, sans-serif; cursor: pointer; transition: background-color .15s, color .15s; }
.sis-addr-btn--use { border: 1px solid #d10404; background: #d10404; color: #fff; }
.sis-addr-btn--use:hover { background: #a30303; border-color: #a30303; }
.sis-addr-btn--keep { border: 1px solid #212121; background: #fff; color: #212121; }
.sis-addr-btn--keep:hover { background: #212121; color: #fff; }
.sis-addr-btn:focus-visible { outline: 2px solid #d10404; outline-offset: 2px; }
.sis-addr-btn--use:focus-visible { outline-color: #212121; }            /* a dark ring round the red button */
.sis-addr-credit--note { margin: 0 -16px; padding-left: 16px; }
/* the one credit line, at the end of the form: small and quiet */
.sis-addr-credit--page { flex: 0 0 100%; width: 100%; margin: 14px 0 0; padding: 0; border-top: 0;
  font-size: 12px; color: #707174; }   /* 1.0.6: 12 px, never smaller (it was 11 px), and a grey that reads on white */

/* screen-reader-only announcements */
.sis-addr-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 479px) {
  .sis-addr-btn { flex: 1 1 auto; }                                    /* phones: the two buttons share the row, or stack */
}
@media (prefers-reduced-motion: reduce) { .sis-addr-btn { transition: none; } }
