/* ============================================
   STORE LOCATOR BLOCK - CSS STYLES
   ============================================ */

/* CSS Variables */
:root {
  --psl-primary: #0351a3;
  --psl-primary-light: #fafcfe;
  --psl-primary-dark: #024080;
  --psl-text: #1c191a;
  --psl-text-secondary: #4a4546;
  --psl-border: #e5e7eb;
  --psl-bg: #f8fafc;
}

/* ============================================
   STORE LOCATOR HEADER SECTION
   ============================================ */
.store-locator-section {
  padding-top: 60px;
}

.store-locator-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

.store-locator-section.wide-width .container {
  max-width: 1480px;
}
.store-locator-section .about__top__wrap {
  margin-bottom: 2rem;
  max-width: 1480px !important;
}
.store-locator-header {
  margin-bottom: 0;
}

.store-locator-header__left {
  position: relative;
}

.store-locator-header__left .shp_bx {
  margin-bottom: 0;
}

.store-locator-header__left .shp_bx img {
  max-width: 60px;
  height: auto;
}

/* Title Styling - matching old site */
.store-locator-header__left h2 {
  color: #231f20;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 149%;
  margin: 0;
}

.store-locator-header__left h2 strong {
  color: #0351a3;
  font-weight: 700;
}

/* Description Styling - matching old site */
.store-locator-header__right {
  padding-left: 0;
}

.store-locator-header__right p {
  color: #3d393b;
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 145.455%;
  margin: 0;
}

.store-locator-header__right p:last-child {
  margin: 0;
}

/* Map Area spacing and containment */
.store-locator-map-area {
  margin-top: 2rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.store-locator-section.wide-width .store-locator-map-area {
  max-width: 1480px;
}

/* Responsive Breakpoints - Title */
@media (min-width: 87.5rem) and (max-width: 93.6875rem) {
  .store-locator-header__left h2 {
    font-size: 3.375rem;
  }
}

@media (min-width: 81.25rem) and (max-width: 87.4375rem) {
  .store-locator-header__left h2 {
    font-size: 3.125rem;
  }
}

@media (min-width: 75rem) and (max-width: 81.1875rem) {
  .store-locator-header__left h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 62rem) and (max-width: 74.9375rem) {
  .store-locator-header__left h2 {
    font-size: 2.2rem;
  }
}

@media (min-width: 48rem) and (max-width: 61.9375rem) {
  .store-locator-header__left h2 {
    font-size: 2.8125rem;
  }

  .store-locator-header__right {
    margin-top: 1.5625rem;
  }
}

@media only screen and (max-width: 47.9375rem) {
  .store-locator-header__left h2 {
    font-size: 2.5rem;
    margin-bottom: 0.9375rem;
  }
}

/* Responsive Breakpoints - Description */
@media (min-width: 100rem) and (max-width: 106.1875rem) {
  .store-locator-header__right p {
    font-size: 1.3125rem;
  }
}

@media (min-width: 93.75rem) and (max-width: 99.9375rem) {
  .store-locator-header__right p {
    font-size: 1.3125rem;
  }
}

@media (min-width: 81.25rem) and (max-width: 87.4375rem) {
  .store-locator-header__right p {
    font-size: 1.25rem;
  }
}

@media (min-width: 75rem) and (max-width: 81.1875rem) {
  .store-locator-header__right p {
    font-size: 1.25rem;
  }
}

@media (min-width: 62rem) and (max-width: 74.9375rem) {
  .store-locator-header__right p {
    font-size: 1.125rem;
  }

  .store-locator-header__right p:last-child {
    margin: 0;
  }
}

@media (min-width: 48rem) and (max-width: 61.9375rem) {
  .store-locator-header__right p {
    font-size: 1.375rem;
  }

  .store-locator-header__right p:last-child {
    margin: 0;
  }
}

@media only screen and (max-width: 47.9375rem) {
  .store-locator-header__right p {
    font-size: 1.125rem;
  }

  .store-locator-header__right p:last-child {
    margin: 0;
  }
}

/* ============================================
   ACCESSIBILITY - Screen Reader & Skip Links
   ============================================ */
.psl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to Map Pins button - visible only on focus */
.psl-skip-to-pins {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--psl-primary);
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  z-index: 50;
}

