
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    font-family: 'Work Sans', sans-serif;
    height: 100%;
    background: #f7f5f0;
    color: #1a1a1a;
  }

  /* ── LAYOUT ── */
  #app { display: flex; flex-direction: column; height: 100vh; }

  /* ── HERO ── */
  #hero {
    background: #1A2643;
    color: #fff;
    padding: 2rem 2.5rem 1.6rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px,
      transparent 1px, transparent 64px
    );
    pointer-events: none;
  }
  #hero::after {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,110,.12) 0%, transparent 70%);
    pointer-events: none;
  }
  #hero-label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #00CFCA;
    margin-bottom: .5rem;
  }
  #hero h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: .4rem;
  }
  #hero h1 em { font-style: normal; color: #00CFCA; }
  #hero-sub {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
    font-weight: 400;
    margin-bottom: 1.4rem;
  }

  /* ── SEARCH BAR ── */
  #search-bar { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 2; }
  #search-wrap { flex: 1; min-width: 200px; position: relative; }
  #search-wrap svg {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; stroke: rgba(255,255,255,.4); fill: none;
    stroke-width: 2; stroke-linecap: round; pointer-events: none;
  }
  #search-input {
    width: 100%;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: .6rem 1rem .6rem 2.4rem;
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: .85rem;
    outline: none;
    transition: border .2s, background .2s;
  }
  #search-input::placeholder { color: rgba(255,255,255,.3); }
  #search-input:focus { border-color: #c8a96e; background: rgba(255,255,255,.13); }
  #geo-btn {
    background: #00CFCA;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: .6rem 1.2rem;
    font-family: 'Work Sans', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
    letter-spacing: .01em;
  }
  #geo-btn:hover { opacity: .9; transform: translateY(-1px); }
  #geo-btn:active { transform: scale(.97); opacity: .8; }
  #geo-btn svg { width: 14px; height: 14px; stroke: #1a1a1a; fill: none; stroke-width: 2.5; stroke-linecap: round; }

  /* ── PROVINCE FILTERS ── */
  #filters {
    display: flex;
    gap: 6px;
    padding: .8rem 2.5rem;
    background: #fff;
    border-bottom: 1px solid #e8e4dc;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
  }
  #filters::-webkit-scrollbar { display: none; }
  .fchip {
    background: #f7f5f0;
    border: 1px solid #e0dbd0;
    border-radius: 20px;
    padding: .32rem .95rem;
    font-family: 'Work Sans', sans-serif;
    font-size: .72rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    user-select: none;
  }
  .fchip:hover { border-color: #00CFCA; color: #00CFCA; background: #fdf9f3; }
  .fchip.active { background: #1A2643; color: #fff; border-color: #1A2643; }

  /* ── BODY ── */
  #body { display: flex; flex: 1; overflow: hidden; }

  /* ── SIDEBAR ── */
  #sidebar {
    width: 300px;
    min-width: 300px;
    background: #fff;
    border-right: 1px solid #e8e4dc;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #sidebar-header {
    padding: .8rem 1.2rem;
    background: #f7f5f0;
    border-bottom: 1px solid #e8e4dc;
    font-size: .68rem;
    font-weight: 700;
    color: #999;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
  }
  #count {
    background: #1A2643;
    color: #fff;
    border-radius: 10px;
    padding: 2px 9px;
    font-size: .68rem;
    letter-spacing: .04em;
  }
  #store-list { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #e0dbd0 transparent; }
  #store-list::-webkit-scrollbar { width: 4px; }
  #store-list::-webkit-scrollbar-thumb { background: #e0dbd0; border-radius: 4px; }

  .store-card {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #f0ede6;
    cursor: pointer;
    transition: background .18s, border-left .18s;
    border-left: 3px solid transparent;
    position: relative;
  }
  .store-card:hover { background: #faf8f5; border-left-color: #00CFCA; }
  .store-card.active { background: #fdf9f3; border-left-color: #c8a96e; }
  .store-card h3 { font-size: .82rem; font-weight: 600; color: #1A2643; margin-bottom: .25rem; line-height: 1.35; }
  .store-card .addr { font-size: .72rem; color: #999; line-height: 1.45; margin-bottom: .5rem; }
  .store-card .tags { display: flex; gap: 5px; flex-wrap: wrap; }
  .tag {
    display: inline-block;
    background: #f0ede6;
    color: #888;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .03em;
  }
  .tag.dist { background: #fff8ee; color: #b8942a; }
  .tag.prov { background: #f0ede6; color: #888; }
  .no-results {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #bbb;
    font-size: .8rem;
    line-height: 1.7;
  }
  .no-results strong { display: block; font-size: 1.5rem; margin-bottom: .5rem; }

  /* ── MAP ── */
  #map { flex: 1; z-index: 1; }
  #map .leaflet-control-attribution { font-size:10px; line-height:1.5; color:#555; background:rgba(255,255,255,.94); padding:2px 6px; border-radius:4px 0 0 0; }
  #map .leaflet-control-attribution a { color:#555; text-decoration:underline; }

  /* ── LEAFLET OVERRIDES ── */
  .leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.18) !important;
    border: 1px solid #e8e4dc;
    font-family: 'Work Sans', sans-serif !important;
  }
  .leaflet-popup-content { margin: 0 !important; width: 250px !important; }
  .leaflet-popup-tip-container { display: none; }
  .leaflet-popup-close-button {
    color: #aaa !important;
    font-size: 18px !important;
    top: 10px !important;
    right: 12px !important;
    font-weight: 300 !important;
    z-index: 10;
  }
  .leaflet-popup-close-button:hover { color: #1a1a1a !important; }
  .leaflet-control-zoom a {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 500 !important;
  }

  .popup-inner { padding: 1.1rem 1.2rem 1rem; }
  .popup-prov {
    font-size: .65rem;
    font-weight: 700;
    color: #c8a96e;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .35rem;
  }
  .popup-inner h3 { font-size: .9rem; font-weight: 700; color: #1A2643; margin-bottom: .3rem; line-height: 1.3; }
  .popup-inner p { font-size: .75rem; color: #888; line-height: 1.5; margin-bottom: .8rem; }
  .popup-btn {
    display: inline-block;
    background: #1A2643;
    color: #fff !important;
    border-radius: 7px;
    padding: .4rem .9rem;
    font-size: .73rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
    letter-spacing: .01em;
  }
  .popup-btn:hover { background: #c8a96e; color: #1a1a1a !important; }

  /* ── RESPONSIVE ── */
  @media (max-width: 700px) {
    #body { flex-direction: column; }
    #sidebar { width: 100%; min-width: 0; height: 240px; border-right: none; border-bottom: 1px solid #e8e4dc; }
    #hero h1 { font-size: 1.5rem; }
    #filters { padding: .7rem 1rem; }
    #hero { padding: 1.4rem 1.2rem 1.2rem; }
  }

html, body { min-width: 280px; }
#app { min-height: 680px; }
#body { min-height: 0; }
#map { min-width: 0; min-height: 280px; }
#map-status { background:#f7f5f0; color:#555; padding:.55rem 1.2rem; font-size:.74rem; line-height:1.5; flex-shrink:0; }
#map-status:empty { display:none; }
#map-status a { color:#1A2643; text-decoration:underline; }
.store-card { width:100%; text-align:left; background:#fff; font-family:inherit; border-top:0; border-right:0; border-radius:0; line-height:1.4; }
.store-card:focus-visible, .fchip:focus-visible, #geo-btn:focus-visible { outline:3px solid #00CFCA; outline-offset:-3px; }
.store-card .store-name { display:block; font-size:.82rem; font-weight:600; color:#1A2643; margin-bottom:.25rem; line-height:1.35; }
.store-card .addr, .store-card .tags { display:flex; }
.store-card.pending { cursor:pointer; }
.tag.pending-tag { color:#765a22; background:#fff5dc; }
#geo-btn:disabled { cursor:wait; opacity:.65; }
#filters { min-height:52px; }
#sidebar-header { gap:8px; }
#count { text-transform:none; letter-spacing:0; white-space:nowrap; }
@media (max-width:700px) { #app { min-height:820px; } #sidebar { flex-shrink:0; } #map-status { padding:.5rem 1.2rem; } }

/* Puntos discretos en la vista general; pin destacado al seleccionar. */
.vasser-clean-map { filter:grayscale(1) brightness(1.1) contrast(.83); }
.vasser-dot { display:flex; align-items:center; justify-content:center; }
.vasser-dot span { display:block; width:12px; height:12px; border-radius:50%; background:#1A2643; border:2px solid #fff; box-shadow:0 1px 5px #1a264333; }
.vasser-dot:hover span, .vasser-dot:focus-visible span { background:#007f82; width:16px; height:16px; }
.leaflet-control-layers { border:1px solid #dce2e5 !important; border-radius:10px !important; box-shadow:0 2px 10px #1a264314 !important; }
.leaflet-control-layers-expanded { padding:9px 13px !important; }
.leaflet-control-layers label { display:block; font-family:inherit; font-size:12px; color:#1A2643; line-height:1.8; cursor:pointer; }
.leaflet-control-layers input { accent-color:#007f82; margin-right:5px; }
.store-card.active { background:#edf9f8; border-left-color:#007f82; }
.popup-prov { color:#007f82; }
.popup-btn:hover { background:#007f82; color:#fff !important; }
#search-input:focus { border-color:#00CFCA; }
#hero-sub { color:#ffffffa6; }
.store-card .addr { color:#626b76; }
#store-list { position:relative; }
