/* Greenex Dealer Locator: accessible, mobile-friendly, and isolated from the theme. */
.gdl-locator{--gdl-green:#0b4f2a;--gdl-border:#dae4dc;--gdl-bg:#f5f8f5;--gdl-ink:#1c2c22;--gdl-muted:#526458;box-sizing:border-box;color:var(--gdl-ink);font-family:inherit;max-width:1250px;margin:18px auto 32px}
.gdl-locator *{box-sizing:border-box}
.gdl-locator :focus-visible{outline:3px solid #8cb89d;outline-offset:2px}
.gdl-locator .gdl-search{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;background:var(--gdl-bg);border:1px solid var(--gdl-border);padding:17px;border-radius:12px;margin:0}
.gdl-locator .gdl-field{flex:1 1 230px;min-width:0}
.gdl-locator .gdl-field-radius{flex:0 1 155px}
.gdl-locator label{display:block;font-weight:650;font-size:13px;line-height:1.5;margin-bottom:5px}
.gdl-locator input[type=search],.gdl-locator select{width:100%;height:44px;border:1px solid #b8c9bb;border-radius:7px;padding:8px 12px;background:#fff;color:var(--gdl-ink);font-size:15px;margin:0;box-shadow:none}
.gdl-locator .gdl-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;border:1px solid var(--gdl-green);padding:10px 15px;font:inherit;font-size:14px;font-weight:650;line-height:1.2;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background-color .15s,color .15s}
.gdl-locator .gdl-button-main{color:#fff;background:var(--gdl-green)}
.gdl-locator .gdl-button-main:hover{color:#fff;background:#08391f}
.gdl-locator .gdl-button-outline{background:#fff;color:var(--gdl-green)}
.gdl-locator .gdl-button-outline:hover{background:#eaf2eb;color:var(--gdl-green)}
.gdl-locator .gdl-button:disabled{opacity:.6;cursor:wait}
.gdl-locator .gdl-clear{padding:8px 0;background:none;border:0;color:var(--gdl-green);text-decoration:underline;text-underline-offset:3px;font-size:13px;cursor:pointer}
.gdl-locator .gdl-announcement{min-height:24px;margin:12px 2px;color:var(--gdl-muted);font-size:14px}
.gdl-locator .gdl-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:20px;align-items:start}
.gdl-locator .gdl-map-shell{position:sticky;top:20px;border:1px solid var(--gdl-border);border-radius:12px;overflow:hidden;background:#ecf3ee}
.gdl-locator .gdl-map-placeholder{min-height:410px;padding:24px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}
.gdl-locator .gdl-map-placeholder[hidden],.gdl-locator .gdl-map[hidden]{display:none!important}
.gdl-locator .gdl-map-placeholder strong{font-size:19px;color:var(--gdl-green);font-weight:700}
.gdl-locator .gdl-map-placeholder p{max-width:390px;margin:0;color:var(--gdl-muted);font-size:14px;line-height:1.55}
.gdl-locator .gdl-pin-symbol{width:45px;height:45px;border-radius:50% 50% 50% 4px;background:var(--gdl-green);transform:rotate(-45deg);font-size:0;position:relative;margin:0 0 15px}
.gdl-locator .gdl-pin-symbol:after{content:"";width:16px;height:16px;border-radius:50%;background:#fff;position:absolute;top:14px;left:14px}
.gdl-locator .gdl-map{width:100%;height:460px;z-index:0}
.gdl-locator .gdl-map-source{display:block;padding:8px 10px;font-size:11px;line-height:1.4;color:var(--gdl-muted)}
.gdl-locator .gdl-map-source a{color:var(--gdl-green)}
.gdl-locator .gdl-list-panel{min-width:0}
.gdl-locator .gdl-list-title{margin:0 0 10px;font-weight:700;font-size:19px;color:var(--gdl-green)}
.gdl-locator .gdl-results{display:flex;flex-direction:column;gap:10px;max-height:515px;overflow-y:auto;overscroll-behavior:contain;padding:1px 5px 10px 1px;scrollbar-width:thin}
.gdl-locator .gdl-card{background:#fff;border:1px solid var(--gdl-border);padding:16px;border-radius:10px;box-shadow:0 2px 8px rgba(13,67,31,.045)}
.gdl-locator .gdl-card[hidden]{display:none!important}
.gdl-locator .gdl-results>.gdl-card{flex:0 0 auto}
.gdl-locator .gdl-card h3{font:inherit;font-weight:750;color:var(--gdl-ink);font-size:17px;line-height:1.35;margin:0 0 7px;padding:0}
.gdl-locator .gdl-card p{margin:0 0 7px;font-size:14px;line-height:1.55}
.gdl-locator .gdl-card p.gdl-card-address{color:var(--gdl-muted)}
.gdl-locator .gdl-card a{color:var(--gdl-green);text-decoration:underline;text-underline-offset:2px;font-size:14px}
.gdl-locator .gdl-card-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.gdl-locator .gdl-distance{display:inline-block;font-size:13px;font-weight:650;color:var(--gdl-green);background:var(--gdl-bg);border-radius:5px;padding:5px 8px}
.gdl-locator .gdl-show-map{border:0;background:none;padding:4px 0;cursor:pointer;color:var(--gdl-green);text-decoration:underline;text-underline-offset:2px;font-size:13px}
.gdl-locator .gdl-route{display:inline-block;font-weight:600;margin-top:9px}
.gdl-locator .gdl-hours{margin-top:11px;border-top:1px solid #e9eee9;padding-top:9px;font-size:13px;color:var(--gdl-muted)}
.gdl-locator .gdl-hours summary{cursor:pointer;color:var(--gdl-green);font-weight:650}
.gdl-locator .gdl-hours dl{display:grid;grid-template-columns:minmax(85px,.45fr) 1fr;gap:4px 7px;margin:10px 0 0;font-size:12px;line-height:1.45}
.gdl-locator .gdl-hours dt,.gdl-locator .gdl-hours dd{margin:0}
.gdl-locator .gdl-popup{min-width:180px;font:13px/1.5 system-ui,sans-serif}
.gdl-locator .gdl-popup strong,.gdl-locator .gdl-popup a{display:block;margin:4px 0}
.gdl-locator .leaflet-container{font-family:inherit}
@media (max-width:800px){.gdl-locator .gdl-layout{display:flex;flex-direction:column}.gdl-locator .gdl-map-shell{position:relative;top:auto;width:100%}.gdl-locator .gdl-list-panel{width:100%}.gdl-locator .gdl-results{max-height:none;overflow:visible}.gdl-locator .gdl-map{height:345px}.gdl-locator .gdl-map-placeholder{min-height:315px}}
@media (max-width:490px){.gdl-locator .gdl-search{padding:13px;gap:10px}.gdl-locator .gdl-field,.gdl-locator .gdl-field-radius{flex:1 1 100%}.gdl-locator .gdl-button{flex:1 1 auto}.gdl-locator .gdl-clear{width:100%;text-align:center}.gdl-locator .gdl-card{padding:14px}}

.gdl-locator .gdl-postcode-source{display:block;margin-top:12px;color:var(--gdl-muted);font-size:11px}.gdl-locator .gdl-postcode-source a{color:var(--gdl-green)}

/* v1.1.0: reusable per-category presentation. Variables are set on category cards/filters. */
.gdl-locator{--gdl-cat-color:#276749;--gdl-cat-tint:#e8f1eb;--gdl-cat-on:#fff}
.gdl-locator .gdl-category-filters{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:12px 0 0}
.gdl-locator .gdl-category-filter-label{font-size:13px;font-weight:650;color:var(--gdl-muted);margin-right:3px}
.gdl-locator .gdl-category-filter{display:inline-flex;align-items:center;gap:7px;border-radius:99px;padding:5px 10px;border:1px solid var(--gdl-border);background:#fff;color:var(--gdl-ink);font:inherit;font-size:12px;font-weight:600;cursor:pointer;line-height:1.55;min-height:34px}
.gdl-locator .gdl-category-filter:hover{border-color:var(--gdl-cat-color);background:var(--gdl-cat-tint)}
.gdl-locator .gdl-category-filter.is-active{border-color:var(--gdl-green);box-shadow:0 0 0 1px var(--gdl-green);background:var(--gdl-bg)}
.gdl-locator .gdl-filter-count{font-variant-numeric:tabular-nums;opacity:.7;font-weight:500}
.gdl-locator .gdl-category-mini{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--gdl-cat-color);color:var(--gdl-cat-on);font:700 11px/1 system-ui,sans-serif;letter-spacing:-.01em}
.gdl-locator .gdl-map-legend{display:flex;flex-wrap:wrap;gap:7px 14px;align-items:center;padding:10px 12px;background:#fff;border-top:1px solid var(--gdl-border);font-size:12px;color:var(--gdl-ink)}
.gdl-locator .gdl-legend-title{font-weight:700;color:var(--gdl-muted)}
.gdl-locator .gdl-legend-item{display:inline-flex;align-items:center;gap:5px}
.gdl-locator .gdl-card-heading{display:flex;align-items:start;justify-content:space-between;gap:6px 9px;flex-wrap:wrap;margin-bottom:7px}
.gdl-locator .gdl-card-heading h3{flex:1 1 145px;margin:0}
.gdl-locator .gdl-category-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--gdl-cat-color);border-radius:50px;padding:3px 8px 3px 4px;font:600 11px/1.2 system-ui,sans-serif;background:var(--gdl-cat-tint);color:#1c2c22;max-width:100%;white-space:normal}
.gdl-locator .gdl-category-badge .gdl-category-mini{width:19px;height:19px}
.gdl-locator .gdl-card--compact{padding:11px 13px;box-shadow:none}
.gdl-locator .gdl-card--compact h3{font-size:15px}
.gdl-locator .gdl-card--accent{background:linear-gradient(110deg,var(--gdl-cat-tint) 0,#fff 68%);border-left:5px solid var(--gdl-cat-color);padding-left:15px;box-shadow:0 3px 12px rgba(13,67,31,.10)}
.gdl-locator .gdl-card--accent h3{font-size:18px}
.gdl-locator .gdl-card--featured{border:2px solid var(--gdl-cat-color);padding:16px 16px 18px;background:#fff;box-shadow:0 7px 22px rgba(26,53,35,.17);overflow:hidden}
.gdl-locator .gdl-card--featured .gdl-feature-flag{display:flex;gap:8px;align-items:center;margin:-16px -16px 14px;padding:10px 14px;background:var(--gdl-cat-color);color:var(--gdl-cat-on);font-size:12px;font-weight:750;letter-spacing:.02em}
.gdl-locator .gdl-feature-symbol{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid currentColor;border-radius:50%;font-size:12px;flex:none}
.gdl-locator .gdl-card--featured .gdl-card-heading h3{font-size:20px;line-height:1.32;color:var(--gdl-ink)}
.gdl-locator .gdl-card--featured .gdl-card-address{font-weight:550}
.gdl-locator .gdl-card--featured .gdl-route{display:inline-flex;align-items:center;padding:9px 13px;color:var(--gdl-cat-on);background:var(--gdl-cat-color);border-radius:7px;text-decoration:none;font-weight:700}
.gdl-locator .gdl-card--featured .gdl-route:hover{filter:brightness(.92);text-decoration:none}
.gdl-locator .gdl-marker-anchor{background:transparent;border:0}
.gdl-locator .gdl-marker{display:flex;width:38px;height:38px;justify-content:center;align-items:center;box-sizing:border-box;border:3px solid #fff;border-radius:50%;color:var(--gdl-cat-on,#fff);font:700 15px/1 system-ui,sans-serif;background:var(--gdl-cat-color,#276749);box-shadow:0 2px 8px rgba(0,0,0,.4)}
.gdl-locator .gdl-marker--small{width:30px;height:30px;font-size:12px;border-width:2px}
.gdl-locator .gdl-marker--large{width:52px;height:52px;font-size:19px;border-width:4px;box-shadow:0 0 0 3px rgba(255,255,255,.9),0 4px 17px rgba(0,0,0,.37)}
.gdl-locator .gdl-marker--rounded{border-radius:11px}
.gdl-locator .gdl-marker--pin{border-radius:50% 50% 50% 7px;transform:rotate(-45deg)}
.gdl-locator .gdl-marker--pin .gdl-marker-glyph{transform:rotate(45deg)}
.gdl-locator .gdl-popup-category{display:block;width:max-content;max-width:210px;margin:3px 0 6px;padding:3px 8px;border-left:4px solid var(--gdl-cat-color);background:#f6f7f6;color:#273b2d;font-size:12px;font-weight:700}
@media(max-width:490px){.gdl-locator .gdl-category-filter-label{flex-basis:100%}.gdl-locator .gdl-map-legend{gap:7px 12px}.gdl-locator .gdl-card-heading h3{flex-basis:140px}}

.gdl-locator .gdl-card-image{float:right;max-width:35%;width:96px;height:88px;margin:3px 0 9px 12px;border-radius:8px;object-fit:cover;border:1px solid var(--gdl-border)}
.gdl-locator .gdl-card--featured .gdl-card-image{width:125px;height:105px}
.gdl-locator .gdl-card-summary{color:var(--gdl-ink);font-size:13px;line-height:1.5}

/* Optional list-only mode for references, case studies, portfolios, etc. */
.gdl-locator--list-only .gdl-layout{display:block}
.gdl-locator--list-only .gdl-map-shell,.gdl-locator--list-only .gdl-field-radius,.gdl-locator--list-only [data-gdl-geolocate]{display:none}
.gdl-locator--list-only .gdl-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));max-height:none;overflow:visible;padding:5px 3px 16px;align-items:stretch;gap:15px}
.gdl-locator--list-only .gdl-results .gdl-card{height:100%}
.gdl-locator .gdl-card::after{content:"";display:block;clear:both}