.psl-skip-to-pins:focus {
  position: relative;
  left: auto;
  width: auto;
  height: auto;
  margin-left: 12px;
  outline: 2px solid white;
  outline-offset: 2px;
}

.psl-skip-to-pins:hover {
  background: var(--psl-primary-dark);
}

@media (max-width: 768px) {
  .psl-skip-to-pins:focus {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }
}

/* Focus styles for keyboard navigation */
.store-locator-widget *:focus {
  outline: 2px solid var(--psl-primary);
  outline-offset: 2px;
}

.store-locator-widget *:focus:not(:focus-visible) {
  outline: none;
}

.store-locator-widget *:focus-visible {
  outline: 2px solid var(--psl-primary);
  outline-offset: 2px;
}

/* Focus styles for cards */
.psl-card:focus-visible {
  outline: 2px solid var(--psl-primary);
  outline-offset: -2px;
  background: #f9fafb;
}

/* Reset & Base */
.store-locator-widget {
  font-family: "Inter", sans-serif;
  color: var(--psl-text);
  line-height: 1.5;
  box-sizing: border-box;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--psl-border);
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
}

.store-locator-section.wide-width .store-locator-widget {
  max-width: 1480px;
}

.store-locator-widget.alignwide {
  max-width: 1600px;
}

.store-locator-widget.alignfull {
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.store-locator-widget * {
  font-family: "Inter", sans-serif;
}

.store-locator-widget *,
.store-locator-widget *::before,
.store-locator-widget *::after {
  box-sizing: border-box;
}

/* Phosphor Icons base styling */
.store-locator-widget i[class*="ph"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

/* ============================================
   HEADER / SEARCH BAR
   ============================================ */
.psl-header {
  background: var(--psl-bg);
  border-bottom: 1px solid var(--psl-border);
  padding-bottom: 0;
}

.psl-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  flex-wrap: wrap;
}

/* Search Input Container */
.psl-search {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.psl-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  font-size: 20px;
  z-index: 1;
}

.psl-search-input {
  width: 100%;
  height: 44px;
  padding-left: 48px;
  padding-right: 80px;
  border: 1px solid var(--psl-border);
  border-radius: 8px;
  background: white;
  font-size: 15px;
  color: var(--psl-text);
  transition: all 0.2s;
}

.psl-search-input:focus {
  outline: none;
  border-color: var(--psl-primary);
}

.psl-search-input::placeholder {
  color: #9ca3af;
}

/* Clear & Geolocation Buttons */
.psl-clear-btn,
.psl-geo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; /* Minimum touch target size */
  min-height: 44px;
  touch-action: manipulation;
}

.psl-clear-btn {
  right: 44px;
  font-size: 16px;
}

.psl-clear-btn:hover {
  color: #6b7280;
}

.psl-geo-btn {
  right: 12px;
  font-size: 20px;
}

.psl-geo-btn:hover {
  color: #3b82f6;
}

.psl-geo-btn.active {
  color: #3b82f6;
  background: #eff6ff;
  border-radius: 4px;
}

/* Address Suggestions Dropdown */
.psl-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid var(--psl-border);
  border-radius: 8px;
  z-index: 100;
  display: none;
  overflow: hidden;
}

.psl-suggestions.show {
  display: block;
}

.psl-suggestion {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}

.psl-suggestion:last-child {
  border-bottom: none;
}

.psl-suggestion:hover,
.psl-suggestion:focus {
  background: #f9fafb;
  outline: none;
}

.psl-suggestion:focus {
  background: var(--psl-primary-light);
}

.psl-suggestion-empty {
  cursor: default;
  color: var(--psl-text-secondary);
}

