/* PATCH 123 - isolated location / directions layout */
.location-page-v123{max-width:1180px;margin:0 auto;padding:44px 24px 72px;color:#172846;box-sizing:border-box}
.location-page-v123 *{box-sizing:border-box}
.location-hero-v123{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px;padding:0 4px}
.location-eyebrow-v123{display:block;margin-bottom:7px;color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.14em}
.location-hero-v123 h1{margin:0;color:#102b5b;font-size:34px;line-height:1.2;letter-spacing:-1.1px}
.location-hero-v123 p{margin:9px 0 0;color:#64748b;font-size:15px;line-height:1.6}
.location-layout-v123{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:20px;align-items:stretch}
.location-card-v123{min-width:0;padding:30px;border:1px solid #dfe7f1;border-radius:20px;background:#fff;box-shadow:0 14px 38px rgba(15,38,77,.08)}
.location-store-v123{border-top:4px solid #2563eb}
.location-store-head-v123{display:flex;align-items:flex-start;gap:15px;padding-bottom:20px;border-bottom:1px solid #edf2f7}
.location-pin-v123{display:flex;flex:0 0 48px;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#eaf2ff;color:#1d4ed8;font-size:27px;font-weight:900}
.location-store-head-v123 h2,.location-help-v123 h2{margin:0;color:#142f60;font-size:23px;line-height:1.35;letter-spacing:-.6px}
.location-store-head-v123 p{margin:7px 0 0;color:#66758b;font-size:14px;line-height:1.6;word-break:keep-all}
.location-info-v123{margin:14px 0 0}
.location-info-v123>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid #eef2f7}
.location-info-v123 dt{color:#7b8799;font-size:13px;font-weight:800}
.location-info-v123 dd{margin:0;color:#273851;font-size:14px;font-weight:700;line-height:1.55;word-break:keep-all}
.location-info-v123 a{color:#1d4ed8;text-decoration:none}
.location-actions-v123{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:9px;margin-top:22px}
.location-actions-v123 a,.location-actions-v123 button{min-width:0;height:48px;border-radius:12px;font-family:inherit;font-size:13px;font-weight:900;text-decoration:none;cursor:pointer}
.location-primary-v123{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #03c75a;background:#03c75a;color:#fff}
.location-n-v123{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:5px;background:#fff;color:#03a94b;font-size:14px;font-weight:950}
.location-secondary-v123{display:flex;align-items:center;justify-content:center;border:1px solid #d9e1ec;background:#fff;color:#334155}
.location-help-v123 h2{margin-bottom:18px}
.location-help-v123 ol{display:grid;gap:13px;margin:0;padding:0;list-style:none;counter-reset:location-step}
.location-help-v123 li{position:relative;padding:15px 15px 15px 49px;border-radius:14px;background:#f7f9fc;counter-increment:location-step}
.location-help-v123 li:before{content:counter(location-step);position:absolute;left:14px;top:14px;display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#1d4ed8;color:#fff;font-size:12px;font-weight:900}
.location-help-v123 li strong,.location-help-v123 li span{display:block}
.location-help-v123 li strong{color:#263b5f;font-size:14px}
.location-help-v123 li span{margin-top:5px;color:#6a788d;font-size:12px;line-height:1.55;word-break:keep-all}
.location-destination-v123{margin-top:17px;padding:16px;border:1px solid #dfe7f1;border-radius:14px;background:#fff}
.location-destination-v123 span,.location-destination-v123 small,.location-destination-v123 strong{display:block}
.location-destination-v123 span{color:#2563eb;font-size:11px;font-weight:900;letter-spacing:.08em}
.location-destination-v123 strong{margin:6px 0 5px;color:#1c3255;font-size:15px;line-height:1.45}
.location-destination-v123 small{color:#7b8799;font-size:12px;line-height:1.5}

.location-modal-v123{position:fixed;z-index:100000;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
.location-modal-v123.is-open{visibility:visible;opacity:1;pointer-events:auto}
.location-modal-backdrop-v123{position:absolute;inset:0;background:rgba(7,18,39,.58);backdrop-filter:blur(3px)}
.location-modal-card-v123{position:relative;z-index:1;width:min(100%,440px);padding:30px 27px 26px;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(7,18,39,.28);text-align:center}
.location-modal-x-v123{position:absolute;top:10px;right:12px;width:34px;height:34px;border:0;background:transparent;color:#7b8799;font-size:26px;line-height:1;cursor:pointer}
.location-modal-icon-v123{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:0 auto 15px;border-radius:18px;background:#eaf2ff;color:#1d4ed8;font-size:32px;font-weight:950}
.location-modal-card-v123 h2{margin:0;color:#142f60;font-size:22px;line-height:1.4;letter-spacing:-.5px}
.location-modal-card-v123>p{margin:10px 0 0;color:#67758a;font-size:13px;line-height:1.65;word-break:keep-all}
.location-modal-actions-v123{display:grid;gap:9px;margin-top:22px}
.location-modal-actions-v123 button{width:100%;min-height:48px;padding:0 16px;border-radius:12px;font-family:inherit;font-size:14px;font-weight:900;cursor:pointer}
.location-modal-yes-v123{border:1px solid #2563eb;background:linear-gradient(135deg,#1e40af,#2563eb);color:#fff}
.location-modal-yes-v123:disabled{opacity:.65;cursor:wait}
.location-modal-no-v123{border:1px solid #d8e0eb;background:#fff;color:#334155}
.location-modal-status-v123{min-height:20px;margin-top:12px!important;color:#1d4ed8!important;font-size:12px!important;font-weight:700}
.location-modal-open-v123{overflow:hidden}

@media(max-width:900px){
  .location-page-v123{padding:30px 18px 58px}
  .location-layout-v123{grid-template-columns:1fr}
  .location-actions-v123{grid-template-columns:1.2fr 1fr 1fr}
}
@media(max-width:600px){
  .location-page-v123{padding:22px 14px calc(110px + env(safe-area-inset-bottom))}
  .location-hero-v123{margin-bottom:16px;padding:0 2px}
  .location-hero-v123 h1{font-size:28px}
  .location-hero-v123 p{font-size:13px}
  .location-card-v123{padding:20px 16px;border-radius:16px}
  .location-store-head-v123{gap:11px}
  .location-pin-v123{flex-basis:42px;width:42px;height:42px;border-radius:12px;font-size:24px}
  .location-store-head-v123 h2,.location-help-v123 h2{font-size:19px}
  .location-info-v123>div{grid-template-columns:58px minmax(0,1fr);gap:8px}
  .location-actions-v123{grid-template-columns:1fr 1fr}
  .location-primary-v123{grid-column:1/-1}
  .location-modal-v123{padding:16px}
  .location-modal-card-v123{padding:27px 18px 22px;border-radius:19px}
  .location-modal-card-v123 h2{font-size:20px}
}
@media(max-width:360px){
  .location-actions-v123{grid-template-columns:1fr}
  .location-primary-v123{grid-column:auto}
}
