/* 247WordPressTech Retailer Locator — frontend styles */
.wse-retailer-locator,
.wse-retailer-locator * { box-sizing: border-box; }

.wse-retailer-locator {
  --wse-primary: #173f2b;
  --wse-accent: #d8c7a2;
  --wse-surface: #f7f3eb;
  --wse-border: rgba(23, 63, 43, .16);
  --wse-muted: #62685f;
  --wse-white: #fff;
  --wse-radius: 8px;
  width: 100%;
  margin: 0;
  color: #15231b;
  background: #fbfaf7;
  font-family: var(--e-global-typography-text-font-family, inherit);
  line-height: 1.45;
}

.wse-retailer-locator button,
.wse-retailer-locator input,
.wse-retailer-locator select { font: inherit; }

.wse-retailer-locator button { cursor: pointer; }

.wse-retailer-hero {
  min-height: 385px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 42%, rgba(217, 199, 162, .30), transparent 28%),
    linear-gradient(90deg, #f8f3ea 0%, #f8f3ea 48%, #eee4d4 100%);
}

.wse-retailer-hero.has-image {
  background-image:
    linear-gradient(90deg, rgba(248,243,234,.98) 0%, rgba(248,243,234,.94) 44%, rgba(248,243,234,.22) 66%, rgba(248,243,234,.05) 100%),
    var(--wse-hero-image);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: cover, contain;
}

.wse-retailer-hero__inner,
.wse-locator-shell {
  width: min(1460px, calc(100% - 48px));
  margin-inline: auto;
}

.wse-retailer-hero__copy {
  width: min(610px, 52%);
  padding: 62px 0 112px;
}

.wse-retailer-hero h1 {
  margin: 0 0 18px !important;
  max-width: 620px;
  color: var(--wse-primary) !important;
  font-family: var(--e-global-typography-primary-font-family, inherit);
  font-size: clamp(48px, 5vw, 78px) !important;
  line-height: .98 !important;
  font-weight: 500 !important;
  letter-spacing: -.035em;
}

.wse-retailer-hero p {
  max-width: 560px;
  margin: 0 !important;
  font-size: clamp(17px, 1.35vw, 21px);
  color: #343c36;
}

.wse-locator-shell { padding: 0 0 70px; }

.wse-search-row {
  position: relative;
  z-index: 5;
  width: min(520px, 42%);
  margin-top: -91px;
  padding-bottom: 44px;
}

.wse-search-field {
  height: 62px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(23,63,43,.34);
  border-radius: 4px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 32px rgba(45, 52, 43, .06);
}

.wse-search-field input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 18px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #263029;
  font-size: 16px;
}

.wse-search-field input::placeholder { color: #7d817c; }

.wse-search-field > span {
  width: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  color: var(--wse-primary);
  font-size: 31px;
  transform: rotate(-18deg);
}

.wse-search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  z-index: 40;
  max-height: 330px;
  overflow-y: auto;
  border: 1px solid rgba(23,63,43,.22);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(23,63,43,.16);
}

.wse-search-suggestions[hidden] { display: none !important; }

.wse-search-suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(23,63,43,.10);
  background: #fff;
  color: #1c2a21;
  text-align: left;
}

.wse-search-suggestion:last-child { border-bottom: 0; }

.wse-search-suggestion:hover,
.wse-search-suggestion.is-active {
  background: #f3f6ef;
}

.wse-search-suggestion__pin {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wse-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.wse-search-suggestion__copy { min-width: 0; }

.wse-search-suggestion__name {
  display: block;
  overflow: hidden;
  color: #17251c;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wse-search-suggestion__location {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #687169;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wse-search-suggestion__arrow {
  color: var(--wse-primary);
  font-size: 20px;
}

.wse-search-no-suggestions {
  padding: 15px 16px;
  color: #687169;
  font-size: 13px;
}

.wse-mobile-filter-toggle { display: none; }

.wse-locator-grid {
  display: grid;
  grid-template-columns: 385px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'filters map'
    'results map';
  gap: 14px 24px;
  align-items: stretch;
}

.wse-filter-panel {
  grid-area: filters;
  border: 1px solid var(--wse-border);
  border-radius: var(--wse-radius);
  background: rgba(255,255,255,.72);
  overflow: hidden;
}

.wse-panel-heading,
.wse-filter-group,
.wse-toggle-row { padding: 18px 18px; }

.wse-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--wse-border);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wse-panel-heading strong { font-size: 14px; }