.psl-suggestion-empty:hover,
.psl-suggestion-empty:focus {
  background: white;
}

.psl-suggestion-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.psl-suggestion-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--psl-text);
}

.psl-suggestion-distance {
  font-size: 12px;
  color: var(--psl-text-secondary);
  white-space: nowrap;
}

.psl-suggestion-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--psl-text-secondary);
  margin-top: 4px;
}

.psl-suggestion-type {
  font-weight: 500;
}

.psl-suggestion-address {
  color: #9ca3af;
}

/* ============================================
   FILTER BUTTONS - DESKTOP
   ============================================ */
.psl-filters-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.psl-filter {
  position: relative;
}

.psl-filter-btn {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: white;
  border: 1px solid var(--psl-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  touch-action: manipulation;
}

.psl-filter-btn:hover {
  border-color: var(--psl-primary);
}

.psl-filter-btn i.ph-funnel,
.psl-filter-btn i.ph-tag {
  font-size: 18px;
  color: var(--psl-text-secondary);
}

.psl-filter-btn i.ph-caret-down {
  font-size: 16px;
  color: #9ca3af;
  transition: transform 0.2s;
}

.psl-filter-btn.open i.ph-caret-down {
  transform: rotate(180deg);
}

.psl-filter-btn.has-selection {
  color: #2563eb;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.psl-filter-badge {
  display: none;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: #2563eb;
  border-radius: 9999px;
  min-width: 20px;
  text-align: center;
}

.psl-filter-badge.show {
  display: inline-block;
}

/* Filter Dropdown Menu */
.psl-filter-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 180px;
  background: white;
  border: 1px solid var(--psl-border);
  border-radius: 8px;
  z-index: 50;
  display: none;
  padding: 4px 0;
}

.psl-filter-menu.show {
  display: block;
}

/* Distance Options */
.psl-distance-option {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--psl-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}

.psl-distance-option:hover {
  background: #f9fafb;
}

.psl-distance-option.selected {
  color: var(--psl-primary);
  font-weight: 500;
  background: var(--psl-primary-light);
}

.psl-distance-option .check-icon {
  display: none !important;
  font-size: 14px;
  color: var(--psl-primary);
}

.psl-distance-option.selected .check-icon {
  display: inline-flex !important;
}

/* Product/Type Filter Options */
.psl-filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.psl-filter-option:hover {
  background: #f9fafb;
}

.psl-filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}

.psl-filter-option-emoji {
  font-size: 16px;
}

.psl-filter-option-icon {
  font-size: 16px;
  color: var(--psl-text-secondary);
}

.psl-filter-option-label {
  font-size: 13px;
  color: var(--psl-text);
}

.psl-filter-clear {
  border-top: 1px solid #f3f4f6;
  margin-top: 8px;
  padding: 8px 12px;
}

.psl-filter-clear button {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--psl-text-secondary);
  cursor: pointer;
  padding: 0;
}

.psl-filter-clear button:hover {
  color: #2563eb;
}

/* ============================================
   FILTER BUTTONS - MOBILE (hidden by default)
   ============================================ */
.psl-filters-mobile {
  display: none;
  width: 100%;
  gap: 8px;
}

.psl-filters-mobile .psl-filter {
  flex: 1;
}

.psl-filters-mobile .psl-filter-btn {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  justify-content: space-between;
}

.psl-filters-mobile .psl-filter-btn-content {
  display: flex;
  align-items: center;
  gap: 4px;
}

.psl-filters-mobile .psl-filter-btn-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.psl-filters-mobile .psl-filter-badge {
  padding: 1px 6px;
  font-size: 10px;
}

.psl-filters-mobile i.ph-funnel,
.psl-filters-mobile i.ph-tag {
  font-size: 14px;
}

.psl-filters-mobile i.ph-caret-down {
  font-size: 14px;
}

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */
.psl-content {
  display: flex;
  height: 620px;
}

