/* Store Locator for LINE — front end. All colors/sizes come from CSS variables set in Settings → Appearance. */
.sll {
  --sll-accent: #06c755;
  --sll-accent-ink: #ffffff;
  --sll-ink: #111827;
  --sll-text2: #374151;
  --sll-muted: #6b7280;
  --sll-soft: #f6f7f9;
  --sll-card: #ffffff;
  --sll-line: #e5e7eb;
  --sll-radius: 16px;
  --sll-h: 640px;
  --sll-map-h: 300px;
  box-sizing: border-box;
  display: grid;
  grid-template-areas: "top" "controls" "map" "panel";
  grid-template-columns: minmax(0, 1fr);
  color: var(--sll-ink);
  font-size: 15px;
  line-height: 1.5;
  font-family: var(--sll-font, inherit);
  background: var(--sll-card);
  border: 1px solid var(--sll-line);
  border-radius: var(--sll-radius);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.sll *, .sll *::before, .sll *::after { box-sizing: border-box; }
.sll-top svg, .sll-controls svg, .sll-panel svg, .sll-modal svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sll button, .sll select, .sll input { font-family: inherit; }
.sll button { font-size: inherit; color: inherit; cursor: pointer; margin: 0; }
.sll h1 { margin: 0; }
.sll-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sll-controls, .sll-panel, .sll-map { min-width: 0; }

/* ---------- Header (app mode) ---------- */
.sll-top { grid-area: top; display: flex; align-items: center; gap: 10px; padding: 14px 16px 4px; background: var(--sll-card); }
.sll .sll-title { margin: 0; padding: 0; border: 0; line-height: 1.3; font-family: inherit; text-transform: none; }
.sll-top h1, .sll .sll-top .sll-title { font-size: 19px; font-weight: 700; letter-spacing: .01em; color: var(--sll-ink); }
.sll-top-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: calc(var(--sll-radius) * .6); background: var(--sll-accent); color: var(--sll-accent-ink); }
.sll-logo, .sll img.sll-logo { display: block; height: 34px !important; width: auto !important; max-width: 140px !important; max-height: 34px !important; margin: 0 !important; object-fit: contain; } /* !important: page builders (e.g. Elementor) size all images */
.sll--line-nohead .sll-top, .sll--hide-header .sll-top { display: none; }

/* ---------- Search + filters ---------- */
.sll-controls { grid-area: controls; padding: 12px 12px 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; background: var(--sll-card); }

.sll-findrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.sll-select { position: relative; display: block; margin: 0; }
.sll-select select {
  width: 100%; height: 46px; margin: 0; padding: 0 34px 0 14px;
  font-size: 16px; color: var(--sll-ink); background: var(--sll-soft) !important; background-image: none !important;
  border: 1px solid transparent; border-radius: max(0px, calc(var(--sll-radius) - 4px)); box-shadow: none;
  -webkit-appearance: none; appearance: none; cursor: pointer; outline: none; text-overflow: ellipsis;
  transition: border-color .15s, box-shadow .15s;
}
.sll-select select:focus { border-color: var(--sll-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sll-accent) 18%, transparent); }
.sll-select select:disabled { cursor: default; color: var(--sll-muted); }
.sll-select > svg { position: absolute; right: 11px; top: 50%; margin-top: -9px; pointer-events: none; color: var(--sll-muted); }

.sll-searchbar {
  display: flex; align-items: center; gap: 6px; margin: 0;
  background: var(--sll-soft); border: 1px solid transparent; border-radius: max(0px, calc(var(--sll-radius) - 2px)); padding: 4px 4px 4px 12px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.sll-searchbar--sub { padding: 2px 4px 2px 12px; }
.sll-searchbar:focus-within { background: var(--sll-card); border-color: var(--sll-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sll-accent) 15%, transparent); }
.sll-ico { color: var(--sll-muted); display: flex; }
.sll-searchbar input {
  flex: 1; min-width: 0; height: 40px; border: 0 !important; background: transparent !important; box-shadow: none !important;
  font-size: 16px; color: var(--sll-ink); padding: 0 !important; outline: none; -webkit-appearance: none; appearance: none;
}
.sll-searchbar input::placeholder { color: var(--sll-muted); opacity: 1; }
.sll-searchbar input::-webkit-search-cancel-button { -webkit-appearance: none; }

