/* ============================================================
   Look Local — App stylesheet (map view, sidebar, cards, details)
   ============================================================ */
@import url("./tokens.css");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--ll-font-body);
  background: var(--ll-bg);
  color: var(--ll-fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }

.hidden { display: none !important; }

/* ============================================================
   APP SHELL
   ============================================================ */
.ll-app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ============================================================
   HEADER
   ============================================================ */
.ll-header {
  background: var(--ll-primary);
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--ll-shadow-header);
  z-index: 1000;
  flex-shrink: 0;
}

.ll-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--ll-dur-fast);
}
.ll-logo:hover { opacity: 0.85; }
.ll-logo-mark { display: flex; align-items: center; }
.ll-logo-text {
  font-family: var(--ll-font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
  line-height: 1;
  white-space: nowrap;
}

.ll-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 620px;
  position: relative;
}
.ll-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  pointer-events: none;
}
.ll-search input {
  flex: 1;
  padding: 10px 16px 10px 38px;
  border: none;
  border-radius: var(--ll-radius-md) 0 0 var(--ll-radius-md);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,0.18);
  color: white;
  transition: background var(--ll-dur-base);
}
.ll-search input::placeholder { color: rgba(255,255,255,0.7); }
.ll-search input:focus { background: rgba(255,255,255,0.28); }

.ll-btn-accent {
  padding: 10px 20px;
  background: var(--ll-accent);
  color: white;
  border: none;
  border-radius: 0 var(--ll-radius-md) var(--ll-radius-md) 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ll-dur-fast);
}
.ll-btn-accent:hover { background: var(--ll-accent-dark); }

.ll-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: var(--ll-radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ll-dur-base);
}
.ll-btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.ll-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ll-nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--ll-radius-md);
  transition: color var(--ll-dur-fast), background var(--ll-dur-fast);
}
.ll-nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.10);
}

/* ============================================================
   MAIN
   ============================================================ */
.ll-main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ============================================================
   MAP
   ============================================================ */
.ll-map {
  flex: 1;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

#map {
  position: absolute;
  inset: 0;
}

.leaflet-container {
  background: #f2efe9;
}

/* Loading overlay */
#map-loading {
  position: absolute;
  inset: 0;
  background: rgba(247,245,242,0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1000;
  pointer-events: none;
  font-size: 13px;
  color: var(--ll-fg-muted);
}

.ll-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--ll-border);
  border-top-color: var(--ll-primary);
  border-radius: 50%;
  animation: ll-spin 0.75s linear infinite;
}
@keyframes ll-spin { to { transform: rotate(360deg); } }

/* Map controls */
#map-controls {
  position: absolute;
  bottom: 110px;
  right: 10px;
  z-index: 500;
}

