/* ════════════════════════════════════════════════════════════
   MOB__ PLACES — Full Listing Page Styles
   Primary: #1a555f  |  Accent: #c9a07a  |  BG: #f4f0e8
   Paste into your plugin/theme CSS or a <style> in functions.php
════════════════════════════════════════════════════════════ */

/* ── Page wrapper ─────────────────────────────────────────── */
.mob__page-wrap {
  font-family: var(--mob-font-sans);
  max-width: var(--mob-page-max-width);
  margin: 0 auto;
  padding: 30px 16px 60px;
  background: var(--mob-bg);
  color: var(--mob-text);
}

/* ── Hero — reuse existing mob__hero styles from places-hero.php ── */
/* (include places-hero.php CSS here, or @import it) */

/* ── Two-column body layout ───────────────────────────────── */
.mob__body {
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}

/* ── Shared card ─────────────────────────────────────────── */

.mob__card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mob-primary);
  letter-spacing: 0.5px;
  margin: 0 0 4px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.mob__card-sub {
  font-size: 13px;
  color: var(--mob-text-muted);
  margin: 0 0 18px;
  line-height: 1.5;
}

/* ── Section title ────────────────────────────────────────── */
.mob__section {
  margin-bottom: 24px;
}

/* Left-column sections on the listing page: one fixed gap, split by a 1px divider. */
.mob-lsection > * {
  margin-top: 0;
  margin-bottom: 0;
}

.mob-lsection + .mob-lsection {
  margin-top: var(--mob-section-gap);
  padding-top: var(--mob-section-gap);
  border-top: 1px solid var(--mob-border);
}

@media (max-width: 640px) {
  .mob-lsection + .mob-lsection {
    margin-top: var(--mob-section-gap-sm);
    padding-top: var(--mob-section-gap-sm);
  }
}

.mob__section-title {
  font-size: var(--mob-text-section-title);
  font-weight: var(--mob-weight-semibold);
  color: var(--mob-text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  font-family: var(--mob-font-sans);
}

/* ── About prose ──────────────────────────────────────────── */
.mob__prose p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mob-text-mid);
  margin: 0 0 12px;
}

.mob__prose-placeholder {
  font-size: 0.9rem;
  color: var(--mob-text-muted);
  font-style: italic;
  margin: 0;
}

.mob__prose-placeholder a {
  color: var(--mob-primary);
  text-decoration: none;
  font-style: normal;
}

.mob__prose-placeholder a:hover {
  text-decoration: underline;
}

/* ── Sidebar card divider (Languages / Categories merged card) */
.mob__details-divider {
  height: 1px;
  background: var(--mob-border);
  margin: 14px 0 0;
}

/* ── Contact form privacy note ────────────────────────────── */
.mob__form-privacy {
  font-size: 11px;
  color: var(--mob-text-muted);
  margin: 6px 0 0;
  text-align: center;
  line-height: 1.5;
}

/* ── Service cards ────────────────────────────────────────── */
.mob__service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.mob__service-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--mob-primary-light);
  border-radius: var(--mob-radius-lg);
  padding: 8px 10px;
  border: 1px solid rgba(26, 85, 95, 0.1);
}

.mob__service-icon {
  width: 36px;
  height: 36px;
  background: var(--mob-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.mob__service-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.mob__service-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--mob-primary-dark);
  margin: 0 0 4px;
}

.mob__service-desc {
  font-size: 12px;
  color: var(--mob-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ── Gallery ──────────────────────────────────────────────── */
.mob__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 10px;
  border-radius: var(--mob-radius-lg);
  overflow: hidden;
}

.mob__gallery-item {
  overflow: hidden;
  border-radius: var(--mob-radius-md);
}

.mob__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mob__gallery-item:hover img {
  transform: scale(1.04);
}

.mob__gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* ── Reviews ──────────────────────────────────────────────── */
.mob__reviews-header {
  position: relative;
  margin-bottom: 22px;
}

.mob__reviews-sub {
  font-size: 13px;
  color: var(--mob-text-muted);
  margin: 4px 0 0;
}

.mob__review-write-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mob-primary);
  text-decoration: none;
  padding: 6px 13px;
  border: 1.5px solid var(--mob-primary);
  border-radius: 100px;
  transition: all 0.2s;
}

.mob__review-write-btn svg {
  width: 13px;
  height: 13px;
}

.mob__review-write-btn:hover {
  background: var(--mob-primary-light);
  text-decoration: none;
  color: var(--mob-primary);
}

.mob__review {
  padding: 18px 0;
  border-top: 1px solid var(--mob-border);
}

.mob__review-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.mob__review-avatar {
  width: 40px;
  height: 40px;
  background: var(--mob-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.mob__review-meta {
  flex: 1;
}

.mob__review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--mob-text);
  display: block;
}

.mob__review-stars {
  display: flex;
  gap: 1px;
  margin-top: 2px;
}

.mob__review-ago {
  font-size: 11px;
  color: var(--mob-text-muted);
  white-space: nowrap;
  padding-top: 2px;
}

.mob__review-text {
  font-size: 14px;
  color: var(--mob-text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ── Stars ────────────────────────────────────────────────── */
.mob__hero-star,
.mob__star {
  font-size: 16px;
  line-height: 1;
}

.mob__star--full,
.mob__hero-star--full {
  color: #f59e0b;
}

.mob__star--half,
.mob__hero-star--half {
  color: #f59e0b;
  opacity: 0.6;
}

.mob__star--empty,
.mob__hero-star--empty {
  color: #d1d5db;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.mob__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 85px;
  z-index: 100;
}

.mob__sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Full-width button inside the sidebar contact box. */
.mob__hero-btn--block {
  width: 100%;
  justify-content: center;
}

/* ── Info rows ────────────────────────────────────────────── */
.mob__info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--mob-border);
  font-size: 1rem;
}

.mob__info-row:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.mob__info-icon {
  width: 18px;
  height: 18px;
  color: var(--mob-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.mob__info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mob-text-muted);
  margin-bottom: 4px;
}

.mob__info-value {
  color: var(--mob-text-mid);
  line-height: 1.4;
}

.mob__info-link {
  color: var(--mob-primary);
  text-decoration: none;
}

.mob__info-link:hover {
  text-decoration: underline;
}

/* ── Hours ────────────────────────────────────────────────── */
.mob__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 14px;
  color: var(--mob-text-mid);
}

.mob__hours-row--closed .mob__hours-time {
  color: #e74c3c;
  font-weight: 600;
}

.mob__hours-day {
  font-weight: 600;
  color: var(--mob-text);
}

.mob__hours-time {
  font-size: 12px;
}

/* ── Tags (certs, amenities) ──────────────────────────────── */
.mob__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.mob__tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 100px;
}

.mob__tag--cert {
  background: var(--mob-accent-light);
  color: #7a4b22;
  border: 1px solid rgba(201, 160, 122, 0.35);
}

/* ── Amenities ────────────────────────────────────────────── */
.mob__amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.mob__amenity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mob-text-mid);
}

.mob__amenity svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--mob-primary);
}

/* ── Social links ─────────────────────────────────────────── */
.mob__social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.mob__social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--mob-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mob-primary);
  text-decoration: none;
  transition: all 0.2s;
  background: var(--mob-primary-light);
}

.mob__social-btn svg {
  width: 18px;
  height: 18px;
}

.mob__social-btn:hover,
.mob__social-btn:focus-visible {
  background: var(--mob-surface);
  color: var(--mob-text);
  border-color: var(--mob-text-light);
  box-shadow: var(--mob-shadow-sm);
  transform: translateY(-2px);
}

/* ── Contact form ─────────────────────────────────────────── */
.mob__contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mob__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mob__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mob-text-muted);
}

.mob__input {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--mob-border);
  border-radius: var(--mob-radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--mob-text);
  background: #fafafa;
  transition: border-color 0.2s;
  box-sizing: border-box;
  outline: none;
}

.mob__input:focus {
  border-color: var(--mob-primary);
  background: #fff;
}

.mob__input::placeholder {
  color: var(--mob-text-muted);
}

.mob__textarea {
  resize: vertical;
  min-height: 90px;
}

.mob__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--mob-primary);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--mob-radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: 0 4px 16px rgba(26, 85, 95, 0.28);
}

