/* Moumachi UI — Listing Details styles (Exact from input.css) */
/* Listing page canvas behind section cards */
  .listing-page main {
    background-color: #fafafa;
  }

  .listing-page main > .common-sec {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #fafafa;
  }

  .listing-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
  }

  .listing-hero__img {
    height: 275px;
  }

  .listing-hero__fab {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.8);
  }

  .listing-sheet {
    margin-top: -72px;
    border-radius: 12px 12px 0 0;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    overflow: visible;
  }

  .listing-sheet__avatar {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    border: 1.5px solid #e5e7eb;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  img.listing-sheet__avatar {
    object-fit: contain !important;
    padding: 4px;
    background-color: #ffffff;
  }

  .listing-sheet__avatar img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    padding: 4px;
    display: block;
    background-color: #ffffff;
  }

  .listing-cta {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    color: #0b0b0b;
    cursor: pointer;
  }

  .listing-cta:hover,
  .listing-cta:focus,
  .listing-cta:visited {
    color: #0b0b0b;
    text-decoration: none;
  }

  .listing-cta__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .listing-cta__inner img {
    display: block;
    flex-shrink: 0;
  }

  .listing-cta--primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #0b0b0b;
  }

  .listing-cta--primary:hover {
    background-color: color-mix(in srgb, #ffc107 90%, transparent);
    border-color: color-mix(in srgb, #ffc107 90%, transparent);
    color: #0b0b0b;
  }

  .listing-cta--outline {
    background-color: #fff;
    border-color: #dfdfdf;
    color: #0b0b0b;
  }

  .listing-cta--outline:hover {
    background-color: #f9f9f9;
    color: #0b0b0b;
  }

  .listing-more-menu {
    display: none;
    z-index: 60;
  }

  .listing-more-menu.is-open {
    display: block;
  }

  .listing-tabs__scroll {
    display: none;
    width: 32px;
    height: 32px;
    z-index: 5;
  }

  .listing-tabs {
    border-top: 1px solid #f1f1f1;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .listing-tabs-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: #fff;
    border-bottom: 1px solid #f1f1f1;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);

  }

  .listing-tabs-bar .listing-tabs {
    border-top: 0;
    margin: 0;
  }

  .listing-tabs-bar .container {
    background-color: #fff;
  }

  .listing-body__main > .listing-card {
    scroll-margin-top: calc(var(--listing-tabs-height, 4.5rem) + 16px);
  }

  @media (min-width: 1024px) {
    .listing-tabs-bar {
      top: var(--site-header-offset, var(--site-header-height, 72px));
    }

    .listing-body__main > .listing-card {
      scroll-margin-top: calc(
        var(--site-header-offset, var(--site-header-height, 72px)) +
          var(--listing-tabs-height, 4.5rem) + 16px
      );
    }
    .listing-body__aside {
      position: sticky;
      top: calc(
        var(--site-header-offset, var(--site-header-height, 72px)) +
          var(--listing-tabs-height, 4.5rem) + 24px
      );
      align-self: flex-start;
      max-height: calc(
        100vh -
          (
            var(--site-header-offset, var(--site-header-height, 72px)) +
              var(--listing-tabs-height, 4.5rem) + 40px
          )
      );
      max-height: calc(
        100dvh -
          (
            var(--site-header-offset, var(--site-header-height, 72px)) +
              var(--listing-tabs-height, 4.5rem) + 40px
          )
      );
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
      padding-top: 2px;
      padding-right: 4px;
      padding-bottom: 24px;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 0, 0, 0.16) transparent;
      -webkit-overflow-scrolling: touch;
    }

    .listing-body__aside::-webkit-scrollbar {
      width: 5px;
    }

    .listing-body__aside::-webkit-scrollbar-track {
      background: transparent;
    }

    .listing-body__aside::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.16);
      border-radius: 9999px;
    }

    .listing-body__aside::-webkit-scrollbar-thumb:hover {
      background-color: rgba(0, 0, 0, 0.28);
    }
  }

  .listing-tabs__nav {
    gap: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .listing-tabs__nav::-webkit-scrollbar {
    display: none;
  }

  .listing-tabs__nav a {
    position: relative;
    flex-shrink: 0;
    padding-bottom: 0.375rem;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    color: #3b3b3b;
  }

  .listing-tabs__nav a:hover {
    color: #0b0b0b;
  }

  .listing-tabs__nav a.is-active {
    font-weight: 700;
    color: #0b0b0b;
  }

  .listing-tabs__nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background-color: #f5c518;
  }

  @media (max-width: 1023px) {
    .listing-page #siteHeader {
      display: none;
    }

    /* The mobile tab bar lives in the header, so it is hidden here too: drop the room kept for it */
    body.listing-page {
      padding-bottom: 0;
    }

    .listing-tabs-bar {
      top: 0 !important;
    }

    .listing-page .listing-hero-block.container {
      max-width: none;
      padding-left: 0;
      padding-right: 0;
    }

    .listing-page main > .listing-top-sec.common-sec {
      padding-top: 0;
      padding-bottom: 0;
      background-color: #fafafa;
      z-index: 20;
      overflow: visible;
    }

    .listing-page main > .common-sec:not(.listing-top-sec) {
      padding-top: 16px;
      padding-bottom: 24px;
    }

    .listing-page .listing-card {
      border-radius: 12px;
      padding: 15px;
    }

    .listing-sheet.listing-card {
      border-radius: 12px 12px 0 0;
      padding: 16px;
      overflow: visible;
    }

    .listing-tabs__nav {
      padding-right: 40px;
    }

    .listing-tabs__scroll.is-visible {
      display: inline-flex;
    }
  }

  @media (min-width: 1024px) {
    .listing-hero__img {
      height: auto;
      max-height: 476px;
    }

    .listing-sheet {
      margin-top: 1.5rem;
      border-radius: 16px;
      padding: 24px;
      background-color: rgba(255, 255, 255, 0.8);
    }

    .listing-sheet.listing-card {
      background-color: rgba(255, 255, 255, 0.8);
      padding: 24px;
    }

    .listing-sheet__avatar {
      width: 120px !important;
      height: 120px !important;
      min-width: 120px !important;
      min-height: 120px !important;
      max-width: 120px !important;
      max-height: 120px !important;
      border: 2px solid #e5e7eb;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    img.listing-sheet__avatar {
      padding: 8px;
    }

    .listing-sheet__avatar img {
      padding: 8px;
    }
  }

  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
  }

  /* Listing about modal: bottom sheet (mobile), centered (sm+) */
  .listing-about-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    align-items: flex-end;
    justify-content: stretch;
  }

  .listing-about-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .listing-about-modal__panel {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 90vh;
    background-color: #ffffff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-sizing: border-box;
  }

  .listing-about-modal.is-open .listing-about-modal__backdrop {
    opacity: 1;
  }

  .listing-about-modal.is-open .listing-about-modal__panel {
    transform: translateY(0);
  }

  @media (min-width: 640px) {
    .listing-about-modal {
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
    }

    .listing-about-modal__panel {
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      max-width: var(--modal-max-width, 560px);
      max-height: min(865px, 90vh);
      border-radius: 30px !important;
      transform: scale(0.97);
      opacity: 0;
      transition:
        opacity 0.25s ease,
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .listing-about-modal.is-open .listing-about-modal__panel {
      opacity: 1;
      transform: scale(1);
    }

    /* Modal max-width variants */
    .listing-about-modal__panel[class*="700px"] {
      max-width: 700px;
    }
    .listing-about-modal__panel[class*="560px"] {
      max-width: 560px;
    }
    .listing-about-modal__panel[class*="500px"] {
      max-width: 500px;
    }
    .listing-about-modal__panel[class*="520px"] {
      max-width: 520px;
    }
  }

  /* ── Listing Modal Action Buttons ── */
  .listing-modal-btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 9999px;
    border: 1px solid #D1D5DB;
    background-color: #FFFFFF;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .listing-modal-btn-cancel:hover {
    background-color: #F9FAFB;
    border-color: #9CA3AF;
    color: #111827;
  }

  .listing-modal-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background-color: #0B0B0B;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  }
  .listing-modal-btn-primary:hover:not(:disabled) {
    background-color: #262626;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
  }
  .listing-modal-btn-primary:active:not(:disabled) {
    transform: translateY(0);
  }
  .listing-modal-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .listing-modal-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background-color: #DC2626;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.25);
  }
  .listing-modal-btn-danger:hover:not(:disabled) {
    background-color: #B91C1C;
    box-shadow: 0 4px 8px rgba(185, 28, 28, 0.3);
    transform: translateY(-1px);
  }
  .listing-modal-btn-danger:active:not(:disabled) {
    transform: translateY(0);
  }
  .listing-modal-btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* ── Report Reasons Radio Options ── */
  .listing-report-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .report-reason-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 0;
    user-select: none;
  }
  .report-reason-item:hover {
    border-color: #D1D5DB;
    background-color: #F9FAFB;
  }
  .report-reason-item.is-selected,
  .report-reason-item:has(input:checked) {
    border-color: #0B0B0B;
    background-color: #F9FAFB;
    box-shadow: 0 0 0 1px #0B0B0B;
  }
  .report-reason-item input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #0B0B0B;
    cursor: pointer;
    flex-shrink: 0;
  }
  .report-reason-item span {
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
    flex: 1;
  }
  .report-reason-item.is-selected span,
  .report-reason-item:has(input:checked) span {
    color: #0B0B0B;
    font-weight: 600;
  }

  /* ── Report Listing Target Business Card ── */
  .listing-report-target {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    margin-bottom: 16px;
  }
  .listing-report-target__avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .listing-report-target__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .listing-report-target__info {
    min-width: 0;
    flex: 1;
  }
  .listing-report-target__name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .listing-report-target__meta {
    margin: 2px 0 0;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ── Report Listing Form Controls ── */
  .listing-report-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 2px;
  }
  .listing-report-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
  }
  .listing-report-label .required-mark {
    color: #EF4444;
    font-weight: 700;
    margin-left: 2px;
  }
  .listing-report-label .optional-mark {
    font-size: 12px;
    font-weight: 400;
    color: #9CA3AF;
    margin-left: 4px;
  }
  .listing-report-textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 84px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #111827;
    background-color: #FAFAFA;
    outline: none;
    resize: none;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  }
  .listing-report-textarea::placeholder {
    color: #9CA3AF;
    font-size: 13px;
  }
  .listing-report-textarea:focus {
    border-color: #0B0B0B;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(11, 11, 11, 0.08);
  }
  .listing-report-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
  }
  .listing-report-hint span:last-child {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #4B5563;
  }
  .listing-report-error {
    border-radius: 10px;
    background-color: #FEF2F2;
    border: 1px solid #FEE2E2;
    padding: 10px 14px;
    font-size: 13px;
    color: #B91C1C;
    font-weight: 500;
    line-height: 1.4;
  }
  .listing-report-actions {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  /* ── Block User Modal Warning Card ── */
  .block-warning-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    background-color: #FFFBEB;
    border: 1px solid #FDE68A;
  }
  .block-warning-card__header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #92400E;
    font-weight: 500;
    line-height: 1.45;
  }
  .block-warning-card__icon {
    width: 18px;
    height: 18px;
    color: #D97706;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .block-warning-card__note {
    font-size: 12px;
    color: #B45309;
    padding-left: 28px;
    line-height: 1.4;
  }