/* Left Panel */
.psl-panel {
  width: 420px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--psl-border);
  background: white;
  position: relative;
  overflow: hidden;
}

/* Map Container */
.psl-map {
  flex: 1;
  position: relative;
  background: #f3f4f6;
}

#psl-map-container {
  width: 100%;
  height: 100%;
}

/* Loading Overlay */
.psl-loading {
  position: absolute;
  inset: 0;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: opacity 0.3s;
}

.psl-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Spinner Container - holds both ring and icon */
.psl-spinner-container {
  position: relative;
  width: 48px;
  height: 48px;
}

/* Spinning Ring - only this rotates */
.psl-spinner-ring {
  position: absolute;
  inset: 0;
  border: 4px solid #e5e7eb;
  border-top-color: var(--psl-primary);
  border-radius: 50%;
  animation: psl-spin 1s linear infinite;
}

/* Static Icon - stays centered, doesn't spin */
.psl-spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: var(--psl-primary);
}

@keyframes psl-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   REDUCED MOTION - for users who prefer less animation
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .store-locator-widget *,
  .store-locator-widget *::before,
  .store-locator-widget *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .psl-spinner-ring {
    animation: none;
    border-top-color: var(--psl-primary);
  }

  .psl-marker {
    transition: none;
  }

  .psl-marker:hover,
  .psl-marker.active,
  .psl-marker:focus {
    transform: scale(1.1); /* Reduced scale for less motion */
  }
}

.psl-loading p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--psl-text-secondary);
}

/* ============================================
   TABS
   ============================================ */
.psl-tabs-container {
  background: white;
  border-bottom: 1px solid var(--psl-border);
}

.psl-tabs {
  display: flex;
}

.psl-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--psl-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.psl-tab:hover {
  color: #374151;
}

.psl-tab i {
  font-size: 16px;
}

.psl-tab.active {
  color: var(--psl-primary);
  border-bottom-color: var(--psl-primary);
}

.psl-tab-badge {
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: var(--psl-text-secondary);
  border-radius: 9999px;
}

.psl-tab.active .psl-tab-badge {
  background: var(--psl-primary-light);
  color: var(--psl-primary);
}

/* ============================================
   LOCATION LIST
   ============================================ */
.psl-list {
  flex: 1;
  overflow-y: auto;
}

.psl-list-nearby {
  display: block;
}

.psl-list-nearby.hidden {
  display: none;
}

/* ============================================
   DETAIL OVERLAY (covers list when active)
   ============================================ */
.psl-detail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 20;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.psl-detail-overlay.active {
  display: flex;
}

.psl-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 6px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
}

.psl-detail-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--psl-text);
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.psl-detail-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s;
  flex-shrink: 0;
  touch-action: manipulation;
}

.psl-detail-close:hover {
  background: #e5e7eb;
  color: #374151;
}

.psl-detail-close i {
  font-size: 18px;
}

.psl-detail-content {
  padding: 0 20px 20px;
  flex: 1;
}

.psl-detail-status {
  margin-bottom: 10px;
}

.psl-detail-tags {
  margin-bottom: 12px;
}

/* Two-column layout for type tag, address + image */
.psl-detail-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.psl-detail-info-left {
  flex: 1;
  min-width: 0; /* Prevent text overflow issues */
}

.psl-detail-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}

.psl-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Remove border from address since info-row now has it */
.psl-detail-info-row .psl-detail-address {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.psl-detail-address {
  font-size: 14px;
  color: var(--psl-text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.psl-detail-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.psl-detail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--psl-primary);
  text-decoration: none;
  font-size: 14px;
}

.psl-detail-link i {
  font-size: 16px;
  color: #9ca3af;
}

.psl-detail-link:hover {
  text-decoration: underline;
}

.psl-detail-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.psl-detail-phone i {
  font-size: 16px;
  color: #9ca3af;
}

.psl-detail-phone a {
  color: var(--psl-primary);
  text-decoration: none;
}

.psl-detail-phone a:hover {
  text-decoration: underline;
}

.psl-detail-distance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--psl-text-secondary);
}