.sll-locate {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px;
  border: 0; border-radius: max(0px, calc(var(--sll-radius) - 5px)); background: var(--sll-accent); color: var(--sll-accent-ink) !important;
  font-weight: 600; font-size: 14px; white-space: nowrap; transition: filter .15s, transform .1s;
}
.sll-locate--icon { width: 46px; height: 46px; padding: 0; }
.sll-locate--icon span { display: none; }
.sll-locate--icon svg { width: 22px; height: 22px; }
.sll-locate:hover { filter: brightness(1.06); }
.sll-locate:active { transform: scale(.96); }
.sll-locate.is-busy svg { animation: sll-spin 1s linear infinite; }

.sll-chiprow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.sll-chiprow::-webkit-scrollbar { display: none; }
.sll-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 1px solid var(--sll-line); border-radius: calc(var(--sll-radius) * 2); background: var(--sll-card); color: var(--sll-ink) !important;
  font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.sll-chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sll-chip:hover { border-color: var(--sll-muted); }
.sll-chip.is-on { background: var(--sll-ink); border-color: var(--sll-ink); color: var(--sll-card) !important; }
.sll-chip.is-on i { box-shadow: 0 0 0 2px var(--sll-card); }
.sll--hide-ftypes .sll-typedd, .sll--hide-ftypes [data-group="channels"], .sll--hide-fproducts [data-group="products"] { display: none; }

/* ---------- Map ---------- */
.sll-map { grid-area: map; position: relative; height: var(--sll-map-h); background: var(--sll-soft); z-index: 0; }
.sll-map-el { position: absolute; inset: 0; }
/* 1.20.1 map placeholder: in the map grid area before the app renders, then inside .sll-map above the tiles until they load.
   1.20.2: once moved it must not be larger than its first paint (2px bottom inset), or Chrome counts a new, later LCP. */
.sll > .sll-ph { grid-area: map; position: relative; height: var(--sll-map-h); overflow: hidden; background: var(--sll-soft); }
.sll-map > .sll-ph { position: absolute; inset: 0 0 2px 0; z-index: 450; overflow: hidden; pointer-events: none; transition: opacity .45s ease; }
.sll-ph.is-off { opacity: 0; }
.sll .sll-ph img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; object-fit: cover; object-position: center; } /* !important: page builders size all images */
.sll .leaflet-container { font-family: inherit; background: var(--sll-soft); }
.sll .leaflet-control-zoom a { width: 34px; height: 34px; line-height: 34px; color: var(--sll-ink); background: var(--sll-card); border-color: var(--sll-line); }
.sll .leaflet-bar { border: 0; border-radius: max(4px, calc(var(--sll-radius) - 4px)); overflow: hidden; box-shadow: 0 2px 10px rgba(15,23,42,.15); }
.sll .leaflet-control-attribution { font-size: 10px; }