.ll-locate-btn {
  width: 38px;
  height: 38px;
  background: white;
  border: none;
  border-radius: var(--ll-radius-sm);
  cursor: pointer;
  color: var(--ll-primary);
  box-shadow: 0 1px 5px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ll-dur-fast);
}
.ll-locate-btn:hover { background: #f4f4f4; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.ll-sidebar {
  width: 400px;
  flex-shrink: 0;
  background: var(--ll-bg);
  border-left: 1px solid var(--ll-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ll-sidebar-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ll-border);
  background: var(--ll-surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.ll-sidebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ll-sidebar-header h2 {
  font-family: var(--ll-font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ll-fg);
  white-space: nowrap;
}

.ll-count-pill {
  font-size: 11px;
  color: var(--ll-fg-muted);
  background: var(--ll-bg);
  padding: 4px 12px;
  border-radius: var(--ll-radius-pill);
  border: 1px solid var(--ll-border);
  font-weight: 600;
}

.ll-cat-filter {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--ll-border);
  border-radius: var(--ll-radius-md);
  font-family: inherit;
  font-size: 13px;
  color: var(--ll-fg);
  background: var(--ll-bg);
  cursor: pointer;
  outline: none;
  transition: border-color var(--ll-dur-base);
}
.ll-cat-filter:focus { border-color: var(--ll-primary); }

.ll-biz-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ll-biz-list::-webkit-scrollbar { width: 6px; }
.ll-biz-list::-webkit-scrollbar-track { background: transparent; }
.ll-biz-list::-webkit-scrollbar-thumb { background: var(--ll-border); border-radius: 3px; }

/* ============================================================
   PHOTO TREATMENTS
   ============================================================ */
.ll-photo {
  position: relative;
  background: linear-gradient(135deg, #8a6f4c 0%, #5a4630 100%);
  overflow: hidden;
}
.ll-photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.4  0 0 0 0 0.3  0 0 0 1 0'/></filter><rect width='80' height='80' filter='url(%23n)'/></svg>");
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ll-photo-warm  { background: radial-gradient(circle at 30% 35%, rgba(244,162,97,0.55) 0%, transparent 38%), linear-gradient(135deg, #8a6f4c 0%, #4a3a26 100%); }
.ll-photo-green { background: radial-gradient(circle at 70% 40%, rgba(45,66,112,0.55) 0%, transparent 40%), linear-gradient(160deg, #2D4270 0%, #111C35 100%); }
.ll-photo-dawn  { background: linear-gradient(170deg, #E8C9A4 0%, #C77B3A 60%, #5a3a26 100%); }
.ll-photo-dusk  { background: linear-gradient(180deg, #1C2B4A 0%, #5a3a3a 60%, #1A1A1A 100%); }
.ll-photo-url        { background: #d4cfc9; background-size: cover; background-position: center; }
.ll-photo-cloudinary { background-color: #d4cfc9; background-size: cover; background-position: center; }

.ll-photo-cap {
  position: absolute; left: 10px; bottom: 8px; right: 10px;
  font-family: var(--ll-font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(250,247,242,0.82);
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   BUSINESS CARD
   ============================================================ */
.ll-biz-card {
  background: var(--ll-surface);
  border-radius: var(--ll-radius-md);
  padding: 0;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: var(--ll-shadow-xs);
  transition: border-color var(--ll-dur-fast), box-shadow var(--ll-dur-fast);
  overflow: hidden;
  flex-shrink: 0;
}
.ll-biz-card:hover {
  border-color: var(--ll-primary-light);
  box-shadow: var(--ll-shadow-md);
}
.ll-biz-card.is-active {
  border-color: var(--ll-primary);
  box-shadow: 0 2px 12px rgba(45,106,79,0.2);
}

.ll-biz-photo {
  aspect-ratio: 16/9;
  position: relative;
}
.ll-biz-photo-cat {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 9px; font-weight: 700;
  color: white;
  padding: 3px 7px;
  border-radius: var(--ll-radius-pill);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
}

/* Carousel chrome */
.ll-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 0;
  padding: 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--ll-dur-fast), background var(--ll-dur-fast);
  z-index: 2;
}
.ll-biz-photo:hover .ll-carousel-arrow { opacity: 1; }
.ll-details-hero:hover .ll-carousel-arrow { opacity: 1; }
.ll-carousel-arrow:hover { background: rgba(0,0,0,0.65); }
.ll-carousel-prev { left: 6px; }
.ll-carousel-next { right: 6px; }

.ll-carousel-dots {
  position: absolute;
  right: 8px; top: 8px;
  display: flex;
  gap: 4px;
  padding: 4px 6px;
  border-radius: var(--ll-radius-pill);
  background: rgba(0,0,0,0.32);
  z-index: 2;
}
.ll-carousel-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  padding: 0;
  cursor: pointer;
  transition: background var(--ll-dur-fast), width var(--ll-dur-fast);
}
.ll-carousel-dot.is-on {
  background: white;
  width: 12px;
  border-radius: var(--ll-radius-pill);
}

.ll-biz-body { padding: 12px 14px 14px; }

.ll-biz-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.ll-biz-head h3 {
  font-family: var(--ll-font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ll-fg);
  line-height: 1.1;
  letter-spacing: -0.005em;
  flex: 1;
  min-width: 0;
}
.ll-biz-rating {
  font-size: 12px;
  color: var(--ll-fg-muted);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ll-biz-rating-meta { font-weight: 600; }
.ll-biz-loc { font-size: 12px; color: var(--ll-fg-muted); margin-bottom: 6px; }
.ll-biz-desc {
  font-size: 13px;
  color: var(--ll-fg-2);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ll-biz-links { display: flex; gap: 14px; flex-wrap: wrap; }
.ll-biz-links a {
  font-size: 12px;
  color: var(--ll-primary);
  text-decoration: none;
  font-weight: 600;
}
.ll-biz-links a:hover { text-decoration: underline; }

/* ============================================================
   BADGES
   ============================================================ */
.ll-cat-badge {
  font-size: 10px;
  font-weight: 700;
  color: white;
  padding: 3px 8px;
  border-radius: var(--ll-radius-pill);
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.ll-pricing {
  font-size: 11px;
  font-weight: 700;
  color: var(--ll-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   STARS
   ============================================================ */
.ll-stars { letter-spacing: 1px; line-height: 1; display: inline-flex; align-items: baseline; gap: 2px; }
.ll-stars-filled { color: var(--ll-accent); }
.ll-stars-empty  { color: #ddd; }
.ll-stars-meta   { font-size: 12px; color: var(--ll-fg-muted); font-weight: 600; letter-spacing: 0; }

.ll-star-picker { display: flex; gap: 4px; margin-bottom: 10px; }
.ll-star-picker span {
  font-size: 30px;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  transition: color var(--ll-dur-fast);
}
.ll-star-on  { color: var(--ll-accent); }
.ll-star-off { color: #ddd; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.ll-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--ll-fg-muted);
  font-size: 14px;
  line-height: 1.6;
}
.ll-empty p + p { margin-top: 8px; }
.ll-link-btn {
  background: none;
  border: none;
  color: var(--ll-primary);
  font-weight: 700;
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
}

/* ============================================================
   MODAL
   ============================================================ */
.ll-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--ll-overlay);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ll-modal {
  background: var(--ll-surface);
  border-radius: var(--ll-radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--ll-shadow-xl);
}

.ll-modal-header {
  border-bottom: 1px solid var(--ll-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  background: var(--ll-surface);
  z-index: 1;
}
.ll-modal-header-inner {
  padding: 22px 26px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ll-modal-header h2 {
  font-family: var(--ll-font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ll-primary-dark);
  letter-spacing: -0.01em;
}
.ll-progress-bar {
  height: 3px;
  background: var(--ll-border);
}
.ll-progress-fill {
  height: 100%;
  background: var(--ll-primary);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ll-step[hidden] { display: none; }
.ll-step-nav {
  display: flex;
  gap: 10px;
}
.ll-step-nav .ll-btn-ghost { min-width: 90px; }
.ll-step-nav .ll-btn-primary { flex: 1; justify-content: center; }
.ll-step-nav .ll-btn[hidden] { display: none; }
.ll-field input.ll-error,
.ll-field select.ll-error,
.ll-field textarea.ll-error {
  border-color: #d92b2b;
  background: #fff5f5;
}

.ll-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ll-fg-muted);
  line-height: 1;
  padding: 0 6px;
  transition: color var(--ll-dur-fast);
}
.ll-close:hover { color: var(--ll-fg); }

.ll-form {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ll-field-row { display: flex; gap: 12px; }
.ll-field { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.ll-field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ll-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ll-field input,
.ll-field select,
.ll-field textarea {
  padding: 9px 12px;
  border: 1.5px solid var(--ll-border);
  border-radius: var(--ll-radius-md);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--ll-dur-base);
  background: white;
  color: var(--ll-fg);
}
.ll-field input:focus,
.ll-field select:focus,
.ll-field textarea:focus { border-color: var(--ll-primary); }
.ll-field textarea { resize: vertical; min-height: 80px; line-height: 1.45; }

.ll-form-note { font-size: 12px; color: var(--ll-fg-muted); font-style: italic; }
.ll-field-hint { font-size: 12px; color: var(--ll-primary); background: var(--ll-primary-tint); border-left: 3px solid var(--ll-primary); padding: 8px 12px; border-radius: 0 4px 4px 0; line-height: 1.5; }
.ll-paste-toggle-row { text-align: right; margin: -4px 0 8px; }
.ll-social-toggle-row { margin: -4px 0 8px; }
/* ====== Address autocomplete ====== */
.ll-addr-search-wrap { position: relative; }
.ll-addr-search-wrap input { width: 100%; }
.ll-addr-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: white;
  border: 1.5px solid var(--ll-border);
  border-radius: var(--ll-radius-md);
  box-shadow: var(--ll-shadow-md);
  list-style: none;
  margin: 0; padding: 4px 0;
  z-index: 1000;
  max-height: 240px;
  overflow-y: auto;
}
.ll-addr-suggestions[hidden] { display: none; }
.ll-addr-suggestions li {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ll-fg);
  cursor: pointer;
  line-height: 1.4;
  border-bottom: 1px solid var(--ll-border);
}
.ll-addr-suggestions li:last-child { border-bottom: none; }
.ll-addr-suggestions li:hover { background: var(--ll-primary-tint); color: var(--ll-primary); }

.ll-extra-location { border: 1.5px dashed var(--ll-border); border-radius: var(--ll-radius-md); padding: 16px; margin-bottom: 12px; }
.ll-extra-loc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ll-extra-loc-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ll-fg-muted); }
.ll-social-wrap { display: flex; align-items: stretch; }
.ll-social-prefix { display: flex; align-items: center; padding: 0 8px; background: var(--ll-surface-2); border: 1px solid var(--ll-border); border-right: none; border-radius: 4px 0 0 4px; font-size: 12px; color: var(--ll-fg-muted); white-space: nowrap; }
.ll-social-wrap input { border-radius: 0 4px 4px 0; flex: 1; }
.ll-phone-wrap { display: flex; align-items: stretch; }
.ll-phone-code { display: flex; align-items: center; padding: 0 10px; background: var(--ll-surface-2); border: 1px solid var(--ll-border); border-right: none; border-radius: 4px 0 0 4px; font-size: 13px; color: var(--ll-fg-muted); white-space: nowrap; font-weight: 500; }
.ll-phone-wrap input { border-radius: 0 4px 4px 0; flex: 1; }

/* Shared button */
.ll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ll-font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--ll-radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ll-dur-fast);
}
.ll-btn:disabled { background: #c0bcb6 !important; cursor: not-allowed; }
.ll-btn-primary { background: var(--ll-primary); color: white; }
.ll-btn-primary:hover { background: var(--ll-primary-dark); }
.ll-btn-block { width: 100%; padding: 13px 20px; justify-content: center; }

/* ============================================================
   TOAST
   ============================================================ */
.ll-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #1A1A1A;
  color: white;
  padding: 12px 22px;
  border-radius: var(--ll-radius-md);
  font-size: 14px;
  z-index: 99999;
  box-shadow: var(--ll-shadow-lg);
  white-space: nowrap;
  animation: ll-toast-in var(--ll-dur-slow) var(--ll-ease), ll-toast-out var(--ll-dur-base) var(--ll-ease) 3s forwards;
}
@keyframes ll-toast-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes ll-toast-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ============================================================
   BUSINESS DETAILS — full-page takeover
   ============================================================ */
.ll-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ll-bg);
}

.ll-details-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 28px;
  background: var(--ll-surface);
  border-bottom: 1px solid var(--ll-border);
}

.ll-details-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ll-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
}
.ll-details-back:hover { color: var(--ll-primary-dark); }
.ll-details-back span { font-size: 16px; line-height: 1; }

.ll-breadcrumb {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ll-fg-muted);
  font-family: var(--ll-font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ll-breadcrumb .sep { color: var(--ll-border-strong); }
.ll-breadcrumb .current { color: var(--ll-fg); }

.ll-details-actions { display: flex; gap: 6px; flex-shrink: 0; }
.ll-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--ll-border);
  border-radius: var(--ll-radius-md);
  padding: 7px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ll-fg);
  cursor: pointer;
  transition: border-color var(--ll-dur-fast), color var(--ll-dur-fast);
}
.ll-action-btn:hover { border-color: var(--ll-primary); color: var(--ll-primary); }

/* Scroll body */
.ll-details-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 32px 32px 64px;
}
.ll-details-scroll > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* Gallery */
.ll-details-gallery { margin-bottom: 32px; }
.ll-details-hero {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--ll-radius-lg);
  overflow: hidden;
  box-shadow: var(--ll-shadow-sm);
}
.ll-details-hero .ll-photo-cap { font-size: 11px; bottom: 12px; left: 14px; }
.ll-details-hero .ll-carousel-arrow { width: 36px; height: 36px; font-size: 22px; background: rgba(0,0,0,0.5); }
.ll-details-hero .ll-carousel-prev { left: 14px; }
.ll-details-hero .ll-carousel-next { right: 14px; }
.ll-details-hero .ll-carousel-dots {
  top: auto; right: auto;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  padding: 6px 10px;
}
.ll-details-hero .ll-carousel-dot { width: 6px; height: 6px; }
.ll-details-hero .ll-carousel-dot.is-on { width: 18px; }

.ll-details-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.ll-details-thumb {
  flex: 0 0 96px;
  height: 64px;
  border-radius: var(--ll-radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity var(--ll-dur-fast), border-color var(--ll-dur-fast);
}
.ll-details-thumb:hover { opacity: 1; }
.ll-details-thumb.is-on { opacity: 1; border-color: var(--ll-primary); }

/* Title block */
.ll-details-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
}
.ll-details-head-left { min-width: 0; }
.ll-details-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ll-details-eyebrow .ll-cat-badge { font-size: 10px; padding: 4px 10px; }
.ll-details-pricing { font-size: 13px; font-weight: 700; color: var(--ll-primary); letter-spacing: 0.5px; }
.ll-details-sep { color: var(--ll-border-strong); }
.ll-details-place { font-family: var(--ll-font-body); font-size: 13px; font-weight: 600; color: var(--ll-fg-muted); }

.ll-details-title {
  font-family: var(--ll-font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ll-fg);
  margin-bottom: 14px;
}

.ll-details-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ll-fg-2);
}
.ll-details-rating-row strong { color: var(--ll-fg); }
.ll-details-rev-count { color: var(--ll-fg-muted); }
.ll-details-jump { color: var(--ll-primary); text-decoration: none; font-weight: 600; }
.ll-details-jump:hover { text-decoration: underline; }

.ll-details-head-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
}
.ll-details-head-right .ll-btn { padding: 14px 26px; font-size: 15px; justify-content: center; }

.ll-details-cta-row { display: flex; gap: 8px; flex-direction: column; }
.ll-details-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ll-fg-2);
  text-decoration: none;
  padding: 4px 0;
  font-weight: 500;
}
.ll-details-cta:hover { color: var(--ll-primary); }
.ll-details-cta svg { color: var(--ll-fg-muted); flex-shrink: 0; }
.ll-details-cta:hover svg { color: var(--ll-primary); }

