:root {
  --lm-bg: #f8f6f1;
  --lm-white: #ffffff;
  --lm-green: #1b5e3f;
  --lm-green-dark: #0f3d28;
  --lm-green-light: #e8f5e9;
  --lm-green-soft: #d4edda;
  --lm-blue: #eef6f0;
  --lm-cream: #f5f3ee;
  --lm-gold: #c8a165;
  --lm-gold-light: #f0e6d3;
  --lm-red: #c0392b;
  --lm-yellow: #d4a373;
  --lm-text: #1f2937;
  --lm-text-muted: #6b7280;
  --lm-border: #e8e4dc;
  --lm-radius: 18px;
  --lm-radius-sm: 14px;
  --lm-shadow: 0 4px 16px rgba(27, 94, 63, 0.10);
  --lm-shadow-sm: 0 2px 8px rgba(27, 94, 63, 0.06);
  --nav-h: 72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--lm-bg);
  color: var(--lm-text);
  min-height: 100vh;
  padding-bottom: var(--nav-h);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }
.hidden { display: none !important; }

/* ===== HEADER ===== */
.lm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #f5f3ee 0%, var(--lm-bg) 100%);
  padding: 12px 16px 10px;
}
.lm-header-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lm-location {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--lm-border);
  border-radius: 5px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--lm-green-dark);
  cursor: pointer;
  box-shadow: var(--lm-shadow-sm);
  max-width: 260px;
}
.lm-location-icon { font-size: 15px; }
.lm-location-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lm-location-caret {
  font-size: 10px;
  color: var(--lm-text-muted);
  margin-left: 2px;
}
.lm-fav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--lm-border);
  background: rgba(255,255,255,0.92);
  font-size: 18px;
  color: var(--lm-green);
  cursor: pointer;
  box-shadow: var(--lm-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lm-fav-btn:hover {
  background: var(--lm-green-light);
}

/* ===== HERO BANNER ===== */
.lm-hero {
  background: linear-gradient(180deg, #f5f3ee 0%, var(--lm-bg) 100%);
  padding: 0 16px 16px;
}
.lm-hero-card {
  max-width: 560px;
  min-height: 120px;
  margin: 0 auto;
  background: var(--lm-white);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--lm-shadow);
  position: relative;
  overflow: hidden;
}
.lm-hero-slides { position: absolute; inset: 0; }
.lm-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; background-size: cover; background-position: center; }
.lm-hero-slide.active { opacity: 1; }
.lm-hero-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.lm-hero-dot { width: 8px; height: 8px; border: none; border-radius: 50%; background: rgba(255,255,255,0.7); cursor: pointer; }
.lm-hero-dot.active { background: var(--lm-green); width: 18px; border-radius: 4px; }
.lm-hero-content { position: relative; z-index: 2; padding: 18px 20px; width: 100%; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.92) 35%, rgba(255,255,255,0.98) 100%); }
.lm-hero-info { flex: 1; z-index: 1; }
.lm-hero-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.lm-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.lm-badge-red {
  background: var(--lm-green-dark);
  color: #fff;
}
.lm-badge-white {
  background: var(--lm-gold-light);
  color: var(--lm-green-dark);
  border: 1px solid var(--lm-gold);
}
.lm-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--lm-green-dark);
  line-height: 1.35;
  margin-bottom: 6px;
}
.lm-hero-sub {
  font-size: 12px;
  color: var(--lm-text-muted);
}
.lm-hero-visual { display: none; }

/* Compact header style */
.lm-hero-card.compact,
.lm-hero-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lm-hero-compact {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.95) 100%);
}
.lm-hero-text { flex: 1; min-width: 0; }
.lm-hero-logo {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 6px;
}
.lm-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lm-hero-compact .lm-hero-title {
  font-size: 17px;
  margin-bottom: 4px;
  line-height: 1.35;
}
.lm-hero-compact .lm-hero-sub {
  font-size: 11px;
  margin: 0;
}
.lm-hero-compact .lm-hero-badges {
  margin-bottom: 6px;
}

@media (max-width: 360px) {
  .lm-hero-compact {
    padding: 12px 14px;
    gap: 10px;
  }
  .lm-hero-logo {
    width: 58px;
    height: 58px;
  }
  .lm-hero-compact .lm-hero-title {
    font-size: 15px;
  }
}

/* ===== MAIN ===== */
.lm-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== CATEGORY GRID ===== */
.lm-cat-section { margin-bottom: 16px; }
.lm-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.lm-cat-card {
  background: var(--lm-white);
  border-radius: var(--lm-radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--lm-shadow-sm);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--lm-border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.lm-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lm-shadow);
  border-color: var(--lm-gold);
}
.lm-cat-info { flex: 1; min-width: 0; }
.lm-cat-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--lm-green-dark);
  margin-bottom: 5px;
  line-height: 1.25;
}
.lm-cat-promo {
  display: inline-block;
  background: var(--lm-gold-light);
  color: var(--lm-green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
}
.lm-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  background: var(--lm-green-light);
  overflow: hidden;
}
.lm-cat-icon img.lm-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lm-cat-icon .lm-cat-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.lm-cat-icon img.lm-cat-img:only-child {
  display: block;
}
.lm-cat-icon img.lm-cat-img + .lm-cat-emoji {
  display: none;
}
.lm-cat-icon img.lm-cat-img[style*='display: none'] + .lm-cat-emoji {
  display: flex;
}

