/* Localizador V17 */
.locator .pdv-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 20px;
  margin-bottom: 25px;
}
.pdv-heading h2 { margin: 7px 0 8px; font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.02; }
.pdv-heading div > p:last-child { margin: 0; color: #50664f; font-size: .88rem; }
.pdv-region {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  border: 1px solid #c4d0b5; padding: 8px 12px; border-radius: 99px;
  color: #215237; background: #e6ebd8; font-size: .69rem; font-weight: 700;
}
.pdv-region .icon { width: 15px; height: 15px; }

.pdv-finder {
  background: #fffdf4; border: 1px solid #c7d1ba; border-radius: 16px;
  overflow: hidden; box-shadow: 0 14px 42px #25473114;
}
.pdv-controls { background: #123e2b; padding: 13px; }
.pdv-search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
.pdv-search-field {
  display: flex; align-items: center; gap: 11px; min-width: 0; padding: 0 13px;
  background: #f8f7e9; color: #27523a; border-radius: 8px;
}
.pdv-search-field .icon { width: 18px; height: 18px; }
.pdv-search input, .pdv-filter-row select {
  width: 100%; min-width: 0; min-height: 46px; font: inherit; font-size: .82rem;
  color: #193d2c; background: transparent; border: 0;
}
.pdv-search .button {
  min-height: 46px; padding: 9px 16px; border-radius: 8px; justify-content: center;
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.pdv-search .pdv-submit { background: #f4d050; color: #193d2c; border: 1px solid #f4d050; }
.pdv-search .pdv-submit:hover { background: #ffe47a; }
.pdv-search .pdv-nearby { color: #fff7db; border: 1px solid #78917a; background: #1c4c34; }
.pdv-search .pdv-nearby[aria-pressed=true], .pdv-search .pdv-nearby:hover { background: #306245; }
.pdv-search .button:disabled { opacity: .65; cursor: wait; }
.pdv-feedback { color: #fff4d5; margin: 7px 1px 0; font-size: .76rem; line-height: 1.5; }
.pdv-feedback:empty { display: none; }
.pdv-search-help { margin: 8px 2px 0; color: #d6e1c7; font-size: .68rem; line-height: 1.5; }
.pdv-view { display: none; }

.pdv-workspace {
  display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(295px, 1fr);
  min-width: 0;
}
.pdv-map-wrap { min-width: 0; display: flex; flex-direction: column; }
.locator .pdv-map-panel {
  position: relative; height: clamp(410px, 42vw, 520px); min-height: 0; width: 100%;
  border: 0; border-radius: 0; isolation: isolate; overflow: hidden;
}
.pdv-map { height: 100%; width: 100%; background: #e5e9d9; z-index: 1; font-family: inherit; }
.pdv-map-fit, .pdv-map-notice {
  position: absolute; right: 11px; z-index: 500; padding: 7px 9px; border-radius: 7px;
  color: #244a35; background: #fffdf3; border: 1px solid #cad7c4;
  font-size: .65rem; font-weight: 700; line-height: 1.4;
}
.pdv-map-fit { top: 11px; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 2px 7px #182c2618; }
.pdv-map-fit .icon { width: 14px; height: 14px; }
.pdv-map-fit:hover { background: #edf0df; }
.pdv-map-notice { bottom: 28px; max-width: 230px; pointer-events: none; }
.pdv-map-foot {
  min-height: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 5px 12px; padding: 7px 11px; font-size: .65rem; color: #56705b; border-top: 1px solid #e0e6d4;
}
.pdv-map-foot a { text-decoration: underline; text-underline-offset: 2px; }
.pdv-marker { background: transparent; border: 0; }
.pdv-pin {
  display: grid; place-items: center; width: 33px; height: 33px; background: #0c5536;
  border: 2px solid #fffdf3; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg);
  box-shadow: -2px 4px 9px #153b2f55;
}
.pdv-pin > span { width: 11px; height: 11px; border-radius: 50%; background: #f6d24d; }
.pdv-cluster {
  display: grid; place-items: center; border: 3px solid #fff9df; border-radius: 50%;
  background: #1a5538; color: #ffdf65; box-shadow: 0 2px 12px #143d3245; font-size: .85rem; font-weight: 800;
}

.pdv-list {
  height: calc(clamp(410px, 42vw, 520px) + 34px); min-height: 0; min-width: 0;
  display: flex; flex-direction: column; border-left: 1px solid #d7e0ca; background: #fffdf4;
}
.pdv-results-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 16px 15px 9px; }
.pdv-results-head h3 { margin: 0; color: #1a402d; font-size: 1.2rem; }
.pdv-results-head p { margin: 3px 0 0; font-size: .72rem; line-height: 1.45; color: #5a7059; }
.pdv-filter-row { display: flex; align-items: center; gap: 8px; padding: 0 15px 11px; color: #55704f; font-size: .69rem; }
.pdv-filter-row select {
  min-height: 35px; padding: 4px 8px; border: 1px solid #d8dfce;
  background: #f6f6ea; border-radius: 6px; font-size: .73rem;
}
#store-results { flex: 1; min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 9px; }
.pdv-results-grid { display: grid; gap: 8px; }
.pdv-card {
  display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 12px;
  border: 1px solid #dce2d2; border-radius: 9px; background: #fbfaf0; color: #1a402d;
}
.pdv-card.is-selected { background: #eef2e2; border-color: #85a182; }
.pdv-card-heading { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pdv-card-logo {
  display: grid; place-items: center; flex: 0 0 40px; height: 40px; padding: 4px;
  border-radius: 7px; background: #ecf0e1; overflow: hidden;
}
.pdv-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.pdv-card .pdv-label { margin: 0 0 2px; font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #637857; }
.pdv-card h3 { margin: 0; font-size: .96rem; line-height: 1.18; overflow-wrap: anywhere; }
.pdv-card address { font-style: normal; font-size: .72rem; line-height: 1.5; color: #4e6351; }
.pdv-card .pdv-phone { color: #286243; font-size: .71rem; width: fit-content; text-decoration: underline; text-underline-offset: 2px; }
.pdv-card .pdv-distance { color: #526847; font-size: .67rem; margin: 0; }
.pdv-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pdv-card-actions .button {
  padding: 6px 9px; min-height: 31px; border-radius: 6px; font-size: .65rem; gap: 4px;
}
.pdv-card-actions .icon { width: 13px; height: 13px; }
.pdv-secondary { color: #225c3b; font-size: .7rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pdv-empty { display: grid; gap: 8px; padding: 13px; border: 1px solid #dce2d2; border-radius: 8px; background: #f7f8ec; font-size: .78rem; }
.pdv-more { display: flex; margin: 10px auto 0; color: #24573d; border: 1px solid #bdcbb1; background: #f7f8ed; padding: 7px 12px; font-size: .68rem; }
.pdv-list-note { margin: 0; padding: 9px 12px; font-size: .64rem; color: #5b7158; border-top: 1px solid #e2e7d7; }

.pdv-map .leaflet-popup-content-wrapper { border-radius: 11px; background: #fffdf4; }
.pdv-map .leaflet-popup-content { margin: 13px; }
.pdv-map .leaflet-popup-tip { background: #fffdf4; }
.pdv-map .leaflet-popup-close-button { background: #fffdf4; border-radius: 50%; margin: 3px; z-index: 2; }
.pdv-card-popup { border: 0; padding: 0 2px; background: transparent; }
.pdv-card-popup h3 { font-size: 1.07rem; }
.pdv-card-popup .pdv-facade { display: block; width: 100%; max-height: 103px; object-fit: cover; border-radius: 7px; }
.pdv-card-popup .pdv-card-actions .button { color: #fffdf4; }
.pdv-card-popup .pdv-label, .pdv-card-popup .pdv-distance { margin: 0; }

.pdv-networks { margin-top: 23px; }
.pdv-networks-head { display: flex; align-items: center; justify-content: space-between; }
.pdv-networks-head p { margin: 0; color: #376045; font-size: .71rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.locator .retailer-marquee {
  width: 100%; margin: 12px 0 0; padding-block: 14px; border: 0;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.locator .retailer-track { animation-duration: var(--retailer-duration, 88s); }
.locator .retailer-group { gap: 16px; padding-right: 16px; }
.locator .pdv-brand {
  display: grid; place-items: center; flex: 0 0 120px;
  width: 120px; height: 120px; min-width: 0; min-height: 0; padding: 12px; gap: 0;
  border: 1px solid #183d2014; border-radius: 27px; overflow: hidden;
  background: #fff; box-shadow: 0 3px 8px #163a2512;
  transition: transform .2s, box-shadow .2s;
}
.locator .pdv-brand--square { padding: 0; }
.locator .pdv-brand[data-retailer="vacao"] { background: #090909; }
.locator .pdv-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.locator .pdv-brand:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 6px 14px #163a2524; }
.locator .pdv-brand.is-active::after {
  inset: 0; height: auto; border: 3px solid #0c5536; border-radius: inherit;
  background: transparent; pointer-events: none;
}
.locator .retailer-marquee:hover .retailer-track,
.locator .retailer-marquee:focus-within .retailer-track { animation-play-state: running; }
.locator .retailer-marquee:has(.pdv-brand:focus-visible) .retailer-track { animation-play-state: paused; }

@media (max-width: 800px) {
  .pdv-workspace { grid-template-columns: 1fr; }
  .pdv-list { height: auto; border: 0; }
  #store-results { overflow: visible; }
  .pdv-view { display: flex; gap: 4px; width: fit-content; margin-top: 9px; padding: 3px; border-radius: 7px; background: #25563c; }
  .pdv-view button { min-height: 34px; padding: 5px 17px; border-radius: 5px; font-size: .75rem; font-weight: 700; color: #f7f0d6; }
  .pdv-view button[aria-pressed=true] { background: #fff3c6; color: #214531; }
  .pdv-finder[data-view=list] .pdv-map-wrap { display: none; }
  .pdv-finder[data-view=map] .pdv-list { display: none; }
  .pdv-finder[data-view=map] .pdv-map-wrap { display: flex; }
}
@media (max-width: 560px) {
  .locator .pdv-heading { align-items: start; flex-direction: column; gap: 10px; }
  .pdv-region { font-size: .64rem; padding: 5px 8px; }
  .pdv-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pdv-search-field { grid-column: 1 / -1; }
  .pdv-search .button { padding-inline: 6px; font-size: .69rem; }
  .pdv-controls { padding: 9px; }
  .locator .pdv-map-panel { height: 360px; }
  .locator .retailer-group { gap: 12px; padding-right: 12px; }
  .locator .pdv-brand { flex-basis: 100px; width: 100px; height: 100px; border-radius: 23px; }
}