/* ── Listing About 4-Line Preview Clamping ── */
.listing-about__preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  position: relative;
}



.listing-about__preview > *:first-child {
  margin-top: 0 !important;
}

.listing-about__preview h1,
.listing-about__preview h2,
.listing-about__preview h3,
.listing-about__preview h4,
.listing-about__preview h5,
.listing-about__preview h6 {
  margin-top: 0;
  margin-bottom: 6px;
}

.listing-about__preview p {
  margin-top: 0;
  margin-bottom: 8px;
}

.listing-about__preview ul,
.listing-about__preview ol {
  margin-top: 4px;
  margin-bottom: 8px;
}

/* ── TinyMCE / Rich-Text Typography & Visual Hierarchy for Business Description ── */
.tinymce-content {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.75;
  color: #3b3b3b;
  word-break: break-word;
}

@media (min-width: 1024px) {
  .tinymce-content {
    font-size: 15px;
    line-height: 1.8;
  }
}

.tinymce-content > *:first-child {
  margin-top: 0 !important;
}

.tinymce-content > *:last-child {
  margin-bottom: 0 !important;
}

/* Paragraphs */
.tinymce-content p {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: inherit;
  color: #3b3b3b;
}

/* Headings with clear natural hierarchy and balanced spacing */
.tinymce-content h1,
.tinymce-content h2,
.tinymce-content h3,
.tinymce-content h4,
.tinymce-content h5,
.tinymce-content h6 {
  color: #0b0b0b;
  font-family: inherit;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.tinymce-content h1 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.tinymce-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.tinymce-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
}

.tinymce-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-top: 16px;
  margin-bottom: 8px;
}

.tinymce-content h5 {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-top: 14px;
  margin-bottom: 6px;
}

.tinymce-content h6 {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 12px;
  margin-bottom: 4px;
}

@media (min-width: 1024px) {
  .tinymce-content h1 {
    font-size: 28px;
    margin-top: 28px;
    margin-bottom: 14px;
  }
  .tinymce-content h2 {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
  }
  .tinymce-content h3 {
    font-size: 19px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .tinymce-content h4 {
    font-size: 17px;
    margin-top: 18px;
    margin-bottom: 8px;
  }
}

/* Headings immediately following another heading have tighter top margin */
.tinymce-content h1 + h2,
.tinymce-content h2 + h3,
.tinymce-content h3 + h4,
.tinymce-content h4 + h5 {
  margin-top: 8px !important;
}

/* Lists */
.tinymce-content ul {
  list-style-type: disc !important;
  margin-top: 8px;
  margin-bottom: 16px;
  padding-left: 20px !important;
}

.tinymce-content ol {
  list-style-type: decimal !important;
  margin-top: 8px;
  margin-bottom: 16px;
  padding-left: 20px !important;
}

.tinymce-content li {
  margin-bottom: 6px;
  line-height: 1.7;
  color: #3b3b3b;
}

.tinymce-content ul li::marker {
  color: #ffc107;
}

.tinymce-content ol li::marker {
  color: #0b0b0b;
  font-weight: 600;
}

.tinymce-content ul ul,
.tinymce-content ol ul {
  list-style-type: circle !important;
  margin-top: 0.375rem;
  margin-bottom: 0.375rem;
  padding-left: 1.25rem !important;
}

.tinymce-content ol ol,
.tinymce-content ul ol {
  list-style-type: lower-latin !important;
  margin-top: 0.375rem;
  margin-bottom: 0.375rem;
  padding-left: 1.25rem !important;
}

/* Links */
.tinymce-content a {
  color: #0b0b0b;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #ffc107;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.tinymce-content a:hover {
  color: #b45309;
  text-decoration-color: #b45309;
}

/* Emphasis & Strong */
.tinymce-content strong,
.tinymce-content b {
  font-weight: 700;
  color: #0b0b0b;
}

.tinymce-content em,
.tinymce-content i {
  font-style: italic;
}

.tinymce-content u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tinymce-content s,
.tinymce-content strike,
.tinymce-content del {
  text-decoration: line-through;
  color: #898989;
}

/* Blockquotes */
.tinymce-content blockquote {
  border-left: 3px solid #ffc107;
  padding: 0.75rem 1.25rem;
  margin: 1.25rem 0;
  background-color: #fafafa;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #4b5563;
  line-height: 1.7;
}

.tinymce-content blockquote p {
  margin-bottom: 0.5rem;
}

.tinymce-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Tables */
.tinymce-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.25rem 0;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  overflow: hidden;
  display: table;
}

.tinymce-content th,
.tinymce-content td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid #f1f1f1;
}

.tinymce-content th {
  background-color: #f9f9f9;
  font-weight: 600;
  color: #0b0b0b;
  font-size: 13px;
}