.mob__submit-btn svg {
  width: 15px;
  height: 15px;
}

.mob__submit-btn:hover {
  background: var(--mob-primary-mid);
  transform: translateY(-1px);
}

/* ── Map ──────────────────────────────────────────────────── */
.mob__map-card {
  padding: 0;
  overflow: hidden;
}

.mob__map-frame {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

/* ── Reuse mob__hero-btn from places-hero.php ─────────────── */
/* Sized to match .mob__profile-cta-btn (Claim Listing / View Provider). */
.mob__hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
}

.mob__hero-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.mob__hero-btn--primary {
  background: var(--mob-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(26, 85, 95, 0.3);
}

.mob__hero-btn--primary:hover {
  background: var(--mob-primary-mid);
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}

.mob__hero-btn--outline {
  background: transparent;
  color: var(--mob-primary);
  border-color: rgba(26, 85, 95, 0.3);
}

.mob__hero-btn--outline:hover {
  background: var(--mob-primary-light);
  border-color: var(--mob-primary);
  transform: translateY(-1px);
  color: var(--mob-primary);
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .mob__body {
    grid-template-columns: 1fr;
  }

  .mob__sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .mob__sidebar-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .mob__sidebar {
    grid-template-columns: 1fr;
  }

  .mob__gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .mob__service-grid {
    grid-template-columns: 1fr;
  }

  .mob__review-write-btn {
    position: static;
    margin-top: 10px;
    display: inline-flex;
  }

  .mob__amenities {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .mob__gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .mob__gallery-item--featured {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ════════════════════════════════════════════════════════════
   MOB__ PLACES HERO  — Namaste Network
   Primary: #1a555f  |  Accent: #c9a07a  |  BG: #f4f0e8
   Cut this block and paste into your plugin's CSS file.
════════════════════════════════════════════════════════════ */

/* ── Section wrapper ──────────────────────────────────────── */
.mob__hero {
  font-family: var(--mob-font-sans);
  width: 100%;
  margin-bottom: 32px;
  position: relative;
  background: var(--mob-surface);
  border: 1px solid var(--mob-border);
  border-radius: var(--mob-radius-md);
}

/* ── Cover banner ─────────────────────────────────────────── */
.mob__hero-cover {
  position: relative;
  width: 100%;
  height: var(--mob-cover-h);
  background-size: cover;
  background-position: center center;
  background-color: var(--mob-primary-dark);
  overflow: hidden;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

/* Top dark vignette (keeps watermark legible against any image) */
.mob__hero-overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(16, 56, 64, 0.45) 0%,
    rgba(26, 85, 95, 0.2) 45%,
    transparent 100%
  );
}

/* Bottom gradient — fades into white card below */
.mob__hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(16, 56, 64, 0.6) 60%,
    rgba(12, 42, 48, 0.85) 100%
  );
}

/* ── Watermark text ───────────────────────────────────────── */
.mob__hero-watermark {
  position: absolute;
  bottom: calc(var(--mob-avatar-offset) + 8px);
  right: 28px;
  font-size: clamp(28px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.07);
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 70%;
  text-overflow: clip;
}

/* ── Open / Closed pill (top-right) ──────────────────────── */
.mob__hero-status {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.mob__hero-status--open {
  background: rgba(26, 85, 95, 0.8);
  color: #ffffff;
}

.mob__hero-status--closed {
  background: rgba(60, 20, 20, 0.75);
  color: #ffb3b3;
}

.mob__hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: mob__pulse 2s infinite;
}

.mob__hero-status--open .mob__hero-status-dot {
  background: var(--mob-primary-light);
}

.mob__hero-status--closed .mob__hero-status-dot {
  background: #f87171;
  animation: none;
}

@keyframes mob__pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

/* ── Profile row (avatar + name + actions) ────────────────── */
.mob__hero-profile-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 28px 24px;
  position: relative;
  /* Pull row up so avatar overlaps the cover */
  margin-top: calc(0.2 * var(--mob-avatar-offset));
}

/* ── Avatar ───────────────────────────────────────────────── */
.mob__hero-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: var(--mob-avatar-size);
  height: var(--mob-avatar-size);
  border-radius: 999px;
  overflow: hidden;
  /* let badge overflow */
  /* Push avatar up the exact offset amount */
  margin-top: calc(0.3 * var(--mob-avatar-offset) + 0px);
}

.mob__hero-avatar {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: var(--mob-radius-md);
  border: 3px solid #ffffff;
  box-shadow: var(--mob-shadow-md);
  display: block;
}

/* Placeholder avatar — shown instead of a real photo while a listing is
   unclaimed (author is an admin placeholder, see mob__cv-box). */
.mob__hero-avatar-wrap--unclaimed {
  cursor: default;
}

.mob__hero-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mob-bg);
  color: var(--mob-text-light);
  border-style: dashed;
  border-color: var(--mob-border);
}

/* Mobile only — hide the unclaimed placeholder circle to save space; a
   real claimed listing's photo avatar is unaffected and still shows.
   Desktop and tablet keep showing the placeholder as normal. */
@media (max-width: 600px) {
  .mob__hero-avatar-wrap--unclaimed {
    display: none;
  }
}

/* Green dot on avatar corner */
.mob__hero-avatar-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* ── Profile info ─────────────────────────────────────────── */
.mob__hero-profile-info {
  flex: 1;
  min-width: 0;
  padding-top: 14px;
  /* align with top of avatar after the overlap */
}

.mob__hero-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mob-primary);
  background: var(--mob-primary-light);
  border: 1px solid rgba(26, 85, 95, 0.18);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 7px;
}

.mob__title-container {
  display: flex;
  align-items: center;
  justify-content: left;
}

.mob__title-container img {
  width: 40px;
  height: 40px;
}

/* Owner / admin: pencil next to the listing name → single-field edit view. */
.mob__hero-name-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-left: var(--mob-space-xs);
  border-radius: 50%;
  background: var(--mob-primary-light);
  color: var(--mob-primary);
  text-decoration: none;
  transition: background var(--mob-transition), color var(--mob-transition);
}

.mob__hero-name-edit:hover,
.mob__hero-name-edit:focus-visible {
  background: var(--mob-primary);
  color: var(--mob-surface);
}

.mob__hero-name-edit svg {
  color: inherit;
}

/* Card heading with an Edit button on the right (Information, Categories). */
.mob__card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mob-space-sm);
  margin-bottom: 4px;
}

.mob__card-title-row .mob__card-title {
  margin: 0;
}

.mob__card-title-row--spaced {
  margin-top: 14px;
}

/* Title-less card (sidebar actions): Edit sits alone at the top right, on its own line even when the card wraps into a row. */
.mob__card-title-row--end {
  justify-content: flex-end;
  flex-basis: 100%;
  margin-bottom: 0;
}

.mob__hero-name {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--mob-text);
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  max-width: 100%;
}

/* ── Meta row ─────────────────────────────────────────────── */
.mob__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}

.mob__hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--mob-text-mid);
  font-weight: 500;
}

.mob__hero-meta-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--mob-primary);
}

.mob__hero-meta-link {
  color: var(--mob-text-mid);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1rem;
}

.mob__hero-meta-link:hover {
  color: var(--mob-primary);
  text-decoration: none;
}

/* Stars */
.mob__hero-stars {
  display: inline-flex;
  gap: 1px;
}

.mob__hero-star {
  font-size: 14px;
  line-height: 1;
}

.mob__hero-star--full {
  color: #f59e0b;
}

.mob__hero-star--half {
  color: #f59e0b;
  opacity: 0.6;
}

.mob__hero-star--empty {
  color: #d1d5db;
}

.mob__hero-rating-num {
  font-weight: 700;
  color: var(--mob-text);
  font-size: 13px;
}

.mob__hero-rating-count {
  color: var(--mob-text-muted);
  font-size: 12px;
}

/* ── Action buttons — desktop ─────────────────────────────── */
.mob__hero-actions--desktop {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  flex-shrink: 0;
}

.mob__hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  min-width: 152px;
}

