/*
 * LDT Store Finder – storefinder.css  v3.1
 * MOBILE-FIRST · WCAG 2.1 AA · ADA compliant
 *
 * Breakpoints: 600px (tablet), 900px (desktop)
 * Touch targets: 44px minimum everywhere
 * Contrast: 4.5:1 minimum on all text
 * Focus: :focus-visible on all interactive elements
 * Motion: prefers-reduced-motion respected
 */

/* ═══════════════════════════════════════════════
   PS CLASSIC WRAPPER RESETS
   Scoped to body#module-ldt_storefinder-storefinder
═══════════════════════════════════════════════ */
#module-ldt_storefinder-storefinder .page-header {
  margin: 0 !important; padding: 0 !important;
  border: none !important; min-height: 0 !important;
}
#module-ldt_storefinder-storefinder .page-header h1 { display: none !important; }

#module-ldt_storefinder-storefinder #content.card,
#module-ldt_storefinder-storefinder #content.card-block,
#module-ldt_storefinder-storefinder #content.page-content {
  background: transparent !important; border: none !important;
  border-radius: 0 !important; box-shadow: none !important;
  padding: 0 !important; margin: 0 !important;
}

#module-ldt_storefinder-storefinder .page-footer { display: none !important; }

#module-ldt_storefinder-storefinder #main {
  padding: 0 !important; margin: 0 !important;
  background: transparent !important; border: none !important; box-shadow: none !important;
}

#module-ldt_storefinder-storefinder #content-wrapper {
  padding-left: 0 !important; padding-right: 0 !important;
  max-width: 100% !important; width: 100% !important;
}

#module-ldt_storefinder-storefinder .ldt-container > .row {
  margin-left: 0 !important; margin-right: 0 !important;
}