.tinymce-content td {
  color: #3b3b3b;
  font-size: 14px;
}

.tinymce-content tr:last-child td {
  border-bottom: none;
}

/* Images inside TinyMCE */
.tinymce-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
}

/* Dividers */
.tinymce-content hr {
  border: 0;
  border-top: 1px solid #f1f1f1;
  margin: 1.75rem 0;
}

/* Code */
.tinymce-content code {
  background-color: #f3f4f6;
  color: #0b0b0b;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.tinymce-content pre {
  background-color: #1f2937;
  color: #f3f4f6;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.tinymce-content pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* ── Listing Photos & Interactive Lightbox ───────────────────────────── */

.listing-photos-view-all-btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border: 1px solid #E5E7EB;
  background-color: #ffffff;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0B0B0B;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.listing-photos-view-all-btn:hover {
  border-color: #FFA903;
  color: #FFA903;
  box-shadow: 0 2px 6px rgba(255, 169, 3, 0.2);
}

.listing-photos-view-all-btn svg {
  transition: transform 0.2s ease;
}

.listing-photos-view-all-btn:hover svg {
  transform: translateX(2px) scale(1.1);
}

.listing-photo-card {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f3f4f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-photo-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.listing-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-photo-card:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal Root */
.listing-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease !important;
}

.listing-lightbox.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Dark Frosted Glass Backdrop */
.listing-lightbox__backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(10, 10, 15, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 1 !important;
  cursor: pointer !important;
}

/* Main Lightbox Layout Container */
.listing-lightbox__container {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  padding: 16px 24px !important;
  pointer-events: none !important;
  transform: scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing-lightbox.is-open .listing-lightbox__container {
  transform: scale(1);
}

/* Top Action Controls & Header */
.listing-lightbox__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  padding: 4px 0 !important;
  pointer-events: auto !important;
}

.listing-lightbox__counter {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.listing-lightbox__counter span {
  color: #ffffff !important;
}

.listing-lightbox__counter span[data-lightbox-current] {
  color: #FFA903 !important;
  font-weight: 800 !important;
}

.listing-lightbox__bizname {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 450px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 640px) {
  .listing-lightbox__bizname {
    display: none !important;
  }
}

.listing-lightbox__actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  pointer-events: auto !important;
}

.listing-lightbox__control-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: auto !important;
}

.listing-lightbox__control-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  pointer-events: none !important;
  transition: transform 0.2s ease, color 0.2s ease, stroke 0.2s ease;
}

.listing-lightbox__control-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 169, 3, 0.6) !important;
  transform: scale(1.08) !important;
}

.listing-lightbox__control-btn:hover svg {
  color: #FFA903 !important;
  stroke: #FFA903 !important;
}

.listing-lightbox__control-btn:active {
  transform: scale(0.95) !important;
}

.listing-lightbox__control-btn--close:hover {
  background: rgba(239, 68, 68, 0.88) !important;
  border-color: rgba(239, 68, 68, 0.95) !important;
}

.listing-lightbox__control-btn--close:hover svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Middle Stage: Image & Floating Navigation Buttons */
.listing-lightbox__stage {
  position: relative !important;
  display: flex !important;
  flex: 1 1 0% !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.listing-lightbox__media-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-height: 70vh !important;
  max-width: 86vw !important;
  cursor: default !important;
  pointer-events: auto !important;
}

.listing-lightbox__main-img {
  display: block !important;
  max-height: 70vh !important;
  max-width: 86vw !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
  cursor: zoom-in !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease !important;
  pointer-events: auto !important;
}

.listing-lightbox__main-img.is-zoomed {
  transform: scale(1.75) !important;
  cursor: zoom-out !important;
  z-index: 25 !important;
}

.listing-lightbox__loader {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}

.listing-lightbox__spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #FFA903;
  animation: listingLightboxSpin 0.75s linear infinite;
}

@keyframes listingLightboxSpin {
  to { transform: rotate(360deg); }
}

/* Prev & Next Floating Circular Buttons */
.listing-lightbox__nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: rgba(26, 26, 32, 0.8) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 40 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: auto !important;
}

.listing-lightbox__nav-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  pointer-events: none !important;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.listing-lightbox__nav-btn--prev {
  left: 16px !important;
}

.listing-lightbox__nav-btn--next {
  right: 16px !important;
}

.listing-lightbox__nav-btn:hover {
  background: #FFA903 !important;
  border-color: #FFA903 !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow: 0 0 24px rgba(255, 169, 3, 0.5) !important;
}

.listing-lightbox__nav-btn:hover svg {
  color: #0B0B0B !important;
  stroke: #0B0B0B !important;
}

.listing-lightbox__nav-btn:active {
  transform: translateY(-50%) scale(0.96) !important;
}

.listing-lightbox__nav-btn.is-disabled {
  opacity: 0.25 !important;
  pointer-events: none !important;
  cursor: default !important;
}

@media (max-width: 640px) {
  .listing-lightbox__nav-btn {
    width: 44px !important;
    height: 44px !important;
  }
  .listing-lightbox__nav-btn--prev {
    left: 6px !important;
  }
  .listing-lightbox__nav-btn--next {
    right: 6px !important;
  }
}

/* Bottom Caption & Thumbnail Strip */
.listing-lightbox__bottom {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  padding-top: 8px !important;
  width: 100% !important;
  pointer-events: auto !important;
}

.listing-lightbox__caption-wrap {
  max-width: 800px !important;
  text-align: center !important;
  pointer-events: auto !important;
}

.listing-lightbox__caption {
  display: inline-block !important;
  margin: 0 !important;
  padding: 8px 24px !important;
  border-radius: 9999px !important;
  background: rgba(18, 18, 24, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Thumbnail Strip Rail */
.listing-lightbox__thumbs-rail {
  display: flex !important;
  width: 100% !important;
  max-width: 850px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding: 4px 8px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  pointer-events: auto !important;
}

@media (min-width: 640px) {
  .listing-lightbox__thumbs-rail {
    justify-content: center !important;
  }
}

.listing-lightbox__thumbs-rail::-webkit-scrollbar {
  display: none !important;
}

.listing-lightbox__thumb-item {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  opacity: 0.45 !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: #1e1e24 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  pointer-events: auto !important;
}

.listing-lightbox__thumb-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  pointer-events: none !important;
}

.listing-lightbox__thumb-item:hover {
  opacity: 0.85 !important;
  transform: translateY(-2px) !important;
}

.listing-lightbox__thumb-item.is-active {
  opacity: 1 !important;
  border-color: #FFA903 !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 4px 14px rgba(255, 169, 3, 0.45) !important;
}

/* ==========================================================================
   Review Star Icons (Bolder, consistent sizing)
   ========================================================================== */

/* Overview "Select your rating" — Yelp-style rounded strip */
.overview-star-strip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.overview-star-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #D4D4D4;
  border: none;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
}

.overview-star-btn:hover {
  background-color: #FFA903;
}

.overview-star-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.overview-star-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: var(--logo-accent);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.overview-star-btn:last-child {
  border-right: none;
}

.overview-star-btn:hover {
  background-color: #444444;
  transform: scale(1.05);
  z-index: 2;
}

.overview-star-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* Per-review rating stars — slightly bigger and bolder */
.review-star-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}

.review-star-filled {
  color: #FFC107;
}

.review-star-empty {
  color: #D1D5DB;
}

/* ==========================================================================
   Facebook-Style Review Actions Bar (Like/Reply left, Reactions right)
   ========================================================================== */
.review-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.review-actions-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Reply / action button icons (not Tailwind-dependent) */
.review-action-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Facebook-Style Review Reactions (Compliments)
   ========================================================================== */

/* Reaction Dock Floating Container */
.reaction-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.reaction-dock {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2px;
  background: #ffffff;
  padding: 4px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.15), 0 2px 6px -1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.94);
  transform-origin: bottom left;
  transition: opacity 0.2s cubic-bezier(0.2, 0, 0, 1), transform 0.22s cubic-bezier(0.2, 0, 0, 1);
  white-space: nowrap;
}