.mob__hero-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.mob__hero-btn--primary {
  background: var(--mob-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(26, 85, 95, 0.3);
}

.mob__hero-btn--primary:hover {
  background: var(--mob-primary-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 85, 95, 0.38);
  color: #ffffff;
  text-decoration: none;
}

.mob__hero-btn--outline {
  background: transparent;
  color: var(--mob-primary);
  border-color: rgba(26, 85, 95, 0.3);
}

.mob__hero-btn--outline:hover {
  background: var(--mob-primary-light);
  border-color: var(--mob-primary);
  transform: translateY(-1px);
  color: var(--mob-primary);
  text-decoration: none;
}

/* ── Action pills — mobile strip ──────────────────────────── */
.mob__hero-actions--mobile {
  display: none;
  gap: 8px;
  padding: 0 20px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mob__hero-actions--mobile::-webkit-scrollbar {
  display: none;
}

.mob__hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--mob-primary-light);
  border: 1.5px solid var(--mob-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mob-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mob__hero-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mob__hero-pill--primary {
  background: var(--mob-primary);
  color: #ffffff;
  border-color: var(--mob-primary);
}

.mob__hero-pill:hover,
.mob__hero-pill--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--mob-shadow-sm);
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   Claim / Verify Listing Promo Box
   Sidebar card shown on the single listing page (index.php)
   ============================================================ */
.mob__cv-box {
  position: relative;
  text-align: center;
  padding-top: 40px;
}

.mob__cv-box-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--mob-text-light);
  cursor: pointer;
  transition: background var(--mob-transition), color var(--mob-transition);
}
.mob__cv-box-close:hover {
  background: var(--mob-bg);
  color: var(--mob-text);
}
.mob__cv-box-close svg {
  width: 14px;
  height: 14px;
}

.mob__cv-box-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.mob__cv-box-title {
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-md);
  font-weight: var(--mob-weight-bold);
  color: var(--mob-text);
  line-height: 1.3;
  margin: 0 0 10px;
}

.mob__cv-box-desc {
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-sm);
  font-weight: var(--mob-weight-regular);
  color: var(--mob-text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

.mob__cv-box-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  background: var(--mob-bg);
  color: var(--mob-text);
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-sm);
  font-weight: var(--mob-weight-semibold);
  border: 1px solid var(--mob-border);
  border-radius: 100px;
  text-decoration: none;
  transition:
    background var(--mob-transition),
    color var(--mob-transition),
    border-color var(--mob-transition),
    transform var(--mob-transition);
}
.mob__cv-box-btn:hover {
  background: var(--mob-primary);
  border-color: var(--mob-primary);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.mob__cv-box-benefits {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-sm);
  font-weight: var(--mob-weight-semibold);
  color: var(--mob-primary);
  text-decoration: none;
}
.mob__cv-box-benefits:hover {
  text-decoration: underline;
}

/* ── Debug dump ───────────────────────────────────────────── */
.mob__debug-dump {
  margin: 16px;
  background: #0f172a;
  border: 1px solid #c9a84c;
  border-radius: 10px;
  padding: 16px 20px;
  color: #a3e635;
  font-size: 12px;
}

.mob__debug-dump strong {
  display: block;
  color: #c9a84c;
  margin-bottom: 10px;
  font-size: 13px;
}

.mob__debug-dump pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.7;
  max-height: 400px;
  overflow-y: auto;
}

.mob__reviews__wrap .vxf-post,
.mob__reviews__wrap .vxf-create-post,
.mob__reviews__wrap .vxf-filters,
.mob__reviews__wrap .ts-no-posts,
.mob__like__wrap .ts-preview,
.mob__msg__wrap {
  background: var(--mob-surface);
  border-radius: var(--mob-radius-md);
  box-shadow: none !important;
  padding: 28px;
  border: 1px solid var(--mob-border);
}

.mob__reviews__wrap .ts-no-posts {
  max-width: 100%;
  width: 100%;
}

.mob__like__wrap .ts-preview {
  padding: 0;
}

.mob__msg__wrap {
  max-width: 1140px;
  margin: auto;
}

.mob__reviews__wrap .rev-num-score,
.mob__reviews__wrap .rev-chart li {
  background-color: var(--mob-primary-mid);
}

.mob__speciality-body .mob__service-grid {
  margin-top: 0;
}

.mob__speciality-notice {
  font-size: 13px;
  color: #6b8899;
  margin: 0 0 14px;
  font-style: italic;
}

.mob__speciality-notice a {
  color: #0d5875;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
}

.mob__speciality-notice a:hover {
  text-decoration: underline;
}

/* Owner/admin-only: the listing holds more specialties than can be shown. */
.mob__speciality-notice--limit {
  padding: var(--mob-space-sm) var(--mob-space-md);
  font-style: normal;
  color: var(--mob-text-mid);
  background: var(--mob-accent-light);
  border-left: 3px solid var(--mob-accent);
  border-radius: var(--mob-radius-sm);
}

.mob__service-card div {
  margin: auto;
}

h4.mob__service-name {
  text-align: center;
  margin-bottom: 0;
}

/* ********** Author Style **********************/

/* ============================================================
   Meet The Instructor / Author Section
   Depends on: mob-app-css (variables + .mob__card, .mob__hidden)
   ============================================================ */

.mob-author-section {
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* ── Body: avatar + info side by side ── */
.mob-author-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* ── Avatar ── */
.mob-author-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.mob-author-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--mob-primary),
    0 4px 16px rgba(15, 93, 115, 0.2);
  background: var(--mob-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mob-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Fallback initials */
.mob-author-initials {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mob-primary);
  text-transform: uppercase;
  line-height: 1;
}

/* Online status dot */
.mob-author-status {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mob-success);
  border: 2px solid var(--mob-surface);
  box-shadow: 0 0 0 2px rgba(45, 158, 107, 0.25);
}

/* ── Info column ── */
.mob-author-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Name + location */
.mob-author-name-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mob-author-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mob-text);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.mob-author-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--mob-text-muted);
  font-weight: 500;
}

.mob-author-location svg {
  width: 13px;
  height: 13px;
  stroke: var(--mob-primary-mid);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Divider */
.mob-author-divider {
  height: 1px;
  background: var(--mob-border);
  width: 100%;
}

/* Description */
.mob-author-desc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mob-author-desc-short,
.mob-author-desc-full {
  font-size: 1rem;
  color: var(--mob-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Read more button */
.mob-author-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mob-primary);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--mob-primary-light);
  text-underline-offset: 3px;
  transition: color var(--mob-transition);
}

.mob-author-read-more:hover {
  color: var(--mob-primary-mid);
}

.mob-author-read-more svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .mob-author-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .mob-author-name-row {
    align-items: center;
  }

  .mob-author-location {
    justify-content: center;
  }

  .mob-author-avatar {
    width: 80px;
    height: 80px;
  }
  .mob-author-read-more {
    display: flex;
    justify-content: center;
  }
}

/* ── Certifications Section ─────────────────────────────── */
.mob_cert_section {
  font-family: var(--mob-font-sans);
}

/* Each cert card already has mob__card padding — no extra needed */
.mob_cert_card.mob__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  background: white;
  border-radius: 10px !important;
}

.mob_cert_card.mob__card:last-child {
  margin-bottom: 0;
}

.mob_cert_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.mob_cert_title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mob-text);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Edit button — matches the "Edit Tags" style */
.mob_cert_edit_btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mob-primary);
  background: var(--mob-surface);
  border: 1.5px solid var(--mob-border);
  border-radius: var(--mob-radius-xl);
  text-decoration: none;
  transition:
    background var(--mob-transition),
    border-color var(--mob-transition),
    color var(--mob-transition);
  white-space: nowrap;
}

.mob_cert_edit_btn:hover {
  background: var(--mob-primary-light);
  border-color: var(--mob-primary);
  color: var(--mob-primary-dark);
  text-decoration: none;
}

.mob_cert_edit_btn svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* Empty state — full-width Add button */
.mob_cert_add_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mob-primary);
  background: var(--mob-primary-light);
  border: 1.5px dashed var(--mob-primary);
  border-radius: var(--mob-radius-md);
  text-decoration: none;
  transition:
    background var(--mob-transition),
    border-color var(--mob-transition);
  cursor: pointer;
}

.mob_cert_add_btn:hover {
  background: #d4eaf0;
  border-color: var(--mob-primary-dark);
  text-decoration: none;
}

