/* ADMEbio — checkout address typeahead (WEB-CHECKOUT-TAX-001-E4-B4).
   Scoped entirely to .adme-ac-* so no existing form or page is affected. */

.adme-ac-box {
    display: none;
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    max-height: 260px;
    overflow-y: auto;
}

/* The street field's wrapper is the positioning context, and the class is applied by the script to
   that one wrapper only -- so no other field's layout changes. */
.adme-ac-anchor { position: relative; }
.adme-ac-box { margin-top: -1px; }

.adme-ac-item {
    padding: 7px 10px;
    cursor: pointer;
    line-height: 1.3;
    border-bottom: 1px solid #f0f0f0;
}
.adme-ac-item:last-child { border-bottom: none; }
.adme-ac-item.is-active,
.adme-ac-item:hover { background: #f3f7fb; }

.adme-ac-main { display: block; color: #222; }
.adme-ac-sec  { display: block; color: #777; font-size: 12px; }

/* Google Maps attribution. Predictions are displayed outside a Google map, so the attribution sits
   inside the same visual container, separated from the content above it. Colour and size follow the
   provider's current text-attribution guidance; the wording is not localized or re-capitalized. */
.adme-ac-attrib {
    padding: 5px 10px;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #5E5E5E;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .adme-ac-box { max-height: 200px; }
    .adme-ac-sec { font-size: 11px; }
}