/* ===== GRAND SALE BANNER ===== */
.lm-grand-sale {
  background: linear-gradient(135deg, var(--lm-green) 0%, #0f3d28 100%);
  border-radius: var(--lm-radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: var(--lm-shadow);
  cursor: pointer;
  border: 1px solid rgba(200,161,101,0.4);
}
.lm-grand-badge {
  display: inline-block;
  background: var(--lm-gold);
  color: var(--lm-green-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  margin-bottom: 6px;
}
.lm-grand-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.3;
}
.lm-grand-desc {
  font-size: 12px;
  opacity: 0.95;
}
.lm-grand-arrow {
  width: 34px;
  height: 34px;
  background: rgba(200,161,101,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--lm-gold);
}

/* ===== SEARCH ===== */
.lm-search-section { margin-bottom: 16px; }
.lm-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--lm-white);
  border-radius: 28px;
  padding: 4px 4px 4px 14px;
  box-shadow: var(--lm-shadow-sm);
  border: 1px solid var(--lm-border);
}
.lm-search-icon { font-size: 16px; color: var(--lm-green); }
.lm-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  font-family: inherit;
}
.lm-search-bar input::placeholder { color: #9ca3af; }
.lm-search-go {
  background: var(--lm-green);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.lm-search-go:hover { background: var(--lm-green-dark); }

/* ===== SECTIONS ===== */
.lm-section {
  margin-bottom: 18px;
  padding-top: 8px;
  scroll-margin-top: 80px;
}
.lm-section-head {
  position: sticky;
  top: 52px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
  padding: 6px 0;
  background: var(--lm-bg);
}
.lm-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--lm-green-dark);
  line-height: 1.2;
}
.lm-tabs {
  display: flex;
  gap: 4px;
  background: var(--lm-bg);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}
.lm-tab {
  border: none;
  background: none;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lm-text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.lm-tab.active {
  background: var(--lm-green);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* ===== CARD GRID ===== */
.lm-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.lm-card {
  display: block;
  background: var(--lm-white);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--lm-border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.lm-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lm-shadow);
  border-color: var(--lm-gold);
}
.lm-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--lm-bg);
  border-radius: 12px;
}
.lm-card-dist {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 8px;
  background: rgba(27,94,63,0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  z-index: 2;
}
.lm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lm-card-body {
  padding: 10px;
}
.lm-card-body h3 {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--lm-green-dark);
}
.lm-card-sub {
  font-size: 11px;
  color: var(--lm-text-muted);
}
.lm-card-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--lm-green-dark);
  margin-top: 4px;
}

/* ===== HORIZONTAL SCROLL ===== */
.lm-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.lm-scroll::-webkit-scrollbar { display: none; }
.lm-scroll .lm-card {
  flex: 0 0 auto;
  width: 130px;
  scroll-snap-align: start;
}
.lm-scroll .lm-card.compact .lm-card-img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}
.lm-scroll .lm-card.compact .lm-card-dist {
  font-size: 10px;
  padding: 2px 5px;
  bottom: 4px;
  left: 4px;
}
.lm-scroll .lm-card.compact .lm-card-img img {
  border-radius: 12px;
}
.lm-scroll .lm-card.compact .lm-card-body {
  padding: 6px 2px;
}
.lm-scroll .lm-card.compact .lm-card-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--lm-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lm-scroll .lm-card.compact .lm-card-sub {
  font-size: 10px;
  color: var(--lm-text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== VIEW ALL BUTTON ===== */
.lm-view-all {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--lm-border);
  border-radius: 10px;
  background: var(--lm-white);
  font-size: 13px;
  font-weight: 700;
  color: var(--lm-green);
  cursor: pointer;
  font-family: inherit;
}
.lm-view-all:hover {
  background: var(--lm-green-light);
  border-color: var(--lm-green-soft);
}
.lm-view-all.hidden { display: none; }

/* ===== STATS STRIP ===== */
.lm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.lm-stat {
  background: var(--lm-white);
  border-radius: var(--lm-radius-sm);
  padding: 12px 4px;
  text-align: center;
  box-shadow: var(--lm-shadow-sm);
  border: 1px solid var(--lm-border);
}
.lm-stat strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--lm-green);
  margin-bottom: 2px;
}
.lm-stat span {
  font-size: 10px;
  color: var(--lm-text-muted);
}