.wse-panel-heading button {
  border: 0;
  padding: 0;
  background: none;
  color: #545c56;
  font-size: 12px;
}

.wse-filter-group { border-bottom: 1px solid var(--wse-border); }

.wse-filter-group h3 {
  margin: 0 0 13px !important;
  color: #263129 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.wse-filter-group label:not(.wse-checkbox-row) { display: block; }
.wse-filter-group label + label { margin-top: 10px; }

.wse-filter-group select {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  border: 1px solid rgba(23,63,43,.19);
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: #4d554f;
}

.wse-checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  color: #303832;
  font-size: 13px;
}

.wse-checkbox-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--wse-primary);
}

.wse-toggle-row {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--wse-border);
  color: #263129;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.wse-toggle-row:last-child { border-bottom: 0; }

.wse-switch { position: relative; width: 40px; height: 23px; flex: 0 0 auto; }
.wse-switch input { position: absolute; opacity: 0; pointer-events: none; }
.wse-switch > span {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #c8c6bf;
  transition: .2s ease;
}
.wse-switch > span::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: .2s ease;
}
.wse-switch input:checked + span { background: var(--wse-primary); }
.wse-switch input:checked + span::after { transform: translateX(17px); }

.wse-map-wrap {
  grid-area: map;
  position: relative;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 720px;
  border-radius: var(--wse-radius);
  overflow: hidden;
  background: #e8eee6;
  box-shadow: inset 0 0 0 1px rgba(23,63,43,.08);
}

.wse-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  pointer-events: auto !important;
  touch-action: pan-x pan-y;
}

.wse-map .maplibregl-map,
.wse-map .maplibregl-canvas-container,
.wse-map .maplibregl-canvas {
  pointer-events: auto !important;
}

.wse-map-message[hidden] { display: none !important; }
.wse-map-message { pointer-events: none; }
.wse-map-message:not([hidden]) { pointer-events: auto; }

.wse-map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 90;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(23,63,43,.16);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(23,63,43,.14);
  pointer-events: auto !important;
}

.wse-map-control-button {
  position: relative !important;
  z-index: 91 !important;
  width: 40px !important;
  height: 38px !important;
  min-width: 40px !important;
  min-height: 38px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #263129 !important;
  font: 700 25px/1 Arial, sans-serif !important;
  box-shadow: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.wse-map-control-button + .wse-map-control-button {
  border-top: 1px solid rgba(23,63,43,.14) !important;
}

.wse-map-control-button:hover,
.wse-map-control-button:focus-visible {
  background: #f3f6ef !important;
  color: var(--wse-primary) !important;
  outline: 0 !important;
}

/* Keep the free basemap clear and more vivid than the muted default rendering. */
.wse-map .maplibregl-canvas,
.wse-map canvas.maplibregl-canvas {
  opacity: 1 !important;
  filter: saturate(1.38) contrast(1.10) brightness(1.04);
}

.wse-map .maplibregl-canvas-container,
.wse-map .maplibregl-control-container {
  opacity: 1 !important;
}

.wse-map-message {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  background: rgba(247,243,235,.94);
  color: var(--wse-primary);
  font-weight: 600;
}

.wse-results-panel { grid-area: results; min-width: 0; }

.wse-results-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px;
  color: #575f59;
  font-size: 11px;
  text-transform: uppercase;
}

.wse-result-dot {
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: #ece8df;
}

.wse-retailer-list { display: grid; gap: 8px; }

.wse-retailer-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  gap: 10px;
  padding: 15px 15px 14px;
  border: 1px solid var(--wse-border);
  border-radius: 6px;
  background: rgba(255,255,255,.78);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wse-retailer-card:hover,
.wse-retailer-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(23,63,43,.45);
  box-shadow: 0 12px 28px rgba(23,63,43,.08);
}