.psl-detail-distance i {
  font-size: 16px;
  color: #9ca3af;
}

.psl-detail-hours {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

/* Get Directions CTA Button */
.psl-detail-cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.psl-detail-directions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--psl-primary);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.psl-detail-directions-btn:hover {
  background: var(--psl-primary-dark);
  color: white;
}

.psl-detail-directions-btn i {
  font-size: 16px;
}

/* Location Card */
.psl-card {
  padding: 20px;
  border-bottom: 1px solid var(--psl-border);
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  overflow: hidden;
  touch-action: manipulation;
}

.psl-card:hover,
.psl-card.hovered {
  background: #f9fafb;
  border-left-color: #d1d5db;
}

.psl-card.selected {
  background: #fafcfe;
  border-left-color: var(--psl-primary);
  cursor: default;
}

.psl-card.selected:hover,
.psl-card.selected.hovered {
  background: #fafcfe;
  border-left-color: var(--psl-primary);
}

.psl-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.psl-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--psl-text);
  margin: 0;
}

/* Open/Closed Status */
.psl-open-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.psl-open-status.open {
  color: #16a34a;
}

.psl-open-status.closed {
  color: #dc2626;
}

.psl-open-status.note {
  color: var(--psl-primary);
  font-size: 11px;
}

.psl-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.psl-card-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--psl-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.psl-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.psl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--psl-text-secondary);
  background: #f9fafb;
  border: 1px solid var(--psl-border);
  border-radius: 8px;
}

.psl-tag i {
  font-size: 14px;
}

.psl-card-address {
  font-size: 13px;
  color: var(--psl-text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Card Info (Hours, Phone) */
.psl-card-info {
  margin-bottom: 16px;
}

.psl-card-hours,
.psl-card-phone {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--psl-text-secondary);
  margin-bottom: 6px;
}

.psl-card-hours i,
.psl-card-phone i {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 2px;
}

.psl-card-phone a {
  color: var(--psl-primary);
  text-decoration: none;
}

.psl-card-phone a:hover {
  text-decoration: underline;
}

/* Type filter dots */
.psl-type-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.psl-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.psl-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  background: var(--psl-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.psl-directions-btn:hover {
  background: var(--psl-primary-dark);
  color: white;
}

/* Directions arrow icon rotation */
.psl-directions-icon {
  transform: rotate(135deg);
}

.psl-distance {
  font-size: 13px;
  color: var(--psl-text-secondary);
  font-weight: 500;
}

/* ============================================
   SOCIAL LINKS (used in detail overlay)
   ============================================ */
.psl-social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.psl-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  text-decoration: none;
  transition: all 0.2s;
}

.psl-social-link:hover {
  transform: scale(1.1);
}

.psl-social-link i {
  font-size: 18px;
}

.psl-social-facebook:hover {
  background: #1877f2;
  color: white;
}

.psl-social-instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
}

.psl-card-phone-bottom a {
  color: var(--psl-primary);
  text-decoration: none;
  font-size: 14px;
}

.psl-card-phone-bottom a:hover {
  text-decoration: underline;
}

/* Full Hours Grid */
.psl-card-full-hours {
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
}

.psl-hours-grid {
  display: flex;
  flex-direction: column;
}

.psl-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #f9fafb;
}

.psl-hours-row:last-child {
  border-bottom: none;
}

.psl-hours-row.today {
  font-weight: 600;
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%);
  border-radius: 6px;
  padding: 10px 12px;
  margin: 2px 0;
  position: relative;
  box-shadow: 0 1px 2px rgba(251, 191, 36, 0.1);
}

.psl-hours-row.today::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  border-radius: 6px 0 0 6px;
}

.psl-hours-row.today .psl-hours-day {
  color: var(--psl-primary);
}

.psl-hours-day {
  color: var(--psl-text);
  min-width: 100px;
}

.psl-hours-time {
  color: var(--psl-text);
  text-align: right;
}