/* Dock hover/open state */
.reaction-container:hover .reaction-dock,
.reaction-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* After a compliment is picked: drop the dock away even though the pointer is still over it.
   Beats the :hover rule above; listing-reviews.js removes .is-picked when the pointer leaves,
   so the dock opens again on the next hover. */
.reaction-container.is-picked .reaction-dock,
.reaction-container.is-picked:hover .reaction-dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.86);
  transition: opacity 0.18s ease-in, transform 0.24s cubic-bezier(0.55, 0, 0.75, 0.2);
}

/* Freeze the hovered icon so it doesn't stay enlarged while the dock drops */
.reaction-container.is-picked .reaction-dock-item,
.reaction-container.is-picked .reaction-dock-item:hover {
  transform: none;
}

.reaction-container.is-picked .reaction-dock-item .dock-tooltip {
  opacity: 0;
}

/* The picked icon flying into the reaction button (created by playReactionDrop in
   listing-reviews.js): a small lift, then a gravity-like fall onto the button */
.reaction-drop-ghost {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  object-fit: contain;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
  animation: reaction-drop 0.55s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

@keyframes reaction-drop {
  0% {
    transform: translate(0, 0) scale(1.35);
    opacity: 1;
  }
  30% {
    transform: translate(calc(var(--drop-x) * 0.2), -18px) scale(1.45);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.35);
  }
  100% {
    transform: translate(var(--drop-x), var(--drop-y)) scale(var(--drop-scale));
    opacity: 0.9;
  }
}

/* The button's icon "catches" the drop */
.review-helpful-btn.reaction-pop .reaction-active-icon-wrapper,
.review-helpful-btn.reaction-pop > svg {
  animation: reaction-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes reaction-pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reaction-container.is-picked .reaction-dock,
  .reaction-container.is-picked:hover .reaction-dock {
    transition: opacity 0.1s linear;
    transform: none;
  }

  .review-helpful-btn.reaction-pop .reaction-active-icon-wrapper,
  .review-helpful-btn.reaction-pop > svg {
    animation: none;
  }
}

/* Individual Reaction Dock Item */
.reaction-dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transform-origin: bottom center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reaction-dock-item img {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.reaction-dock-item:hover {
  transform: scale(1.35) translateY(-4px);
  z-index: 10;
}

.reaction-dock-item:active {
  transform: scale(1.08) translateY(-1px);
}

/* Dock Tooltip */
.reaction-dock-item .dock-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: rgba(17, 24, 39, 0.95);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.15s ease-out;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.reaction-dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Active Main Reaction Button Styles */
.review-helpful-btn.reacted {
  color: #1877F2 !important;
  font-weight: 600 !important;
}

.review-helpful-btn.reacted svg {
  fill: #1877F2 !important;
  stroke: #1877F2 !important;
}

/* Constrain the reacted compliment icon inside the button */
.reaction-active-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
}

.reaction-active-icon-wrapper img {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain !important;
}

.reaction-active-icon-wrapper svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

/* Inline Reaction Counter Button Badge (Right-aligned, Facebook style) */
.review-reactions-counter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #71717A;
  font-size: 13px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: normal;
  flex-shrink: 0;
}

.review-reactions-counter-btn:hover {
  color: #0B0B0B;
}

/* No reactions yet: the server and JS add .hidden, which the display rule above would otherwise override */
.review-reactions-counter-btn.hidden {
  display: none;
}

.helpful-count-number {
  font-size: 13px;
  font-weight: 400;
  color: #71717A;
}

.review-reactions-counter-btn:hover .helpful-count-number {
  color: #0B0B0B;
}

/* Reaction Summary Counter Stack */
.reaction-icons-stack {
  display: inline-flex;
  align-items: center;
}

.reaction-icons-stack img,
.reaction-icons-stack-img {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  border: 1.5px solid #ffffff;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  object-fit: contain;
  margin-left: -5px;
}

.reaction-icons-stack img:first-child,
.reaction-icons-stack-img:first-child {
  margin-left: 0;
}

/* Reaction Details Modal (Matches Description's ReadMore Modal Mechanism) */
#reviewReactionsModal .listing-about-modal__panel {
  max-width: 520px !important;
  width: 100% !important;
  border-radius: 28px !important;
  padding: 24px 28px !important;
}

@media (max-width: 639px) {
  #reviewReactionsModal .listing-about-modal__panel {
    border-radius: 24px 24px 0 0 !important;
    padding: 20px 20px 28px 20px !important;
    max-height: 85vh !important;
  }
}

/* Modern Segmented Capsule Tabs (Not full width) */
.reactions-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 4px;
  background-color: #f4f4f5;
  border-radius: 9999px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reactions-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.reactions-modal-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #71717a;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  line-height: normal;
}

.reactions-modal-tab:hover {
  color: #0b0b0b;
}

.reactions-modal-tab.is-active {
  color: #0b0b0b;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.reactions-modal-tab .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.06);
  color: #52525b;
}

.reactions-modal-tab.is-active .tab-count {
  background-color: #f4f4f5;
  color: #18181b;
}

.reactions-modal-tab img {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  object-fit: contain !important;
}

/* User Card in Reactions Modal */
.reactions-user-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reaction-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  border-radius: 14px;
  transition: background-color 0.15s ease;
}

.reaction-user-item:hover {
  background-color: #f9f9fa;
}

.reaction-user-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* 44px Avatar with 20px badge positioned cleanly on bottom-right corner */
.reaction-user-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex-shrink: 0;
}

.reaction-user-avatar {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid #f1f1f1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: block !important;
  background-color: #ffffff;
}

.reaction-user-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.reaction-user-badge img {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
  max-width: 13px !important;
  max-height: 13px !important;
  object-fit: contain !important;
  pointer-events: none;
}

.reaction-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.reaction-user-name {
  font-size: 15px;
  font-weight: 600;
  color: #0b0b0b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  text-decoration: none;
}

.reaction-user-name:hover {
  color: #1877f2;
}

.reaction-user-type-label {
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
  line-height: 1.3;
}

/* ==========================================================================
   Listing Action Buttons (Save & Share) & Share Modal
   ========================================================================== */

/* Favourite Pulse Animation */
@keyframes heartPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.32);
  }
  75% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

.listing-favourite-pulse {
  animation: heartPulse 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.listing-action-btn--save .listing-favourite-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-block;
  vertical-align: middle;
}

.listing-hero__fab--favourite .listing-favourite-icon {
  width: 16px !important;
  height: 16px !important;
  display: inline-block;
  vertical-align: middle;
}

/* Modal Entrance Animation */
/* ==========================================================================
   Share & Claim Modal Styles (Strict Vanilla CSS - No Tailwind dependency)
   ========================================================================== */
#listingShareModal .listing-about-modal__panel {
  max-width: 520px !important;
  width: 100% !important;
  border-radius: 28px !important;
  padding: 24px 28px !important;
}

#listingClaimModal .listing-about-modal__panel {
  max-width: 540px !important;
  width: 100% !important;
  border-radius: 28px !important;
  padding: 24px 28px !important;
}

@media (max-width: 639px) {
  #listingShareModal .listing-about-modal__panel,
  #listingClaimModal .listing-about-modal__panel {
    border-radius: 24px 24px 0 0 !important;
    padding: 20px 20px 28px 20px !important;
    max-height: 90vh !important;
  }
}

/* ── Share Modal Components ── */
.share-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background-color: #fbfbfb;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.share-preview-card__logo {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  border-radius: 12px;
  object-fit: cover;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  display: block;
  flex-shrink: 0;
}

.share-preview-card__info {
  min-width: 0;
  flex: 1;
}

.share-preview-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #0b0b0b;
  line-height: 1.25;
  margin: 0 0 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-preview-card__location {
  font-size: 13px;
  color: #6d6d6d;
  margin: 0 0 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-preview-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888888;
}

.share-preview-card__score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #ffa903;
  font-weight: 700;
}

.share-section-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
  margin-bottom: 12px;
}