.sll-pin-wrap, .sll-me-wrap { background: none; border: 0; }
.sll-pin {
  position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 0;
  background: var(--c); transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(15,23,42,.3); border: 2px solid #fff;
  transition: transform .15s;
}
.sll-pin b { transform: rotate(45deg); color: #fff; font-size: 13px; font-weight: 700; }
.sll-pin-wrap.is-active .sll-pin { transform: rotate(-45deg) scale(1.25); }
.sll--pins-accent .sll-pin, .sll--pins-accent .sll-num { background: var(--sll-accent); }
.sll--pins-accent .sll-pin b, .sll--pins-accent .sll-num { color: var(--sll-accent-ink); }
.sll--pins-accent .sll-card { --c: var(--sll-accent) !important; }
.sll-me { display: block; width: 22px; height: 22px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(37,99,235,.5), 0 1px 4px rgba(0,0,0,.3); animation: sll-pulse 2s infinite; }

/* ---------- Results ---------- */
.sll-panel { grid-area: panel; background: var(--sll-soft); padding: 4px 12px 16px; }
.sll-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 40px; padding: 10px 2px 6px; font-size: 14px; color: var(--sll-muted); }
.sll-near { width: 100%; font-weight: 600; color: var(--sll-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sll-msg.is-info { color: #92400e; background: #fef3c7; padding: 4px 10px; border-radius: max(0px, calc(var(--sll-radius) / 2)); }
.sll-msg.is-warn { color: #dc2626; }
.sll-spinner { width: 14px; height: 14px; border: 2px solid var(--sll-line); border-top-color: var(--sll-accent); border-radius: 50%; animation: sll-spin .8s linear infinite; }

.sll-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sll-card {
  margin: 0; background: var(--sll-card); border: 1px solid var(--sll-line); border-radius: max(0px, calc(var(--sll-radius) - 2px)); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.sll-card.is-active { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.sll-card-main {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 14px 10px;
  text-align: left; background: none !important; border: 0; border-radius: 0; color: var(--sll-ink) !important;
}
.sll-num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: max(0px, calc(var(--sll-radius) / 2)); background: var(--c); color: #fff; font-size: 13px; font-weight: 700; }
.sll-card-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.sll-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--sll-muted); letter-spacing: .02em; }
.sll-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.sll-name { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--sll-ink); }
.sll-addr { font-size: 14px; color: var(--sll-text2); }
.sll-hours { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--sll-muted); }
.sll-hours svg { width: 14px; height: 14px; }
.sll-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.sll-tag { font-size: 12px; padding: 2px 8px; border-radius: max(0px, calc(var(--sll-radius) * .4)); background: var(--sll-soft); color: var(--sll-text2); }
.sll-tag.is-on { background: color-mix(in srgb, var(--sll-accent) 14%, var(--sll-card)); color: var(--sll-ink); font-weight: 600; }
.sll-dist { flex: none; font-size: 14px; font-weight: 700; color: var(--sll-ink); white-space: nowrap; padding-top: 2px; }
.sll--hide-type .sll-badge, .sll--hide-hours .sll-hours, .sll--hide-tags .sll-tags, .sll--hide-phone .sll-call { display: none; }

.sll-actions { display: flex; gap: 8px; padding: 0 14px 14px 52px; flex-wrap: wrap; }
.sll-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 14px;
  border: 1px solid var(--sll-line); border-radius: max(0px, calc(var(--sll-radius) * .65)); background: var(--sll-card); color: var(--sll-ink) !important;
  font-size: 14px; font-weight: 600; text-decoration: none !important; line-height: 1; transition: background .15s, filter .15s;
}
.sll-btn svg { width: 16px; height: 16px; }
.sll-btn:hover { background: var(--sll-soft); }
.sll-btn--primary { background: var(--sll-accent); border-color: var(--sll-accent); color: var(--sll-accent-ink) !important; }
.sll-btn--primary:hover { background: var(--sll-accent); filter: brightness(1.06); }

.sll-intro, .sll-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 28px 20px; background: var(--sll-card); border: 1px dashed var(--sll-line); border-radius: max(0px, calc(var(--sll-radius) - 2px)); }
.sll-intro strong, .sll-empty strong { font-size: 16px; color: var(--sll-ink); }
.sll-intro p { margin: 0 0 8px; color: var(--sll-muted); font-size: 14px; max-width: 30ch; }
.sll-intro-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--sll-accent) 12%, var(--sll-card)); color: var(--sll-accent); margin-bottom: 4px; }
.sll-intro-ico svg { width: 24px; height: 24px; }
.sll-empty .sll-btn { margin-top: 8px; }

.sll-skel { height: 118px; border-radius: max(0px, calc(var(--sll-radius) - 2px)); background: linear-gradient(90deg, var(--sll-line) 25%, var(--sll-card) 50%, var(--sll-line) 75%); background-size: 200% 100%; animation: sll-shimmer 1.2s infinite; opacity: .6; }
.is-loading .sll-list:not(:has(.sll-skel)) { opacity: .55; transition: opacity .2s; }

/* ---------- Desktop: list | map ---------- */
@media (min-width: 900px) {
  .sll {
    grid-template-columns: 400px minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas: "top map" "controls map" "panel map";
    height: var(--sll-h);
  }
  .sll--list-right { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "map top" "map controls" "map panel"; }
  .sll-map { height: auto; border-left: 1px solid var(--sll-line); }
  .sll > .sll-ph { height: auto; }
  .sll--list-right .sll-map { border-left: 0; border-right: 1px solid var(--sll-line); }
  .sll-controls { border-bottom: 1px solid var(--sll-line); }
  .sll-panel { overflow-y: auto; overscroll-behavior: contain; }
}

/* ---------- App mode (LINE LIFF, full screen) ---------- */
.sll--app {
  border: 0; border-radius: 0; height: 100vh; height: 100dvh;
  grid-template-rows: auto auto var(--sll-map-h) minmax(0, 1fr);
}
.sll--app.sll--line-nohead, .sll--app.sll--hide-header { grid-template-rows: auto var(--sll-map-h) minmax(0, 1fr); grid-template-areas: "controls" "map" "panel"; }
.sll--app .sll-map { height: auto; }
.sll--app > .sll-ph { height: auto; }
.sll--app .sll-panel { overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .sll--app, .sll--app.sll--line-nohead, .sll--app.sll--hide-header { height: 100vh; height: 100dvh; grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "top map" "controls map" "panel map"; }
  .sll--app.sll--list-right { grid-template-areas: "map top" "map controls" "map panel"; }
}
@media (max-width: 380px) {
  .sll-locate span { display: none; }
  .sll-locate { padding: 0 11px; }
  .sll-actions { padding-left: 14px; }
  .sll-select select { padding-left: 10px; padding-right: 28px; }
}