.psl-hours-note {
  padding: 12px 0;
  color: var(--psl-primary);
  font-size: 14px;
  font-weight: 500;
}

.psl-hours-unavailable {
  padding: 12px 0;
  color: var(--psl-text-secondary);
  font-size: 14px;
}

/* Empty State */
.psl-empty {
  padding: 60px 20px;
  text-align: center;
}

.psl-empty-icon {
  font-size: 48px;
  color: #d1d5db;
  display: block;
  margin: 0 auto 16px;
}

.psl-empty h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--psl-text);
  margin: 0 0 8px;
}

.psl-empty p {
  font-size: 14px;
  color: var(--psl-text-secondary);
  margin: 0;
}

/* ============================================
   CUSTOM MARKERS
   ============================================ */
.psl-marker {
  cursor: pointer;
  transition: transform 0.2s ease-out;
  transform-origin: bottom center;
  touch-action: manipulation; /* Better touch response */
}

.psl-marker:hover,
.psl-marker.active,
.psl-marker:focus {
  transform: scale(1.25);
  z-index: 10 !important;
}

.psl-marker:focus {
  outline: 3px solid var(--psl-primary);
  outline-offset: 2px;
  border-radius: 50%;
}

.psl-marker:focus:not(:focus-visible) {
  outline: none;
}

.psl-marker:focus-visible {
  outline: 3px solid var(--psl-primary);
  outline-offset: 2px;
}

.psl-marker svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.psl-marker-img {
  display: block;
  width: 40px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* ============================================
   MAPBOX POPUP OVERRIDES
   ============================================ */
.mapboxgl-popup {
  z-index: 10;
}

.mapboxgl-popup-content {
  padding: 0 !important;
  border-radius: 8px !important;
  overflow: visible;
  border: 1px solid var(--psl-border) !important;
  box-shadow: none !important;
  min-width: 300px;
}

.mapboxgl-popup-tip {
  border-top-color: white !important;
  border-width: 12px !important;
}

.mapboxgl-popup-close-button {
  display: none;
}

.mapboxgl-ctrl-group {
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: none !important;
  border: 1px solid var(--psl-border) !important;
}

.mapboxgl-ctrl-group button {
  width: 36px !important;
  height: 36px !important;
}

/* Hide compass on navigation control */
.mapboxgl-ctrl-compass {
  display: none !important;
}

.mapboxgl-ctrl-geolocate {
  margin-top: 8px !important;
}

/* ============================================
   POPUP CONTENT
   ============================================ */
.psl-popup {
  width: 100%;
  max-width: 360px;
}

.psl-popup-close {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 6px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #9ca3af;
  z-index: 10;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; /* Minimum touch target size */
  min-height: 44px;
  touch-action: manipulation;
}

.psl-popup-close:hover {
  background: #f3f4f6;
  color: #6b7280;
}

.psl-popup-close i {
  font-size: 18px;
}

.psl-popup-header {
  padding: 20px 20px 12px;
}

.psl-popup-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--psl-text);
  margin: 0 0 8px;
  padding-right: 32px;
}

.psl-popup-header .psl-open-status {
  font-size: 13px;
}

/* Social Links in Popup */
.psl-popup-social {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.psl-popup-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  text-decoration: none;
  transition: all 0.2s;
}

.psl-popup-social-link:hover {
  transform: scale(1.1);
}

.psl-popup-social-link i {
  font-size: 16px;
}

.psl-popup-social-link[title="Facebook"]:hover {
  background: #1877f2;
  color: white;
}

.psl-popup-social-link[title="Instagram"]:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
}

.psl-popup-type {
  padding: 0 20px 12px;
}

.psl-popup-address {
  padding: 12px 20px;
  border-top: 1px solid #f3f4f6;
}

.psl-popup-address p {
  margin: 0;
  font-size: 14px;
  color: var(--psl-text-secondary);
  line-height: 1.5;
}

.psl-popup-info {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #f3f4f6;
}

