/*!
 * Localist Directory: front-end styles.
 * Ported from the Localist Next.js prototype (app/globals.css). Every class is
 * prefixed with ll- so the plugin can sit inside any theme.
 * Theme overrides: change --ll-accent, --ll-accent-dark and --ll-accent-tint.
 */

:root {
  --ll-ink: #0f1b2d;
  --ll-ink-2: #334155;
  --ll-muted: #475569;
  --ll-line: #e2e8f0;
  --ll-line-strong: #cbd5e1;
  --ll-bg: #f4f6f8;
  --ll-surface: #ffffff;
  --ll-placeholder: #dce4ec;
  --ll-accent: #0b7a75;
  --ll-accent-dark: #095f5b;
  --ll-accent-tint: #e3f4f2;
  --ll-star: #b45309;
  --ll-ok: #166534;
  --ll-ok-tint: #dcfce7;
  --ll-warn-tint: #fef3c7;
  --ll-warn: #92400e;
  --ll-danger: #b4232a;
  --ll-radius: 16px;
  --ll-maxw: 1264px;
}

/* Scope: element defaults inside plugin output */
.ll-scope,
.ll-scope *,
.ll-scope *::before,
.ll-scope *::after {
  box-sizing: border-box;
}
.ll-scope {
  color: var(--ll-ink);
  line-height: 1.5;
}
.ll-scope a {
  color: inherit;
  text-decoration: none;
}
.ll-scope a:hover {
  opacity: 0.88;
}
.ll-scope :focus-visible {
  outline: 2px solid var(--ll-accent);
  outline-offset: 2px;
}
.ll-scope h1,
.ll-scope h2,
.ll-scope h3,
.ll-scope p {
  margin: 0;
}
.ll-scope h1 {
  font-size: 34px;
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ll-ink);
}
.ll-scope h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ll-ink);
}
.ll-scope h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ll-ink);
}
.ll-scope .ll-h1-sm {
  font-size: 30px;
}
.ll-scope ul.ll-list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ll-container {
  max-width: var(--ll-maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.ll-page-body {
  padding-top: 24px;
  padding-bottom: 64px;
}

.ll-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ll-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ll-between {
  justify-content: space-between;
}
.ll-grow {
  flex: 1 1 0;
  min-width: 0;
}

.ll-two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.ll-two-col > .ll-main {
  flex: 1 1 600px;
  min-width: 0;
}
.ll-two-col > .ll-side {
  flex: 1 1 320px;
  max-width: 400px;
  width: 100%;
}
.ll-grid-2,
.ll-grid-3,
.ll-grid-4,
.ll-grid-6 {
  display: grid;
  gap: 16px;
}
.ll-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ll-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ll-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ll-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}


/* Text helpers */
.ll-muted {
  color: var(--ll-muted);
}
.ll-small {
  font-size: 14px;
}
.ll-tiny {
  font-size: 13px;
}
.ll-bold {
  font-weight: 700;
}
.ll-ok {
  color: var(--ll-ok);
  font-weight: 700;
}
.ll-link {
  color: var(--ll-accent-dark);
  font-weight: 700;
}
.ll-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* Buttons */
.ll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.ll-btn-primary {
  background: var(--ll-accent);
  color: #fff;
}
.ll-btn-dark {
  background: var(--ll-ink);
  color: #fff;
}
.ll-btn-outline {
  background: #fff;
  border-color: var(--ll-line-strong);
}
.ll-btn-accent-outline {
  background: #fff;
  border-color: var(--ll-accent);
  color: var(--ll-accent-dark);
}
.ll-btn-danger {
  background: #fff;
  border-color: var(--ll-danger);
  color: var(--ll-danger);
}
.ll-btn-ok {
  background: var(--ll-ok);
  color: #fff;
}
.ll-btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
.ll-btn-block {
  width: 100%;
}


/* Cards and chips */
.ll-card {
  background: var(--ll-surface);
  border: 1px solid var(--ll-line);
  border-radius: var(--ll-radius);
  padding: 28px;
}
.ll-card-sm {
  padding: 20px;
  border-radius: 14px;
}
.ll-card-link {
  display: flex;
  flex-direction: column;
  background: var(--ll-surface);
  border: 1px solid var(--ll-line);
  border-radius: var(--ll-radius);
  overflow: hidden;
}
.ll-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--ll-line);
  border-radius: 14px;
  padding: 16px;
  background: #f8fafc;
}
.ll-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ll-accent-tint);
  color: var(--ll-accent-dark);
}
.ll-chip-warn {
  background: var(--ll-warn-tint);
  color: var(--ll-warn);
  border-radius: 6px;
  padding: 4px 8px;
}
.ll-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 14px;
  font-weight: 700;
}
.ll-pill-active {
  background: var(--ll-ink);
  color: #fff;
}
.ll-placeholder {
  background: var(--ll-placeholder);
  color: var(--ll-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.ll-icon-box {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: var(--ll-accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Forms */
.ll-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ll-field label,
.ll-label {
  font-size: 13px;
  font-weight: 600;
}
.ll-input,
.ll-select,
.ll-textarea {
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border: 1px solid var(--ll-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ll-ink);
  min-height: 44px;
  width: 100%;
  min-width: 0;
}
.ll-textarea {
  resize: vertical;
}
.ll-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  min-height: 28px;
}
.ll-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--ll-accent);
}
.ll-check-tile {
  border: 1px solid var(--ll-line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
}

.ll-searchbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  width: 100%;
  max-width: 920px;
  color: var(--ll-ink);
}
.ll-searchbar--compact {
  border: 1px solid var(--ll-line-strong);
  border-radius: 12px;
  padding: 6px;
  max-width: none;
  flex: 1 1 100%;
}
.ll-searchbar__field {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 16px;
}
.ll-searchbar__field:focus-within { outline: 2px solid var(--ll-accent); outline-offset: -2px; border-radius: 10px; }
.ll-searchbar__field + .ll-searchbar__field {
  border-left: 1px solid var(--ll-line);
}
.ll-searchbar__field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ll-muted);
}
.ll-searchbar__field input {
  border: 0;
  outline: 0;
  box-shadow: none;
  font: inherit;
  font-size: 17px;
  padding: 4px 0;
  background: transparent;
  color: var(--ll-ink);
  min-width: 0;
  width: 100%;
}
.ll-searchbar .ll-btn { flex: 0 0 auto; min-height: 56px; padding: 0 30px; font-size: 17px; }
.ll-searchbar--compact .ll-btn { min-height: 48px; font-size: 15px; }
.ll-chips-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ll-chips-hero a {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #475569;
  color: #f1f5f9;
}