@keyframes sll-spin { to { transform: rotate(360deg); } }
@keyframes sll-shimmer { to { background-position: -200% 0; } }
@keyframes sll-pulse { 70% { box-shadow: 0 0 0 14px rgba(37,99,235,0), 0 1px 4px rgba(0,0,0,.3); } 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0), 0 1px 4px rgba(0,0,0,.3); } }
@media (prefers-reduced-motion: reduce) { .sll * { animation: none !important; transition: none !important; } }

/* ---------- Product picker (v1.2) ---------- */
.sll-prodrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.sll-select--product .sll-ico { position: absolute; left: 13px; top: 0; bottom: 0; display: flex; align-items: center; pointer-events: none; color: var(--sll-accent); }
.sll-select--product select { padding-left: 40px; font-weight: 600; background: var(--sll-card) !important; border-color: var(--sll-line); }
.sll-info {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--sll-line);
  border-radius: max(0px, calc(var(--sll-radius) - 4px)); background: var(--sll-card); color: var(--sll-ink) !important;
}
.sll-info svg { width: 20px; height: 20px; }
.sll-info:hover { border-color: var(--sll-accent); color: var(--sll-accent) !important; }
.sll-chip:disabled, .sll-chip.is-off { opacity: .4; cursor: not-allowed; text-decoration: line-through; border-style: dashed; }
.sll-avail { margin: -4px 2px 0; font-size: 13px; line-height: 1.45; color: var(--sll-muted); }
.sll--hide-fproducts .sll-avail { display: none; }
.sll-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* ---------- "Where each product is sold" popup ---------- */
html.sll-noscroll, html.sll-noscroll body { overflow: hidden; }
.sll-modal {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(15, 23, 42, .45); padding: 0; animation: sll-fade .15s ease-out;
}
.sll-modal-card {
  width: 100%; max-width: 640px; max-height: 85vh; display: flex; flex-direction: column;
  background: var(--sll-card); color: var(--sll-ink); border-radius: var(--sll-radius) var(--sll-radius) 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); animation: sll-up .2s ease-out;
}
.sll-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 8px; }
.sll-modal-head h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--sll-ink); }
.sll-modal-x { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--sll-soft); color: var(--sll-ink) !important; }
.sll-modal-x svg { width: 18px; height: 18px; }
.sll-modal-body { overflow: auto; padding: 0 12px; -webkit-overflow-scrolling: touch; }
.sll-avail-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; margin: 0; }
.sll-avail-table th, .sll-avail-table td { padding: 10px 5px; border: 0; border-bottom: 1px solid var(--sll-line); text-align: center; background: var(--sll-card); }
.sll-avail-table thead th { position: sticky; top: 0; z-index: 1; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--sll-muted); min-width: 56px; vertical-align: bottom; }
.sll-avail-table thead th .sll-dot { display: block; margin: 0 auto 4px; }
.sll-avail-table th[scope=row], .sll-avail-table thead th:first-child { position: sticky; left: 0; z-index: 2; text-align: left; min-width: 96px; }
.sll-avail-table thead th:first-child { z-index: 3; }
.sll-avail-table td.is-yes { color: var(--sll-accent); font-weight: 700; font-size: 16px; }
.sll-avail-table td.is-no { color: var(--sll-line); }
.sll-avail-table td.is-some { color: var(--sll-accent); font-size: 15px; }
.sll-avail-table tr.is-on th, .sll-avail-table tr.is-on td { background: color-mix(in srgb, var(--sll-accent) 10%, var(--sll-card)); }
.sll-pick { padding: 0; border: 0; background: none; font-weight: 600; color: var(--sll-ink) !important; text-align: left; text-decoration: underline; text-decoration-color: var(--sll-line); text-underline-offset: 3px; }
.sll-modal-foot { margin: 0; padding: 10px 16px 16px; font-size: 13px; color: var(--sll-muted); }
@media (min-width: 700px) {
  .sll-modal { align-items: center; padding: 24px; }
  .sll-modal-card { border-radius: var(--sll-radius); }
}
@keyframes sll-fade { from { opacity: 0; } }
@keyframes sll-up { from { transform: translateY(24px); opacity: .6; } }
.sll-half { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sll-accent); background: linear-gradient(90deg, var(--sll-accent) 50%, transparent 50%); vertical-align: -2px; box-sizing: border-box; }
.sll-note { font-size: 13px; color: var(--sll-muted); }