/* ===== FOOTER ===== */
.lm-footer {
  text-align: center;
  padding: 20px 16px 28px;
  color: var(--lm-text-muted);
  font-size: 11px;
  background: linear-gradient(180deg, var(--lm-bg) 0%, #f5f3ee 100%);
}

/* ===== BOTTOM NAVIGATION ===== */
.lm-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--lm-white);
  border-top: 1px solid var(--lm-border);
  box-shadow: 0 -2px 12px rgba(27, 94, 63, 0.06);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: var(--nav-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.lm-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--lm-text-muted);
  font-size: 10px;
  font-weight: 600;
  position: relative;
  height: 100%;
}
.lm-nav-item.active {
  color: var(--lm-green-dark);
}
.lm-nav-item.active .lm-nav-icon {
  background: var(--lm-green-light);
}
.lm-nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--lm-green-light);
  margin-bottom: 3px;
  transition: transform 0.15s;
  overflow: hidden;
}
.lm-nav-icon img.lm-nav-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}
.lm-nav-icon .lm-nav-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.lm-nav-icon img.lm-nav-img + .lm-nav-emoji {
  display: none;
}
.lm-nav-icon img.lm-nav-img[style*='display: none'] + .lm-nav-emoji {
  display: flex;
}
.lm-nav-dot {
  position: absolute;
  top: 8px;
  right: calc(50% - 24px);
  width: 8px;
  height: 8px;
  background: var(--lm-red);
  border-radius: 50%;
  border: 2px solid #fff;
}

/* ===== LOADING ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(248,246,241,0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.loading-overlay.hidden { display: none; }
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--lm-border);
  border-top-color: var(--lm-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay p { color: var(--lm-text-muted); font-size: 14px; }

/* ===== MODAL ===== */
.lm-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.lm-modal.hidden { display: none; }
.lm-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.lm-modal-content { position: relative; width: 100%; max-width: 520px; max-height: 90vh; background: var(--lm-white); border-radius: 20px 20px 0 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 -8px 40px rgba(0,0,0,0.2); animation: slideUp 0.25s ease; }
.lm-modal-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
.lm-modal-scroll::-webkit-scrollbar { width: 6px; }
.lm-modal-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.lm-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: none; border-radius: 50%; background: rgba(255,255,255,0.9); font-size: 24px; line-height: 1; color: #333; cursor: pointer; z-index: 10; }
.lm-modal-gallery { position: relative; width: 100%; height: 240px; background: #f0f0f0; overflow: hidden; }
.lm-modal-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; }
.lm-modal-slide.active { opacity: 1; }
.lm-modal-slide img { width: 100%; height: 100%; object-fit: cover; }
.lm-modal-body { padding: 20px; }
.lm-modal-body h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--lm-green-dark); }
.lm-modal-address { margin: 0 0 14px; color: #666; font-size: 14px; }
.lm-modal-hours { margin-bottom: 16px; padding: 10px 14px; background: var(--lm-green-light); border-radius: 10px; font-size: 14px; color: var(--lm-green-dark); }
.lm-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.lm-btn-primary { background: var(--lm-green); color: white; }
.lm-btn-secondary { background: #f0f0f0; color: #333; }
.lm-gallery-prev, .lm-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #333;
  font-size: 20px;
  cursor: pointer;
  z-index: 6;
}
.lm-gallery-prev { left: 10px; }
.lm-gallery-next { right: 10px; }
.lm-gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 6;
}
.lm-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
}
.lm-gallery-dot.active {
  background: var(--lm-green);
  width: 16px;
  border-radius: 4px;
}
.lm-fb-feed {
  margin-top: 16px;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 16px;
}
.lm-fb-feed-header {
  margin-bottom: 10px;
}
.lm-fb-feed-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--lm-green);
}
.lm-fb-feed-loading {
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 16px 0;
}
.lm-fb-feed-empty {
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 16px 0;
}
.lm-fb-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lm-fb-post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.lm-fb-post-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.lm-fb-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lm-fb-post-body {
  padding: 10px;
}
.lm-fb-post-text {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
  margin-bottom: 6px;
}
.lm-fb-post-video video {
  width: 100%;
  border-radius: 8px;
}
.lm-fb-post-meta {
  font-size: 11px;
  color: #888;
}
.lm-fb-gallery-link { display: none; }
.lm-fb-story-link { display: none; }

.lm-count { font-size: 0.75em; font-weight: 500; color: var(--lm-green); margin-left: 6px; }
.lm-card { cursor: pointer; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== EMPTY / ERROR ===== */
.empty-msg {
  text-align: center;
  padding: 20px;
  color: var(--lm-text-muted);
  font-size: 13px;
}

/* Responsive */
@media (min-width: 768px) {
  body {
    background: #f5f3ee;
  }
  .lm-main, .lm-hero-card {
    max-width: 640px;
  }
}

@media (min-width: 1024px) {
  .lm-main, .lm-hero-card {
    max-width: 720px;
  }
  .lm-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .lm-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* List pages: events.html / trips.html */
.lm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.lm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 720px;
  margin: 0 auto;
}
.lm-back {
  font-size: 15px;
  color: #1a5f4a;
  text-decoration: none;
  min-width: 56px;
}
.lm-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2e1a;
  margin: 0;
}
.lm-header-spacer {
  min-width: 56px;
}

.lm-list-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  padding-bottom: 90px;
}

.lm-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lm-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  color: #555;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.lm-tab.active {
  background: #1a5f4a;
  color: #fff;
  border-color: #1a5f4a;
}