.mob_cert_add_btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Cards list */
.mob_cert_list {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* Individual card */
.mob_cert_card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--mob-bg);
  border: 1px solid var(--mob-border);
  border-radius: var(--mob-radius-md);
  transition:
    box-shadow var(--mob-transition),
    border-color var(--mob-transition);
}

.mob_cert_card:hover {
  box-shadow: var(--mob-shadow-sm);
  border-color: #c5d8e0;
}

/* Icon badge */
.mob_cert_icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mob-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mob_cert_icon svg {
  width: 22px;
  height: 22px;
}

/* Card body */
.mob_cert_body {
  flex: 1;
  min-width: 0;
}

.mob_cert_name {
  font-size: 17px;
  font-weight: 700;
  color: var(--mob-text);
  margin: 0 0 4px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.mob_cert_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-bottom: 12px;
}

.mob_cert_org {
  font-size: 13px;
  color: var(--mob-text-muted);
  font-weight: 500;
}

.mob_cert_pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mob-primary);
  background: var(--mob-primary-light);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

.mob_cert_pill svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.mob_cert_num {
  font-size: 13px;
  color: var(--mob-text-light);
}

/* Verify button */
.mob_cert_verify_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mob-success);
  background: #e8f7f0;
  border: 1.5px solid #b5dfc9;
  border-radius: var(--mob-radius-sm);
  text-decoration: none;
  transition:
    background var(--mob-transition),
    border-color var(--mob-transition);
  white-space: nowrap;
}

.mob_cert_verify_btn:hover {
  background: #d2f0e3;
  border-color: var(--mob-success);
  text-decoration: none;
}

.mob_cert_verify_btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* FAQ section design */
/* Section header row */
.mob-faq-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.mob-faq-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mob-text);
  margin: 0;
  line-height: 1.3;
}

/* Edit / Add button */
.mob-faq-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mob-primary-dark);
  background: var(--mob-surface);
  border: 1.5px solid var(--mob-primary-dark);
  border-radius: 50px;
  padding: 7px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--mob-transition),
    color var(--mob-transition),
    box-shadow var(--mob-transition);
  flex-shrink: 0;
}

.mob-faq-edit-btn:hover {
  background: var(--mob-primary-light);
  box-shadow: var(--mob-shadow-sm);
}

.mob-faq-edit-btn--add {
  color: #fff;
  background: var(--mob-primary);
  border-color: var(--mob-primary);
}

.mob-faq-edit-btn--add:hover {
  background: var(--mob-primary-mid);
  border-color: var(--mob-primary-mid);
  color: #fff;
}

@media (max-width: 560px) {
  .mob-faq-section-header {
    flex-wrap: wrap;
  }

}

/* ── Section header ─────────────────────────────────────── */
.mob-faq-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.mob-faq-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mob-text);
  margin: 0;
  line-height: 1.3;
}

/* ── Edit / Add button ──────────────────────────────────── */
.mob-faq-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mob-primary-dark);
  background: var(--mob-surface);
  border: 1.5px solid var(--mob-primary-dark);
  border-radius: 50px;
  padding: 7px 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background var(--mob-transition),
    box-shadow var(--mob-transition);
}

.mob-faq-edit-btn:hover {
  background: var(--mob-primary-light);
  box-shadow: var(--mob-shadow-sm);
}

.mob-faq-edit-btn--add {
  color: #fff;
  background: var(--mob-primary);
  border-color: var(--mob-primary);
}

.mob-faq-edit-btn--add:hover {
  background: var(--mob-primary-mid);
  border-color: var(--mob-primary-mid);
  color: #fff;
}

/* ── Accordion wrapper ──────────────────────────────────── */
.mob-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--mob-border);
  border-radius: var(--mob-radius-md);
  overflow: hidden;
  background: var(--mob-surface);
}

/* ── Single item ────────────────────────────────────────── */
.mob-faq-accordion-item {
  border-bottom: 1px solid var(--mob-border);
}

.mob-faq-accordion-item:last-child {
  border-bottom: none;
}

/* ── Trigger button ─────────────────────────────────────── */
.mob-faq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background var(--mob-transition);
}

.mob-faq-accordion-trigger:hover {
  background: var(--mob-bg);
}

.mob-faq-accordion-trigger:focus-visible {
  outline: 2px solid var(--mob-primary);
  outline-offset: -2px;
}

.mob-faq-accordion-trigger[aria-expanded="true"] {
  background: var(--mob-primary-light);
}

.mob-faq-accordion-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mob-text);
  line-height: 1.45;
  flex: 1;
}

.mob-faq-accordion-trigger[aria-expanded="true"] .mob-faq-accordion-q {
  color: var(--mob-primary-dark);
}

/* ── Chevron icon ───────────────────────────────────────── */
.mob-faq-accordion-icon {
  flex-shrink: 0;
  color: var(--mob-text-muted);
  display: flex;
  align-items: center;
  transition:
    transform var(--mob-transition),
    color var(--mob-transition);
}

.mob-faq-accordion-trigger[aria-expanded="true"] .mob-faq-accordion-icon {
  transform: rotate(180deg);
  color: var(--mob-primary);
}

/* ── Panel ──────────────────────────────────────────────── */
.mob-faq-accordion-panel[hidden] {
  display: none;
}

.mob-faq-accordion-panel {
  overflow: hidden;
}

.mob-faq-accordion-body {
  padding: 0 22px 20px 22px;
  font-size: 0.9rem;
  color: var(--mob-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--mob-border);
  padding-top: 16px;
}

.mob-faq-accordion-body a {
  color: var(--mob-primary);
  text-decoration: underline;
}

.mob-faq-accordion-body p {
  margin: 0 0 10px;
}

.mob-faq-accordion-body p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 560px) {
  .mob-faq-section-header {
    flex-wrap: wrap;
  }

  .mob-faq-accordion-trigger {
    padding: 16px 16px;
  }

  .mob-faq-accordion-body {
    padding: 14px 16px 18px;
  }

}

/* FAQ section code ends for listing */