/* ---------- Featured & promoted (v1.5) ---------- */
.sll-flag { display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 2px 8px 2px 6px; margin-bottom: 2px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--sll-accent); color: var(--sll-accent-ink); }
.sll-flag svg { width: 12px !important; height: 12px !important; fill: currentColor; stroke: none; }
.sll-card.is-featured { border-color: color-mix(in srgb, var(--sll-accent) 45%, var(--sll-line)); }
.sll-card.is-promoted { border: 2px solid var(--sll-accent); background: color-mix(in srgb, var(--sll-accent) 6%, var(--sll-card)); }
.sll-card.is-promoted .sll-name { font-size: 17px; font-weight: 800; }
.sll-card.is-promoted .sll-addr { font-weight: 600; color: var(--sll-ink); }
.sll-promo-star { display: inline-block; margin-right: 4px; vertical-align: -1px; color: #f5a400; }
.sll-promo-star svg { width: 15px !important; height: 15px !important; fill: currentColor; stroke: none; }
.sll-pin--top { box-shadow: 0 0 0 3px #f5a400, 0 3px 10px rgba(15,23,42,.35); }

/* ---------- Info box above the pin (v1.6) ---------- */
.sll-pop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sll .sll-lpop .leaflet-popup-content-wrapper { padding: 0; border-radius: max(6px, var(--sll-radius)); background: var(--sll-card); color: var(--sll-ink); box-shadow: 0 8px 28px rgba(15,23,42,.22); }
.sll .sll-lpop .leaflet-popup-content { margin: 0; width: auto !important; min-width: 270px; max-width: 300px; font-size: 13px; line-height: 1.45; }
.sll .sll-lpop .leaflet-popup-tip { background: var(--sll-card); }
.sll-pop { position: relative; display: grid; gap: 3px; padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--sll-ink); text-align: left; }
.sll-pop .sll-flag { margin-bottom: 2px; }
.sll-pop-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--sll-soft); color: var(--sll-ink) !important; cursor: pointer; }
.sll-pop-x svg { width: 14px; height: 14px; }
.sll-pop-name { font-size: 15px; font-weight: 700; line-height: 1.35; padding-right: 30px; }
.sll-pop-addr { color: var(--sll-text2); }
.sll-pop-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sll-pop .sll-btn { height: 34px; padding: 0 10px; font-size: 13px; }
.sll-gpop { width: 280px; transform: translate(-50%, calc(-100% - 46px)); z-index: 5; }
.sll-gpop .sll-pop { background: var(--sll-card); border-radius: max(6px, var(--sll-radius)); box-shadow: 0 8px 28px rgba(15,23,42,.22); }
.sll-gpop::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--sll-card); }

/* ---------- Other package sizes (v1.9) ---------- */
.sll-alt-wrap, .sll-sep { list-style: none; }
.sll-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 14px; border: 1px dashed color-mix(in srgb, var(--sll-accent) 55%, var(--sll-line)); border-radius: max(0px, calc(var(--sll-radius) - 2px)); background: color-mix(in srgb, var(--sll-accent) 7%, var(--sll-card)); font-size: 14px; line-height: 1.5; color: var(--sll-ink); }
.sll-alt span { flex: 1 1 200px; }
.sll-alt .sll-btn { height: 34px; flex: none; }
.sll-sep { margin-top: 6px; padding: 0 2px; font-size: 13px; font-weight: 700; color: var(--sll-muted); letter-spacing: .02em; }
.sll-card.is-alt { opacity: .92; }
.sll-card.is-alt .sll-num { background: var(--sll-card); color: var(--c); border: 2px solid var(--c); }
.sll-tag.is-alt { background: var(--sll-soft); color: var(--sll-text2); }
.sll-pin--alt { opacity: .8; background: var(--sll-card) !important; border-color: var(--c) !important; }
.sll-pin--alt b { color: var(--c) !important; }
.sll-alt-jump { padding: 2px 10px; border: 1px solid color-mix(in srgb, var(--sll-accent) 50%, var(--sll-line)); border-radius: 99px; background: var(--sll-card); color: var(--sll-ink) !important; font-size: 13px; font-weight: 600; cursor: pointer; }
.sll-tf { font-size: 13px; color: var(--sll-muted); }
.sll-tf-all { padding: 0; border: 0; background: none; color: var(--sll-accent) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: 13px; }

