/* Shared implementation location, matching the industrial configurator. */
.enquiry-configurator:not(.cfg-industrial) .cfg-map{width:100%;height:220px;min-height:200px;clear:both;border:1px solid #cad9e3;border-radius:8px;z-index:0}
.enquiry-configurator:not(.cfg-industrial) .cfg-map-search{display:flex;align-items:flex-end;gap:6px;margin-bottom:8px}
.enquiry-configurator:not(.cfg-industrial) .cfg-map-search .cfg-field{flex:1;min-width:0}
.enquiry-configurator:not(.cfg-industrial) .cfg-map-results{display:grid;gap:5px;margin-bottom:6px}
.enquiry-configurator:not(.cfg-industrial) .cfg-map-results .btn{text-align:left;font-size:13px}
.enquiry-configurator:not(.cfg-industrial) .cfg-map+.cfg-hint{margin-top:8px;overflow-wrap:anywhere}
@media(max-width:849px){.enquiry-configurator:not(.cfg-industrial) .cfg-map{height:320px}.enquiry-configurator:not(.cfg-industrial) .cfg-map-search{flex-wrap:wrap}.enquiry-configurator:not(.cfg-industrial) .cfg-map-search .cfg-field{flex-basis:100%}}
@media(min-width:850px){
 .enquiry-configurator:not(.cfg-industrial) .cfg-column:first-child{grid-template-rows:auto auto minmax(0,1fr)}
 .enquiry-configurator:not(.cfg-industrial) [data-step="2"]{overflow:auto}
 .enquiry-configurator:not(.cfg-industrial) .cfg-map{height:180px;min-height:130px}
}

/* Match location controls to the surrounding configurator fields. */
.enquiry-configurator .cfg-map-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.enquiry-configurator .cfg-map-search .cfg-field{min-width:0}
.enquiry-configurator .cfg-map-search .btn,.enquiry-configurator [data-step="2"]>button[name="location"]{box-sizing:border-box;border:1px solid #267aaa;border-radius:6px;background:#eef8fd;color:#0c1722;font:inherit;font-size:14px;font-weight:400;line-height:1.4;min-height:36px;padding:7px 12px;cursor:pointer;box-shadow:none;transform:none}
.enquiry-configurator .cfg-map-search .btn{height:36px;white-space:nowrap;background:#fff}
.enquiry-configurator .cfg-map-search input{box-sizing:border-box;height:36px;min-height:36px;font-size:16px;padding:7px 9px}
.enquiry-configurator [data-step="2"]>button[name="location"]{display:flex;align-items:center;justify-content:center;width:100%;margin-top:8px}
.enquiry-configurator [data-step="2"] [role="status"]:empty{display:none}
.enquiry-configurator .cfg-map-search .btn:hover,.enquiry-configurator [data-step="2"]>button[name="location"]:hover{background:#e6f2f8;transform:none;box-shadow:none}
.enquiry-configurator .cfg-map-search .btn:disabled,.enquiry-configurator [data-step="2"]>button[name="location"]:disabled{opacity:.5;cursor:default}
@media(max-width:849px){
 .enquiry-configurator .cfg-map-search .btn,.enquiry-configurator [data-step="2"]>button[name="location"]{min-height:44px;padding:10px 12px;font-size:16px}
 .enquiry-configurator .cfg-map-search .btn,.enquiry-configurator .cfg-map-search input{height:44px}
}
@media(min-width:1200px){.cfg-industrial .cfg-map-search .btn,.cfg-industrial .cfg-map-search input{height:34px;min-height:34px}.cfg-industrial .cfg-map-search .btn,.cfg-industrial [data-step="2"]>button[name="location"]{font-size:12px;min-height:34px;padding:5px 8px}}

/* Fill the location card with the map; keep its three actions together. */
.enquiry-configurator [data-step="2"]{display:flex!important;flex-direction:column;min-height:0}
.enquiry-configurator [data-step="2"][hidden]{display:none!important}
.enquiry-configurator .cfg-map-search{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;flex:none}
.enquiry-configurator .cfg-map-search .cfg-field{grid-column:1/-1;width:100%}
.enquiry-configurator .cfg-map-search .btn{width:100%;min-width:0;padding-left:4px;padding-right:4px}
.enquiry-configurator [data-step="2"] .cfg-map{flex:1;min-height:150px;height:auto!important;width:100%}
.enquiry-configurator [data-step="2"]>.cfg-hint{flex:none}
@media(max-width:849px){.enquiry-configurator [data-step="2"] .cfg-map{flex:none;height:clamp(300px,48dvh,440px)!important}}

/* Desktop location caption mirrors the panel title, freeing space for the map. */
.enquiry-configurator .cfg-location-heading{flex:none}
@media(min-width:850px){
 .enquiry-configurator .cfg-location-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}
 .enquiry-configurator .cfg-location-heading .cfg-legend{margin:0!important;flex:none}
 .enquiry-configurator .cfg-location-heading>span{font-size:12px;line-height:1.3;text-align:right;min-width:0}
}