.ll-cat-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--ll-line);
  border-radius: 14px;
  padding: 20px;
}

.ll-listing-card__photo {
  height: 176px;
  padding: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.ll-listing-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ll-badge {
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  color: var(--ll-ink-2);
  border-radius: 6px;
  padding: 4px 8px;
}
.ll-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.ll-result {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--ll-line);
  border-radius: var(--ll-radius);
  padding: 18px;
}
.ll-result__photo {
  flex: 0 0 168px;
  height: 132px;
  border-radius: 12px;
}
.ll-result__body {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ll-filters {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--ll-line);
  border-radius: var(--ll-radius);
  padding: 22px;
}

.ll-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 150px);
  gap: 8px;
  border-radius: var(--ll-radius);
  overflow: hidden;
}
.ll-gallery > :first-child {
  grid-row: 1 / span 2;
}
.ll-gallery .ll-more {
  background: var(--ll-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.ll-breadcrumb {
  font-size: 14px;
  color: var(--ll-muted);
}
.ll-breadcrumb a {
  font-weight: 600;
}
.ll-review {
  border-top: 1px solid var(--ll-line);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ll-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ll-accent-tint);
  color: var(--ll-accent-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ll-owner-reply {
  background: var(--ll-bg);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}
.ll-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.ll-bar-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: var(--ll-line);
  overflow: hidden;
}
.ll-bar-fill {
  display: block;
  height: 10px;
  background: var(--ll-star);
}
.ll-hours-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 420px;
  font-size: 15px;
}
.ll-hours-table th,
.ll-hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
}
.ll-hours-table th {
  text-align: left;
  font-weight: 600;
  color: var(--ll-ink-2);
}
.ll-hours-table td {
  text-align: right;
}
.ll-item-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid var(--ll-line);
  border-radius: 14px;
  padding: 16px;
}

