/* Customer location experience: scoped to the location selector and picker. */
.hd-loc-row { border:0; background:transparent; color:inherit; font:inherit; padding:0; text-align:left; min-height:44px; cursor:pointer; }
.loc-header-lines { display:flex; flex-direction:column; min-width:0; }
#location-city { color:inherit; opacity:.85; font-size:12px; }
.loc-overlay { position:fixed; }
.loc-sheet { max-width:480px; margin-inline:auto; max-height:92vh; max-height:92dvh; padding-bottom:env(safe-area-inset-bottom,0px); }
.loc-sheet-title { margin:0; font-size:20px; }
.loc-scroll { overflow-y:auto; overscroll-behavior:contain; padding-bottom:24px; }
.loc-sheet button,.locpick-overlay button { min-height:44px; cursor:pointer; font:inherit; }
.loc-sheet [hidden],.locpick-overlay [hidden] { display:none !important; }
.loc-sheet button:focus-visible,.loc-sheet input:focus-visible,.loc-sheet select:focus-visible,.locpick-overlay button:focus-visible { outline:3px solid #1660bd; outline-offset:2px; }
.loc-search-box { display:flex; gap:6px; padding:6px; margin:8px 0 16px; border:1px solid #cbd5e1; border-radius:12px; background:#f8fafc; }
.loc-search-box input { flex:1; min-width:0; border:0; background:transparent; font:inherit; padding:8px; font-size:16px; }
.loc-search-box button { border:0; background:#e8f0ff; border-radius:8px; padding:0 10px; color:#124c99; font-weight:600; }
.loc-gps-row { width:100%; border:1px solid #dce7f6; background:#f6f9ff; text-align:left; border-radius:14px; padding:16px; display:flex; gap:12px; align-items:center; margin:10px 0; color:#123d7c; }
.loc-gps-body { display:flex; flex:1; flex-direction:column; gap:4px; }
.loc-gps-sub { color:#475569; font-size:13px; line-height:1.45; }
.loc-status { font-size:13px; line-height:1.55; color:#475569; margin:8px 0; }
.loc-actions { display:flex; flex-wrap:wrap; gap:8px; }
.loc-actions button,.loc-manual-link { border:0; background:transparent; color:#1458ae; font-weight:600; text-align:left; padding:10px 4px; }
.loc-suggestions { margin-bottom:12px; }
.loc-suggestions .loc-sug-item { width:100%; border:0; background:#f8fafc; text-align:left; border-radius:8px; margin-bottom:4px; padding:12px; color:#1e293b; }
.loc-suggestions p,.loc-help { color:#64748b; font-size:13px; line-height:1.5; }
.loc-manual { margin:12px 0; padding:16px; background:#f8fafc; border:1px solid #dbe4f0; border-radius:14px; }
.loc-manual h3 { margin:0 0 12px; }
.loc-manual label { display:block; font-size:13px; color:#334155; margin:10px 0 6px; }
.loc-manual input:not([type=checkbox]),.loc-manual select { box-sizing:border-box; width:100%; min-height:44px; padding:10px; font:inherit; font-size:16px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; }
.loc-field-row { display:flex; gap:12px; }
.loc-field-row>div { flex:1; min-width:0; }
.loc-primary { width:100%; background:#1559b8; color:#fff; border:0; border-radius:10px; padding:12px; font-weight:700; }
#loc-manual-error { color:#b42318; font-size:13px; }
.loc-addr-card { display:flex; flex-direction:column; align-items:flex-start; width:100%; text-align:left; padding:14px; gap:6px; border:1px solid #dbe4f0; background:#fff; border-radius:12px; margin:8px 0; overflow-wrap:anywhere; }
.loc-addr-card[aria-pressed=true] { background:#edf4ff; border-color:#1559b8; }
.loc-addr-card span { font-size:13px; line-height:1.5; color:#475569; }
.loc-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.locpick-overlay { position:fixed; max-width:480px; margin-inline:auto; padding-bottom:env(safe-area-inset-bottom,0px); box-sizing:border-box; }
.locpick-card { max-height:48vh; overflow-y:auto; }
.locpick-addr-label { overflow-wrap:anywhere; }
@media(prefers-reduced-motion:reduce) { .loc-sheet,.loc-overlay { transition:none; } }
/* Keep the map usable while details scroll and actions stay in view. */
#loc-sheet.loc-sheet { min-height:0; max-height:92vh; max-height:92dvh; overflow:hidden !important; display:flex; flex-direction:column; }
.loc-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; }
#locpick-overlay.locpick-overlay {
  padding:0;
  width:100%;
  height:100vh;
  height:100dvh;
  max-height:100dvh;
  min-height:0;
  overflow:hidden;
  grid-template-rows:auto minmax(96px,1fr) minmax(0,auto) auto;
}
.locpick-top { min-height:48px; }
.locpick-mapwrap { min-height:96px; height:auto; overflow:hidden; }
.locpick-card {
  min-height:0;
  max-height:min(30dvh,220px);
  padding:12px 16px 10px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.locpick-actions {
  position:relative;
  z-index:4;
  background:#fff;
  box-shadow:0 -3px 14px rgba(15,40,80,.10);
  padding:10px 16px max(12px,env(safe-area-inset-bottom,0px));
}
.locpick-confirm { width:100%; min-height:48px; }
.location-coverage { margin:12px 0; padding:12px 14px; border-radius:12px; background:#edf4ff; color:#123d7c; font-size:13px; line-height:1.5; }
.location-coverage p { margin:4px 0 0; }
@media(max-height:680px) {
  .locpick-mapwrap { min-height:88px; }
  .locpick-card { max-height:24dvh; padding-block:8px; }
  .locpick-addr { margin-bottom:6px; }
  .locpick-saveas { margin-bottom:6px; }
}
@media(max-height:480px) {
  .locpick-top { min-height:42px; padding-block:5px; }
  .locpick-mapwrap { min-height:72px; }
  .locpick-card { max-height:20dvh; padding-block:6px; }
  .locpick-addr-sub { display:none; }
  .locpick-actions { padding-top:6px; }
}