.psl-popup-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--psl-text-secondary);
}

.psl-popup-info-item i {
  font-size: 14px;
  color: #9ca3af;
  width: 16px;
}

.psl-popup-info-item a {
  color: var(--psl-primary);
  text-decoration: none;
}

.psl-popup-info-item a:hover {
  text-decoration: underline;
}

.psl-popup-hours span {
  line-height: 1.5;
}

/* ============================================
   MULTI-LOCATION POPUP (for overlapping pins)
   ============================================ */
.psl-popup-multi {
  width: 100%;
  max-width: 340px;
}

.psl-popup-multi .psl-popup-header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #f3f4f6;
}

.psl-popup-multi .psl-popup-name {
  font-size: 15px;
  padding-right: 28px;
  margin-bottom: 8px;
}

.psl-popup-multi-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--psl-text-secondary);
  line-height: 1.4;
}

.psl-popup-multi-address i {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 1px;
  flex-shrink: 0;
}

.psl-popup-multi-list {
  max-height: 280px;
  overflow-y: auto;
}

.psl-popup-multi-item {
  padding: 14px 20px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.15s;
}

.psl-popup-multi-item:last-child {
  border-bottom: none;
}

.psl-popup-multi-item:hover,
.psl-popup-multi-item:focus {
  background: #f9fafb;
}

.psl-popup-multi-item:focus {
  outline: 2px solid var(--psl-primary);
  outline-offset: -2px;
}

.psl-popup-multi-item:focus:not(:focus-visible) {
  outline: none;
}

.psl-popup-multi-item:focus-visible {
  outline: 2px solid var(--psl-primary);
  outline-offset: -2px;
}

.psl-popup-multi-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.psl-popup-multi-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--psl-text);
  flex: 1;
}

.psl-popup-multi-item-header .psl-open-status {
  font-size: 11px;
  white-space: nowrap;
}

.psl-popup-multi-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.psl-popup-multi-item-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--psl-text-secondary);
}

.psl-popup-multi-item-phone i {
  font-size: 12px;
  color: #9ca3af;
}

