:root{
  --brand-blue:#0b1f3f;
  --brand-teal:#00b7a8;
  --brand-teal-dark:#009688;
  --brand-ink:#0f172a;
  --brand-muted:#64748b;
  --bg:#f6f8fb;
  --line:#e4eaf1;
  --shadow:0 26px 70px rgba(15,23,42,.08);
  --shadow-sm:0 14px 34px rgba(15,23,42,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--brand-ink);
  background:
    radial-gradient(circle at 18% 0%,rgba(0,183,168,.13),transparent 420px),
    radial-gradient(circle at 90% 14%,rgba(11,31,63,.08),transparent 340px),
    var(--bg);
}
button,input{font:inherit}
[hidden]{display:none!important}
button{cursor:pointer}
body.is-locked{overflow:hidden}
a{color:inherit}
.container{width:min(1120px,calc(100% - 32px));margin-inline:auto}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.noscript{padding:14px;text-align:center;color:white;background:var(--brand-blue);font-weight:800}
.header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(226,232,240,.9);backdrop-filter:blur(18px)}
.header__inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:inline-flex;align-items:center;text-decoration:none;width:max-content}
.brand img{width:220px;max-height:58px;object-fit:contain;display:block}
.login-link{min-height:44px;border:1px solid var(--line);border-radius:999px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--brand-blue);background:white;box-shadow:0 10px 24px rgba(15,23,42,.06);font-size:14px;font-weight:950;transition:.18s ease}
.login-link:hover{border-color:rgba(0,183,168,.38);transform:translateY(-1px)}
.directory-hero{position:relative;padding:34px 0 42px;border-bottom:1px solid rgba(226,232,240,.72);overflow:hidden}
.directory-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.64),rgba(246,248,251,.94));pointer-events:none}
.directory-hero__inner{position:relative;z-index:1;display:grid;gap:22px}
.directory-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px}
.back-link{min-height:44px;border:1px solid rgba(0,183,168,.18);border-radius:999px;padding:0 16px 0 12px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--brand-blue);background:white;box-shadow:0 14px 34px rgba(15,23,42,.06);font-size:14px;font-weight:950;transition:.18s ease}
.back-link span{width:26px;height:26px;border-radius:999px;display:grid;place-items:center;color:white;background:linear-gradient(135deg,var(--brand-blue),var(--brand-teal-dark));font-size:17px;line-height:1}
.back-link:hover{border-color:rgba(0,183,168,.44);transform:translateX(-2px);box-shadow:0 20px 44px rgba(15,23,42,.09)}
.city-pill{min-height:38px;border-radius:999px;padding:0 15px;display:inline-flex;align-items:center;color:var(--brand-teal-dark);background:rgba(0,183,168,.10);border:1px solid rgba(0,183,168,.18);font-size:13px;font-weight:950;white-space:nowrap}
.directory-copy{display:grid;place-items:center;text-align:center;padding-top:12px}
.directory-copy h1{max-width:980px;margin:0 0 14px;color:var(--brand-blue);font-size:clamp(58px,8vw,104px);line-height:.87;letter-spacing:-.085em;text-wrap:balance}
.directory-copy p{max-width:700px;margin:0;color:var(--brand-muted);font-size:clamp(18px,2.2vw,24px);line-height:1.42;font-weight:800;text-wrap:balance}
.search-panel{width:min(100%,780px);margin:4px auto 0;padding:8px;display:grid;grid-template-columns:1fr auto;gap:8px;border:1px solid rgba(226,232,240,.94);border-radius:999px;background:white;box-shadow:0 28px 74px rgba(15,23,42,.10)}
.search-panel input{min-width:0;min-height:62px;border:0;border-radius:999px;padding:0 22px;color:var(--brand-blue);outline:0;font-size:17px;font-weight:850;background:transparent}
.search-panel input::placeholder{color:#94a3b8}
.search-panel button{min-height:62px;border:0;border-radius:999px;padding:0 30px;color:white;background:linear-gradient(135deg,var(--brand-blue),var(--brand-teal-dark));box-shadow:0 16px 32px rgba(11,31,63,.20);font-weight:950;transition:.18s ease}
.search-panel button:hover{transform:translateY(-1px);filter:brightness(.99)}
.category-strip{width:min(100%,900px);margin:auto;display:flex;justify-content:center;gap:11px;flex-wrap:wrap;min-height:46px}
.category-chip{position:relative;min-height:46px;border:1px solid var(--line);border-radius:999px;padding:0 19px;color:var(--brand-blue);background:white;box-shadow:0 12px 28px rgba(15,23,42,.05);font-size:15px;font-weight:950;transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease}
.category-chip:hover{border-color:rgba(0,183,168,.42);transform:translateY(-2px);box-shadow:0 18px 36px rgba(15,23,42,.08)}
.category-chip.is-active{color:white;background:linear-gradient(135deg,var(--brand-blue),var(--brand-teal-dark));border-color:transparent;box-shadow:0 18px 38px rgba(11,31,63,.16)}
.stores-section{padding:36px 0 30px}
.stores-head{margin-bottom:18px;display:flex;justify-content:space-between;align-items:end;gap:16px}
.stores-head span{color:var(--brand-teal-dark);font-size:13px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}
.stores-head h2{margin:6px 0 0;color:var(--brand-blue);font-size:clamp(32px,4.8vw,56px);line-height:.96;letter-spacing:-.055em}
.stores-head strong{min-height:44px;border:1px solid var(--line);border-radius:999px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;color:var(--brand-blue);background:white;box-shadow:var(--shadow-sm);font-size:14px;font-weight:950;white-space:nowrap}
.stores-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;transition:opacity .16s ease, transform .16s ease}
.stores-grid.is-filtering{opacity:.26;transform:translateY(4px)}
.store-card{border:1px solid var(--line);border-radius:28px;background:white;box-shadow:var(--shadow-sm);overflow:hidden;transition:opacity .26s ease, transform .26s ease, box-shadow .18s ease, border-color .18s ease;opacity:0;transform:translateY(12px);transition-delay:var(--delay,0ms)}
.store-card.is-visible{opacity:1;transform:translateY(0)}
.store-card:hover{border-color:rgba(0,183,168,.42);transform:translateY(-5px);box-shadow:0 26px 56px rgba(15,23,42,.10);transition-delay:0ms}
.store-card__cover{position:relative;min-height:150px;padding:16px;background:radial-gradient(circle at 85% 12%,rgba(0,183,168,.34),transparent 10rem),linear-gradient(135deg,var(--brand-blue),var(--brand-teal));background-size:cover;background-position:center;overflow:hidden}
.store-card__cover::after{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;background:linear-gradient(90deg,var(--brand-blue) 0 74%,var(--brand-teal) 74% 100%)}
.store-card__badges{position:relative;z-index:1;width:100%;display:flex;justify-content:space-between;gap:8px}
.store-card__badges span{min-height:30px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;color:white;background:rgba(255,255,255,.22);backdrop-filter:blur(10px);font-size:12px;font-weight:950;white-space:nowrap}
.store-card__icon{position:absolute;left:18px;bottom:18px;z-index:1;width:76px;height:76px;border-radius:16px;display:flex;align-items:center;justify-content:center;padding:5px;background:white;box-shadow:0 16px 30px rgba(15,23,42,.13);font-size:30px;overflow:hidden}
.store-card__icon img{width:100%;height:100%;object-fit:contain;display:block;border-radius:11px}
.store-card__body{padding:22px 18px 18px}
.store-card h3{margin:0 0 9px;color:var(--brand-ink);font-size:25px;line-height:1;letter-spacing:-.045em}
.store-card p{min-height:45px;margin:0 0 14px;color:#65748a;line-height:1.45;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.store-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}
.store-meta span{min-height:30px;border-radius:999px;padding:0 10px;display:inline-flex;align-items:center;color:#607086;background:#f1f5f9;font-size:12px;font-weight:900}
.store-card__button{width:100%;min-height:50px;border:0;border-radius:999px;color:white;background:linear-gradient(135deg,var(--brand-blue),var(--brand-teal-dark));box-shadow:0 16px 32px rgba(11,31,63,.18);font-weight:950;font-size:16px;transition:.18s ease}
.store-card__button:hover{filter:brightness(.98);transform:translateY(-1px)}
.skeleton{min-height:330px;background:linear-gradient(90deg,rgba(226,232,240,.55),rgba(255,255,255,.95),rgba(226,232,240,.55));background-size:240% 100%;animation:shimmer 1.2s linear infinite;opacity:1;transform:none}
@keyframes shimmer{to{background-position:-240% 0}}
.empty-state{grid-column:1/-1;margin:0;padding:30px;border:1px dashed #cbd5e1;border-radius:24px;color:var(--brand-muted);text-align:center;background:white}
.empty-state strong{display:block;margin-bottom:8px;color:var(--brand-blue);font-size:18px}
.empty-state p{margin:0;font-weight:700}
.footer{padding:40px 0 28px}
.footer__inner{display:flex;justify-content:center;text-align:center;color:var(--brand-muted);font-size:14px;font-weight:800}
.toast{position:fixed;z-index:200;left:50%;bottom:22px;width:min(420px,calc(100% - 28px));transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:14px 16px;border-radius:18px;color:white;background:var(--brand-blue);box-shadow:0 18px 40px rgba(15,23,42,.18);font-weight:850;text-align:center;transition:.18s ease}
.toast.is-visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){
  .stores-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .container{width:min(100% - 24px,1120px)}
  .header__inner{min-height:74px}
  .brand img{width:170px;max-height:48px}
  .login-link{min-height:40px;padding:0 13px;font-size:13px}
  .directory-hero{padding:16px 0 22px}
  .directory-topbar{align-items:flex-start}
  .back-link{min-height:42px;font-size:13px;padding-right:13px}
  .city-pill{font-size:12px;padding:0 12px}
  .directory-copy{padding-top:4px}
  .directory-copy h1{font-size:clamp(40px,11vw,52px);letter-spacing:-.07em;margin-bottom:10px}
  .directory-copy p{font-size:15px;line-height:1.4}
  .search-panel{grid-template-columns:minmax(0,1fr) auto;border-radius:999px;padding:6px;width:100%}
  .search-panel input{min-height:50px;padding:0 15px;text-align:left;font-size:15px}
  .search-panel button{min-height:50px;width:auto;padding:0 18px}
  .category-strip{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:0 4px 8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .category-chip{flex:0 0 auto;scroll-snap-align:start;min-height:44px}
  .stores-section{padding-top:28px}
  .stores-head{display:grid;align-items:start}
  .stores-head strong{width:max-content}
  .stores-grid{grid-template-columns:1fr}
  .store-card__cover{min-height:144px}
}


/* Locales v9: cuenta Comiona sincronizada con sesión global */
.auth-pill{
  flex-direction:column;
  align-items:flex-end;
  gap:1px;
  min-width:132px;
  line-height:1.05;
}
.auth-pill span{display:block}
.auth-pill small{
  display:block;
  max-width:150px;
  color:var(--brand-muted);
  font-size:11px;
  font-weight:850;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.auth-pill small:empty{display:none}
.auth-pill.is-authenticated{
  border-color:rgba(0,183,168,.24);
  background:linear-gradient(135deg,rgba(0,183,168,.09),rgba(255,255,255,.96));
}
.modal{position:fixed;inset:0;z-index:120;pointer-events:none}
.modal.is-open{pointer-events:auto}
.modal__overlay{position:absolute;inset:0;opacity:0;background:rgba(15,23,42,.45);transition:opacity .18s ease}
.modal.is-open .modal__overlay{opacity:1}
.auth-modal{
  position:absolute;
  right:0;
  top:0;
  width:min(100%,480px);
  height:100dvh;
  max-height:100dvh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#f8fafc;
  box-shadow:-28px 0 80px rgba(15,23,42,.18);
  transform:translateX(105%);
  transition:transform .22s ease;
}
.modal.is-open .auth-modal{transform:translateX(0)}
.drawer__head{flex:0 0 auto;padding:20px 20px 14px;display:flex;justify-content:space-between;gap:16px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line)}
.drawer__head span{color:var(--brand-teal-dark);font-size:13px;font-weight:950;text-transform:uppercase}
.drawer__head h2{margin:4px 0 0;color:var(--brand-blue);font-size:clamp(25px,4vw,32px);line-height:1;letter-spacing:-.055em}
.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:14px;color:var(--brand-blue);background:white;font-size:28px;line-height:1}
.auth-body{flex:1;min-height:0;overflow:auto;padding:18px 20px 22px;display:block}
.auth-intro{padding:18px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,rgba(0,183,168,.10),rgba(11,31,63,.04)),white;box-shadow:var(--shadow-sm)}
.auth-intro strong{display:block;color:var(--brand-blue);font-size:18px;line-height:1.15;letter-spacing:-.03em}
.auth-intro p{margin:8px 0 0;color:var(--brand-muted);font-weight:750;line-height:1.45}
.auth-form{display:grid;gap:12px;margin-top:14px}
.auth-form label{display:grid;gap:7px;color:var(--brand-blue);font-size:14px;font-weight:950}
.auth-form label small{color:var(--brand-muted);font-weight:850}
.auth-form input{width:100%;min-height:54px;border:1px solid #dbe5ef;border-radius:18px;padding:0 14px;background:white;color:var(--brand-blue);font-size:15px;font-weight:800;outline:0;box-shadow:0 10px 24px rgba(15,23,42,.035)}
.auth-form input:focus{border-color:rgba(0,183,168,.48);box-shadow:0 0 0 4px rgba(0,183,168,.10)}
.auth-logout{width:100%;min-height:52px;margin-top:16px;border:1px solid #fecaca;border-radius:999px;background:#fff5f5;color:#b42318;font-weight:950;font-size:15px}
.btn{min-height:54px;border:1px solid transparent;border-radius:999px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:950;letter-spacing:-.025em;transition:.18s ease}
.btn:hover{transform:translateY(-2px) scale(1.01)}
.btn:disabled{opacity:.68;cursor:not-allowed;transform:none}
.btn--primary{position:relative;color:white;background:linear-gradient(135deg,var(--brand-blue),var(--brand-teal-dark));border-color:rgba(11,31,63,.12);box-shadow:0 20px 42px rgba(11,31,63,.18),inset 0 -2px 0 rgba(15,23,42,.10)}
.btn--primary::after{content:"→";margin-left:10px;font-weight:900}
.btn--full{width:100%}
.order-result{display:grid;gap:8px;margin-top:10px}
.order-result:empty{display:none}
.result{padding:12px 14px;border-radius:16px;font-size:13px;font-weight:850;line-height:1.35}
.result--ok{color:#087443;background:rgba(8,116,67,.10)}
.result--error{color:#b42318;background:rgba(180,35,24,.10)}
@media(max-width:720px){
  .auth-pill{min-width:auto;max-width:154px;padding:0 12px;align-items:flex-end}
  .auth-pill small{display:none}
  .auth-modal{width:100%;box-shadow:none}
  .auth-body{padding:16px}
}


/* Locales v10: fix sesión igual que /local */
.auth-form[hidden], .auth-logout[hidden]{display:none!important}
.auth-modal .auth-body{align-content:start}
.toast{background:linear-gradient(135deg,var(--brand-blue),var(--brand-teal-dark));box-shadow:0 22px 56px rgba(11,31,63,.24)}



/* Locales v13: estado visible sin filtros duplicados */
.store-card--paused,
.store-card--closed,
.store-card--unavailable{
  border-color:rgba(15,23,42,.10);
}

.store-card--paused .store-card__cover{
  background:
    radial-gradient(circle at 85% 12%,rgba(217,119,6,.28),transparent 10rem),
    linear-gradient(135deg,#0b1f3f,#d97706);
}

.store-card--closed .store-card__cover,
.store-card--unavailable .store-card__cover{
  background:
    radial-gradient(circle at 85% 12%,rgba(100,116,139,.30),transparent 10rem),
    linear-gradient(135deg,#0b1f3f,#64748b);
}

.store-card__badges{
  align-items:flex-start;
}

.store-card__badges .store-status-badge{
  max-width:150px;
  justify-content:center;
  color:var(--brand-blue)!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(255,255,255,.76);
  box-shadow:0 12px 26px rgba(15,23,42,.14);
  text-align:center;
  overflow:hidden;
  text-overflow:ellipsis;
}

.store-card__badges .store-status-badge--active{
  color:#047857!important;
  background:#ecfdf5!important;
  border-color:rgba(16,185,129,.22);
}

.store-card__badges .store-status-badge--paused{
  color:#92400e!important;
  background:#fffbeb!important;
  border-color:rgba(217,119,6,.22);
}

.store-card__badges .store-status-badge--closed,
.store-card__badges .store-status-badge--unavailable{
  color:#475569!important;
  background:#f8fafc!important;
  border-color:rgba(100,116,139,.20);
}

.store-meta__status--active{
  color:#047857!important;
  background:#ecfdf5!important;
}

.store-meta__status--paused{
  color:#92400e!important;
  background:#fffbeb!important;
}

.store-meta__status--closed,
.store-meta__status--unavailable{
  color:#475569!important;
  background:#f1f5f9!important;
}

.store-status-note{
  margin:-2px 0 14px;
  padding:12px 13px;
  display:grid;
  gap:4px;
  border-radius:18px;
  font-size:13px;
  line-height:1.35;
}

.store-status-note strong{
  display:block;
  font-weight:950;
}

.store-status-note span{
  display:block;
  font-weight:800;
}

.store-status-note--paused{
  color:#92400e;
  background:#fffbeb;
  border:1px solid rgba(217,119,6,.18);
}

.store-status-note--closed,
.store-status-note--unavailable{
  color:#475569;
  background:#f8fafc;
  border:1px solid rgba(100,116,139,.16);
}

.store-card--paused .store-card__button,
.store-card--closed .store-card__button,
.store-card--unavailable .store-card__button{
  color:var(--brand-blue);
  background:white;
  border:1px solid rgba(11,31,63,.12);
  box-shadow:0 12px 26px rgba(15,23,42,.07);
}

.store-card--paused .store-card__button:hover,
.store-card--closed .store-card__button:hover,
.store-card--unavailable .store-card__button:hover{
  border-color:rgba(0,183,168,.34);
}

@media(max-width:720px){
  .store-card__badges .store-status-badge{
    max-width:132px;
  }
}



/* Locales v14: detalles finos */
.auth-pill{
  text-align:right;
}

.auth-pill span{
  max-width:190px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.store-status-note span{
  color:inherit;
}

.store-card__badges span:first-child{
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media(max-width:720px){
  .auth-pill span{
    max-width:124px;
  }

  .store-status-note{
    padding:11px 12px;
  }
}

/* Locales v19: conservar encuadre de las portadas en locales cerrados o pausados */
.store-card--paused .store-card__cover,
.store-card--closed .store-card__cover,
.store-card--unavailable .store-card__cover{
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}


/* Locales v20: accesibilidad y movimiento reducido */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* Locales v21: categorías claras, estados directos y tarjetas compactas */
.directory-hero{padding:28px 0 34px}
.directory-hero__inner{gap:18px}
.directory-copy{padding-top:6px}
.directory-copy h1{font-size:clamp(48px,6vw,74px);line-height:.94;letter-spacing:-.07em;margin-bottom:10px}
.directory-copy p{font-size:clamp(16px,1.6vw,19px);line-height:1.42}
.search-panel{width:min(100%,740px);grid-template-columns:minmax(0,1fr) auto auto;padding:7px}
.search-panel input{min-height:54px;font-size:16px}
.search-panel button{min-height:54px}
.search-clear{width:42px;padding:0!important;border:0!important;color:#64748b!important;background:#f1f5f9!important;box-shadow:none!important;font-size:24px!important;line-height:1}
.search-clear:hover{color:var(--brand-blue)!important;background:#e8eef5!important;transform:none!important}
.category-strip{width:min(100%,760px);gap:9px}
.category-chip{min-height:42px;padding:0 17px;font-size:14px}
.stores-grid{align-items:stretch}
.store-card{display:flex;flex-direction:column;height:100%;cursor:pointer;touch-action:manipulation}
.store-card__body{display:flex;flex:1;flex-direction:column}
.store-card__badges span:first-child{max-width:48%;overflow:visible;text-overflow:clip}
.store-card__button{margin-top:auto}
.store-status-note{margin:-2px 0 12px;padding:10px 12px;display:block}
.store-status-note span{font-size:12px;line-height:1.35}
.store-card:focus-visible,
.login-link:focus-visible,
.back-link:focus-visible,
.search-panel input:focus-visible,
.search-panel button:focus-visible,
.category-chip:focus-visible,
.store-card__button:focus-visible,
.icon-btn:focus-visible,
.auth-form input:focus-visible,
.auth-logout:focus-visible,
.btn:focus-visible{
  outline:3px solid rgba(0,183,168,.34);
  outline-offset:3px;
}
.store-card:focus-visible{border-color:rgba(0,183,168,.58);box-shadow:0 24px 54px rgba(15,23,42,.11)}

@media(max-width:720px){
  .directory-hero{padding:14px 0 20px}
  .directory-hero__inner{gap:14px}
  .directory-copy h1{font-size:clamp(36px,10vw,46px);line-height:.98;margin-bottom:8px}
  .directory-copy p{font-size:14px}
  .search-panel{grid-template-columns:minmax(0,1fr) 40px auto;padding:5px;gap:5px}
  .search-panel input{min-height:48px;padding:0 12px;font-size:14px}
  .search-panel button{min-height:48px}
  .search-clear{width:40px}
  .search-submit{padding:0 15px!important;font-size:14px}
  .category-strip{gap:8px;padding-bottom:6px;scrollbar-width:none}
  .category-strip::-webkit-scrollbar{display:none}
  .category-chip{min-height:40px;padding:0 15px;font-size:13px}
  .stores-section{padding-top:24px}
  .stores-head{gap:8px;margin-bottom:14px}
  .stores-head h2{font-size:34px;line-height:1}
  .stores-head strong{min-height:38px;padding:0 14px;font-size:13px}
  .stores-grid{gap:14px}
  .store-card{border-radius:22px}
  .store-card:hover{transform:none}
  .store-card__cover{min-height:126px;padding:13px}
  .store-card__badges span{min-height:28px;padding:0 10px;font-size:11px}
  .store-card__badges .store-status-badge{max-width:126px}
  .store-card__icon{left:15px;bottom:15px;width:64px;height:64px;border-radius:14px}
  .store-card__body{padding:17px 16px 16px}
  .store-card h3{margin-bottom:7px;font-size:22px}
  .store-card p{min-height:40px;margin-bottom:11px;font-size:14px;line-height:1.42}
  .store-meta{gap:6px;margin-bottom:12px}
  .store-meta span{min-height:28px;padding:0 9px;font-size:11px}
  .store-card__button{min-height:47px;font-size:15px}
}

/* Locales v22: buscador estable en escritorio y móvil */
.search-panel{
  display:flex;
  align-items:stretch;
}
.search-panel input{
  flex:1 1 auto;
  width:0;
}
.search-clear{
  flex:0 0 42px;
}
.search-submit{
  flex:0 0 auto;
  white-space:nowrap;
}

@media(max-width:720px){
  .search-clear{flex-basis:40px}
}

/* Locales v24: filtros principales, búsqueda suave y tarjetas móviles compactas */
.stores-grid.is-filtering{
  opacity:.68;
  transform:none;
  pointer-events:none;
}

.store-card__mobile-line{display:none}

.empty-state__button{
  min-height:46px;
  margin-top:18px;
  border:0;
  border-radius:999px;
  padding:0 20px;
  color:white;
  background:linear-gradient(135deg,var(--brand-blue),var(--brand-teal-dark));
  box-shadow:0 14px 30px rgba(11,31,63,.16);
  font-weight:950;
}

.footer__inner{
  justify-content:space-between;
  align-items:center;
  gap:18px;
  text-align:left;
}

.footer__links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
}

.footer__links a{
  color:var(--brand-blue);
  text-decoration:none;
  font-weight:900;
}

.footer__links a:hover{text-decoration:underline}

@media(max-width:720px){
  .directory-topbar{align-items:center}
  .back-link strong{display:none}
  .back-link{width:42px;padding:0;justify-content:center}
  .back-link span{width:28px;height:28px}

  .category-strip{
    width:100%;
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    padding:0 1px 7px;
    scroll-padding-inline:1px;
    overscroll-behavior-inline:contain;
  }

  .stores-grid{gap:12px}

  .store-card{
    min-height:148px;
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    border-radius:21px;
  }

  .store-card__cover{
    min-height:100%;
    height:100%;
    padding:0;
    border-radius:20px 0 0 20px;
    background-position:center;
  }

  .store-card__cover::after{
    top:0;
    right:0;
    bottom:0;
    left:auto;
    width:5px;
    height:auto;
    background:linear-gradient(180deg,var(--brand-blue) 0 72%,var(--brand-teal) 72% 100%);
  }

  .store-card__badges{display:none}

  .store-card__icon{
    left:50%;
    top:50%;
    bottom:auto;
    width:66px;
    height:66px;
    border-radius:15px;
    transform:translate(-50%,-50%);
  }

  .store-card__body{
    min-width:0;
    padding:13px 14px 12px;
  }

  .store-card__mobile-line{
    margin-bottom:7px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
  }

  .store-card__mobile-line > span{
    min-width:0;
    color:var(--brand-muted);
    font-size:10px;
    font-weight:900;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .store-card__mobile-status{
    flex:0 0 auto;
    border-radius:999px;
    padding:4px 7px;
    font-size:9px;
    line-height:1;
    font-weight:950;
    white-space:nowrap;
  }

  .store-card__mobile-status--active{color:#047857;background:#ecfdf5}
  .store-card__mobile-status--paused{color:#92400e;background:#fffbeb}
  .store-card__mobile-status--closed,
  .store-card__mobile-status--unavailable{color:#475569;background:#f1f5f9}

  .store-card h3{
    margin:0 0 5px;
    font-size:19px;
    line-height:1.08;
    letter-spacing:-.035em;
  }

  .store-card p{
    min-height:0;
    margin:0 0 8px;
    font-size:12px;
    line-height:1.35;
    -webkit-line-clamp:1;
  }

  .store-status-note{
    margin:0 0 8px;
    padding:8px 9px;
    border-radius:12px;
  }

  .store-status-note span{
    font-size:10px;
    line-height:1.3;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }

  .store-meta{
    margin:0;
    gap:5px;
  }

  .store-meta span{
    min-height:24px;
    max-width:100%;
    padding:0 7px;
    font-size:9.5px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .store-card__button{
    width:max-content;
    min-height:30px;
    margin-top:7px;
    padding:0;
    color:var(--brand-teal-dark)!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    font-size:12px;
    text-align:left;
  }

  .store-card__button::after{content:" →"}
  .store-card__button:hover{transform:none}

  .footer{padding:30px 0 24px}
  .footer__inner{
    flex-direction:column;
    align-items:center;
    gap:12px;
    text-align:center;
  }
  .footer__links{justify-content:center;gap:16px}
}

@media(max-width:390px){
  .store-card{grid-template-columns:94px minmax(0,1fr)}
  .store-card__icon{width:58px;height:58px}
  .store-card__body{padding:12px 12px 11px}
  .store-card h3{font-size:18px}
  .store-meta span:nth-child(2){display:none}
}
