/* H&M Bay Map v10 — paste into Page Custom CSS (without <style>) */
#hmb-sales-map-v11 .hmb8-pulse-layer{pointer-events:none!important}#hmb-sales-map-v11 .hmb8-pulse{pointer-events:none!important;transform-box:fill-box;transform-origin:center;animation:hmb8PinPulse 2.15s ease-out infinite;}@keyframes hmb8PinPulse{0%{transform:scale(1);opacity:.38}75%{transform:scale(2.25);opacity:0}100%{transform:scale(2.25);opacity:0}}@media(prefers-reduced-motion:reduce){#hmb-sales-map-v11 .hmb8-pulse{animation:none;opacity:0}}#hmb-sales-map-v11{background:transparent;width:100%;box-sizing:border-box;padding:0;font-family:Arial,Helvetica,sans-serif;}#hmb-sales-map-v11 *,#hmb-sales-map-v11 *::before,#hmb-sales-map-v11 *::after{box-sizing:border-box}#hmb-sales-map-v11 .hmb3-stage{position:relative;width:100%;max-width:1530px;margin:auto;isolation:isolate}#hmb-sales-map-v11 .hmb-stage-svg{width:100%;height:auto;display:block;min-width:0;max-width:100%;overflow:visible}#hmb-sales-map-v11 svg [data-city]{cursor:pointer;touch-action:manipulation;outline:none}#hmb-sales-map-v11 svg [data-city] rect{fill:transparent;stroke:none;pointer-events:all}#hmb-sales-map-v11 svg [data-city]:hover rect,#hmb-sales-map-v11 svg [data-city][aria-pressed="true"] rect{fill:transparent;stroke:none}#hmb-sales-map-v11 svg [data-city]:focus-visible rect{stroke:#fff;stroke-width:.6}#hmb-sales-map-v11 .hmb3-popup{position:absolute;top:0;left:0;transform:none;z-index:5;background:#fff;border-radius:5px;padding:12px;width:clamp(190px,20%,280px);max-height:min(420px,94%);overflow-y:auto;box-shadow:0 10px 35px rgba(0,0,0,.35);color:#222;font-family:Arial,Helvetica,sans-serif}#hmb-sales-map-v11 .hmb3-popup[hidden]{display:none!important}@keyframes hmbMapPopupIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}#hmb-sales-map-v11 .hmb3-popup:not([hidden]){animation:hmbMapPopupIn .32s cubic-bezier(.22,1,.36,1) both}@media(prefers-reduced-motion:reduce){#hmb-sales-map-v11 .hmb3-popup:not([hidden]){animation:none!important}}#hmb-sales-map-v11 .hmb3-photo{width:100%;aspect-ratio:1.55;background:#dedede center /cover no-repeat;margin-bottom:12px}#hmb-sales-map-v11 .hmb3-body{display:flex;flex-direction:column;align-items:flex-start;gap:6px}#hmb-sales-map-v11 .hmb3-title{font-size:clamp(12px,1.18vw,17px);font-weight:800;line-height:1.12;letter-spacing:0;margin:0 0 2px;color:#8b1830;text-transform:uppercase}#hmb-sales-map-v11 .hmb3-address{margin:0;color:#333;font-size:clamp(9px,.84vw,12px);line-height:1.38;white-space:pre-line}#hmb-sales-map-v11 .hmb3-phone,#hmb-sales-map-v11 .hmb3-email{font-size:clamp(9px,.80vw,12px);color:#555;text-decoration:none;line-height:1.3;overflow-wrap:anywhere}#hmb-sales-map-v11 .hmb3-phone:hover,#hmb-sales-map-v11 .hmb3-email:hover{text-decoration:underline}#hmb-sales-map-v11 .hmb3-directions{background:#8b1830;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:clamp(9px,.8vw,12px);line-height:1.2;margin-top:4px;padding:10px 15px;display:inline-block;text-align:center}#hmb-sales-map-v11 .hmb3-close{position:absolute;z-index:2;right:7px;top:6px;border:0;background:rgba(255,255,255,.96);color:#8b1830;cursor:pointer;font-size:23px;line-height:1;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center}#hmb-sales-map-v11 .hmb3-close:focus-visible{outline:2px solid #8b1830;outline-offset:2px}@media(max-width:700px){#hmb-sales-map-v11{padding:0}@keyframes hmbMapPopupMobileIn{from{opacity:0;transform:translate(-50%,calc(-50% + 8px))}to{opacity:1;transform:translate(-50%,-50%)}}#hmb-sales-map-v11 .hmb3-popup:not([hidden]){animation-name:hmbMapPopupMobileIn}#hmb-sales-map-v11 .hmb3-popup{position:fixed;width:min(300px,86vw);left:50%;top:50%;transform:translate(-50%,-50%);max-height:80dvh;padding:12px;z-index:999999}#hmb-sales-map-v11 .hmb3-photo{aspect-ratio:1.55;margin-bottom:10px}#hmb-sales-map-v11 .hmb3-body{gap:3px}#hmb-sales-map-v11 .hmb3-title{font-size:12px}#hmb-sales-map-v11 .hmb3-address,#hmb-sales-map-v11 .hmb3-phone,#hmb-sales-map-v11 .hmb3-email{font-size:10px}#hmb-sales-map-v11 .hmb3-directions{padding:8px;font-size:10px}}