.lm-card-list {
  display: grid;
  gap: 14px;
}
.lm-list-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  align-items: flex-start;
}
.lm-list-thumb {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lm-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lm-list-emoji {
  font-size: 36px;
}
.lm-list-body {
  flex: 1;
  min-width: 0;
}
.lm-list-badge {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  font-weight: 600;
}
.lm-list-badge.active { background: #e6f8ed; color: #1a5f4a; }
.lm-list-badge.upcoming { background: #fff5e6; color: #b36b00; }
.lm-list-badge.past { background: #f0f0f0; color: #666; }
.lm-list-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a2e1a;
  margin: 0 0 4px;
  line-height: 1.3;
}
.lm-list-meta {
  font-size: 13px;
  color: #666;
  margin: 0 0 6px;
}
.lm-list-desc {
  font-size: 13px;
  color: #555;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lm-list-link {
  font-size: 13px;
  color: #1a5f4a;
  text-decoration: none;
  font-weight: 600;
}

/* bottom nav active state */
.lm-nav-item.active {
  color: #1a5f4a;
}

/* ===== Grand Sale / Promotions block ===== */
.gs-promo {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.gs-event,
.gs-trip,
.gs-coupon,
.gs-event-card,
.gs-trip-card,
.gs-coupon-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}

/* Top row: Event */
.gs-event-card {
  position: relative;
  min-height: 180px;
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gs-event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.gs-event-overlay {
  position: relative;
  z-index: 1;
}
.gs-event-badge {
  display: inline-block;
  background: #ff4757;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gs-event-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.gs-event-desc {
  font-size: 13px;
  margin: 0;
  opacity: 0.95;
}

/* Bottom row */
.gs-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Bottom left: Trip */
.gs-trip-card {
  position: relative;
  min-height: 220px;
  background: linear-gradient(135deg, #1dd1a1 0%, #10ac84 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.gs-trip-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.gs-trip-overlay {
  position: relative;
  z-index: 1;
}
.gs-trip-badge {
  display: inline-block;
  background: #10ac84;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.gs-trip-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.gs-trip-meta {
  font-size: 12px;
  opacity: 0.95;
}

/* Bottom right: Coupon */
.gs-coupon-card {
  background: #f8f9fa;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 14px;
}
.gs-coupon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.gs-coupon-title {
  font-size: 13px;
  font-weight: 700;
  color: #2f3542;
  margin: 0;
}
.gs-coupon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.gs-coupon-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.gs-coupon-item img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}
.gs-coupon-info {
  padding: 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gs-coupon-name {
  font-size: 11px;
  font-weight: 600;
  color: #2f3542;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gs-coupon-price {
  font-size: 12px;
  font-weight: 700;
  color: #ff4757;
  margin-top: 4px;
}
.gs-coupon-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #a4b0be;
  font-size: 12px;
}

/* Mobile tweaks */
@media (max-width: 360px) {
  .gs-event-card { min-height: 150px; }
  .gs-event-title { font-size: 16px; }
  .gs-bottom-row { gap: 8px; }
  .gs-trip-card,
  .gs-coupon-card { min-height: 190px; }
  .gs-coupon-item img { height: 56px; }
}

/* Clean header (no slide background, no badges, no subtext) */
.lm-hero-clean {
  background: linear-gradient(135deg, #f5f3ee 0%, #ffffff 100%);
  min-height: auto;
  align-items: center;
  border: 1px solid var(--lm-border);
}
.lm-hero-clean .lm-hero-slides,
.lm-hero-clean .lm-hero-dots {
  display: none !important;
}
.lm-hero-clean .lm-hero-compact {
  background: transparent;
  min-height: auto;
  padding: 16px;
}
.lm-hero-clean .lm-hero-title {
  font-size: 18px;
  margin: 0;
  line-height: 1.4;
}
.lm-hero-clean .lm-hero-logo {
  width: 64px;
  height: 64px;
}

/* ===== EVENTS PAGE MODERN ===== */
.ev-page {
  background: #f5f3ee;
}
.ev-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--lm-border);
}
.ev-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lm-green-dark);
  text-decoration: none;
}
.ev-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--lm-green-dark);
  margin: 0;
}
.ev-spacer { width: 60px; }

.ev-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 16px 100px;
}