.ll-details-rule { border: none; border-top: 1px solid var(--ll-border); margin: 24px 0; }

/* Info bar */
.ll-details-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--ll-surface);
  border-radius: var(--ll-radius-lg);
  border: 1px solid var(--ll-border);
  overflow: hidden;
}
.ll-info-cell { padding: 20px 24px; border-right: 1px solid var(--ll-border); }
.ll-info-cell:last-child { border-right: none; }
.ll-info-k {
  font-family: var(--ll-font-body);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ll-fg-muted); margin-bottom: 8px;
}
.ll-info-v { font-size: 15px; font-weight: 600; color: var(--ll-fg); line-height: 1.4; }
.ll-info-sub { font-size: 12px; color: var(--ll-fg-muted); margin-top: 4px; line-height: 1.4; }
.ll-open-now { color: var(--ll-primary); font-weight: 700; }

/* Sections */
.ll-details-section { padding: 32px 0; }

/* ====== Review photo upload ====== */
.ll-review-photo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ll-review-photo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ll-primary);
  cursor: pointer;
  padding: 7px 14px;
  border: 1.5px solid var(--ll-primary);
  border-radius: var(--ll-radius-md);
  transition: background var(--ll-dur-fast);
}
.ll-review-photo-label:hover { background: var(--ll-primary-tint); }
.ll-review-photo { width: 100%; max-width: 320px; border-radius: var(--ll-radius-md); margin: 8px 0; object-fit: cover; }