/* ---------- "Why recommended?" + store products popup (v1.11) ---------- */
.sll-card-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 12px 14px 0 52px; }
.sll-card-flags .sll-flag { margin: 0; }
.sll-card-flags + .sll-card-main { padding-top: 6px; }
.sll .sll-why {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 6px; border: 1px solid color-mix(in srgb, var(--sll-accent) 45%, var(--sll-line));
  border-radius: 99px; background: color-mix(in srgb, var(--sll-accent) 8%, var(--sll-card)); color: var(--sll-ink) !important; font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer;
}
.sll .sll-why svg { width: 14px !important; height: 14px !important; color: var(--sll-accent); }
.sll .sll-why:hover { border-color: var(--sll-accent); }
.sll .sll-prodlink {
  display: inline-flex; align-items: center; gap: 6px; margin: -2px 0 10px 52px; padding: 4px 0; border: 0; background: none !important;
  color: var(--sll-ink) !important; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--sll-accent) 60%, transparent); text-underline-offset: 3px; cursor: pointer;
}
.sll .sll-prodlink svg { width: 15px !important; height: 15px !important; color: var(--sll-accent); }
.sll .sll-prodlink span { text-decoration: none; color: var(--sll-muted); }
.sll-pop .sll-card-flags { padding: 0; margin-bottom: 2px; }
.sll .sll-pop .sll-prodlink { margin: 6px 0 0; justify-self: start; }
@media (max-width: 380px) { .sll-card-flags { padding-left: 14px; } .sll .sll-prodlink { margin-left: 14px; } }