#module-ldt_storefinder-storefinder .ldt-container {
  max-width: 1440px;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 600px) {
  #module-ldt_storefinder-storefinder .ldt-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════
   WRAPPER
═══════════════════════════════════════════════ */
.ldt-sf-wrapper {
  padding: 0 0 2.5rem;
}
@media (min-width: 900px) {
  .ldt-sf-wrapper { padding: 0 0 3.5rem; }
}

/* ═══════════════════════════════════════════════
   HERO HEADER
═══════════════════════════════════════════════ */
.ldt-sf-hero {
  text-align: center;
  padding: 2rem 1rem 0.75rem;
  margin-left: -1rem;
  margin-right: -1rem;
  background: linear-gradient(180deg, var(--ldt-soft-ivory, #FFF9F2) 0%, transparent 100%);
}
@media (min-width: 600px) {
  .ldt-sf-hero { padding: 2.5rem 1.5rem 1rem; margin-left: -1.5rem; margin-right: -1.5rem; }
}
@media (min-width: 900px) {
  .ldt-sf-hero { padding: 3rem 2rem 1rem; margin-left: -1.5rem; margin-right: -1.5rem; }
}

/* Eyebrow — contrast: #9C6F44 on ivory ≈ 4.7:1 */
.ldt-sf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #956A41;
  margin: 0 0 0.75rem;
}

.ldt-sf-page-title {
  font-family: var(--ldt-font-display, 'Playfair Display', Georgia, serif) !important;
  font-size: clamp(1.75rem, 5vw, 3rem) !important;
  font-weight: 700 !important;
  color: var(--ldt-cocoa-brown, #5B4636) !important;
  margin: 0 0 0.75rem !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  letter-spacing: -0.01em;
}
.ldt-sf-title-accent { color: #8B6E3B !important; }

.ldt-sf-page-subtitle {
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  color: var(--ldt-cocoa-brown, #5B4636);
  font-size: 0.9rem;
  margin: 0 auto 1.25rem;
  max-width: 46ch;
  line-height: 1.6;
}
@media (min-width: 600px) {
  .ldt-sf-page-subtitle { font-size: 0.92rem; margin-bottom: 1.5rem; }
}

.ldt-sf-divider {
  width: 48px; height: 3px;
  background: var(--ldt-desert-gold, #D4A85A);
  border-radius: 2px;
  margin: 0 auto 1.75rem;
}
@media (min-width: 600px) {
  .ldt-sf-divider { margin-bottom: 2rem; }
}

/* ═══════════════════════════════════════════════
   CONTROLS — mobile stacked, desktop inline
═══════════════════════════════════════════════ */
.ldt-sf-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0;
}
@media (min-width: 600px) {
  .ldt-sf-controls {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
  }
}

/* Search input — 48px on mobile, 44px on desktop */
.ldt-sf-search-wrap {
  position: relative; width: 100%; flex: 1 1 220px; min-width: 0;
}
.ldt-sf-search-wrap .ldt-search-input,
.ldt-sf-search-wrap .ldt-search-input:focus {
  width: 100%;
  padding: 0.85rem 3rem 0.85rem 2.75rem;
  min-height: 48px;
  font-size: 1rem;
  border-width: 1.5px;
  border-radius: var(--ldt-radius-pill, 40px);
  border-color: var(--ldt-border-medium, rgba(212,168,90,0.4));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  color: var(--ldt-rich-black, #111111);
  background: #ffffff;
  border-style: solid;
  outline: none;
}
@media (min-width: 600px) {
  .ldt-sf-search-wrap .ldt-search-input,
  .ldt-sf-search-wrap .ldt-search-input:focus {
    padding: 0.75rem 2.8rem 0.75rem 2.5rem;
    min-height: 44px;
    font-size: 0.88rem;
  }
}
.ldt-sf-search-wrap .ldt-search-input:focus-visible {
  border-color: var(--ldt-desert-gold, #D4A85A);
  box-shadow: 0 0 0 3px rgba(212,168,90,0.3);
}
/* Placeholder contrast: #767676 = 4.5:1 on white */
.ldt-sf-search-wrap .ldt-search-input::placeholder {
  color: #767676;
}
.ldt-sf-search-wrap .ldt-search-icon {
  left: 1rem; color: var(--ldt-desert-gold, #D4A85A); font-size: 1rem;
}
@media (min-width: 600px) {
  .ldt-sf-search-wrap .ldt-search-icon { left: 0.9rem; font-size: 0.9rem; }
}

/* Clear button — 44px tap zone, visually compact */
.ldt-sf-search-clear {
  position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 0;
  color: var(--ldt-cocoa-brown, #5B4636);
  font-size: 1rem; cursor: pointer; line-height: 1; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.ldt-sf-search-clear:hover {
  color: var(--ldt-warm-orange, #B75C19);
  background: rgba(242,122,33,0.08);
}
.ldt-sf-search-clear:focus-visible {
  outline: 2px solid var(--ldt-desert-gold, #D4A85A);
  outline-offset: -2px;
}

/* Filter buttons — 48px mobile, 44px desktop */
.ldt-sf-filters {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ldt-sf-filter-btn {
  transition: all 0.15s ease !important;
  padding: 0.6rem 1.1rem !important;
  min-height: 48px !important;
  font-size: 0.85rem !important;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  border-radius: var(--ldt-radius-pill, 40px);
  border: 1.5px solid var(--ldt-border-medium, rgba(212,168,90,0.4));
  background: #ffffff;
  color: var(--ldt-cocoa-brown, #5B4636);
  cursor: pointer;
  font-weight: 600;
}
@media (min-width: 600px) {
  .ldt-sf-filter-btn {
    padding: 0.5rem 1rem !important;
    min-height: 44px !important;
    font-size: 0.8rem !important;
  }
}
.ldt-sf-filter-btn:hover {
  background: var(--ldt-light-sand, #F5E9D8) !important;
  border-color: var(--ldt-desert-gold, #D4A85A) !important;
  color: var(--ldt-cocoa-brown, #5B4636) !important;
}
.ldt-sf-filter-btn:focus-visible {
  outline: 2px solid var(--ldt-desert-gold, #D4A85A);
  outline-offset: 2px;
}
.ldt-sf-filter-btn.active {
  background: #90723D !important;
  border-color: #90723D !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════
   COUNT + MOBILE TAB BAR
═══════════════════════════════════════════════ */
.ldt-sf-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--ldt-border-light, rgba(212,168,90,0.2));
}
.ldt-sf-results-count {
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.85rem; font-weight: 600;
  color: var(--ldt-cocoa-brown, #5B4636); letter-spacing: 0.02em;
}
.ldt-sf-tabs {
  display: flex;
  border-bottom: 2px solid rgba(212,168,90,0.15);
  background: transparent;
  gap: 0;
  margin-bottom: 0.25rem;
}
@media (min-width: 900px) { .ldt-sf-tabs { display: none; } }

/* Tabs — 48px mobile touch target */
.ldt-sf-tab {
  flex: 1;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ldt-cocoa-brown, #5B4636);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 0.3rem;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
@media (min-width: 600px) {
  .ldt-sf-tab {
    padding: 0.75rem 0.75rem;
    min-height: 44px;
    font-size: 0.82rem;
  }
}
.ldt-sf-tab:hover { color: var(--ldt-cocoa-brown, #5B4636); }
.ldt-sf-tab:focus-visible {
  outline: 2px solid var(--ldt-desert-gold, #D4A85A);
  outline-offset: -2px;
}
.ldt-sf-tab.active {
  color: var(--ldt-cocoa-brown, #5B4636);
  border-bottom-color: var(--ldt-desert-gold, #D4A85A);
  background: transparent;
}

/* ═══════════════════════════════════════════════
   LAYOUT — mobile stacked, desktop side-by-side
═══════════════════════════════════════════════ */
.ldt-sf-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .ldt-sf-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    grid-template-rows: clamp(500px, 75vh, 800px);
    gap: 1.5rem;
    align-items: start;
  }
}

/* ═══════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════ */
.ldt-sf-sidebar { display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 900px) { .ldt-sf-sidebar { height: clamp(500px, 75vh, 800px); } }
.ldt-sf-sidebar.ldt-sf-hidden { display: none; }
@media (min-width: 900px) { .ldt-sf-sidebar.ldt-sf-hidden { display: flex; } }

.ldt-sf-card-list {
  overflow-y: auto; flex: 1;
  padding-right: 4px;
  max-height: 65vh;
  scrollbar-width: thin; scrollbar-color: rgba(212,168,90,0.4) transparent;
}
@media (min-width: 900px) { .ldt-sf-card-list { max-height: none; } }
.ldt-sf-card-list::-webkit-scrollbar { width: 4px; }
.ldt-sf-card-list::-webkit-scrollbar-track { background: transparent; }
.ldt-sf-card-list::-webkit-scrollbar-thumb { background: rgba(212,168,90,0.4); border-radius: 4px; }

/* ═══════════════════════════════════════════════
   STORE CARD — generous mobile spacing
═══════════════════════════════════════════════ */
.ldt-card.ldt-sf-card {
  height: auto !important;
  overflow: hidden !important;
  display: block !important;
  flex-direction: unset !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  transform: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}
.ldt-card.ldt-sf-card:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(212,168,90,0.18) !important;
}

.ldt-sf-card {
  display: block;
  background: #ffffff;
  border: 1.5px solid var(--ldt-border-light, rgba(212,168,90,0.2));
  border-radius: var(--ldt-radius-lg, 1rem);
  padding: 1.15rem 1.15rem 1rem;
  margin-bottom: 0.85rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media (min-width: 600px) {
  .ldt-sf-card {
    padding: 1rem 1.15rem 0.9rem;
    margin-bottom: 0.75rem;
  }
}

/* Left accent bar */
.ldt-sf-card::before {
  content: '';
  position: absolute; left: 0; top: 12%; bottom: 12%; width: 3px;
  background: linear-gradient(180deg,
    var(--ldt-desert-gold, #D4A85A),
    var(--ldt-warm-orange, #B75C19));
  border-radius: 0 3px 3px 0;
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ldt-sf-card:hover { transform: translateY(-1px); }
.ldt-sf-card:hover,
.ldt-sf-card:focus-visible,
.ldt-sf-card.active {
  border-color: var(--ldt-desert-gold, #D4A85A);
  box-shadow: 0 6px 20px rgba(212,168,90,0.18);
}
.ldt-sf-card:focus-visible {
  outline: 3px solid var(--ldt-desert-gold, #D4A85A);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(212,168,90,0.2);
}
.ldt-sf-card:hover::before,
.ldt-sf-card:focus-visible::before,
.ldt-sf-card.active::before { transform: scaleY(1); }
.ldt-sf-card.active { background: linear-gradient(135deg, #fffdf8, var(--ldt-soft-ivory, #FFF9F2)); }
.ldt-sf-card.hidden { display: none !important; }

/* Card top row */
.ldt-sf-card-top {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.6rem; flex-wrap: wrap;
}

/* Badge — contrast: #5B4636 on #F5E9D8 = 5.2:1 */
.ldt-sf-card-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ldt-cocoa-brown, #5B4636);
  background: var(--ldt-light-sand, #F5E9D8);
  border-radius: var(--ldt-radius-pill, 40px);
  padding: 0.2rem 0.7rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.ldt-sf-card:hover .ldt-sf-card-badge,
.ldt-sf-card.active .ldt-sf-card-badge {
  background: rgba(212,168,90,0.15);
  color: var(--ldt-cocoa-brown, #5B4636);
}

/* Store name */
.ldt-sf-card-name {
  font-family: var(--ldt-font-display, 'Playfair Display', Georgia, serif) !important;
  font-size: 1rem !important; font-weight: 700 !important;
  color: var(--ldt-cocoa-brown, #5B4636);
  margin: 0 0 0.6rem; line-height: 1.3;
  display: flex; align-items: baseline; gap: 0.35rem;
  transition: color 0.15s ease; text-transform: none !important;
}
@media (min-width: 600px) {
  .ldt-sf-card-name { font-size: 0.93rem !important; margin-bottom: 0.5rem; }
}
.ldt-sf-card:hover .ldt-sf-card-name,
.ldt-sf-card.active .ldt-sf-card-name { color: #956A41; }
.ldt-sf-card-name .bi {
  color: var(--ldt-desert-gold, #D4A85A); font-size: 0.9rem; flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* Address */
.ldt-sf-card-address {
  font-style: normal;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.85rem;
  color: var(--ldt-cocoa-brown, #5B4636);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}
@media (min-width: 600px) {
  .ldt-sf-card-address { font-size: 0.8rem; margin-bottom: 0.75rem; }
}
.ldt-sf-card-address p {
  margin: 0 0 0.3rem;
  display: flex; align-items: flex-start; gap: 0.4rem;
}
.ldt-sf-card-address .bi {
  color: var(--ldt-desert-gold, #D4A85A); font-size: 0.85rem;
  margin-top: 0.12rem; flex-shrink: 0; opacity: 0.8;
}
.ldt-sf-card-address a {
  color: var(--ldt-cocoa-brown, #5B4636); text-decoration: none;
  transition: color 0.15s ease;
}
.ldt-sf-card-address a:hover { color: var(--ldt-warm-orange, #B75C19); }
.ldt-sf-card-address a:focus-visible {
  outline: 2px solid var(--ldt-desert-gold, #D4A85A);
  outline-offset: 1px;
}

/* Action buttons — 48px mobile, 44px desktop */
.ldt-sf-card-actions {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 0.35rem;
}

.ldt-sf-card-actions .ldt-btn,
.ldt-sf-card-actions a.ldt-btn {
  padding: 0.6rem 1.15rem !important;
  font-size: 0.82rem !important;
  min-height: 48px !important;
  gap: 0.35rem;
  border-radius: var(--ldt-radius-pill, 40px) !important;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif) !important;
  font-weight: 600 !important;
  display: inline-flex !important; align-items: center !important;
  cursor: pointer; text-decoration: none !important;
  transition: all 0.18s ease !important;
}
@media (min-width: 600px) {
  .ldt-sf-card-actions .ldt-btn,
  .ldt-sf-card-actions a.ldt-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.78rem !important;
    min-height: 44px !important;
  }
}
.ldt-sf-card-actions .ldt-btn:focus-visible {
  outline: 2px solid var(--ldt-desert-gold, #D4A85A) !important;
  outline-offset: 2px !important;
}

.ldt-sf-card-actions .ldt-btn-primary {
  background: var(--ldt-warm-orange, #B75C19) !important;
  color: #fff !important; border: none !important;
  box-shadow: 0 2px 8px rgba(242,122,33,0.22) !important;
}
.ldt-sf-card-actions .ldt-btn-primary:hover {
  background: var(--ldt-warm-orange-hover, #9A4E15) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(242,122,33,0.34) !important;
}
.ldt-sf-card-actions .ldt-btn-secondary {
  background: transparent !important;
  color: var(--ldt-cocoa-brown, #5B4636) !important;
  border: 1.5px solid var(--ldt-border-medium, rgba(212,168,90,0.4)) !important;
}
.ldt-sf-card-actions .ldt-btn-secondary:hover {
  background: var(--ldt-light-sand, #F5E9D8) !important;
  border-color: var(--ldt-desert-gold, #D4A85A) !important;
  transform: translateY(-1px) !important;
}

/* ═══════════════════════════════════════════════
   MAP
═══════════════════════════════════════════════ */
.ldt-sf-map-wrap {
  border-radius: var(--ldt-radius-lg, 1rem);
  overflow: hidden;
  border: 1.5px solid var(--ldt-border-light, rgba(212,168,90,0.2));
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  height: 360px;
  transition: box-shadow 0.25s ease;
}
@media (min-width: 600px) { .ldt-sf-map-wrap { height: 450px; } }
/* Mobile: map hidden by default — toggled by List/Map tabs */
@media (max-width: 899px) { .ldt-sf-map-wrap { display: none; } }
@media (max-width: 899px) { .ldt-sf-map-wrap.ldt-sf-show-mobile { display: block; } }
@media (min-width: 900px) { .ldt-sf-map-wrap { height: clamp(500px, 75vh, 800px); position: sticky; top: 1.25rem; } }
.ldt-sf-map-wrap.ldt-sf-hidden { display: none; }
@media (min-width: 900px) { .ldt-sf-map-wrap.ldt-sf-hidden { display: block; } }
.ldt-sf-map-wrap:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
#ldt-sf-map { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════════
   NO RESULTS
═══════════════════════════════════════════════ */
.ldt-sf-no-results {
  text-align: center;
  padding: 3rem 1.25rem;
  color: var(--ldt-cocoa-brown, #5B4636);
  animation: ldt-fadein 0.3s ease;
}
.ldt-sf-no-results .bi { font-size: 2.2rem; display: block; margin-bottom: 0.75rem; color: rgba(212,168,90,0.4); }
@keyframes ldt-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════
   LEAFLET POPUP
═══════════════════════════════════════════════ */
.ldt-popup {
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.85rem; min-width: 200px;
}
.ldt-popup-name {
  font-family: var(--ldt-font-display, 'Playfair Display', Georgia, serif);
  font-weight: 700; font-size: 0.95rem;
  color: var(--ldt-cocoa-brown, #5B4636); margin: 0 0 0.35rem; line-height: 1.2;
}
.ldt-popup-address { margin: 0 0 0.25rem; color: var(--ldt-cocoa-brown, #5B4636); font-size: 0.82rem; line-height: 1.45; }
.ldt-popup-phone { margin: 0 0 0.15rem; }
.ldt-popup-phone a { color: var(--ldt-warm-orange, #B75C19); text-decoration: none; font-weight: 600; font-size: 0.85rem; }
.ldt-popup-phone a:hover { text-decoration: underline; }
.leaflet-popup-content-wrapper {
  border-radius: var(--ldt-radius-md, 0.5rem) !important;
  border: 1.5px solid rgba(212,168,90,0.2) !important;
  box-shadow: 0 8px 28px rgba(91,70,54,0.14) !important;
  padding: 0 !important;
}
.leaflet-popup-content { margin: 1rem 1.15rem !important; }
.leaflet-popup-tip-container { margin-top: -1px; }

/* ═══════════════════════════════════════════════
   POPUP DIRECTIONS LINK
═══════════════════════════════════════════════ */
.ldt-popup-directions {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 0.55rem; padding: 0.4rem 0.85rem;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.78rem; font-weight: 600;
  color: #fff; background: var(--ldt-warm-orange, #B75C19);
  border-radius: var(--ldt-radius-pill, 40px);
  text-decoration: none; transition: background 0.15s ease;
}
.ldt-popup-directions:hover {
  background: var(--ldt-warm-orange-hover, #9A4E15); color: #fff;
}
.ldt-popup-directions:focus-visible {
  outline: 2px solid var(--ldt-cocoa-brown, #5B4636);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════
   GEOLOCATION BUTTON — 48px mobile, 44px desktop
═══════════════════════════════════════════════ */
.ldt-sf-geo-btn {
  white-space: nowrap; flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  min-height: 48px;
  font-size: 0.88rem; font-weight: 600;
  gap: 0.4rem;
  display: inline-flex; align-items: center;
  background: var(--ldt-warm-orange, #B75C19);
  color: #fff; border: none; cursor: pointer;
  border-radius: var(--ldt-radius-pill, 40px);
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  box-shadow: 0 2px 8px rgba(242,122,33,0.22);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
@media (min-width: 600px) {
  .ldt-sf-geo-btn {
    padding: 0.5rem 1rem;
    min-height: 44px;
    font-size: 0.82rem;
  }
}
.ldt-sf-geo-btn:hover {
  background: var(--ldt-warm-orange-hover, #9A4E15);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(242,122,33,0.34);
}
.ldt-sf-geo-btn:focus-visible {
  outline: 2px solid var(--ldt-cocoa-brown, #5B4636);
  outline-offset: 2px;
}
.ldt-sf-geo-btn:disabled {
  opacity: 0.7; cursor: wait; transform: none;
}

/* Spin animation for geolocation loading */
@keyframes ldt-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.ldt-spin { display: inline-block; animation: ldt-spin 0.8s linear infinite; }

/* ═══════════════════════════════════════════════
   DISTANCE BADGE
═══════════════════════════════════════════════ */
.ldt-sf-card-distance {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ldt-warm-orange, #B75C19);
  background: rgba(242,122,33,0.1);
  border-radius: var(--ldt-radius-pill, 40px);
  padding: 0.15rem 0.6rem;
}

/* ═══════════════════════════════════════════════
   OPENING HOURS STATUS
═══════════════════════════════════════════════ */
.ldt-sf-card-hours {
  display: flex; align-items: center; gap: 0.35rem;
  font-family: var(--ldt-font-body, 'Inter', -apple-system, sans-serif);
  font-size: 0.8rem;
  color: var(--ldt-cocoa-brown, #5B4636);
  margin-bottom: 0.7rem;
}
.ldt-sf-card-hours .bi { color: var(--ldt-desert-gold, #D4A85A); font-size: 0.82rem; }
/* Open green: #1a7a3a on white = 5.9:1 */
.ldt-status-open { color: #1a7a3a; font-weight: 600; }
/* Closed red: #a33b39 on white = 5.1:1 */
.ldt-status-closed { color: #a33b39; font-weight: 600; }

/* ═══════════════════════════════════════════════
   WCAG: REDUCED MOTION
═══════════════════════════════════════════════ */

/* Screen reader only text */
.ldt-sf-wrapper .ldt-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;
}

@media (prefers-reduced-motion: reduce) {
  .ldt-sf-card,
  .ldt-sf-card::before,
  .ldt-sf-card-badge,
  .ldt-sf-card-name .bi,
  .ldt-sf-filter-btn,
  .ldt-sf-card-actions .ldt-btn,
  .ldt-sf-card-actions a.ldt-btn,
  .ldt-sf-geo-btn,
  .ldt-sf-map-wrap,
  .ldt-sf-search-wrap .ldt-search-input,
  .ldt-sf-search-clear,
  .ldt-sf-tab,
  .ldt-popup-directions {
    transition: none !important;
    animation: none !important;
  }
  .ldt-sf-card:hover,
  .ldt-sf-card-actions .ldt-btn-primary:hover,
  .ldt-sf-card-actions .ldt-btn-secondary:hover,
  .ldt-sf-geo-btn:hover { transform: none !important; }
  .ldt-spin { animation: none !important; }
  .ldt-sf-no-results { animation: none; }
}
