/* ===================================================================
   File: render-business-listing-shared.css
   Description: Shared business-listing styles used by both Basic and Premium renderers.
   Notes:
   - Buttons are intentionally not styled here; buttons.css owns button styling.
   - Smart Site / microsite styles were removed.
   - Unused legacy selectors were removed.
   =================================================================== */

/* =========================
   SURFACE + COMMON TOKENS
   ========================= */

.ll-post-surface.ll-basic,
.ll-post-surface.ll-premium {
  color: #0f172a;
}

.ll-post-surface.ll-basic {
  border-top: 4px solid #e2e8f0;
}

.ll-post-surface.ll-premium {
  border-top: 4px solid #0f766e;
}

.ll-post-surface .ll-left-column,
.ll-post-surface .ll-right-column,
.ll-post-surface .ll-basic-body__main,
.ll-post-surface .ll-basic-body__side,
.ll-post-surface .ll-premium-hero__content,
.ll-post-surface .ll-premium-hero__media {
  min-width: 0;
}

.ll-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ll-badge-premium,
.ll-badge.ll-badge-premium {
  color: #fff;
  background: #0f766e;
  border: 1px solid #0f766e;
}

.ll-rating-badge,
.ll-premium-rating-badge,
.ll-microsite-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* =========================
   CONTENT + TYPOGRAPHY
   ========================= */

.post-description {
  color: #0f172a;
  font-size: 1.125rem;
  line-height: 1.8;
}

.post-description p {
  margin: 0 0 1.25rem;
}

.post-description p:last-child {
  margin-bottom: 0;
}