/* Responsive */
@media (max-width: 640px) {
 

  .mob_cert_header {
    margin-bottom: 18px;
  }

  .mob_cert_title {
    font-size: 18px;
  }

  .mob_cert_card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .mob_cert_icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .mob_cert_icon svg {
    width: 19px;
    height: 19px;
  }

  .mob_cert_meta {
    gap: 5px 12px;
    margin-bottom: 10px;
  }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  :root {
    --mob-cover-h: 300px;
    --mob-avatar-size: 100px;
    --mob-avatar-offset: 50px;
  }

  .mob__hero-profile-row {
    padding: 0 20px 20px;
    gap: 14px;
  }

  .mob__hero-actions--desktop {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .mob__hero-btn {
    min-width: auto;
  }

  .mob__card {
    padding-right: 16px;
    padding-left: 16px;
  }
  .mob__map-card{
    padding-right: 0;
    padding-left: 0;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --mob-cover-h: 220px;
    --mob-avatar-size: 80px;
    --mob-avatar-offset: 40px;
  }

  .mob__hero {
    border-radius: var(--mob-radius-md);
    margin-bottom: 20px;
  }

  .mob__hero-watermark {
    font-size: clamp(22px, 8vw, 36px);
    right: 14px;
  }

  .mob__hero-profile-row {
    padding: 0 16px 16px;
    gap: 12px;
    align-items: center;
    flex-direction: column;
  }

  /* On mobile: avatar + name stack vertically, no desktop buttons */
  .mob__hero-actions--desktop {
    display: none !important;
  }

  .mob__hero-actions--mobile {
    display: flex;
  }

  .mob__hero-profile-info {
    padding-top: 8px;
  }

  .mob__hero-name {
    font-size: 20px;
    max-width: 100%;
  }

  .mob__hero-meta {
    gap: 4px 10px;
  }

  .mob__hero-meta-item {
    font-size: 15px;
  }

  .mob__hero-status {
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 4px 10px;
  }

  .mob__reviews__wrap {
    padding: 16px 16px 16px;
  }

  .mob__msg__wrap {
    max-width: calc(100% - 32px);
  }

  .mob__page-wrap {
    padding: 16px 16px 16px 16px;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  :root {
    --mob-cover-h: 180px;
    --mob-avatar-size: 68px;
    --mob-avatar-offset: 34px;
  }

  .mob__hero-name {
    font-size: 18px;
  }

  .mob__hero-pill {
    font-size: 12px;
    padding: 8px 13px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Services Display Section  (show-services.php)
───────────────────────────────────────────────────────────── */

.mob-svc-display-section {
  margin-top: 32px;
}

/* Header row */
.mob-svc-display-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.mob-svc-display-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Arrow nav */
.mob-svc-display-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mob-svc-display-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--mob-border);
  border-radius: 50%;
  background: var(--mob-surface);
  color: var(--mob-text-muted);
  cursor: pointer;
  padding: 0;
  transition: all var(--mob-transition);
}

.mob-svc-display-nav-btn:hover:not(:disabled) {
  border-color: var(--mob-primary);
  color: var(--mob-primary);
  background: var(--mob-primary-light);
}

.mob-svc-display-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Slider */
.mob-svc-slider-outer {
  overflow: hidden;
  position: relative;
}

.mob-svc-slider-track {
  display: flex;
  gap: 16px;
  align-items: stretch;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.mob-svc-slide {
  flex: 0 0 calc(33.333% - 11px);
  min-width: 0;
  display: flex;
}

/* Card */
.mob-svc-display-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important; /* override .mob__card padding */
  overflow: hidden;
  width: 100%;
  transition:
    box-shadow var(--mob-transition),
    transform var(--mob-transition);
}

/* ── Listing sidebar: phone contact card ──────────────────
   Icon chip on the left; the reveal button (masked number + "Show number"
   pill) fills the rest. phone-reveal.js swaps the button for a tel: link
   with .mob__phone-display-number, which then shows the number + "Call". */
.mob__phone-display {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  margin-bottom: 10px;
  padding: 10px 12px 10px 10px;
  background: var(--mob-surface);
  border: 1.5px solid var(--mob-border-focus);
  border-radius: var(--mob-radius-md);
  box-shadow: var(--mob-shadow-sm);
  transition:
    border-color var(--mob-transition),
    box-shadow var(--mob-transition),
    transform var(--mob-transition);
}

.mob__phone-display:hover,
.mob__phone-display:focus-within {
  border-color: var(--mob-primary);
  box-shadow: var(--mob-shadow-md);
  transform: translateY(-1px);
}

.mob__phone-display-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mob-primary-light);
  color: var(--mob-primary);
}

.mob__phone-display-icon {
  width: 20px;
  height: 20px;
  color: inherit;
  stroke: currentColor;
}

/* Revealed number (link inserted by phone-reveal.js). */
.mob__phone-display-number {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mob-primary-dark);
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.2;
  transition: color var(--mob-transition);
}

.mob__phone-display-number::after {
  content: "Call";
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mob-primary);
  color: var(--mob-surface);
  font-size: var(--mob-text-sm);
  font-weight: var(--mob-weight-semibold);
  letter-spacing: 0.02em;
}

.mob__phone-display-number:hover,
.mob__phone-display-number.mob__phone-revealed:hover {
  color: var(--mob-primary-mid);
  text-decoration: none;
}

/* Sidebar reveal button: the masked number and a pill, filling the card. */
.mob__phone-reveal-btn--sidebar {
  flex: 1;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  color: var(--mob-text);
  text-align: left;
}

.mob__phone-reveal-btn--sidebar:focus-visible {
  outline: 2px solid var(--mob-border-focus);
  outline-offset: 4px;
  border-radius: var(--mob-radius-md);
}

.mob__phone-reveal-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mob__phone-reveal-kicker {
  font-size: var(--mob-text-xs);
  font-weight: var(--mob-weight-semibold);
  color: var(--mob-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mob__phone-reveal-mask {
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: var(--mob-weight-bold);
  color: var(--mob-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: clip;
}

.mob__phone-reveal-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mob-primary);
  color: var(--mob-surface);
  font-size: var(--mob-text-sm);
  font-weight: var(--mob-weight-semibold);
  white-space: nowrap;
  transition: background var(--mob-transition);
}

.mob__phone-reveal-cta svg {
  color: inherit;
}

.mob__phone-reveal-btn--sidebar:hover .mob__phone-reveal-cta {
  background: var(--mob-primary-mid);
}

/* Loading / error states replace the button's contents (phone-reveal.js). */
.mob__phone-reveal-btn--sidebar .mob__phone-spinner {
  margin-left: auto;
  color: var(--mob-primary);
}

.mob__phone-reveal-btn--sidebar .mob__phone-reveal-label--error {
  font-size: var(--mob-text-sm);
}

@media (max-width: 767px) {
  .mob__phone-display-number {
    font-size: 1.1rem;
  }
}

/* ── Phone reveal button ──────────────────────────────────── */
/* Resets browser button styles so the button inherits the look of
   whichever context it sits in (.mob__phone-display-number or
   .mob__hero-meta-link) without any extra visual chrome. */
.mob__phone-reveal-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mob__phone-reveal-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

.mob__phone-reveal-label {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
}

.mob__phone-reveal-label--error {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mob-error, #c0392b);
  text-decoration: none;
}

/* Spinner shown while the phone is being fetched */
.mob__phone-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: mob-spin 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes mob-spin {
  to { transform: rotate(360deg); }
}

/* Revealed phone link — inherits the class from data-link-class so it
   slots visually into the hero meta row or sidebar without extra rules. */
.mob__phone-revealed {
  text-decoration: none;
}

.mob__phone-revealed:hover {
  text-decoration: underline;
}

/* Screen-reader-only utility used on the loading label */
.mob__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mob-svc-display-card:hover {
  box-shadow: var(--mob-shadow-md);
  transform: translateY(-2px);
}

/* Image area */
.mob-svc-display-img-wrap {
  position: relative;
  height: 180px;
  background: var(--mob-primary-light);
  overflow: hidden;
  flex-shrink: 0;
}

.mob-svc-display-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mob-svc-display-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mob-primary);
  opacity: 0.45;
}

/* Delivery badge */
.mob-svc-display-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mob-svc-display-badge--online {
  background: rgba(15, 93, 115, 0.82);
  color: #fff;
}

.mob-svc-display-badge--in-person {
  background: rgba(40, 155, 100, 0.82);
  color: #fff;
}

.mob-svc-display-badge--hybrid {
  background: rgba(232, 168, 75, 0.9);
  color: #3c2700;
}

/* Card body */
.mob-svc-display-body {
  flex: 1;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mob-svc-display-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mob-text);
  margin: 0;
  line-height: 1.35;
}

.mob-svc-display-price {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--mob-primary);
}

.mob-svc-display-desc {
  font-size: 1rem;
  color: var(--mob-text-muted);
  margin: 0;
  line-height: 1.6;
  /* flex: 1; */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mob-svc-display-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 2px;
}

.mob-svc-display-extra {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--mob-text-muted);
  font-weight: 500;
}

.mob-svc-display-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 18px;
  background: var(--mob-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--mob-radius-sm);
  text-decoration: none;
  transition:
    background var(--mob-transition),
    transform var(--mob-transition);
  align-self: flex-start;
}

.mob-svc-display-book-btn:hover {
  background: var(--mob-primary-mid);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

/* Dots (mobile) */
.mob-svc-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.mob-svc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mob-border);
  cursor: pointer;
  transition: all var(--mob-transition);
}

.mob-svc-dot--active {
  background: var(--mob-primary);
  width: 20px;
  border-radius: 4px;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .mob-svc-slide {
    flex: 0 0 100%;
  }

  .mob-svc-slider-track {
    gap: 0;
  }

  .mob-svc-display-nav {
    display: none;
  }

  .mob-svc-dots {
    display: flex;
  }
}

@media (max-width: 560px) {
  .mob-svc-display-hd {
    flex-wrap: wrap;
    gap: 10px;
  }

}

/* ─────────────────────────────────────────────────────────────
   Success Stories Display Section  (show-success-stories.php)
───────────────────────────────────────────────────────────── */

.mob-ss-section {
  margin-top: 32px;
}