/* V11 1.0.5: restore proven content alignment from 1.0.3; keep 1.0.4 bounded larger positioning. */
@media (max-width:700px) {
  #hmb-sales-map-v11 .hmb3-stage {position:relative;overflow:visible;}
  #hmb-sales-map-v11 .hmb3-popup {
    position:absolute !important;
    width:240px !important;
    max-height:none !important;
    padding:12px !important;
    transform-origin:top left !important;
    transform:scale(var(--hmb-v11-popup-scale, .28)) !important;
    z-index:8 !important;
    overflow:visible !important;
  }
  #hmb-sales-map-v11 .hmb3-popup:not([hidden]) {animation:none !important;}
  #hmb-sales-map-v11 .hmb3-photo {aspect-ratio:1.55 !important;margin-bottom:12px !important;}
  #hmb-sales-map-v11 .hmb3-body {gap:6px !important;}
  #hmb-sales-map-v11 .hmb3-title {font-size:17px !important;}
  #hmb-sales-map-v11 .hmb3-address,
  #hmb-sales-map-v11 .hmb3-phone,
  #hmb-sales-map-v11 .hmb3-email {font-size:12px !important;}
  #hmb-sales-map-v11 .hmb3-directions {padding:10px 15px !important;font-size:12px !important;}
}

/* 1.0.6: neutralize Salient/WPBakery inherited text centering within V11 mobile popup. */
@media (max-width:700px) {
  #hmb-sales-map-v11 .hmb3-popup,
  #hmb-sales-map-v11 .hmb3-popup .hmb3-body,
  #hmb-sales-map-v11 .hmb3-popup .hmb3-title,
  #hmb-sales-map-v11 .hmb3-popup .hmb3-address,
  #hmb-sales-map-v11 .hmb3-popup .hmb3-phone,
  #hmb-sales-map-v11 .hmb3-popup .hmb3-email {
    text-align:left !important;
  }
  #hmb-sales-map-v11 .hmb3-popup .hmb3-body {
    align-items:flex-start !important;
    width:100%;
  }
  #hmb-sales-map-v11 .hmb3-popup .hmb3-address {
    margin-left:0 !important;
    margin-right:0 !important;
    width:100%;
  }
}

/* V11 1.0.7: keep address lines left-aligned despite Salient paragraph styles. */
@media (max-width:700px) {
  #hmb-sales-map-v11 .hmb3-popup .hmb3-address {
    display:block !important; width:100% !important;
    text-align:left !important; text-align-last:left !important;
    direction:ltr !important; white-space:normal !important;
    align-self:stretch !important;
  }
  #hmb-sales-map-v11 .hmb3-popup .hmb3-address .hmb-v11-address-line {
    display:block !important; text-align:left !important; text-align-last:left !important;
    width:100% !important; margin:0 !important; padding:0 !important;
  }
}


/* V11 1.0.8: slightly larger mobile popup while staying inside the map section. */
@media (max-width:700px) {
  #hmb-sales-map-v11 .hmb3-popup {
    width: 258px !important;
    padding: 13px !important;
  }
  #hmb-sales-map-v11 .hmb3-title { font-size: 18px !important; }
  #hmb-sales-map-v11 .hmb3-address,
  #hmb-sales-map-v11 .hmb3-phone,
  #hmb-sales-map-v11 .hmb3-email { font-size: 12.5px !important; line-height: 1.35 !important; }
  #hmb-sales-map-v11 .hmb3-directions { font-size: 12px !important; padding: 10px 16px !important; }
}

/* V11 1.0.9: map texture is a single Figma image clipped to the original silhouette. */