/* Filter chips */
.ev-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ev-filters::-webkit-scrollbar { display: none; }
.ev-chip {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 5px;
  border: 1px solid var(--lm-border);
  background: #fff;
  color: var(--lm-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.ev-chip.active {
  background: var(--lm-green);
  color: #fff;
  border-color: var(--lm-green);
}

/* Event card list */
.ev-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ev-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid var(--lm-border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.ev-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.ev-thumb {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
}
.ev-thumb.no-img {
  background: linear-gradient(135deg, var(--lm-green) 0%, var(--lm-green-dark) 100%);
}
.ev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ev-thumb span { line-height: 1; }

.ev-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ev-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.ev-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.ev-tag-green { background: #d4edda; color: #155724; }
.ev-tag-orange { background: #ffe5b4; color: #b35900; }
.ev-tag-past { background: #e9ecef; color: #6c757d; }
.ev-past-card { opacity: 0.65; filter: grayscale(0.55); background: #f8f9fa; }
.ev-badge.past { background: #e9ecef; color: #6c757d; }

.ev-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--lm-green-dark);
  margin: 0 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ev-date {
  font-size: 12px;
  color: var(--lm-text-muted);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 6px;
}
.ev-tags span {
  font-size: 11px;
  color: var(--lm-green);
  font-weight: 600;
}
.ev-desc {
  font-size: 12px;
  color: var(--lm-text-muted);
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ev-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--lm-green);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}
.ev-link:hover { text-decoration: underline; }

.ev-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--lm-text-muted);
  font-size: 14px;
}

@media (max-width: 360px) {
  .ev-card {
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding: 10px;
  }
  .ev-thumb { width: 90px; height: 90px; }
  .ev-name { font-size: 14px; }
}

/* ===== EVENTS MONTH GROUP LIST ===== */
.ev-search-block {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 16px;
}
.ev-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: 5px;
  padding: 0 0 0 12px;
  overflow: hidden;
}
.ev-search-icon {
  font-size: 16px;
  margin-right: 8px;
  color: var(--lm-text-muted);
}
.ev-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 0;
  font-size: 14px;
  background: transparent;
  min-width: 0;
}
.ev-search-btn {
  background: var(--lm-green);
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.ev-search-btn:hover { background: var(--lm-green-dark); }
.ev-chip-calendar {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 5px;
  border: 1px solid var(--lm-border);
  background: #fff;
  color: var(--lm-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.ev-month-section {
  margin-bottom: 18px;
}
.ev-month-head {
  position: sticky;
  top: 52px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: var(--lm-green-dark);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.ev-month-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.ev-month-count {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

/* ===== EVENTS GRID TEMPLATE (template v3) ===== */
.ev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ev-grid-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--lm-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ev-grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.ev-grid-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}
.ev-grid-media.no-img {
  background: linear-gradient(135deg, var(--lm-green) 0%, var(--lm-green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.ev-grid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.ev-grid-card:hover .ev-grid-media img {
  transform: scale(1.03);
}
.ev-grid-media span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
}
.ev-grid-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ev-grid-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.ev-grid-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.ev-tag-green {
  background: #d4edda;
  color: #155724;
}
.ev-tag-orange {
  background: #ffe5b4;
  color: #b35900;
}
.ev-grid-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ev-grid-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ev-grid-datetime,
.ev-grid-location {
  font-size: 11px;
  color: var(--lm-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 360px) {
  .ev-grid { gap: 8px; }
  .ev-grid-content { padding: 10px; }
  .ev-grid-title { font-size: 13px; }
}

/* ===== UPCOMING EVENTS SLIDER ===== */
.ev-slides-section {
  padding: 22px 16px;
  background: #ffffff;
  border-bottom: 8px solid #f0f0f0;
}
.ev-slides-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.ev-slides-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.ev-slides-more {
  font-size: 13px;
  color: var(--lm-green);
  text-decoration: none;
  font-weight: 600;
}
.ev-slides-viewport {
  overflow: hidden;
  border-radius: 5px;
}
.ev-slides-track {
  display: flex;
  transition: transform 0.35s ease-out;
  touch-action: pan-y;
}
.ev-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  display: block;
  text-decoration: none;
}

@media (min-width: 480px) {
  .ev-slide {
    aspect-ratio: 2 / 1;
  }
}
.ev-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.ev-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 2;
}
.ev-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.ev-slide-badge {
  align-self: flex-start;
  background: #ff4757;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.ev-slide-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  max-width: 70%;
}
.ev-slide-desc {
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.95;
  max-width: 65%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ev-slide-date {
  margin-top: auto;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 12px;
}
.ev-slides-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.ev-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d1d1;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ev-slide-dot.active {
  background: var(--lm-green);
  width: 18px;
  border-radius: 4px;
}

@media (min-width: 640px) {
  .ev-slide {
    aspect-ratio: 21 / 9;
  }
  .ev-slide-name {
    font-size: 24px;
  }
  .ev-slide-desc {
    font-size: 14px;
  }
}

/* ===== EVENT MODAL ===== */
.ev-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.calendar-modal { z-index: 1000; }
.day-events-modal { z-index: 1010; }
.event-detail-modal { z-index: 1020; }
.campaign-detail-modal { z-index: 1030; }
.ev-modal-backdrop:not([hidden]) {
  opacity: 1;
  visibility: visible;
}
.ev-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  background: #fff;
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ev-modal-backdrop:not([hidden]) .ev-modal {
  transform: translateY(0);
}
.ev-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  color: #333;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  -webkit-tap-highlight-color: transparent;
}
.ev-modal-close:active { background: #eee; }
.ev-modal-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  overflow: hidden;
  position: relative;
  border-radius: 0 0 5px 5px;
}
.ev-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ev-modal-img-wrap.no-img::before {
  content: '🎉';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.ev-modal-body {
  padding: 22px 20px 28px;
}
.ev-modal-badge {
  display: inline-block;
  background: #ff4757;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ev-modal-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #1a1a1a;
  line-height: 1.3;
}
.ev-modal-date {
  font-size: 13px;
  color: #666;
  margin: 0 0 14px;
}
.ev-modal-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  margin: 0 0 18px;
  white-space: pre-wrap;
}
.ev-modal-link-box {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}
.ev-modal-link-label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.ev-modal-link-row {
  display: flex;
  gap: 8px;
}
.ev-modal-link-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  background: #fff;
  color: #333;
}
.ev-modal-copy {
  border: none;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.ev-modal-copy.copied {
  background: var(--lm-green);
}
.ev-modal-open {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--lm-green);
  color: #fff;
  text-decoration: none;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
}

@media (min-width: 560px) {
  .ev-modal-backdrop {
    align-items: center;
  }
  .ev-modal {
    border-radius: 5px;
    max-height: 85vh;
  }
}

/* ===== TRIP MODAL ===== */
/* ===== CALENDAR MODAL ===== */
.calendar-modal .calendar-sheet,
.day-events-modal .day-events-sheet,
.event-detail-modal .event-detail-sheet {
  padding: 20px;
  border-radius: 24px 24px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
.event-detail-sheet {
  padding-top: 48px;
  overflow-y: auto;
}
.event-detail-content {
  display: flex;
  flex-direction: column;
}
.ev-detail-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--lm-green), var(--lm-green-dark));
  position: relative;
}
.ev-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ev-detail-media .img-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  background: linear-gradient(135deg, var(--lm-green), var(--lm-green-dark));
}
.ev-detail-media.no-img .img-fallback {
  display: flex;
}
.ev-detail-media.no-img img {
  display: none;
}
.ev-detail-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
}
.ev-detail-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
}
.ev-detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ev-detail-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.calendar-modal .calendar-sheet,
.day-events-modal .day-events-sheet,
.event-detail-modal .event-detail-sheet,
.campaign-detail-modal .campaign-detail-sheet {
  padding: 20px;
  border-radius: 24px 24px 0 0;
  max-height: 85vh;
  width: 100%;
  max-width: 600px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.campaign-detail-sheet {
  padding-top: 48px;
}
.campaign-detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.campaign-detail-sheet .ev-detail-media {
  max-height: 42vh;
  flex-shrink: 0;
}
.campaign-detail-sheet .ev-detail-body {
  padding-bottom: 24px;
}
.event-detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.ev-detail-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}
.ev-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--lm-text);
}
.ev-detail-meta-row {
  display: flex;
  gap: 8px;
  font-size: 14px;
}
.ev-detail-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--lm-text);
  white-space: pre-line;
}
.ev-detail-link {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--lm-green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
  box-sizing: border-box;
}
.ev-detail-link:hover,
.ev-detail-link:active {
  background: var(--lm-green-dark);
}
.ev-detail-link:empty,
.ev-detail-link[href="#"],
.ev-detail-link[href=""] {
  display: none;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  padding: 0 8px;
  gap: 0;
}
.cal-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
}
.cal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--lm-border);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  order: 3;
  margin-left: 28px;
}
.cal-close:hover { background: #f5f5f5; }
.cal-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--lm-border);
  background: #fff;
  font-size: 24px;
  line-height: 1;
  color: var(--lm-green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}