/* ── Header row ──────────────────────────────────────────── */
.mob-ss-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.mob-ss-hd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Arrow nav ───────────────────────────────────────────── */
.mob-ss-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mob-ss-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--mob-border);
  border-radius: 50%;
  background: var(--mob-surface);
  color: var(--mob-text-muted);
  cursor: pointer;
  padding: 0;
  transition: all var(--mob-transition);
}

.mob-ss-nav-btn:hover:not(:disabled) {
  border-color: var(--mob-primary);
  color: var(--mob-primary);
  background: var(--mob-primary-light);
}

.mob-ss-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ── Slider ──────────────────────────────────────────────── */
.mob-ss-slider-outer {
  overflow: hidden;
  position: relative;
}

.mob-ss-slider-track {
  display: flex;
  gap: 16px;
  align-items: stretch;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Desktop: 3 per view; Tablet: 2; Mobile: 1 */
.mob-ss-slide {
  flex: 0 0 calc(33.333% - 11px);
  min-width: 0;
  display: flex;
}

/* ── Story card ──────────────────────────────────────────── */
.mob-ss-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px !important;
  width: 100%;
  transition:
    box-shadow var(--mob-transition),
    transform var(--mob-transition);
}

.mob-ss-card:hover {
  box-shadow: var(--mob-shadow-md);
  transform: translateY(-2px);
}

/* ── Client identity row ─────────────────────────────────── */
.mob-ss-client-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Avatar */
.mob-ss-avatar-wrap {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
}

.mob-ss-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mob-ss-avatar-initials {
  width: 100%;
  height: 100%;
  background: var(--mob-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Client info */
.mob-ss-client-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mob-ss-client-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mob-text);
  line-height: 1.3;
  display: block;
}

.mob-ss-client-profession {
  font-size: 0.78rem;
  color: var(--mob-text-muted);
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stars */
.mob-ss-stars {
  display: flex;
  gap: 1px;
  margin-top: 3px;
}

.mob-ss-star {
  flex-shrink: 0;
}

.mob-ss-star--full {
  color: #f59e0b;
}

.mob-ss-star--empty {
  color: #d1d5db;
}

/* Video icon link */
.mob-ss-video-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--mob-border);
  color: var(--mob-primary);
  text-decoration: none;
  transition: all var(--mob-transition);
  background: var(--mob-primary-light);
}

.mob-ss-video-link:hover {
  background: var(--mob-primary);
  color: #fff;
  border-color: var(--mob-primary);
  text-decoration: none;
}

/* ── Headline ─────────────────────────────────────────────── */
.mob-ss-headline {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mob-text);
  line-height: 1.45;
  margin: 0;
}

/* ── Before / After tags ─────────────────────────────────── */
.mob-ss-ba-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mob-ss-ba-tag {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.mob-ss-ba-tag--before {
  background: #fff5f5;
  border: 1px solid #fecaca;
}

.mob-ss-ba-tag--after {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.mob-ss-ba-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.mob-ss-ba-tag--before .mob-ss-ba-label {
  color: #dc2626;
}

.mob-ss-ba-tag--after .mob-ss-ba-label {
  color: #16a34a;
}

.mob-ss-ba-text {
  color: var(--mob-text-mid);
  flex: 1;
}

/* ── Story text ──────────────────────────────────────────── */
.mob-ss-story-text {
  font-size: 0.875rem;
  color: var(--mob-text-muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ── Service used tag ────────────────────────────────────── */
.mob-ss-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mob-primary);
  background: var(--mob-primary-light);
  border-radius: 20px;
  padding: 3px 10px;
  align-self: flex-start;
  margin-top: auto;
}

/* ── Dots ────────────────────────────────────────────────── */
.mob-ss-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.mob-ss-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mob-border);
  cursor: pointer;
  transition: all var(--mob-transition);
}

.mob-ss-dot--active {
  background: var(--mob-primary);
  width: 20px;
  border-radius: 4px;
}

/* ── Responsive ──────────────────────────────────────────── */

/* Tablet: 2 per view */
@media (max-width: 900px) {
  .mob-ss-slide {
    flex: 0 0 calc(50% - 8px);
  }

  .mob-ss-dots {
    display: flex;
  }
}

/* Mobile: 1 per view */
@media (max-width: 640px) {
  .mob-ss-slide {
    flex: 0 0 100%;
  }

  .mob-ss-slider-track {
    gap: 0;
  }

  .mob-ss-nav {
    display: none;
  }

  .mob-ss-dots {
    display: flex;
  }
}

@media (max-width: 560px) {
  .mob-ss-hd {
    flex-wrap: wrap;
    gap: 10px;
  }

}

/* ─────────────────────────────────────────────────────────────
   LISTING HERO — Font override (Plus Jakarta Sans from app.css)
───────────────────────────────────────────────────────────── */
.mob__hero,
.mob__hero-name,
.mob__hero-btn,
.mob__hero-pill,
.mob__hero-meta-item,
.mob__hero-badge,
.mob__page-wrap {
  font-family: var(--mob-font-sans);
}

/* ─────────────────────────────────────────────────────────────
   OWNER BAR — "You're viewing your live listing" (above cover)
───────────────────────────────────────────────────────────── */
.mob__hero-owner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--mob-primary-light);
  border-bottom: 1px solid rgba(15, 93, 115, 0.1);
  margin-bottom: 20px;
  border-radius: 10px;
}

.mob__hero-owner-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mob-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--mob-primary-dark);
}

.mob__hero-owner-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mob-primary);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   COVER — Clickable (lightbox trigger)
───────────────────────────────────────────────────────────── */
.mob__hero-cover--clickable {
  cursor: zoom-in;
}

.mob__hero-cover--clickable:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   COVER LIGHTBOX OVERLAY
───────────────────────────────────────────────────────────── */
.mob-cover-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mob-cover-lightbox--open {
  opacity: 1;
}

.mob-cover-lightbox[hidden] {
  display: none;
}

.mob-cover-lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
  display: block;
}

.mob-cover-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mob-cover-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ─────────────────────────────────────────────────────────────
   VERIFIED BADGE — inline below listing title
───────────────────────────────────────────────────────────── */
/* Trust badge in the brand's trust colour (teal): a verification seal, a
   tinted pill with a hairline border, and an info button for the details. */
.mob__verified-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 5px 5px 7px;
  background: var(--mob-primary-light);
  border: 1px solid color-mix(in srgb, var(--mob-primary) 24%, transparent);
  border-radius: 100px;
  box-shadow: var(--mob-shadow-sm);
  margin-bottom: 12px;
  position: relative;
}

.mob__verified-check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mob__verified-seal {
  fill: var(--mob-primary);
}

.mob__verified-tick {
  stroke: var(--mob-surface);
}