.map-address {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

/* =========================
   SHARED CARD / PANEL SYSTEM
   ========================= */

.ll-post-surface.ll-basic .ll-basic-side-card,
.ll-post-surface.ll-basic .ll-basic-intro-card,
.ll-post-surface.ll-premium .ll-premium-panel,
.ll-post-surface.ll-premium .ll-basic-side-card,
.ll-post-surface.ll-premium .ll-premium-products-services-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.ll-post-surface.ll-basic .ll-basic-intro-card,
.ll-post-surface.ll-basic .ll-basic-side-card,
.ll-post-surface.ll-premium .ll-premium-panel,
.ll-post-surface.ll-premium .ll-premium-products-services-card,
.ll-post-surface.ll-premium .ll-basic-side-card {
  padding: 1rem 1.1rem;
}

.ll-post-surface.ll-basic .ll-basic-card-title,
.ll-post-surface.ll-premium .ll-basic-card-title,
.ll-post-surface.ll-premium .ll-premium-panel h2,
.ll-post-surface.ll-premium .ll-premium-social-panel__title {
  margin: 0 0 0.8rem;
  color: #0f172a;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 700;
}

.ll-post-surface.ll-basic .ll-basic-side-card .ll-basic-card-title,
.ll-post-surface.ll-premium .ll-basic-side-card .ll-basic-card-title {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ll-post-surface.ll-premium .ll-premium-panel p,
.ll-post-surface.ll-premium .ll-premium-panel li {
  line-height: 1.65;
}

.ll-post-surface.ll-premium .ll-premium-panel p:last-child {
  margin-bottom: 0;
}

/* =========================
   SHARED CHECKLIST CARDS
   ========================= */

.ll-post-surface .ll-basic-bullet-points-card .ll-basic-checklist,
.ll-post-surface .ll-basic-services-card .ll-basic-checklist,
.ll-post-surface .ll-basic-products-card .ll-basic-checklist,
.ll-post-surface .ll-owner-tier-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ll-post-surface .ll-basic-bullet-points-card .ll-basic-checklist > li,
.ll-post-surface .ll-basic-services-card .ll-basic-checklist > li,
.ll-post-surface .ll-basic-products-card .ll-basic-checklist > li,
.ll-owner-tier-card__list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.6rem;
  color: #334155;
  line-height: 1.55;
}

.ll-post-surface .ll-basic-bullet-points-card .ll-basic-checklist > li:last-child,
.ll-post-surface .ll-basic-services-card .ll-basic-checklist > li:last-child,
.ll-post-surface .ll-basic-products-card .ll-basic-checklist > li:last-child,
.ll-owner-tier-card__list > li:last-child {
  margin-bottom: 0;
}

.ll-post-surface .ll-basic-bullet-points-card .ll-basic-checklist > li::before,
.ll-post-surface .ll-basic-services-card .ll-basic-checklist > li::before,
.ll-post-surface .ll-basic-products-card .ll-basic-checklist > li::before,
.ll-owner-tier-card__list > li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 0.08rem;
  border: 2px solid #16a34a;
  border-radius: 999px;
  color: #16a34a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

/* =========================
   GALLERY
   ========================= */

.ll-gallery,
.ll-premium-gallery {
  margin-top: 1.5rem;
}

.ll-gallery-heading,
.ll-premium-gallery-heading {
  margin: 0 0 0.9rem;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
}

.carousel-empty {
  margin: 0;
  color: #64748b;
}

/* =========================
   OWNER / ADMIN PREVIEW
   ========================= */

.ll-owner-tier-preview {
  margin: 0 0 20px;
}

.ll-owner-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ll-owner-sidebar,
.ll-owner-main {
  min-width: 0;
}

.ll-owner-link,
.ll-owner-public-link,
.ll-owner-edit-btn,
.ll-owner-view-row,
.ll-owner-inline-upgrade,
.ll-owner-tier-summary {
  margin-bottom: 14px;
}

.ll-owner-link,
.ll-owner-public-link,
.ll-owner-toggle-label,
.ll-owner-upgrade-heading {
  text-align: center;
}

.ll-owner-link {
  margin-top: 0;
}

.ll-owner-link a,
.ll-owner-public-link a {
  color: #0f172a;
  text-decoration: none;
}

.ll-owner-link a:hover,
.ll-owner-public-link a:hover {
  text-decoration: underline;
}

.ll-owner-link a {
  font-size: 1.1rem;
}

.ll-owner-public-link {
  line-height: 1.4;
}

.ll-view-public__icon {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 0.2rem;
}

.ll-owner-edit-btn .button,
.ll-owner-edit-btn .submit-button {
  width: 100%;
}

.ll-owner-toggle-label {
  margin: 0 0 0.55rem;
  color: #475569;
  font-size: 0.98rem;
}

.ll-tier-preview-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
}

.ll-tier-preview-toggle__button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 64px;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #334155;
  cursor: pointer;
  text-align: center;
}

.ll-tier-preview-toggle__button[aria-selected="true"] {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.ll-tier-preview-toggle__button.is-current-plan .ll-tier-preview-toggle__plan-note {
  color: #0f766e;
}

.ll-tier-preview-toggle__title {
  font-weight: 800;
  line-height: 1.1;
}

.ll-tier-preview-toggle__plan-note {
  font-size: 0.78rem;
  line-height: 1.15;
  color: #64748b;
}

.ll-owner-inline-upgrade[hidden],
.ll-owner-tier-feature-panels[hidden],
.ll-tier-preview-panel[hidden] {
  display: none !important;
}

.ll-owner-inline-upgrade:not([hidden]) {
  display: block;
}

.ll-owner-inline-upgrade .ll-btn,
.ll-owner-upgrade-actions .ll-btn {
  width: 100%;
  justify-content: center;
}

.ll-owner-tier-summary,
.ll-owner-tier-feature-panels,
.ll-owner-upgrade-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ll-owner-tier-card {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  padding: 14px;
}

.ll-owner-tier-card__title {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.25;
}

.ll-tier-preview-panel.is-active {
  display: block;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px) {
  .ll-owner-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .ll-tier-preview-toggle {
    grid-template-columns: 1fr;
  }
}