.wse-card-number {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wse-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.wse-card-body { min-width: 0; }

.wse-card-title {
  margin: 0 0 3px !important;
  color: #142119 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

.wse-card-location,
.wse-card-address {
  margin: 0 0 5px;
  color: #626a64;
  font-size: 12px;
}

.wse-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  margin-top: 7px;
}

.wse-card-links a {
  color: var(--wse-primary) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.wse-product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.wse-product-pill {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 7px;
  border-radius: 2px;
  background: #dbe7c8;
  color: #31412d;
  font-size: 9px;
  line-height: 1.15;
}

.wse-product-pill--capsules { background: #e5eadf; }
.wse-product-pill--chocolate-micro-milk { background: #ead8c7; }
.wse-product-pill--super-herbs { background: #eee8c9; }
.wse-product-pill--functionals { background: #e7dcec; }

.wse-card-focus {
  border: 0;
  padding: 0;
  background: none;
  color: var(--wse-primary);
  font-size: 24px;
  line-height: 1;
}

.wse-load-more {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(23,63,43,.38);
  border-radius: 5px;
  background: transparent;
  color: #15231b;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}

.wse-load-more:not(:disabled):hover,
.wse-load-more:not(:disabled):focus-visible {
  border-color: var(--wse-primary);
  background: var(--wse-primary);
  color: #fff;
  outline: 0;
}

.wse-load-more.is-complete,
.wse-load-more:disabled {
  border-color: rgba(23,63,43,.16);
  background: #edf2e9;
  color: var(--wse-primary);
  cursor: default;
  opacity: 1;
}

.wse-load-status {
  min-height: 24px;
  padding: 7px 8px 0;
  color: #657068;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.wse-load-status[hidden] { display: none !important; }

.wse-empty-state {
  padding: 24px 12px;
  border: 1px dashed rgba(23,63,43,.25);
  text-align: center;
  color: #68706a;
}

.wse-marker {
  width: 36px !important;
  height: 48px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: transparent !important;
  color: var(--wse-primary);
  box-shadow: none !important;
  line-height: 0 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  overflow: visible;
  /* Do not set transform here. MapLibre writes an inline translate transform
     to this element to position each marker on the map. */
}

.wse-retailer-locator .maplibregl-marker.wse-marker {
  z-index: 50 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  will-change: transform;
}

.wse-retailer-locator .maplibregl-marker.wse-marker.is-active {
  z-index: 70 !important;
}

.wse-marker svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 5px 7px rgba(23,63,43,.28));
  transform-origin: 50% 100%;
  transition: transform .16s ease, filter .16s ease;
}

.wse-marker__shape { fill: currentColor; }
.wse-marker__dot { fill: #fff; }

.wse-marker:hover svg,
.wse-marker:focus-visible svg,
.wse-marker.is-active svg {
  transform: translateY(-2px) scale(1.10);
  filter: drop-shadow(0 8px 10px rgba(23,63,43,.30));
}

.wse-marker.is-active { color: #a97b3d; }

.wse-map-popup {
  position: relative;
  min-width: 210px;
  padding: 4px 42px 2px 2px;
}

.wse-map-popup-close {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  z-index: 50 !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #d5a23f !important;
  color: #173f2b !important;
  font: 500 18px/1 Arial, sans-serif !important;
  text-align: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation;
  box-shadow: 0 5px 14px rgba(23,63,43,.16) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.wse-map-popup-close:hover,
.wse-map-popup-close:focus-visible {
  background: #c79432 !important;
  color: #102c1e !important;
  outline: 2px solid rgba(23,63,43,.28) !important;
  outline-offset: 2px;
}
.wse-map-popup h4 { margin: 0 0 5px; color: var(--wse-primary); font-size: 16px; }
.wse-map-popup p { margin: 0 0 6px; color: #606861; font-size: 12px; }
.wse-map-popup a { color: var(--wse-primary); font-size: 12px; font-weight: 700; text-decoration: none; }

.wse-retailer-locator .maplibregl-popup {
  z-index: 100 !important;
  pointer-events: auto !important;
}

.wse-retailer-locator .maplibregl-popup-content {
  overflow: visible;
  border-radius: 8px;
  padding: 16px;
  pointer-events: auto;
  box-shadow: 0 14px 35px rgba(23,63,43,.18);
}


/* Responsive and touch refinements */
.wse-retailer-locator img,
.wse-retailer-locator svg { max-width: 100%; }

.wse-filter-panel,
.wse-results-panel,
.wse-map-wrap,
.wse-search-row { min-width: 0; }

.wse-filter-group select,
.wse-search-field input,
.wse-mobile-filter-toggle,
.wse-load-more,
.wse-card-focus,
.wse-map-control-button { touch-action: manipulation; }

.wse-card-focus {
  min-width: 32px;
  min-height: 40px;
  display: grid;
  place-items: center;
  align-self: center;
}

.wse-retailer-locator .maplibregl-popup {
  max-width: calc(100vw - 32px) !important;
}

.wse-retailer-locator .maplibregl-popup-content {
  max-width: calc(100vw - 42px);
}

@media (max-width: 1280px) {
  .wse-retailer-hero__inner,
  .wse-locator-shell { width: min(100% - 36px, 1180px); }
  .wse-locator-grid { grid-template-columns: 350px minmax(0, 1fr); gap: 14px 18px; }
  .wse-retailer-hero__copy { width: min(560px, 55%); }
}

@media (max-width: 1100px) {
  .wse-locator-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 14px 16px; }
  .wse-map-wrap { min-height: 680px; }
  .wse-retailer-hero__copy { width: 58%; }
  .wse-panel-heading,
  .wse-filter-group,
  .wse-toggle-row { padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 920px) {
  .wse-retailer-hero__inner,
  .wse-locator-shell { width: min(100% - 28px, 860px); }
  .wse-locator-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 14px; }
  .wse-map-wrap { min-height: 640px; }
  .wse-card-title { font-size: 16px !important; }
  .wse-product-pill { font-size: 8.5px; }
}

@media (max-width: 820px) {
  .wse-retailer-hero {
    min-height: 340px;
    align-items: flex-end;
    background-position: center, center top;
  }
  .wse-retailer-hero.has-image {
    background-image:
      linear-gradient(0deg, rgba(248,243,234,.99) 0%, rgba(248,243,234,.91) 57%, rgba(248,243,234,.34) 100%),
      var(--wse-hero-image);
    background-size: cover, cover;
    background-position: center, center;
  }
  .wse-retailer-hero__inner,
  .wse-locator-shell { width: min(100% - 30px, 680px); }
  .wse-retailer-hero__copy { width: 100%; padding: 135px 0 38px; }
  .wse-retailer-hero h1 { font-size: clamp(30px, 11vw, 30px) !important; }
  .wse-retailer-hero p { max-width: 100%; }
  .wse-search-row { width: 100%; margin-top: 0; padding: 20px 0 16px; }
  .wse-search-field { height: 56px; }
  .wse-search-suggestions { top: 60px; max-height: min(280px, 52vh); }
  .wse-mobile-filter-toggle {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
    padding: 0 16px;
    border: 1px solid var(--wse-border);
    border-radius: 6px;
    background: #fff;
    color: var(--wse-primary);
    font-weight: 700;
  }
  .wse-locator-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .wse-filter-panel { width: 100%; display: none; }
  .wse-filter-panel.is-open { display: block; }
  .wse-map-wrap {
    order: 2;
    position: relative;
    top: auto;
    width: 100%;
    height: clamp(390px, 62vw, 500px);
    min-height: 0;
  }
  .wse-results-panel { order: 3; width: 100%; }
  .wse-results-summary { padding-inline: 4px; }
  .wse-locator-shell { padding-bottom: 42px; }
  .wse-map-control-button { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; }
  .wse-map-controls { top: 10px; right: 10px; }
  .wse-retailer-card { padding: 15px 14px; }
  .wse-load-more { min-height: 52px; }
}

@media (max-width: 640px) {
  .wse-retailer-hero__inner,
  .wse-locator-shell { width: calc(100% - 24px); }
  .wse-retailer-hero { min-height: 320px; }
  .wse-retailer-hero__copy { padding: 118px 0 30px; }
  .wse-retailer-hero h1 { font-size: clamp(38px, 12vw, 52px) !important; line-height: 1.02 !important; }
  .wse-retailer-hero p { font-size: 15px; }
  .wse-search-field input { padding-left: 14px; font-size: 15px; }
  .wse-search-field > span { width: 50px; flex-basis: 50px; }
  .wse-search-suggestion { grid-template-columns: 34px minmax(0,1fr) 18px; padding: 11px 12px; }
  .wse-search-suggestion__pin { width: 29px; height: 29px; }
  .wse-panel-heading,
  .wse-filter-group,
  .wse-toggle-row { padding: 16px 14px; }
  .wse-filter-group select { min-height: 48px; }
  .wse-checkbox-row { min-height: 32px; }
  .wse-checkbox-row input { width: 18px; height: 18px; }
  .wse-toggle-row { min-height: 62px; }
  .wse-map-wrap { height: clamp(360px, 86vw, 460px); }
  .wse-retailer-card { grid-template-columns: 30px minmax(0,1fr) 34px; gap: 9px; }
  .wse-card-title { overflow-wrap: anywhere; }
  .wse-card-location,
  .wse-card-address { overflow-wrap: anywhere; }
  .wse-card-links { gap: 8px 14px; }
  .wse-card-links a { display: inline-flex; min-height: 30px; align-items: center; }
  .wse-product-pill { min-height: 23px; padding: 4px 7px; font-size: 9px; }
  .wse-map-popup { min-width: min(210px, calc(100vw - 86px)); padding-right: 38px; }
  .wse-retailer-locator .maplibregl-popup-content { padding: 14px; }
}

@media (max-width: 480px) {
  .wse-retailer-hero__inner,
  .wse-locator-shell { width: calc(100% - 20px); }
  .wse-retailer-hero { min-height: 300px; }
  .wse-retailer-hero__copy { padding-top: 105px; }
  .wse-search-row { padding-top: 14px; }
  .wse-search-field { height: 52px; }
  .wse-search-field input { font-size: 14px; }
  .wse-map-wrap { height: 350px; border-radius: 6px; }
  .wse-retailer-card { grid-template-columns: 28px minmax(0, 1fr) 32px; padding: 13px 10px; }
  .wse-card-number { width: 25px; height: 25px; }
  .wse-card-title { font-size: 15px !important; }
  .wse-card-links { flex-direction: column; gap: 3px; }
  .wse-load-more { width: 100%; min-height: 52px; padding-inline: 12px; }
  .wse-load-status { padding-inline: 4px; }
  .wse-map-controls { top: 8px; right: 8px; }
  .wse-map-popup-close { width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important; }
}

@media (max-width: 360px) {
  .wse-retailer-hero h1 { font-size: 36px !important; }
  .wse-map-wrap { height: 320px; }
  .wse-retailer-card { grid-template-columns: 26px minmax(0, 1fr) 30px; gap: 7px; }
  .wse-card-number { width: 23px; height: 23px; font-size: 11px; }
  .wse-product-pill { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .wse-retailer-locator *,
  .wse-retailer-locator *::before,
  .wse-retailer-locator *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Stable retailer popup layout and labels */
.wse-map-popup-products { margin-top: 10px; }
.wse-map-popup-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 10px; }
.wse-map-popup-actions a { display: inline-flex; align-items: center; }

/* Keep the complete hero artwork visible at every breakpoint. */
.wse-retailer-hero.has-image { background-size: cover, contain !important; background-position: center, center !important; }

/* Let the site's own heading/body typography drive the locator. */
.wse-retailer-locator h1,
.wse-retailer-locator h2,
.wse-retailer-locator h3,
.wse-retailer-locator h4 { font-family: var(--e-global-typography-primary-font-family, inherit) !important; }
.wse-retailer-locator p,
.wse-retailer-locator a,
.wse-retailer-locator button,
.wse-retailer-locator input,
.wse-retailer-locator select,
.wse-retailer-locator label,
.wse-retailer-locator span { font-family: var(--e-global-typography-text-font-family, inherit); }

@media (max-width: 900px) {
  .wse-retailer-hero.has-image { background-size: contain !important; background-position: center top !important; }
}


/* Google Maps InfoWindow cleanup (v2.2.1) */
.wse-retailer-locator .gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 35px rgba(23,63,43,.18) !important;
  max-width: min(330px, calc(100vw - 36px)) !important;
}

.wse-retailer-locator .gm-style .gm-style-iw-d {
  overflow: visible !important;
  max-height: none !important;
  padding: 0 !important;
}

/* Hide Google's duplicate close control/header because the popup has its own branded close button. */
.wse-retailer-locator .gm-style .gm-style-iw-chr,
.wse-retailer-locator .gm-style button.gm-ui-hover-effect {
  display: none !important;
}

.wse-retailer-locator .gm-style .wse-map-popup {
  box-sizing: border-box;
  min-width: 260px;
  max-width: 320px;
  padding: 18px 54px 16px 18px;
}

.wse-retailer-locator .gm-style .wse-map-popup-close {
  top: 12px !important;
  right: 12px !important;
}

.wse-retailer-locator .gm-style .wse-map-popup-actions {
  border-top: 1px solid rgba(23,63,43,.12);
  padding-top: 10px;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .wse-retailer-locator .gm-style .wse-map-popup {
    min-width: 220px;
    max-width: calc(100vw - 64px);
    padding: 16px 48px 14px 16px;
  }
}

/* v2.2.2 — full-width responsive hero artwork */
.wse-retailer-hero.has-image {
  background-image:
    linear-gradient(90deg,
      rgba(248,243,234,.99) 0%,
      rgba(248,243,234,.98) 35%,
      rgba(248,243,234,.82) 46%,
      rgba(248,243,234,.35) 58%,
      rgba(248,243,234,.06) 72%,
      rgba(248,243,234,0) 100%),
    var(--wse-hero-image) !important;
  background-repeat: no-repeat !important;
  background-position: center, right center !important;
  background-size: cover, cover !important;
}

@media (min-width: 1400px) {
  .wse-retailer-hero { min-height: 400px; }
  .wse-retailer-hero.has-image {
    background-position: center, right 42% !important;
  }
}

@media (max-width: 1100px) {
  .wse-retailer-hero.has-image {
    background-image:
      linear-gradient(90deg,
        rgba(248,243,234,.99) 0%,
        rgba(248,243,234,.96) 44%,
        rgba(248,243,234,.58) 58%,
        rgba(248,243,234,.10) 76%,
        rgba(248,243,234,0) 100%),
      var(--wse-hero-image) !important;
    background-position: center, right center !important;
    background-size: cover, cover !important;
  }
}

@media (max-width: 820px) {
  .wse-retailer-hero {
    min-height: 420px;
    align-items: flex-end;
  }
  .wse-retailer-hero.has-image {
    background-image:
      linear-gradient(0deg,
        rgba(248,243,234,1) 0%,
        rgba(248,243,234,.98) 30%,
        rgba(248,243,234,.84) 52%,
        rgba(248,243,234,.30) 76%,
        rgba(248,243,234,.08) 100%),
      var(--wse-hero-image) !important;
    background-position: center, center 28% !important;
    background-size: cover, cover !important;
  }
  .wse-retailer-hero__copy {
    width: 100%;
    max-width: 640px;
    padding: 180px 0 38px;
  }
}

@media (max-width: 640px) {
  .wse-retailer-hero { min-height: 390px; }
  .wse-retailer-hero.has-image {
    background-position: center, center 24% !important;
  }
  .wse-retailer-hero__copy { padding: 165px 0 30px; }
  .wse-retailer-hero h1 { max-width: 10ch; }
}

@media (max-width: 480px) {
  .wse-retailer-hero { min-height: 365px; }
  .wse-retailer-hero.has-image {
    background-position: center, center 20% !important;
  }
  .wse-retailer-hero__copy { padding: 150px 0 26px; }
}

@media (max-width: 360px) {
  .wse-retailer-hero { min-height: 350px; }
  .wse-retailer-hero__copy { padding-top: 140px; }
}

/* =========================================================
   v2.2.3 — robust responsive hero (new class names)
   Uses one full portrait image plus a soft edge-fill layer.
   This avoids old Customizer CSS targeting .wse-retailer-hero.
   ========================================================= */
.wse-retailer-banner,
.wse-retailer-banner * { box-sizing: border-box; }

.wse-retailer-banner {
  position: relative;
  isolation: isolate;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f8f3ea;
}

.wse-retailer-banner__media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 40%;
  overflow: hidden;
  background: #e9dfcf;
}

/* Fills the entire right panel without showing a second sharp copy. */
.wse-retailer-banner__media-fill {
  position: absolute;
  inset: -24px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: blur(22px);
  transform: scale(1.08);
  opacity: .34;
}

/* The actual supplied image stays completely visible: no crop/stretch. */
.wse-retailer-banner__image {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: right center;
}

.wse-retailer-banner__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #f8f3ea 0%,
    #f8f3ea 34%,
    rgba(248,243,234,.98) 39%,
    rgba(248,243,234,.88) 44%,
    rgba(248,243,234,.58) 50%,
    rgba(248,243,234,.18) 58%,
    rgba(248,243,234,0) 67%
  );
}

.wse-retailer-banner__inner {
  position: relative;
  z-index: 2;
  width: min(1460px, calc(100% - 48px));
  margin-inline: auto;
}

.wse-retailer-banner__copy {
  width: min(610px, 46%);
  padding: 60px 0 112px;
}

.wse-retailer-banner h3 {
  margin: 0 0 18px !important;
  max-width: 620px;
  color: var(--wse-primary) !important;
  font-family: var(--e-global-typography-primary-font-family, inherit) !important;
  font-size: clamp(30px, 5vw, 78px) !important;
  line-height: .98 !important;
  font-weight: 500 !important;
  letter-spacing: -.035em;
  opacity: 1 !important;
  visibility: visible !important;
}

.wse-retailer-banner p {
  max-width: 560px;
  margin: 0 !important;
  color: #343c36 !important;
  font-family: var(--e-global-typography-text-font-family, inherit) !important;
  font-size: clamp(17px, 1.35vw, 21px);
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-width: 1600px) {
  .wse-retailer-banner { min-height: 410px; }
  .wse-retailer-banner__media { left: 39%; }
  .wse-retailer-banner__copy { width: 45%; }
}

@media (max-width: 1280px) {
  .wse-retailer-banner__inner { width: min(100% - 36px, 1180px); }
  .wse-retailer-banner__media { left: 42%; }
  .wse-retailer-banner__copy { width: min(560px, 48%); }
  .wse-retailer-banner__shade {
    background: linear-gradient(90deg,#f8f3ea 0%,#f8f3ea 36%,rgba(248,243,234,.96) 43%,rgba(248,243,234,.65) 51%,rgba(248,243,234,.16) 62%,rgba(248,243,234,0) 72%);
  }
}

@media (max-width: 1100px) {
  .wse-retailer-banner { min-height: 380px; }
  .wse-retailer-banner__media { left: 45%; }
  .wse-retailer-banner__copy { width: 52%; padding-top: 52px; }
  .wse-retailer-banner h3 { font-size:  30px!important; }
}

@media (max-width: 920px) {
  .wse-retailer-banner__inner { width: min(100% - 28px, 860px); }
  .wse-retailer-banner__media { left: 48%; }
  .wse-retailer-banner__copy { width: 55%; }
}

@media (max-width: 820px) {
  .wse-retailer-banner {
    min-height: 520px;
    align-items: flex-end;
  }
  .wse-retailer-banner__media {
    inset: 0;
  }
  .wse-retailer-banner__image {
    object-fit: contain;
    object-position: center top;
  }
  .wse-retailer-banner__media-fill {
    background-position: center 28%;
    opacity: .25;
  }
  .wse-retailer-banner__shade {
    background: linear-gradient(0deg,#f8f3ea 0%,rgba(248,243,234,.99) 34%,rgba(248,243,234,.88) 52%,rgba(248,243,234,.45) 69%,rgba(248,243,234,.10) 100%);
  }
  .wse-retailer-banner__inner { width: min(100% - 30px, 680px); }
  .wse-retailer-banner__copy {
    width: 100%;
    max-width: 640px;
    padding: 245px 0 40px;
  }
  .wse-retailer-banner h3 { font-size: 30px !important; }
  .wse-retailer-banner p { max-width: 100%; }
}

@media (max-width: 640px) {
  .wse-retailer-banner { min-height: 500px; }
  .wse-retailer-banner__inner { width: calc(100% - 24px); }
  .wse-retailer-banner__copy { padding: 225px 0 34px; }
  .wse-retailer-banner h3 { font-size: clamp(38px, 12vw, 52px) !important; line-height: 1.02 !important; max-width: 10ch; }
  .wse-retailer-banner p { font-size: 15px; }
}

@media (max-width: 480px) {
  .wse-retailer-banner { min-height: 470px; }
  .wse-retailer-banner__inner { width: calc(100% - 20px); }
  .wse-retailer-banner__copy { padding: 205px 0 30px; }
  .wse-retailer-banner__shade {
    background: linear-gradient(0deg,#f8f3ea 0%,rgba(248,243,234,.99) 40%,rgba(248,243,234,.82) 61%,rgba(248,243,234,.18) 100%);
  }
}

@media (max-width: 360px) {
  .wse-retailer-banner { min-height: 450px; }
  .wse-retailer-banner__copy { padding-top: 190px; }
  .wse-retailer-banner h3 { font-size: 36px !important; }
}

/* v2.3.0 — retailer pagination (matches ZumGarden's simple shop pagination) */
.wse-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 4px 4px;
  font-family: var(--e-global-typography-text-font-family, inherit);
}

.wse-pagination[hidden] { display: none !important; }

.wse-page-number {
  min-width: 30px;
  height: 34px;
  padding: 0 7px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--wse-primary) !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 34px !important;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.wse-page-number:hover,
.wse-page-number:focus-visible {
  background: rgba(216, 199, 162, .35) !important;
  color: var(--wse-primary) !important;
  outline: 0 !important;
}

.wse-page-number.is-current {
  background: #d8b14c !important;
  color: #173f2b !important;
}

@media (max-width: 767px) {
  .wse-pagination { gap: 8px; padding-top: 18px; }
  .wse-page-number { min-width: 32px; height: 32px; line-height: 32px !important; }
}


/* v2.3.3 — ZumGarden live typography.
   Body/interface copy follows Work Sans; every locator heading/title uses Merriweather Sans. */
.wse-retailer-locator {
  --wse-site-heading-font: "Merriweather Sans", sans-serif;
  --wse-site-body-font: "Work Sans", sans-serif;
  font-family: "Work Sans", sans-serif !important;
}

/* Body/interface typography */
.wse-retailer-locator p,
.wse-retailer-locator a,
.wse-retailer-locator button,
.wse-retailer-locator input,
.wse-retailer-locator select,
.wse-retailer-locator option,
.wse-retailer-locator label,
.wse-retailer-locator span,
.wse-retailer-locator .wse-card-location,
.wse-retailer-locator .wse-card-address,
.wse-retailer-locator .wse-product-pill,
.wse-retailer-locator .wse-results-summary,
.wse-retailer-locator .wse-load-status,
.wse-retailer-locator .wse-empty-state,
.wse-retailer-locator .wse-page-number,
.wse-map-popup p,
.wse-map-popup a,
.wse-map-popup .wse-product-pill {
  font-family: "Work Sans", sans-serif !important;
}

/* ALL locator headings/titles */
.wse-retailer-locator h1,
.wse-retailer-locator h2,
.wse-retailer-locator h3,
.wse-retailer-locator h4,
.wse-retailer-locator h5,
.wse-retailer-locator h6,
.wse-retailer-locator .wse-retailer-banner h3,
.wse-retailer-locator .wse-panel-heading,
.wse-retailer-locator .wse-panel-heading *,
.wse-retailer-locator .wse-card-title,
.wse-retailer-locator [class*="heading"],
.wse-retailer-locator [class*="title"],
.wse-map-popup h1,
.wse-map-popup h2,
.wse-map-popup h3,
.wse-map-popup h4,
.wse-map-popup h5,
.wse-map-popup h6 {
  font-family: "Merriweather Sans", sans-serif !important;
}