/* 4-column Social Share Grid */
.share-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.share-channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border: none;
  background: transparent;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.share-channel-btn:hover {
  background-color: #f5f5f5;
}

.share-channel-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  min-height: 48px;
  max-height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.share-channel-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block;
}

.share-channel-btn:hover .share-channel-icon {
  transform: scale(1.06);
}

.share-channel-btn:active .share-channel-icon {
  transform: scale(0.92);
}

.share-channel-icon--whatsapp { background-color: #E7F8ED; color: #25D366; }
.share-channel-btn:hover .share-channel-icon--whatsapp { background-color: #25D366; color: #ffffff; }

.share-channel-icon--facebook { background-color: #E7EEFA; color: #1877F2; }
.share-channel-btn:hover .share-channel-icon--facebook { background-color: #1877F2; color: #ffffff; }

.share-channel-icon--messenger { background-color: #EBF2FE; color: #0084FF; }
.share-channel-btn:hover .share-channel-icon--messenger { background-color: #0084FF; color: #ffffff; }

.share-channel-icon--twitter { background-color: #F0F0F0; color: #0B0B0B; }
.share-channel-btn:hover .share-channel-icon--twitter { background-color: #000000; color: #ffffff; }

.share-channel-icon--linkedin { background-color: #E8F0F8; color: #0A66C2; }
.share-channel-btn:hover .share-channel-icon--linkedin { background-color: #0A66C2; color: #ffffff; }

.share-channel-icon--telegram { background-color: #E7F3FA; color: #229ED9; }
.share-channel-btn:hover .share-channel-icon--telegram { background-color: #229ED9; color: #ffffff; }

.share-channel-icon--email { background-color: #FCE8E6; color: #EA4335; }
.share-channel-btn:hover .share-channel-icon--email { background-color: #EA4335; color: #ffffff; }

.share-channel-icon--more { background-color: #F0EBF9; color: #7C3AED; }
.share-channel-btn:hover .share-channel-icon--more { background-color: #7C3AED; color: #ffffff; }

.share-channel-name {
  font-size: 12px;
  font-weight: 500;
  color: #444444;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.share-copy-box {
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.share-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border: 1px solid #dfdfdf;
  border-radius: 14px;
  background-color: #fbfbfb;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.share-copy-row:focus-within {
  border-color: #FFA903;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 169, 3, 0.15);
}

.share-copy-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 13.5px;
  color: #333333;
  outline: none;
}

.share-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background-color: #FFA903;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.share-copy-btn:hover {
  background-color: #E59800;
}

.share-copy-btn:active {
  transform: scale(0.96);
}

.share-copy-btn svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
}

/* ── Claim Modal Components ── */
.claim-profile-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #ededed;
  border-radius: 18px;
  background-color: #fbfbfb;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.claim-profile-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
}

.claim-profile-card__content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.claim-profile-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  display: block;
  flex-shrink: 0;
}

.claim-profile-details {
  min-width: 0;
  flex: 1;
}

.claim-profile-name {
  font-size: 16px;
  font-weight: 700;
  color: #0b0b0b;
  line-height: 1.25;
  margin: 0 0 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.claim-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: #555555;
}

.claim-profile-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.claim-profile-meta-item svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  color: #888888;
  flex-shrink: 0;
  display: inline-block;
}

.claim-form-group {
  margin-bottom: 16px;
}

.claim-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0b0b0b;
  margin-bottom: 6px;
}

.claim-form-label span {
  font-weight: 400;
  color: #888888;
}

.claim-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 100px;
  padding: 12px 14px;
  border: 1px solid #dfdfdf;
  border-radius: 14px;
  background-color: #ffffff;
  font-size: 14px;
  color: #0b0b0b;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  resize: none;
  font-family: inherit;
}

.claim-textarea:focus {
  border-color: #FFA903;
  box-shadow: 0 0 0 3px rgba(255, 169, 3, 0.15);
}

.claim-textarea::placeholder {
  color: #999999;
}

.claim-helper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #888888;
  margin-top: 4px;
}

.claim-error-alert {
  padding: 10px 14px;
  border-radius: 12px;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.claim-submit-btn {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 14px;
  border: none;
  background-color: #FFA903;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.claim-submit-btn:hover:not(:disabled) {
  background-color: #E59800;
  transform: translateY(-1px);
}

.claim-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.claim-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.claim-success-card {
  display: none !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 12px;
}

.claim-success-card.is-active,
.claim-success-card.show,
.claim-success-card.flex:not(.hidden) {
  display: flex !important;
}

.claim-success-card.hidden,
.claim-success-card[hidden] {
  display: none !important;
}

.claim-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #E7F8ED;
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.claim-success-icon svg {
  width: 32px !important;
  height: 32px !important;
}

.claim-success-title {
  font-size: 22px;
  font-weight: 700;
  color: #0b0b0b;
  margin: 0 0 10px 0;
}

.claim-success-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a4a4a;
  max-width: 420px;
  margin: 0 0 24px 0;
}

.claim-done-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: 14px;
  border: none;
  background-color: #0b0b0b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.claim-done-btn:hover {
  background-color: #262626;
}

/* ── Trigger & Section Buttons ── */
.listing-claim-trigger-btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #0B0B0B;
  background-color: #0B0B0B;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.24px;
  color: #FFFFFF;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.18s ease;
  text-decoration: none;
}

.listing-claim-trigger-btn:hover {
  background-color: #262626;
  border-color: #262626;
  color: #FFFFFF;
}

.listing-claim-trigger-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #FFA903;
}

.listing-section-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid #DFDFDF;
  background-color: #FFFFFF;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #0B0B0B;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.listing-section-view-all-btn:hover {
  border-color: #FFA903;
  color: #FFA903;
}

.listing-section-view-all-btn svg,
.listing-section-view-all-btn img {
  width: 16px !important;
  height: 16px !important;
}

/* ==========================================================================
   Review Card Options Dropdown (Three Dots Menu)
   ========================================================================== */
.review-more-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-review-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #9ca3af;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.btn-review-more:hover,
.btn-review-more[aria-expanded="true"] {
  color: #111827;
  background-color: #f3f4f6;
  border-color: #e5e7eb;
}

.review-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 175px;
  width: max-content;
  background: #ffffff;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-more-menu.hidden {
  display: none !important;
}

.review-more-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.review-more-menu-item--report {
  color: #374151;
}

.review-more-menu-item--report:hover {
  background-color: #fef3c7;
  color: #b45309;
}

.review-more-menu-item--block {
  color: #dc2626;
}

.review-more-menu-item--block:hover {
  background-color: #fee2e2;
  color: #b91c1c;
}

/* ==========================================================================
   Claim This Business Trigger Button (looks exactly like Suggest an Edit)
   ========================================================================== */
.listing-claim-trigger-btn {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 12px !important;
  background-color: rgb(255 255 255 / 0.8) !important;
  color: #0B0B0B !important;
  border: 1px solid #DFDFDF !important;
  padding: 14px 20px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.24px !important;
  line-height: normal !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.listing-claim-trigger-btn:hover {
  background-color: #FFFFFF !important;
  border-color: #0B0B0B !important;
  color: #0B0B0B !important;
}

.listing-claim-trigger-btn svg {
  stroke: currentColor !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.listing-claim-trigger-btn:disabled,
.listing-claim-trigger-btn[disabled],
.listing-claim-trigger-btn.is-disabled {
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* 1. Approved Claimed State (always shows Claimed when admin approved) */
.listing-claim-trigger-btn--approved,
.listing-claim-trigger-btn.is-approved {
  background-color: #DCFCE7 !important;
  border-color: #86EFAC !important;
  color: #15803D !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.listing-claim-trigger-btn--approved:hover,
.listing-claim-trigger-btn.is-approved:hover {
  background-color: #DCFCE7 !important;
  border-color: #86EFAC !important;
  color: #15803D !important;
  transform: none !important;
}

.listing-claim-trigger-btn--approved svg,
.listing-claim-trigger-btn.is-approved svg {
  stroke: #16A34A !important;
}

/* 2. User Already Claimed State (pending admin review) */
.listing-claim-trigger-btn--pending,
.listing-claim-trigger-btn.is-pending {
  background-color: #F3F4F6 !important;
  border-color: #E5E7EB !important;
  color: #6B7280 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.listing-claim-trigger-btn--pending:hover,
.listing-claim-trigger-btn.is-pending:hover {
  background-color: #F3F4F6 !important;
  border-color: #E5E7EB !important;
  color: #6B7280 !important;
  transform: none !important;
}

.listing-claim-trigger-btn--pending svg,
.listing-claim-trigger-btn.is-pending svg {
  stroke: #9CA3AF !important;
}

/* ==========================================================================
   Realtime ViewCount Badge (Cover Image Right Top Corner)
   ========================================================================== */
.listing-view-count-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 16px 32px;
    border-radius: 9999px;
    background: rgb(122 122 122 / 72%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    user-select: none;
    cursor: default;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.listing-view-count-badge svg {
  width: 16px !important;
  height: 16px !important;
  color: #FFA903;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .listing-view-count-badge {
    top: auto;
    bottom: 84px;
    right: 16px;
    padding: 6px 14px;
    font-size: 12px;
    background: rgb(122 122 122 / 72%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
  }
}

/* ==========================================================================
   Responsive Mobile Action Buttons (FABs)
   ========================================================================== */
.listing-hero__fab {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease !important;
}

.listing-hero__fab:active {
  transform: scale(0.92) !important;
}

.listing-hero__fab img,
.listing-hero__fab svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  display: block;
}

.listing-hero__fab--favourite.is-favourited {
  background-color: #FFF1F2 !important;
  border-color: #FECDD3 !important;
}

.listing-favourite-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.listing-action-btn--save .listing-favourite-icon {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
}

.is-favourited .listing-favourite-icon {
  transform: scale(1.18) !important;
}

/* ==========================================================================
   Review Reaction & Compliment Category Icons
   ========================================================================== */
.reaction-dock {
  padding: 6px 10px !important;
  gap: 6px !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #E5E7EB !important;
  background-color: #FFFFFF !important;
}

.reaction-dock-item {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  border: none !important;
  background: transparent !important;
}

.reaction-dock-item:hover {
  transform: scale(1.35) translateY(-4px) !important;
}

.reaction-dock-item img {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  pointer-events: none !important;
  display: block;
}

.review-helpful-btn .reaction-active-icon-wrapper img {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  object-fit: contain !important;
}

.review-helpful-btn .reaction-active-icon-wrapper svg {
  width: 20px !important;
  height: 20px !important;
}

.reaction-icons-stack-img {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  border-radius: 50% !important;
  border: 1.5px solid #FFFFFF !important;
  margin-left: -5px !important;
}

/* ==========================================================================
   Modern Write Review Modal Styles
   ========================================================================== */
.write-review-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  background: linear-gradient(180deg, #FFFDF7 0%, #FFF8E6 100%);
  border: 1px solid #FDE68A;
  border-radius: 20px;
  margin-bottom: 22px;
  text-align: center;
}

.write-review-stars-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 10px 0;
}

.modal-star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-star-btn:hover {
  transform: scale(1.22);
}

.modal-star-btn svg {
  width: 38px !important;
  height: 38px !important;
  color: #D1D5DB;
  transition: color 0.15s ease, filter 0.15s ease;
}

.modal-star-btn.is-active svg,
.modal-star-btn:hover svg {
  color: #FFA903;
  filter: drop-shadow(0 2px 8px rgba(255, 169, 3, 0.45));
}

.write-review-sentiment-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border-radius: 9999px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  font-size: 13.5px;
  font-weight: 700;
  color: #92400E;
  letter-spacing: -0.2px;
}

.write-review-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 125px;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  resize: vertical;
  font-family: inherit;
  background-color: #FAFAFA;
}

.write-review-textarea:focus {
  border-color: #FFA903;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(255, 169, 3, 0.18);
}

.write-review-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  border: 2px dashed #E5E7EB;
  border-radius: 18px;
  background-color: #FBFBFB;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.write-review-dropzone:hover {
  border-color: #FFA903;
  background-color: #FFFDF5;
}

.write-review-dropzone svg {
  width: 32px !important;
  height: 32px !important;
  color: #9CA3AF;
  transition: color 0.15s ease, transform 0.15s ease;
}

.write-review-dropzone:hover svg {
  color: #FFA903;
  transform: translateY(-2px);
}

.write-review-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 30px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background-color: #0B0B0B;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.write-review-submit-btn:hover:not(:disabled) {
  background-color: #262626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.write-review-cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 9999px;
  border: 1px solid #D1D5DB;
  background-color: #FFFFFF;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.write-review-cancel-btn:hover {
  background-color: #F3F4F6;
  color: #111827;
}

/* ==========================================================================
   Listing Suggestion Accordion & Styles
   ========================================================================== */
.suggest-accordion-item {
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  background: #FAFAFA;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.18s ease;
}

.suggest-accordion-item:focus-within,
.suggest-accordion-item.is-open {
  background: #FFFFFF;
  border-color: #0B0B0B;
}

.suggest-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.suggest-accordion-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6D6D6D;
  transition: transform 0.2s ease;
}

.suggest-accordion-item.is-open .suggest-accordion-chevron {
  transform: rotate(180deg);
  color: #0B0B0B;
}

.suggest-accordion-body {
  padding: 0 16px 16px 16px;
}

.suggest-input,
.suggest-select,
.suggest-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #111827;
  font-weight: 500;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.suggest-input:focus,
.suggest-select:focus,
.suggest-textarea:focus {
  border-color: #0B0B0B;
  box-shadow: 0 0 0 2px rgba(11, 11, 11, 0.06);
}

.suggest-textarea {
  resize: vertical;
  min-height: 72px;
}

.suggest-file-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #D1D5DB;
  border-radius: 12px;
  padding: 18px 14px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.suggest-file-dropzone:hover {
  border-color: #0B0B0B;
  background: #F9FAFB;
}







/* ==========================================================================
   Listing Gallery — Add Photo button + modal
   ========================================================================== */
.listing-add-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid #0B0B0B;
  background-color: #FFFFFF;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #0B0B0B;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.listing-add-photo-btn:hover,
.listing-add-photo-btn:focus-visible {
  background-color: #0B0B0B;
  color: #FFFFFF;
}

.listing-add-photo-btn:focus-visible {
  outline: 2px solid #FFA903;
  outline-offset: 2px;
}

.listing-add-photo-btn svg {
  width: 16px !important;
  height: 16px !important;
}

.write-review-dropzone.is-dragover {
  border-color: #FFA903;
  background-color: #FFFDF5;
}

.write-review-dropzone.is-full {
  opacity: 0.5;
  pointer-events: none;
}

.add-photo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.add-photo-list.hidden {
  display: none;
}

.add-photo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid #ECECEC;
  border-radius: 16px;
  background-color: #FFFFFF;
}