.psl-popup-multi-hint {
  padding: 12px 20px;
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  font-size: 12px;
  color: var(--psl-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.psl-popup-multi-hint i {
  font-size: 14px;
}

@media (max-width: 768px) {
  /* Responsive width on mobile */
  .psl-popup-multi {
    width: 100%;
    max-width: 360px;
  }

  .psl-popup-multi-address {
    font-size: 13px;
  }

  .psl-popup-multi-list {
    max-height: 280px;
  }

  .psl-popup-multi-item {
    padding: 14px 20px;
  }

  .psl-popup-multi-item-name {
    font-size: 14px;
  }

  .psl-popup-multi-item-phone {
    font-size: 12px;
  }

  .psl-popup-multi-hint {
    padding: 12px 20px;
    font-size: 12px;
  }
}

.psl-popup-actions {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.psl-popup-directions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--psl-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.psl-popup-directions:hover {
  background: var(--psl-primary-dark);
  color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.psl-footer {
  background: #f9fafb;
  border-top: 1px solid var(--psl-border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
}

.psl-footer-brand {
  font-size: 13px;
  color: #9ca3af;
}

.psl-footer-count {
  font-size: 13px;
  color: var(--psl-text-secondary);
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .store-locator-widget {
    margin: 0;
    border-radius: 0;
    border: none;
  }

  /* Header becomes vertical on mobile */
  .psl-search-row {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .psl-search {
    width: 100%;
    min-width: auto;
  }

  .psl-search-input {
    height: 40px;
    padding-left: 40px;
    padding-right: 72px;
    font-size: 14px;
  }

  .psl-search-input::placeholder {
    content: "Search location...";
  }

  .psl-search-icon {
    left: 12px;
    font-size: 18px;
  }

  .psl-clear-btn {
    right: 38px;
  }

  .psl-geo-btn {
    right: 8px;
    font-size: 18px;
  }

  /* Hide desktop filters, show mobile filters */
  .psl-filters-desktop {
    display: none;
  }

  .psl-filters-mobile {
    display: flex;
  }

  /* Main content stacks vertically */
  .psl-content {
    flex-direction: column;
    height: auto;
  }

  /* Map on top for mobile - taller to fit popup above pins */
  .psl-map {
    order: 1;
    height: 65vh;
    min-height: 400px;
    max-height: 600px;
    flex: none;
    border-bottom: 1px solid var(--psl-border);
  }

  /* Panel below map */
  .psl-panel {
    order: 2;
    width: 100%;
    border-right: none;
    position: relative;
  }

  .psl-list {
    max-height: 400px;
  }

  /* Detail Overlay Mobile */
  .psl-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
  }

  .psl-detail-header {
    padding: 16px 16px 4px;
  }

  .psl-detail-name {
    font-size: 20px;
  }

  .psl-detail-content {
    padding: 0 16px 16px;
  }

  .psl-detail-status {
    margin-bottom: 8px;
  }

  .psl-detail-address {
    font-size: 13px;
  }

  /* Image in two-column layout - keep visible size on mobile */
  .psl-detail-info-row {
    gap: 12px;
  }

  .psl-detail-image {
    width: 130px;
    height: 130px;
  }

  .psl-detail-link {
    font-size: 13px;
  }

  .psl-detail-directions-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  /* Cards */
  .psl-card {
    padding: 16px;
  }

  .psl-card-name {
    font-size: 14px;
  }

  .psl-directions-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Social Links Mobile */
  .psl-social-links {
    margin-bottom: 12px;
  }

  .psl-social-link {
    width: 32px;
    height: 32px;
  }

  .psl-social-link i {
    font-size: 16px;
  }

  .psl-hours-row {
    font-size: 13px;
    padding: 6px 0;
  }

  /* Popup adjustments for mobile */
  .psl-popup {
    width: 100%;
    max-width: 360px;
  }

  .psl-popup-header {
    padding: 14px 14px 10px;
  }

  .psl-popup-name {
    font-size: 15px;
    padding-right: 28px;
  }

  .psl-popup-close {
    top: 8px;
    right: 8px;
    padding: 4px;
  }

  .psl-popup-social {
    margin-top: 8px;
    gap: 6px;
  }

  .psl-popup-social-link {
    width: 28px;
    height: 28px;
  }

  .psl-popup-social-link i {
    font-size: 14px;
  }

  .psl-popup-address {
    padding: 10px 14px;
  }

  .psl-popup-address p {
    font-size: 13px;
  }

  .psl-popup-info {
    padding: 8px 14px;
    gap: 8px;
  }

  .psl-popup-info-item {
    font-size: 12px;
  }

  .psl-popup-actions {
    padding: 10px 14px;
  }

  .psl-popup-directions {
    height: 36px;
    font-size: 13px;
  }

  .mapboxgl-popup-content {
    min-width: auto !important;
    width: calc(100vw - 40px) !important;
    max-width: 360px !important;
    border-radius: 10px !important;
  }

  /* Mobile popup positioning - ensure it stays in view */
  .psl-popup-mobile .mapboxgl-popup-content {
    max-height: calc(60vh - 60px);
    overflow-y: auto;
  }

  /* Ensure multi-location popup fills container on mobile */
  .psl-popup-mobile .psl-popup-multi {
    width: 100%;
    max-width: none;
  }

  /* Taller list to avoid double scrolling */
  .psl-popup-mobile .psl-popup-multi-list {
    max-height: none;
    overflow-y: visible;
  }

  .mapboxgl-popup-tip {
    border-width: 10px !important;
  }
}

/* ============================================
   RESPONSIVE - TABLET (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .psl-panel {
    width: 360px;
  }

  .psl-card-tags {
    flex-wrap: wrap;
  }

  .psl-tag {
    font-size: 11px;
    padding: 3px 8px;
  }
}
