/* /sklepy/, layout A "Najbliższy sklep" (templates/stores/list.html). */
.sl{max-width:1280px;margin:0 auto;padding:24px clamp(20px,4vw,48px) 64px}
.sl-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sl-crumb ol{display:flex;gap:0 6px;margin:0 0 10px;padding:0;list-style:none;font-size:13.5px;color:#5B544B}
.sl-crumb li{display:inline-flex;align-items:center;min-height:28px}
.sl-crumb li+li::before{content:"›";margin-right:6px;color:#8A8174}
.sl-crumb a{color:#4A443C;text-decoration:none}
.sl-head h1{font-family:'Schibsted Grotesk',sans-serif;font-size:clamp(28px,4vw,38px);font-weight:700;letter-spacing:-.02em;line-height:1.08;color:#1C1814;margin:0 0 8px}
.sl-head p{margin:0;font-size:16px;line-height:1.55;color:#4A443C;max-width:70ch}

/* Search, location and filters - stick to the top while the list scrolls. */
.sl-tools{position:sticky;top:0;z-index:20;margin:18px 0 0;padding:14px 0 12px;background:#FBF8F3;border-bottom:1px solid #EFE8DD}
.sl-find{display:flex;gap:10px;flex-wrap:wrap}
.sl-search{flex:1 1 280px;min-width:0;min-height:48px;padding:0 16px;border:1.5px solid #D6CBBB;border-radius:14px;background:#fff;font-size:16px;color:#1C1814}
.sl-search:focus{outline:none;border-color:#1C1814}
.sl-geo{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border:0;border-radius:14px;background:#1C1814;color:#FBF6EE;font:600 15px/1 'Hanken Grotesk',sans-serif;cursor:pointer}
.sl-geo:hover{background:#3A352E}
.sl-geo[aria-busy="true"]{opacity:.7}
.sl-chips{display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.sl-chips::-webkit-scrollbar{display:none}
.sl-chip{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 15px;border:1px solid #D6CBBB;border-radius:100px;background:#fff;color:#3A352E;font:600 14px/1 'Hanken Grotesk',sans-serif;cursor:pointer;transition-property:background-color,border-color,color;transition-duration:.15s}
.sl-chip .dot{width:8px;height:8px;border-radius:50%;background:#2E9E5B}
.sl-chip[aria-pressed="true"]{background:#1C1814;border-color:#1C1814;color:#FBF6EE}
.sl-select{flex:none;min-height:40px;padding:0 12px;border:1px solid #D6CBBB;border-radius:100px;background:#fff;color:#3A352E;font:600 14px/1 'Hanken Grotesk',sans-serif}

/* List beside a sticky map on desktop. */
.sl-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:28px;align-items:start;margin-top:16px}
.sl-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.sl-count{margin:0;font-size:15px;font-weight:600;color:#1C1814}
.sl-map-toggle{display:none;min-height:40px;padding:0 16px;border:1.5px solid #1C1814;border-radius:100px;background:none;color:#1C1814;font:600 14px/1 'Hanken Grotesk',sans-serif;cursor:pointer}
.sl-empty{margin:0 0 12px;padding:16px 18px;border-radius:14px;background:#FBF4EC;border:1px dashed #9A520C;color:#3A352E;font-size:15px}
.sl-empty button{margin-left:6px;border:0;background:none;color:#B23A28;font-weight:700;text-decoration:underline;cursor:pointer;font-size:15px}
.sl-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.sl-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #ECE5DB;border-radius:16px;background:#fff;transition-property:border-color,box-shadow;transition-duration:.15s}
.sl-row[hidden]{display:none}
.sl-row.is-hot{border-color:#1C1814;box-shadow:0 8px 22px rgba(28,24,20,.08)}
.sl-results{min-width:0}
.sl-row-main{flex:1;min-width:0;overflow-wrap:anywhere}
.sl-name{font-family:'Schibsted Grotesk',sans-serif;font-weight:600;font-size:17px;line-height:1.2;color:#1C1814;text-decoration:none}
.sl-name:hover{text-decoration:underline}
.sl-dist{margin-left:8px;font-size:13.5px;font-weight:600;color:#9A520C;font-variant-numeric:tabular-nums}
.sl-addr{margin:3px 0 0;font-size:14px;color:#4A443C}
.sl-status{margin:4px 0 0;font-size:13.5px;color:#4A443C}
.sl-status .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#B5AA98;margin-right:6px}
.sl-status .dot.open{background:#2E9E5B}
.sl-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.sl-pill{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:100px}
.sl-new{display:inline-flex;align-items:center;font-size:12px;font-weight:600;padding:3px 9px;border-radius:100px;background:#E3F1E6;color:#276B3B;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sl-actions{display:flex;flex-direction:column;gap:8px;flex:none}
.sl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:112px;padding:0 16px;border-radius:100px;border:1.5px solid #1C1814;color:#1C1814;font-size:14.5px;font-weight:600;text-decoration:none}
.sl-btn:hover{background:#F3ECE0}
.sl-btn.dark{background:#1C1814;color:#FBF6EE}
.sl-btn.dark:hover{background:#3A352E}
.sl-map{position:sticky;top:150px;height:calc(100vh - 180px);min-height:420px;border-radius:20px;overflow:hidden;border:1px solid #E6DECF;background:#EDE6DA;isolation:isolate;z-index:0}

/* Region shortcuts. */
.sl-regions{margin-top:56px}
.sl-regions h2{font-family:'Schibsted Grotesk',sans-serif;font-size:22px;font-weight:600;margin:0 0 14px;color:#1C1814}
.sl-regions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.sl-region{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:16px;background:#F3ECE0;text-decoration:none;color:#1C1814}
.sl-region:hover{background:#EDE3D3}
.sl-region .nm{font-family:'Schibsted Grotesk',sans-serif;font-weight:600;font-size:17px}
.sl-region .ct{font-size:14px;font-weight:600;color:#4A443C}
.sl-region .ci{font-size:13.5px;color:#5B544B;line-height:1.45}
.sl-more{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:18px}
.sl-more a{font-weight:600;color:#B23A28;text-decoration:none}

/* Desktop: the list scrolls inside a window-high panel next to an equally high map, so the
   page itself does not scroll through 50 stores. */
@media (min-width:901px){
  .sl-tools{position:static}
  .sl-layout{height:calc(100vh - 110px);min-height:520px;max-height:900px}
  .sl-results{display:flex;flex-direction:column;height:100%;min-height:0}
  .sl-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:6px;scrollbar-width:thin}
  .sl-map{position:relative;top:auto;height:100%;min-height:0}
}
@media (max-width:900px){
  .sl-layout{grid-template-columns:minmax(0,1fr)}
  .sl-map{display:none;position:relative;top:auto;height:62vh;min-height:320px;order:-1}
  .sl-map.is-open{display:block}
  .sl-map-toggle{display:inline-flex;align-items:center}
}
@media (max-width:640px){
  .sl{padding-top:14px}
  .sl-head p{font-size:15px}
  .sl-geo{flex:1 1 100%}
  .sl-row{flex-direction:column;align-items:stretch;gap:10px}
  .sl-actions{flex-direction:row}
  .sl-btn{flex:1}
}