.add-photo-item__thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
  background-color: #F3F4F6;
}

.add-photo-item__field {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.add-photo-item__label {
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #898989;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.add-photo-item__caption {
  width: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  color: #0B0B0B;
  background-color: #FBFBFB;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.add-photo-item__caption:focus {
  outline: none;
  border-color: #FFA903;
  background-color: #FFFFFF;
}

.add-photo-item__remove {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background-color: #F3F4F6;
  color: #4B5563;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.add-photo-item__remove:hover {
  background-color: #FEE2E2;
  color: #DC2626;
}

.add-photo-note {
  font-size: 13px;
  line-height: 1.5;
  color: #71717A;
}

/* Empty gallery: invite the first photo */
.listing-photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px;
  border: 2px dashed #F3D9A4;
  border-radius: 20px;
  background: linear-gradient(180deg, #FFFBF2 0%, #FFFFFF 100%);
  text-align: center;
}

.listing-photo-empty__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #FFF1D6;
  color: #E89A00;
}

.listing-photo-empty__icon svg {
  width: 30px !important;
  height: 30px !important;
}

.listing-photo-empty__title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #0B0B0B;
}

.listing-photo-empty__text {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6B7280;
}

.listing-photo-empty__points {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background-color: #FFF1D6;
  color: #92400E;
  font-size: 13px;
  font-weight: 600;
}