.mob__verified-text {
  font-family: var(--mob-font-sans);
  font-size: 13px;
  font-weight: var(--mob-weight-bold);
  color: var(--mob-primary-dark);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.mob__verified-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: transparent;
  color: var(--mob-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.75;
  transition: background var(--mob-transition), opacity var(--mob-transition);
}

.mob__verified-info-btn svg {
  width: 15px;
  height: 15px;
}

.mob__verified-info-btn:hover,
.mob__verified-info-btn[aria-expanded="true"] {
  background: color-mix(in srgb, var(--mob-primary) 12%, transparent);
  opacity: 1;
}

.mob__verified-info-btn:focus-visible {
  outline: 2px solid var(--mob-border-focus);
  outline-offset: 1px;
  opacity: 1;
}

/* Popup tooltip */
.mob__verified-popup {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 200;
  background: var(--mob-surface);
  border: 1px solid var(--mob-border);
  border-top: 3px solid var(--mob-primary);
  border-radius: var(--mob-radius-md);
  box-shadow: var(--mob-shadow-lg);
  padding: 16px;
  min-width: 268px;
  max-width: 310px;
}

.mob__verified-popup[hidden] {
  display: none;
}

.mob__verified-popup-arrow {
  position: absolute;
  top: -7px;
  left: 22px;
  width: 13px;
  height: 13px;
  background: var(--mob-surface);
  border-left: 1px solid var(--mob-border);
  border-top: 1px solid var(--mob-border);
  transform: rotate(45deg);
}

.mob__verified-popup-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mob__verified-popup-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mob__verified-popup-icon svg {
  width: 32px;
  height: 32px;
}

.mob__verified-popup-content {
  flex: 1;
  min-width: 0;
}

.mob__verified-popup-title {
  display: block;
  font-family: var(--mob-font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--mob-text);
  margin-bottom: 5px;
  line-height: 1.3;
}

.mob__verified-popup-text {
  font-family: var(--mob-font-sans);
  font-size: 12px;
  color: var(--mob-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 480px) {
  .mob__verified-popup {
    left: 0;
    right: 0;
    min-width: 240px;
  }

  .mob__verified-popup-arrow {
    left: 125px;
    right: auto;
  }
}

/* ─────────────────────────────────────────────────────────────
   PROFILE CTAs — View Provider + Message below meta
───────────────────────────────────────────────────────────── */
.mob__hero-profile-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mob__profile-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 10px;
  font-family: var(--mob-font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background var(--mob-transition),
    border-color var(--mob-transition),
    color var(--mob-transition),
    transform var(--mob-transition),
    box-shadow var(--mob-transition);
}

.mob__profile-cta-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.mob__profile-cta-btn--primary {
  background: var(--mob-primary);
  color: #fff;
  border-color: var(--mob-primary);
  box-shadow: 0 4px 12px rgba(15, 93, 115, 0.25);
}

.mob__profile-cta-btn--primary:hover {
  background: var(--mob-primary-mid);
  border-color: var(--mob-primary-mid);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 93, 115, 0.3);
}

.mob__profile-cta-btn--outline {
  background: transparent;
  color: var(--mob-primary);
  border-color: rgba(15, 93, 115, 0.35);
}

.mob__profile-cta-btn--outline:hover {
  background: var(--mob-primary-light);
  border-color: var(--mob-primary);
  color: var(--mob-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Icon-only (Save, Share, Report). Doubled class so it wins over the
   favourite and outline button styles without !important. The label stays
   in the markup for screen readers; the title attribute gives a tooltip. */
.mob__profile-cta-btn.mob__profile-cta-btn--icon {
  flex: 0 0 auto;
  justify-content: center;
  width: var(--mob-icon-btn-size);
  height: var(--mob-icon-btn-size);
  padding: 0;
  border-radius: var(--mob-radius-md);
  border-width: 1.5px;
  background: var(--mob-primary-light);
  color: var(--mob-primary);
}

.mob__profile-cta-btn.mob__profile-cta-btn--icon svg {
  width: var(--mob-icon-btn-glyph);
  height: var(--mob-icon-btn-glyph);
}

.mob__profile-cta-btn.mob__profile-cta-btn--icon:hover,
.mob__profile-cta-btn.mob__profile-cta-btn--icon:focus-visible {
  background: var(--mob-primary);
  border-color: var(--mob-primary);
  color: var(--mob-on-primary);
}

.mob__profile-cta-btn.mob__profile-cta-btn--icon.mob__favourite-btn {
  background: var(--mob-favourite-light);
  border-color: var(--mob-favourite-border);
  color: var(--mob-favourite);
}

.mob__profile-cta-btn.mob__profile-cta-btn--icon.mob__favourite-btn:hover,
.mob__profile-cta-btn.mob__profile-cta-btn--icon.mob__favourite-btn--active {
  background: var(--mob-favourite);
  border-color: var(--mob-favourite);
  color: var(--mob-on-primary);
}

.mob__profile-cta-btn--icon > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .mob__hero-owner-bar {
    padding: 10px 16px;
  }

  .mob__hero-owner-bar-text {
    font-size: 12px;
  }

  .mob__hero-profile-ctas {
    margin-top: 10px;
    flex-wrap: nowrap;
  }

  .mob__profile-cta-btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 10px 8px;
    font-size: 13px;
  }

  .mob__profile-cta-btn.mob__profile-cta-btn--icon {
    width: var(--mob-icon-btn-size-sm);
    height: var(--mob-icon-btn-size-sm);
  }
}

/* ─────────────────────────────────────────────────────────────
   GALLERY LIGHTBOX
───────────────────────────────────────────────────────────── */

/* Make items focusable + clickable */
.mob__gallery-item {
  cursor: zoom-in;
  position: relative;
}

.mob__gallery-item:focus-visible {
  outline: 2px solid var(--mob-primary);
  outline-offset: 2px;
}

/* Hover zoom-icon overlay */
.mob__gallery-item-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 50, 62, 0);
  transition: background 0.25s ease;
  pointer-events: none;
  border-radius: inherit;
}

.mob__gallery-item:hover .mob__gallery-item-zoom,
.mob__gallery-item:focus-visible .mob__gallery-item-zoom {
  background: rgba(10, 50, 62, 0.42);
}

.mob__gallery-item-zoom svg {
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.mob__gallery-item:hover .mob__gallery-item-zoom svg,
.mob__gallery-item:focus-visible .mob__gallery-item-zoom svg {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox overlay */
.mob-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mob-gallery-lightbox--open {
  opacity: 1;
}

.mob-gallery-lightbox[hidden] {
  display: none;
}

/* Main image */
.mob-gallery-lightbox-img {
  max-width: min(95vw, 1280px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  display: block;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}

/* Close button */
.mob-gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.mob-gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Prev / Next nav buttons */
.mob-gallery-lightbox-prev,
.mob-gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    opacity 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.mob-gallery-lightbox-prev {
  left: 18px;
}
.mob-gallery-lightbox-next {
  right: 18px;
}

.mob-gallery-lightbox-prev:hover,
.mob-gallery-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
}

.mob-gallery-lightbox-prev:disabled,
.mob-gallery-lightbox-next:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}

.mob-gallery-lightbox-prev svg,
.mob-gallery-lightbox-next svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* "1 / 4" counter */
.mob-gallery-lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mob-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.48);
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Mobile: full-width image in original ratio */
@media (max-width: 640px) {
  .mob-gallery-lightbox-img {
    max-width: 100vw;
    max-height: 80vh;
    border-radius: 0;
    box-shadow: none;
  }

  .mob-gallery-lightbox-prev {
    left: 8px;
    width: 42px;
    height: 42px;
  }

  .mob-gallery-lightbox-next {
    right: 8px;
    width: 42px;
    height: 42px;
  }
  .mob__section-title{
    margin-bottom: 0;
    font-size: var(--mob-text-md);
  }
}

/* ════════════════════════════════════════════════════════════
   "WRITE WITH AI" — About section trigger + description modal
════════════════════════════════════════════════════════════ */

/* ── Header actions wrapper (Write with AI + Edit) ────────── */
.mob-about-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Trigger button ────────────────────────────────────────── */
.mob-ai-write-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mob-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--mob-primary);
  border: 1.5px solid var(--mob-primary);
  border-radius: 50px;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--mob-transition),
    transform var(--mob-transition),
    box-shadow var(--mob-transition);
}

.mob-ai-write-btn[hidden] {
  display: none;
}

.mob-ai-write-btn:hover {
  background: var(--mob-primary-mid);
  border-color: var(--mob-primary-mid);
  transform: translateY(-1px);
  box-shadow: var(--mob-shadow-sm);
}

/* Explicit size + display so theme button/svg resets can't hide the icon. */
.mob-ai-write-btn .mob-ai-write-btn__icon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: inherit;
  fill: none;
}

/* Theme icon styles (e.g. Voxel's) recolour svg paths and would hide the
   sparkles against the button; a CSS rule outranks the fill attribute. */
.mob-ai-write-btn .mob-ai-write-btn__icon path {
  fill: currentColor;
}

.mob-ai-write-btn--empty {
  margin-top: 12px;
}

/* ── Overlay ───────────────────────────────────────────────── */
.mob-ai-desc-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(10, 30, 38, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mob-ai-desc-overlay[hidden] {
  display: none;
}

.mob-ai-desc-overlay.mob-ai-desc-overlay--open {
  opacity: 1;
}

/* ── Modal shell ───────────────────────────────────────────── */
.mob-ai-desc-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--mob-surface);
  border-radius: var(--mob-radius-lg);
  box-shadow: var(--mob-shadow-lg);
  padding: 28px 26px 26px;
  font-family: var(--mob-font-sans);
  transform: translateY(12px) scale(0.98);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  opacity: 0;
}