.sll .sll-why-text { margin: 0 4px 14px; padding: 12px 14px; border-radius: max(0px, calc(var(--sll-radius) * .6)); background: color-mix(in srgb, var(--sll-accent) 9%, var(--sll-card)); font-size: 14px; line-height: 1.6; color: var(--sll-ink); }
.sll-store-head { display: grid; gap: 2px; margin: 0 4px 10px; }
.sll-store-head .sll-badge i { background: var(--c); }
.sll-store-name { font-size: 16px; font-weight: 700; color: var(--sll-ink); }
.sll-prod-h { margin: 4px 4px 6px; font-size: 13px; font-weight: 700; color: var(--sll-muted); }
.sll-prod-list { list-style: none; margin: 0 4px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px; }
.sll-prod-list li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 10px; border: 1px solid var(--sll-line); border-radius: max(0px, calc(var(--sll-radius) * .5)); font-size: 14px; line-height: 1.4; color: var(--sll-ink); }
.sll-prod-list li.is-on { border-color: var(--sll-accent); background: color-mix(in srgb, var(--sll-accent) 10%, var(--sll-card)); font-weight: 700; }
.sll-ok { color: var(--sll-accent); font-weight: 700; }
.sll-prod-none { margin: 4px; color: var(--sll-muted); font-size: 14px; }
.sll-verify { display: grid; gap: 10px; border-top: 1px solid var(--sll-line); margin-top: 12px; }
.sll-verify p { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.5; color: var(--sll-text2); }
.sll-verify p svg { width: 16px; height: 16px; margin-top: 1px; color: #d97706; }
.sll-verify .sll-btn { width: 100%; }

/* ---------- Store-type dropdown checklist (v1.12) ---------- */
.sll-controls { position: relative; z-index: 2; }
.sll-typedd { position: relative; }
.sll .sll-typebtn {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 12px 0 13px; margin: 0;
  border: 1px solid var(--sll-line); border-radius: max(0px, calc(var(--sll-radius) - 4px)); background: var(--sll-card); color: var(--sll-ink) !important;
  font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
}
.sll .sll-typebtn .sll-ico { display: flex; color: var(--sll-accent); }
.sll-typebtn-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sll .sll-typebtn > svg:last-child { width: 18px; height: 18px; color: var(--sll-muted); transition: transform .15s; }
.sll-typedd.is-open .sll-typebtn > svg:last-child { transform: rotate(180deg); }
.sll .sll-typebtn:hover, .sll-typedd.is-open .sll-typebtn { border-color: var(--sll-accent); }
.sll .sll-typebtn.is-set { border-color: color-mix(in srgb, var(--sll-accent) 55%, var(--sll-line)); background: color-mix(in srgb, var(--sll-accent) 6%, var(--sll-card)); }

.sll-typepanel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1000; max-height: min(60vh, 420px); display: flex; flex-direction: column;
  background: var(--sll-card); border: 1px solid var(--sll-line); border-radius: max(0px, calc(var(--sll-radius) - 2px)); box-shadow: 0 12px 32px rgba(15,23,42,.18); overflow: hidden;
}
.sll-typepanel[hidden] { display: none; }
.sll-typepanel-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 6px 16px; font-size: 14px; color: var(--sll-muted); }
.sll .sll-type-done { height: 32px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--sll-accent); color: var(--sll-accent-ink) !important; font-size: 14px; font-weight: 700; }
.sll-typelist { overflow-y: auto; padding: 4px 6px 8px; -webkit-overflow-scrolling: touch; }
.sll .sll-trow {
  display: flex; align-items: center; gap: 10px; width: 100%; height: auto; min-height: 46px; padding: 8px 10px; margin: 0; border: 0; border-radius: max(0px, calc(var(--sll-radius) * .5));
  background: none; color: var(--sll-ink) !important; font-size: 15px; font-weight: 500; text-align: left; white-space: normal; text-decoration: none; opacity: 1;
}
.sll .sll-trow:hover { background: var(--sll-soft); }
.sll .sll-trow.is-on { background: color-mix(in srgb, var(--sll-accent) 9%, var(--sll-card)); color: var(--sll-ink) !important; font-weight: 600; }
.sll .sll-trow.is-on i { box-shadow: none; }
.sll-tick { flex: none; width: 20px; height: 20px; border: 2px solid var(--sll-line); border-radius: 5px; display: grid; place-items: center; background: var(--sll-card); }
.sll-trow.is-on .sll-tick { border-color: var(--sll-accent); background: var(--sll-accent); }
.sll-trow.is-on .sll-tick::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid var(--sll-accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sll-trow i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sll-tname { flex: 1; min-width: 0; }
.sll-trec { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px 2px 5px; border-radius: 99px; background: var(--sll-accent); color: var(--sll-accent-ink); font-size: 11px; font-weight: 700; white-space: nowrap; }
.sll-trec svg { width: 11px !important; height: 11px !important; fill: currentColor; stroke: none; }
.sll .sll-trow:disabled, .sll .sll-trow.is-off { opacity: .45; cursor: not-allowed; text-decoration: none; }
.sll .sll-trow[data-note]::after { content: attr(data-note); flex: none; font-size: 12px; color: var(--sll-muted); }
@media (max-width: 699px) {
  .sll-typedd.is-open::before { content: ""; position: fixed; inset: 0; z-index: 99999; background: rgba(15,23,42,.45); animation: sll-fade .15s ease-out; }
  .sll-typepanel {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 100000; max-height: 75vh; border: 0;
    border-radius: var(--sll-radius) var(--sll-radius) 0 0; padding-bottom: env(safe-area-inset-bottom); animation: sll-up .2s ease-out;
  }
  .sll-typepanel-head { padding: 14px 14px 8px 18px; font-size: 16px; color: var(--sll-ink); }
  .sll .sll-trow { min-height: 52px; font-size: 16px; }
}

/* ---------- "Buy online" box (v1.13) ---------- */
.sll-online {
  margin: 0; padding: 14px; display: grid; gap: 8px;
  background: color-mix(in srgb, var(--sll-accent) 7%, var(--sll-card)); border: 1.5px solid color-mix(in srgb, var(--sll-accent) 50%, var(--sll-line));
  border-radius: max(0px, calc(var(--sll-radius) - 2px));
}
.sll-online-head { display: flex; align-items: center; gap: 10px; }
.sll-online-head strong { font-size: 15px; line-height: 1.4; color: var(--sll-ink); }
.sll-online-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sll-accent); color: var(--sll-accent-ink); }
.sll-online-ico svg { width: 16px !important; height: 16px !important; }
.sll-online-text { margin: 0 0 2px 40px; font-size: 13px; line-height: 1.5; color: var(--sll-text2); }
.sll-online-body { display: grid; gap: 6px; margin-left: 40px; }
.sll-online-size { font-size: 12px; font-weight: 700; color: var(--sll-muted); margin-top: 2px; }
.sll-online-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sll .sll-shop {
  display: flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding: 0 10px 0 6px; border: 1px solid var(--sll-line);
  border-radius: max(0px, calc(var(--sll-radius) * .65)); background: var(--sll-card); color: var(--sll-ink) !important;
  font-size: 14px; font-weight: 600; text-decoration: none !important; line-height: 1; transition: border-color .15s, background .15s;
}
.sll .sll-shop:hover { border-color: var(--sll-accent); }
.sll .sll-shop > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sll .sll-shop.is-own { background: var(--sll-accent); border-color: var(--sll-accent); color: var(--sll-accent-ink) !important; }
.sll-shop-ico { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: #fff; font-size: 13px; font-weight: 800; line-height: 1; }
.sll-shop-ico.is-own { background: color-mix(in srgb, var(--sll-accent-ink) 22%, transparent); color: var(--sll-accent-ink); }
.sll-shop-ico svg { width: 15px !important; height: 15px !important; }
.sll-col-online { white-space: nowrap; }
.sll .sll-shop-mini { display: inline-block; margin: 0 2px; text-decoration: none !important; vertical-align: middle; }
.sll-shop-mini .sll-shop-ico { width: 22px; height: 22px; font-size: 11px; border-radius: 6px; }
.sll-shop-mini .sll-shop-ico.is-own { background: var(--sll-accent); color: var(--sll-accent-ink); }
.sll-avail-table td.sll-col-online .is-no { color: var(--sll-line); }
@media (max-width: 520px) { .sll-online-text, .sll-online-body { margin-left: 0; } }

/* ---------- Send to me / to a friend (LINE) (v1.14) ---------- */
.sll-send-store { margin: 0 4px 12px; font-size: 14px; line-height: 1.5; color: var(--sll-text2); }
.sll-send-store strong { font-size: 16px; color: var(--sll-ink); }
.sll-sendopts { display: grid; gap: 10px; margin: 0 4px 6px; }
.sll .sll-sendopt {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--sll-line);
  border-radius: max(0px, calc(var(--sll-radius) * .7)); background: var(--sll-card); color: var(--sll-ink) !important; text-align: left;
}
.sll .sll-sendopt:hover { border-color: var(--sll-accent); }
.sll-sendopt strong { display: block; font-size: 16px; }
.sll-sendopt small { display: block; font-size: 13px; color: var(--sll-muted); }
.sll-sendopt-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sll-accent); color: var(--sll-accent-ink); }
.sll-send-friend .sll-sendopt-ico { background: var(--sll-soft); color: var(--sll-ink); }
.sll-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 100001; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 99px; background: var(--sll-ink); color: var(--sll-card); font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: sll-up .2s ease-out; transition: opacity .3s;
}
.sll-toast.is-warn { background: #b91c1c; color: #fff; }
.sll-toast.is-out { opacity: 0; }

/* ---------- Desktop "full page" mode (v1.14.1): list grows with the page, map sticks in view ---------- */
@media (min-width: 900px) {
  .sll--grow:not(.sll--app) { height: auto; min-height: var(--sll-h); overflow: clip; grid-template-rows: auto auto 1fr; }
  .sll--grow:not(.sll--app) .sll-panel { overflow: visible; }
  .sll--grow:not(.sll--app) .sll-map { position: sticky; top: var(--sll-sticky-top, 0px); align-self: start; height: calc(100vh - var(--sll-sticky-top, 0px)); min-height: 420px; }
}

.sll .sll-sendopt:disabled { opacity: .55; cursor: not-allowed; }
.sll .sll-sendopt:disabled:hover { border-color: var(--sll-line); }

/* ---------- Preferred store types: "other stores nearby" note (v1.17) ---------- */
.sll-others {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px;
  border: 1px dashed var(--sll-line); border-radius: max(0px, calc(var(--sll-radius) - 2px)); background: var(--sll-soft);
}
.sll-others-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sll-card); color: var(--sll-muted); }
.sll-others-ico svg { width: 16px !important; height: 16px !important; }
.sll-others-txt { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; color: var(--sll-text2); }
.sll .sll-others-btn { flex: none; height: 32px; padding: 0 14px; border: 1px solid var(--sll-line); border-radius: 99px; background: var(--sll-card); color: var(--sll-ink) !important; font-size: 13px; font-weight: 700; }
.sll .sll-others-btn:hover { border-color: var(--sll-accent); }
.sll-card.is-other { opacity: .9; background: color-mix(in srgb, var(--sll-soft) 55%, var(--sll-card)); }
.sll-card.is-other .sll-num { background: var(--sll-card); color: var(--sll-muted); border: 2px solid var(--c); }
.sll-card.is-other .sll-name { font-size: 15px; }