.listing-photo-empty__points svg {
  width: 14px !important;
  height: 14px !important;
  color: #FFA903;
}

.listing-photo-empty__cta {
  margin-top: 6px;
  border: 0;
  border-radius: 9999px;
  background-color: #0B0B0B;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.listing-photo-empty__cta:hover {
  background-color: #262626;
  transform: translateY(-1px);
}

.listing-photo-empty__cta:focus-visible {
  outline: 2px solid #FFA903;
  outline-offset: 2px;
}

/* Upload success modal */
.photo-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 8px;
  text-align: center;
}

.photo-success__badge {
  position: relative;
  display: inline-flex;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FFC94D 0%, #FFA903 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(255, 169, 3, 0.35);
}

.photo-success__badge svg {
  position: relative;
  width: 44px !important;
  height: 44px !important;
}

.photo-success__ring {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 169, 3, 0.35);
  border-radius: 9999px;
}

.listing-about-modal.is-open .photo-success__badge {
  animation: photo-success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.listing-about-modal.is-open .photo-success__ring {
  animation: photo-success-ring 1.4s ease-out 0.2s infinite;
}

.photo-success__points {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 8px 16px;
  border-radius: 9999px;
  background-color: #FFF1D6;
  color: #92400E;
  font-size: 16px;
  font-weight: 700;
}

.photo-success__points.hidden {
  display: none;
}

.photo-success__points svg {
  width: 18px !important;
  height: 18px !important;
  color: #FFA903;
}

.photo-success__message {
  max-width: 420px;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

.photo-success__status {
  max-width: 420px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.5;
  color: #898989;
}

.photo-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.photo-success__actions .hidden {
  display: none;
}

@keyframes photo-success-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes photo-success-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .listing-about-modal.is-open .photo-success__badge,
  .listing-about-modal.is-open .photo-success__ring {
    animation: none;
  }
}

@media (max-width: 480px) {
  .listing-add-photo-btn {
    padding: 7px 12px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Featured Businesses (bottom of non-paid listings) — mirrors home.css
   ========================================================================== */
.listing-featured-sec [data-swiper] {
    width: 100%;
    overflow: hidden;
    padding: 24px 0px;
}

    .listing-featured-sec [data-swiper] .swiper-wrapper {
        align-items: stretch;
    }

    .listing-featured-sec [data-swiper] .swiper-slide {
        box-sizing: border-box;
        height: auto;
    }

.featured-businesses-sec {
    position: relative;
    background: linear-gradient(180deg, #FDFBF7 0%, #FAF6EE 50%, #FFFFFF 100%) !important;
    border-top: 1px solid rgba(245, 158, 11, 0.16);
    border-bottom: 1px solid rgba(245, 158, 11, 0.16);
    padding-top: 4.5rem !important;
    padding-bottom: 5rem !important;
}

    .featured-businesses-sec::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1200px;
        height: 380px;
        background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.10) 0%, rgba(251, 191, 36, 0.04) 50%, transparent 75%);
        pointer-events: none;
        z-index: 0;
    }

@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotateBorderGlow {
    0% {
        --border-angle: 0deg;
    }

    100% {
        --border-angle: 360deg;
    }
}

#featuredBusinesses .swiper-slide.group {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

    /* Thin circling glowing animated border around the card perimeter */
    #featuredBusinesses .swiper-slide.group::after {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: 20px;
        padding: 1.5px;
        background: conic-gradient( from var(--border-angle), transparent 0deg, transparent 220deg, rgba(245, 158, 11, 0.15) 260deg, rgba(245, 158, 11, 0.55) 295deg, #fbbf24 330deg, #f59e0b 355deg, transparent 360deg );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: rotateBorderGlow 3.5s linear infinite;
        pointer-events: none;
        z-index: 25;
    }

    #featuredBusinesses .swiper-slide.group:hover {
        box-shadow: 0 8px 26px -2px rgba(0, 0, 0, 0.09);
    }


/* Featured carousel layout: no heading, arrows on the left/right of the cards */
.listing-featured-sec {
    padding-top: 3rem !important;
    padding-bottom: 3.5rem !important;
}

.listing-featured-intro {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 500;
    color: #4B5563;
}

.listing-featured-carousel {
    position: relative;
}