.mob-ai-desc-overlay--open .mob-ai-desc-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ── Close button ──────────────────────────────────────────── */
.mob-ai-desc-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--mob-bg);
  color: var(--mob-text-muted);
  cursor: pointer;
  transition:
    background var(--mob-transition),
    color var(--mob-transition);
}

.mob-ai-desc-close:hover {
  background: var(--mob-primary-light);
  color: var(--mob-primary-dark);
}

/* ── Header ────────────────────────────────────────────────── */
.mob-ai-desc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding-right: 30px;
}

.mob-ai-desc-icon {
  font-size: 20px;
  line-height: 1;
}

.mob-ai-desc-title {
  margin: 0;
  font-size: var(--mob-text-lg);
  font-weight: var(--mob-weight-bold);
  color: var(--mob-text);
  letter-spacing: -0.01em;
}

.mob-ai-desc-sub {
  margin: 0 0 20px;
  font-size: var(--mob-text-sm);
  line-height: 1.55;
  color: var(--mob-text-muted);
}

/* ── Form fields ───────────────────────────────────────────── */
.mob-ai-desc-field {
  margin-bottom: 16px;
}

.mob-ai-desc-label {
  display: block;
  font-size: var(--mob-text-sm);
  font-weight: var(--mob-weight-semibold);
  color: var(--mob-text);
  margin-bottom: 7px;
}

.mob-ai-desc-input {
  width: 100%;
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-sm);
  color: var(--mob-text);
  background: var(--mob-bg);
  border: 1.5px solid var(--mob-border);
  border-radius: var(--mob-radius-sm);
  padding: 10px 12px;
  resize: vertical;
  min-height: 44px;
  transition:
    border-color var(--mob-transition),
    box-shadow var(--mob-transition);
}

.mob-ai-desc-input:focus {
  outline: none;
  border-color: var(--mob-border-focus);
  box-shadow: 0 0 0 3px rgba(15, 93, 115, 0.12);
  background: var(--mob-surface);
}

.mob-ai-desc-input::placeholder {
  color: var(--mob-text-light);
}

/* ── Tone pills ────────────────────────────────────────────── */
.mob-ai-desc-tones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mob-ai-desc-tone-pill {
  font-family: var(--mob-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--mob-primary);
  background: var(--mob-primary-light);
  border: 1.5px solid transparent;
  border-radius: 50px;
  padding: 7px 16px;
  cursor: pointer;
  transition:
    background var(--mob-transition),
    color var(--mob-transition),
    border-color var(--mob-transition);
}

.mob-ai-desc-tone-pill:hover {
  border-color: var(--mob-primary-mid);
}

.mob-ai-desc-tone-pill.mob-ai-desc-tone-pill--active {
  background: var(--mob-primary);
  color: #fff;
  border-color: var(--mob-primary);
}

/* ── Note + error ──────────────────────────────────────────── */
.mob-ai-desc-note {
  margin: 4px 0 18px;
  font-size: 12.5px;
  color: var(--mob-text-light);
  line-height: 1.5;
}

.mob-ai-desc-error,
.mob-ai-desc-result-error {
  font-size: 13px;
  color: #b8402f;
  background: #fdecea;
  border: 1px solid #f4c7c0;
  border-radius: var(--mob-radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
}

.mob-ai-desc-error[hidden],
.mob-ai-desc-result-error[hidden] {
  display: none;
}

/* ── Generate button ───────────────────────────────────────── */
.mob-ai-desc-generate-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-sm);
  font-weight: 700;
  color: #fff;
  background: var(--mob-primary);
  border: none;
  border-radius: var(--mob-radius-md);
  padding: 13px 20px;
  cursor: pointer;
  transition:
    background var(--mob-transition),
    transform var(--mob-transition),
    box-shadow var(--mob-transition);
}

.mob-ai-desc-generate-btn:hover {
  background: var(--mob-primary-mid);
  transform: translateY(-1px);
  box-shadow: var(--mob-shadow-md);
}

.mob-ai-desc-generate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Loading step ──────────────────────────────────────────── */
.mob-ai-desc-step--loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 36px 10px 20px;
  text-align: center;
}

.mob-ai-desc-spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--mob-primary-light);
  border-top-color: var(--mob-primary);
  animation: mob-ai-desc-spin 0.8s linear infinite;
}

@keyframes mob-ai-desc-spin {
  to {
    transform: rotate(360deg);
  }
}

.mob-ai-desc-loading-text {
  margin: 0;
  font-size: var(--mob-text-sm);
  color: var(--mob-text-muted);
}

/* ── Result step ───────────────────────────────────────────── */
.mob-ai-desc-preview {
  background: var(--mob-bg);
  border: 1px solid var(--mob-border);
  border-radius: var(--mob-radius-md);
  padding: 16px;
  font-size: var(--mob-text-sm);
  line-height: 1.65;
  color: var(--mob-text);
  max-height: 40vh;
  overflow-y: auto;
  margin-bottom: 18px;
  white-space: pre-wrap;
}

.mob-ai-desc-result-actions {
  display: flex;
  gap: 10px;
}

.mob-ai-desc-btn-secondary,
.mob-ai-desc-btn-primary {
  flex: 1;
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-sm);
  font-weight: 700;
  border-radius: var(--mob-radius-md);
  padding: 12px 16px;
  cursor: pointer;
  text-align: center;
  transition:
    background var(--mob-transition),
    color var(--mob-transition),
    transform var(--mob-transition),
    box-shadow var(--mob-transition);
}

.mob-ai-desc-btn-secondary {
  background: var(--mob-surface);
  color: var(--mob-primary-dark);
  border: 1.5px solid var(--mob-border);
}

.mob-ai-desc-btn-secondary:hover {
  background: var(--mob-primary-light);
  border-color: var(--mob-primary-mid);
}

.mob-ai-desc-btn-primary {
  background: var(--mob-primary);
  color: #fff;
  border: 1.5px solid var(--mob-primary);
}

.mob-ai-desc-btn-primary:hover {
  background: var(--mob-primary-mid);
  border-color: var(--mob-primary-mid);
  transform: translateY(-1px);
  box-shadow: var(--mob-shadow-md);
}

.mob-ai-desc-btn-secondary:disabled,
.mob-ai-desc-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .mob-about-header-actions {
    flex-wrap: wrap;
  }

  .mob-ai-desc-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .mob-ai-desc-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--mob-radius-lg) var(--mob-radius-lg) 0 0;
    transform: translateY(100%);
    padding: 24px 20px 22px;
  }

  .mob-ai-desc-overlay--open .mob-ai-desc-modal {
    transform: translateY(0);
  }

  .mob-ai-desc-result-actions {
    flex-direction: column-reverse;
  }
}

/* ── "Add this section" card (owner / admin, empty sections) ──
   Same look as the profile's "Create your first listing" card; the
   button inside is the standard section Edit button. */
.mob-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--mob-space-xs);
  min-height: 220px;
  margin: var(--mob-space-md) 0;
  padding: var(--mob-space-xl) var(--mob-space-lg);
  border: 2px dashed var(--mob-border);
  border-radius: var(--mob-radius-lg);
  background: var(--mob-surface);
  text-align: center;
  text-decoration: none;
  transition: border-color var(--mob-transition), background var(--mob-transition);
}

/* Dialog-opening variant: strip the browser / theme button look. */
button.mob-add-card {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
}

.mob-add-card:hover,
.mob-add-card:focus-visible {
  border-color: var(--mob-primary);
  background: var(--mob-primary-light);
  text-decoration: none;
}

.mob-add-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--mob-space-xs);
  border-radius: 50%;
  background: var(--mob-primary-light);
  color: var(--mob-primary);
}

.mob-add-card__icon svg {
  color: inherit;
}

.mob-add-card__title {
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-md);
  font-weight: var(--mob-weight-bold);
  color: var(--mob-text);
}

.mob-add-card__text {
  max-width: 420px;
  font-family: var(--mob-font-sans);
  font-size: var(--mob-text-sm);
  line-height: 1.5;
  color: var(--mob-text-muted);
}

.mob-add-card__btn {
  margin-top: var(--mob-space-sm);
}

.mob-add-card:hover .mob-add-card__btn {
  background: var(--mob-surface);
  box-shadow: var(--mob-shadow-sm);
}

.mob-add-card__btn svg {
  color: inherit;
}