/* ====== Review video embed ====== */
.ll-review-video {
  margin: 10px 0;
  width: 220px;
  aspect-ratio: 9/16;
  border-radius: var(--ll-radius-md);
  overflow: hidden;
  background: var(--ll-surface-2);
}
.ll-review-video iframe { width: 100%; height: 100%; border: none; }

/* ====== Community Videos ====== */
.ll-video-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.ll-video-rail::-webkit-scrollbar { height: 4px; }
.ll-video-rail::-webkit-scrollbar-thumb { background: var(--ll-border); border-radius: 2px; }
.ll-video-card {
  flex-shrink: 0;
  width: 300px;
  aspect-ratio: 9/16;
  border-radius: var(--ll-radius-md);
  overflow: hidden;
  background: var(--ll-surface-2);
  scroll-snap-align: start;
}
.ll-video-card iframe { width: 100%; height: 100%; border: none; }
.ll-details-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ll-details-h2 {
  font-family: var(--ll-font-display);
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ll-fg); line-height: 1.1;
}
.ll-details-section-sub { font-size: 14px; color: var(--ll-fg-muted); margin-bottom: 18px; max-width: 56ch; }
.ll-details-prose {
  font-family: var(--ll-font-body);
  font-size: 17px; line-height: 1.7;
  color: var(--ll-fg-2); max-width: 62ch;
}
.ll-details-prose + .ll-details-prose { margin-top: 1em; }
.ll-details-prose a { color: var(--ll-primary); font-weight: 600; }