.listing-featured-nav {
    position: absolute;
    top: 50%;
    z-index: 30;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #FDE68A;
    border-radius: 9999px;
    background-color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.listing-featured-nav:hover {
    border-color: #FFA903;
    background-color: #FFFBEB;
    transform: translateY(-50%) scale(1.06);
}

.listing-featured-nav:focus-visible {
    outline: 2px solid #FFA903;
    outline-offset: 2px;
}

.listing-featured-nav img {
    width: 18px !important;
    height: 18px !important;
}

.listing-featured-nav--prev {
    left: -22px;
}

.listing-featured-nav--next {
    right: -22px;
}

/* Lets trackpads and touch screens drag the cards sideways without the page jumping. */
.listing-featured-sec .swiper {
    touch-action: pan-y;
}

/* Phones and tablets: swipe instead of arrows */
@media (max-width: 767.98px) {
    .listing-featured-nav {
        display: none;
    }
}

/* Keep arrows inside the viewport when the container has little side room */
@media (min-width: 768px) and (max-width: 1299.98px) {
    .listing-featured-nav--prev {
        left: -8px;
    }

    .listing-featured-nav--next {
        right: -8px;
    }
}

/* Payment Method row: every card has the same width; extra cards scroll sideways (listing-payment.js) */
.listing-payment-carousel {
    position: relative;
}

.listing-payment-swiper {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

    .listing-payment-swiper .swiper-wrapper {
        align-items: stretch;
    }

.listing-payment-card {
    display: flex;
    width: 128px;
    height: auto;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid #F1F1F1;
    border-radius: 10px;
    text-align: center;
}

.listing-payment-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    background-color: #FFFFFF;
    transform: translateY(-50%);
    cursor: pointer;
}

.listing-payment-nav:hover {
    border-color: #0B0B0B;
}

.listing-payment-nav:focus-visible {
    outline: 2px solid #0B0B0B;
    outline-offset: 2px;
}

.listing-payment-nav img {
    width: 16px !important;
    height: 16px !important;
}

.listing-payment-nav--prev {
    left: -16px;
}

.listing-payment-nav--next {
    right: -16px;
}

/* At the start or end of the row */
.listing-payment-nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* Everything fits: no scrolling, no arrows */
.listing-payment-nav.swiper-button-lock {
    display: none;
}

/* Phones and tablets: swipe instead of arrows */
@media (max-width: 767.98px) {
    .listing-payment-nav {
        display: none;
    }
}

/* Business Info links (address, directions, phone, email, website): a quiet grey underline
   says "link" at rest; it turns brand yellow on hover/focus */
.listing-info-link {
    cursor: pointer;
    color: #0B0B0B;
    text-decoration-line: underline;
    text-decoration-color: #D4D4D4;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.15s ease;
}

.listing-info-link:hover,
.listing-info-link:focus-visible {
    color: #0B0B0B;
    text-decoration-color: var(--color-secondary, #FFC107);
    text-decoration-thickness: 2px;
}

/* truncate clips overflow: give the underline room without shifting the row */
.listing-info-link.truncate {
    padding-bottom: 4px;
    margin-bottom: -4px;
}

/* Business Info website: external-link icon opens the same website */
.listing-external-link {
    display: inline-flex;
    flex-shrink: 0;
    border-radius: 8px;
    padding: 2px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.listing-external-link:hover {
    background-color: #FFF7E0;
    transform: translate(1px, -1px);
}

/* Review opened from a notification link (?review=ID) */
.review-card {
    transition: background-color 0.6s ease, box-shadow 0.6s ease;
}

.review-card.review-card--focused {
    background-color: #FFFBEB;
    box-shadow: 0 0 0 8px #FFFBEB;
    border-radius: 12px;
}

/* ==========================================================================
   Explore Shop / Menu / Products button (businesses with a storefront).
   The theme yellow as the main call to action, with a light sweep every few seconds.
   ========================================================================== */
.listing-shop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--color-secondary, #ffc107);
  color: #0b0b0b;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.listing-shop-btn:hover,
.listing-shop-btn:focus-visible {
  color: #0b0b0b;
  text-decoration: none;
  background: #ffb300;
}

.listing-shop-btn:focus-visible {
  outline: 2px solid #0b0b0b;
  outline-offset: 2px;
}

.listing-shop-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The shine: a soft white band that crosses the button, then rests */
.listing-shop-btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg);
  animation: listing-shop-shine 3.6s ease-in-out 1s infinite;
  pointer-events: none;
}

@keyframes listing-shop-shine {
  0% { transform: translateX(-160%) skewX(-18deg); }
  35%, 100% { transform: translateX(330%) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .listing-shop-btn::after { display: none; }
}

/* Phones and tablets: a full-width button under the business name (the desktop one sits next to Share) */
.listing-shop-btn--block {
  display: flex;
  width: 100%;
}

@media (min-width: 1024px) {
  .listing-shop-btn--block { display: none; }
}

/* @mentions in review replies: blue profile links, as on Facebook */
.review-mention {
  color: #1a66d6;
  font-weight: 600;
  text-decoration: none;
}

a.review-mention:hover,
a.review-mention:focus-visible {
  color: #1a66d6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   Phones and tablets (below 1024px): the app layout. A header card over the photo with
   today's status and one row of round actions; sections edge to edge on a grey canvas;
   a compact top bar once the card scrolls away; Call / Directions pinned at the bottom;
   the ⋮ menu as a bottom sheet holding Claim, Suggest an edit and the contributor.
   Everything here reuses the page's own buttons, links and modals.
============================================================ */
@media (max-width: 1023.98px) {
  .listing-page main,
  .listing-page main > .common-sec:not(.listing-top-sec),
  .listing-page main > .listing-top-sec.common-sec {
    background-color: #f2f2f2;
  }

  .listing-page main > .common-sec:not(.listing-top-sec) {
    padding-top: 8px;
  }

  /* Header card */
  .listing-sheet.listing-card {
    border-radius: 20px 20px 0 0;
    background-color: #fff;
    padding: 16px 16px 18px;
  }

  .listing-sheet__avatar img {
    border-radius: 14px;
  }

  /* Rating line with Share and Save at its end */
  .mm-lst-ratingrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Rating stays on one line beside the buttons */
  .mm-lst-ratingrow > a {
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
  }

  .mm-lst-ratingrow > a img {
    width: 18px;
    height: 18px;
  }

  .mm-lst-quick {
    display: flex;
    flex-shrink: 0;
    gap: 6px;
  }

  .mm-lst-quick__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #e3e3e3;
    border-radius: 50%;
    background: #fff;
    color: #0b0b0b;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mm-lst-quick__btn:active {
    background-color: #f3f3f3;
  }

  .mm-lst-quick__btn.is-saved svg {
    fill: #dc2626;
    stroke: #dc2626;
  }

  .mm-lst-quick__btn svg,
  .mm-lst-bar__btn svg,
  .mm-lst-topbar__btn svg,
  .mm-lst-hours-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Sections: edge to edge, grey gaps between them */
  .listing-page .listing-body,
  .listing-page .listing-body__main,
  .listing-page .listing-body__aside {
    gap: 8px;
  }

  .listing-page .listing-body .listing-card {
    margin-inline: -15px;
    border-radius: 0;
    padding: 20px 16px;
  }

  .listing-page .listing-body .listing-card h2 {
    font-size: 17px;
    letter-spacing: -.2px;
  }

  /* One home for each thing on phones: Claim, Suggest and the contributor are in the ⋮ sheet;
     Share and Save on the rating line; Call and Directions in the bottom bar; today's status in
     Details. The originals stay in the page (hidden) and still do the work. */
  .listing-page #btnClaimBusiness,
  .listing-page #btnSuggestEdit,
  .listing-page .listing-workerbee-card,
  .listing-page #btnMobileShare,
  .listing-page #btnMobileSave,
  .listing-page .biz-info-row--phone,
  .listing-page .biz-info-row--directions {
    display: none !important; /* the claim button and photo buttons carry display: flex !important */
  }


  /* Hours: today only until asked */
  #hours-of-op:not(.is-week-open) #listingHoursList > li:not(.is-today) {
    display: none;
  }

  .mm-lst-hours-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 0;
    border: 0;
    background: none;
    color: #0b0b0b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .is-week-open .mm-lst-hours-toggle svg {
    transform: rotate(180deg);
  }

  /* Compact top bar */
  .mm-lst-topbar {
    position: fixed;
    top: -64px;
    left: 0;
    right: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 56px;
    padding: 0 8px;
    border-bottom: 1px solid #ececec;
    background-color: #fff;
    transition: top .2s ease;
  }

  body.mm-lst-scrolled .mm-lst-topbar {
    top: 0;
  }

  body.mm-lst-scrolled .listing-tabs-bar {
    top: 56px !important;
  }

  .mm-lst-topbar__name {
    flex: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mm-lst-topbar__btn {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    color: #0b0b0b;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mm-lst-topbar__btn:active {
    background-color: #f3f3f3;
  }

  .mm-lst-topbar__btn.is-saved svg {
    fill: #dc2626;
    stroke: #dc2626;
  }

  /* Call / Directions */
  .mm-lst-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #ececec;
    background-color: #fff;
  }

  body.listing-page:has(.mm-lst-bar) {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .mm-lst-bar__btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border: 1.5px solid #0b0b0b;
    border-radius: 14px;
    color: #0b0b0b;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mm-lst-bar__btn--primary {
    background-color: #0b0b0b;
    color: #fff;
  }

  .mm-lst-bar__btn:active {
    opacity: .85;
  }

  /* The ⋮ menu as a bottom sheet. Its section is a stacking context of its own (z-index 20),
     so the whole section rises above the tabs and the Call bar while the sheet is open. */
  .listing-page main > .listing-top-sec:has(.listing-more-menu.is-open) {
    z-index: 140;
  }

  .listing-page .listing-more-menu.is-open {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    display: flex;
    flex-direction: column;
    width: auto;
    margin: 0;
    padding: 22px 0 calc(14px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    background-color: #fff;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45);
  }

  /* Grab handle */
  .listing-page .listing-more-menu.is-open::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 2px;
    background-color: #d6d6d6;
  }

  .listing-more-menu__extra {
    display: contents;
  }

  .listing-page .listing-more-menu.is-open > a,
  .listing-page .listing-more-menu.is-open > button,
  .listing-more-menu__extra > * {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 0;
    background: none;
    color: #0b0b0b;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .listing-page .listing-more-menu.is-open > a:active,
  .listing-page .listing-more-menu.is-open > button:active,
  .listing-more-menu__extra > a:active,
  .listing-more-menu__extra > button:active {
    background-color: #f5f5f5;
  }

  .listing-more-menu__note {
    color: #6b6b6b !important;
    cursor: default !important;
  }

  .listing-more-menu__person img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }

  .listing-more-menu__person > span {
    display: flex;
    flex-direction: column;
  }

  .listing-more-menu__person small {
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 500;
  }

  /* Order in the sheet: what to do with the listing first, the report last */
  .listing-more-menu__extra > :not([data-mm-press="#btnSuggestEdit"]):not(.listing-more-menu__person) {
    order: 1;
  }

  .listing-more-menu__extra > [data-mm-press="#btnSuggestEdit"] {
    order: 2;
  }

  .listing-page .listing-more-menu.is-open > #btnMobileProfileLink {
    order: 3;
  }

  .listing-more-menu__person {
    order: 4;
  }

  .listing-page .listing-more-menu.is-open > #btnMobileListingReport {
    order: 5;
    color: #dc2626;
  }
}

@media (max-width: 1023.98px) and (prefers-reduced-motion: reduce) {
  .mm-lst-topbar {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .mm-lst-ratingrow {
    display: contents;
  }
}