.cal-nav.prev { order: 1; }
.cal-nav.next { order: 2; margin-left: 6px; margin-right: 16px; }
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.calendar-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--lm-text-muted);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.cal-cell {
  border-radius: 12px;
  display: grid;
  place-items: center;
  min-height: 44px;
  background: #f8f9fa;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  padding: 4px;
  text-align: center;
}
.cal-cell:hover { background: #e9f5ec; }
.cal-cell.today { border-color: var(--lm-green); font-weight: 800; }
.cal-cell.selected { background: var(--lm-green); color: #fff; }
.cal-cell.has-event { background: #e0f7e9; border-color: var(--lm-green); }
.cal-cell.has-event .cal-day-num { font-weight: 800; color: var(--lm-green-dark); }
.cal-cell.selected .cal-day-num { color: #fff; }
.cal-cell.has-event.selected { background: var(--lm-green); color: #fff; }
.cal-cell.has-event.selected .cal-day-num { color: #fff; }
.cal-cell.past-day { opacity: 0.5; }
.cal-day-num {
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}
.cal-event-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--lm-green);
  display: inline;
  vertical-align: baseline;
  margin-left: 1px;
}
.cal-cell.selected .cal-event-count { color: #fff; }
.cal-dot {
  display: none;
}
.cal-cell.selected .cal-dot { background: #fff; }
.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--lm-text-muted);
}
.calendar-legend .cal-dot {
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}
.calendar-legend .cal-dot.selected { background: var(--lm-green); }

/* Day events modal */
.day-events-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.day-events-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
}
#dayEventsCount {
  font-size: 12px;
  color: var(--lm-text-muted);
}
.day-events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 4px;
}
.day-events-empty {
  text-align: center;
  color: var(--lm-text-muted);
  padding: 30px 10px;
  font-size: 14px;
}
.day-event-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--lm-border);
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.day-event-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.day-event-past {
  opacity: 0.65;
  filter: grayscale(0.5);
  background: #f8f9fa;
}
.day-event-past .day-event-title,
.day-event-past .day-event-meta {
  color: #6c757d;
}
.day-event-item img,
.day-event-noimg {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--lm-green), var(--lm-green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
.day-event-item:active {
  transform: scale(0.98);
}
.day-event-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.day-event-meta {
  font-size: 11px;
  color: var(--lm-text-muted);
  margin-bottom: 6px;
}
.day-event-badges {
  display: flex;
  gap: 6px;
}
.day-event-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: #d4edda;
  color: #155724;
}
.day-event-badge.past {
  background: #e9ecef;
  color: #6c757d;
}
.day-event-past {
  opacity: 0.6;
  filter: grayscale(0.5);
  background: #f8f9fa;
}