.ll-details-rating-big { display: flex; align-items: center; gap: 14px; }
.ll-details-rating-num {
  font-family: var(--ll-font-display);
  font-size: 48px; font-weight: 500; line-height: 1;
  color: var(--ll-fg); letter-spacing: -0.01em;
}
.ll-details-rating-meta { font-size: 12px; color: var(--ll-fg-muted); margin-top: 2px; }

.ll-details-reviews { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }
.ll-details-review { padding: 18px 0; border-bottom: 1px solid var(--ll-border); }
.ll-details-review:last-child { border-bottom: none; }
.ll-details-review-row {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 8px;
}
.ll-details-review-text { font-size: 15px; line-height: 1.6; color: var(--ll-fg); margin-bottom: 6px; max-width: 62ch; }
.ll-review-date { font-size: 11px; color: var(--ll-fg-muted); }
.ll-review-author { font-size: 11px; color: var(--ll-fg-muted); }
.ll-review-empty { font-size: 13px; color: var(--ll-fg-muted); font-style: italic; padding: 12px 0; }

/* Review form */
.ll-details-form {
  background: var(--ll-surface);
  border-radius: var(--ll-radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--ll-border);
  display: flex; flex-direction: column; gap: 10px;
  max-width: 720px;
}
.ll-details-form h3 {
  font-family: var(--ll-font-display);
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.005em; color: var(--ll-fg);
}
.ll-details-form-note { font-size: 13px; color: var(--ll-fg-muted); line-height: 1.5; }
.ll-details-form input,
.ll-details-form textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--ll-border);
  border-radius: var(--ll-radius-md);
  font-family: inherit;
  font-size: 14px;
  background: white;
  outline: none;
  transition: border-color var(--ll-dur-base);
  resize: vertical;
  width: 100%;
}
.ll-details-form input:focus,
.ll-details-form textarea:focus { border-color: var(--ll-primary); }
.ll-details-form .ll-btn { align-self: flex-start; margin-top: 6px; }