/* ---------- Additions for the WordPress port ---------- */

.ll-ink2 { color: var(--ll-ink-2); }
.ll-ok-text { color: var(--ll-ok); }
.ll-grid-1 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.ll-grid-5 { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ll-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Honeypot field for spam bots. */
.ll-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button.ll-btn { font-family: inherit; }
.ll-btn:hover { opacity: 0.9; }
.ll-btn-primary, .ll-scope a.ll-btn-primary { color: #fff; }
.ll-btn-dark, .ll-scope a.ll-btn-dark { color: #fff; }
.ll-btn-ok { color: #fff; }

.ll-fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ll-fieldset legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

/* Images inside media boxes */
.ll-media { position: relative; overflow: hidden; }
.ll-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ll-media .ll-badge { position: absolute; left: 12px; top: 12px; z-index: 1; }
.ll-media__label { position: relative; }
.ll-listing-card__photo { align-items: center; justify-content: center; padding: 0; }
.ll-card-title { font-size: 18px; letter-spacing: -0.01em; }
.ll-result__title { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.ll-cat-tile__text { display: flex; flex-direction: column; min-width: 0; }
.ll-chip--lg { padding: 5px 12px; font-size: 13px; }
.ll-card--side { padding: 24px; gap: 14px; }
.ll-price { font-size: 24px; letter-spacing: -0.02em; }
.ll-score { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ll-bar-label { width: 56px; font-weight: 600; color: var(--ll-ink-2); }
.ll-bar-count { width: 32px; text-align: right; }
.ll-icon-box--sm { width: 28px; height: 28px; flex-basis: 28px; border-radius: 50%; }
.ll-facility { border: 1px solid var(--ll-line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ll-facility-check { border: 1px solid var(--ll-line); border-radius: 12px; padding: 14px; gap: 12px; flex-wrap: nowrap; }
.ll-item-row__photo { flex: 0 0 200px; height: 140px; border-radius: 12px; }
.ll-item-row__side { flex: 0 0 160px; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ll-menu-item { color: inherit; }
.ll-about { font-size: 16px; color: var(--ll-ink-2); line-height: 1.6; }
.ll-about > *:first-child { margin-top: 0; }
.ll-about > *:last-child { margin-bottom: 0; }
.ll-map { width: 100%; height: 180px; border: 0; border-radius: 12px; background: var(--ll-placeholder); }
.ll-side { flex: 1 1 320px; max-width: 400px; width: 100%; }
.ll-main { flex: 1 1 600px; min-width: 0; }
.ll-two-col > .ll-main { flex: 1 1 600px; min-width: 0; }
.ll-two-col > .ll-side { flex: 1 1 320px; max-width: 400px; width: 100%; }

/* Notices */
.ll-toast { margin: 0; }
.ll-toast--err { background: #fee2e2; color: var(--ll-danger); }

/* Details / summary controls */
.ll-details > summary { cursor: pointer; list-style: none; }
.ll-details > summary::-webkit-details-marker { display: none; }
.ll-details > summary::marker { content: ""; }
.ll-details--form > summary { display: inline-flex; }
.ll-details--form[open] > summary { margin-bottom: 4px; }

/* Star picker: radios are DOM-ordered 5..1 and shown reversed */
.ll-stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.ll-stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.ll-stars-input label { cursor: pointer; line-height: 0; }
.ll-stars-input svg { fill: #cbd5e1; transition: fill 0.1s; }
.ll-stars-input label:hover svg,
.ll-stars-input label:hover ~ label svg,
.ll-stars-input input:checked ~ label svg { fill: var(--ll-star); }
.ll-stars-input input:focus-visible + label { outline: 2px solid var(--ll-accent); outline-offset: 2px; border-radius: 4px; }

/* Gallery with real photos */
.ll-gallery__item { position: relative; display: block; background: var(--ll-placeholder); overflow: hidden; }
.ll-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ll-gallery__more {
  background: var(--ll-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 8px;
}
.ll-scope a.ll-gallery__more { color: #fff; }
.ll-gallery--simple { grid-template-columns: repeat(var(--ll-n, 1), minmax(0, 1fr)); grid-template-rows: 280px; }
.ll-gallery--n1 { --ll-n: 1; }
.ll-gallery--n2 { --ll-n: 2; }
.ll-gallery--n3 { --ll-n: 3; }
.ll-gallery--n4 { --ll-n: 4; }
.ll-gallery--simple > :first-child { grid-row: auto; }
.ll-gallery-extra { display: none; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.ll-gallery-extra:target { display: grid; }
.ll-gallery-extra a { display: block; }
.ll-gallery-extra img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; display: block; }

/* Results page */
.ll-archive__top { margin-bottom: 4px; }
.ll-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 12px 0; font-weight: 700; }
.ll-pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--ll-line-strong);
  background: #fff;
}
.ll-pagination .page-numbers.current { background: var(--ll-accent); color: #fff; border-color: var(--ll-accent); }
.ll-pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* Hero chips use CSS variables so they work on dark and light backgrounds */
.ll-chips-hero a { color: var(--ll-chips-ink, var(--ll-ink-2)); border-color: var(--ll-chips-line, var(--ll-line-strong)); }
.ll-chips-hero > span { color: var(--ll-chips-label, var(--ll-ink-2)); }

/* Responsive */
@media (max-width: 1000px) {
  .ll-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-grid-5, .ll-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ll-scope h1 { font-size: 28px; }
  .ll-grid-3, .ll-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .ll-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 120px; }
  .ll-gallery > :first-child { grid-column: 1 / span 2; grid-row: 1; }
  .ll-gallery > :nth-child(4), .ll-gallery > :nth-child(5) { display: none; }
  .ll-gallery--simple { grid-template-columns: 1fr; grid-template-rows: none; }
  .ll-gallery--simple > * { height: 220px; }
  .ll-gallery--simple > :nth-child(4), .ll-gallery--simple > :nth-child(5) { display: block; }
  .ll-filters { flex: 1 1 100%; }
  .ll-result__photo { flex: 1 1 100%; }
  .ll-item-row__photo { flex: 1 1 100%; }
  .ll-item-row__side { flex: 1 1 100%; flex-direction: row; align-items: center; }
  .ll-card { padding: 20px; }
}
@media (max-width: 480px) {
  .ll-grid-4, .ll-grid-5, .ll-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Ad banner slots ---------- */
.ll-ad { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; max-width: 100%; margin: 0; }
.ll-ad__label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ll-muted); }
.ll-ad__body { max-width: 100%; text-align: center; overflow: hidden; }
.ll-ad__body img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 0 auto; }
.ll-ad__body a { display: block; }
.ll-ad--home_top, .ll-ad--home_middle, .ll-ad--home_bottom, .ll-ad--footer_top { max-width: 970px; margin: 0 auto; }
.ll-ad--archive_top, .ll-ad--archive_inline, .ll-ad--listing_top, .ll-ad--listing_middle, .ll-ad--listing_bottom, .ll-ad--post_bottom { max-width: 728px; margin: 0 auto; }
.ll-ad__placeholder {
  width: 100%; min-height: 90px; padding: 14px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 2px dashed var(--ll-line-strong); border-radius: 12px;
  background: rgba(255, 255, 255, .6); color: var(--ll-muted); font-size: 13px; text-align: center;
}
.ll-ad__placeholder strong { color: var(--ll-ink-2); font-size: 14px; }
.ll-ad--archive_sidebar .ll-ad__placeholder, .ll-ad--listing_sidebar .ll-ad__placeholder, .ll-ad--contact_side .ll-ad__placeholder { min-height: 250px; }
.ll-ad--archive_sidebar, .ll-ad--listing_sidebar, .ll-ad--contact_side { max-width: 300px; margin: 0 auto; }
.ll-contact .ll-card h2 { margin: 0; }

/* ---------- Live suggestions ---------- */
.ll-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
  margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--ll-ink);
  border: 1px solid var(--ll-line-strong); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 27, 45, .18); max-height: 340px; overflow-y: auto;
}
.ll-suggest[hidden] { display: none; }
.ll-suggest li { margin: 0; }
.ll-suggest a { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: inherit; }
.ll-suggest a strong { font-size: 15px; }
.ll-suggest a span { font-size: 13px; color: var(--ll-muted); }
.ll-suggest li.is-active a, .ll-suggest a:hover { background: var(--ll-accent-tint); }

/* ---------- Filters toggle and mobile action bar ---------- */
.ll-filters-toggle { display: none; }
.ll-mobile-bar { display: none; }

/* ---------- Mobile polish ---------- */
@media (max-width: 760px) {
  .ll-searchbar { flex-direction: column; gap: 0; padding: 8px; }
  .ll-searchbar__field { padding: 10px 12px; }
  .ll-searchbar__field + .ll-searchbar__field { border-left: 0; border-top: 1px solid var(--ll-line); }
  .ll-searchbar__field input { font-size: 16px; min-height: 28px; }
  .ll-searchbar .ll-btn, .ll-searchbar--compact .ll-btn { width: 100%; min-height: 48px; margin-top: 6px; }

  .ll-btn { min-height: 44px; }
  .ll-btn-sm { min-height: 40px; }
  .ll-archive__top { margin-bottom: 0; }

  .ll-js .ll-filters-toggle { display: inline-flex; width: 100%; justify-content: center; margin-bottom: 12px; }
  .ll-js .ll-filters:not(.is-open) { display: none; }
  .ll-result__photo { height: 170px; }
  .ll-result__body .ll-row .ll-btn { flex: 1 1 auto; }

  .ll-mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff;
    border-top: 1px solid var(--ll-line-strong); box-shadow: 0 -4px 16px rgba(15, 27, 45, .08);
  }
  .ll-mobile-bar .ll-btn { flex: 1 1 0; justify-content: center; }
  body.single-ll_listing { padding-bottom: 72px; }
  .ll-gallery--simple > * { height: 200px; }
  .ll-side, .ll-two-col > .ll-side { max-width: none; }
}

/* ---------- Ads: responsive ---------- */
.ll-ad__body picture, .ll-ad__body img { display: block; max-width: 100%; height: auto; }
.ll-ad__body iframe, .ll-ad__body ins, .ll-ad__body embed, .ll-ad__body video { max-width: 100%; }
.ll-ad--only-mobile { display: none; }
@media (max-width: 760px) {
  .ll-ad--only-desktop { display: none; }
  .ll-ad--only-mobile { display: flex; }
  .ll-ad { margin-left: auto; margin-right: auto; }
  .ll-ad__placeholder { min-height: 70px; }
  .ll-ad--archive_sidebar .ll-ad__placeholder, .ll-ad--listing_sidebar .ll-ad__placeholder, .ll-ad--contact_side .ll-ad__placeholder { min-height: 200px; }
  .ll-ad--listing_sidebar, .ll-ad--contact_side { max-width: 100%; }
}

/* Search bar: the field wrapper shows the focus ring, not the inner input */
.ll-scope .ll-searchbar__field input:focus,
.ll-scope .ll-searchbar__field input:focus-visible { outline: 0; box-shadow: none; }
.ll-searchbar__field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