/* ===== TRIP MODAL ===== */
.trip-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.trip-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.trip-modal-sheet {
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.trip-modal-backdrop.active .trip-modal-sheet {
  transform: translateY(0);
}
.trip-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0f0;
}
.trip-modal-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}
.trip-modal-close {
  background: #f5f5f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  color: #555;
  cursor: pointer;
}
.trip-modal-content {
  padding: 16px 18px;
  overflow-y: auto;
}
.trip-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.trip-modal-img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f7;
}
.trip-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trip-modal-noimg {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: #f7f7f7;
  border-radius: 8px;
}
.trip-modal-footer {
  padding: 14px 18px 20px;
  border-top: 1px solid #f0f0f0;
}
.trip-modal-places {
  font-size: 13px;
  color: #666;
  margin: 0 0 8px;
}
.trip-modal-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin: 0;
  white-space: pre-wrap;
}

/* ===== TRIP MODAL DETAIL LIST ===== */
.trip-modal-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px;
  background: #f5f5f5;
  scrollbar-width: thin;
}
.trip-modal-gallery img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.trip-modal-noimg {
  width: 100%;
  text-align: center;
  color: #999;
  padding: 20px;
}
.trip-modal-body {
  padding: 16px;
}
.trip-modal-title {
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: #1b5e20;
}
.trip-modal-desc {
  color: #555;
  margin: 0 0 16px;
  line-height: 1.5;
}
.trip-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.trip-detail-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.trip-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.trip-detail-header:active { background: #f4f4f4; }
.trip-detail-header.open .trip-detail-caret { transform: rotate(180deg); }
.trip-detail-num {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.trip-detail-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f2f2f2;
}
.trip-detail-text { flex: 1; min-width: 0; }
.trip-detail-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.trip-detail-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.3;
}
.trip-detail-caret {
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  color: #888;
  transition: transform 0.2s;
}
.trip-detail-body {
  border-top: 1px solid #f0f0f0;
  padding: 14px;
  background: #fafafa;
  animation: tripSlideDown 0.2s ease;
}
@keyframes tripSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.trip-detail-expanded-img {
  width: 100%;
  margin-bottom: 12px;
}
.trip-detail-expanded-img img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background: #eee;
}
.trip-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.trip-detail-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #2e7d32;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(46,125,50,0.25);
}
.trip-detail-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trip-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.trip-detail-link:hover { background: #f5f5f5; }
.trip-detail-full-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}
.trip-detail-loading, .trip-detail-empty, .trip-detail-error {
  text-align: center;
  padding: 24px;
  color: #666;
}
.trip-detail-error { color: #b71c1c; }
.trip-modal-map-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #2e7d32;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.trip-modal-map-btn:hover { background: #1b5e20; }

/* Promo banner */
.promo-banner {
  padding: 12px 16px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}
.promo-banner-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.promo-banner-link:active {
  transform: scale(0.98);
}
.promo-banner-img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #2e7d32;
}