/* Similar */
.ll-similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ll-similar-card {
  background: var(--ll-surface);
  border-radius: var(--ll-radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--ll-shadow-xs);
  transition: border-color var(--ll-dur-fast), transform var(--ll-dur-base), box-shadow var(--ll-dur-fast);
}
.ll-similar-card:hover {
  border-color: var(--ll-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--ll-shadow-md);
}
.ll-similar-photo { aspect-ratio: 16/9; position: relative; }
.ll-similar-cat { position: absolute; top: 8px; left: 8px; font-size: 9px; padding: 3px 7px; z-index: 1; }
.ll-similar-body { padding: 12px 14px 14px; }
.ll-similar-body h4 {
  font-family: var(--ll-font-display);
  font-size: 20px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--ll-fg); line-height: 1.15; margin-bottom: 6px;
}
.ll-similar-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ll-fg-muted); }

/* Details footer */
.ll-details-foot {
  display: flex; justify-content: space-between;
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--ll-border);
  font-family: var(--ll-font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ll-fg-muted);
}
.ll-details-foot a { color: var(--ll-fg-2); text-decoration: none; }
.ll-details-foot a:hover { color: var(--ll-primary); }

/* ============================================================
   MOBILE  ≤680px
   ============================================================ */
@media (max-width: 680px) {
  /* Header: wrap to two rows — logo + add-btn on row 1, search full-width on row 2 */
  .ll-header { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
  .ll-logo-mark img { width: 40px !important; height: 40px !important; }
  .ll-logo-text { font-size: 22px; }
  .ll-nav-links { display: none; }
  .ll-btn-ghost { display: none; }
  .ll-search { order: 3; flex: 0 0 100%; max-width: 100%; }

  /* Map + sidebar stack vertically */
  .ll-main { flex-direction: column; }
  .ll-map { height: 45vh; flex: none; }
  #map-controls { bottom: 10px; }
  .ll-sidebar { width: 100%; flex: 1; border-left: none; border-top: 1px solid var(--ll-border); min-height: 0; }

  /* Details bar */
  .ll-details-bar { padding: 10px 16px; gap: 10px; }
  .ll-breadcrumb { display: none; }

  /* Details scroll */
  .ll-details-scroll { padding: 16px 16px 48px; }
  .ll-details-head { grid-template-columns: 1fr; gap: 16px; }
  .ll-details-head-right { min-width: auto; }

  /* Info bar: stack cells */
  .ll-details-info { grid-template-columns: 1fr; }
  .ll-info-cell { border-right: none; border-bottom: 1px solid var(--ll-border); }
  .ll-info-cell:last-child { border-bottom: none; }

  /* Similar grid: 2 cols */
  .ll-similar-grid { grid-template-columns: 1fr 1fr; }

  /* Business cards — single column, full info visible */
  .ll-biz-list { display: flex; flex-direction: column; gap: 12px; padding: 10px; overflow-y: auto; }
  .ll-biz-photo { aspect-ratio: 16/9; }
  .ll-biz-head h3 { font-size: 18px; }
  .ll-biz-body { padding: 12px 14px 14px; }
  .ll-biz-desc { display: -webkit-box; }
  .ll-biz-links { display: flex; }

  /* Modal: bottom sheet */
  .ll-modal-overlay { align-items: flex-end; padding: 0; }
  .ll-modal { border-radius: 16px 16px 0 0; max-height: 92vh; }
  .ll-field-row { flex-wrap: wrap; }

  /* Wizard: modal becomes flex column; form scrolls; nav pins to bottom */
  .ll-modal { position: relative; display: flex; flex-direction: column; overflow: hidden; }
  .ll-modal-header { flex-shrink: 0; }
  .ll-modal-header-inner { padding: 14px 20px 12px; }
  .ll-form { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 20px 80px; gap: 12px; }
  .ll-form-note { font-size: 11px; }
  .ll-step-nav {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--ll-surface);
    padding: 10px 20px 20px;
    border-top: 1px solid var(--ll-border);
    z-index: 2;
  }
}