/* Splash intro overlay */
.splash-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483647;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash-overlay.splash-hidden,
.splash-overlay.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
.splash-image-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.splash-image-wrap img,
.splash-image {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  object-position: center;
  background-color: #000;
  display: block;
}
.splash-click-hint {
  position: absolute;
  left: 0; right: 0; bottom: 24px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  pointer-events: none;
}
.splash-click-hint::before {
  content: 'กดที่ภาพเพื่อดูรายละเอียด';
  display: inline-block;
  background: rgba(0,0,0,0.45);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.splash-countdown {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  backdrop-filter: blur(4px);
}
.splash-fallback-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: 24px;
  max-width: 80vw;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.splash-skip {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.splash-skip:active {
  background: rgba(255,255,255,0.35);
}


/* Trip detail accordion */
.trip-detail-item { background:#fff;border-radius:14px;margin-bottom:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06); }
.trip-detail-header { display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:none;background:#fff;text-align:left;cursor:pointer;transition:background .15s; }
.trip-detail-header:active { background:#f4f4f4; }
.trip-detail-header.open .trip-detail-caret { transform:rotate(180deg); }
.trip-detail-num { flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;background:#1a6d34;color:#fff;font-weight:700;font-size:.85rem;border-radius:50%; }
.trip-detail-thumb { flex:0 0 64px;width:64px;height:64px;object-fit:cover;border-radius:10px;background:#f2f2f2; }
.trip-detail-text { flex:1;min-width:0; }
.trip-detail-name { font-weight:600;font-size:1rem;color:#111;margin-bottom:4px; }
.trip-detail-desc { font-size:.8rem;color:#666;line-height:1.3; }
.trip-detail-caret { flex:0 0 24px;text-align:center;color:#888;transition:transform .2s; }
.trip-detail-body { border-top:1px solid #f0f0f0;padding:14px;background:#fafafa;animation:slideDown .2s ease; }
@keyframes slideDown { from { opacity:0;transform:translateY(-6px); } to { opacity:1;transform:translateY(0); } }
.trip-detail-expanded-img { width:100%;margin-bottom:12px; }
.trip-detail-expanded-img img { width:100%;max-height:220px;object-fit:cover;border-radius:12px;background:#eee; }
.trip-detail-actions { display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px; }
.trip-detail-nav-btn { display:inline-flex;align-items:center;gap:6px;padding:10px 18px;background:#1a6d34;color:#fff!important;border-radius:999px;font-weight:600;text-decoration:none;box-shadow:0 3px 10px rgba(26,109,52,.25); }
.trip-detail-social { display:flex;gap:8px;flex-wrap:wrap; }
.trip-detail-link { display:inline-flex;align-items:center;gap:4px;padding:8px 14px;background:#fff;border:1px solid #e0e0e0;border-radius:999px;color:#333;text-decoration:none;font-size:.85rem;font-weight:500; }
.trip-detail-link:hover { background:#f5f5f5; }
.trip-detail-full-desc { font-size:.88rem;color:#555;line-height:1.5; }

.trip-detail-biz-info {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #444;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.trip-detail-info-row {
  margin-bottom: 4px;
  line-height: 1.4;
}
.trip-detail-info-row:last-child { margin-bottom: 0; }
.trip-detail-promo {
  color: #2e7d32;
  font-weight: 600;
  margin-top: 6px;
}

/* ===== Business detail: reviews + website summary ===== */
.lm-detail-extra { margin-top: 16px; }
.lm-detail-section { margin-bottom: 18px; }
.lm-detail-section-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--text-primary, #222); }
.lm-detail-loading { color: #888; font-size: 13px; }
.lm-detail-empty { color: #888; font-size: 13px; font-style: italic; }
.lm-detail-link { display: inline-block; color: #2563eb; word-break: break-all; font-size: 14px; margin-bottom: 6px; }
.lm-detail-desc { font-size: 13px; color: #555; line-height: 1.5; }
.lm-detail-review { padding: 10px 0; border-bottom: 1px solid #eee; }
.lm-detail-review:last-child { border-bottom: none; }
.lm-detail-review-header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.lm-detail-review-author { font-weight: 600; font-size: 13px; }
.lm-detail-review-rating { font-size: 12px; color: #f59e0b; }
.lm-detail-review-time { font-size: 11px; color: #888; }
.lm-detail-review-text { font-size: 13px; color: #444; line-height: 1.5; }

/* ===== Card rating badge ===== */

/* ===== Card badges ===== */
.lm-card-img {
  position: relative;
}

.lm-card-rating,
.lm-card-dist {
  position: absolute;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.lm-card-rating {
  top: 8px;
  right: 8px;
  background: rgba(255, 189, 46, 0.92);
  color: #332200;
}

.lm-card-rating-star {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.lm-card-dist {
  bottom: 8px;
  left: 8px;
  background: rgba(0, 82, 67, 0.85);
}

.lm-card-dist-dot {
  color: #ffbd2e;
  font-size: 10px;
  margin-right: 2px;
}

/* Compact card badges */
.lm-scroll .lm-card.compact .lm-card-rating {
  top: 4px;
  right: 4px;
  font-size: 10px;
  padding: 2px 5px;
}

.ev-slide-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #fff;
  text-decoration: underline;
  opacity: 0.9;
}


.gs-campaign {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #1a3b28;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  position: relative;
}
.gs-campaign-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  z-index: 3;
}
.gs-campaign-title {
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.gs-campaign-more {
  font-size: 12px;
  color: #a7f3d0;
  text-decoration: none;
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 12px;
}
.gs-campaign-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}
.gs-campaign-track {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
}
.gs-campaign-track .ev-slide {
  flex: 0 0 100%;
  height: 100%;
  min-height: 160px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e8c39e;
}
.gs-campaign-track .campaign-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gs-campaign-track .ev-slide-overlay,
.gs-campaign-track .ev-slide-content,
.gs-campaign-track .ev-slide-badge,
.gs-campaign-track .ev-slide-name,
.gs-campaign-track .ev-slide-date,
.gs-campaign-track .ev-slide-link {
  display: none !important;
}
.gs-campaign-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  z-index: 3;
}
.gs-campaign-dots .ev-slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.gs-campaign-dots .ev-slide-dot.active {
  background: #fff;
}



.ev-filters .ev-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 14px;
  outline: none;
}
.ev-filters .ev-search:focus {
  border-color: #1a3b28;
}

.ev-modal-subtitle {
  font-size: 14px;
  color: #666;
  margin: 4px 0 12px;
}

.ev-modal-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #1a3b28;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

div#campaignModal.ev-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
div#campaignModal.ev-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
div#campaignModal.ev-modal .ev-modal-card {
  width: 92%;
  max-width: 420px;
  max-height: 85vh;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
div#campaignModal.ev-modal .ev-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
div#campaignModal.ev-modal .ev-modal-body {
  padding: 18px 20px 22px;
}
div#campaignModal.ev-modal .ev-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
div#campaignModal.ev-modal .ev-modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a3b28;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
div#campaignModal.ev-modal .ev-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #111;
}
div#campaignModal.ev-modal .ev-modal-subtitle {
  font-size: 14px;
  color: #555;
  margin: 0 0 4px;
}
div#campaignModal.ev-modal .ev-modal-date {
  font-size: 13px;
  color: #888;
  margin: 0 0 14px;
}
div#campaignModal.ev-modal .ev-modal-btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: #1a3b28;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
