/* ==========================================================================
   Site — custom styles
   Only what Tailwind utilities cannot express cleanly lives here.
   ========================================================================== */

:root {
  --navy: #0f1e35;
  --navy-soft: #1e3355;
  --orange: #ff6a13;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Auth pages */
.page-auth {
  min-height: 100vh;
  background: #081226;
}

.auth-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.auth-shell__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(255, 106, 19, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 85%, rgba(67, 89, 138, 0.35), transparent 50%),
    linear-gradient(160deg, #081226 0%, #0f1e35 48%, #152742 100%);
}

.auth-shell__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}

.auth-card {
  position: relative;
}

/* Collapsed until visible — tight by default, no overlap when shown */
#registerForm .field-error {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  line-height: 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc2626;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.12s ease, margin 0.12s ease, opacity 0.12s ease;
}

#registerForm .field-error.is-visible {
  max-height: 2.4rem;
  margin-top: 0.3rem;
  opacity: 1;
  visibility: visible;
}

/* Pricing plan selector */
.plan-option.is-selected {
  border-color: #ff6a13;
  box-shadow: 0 0 0 2px rgba(255, 106, 19, 0.18);
}

::selection {
  background: var(--orange);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Header: transparent over the hero, solid navy once scrolled.
   The brand logo artwork is white, so the header stays dark in both states.
   -------------------------------------------------------------------------- */
.site-header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.88);
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active {
  color: #fff;
}

.site-header .nav-icon,
.site-header .nav-ghost {
  color: rgba(255, 255, 255, 0.92);
}

.site-header .nav-ghost {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header .burger-bar {
  background: #fff;
}

.site-header.is-scrolled {
  background-color: rgba(15, 30, 53, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.65);
}

/* Underline sweep on desktop nav links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.account-menu > summary {
  list-style: none;
}

.account-menu > summary::-webkit-details-marker {
  display: none;
}

.account-menu__panel {
  color: #0f1e35;
}

/* --------------------------------------------------------------------------
   Search bar: category / business name + location, shared by header and hero
   -------------------------------------------------------------------------- */
/* Sits beside the logo, growing into the free row space up to a cap. */
.nav-search {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 34rem;
}

@media (min-width: 1024px) {
  .nav-search {
    display: block;
  }
}

.nav-search-bar {
  display: flex;
  align-items: center;
  height: 48px;
  padding-right: 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 30, 53, 0.1);
  box-shadow: 0 10px 26px -18px rgba(15, 30, 53, 0.7);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-search-bar:focus-within {
  border-color: rgba(255, 106, 19, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.16);
}

.search-field {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  height: 100%;
}

.search-field--query {
  flex-grow: 1.3;
}

.field-icon {
  position: absolute;
  left: 0.9rem;
  font-size: 0.8125rem;
  color: #9aabc9;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 0.75rem 0 2.25rem;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  color: var(--navy);
  appearance: none;
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: #9aabc9;
}

.search-input[type="search"]::-webkit-search-cancel-button,
.search-input[type="search"]::-webkit-search-decoration {
  appearance: none;
}

.search-submit {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.875rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.search-submit:hover {
  background: #f04e00;
  transform: scale(1.06);
}

.search-divider {
  flex: none;
  width: 1px;
  height: 24px;
  background: #e6eaf3;
}

/* Below lg the header search collapses into a panel under the navbar */
@media (max-width: 1023.98px) {
  .nav-search.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 40;
    max-width: none;
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: rgba(15, 30, 53, 0.97);
    box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.8);
  }

  .nav-search.is-open .nav-search-bar {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 1rem;
  }

  .nav-search.is-open .search-divider {
    display: none;
  }

  .nav-search.is-open .search-field {
    flex: none;
    border-radius: 0.75rem;
    border: 1px solid #e6eaf3;
    background: #f4f6fa;
  }

  .nav-search.is-open .search-input {
    height: 46px;
    font-size: 1rem;
  }

  .nav-search.is-open .search-submit {
    width: 100%;
    height: 46px;
    border-radius: 0.75rem;
  }

  .nav-search.is-open .search-submit::after {
    content: "Search";
    margin-left: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
  }

  /* Stacked fields would be hidden under their own dropdown, so anchor the
     suggestions to the whole bar instead. */
  .nav-search.is-open .nav-search-bar {
    position: relative;
  }

  .nav-search.is-open .search-field {
    position: static;
  }

  .nav-search.is-open .ac-panel,
  .nav-search.is-open .search-field--location .ac-panel {
    left: 0;
    right: 0;
    width: auto;
    max-height: 50vh;
  }
}

/* --------------------------------------------------------------------------
   Autocomplete dropdown
   -------------------------------------------------------------------------- */
.ac-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: max(100%, 19rem);
  max-height: 21rem;
  overflow-y: auto;
  padding: 0.375rem 0;
  border: 1px solid #e6eaf3;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(15, 30, 53, 0.6);
  text-align: left;
}

/* Homepage CTA Quick start — keep suggestions above the dark card */
.cta-quick-start .ac-panel {
  width: 100%;
  z-index: 70;
}

.ac-panel[hidden] {
  display: none;
}

.search-field--location .ac-panel {
  left: auto;
  right: 0;
}

.ac-group + .ac-group {
  margin-top: 0.25rem;
  padding-top: 0.375rem;
  border-top: 1px solid #f0f3f8;
}

.ac-label {
  display: block;
  padding: 0.375rem 1rem 0.25rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aabc9;
}

.ac-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-fill {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  text-align: left;
  transition: background-color 0.15s ease;
}

.ac-option.is-active .ac-fill,
.ac-fill:hover {
  background: #fff5ed;
}

.ac-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 0.625rem;
  background: #f4f6fa;
  color: #43598a;
  font-size: 0.8125rem;
}

.ac-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-text {
  min-width: 0;
}

.ac-title {
  display: block;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-title mark {
  background: transparent;
  color: var(--orange);
  font-weight: 800;
}

.ac-meta {
  display: block;
  overflow: hidden;
  font-size: 0.75rem;
  color: #657da8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-empty {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #657da8;
}

.ac-icon--category {
  background: #fff5ed;
  color: #f04e00;
}

.ac-icon--listing {
  background: #eef3fb;
  color: #2f4370;
}

.ac-icon--location {
  background: #eef6f1;
  color: #1e7a4a;
}

/* --------------------------------------------------------------------------
   Off-canvas mobile menu
   -------------------------------------------------------------------------- */
.offcanvas {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.offcanvas.is-open {
  transform: translateX(0);
}

.offcanvas-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offcanvas-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

body.is-locked {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Glass + gradient helpers
   -------------------------------------------------------------------------- */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mesh-bg {
  background-image:
    radial-gradient(at 12% 8%, rgba(255, 106, 19, 0.14) 0px, transparent 45%),
    radial-gradient(at 88% 12%, rgba(30, 51, 85, 0.12) 0px, transparent 45%),
    radial-gradient(at 60% 90%, rgba(255, 106, 19, 0.1) 0px, transparent 50%);
}

.text-gradient {
  background: linear-gradient(94deg, #ff8a3d 0%, #ff6a13 55%, #ff4d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Thin gradient rule used between sections */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 30, 53, 0.12), transparent);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(15, 30, 53, 0.45);
}

.category-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -24px rgba(15, 30, 53, 0.55);
}

.category-card img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card .cat-icon {
  transition: transform 0.3s ease;
}

.category-card:hover .cat-icon {
  transform: scale(1.08);
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px) rotate(-6deg) scale(1.06);
}

.feature-icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, color 0.3s ease;
}

/* Bookmark toggle */
.bookmark.is-saved {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.bookmark.is-saved i {
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   Carousels (hand-rolled, jQuery driven)
   -------------------------------------------------------------------------- */
.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-track > * {
  flex: 0 0 auto;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 30, 53, 0.2);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel-dot.is-active {
  width: 26px;
  background: var(--orange);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hero-banner .carousel-track > * {
  flex: 0 0 100%;
  width: 100%;
}

/* Homepage hero promo slot + advertise card (home_page_ad1 mounts in #hero-promo-slot) */
.hero-promo-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  padding: 0.375rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
  outline: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-promo-slot {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 320px;
  padding: 0.5rem;
}

.hero-promo-slot .adsbygoogle {
  display: block;
  width: 100%;
}

.hero-promo-card {
  position: absolute;
  inset: 0.375rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-promo-card:hover {
  transform: translateY(-2px);
}

.hero-promo-card:hover .hero-promo-cta {
  gap: 0.65rem;
  color: #f04e00;
}

.hero-promo-card:hover .hero-promo-icon {
  transform: scale(1.06);
}

.hero-promo-card[hidden] {
  display: none;
}

.hero-promo-frame.is-filled .hero-promo-card {
  display: none;
}

.hero-promo-media {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  min-height: 200px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(255, 106, 19, 0.45) 0%, transparent 42%),
    radial-gradient(ellipse at 12% 88%, rgba(67, 89, 138, 0.55) 0%, transparent 48%),
    linear-gradient(145deg, #152742 0%, #0f1e35 48%, #1e3355 100%);
}

.hero-promo-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

.hero-promo-glow {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: rgba(255, 106, 19, 0.28);
  filter: blur(28px);
}

.hero-promo-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffb070;
  font-size: 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease;
}

.hero-promo-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 0.25rem;
  background: #ff6a13;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -10px rgba(255, 106, 19, 0.8);
}

.hero-promo-body {
  display: block;
  padding: 1rem 1.15rem 1.15rem;
  background: #fff;
}

.hero-promo-title {
  display: block;
  color: #0f1e35;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.hero-promo-text {
  display: block;
  margin-top: 0.25rem;
  color: #657da8;
  font-size: 0.875rem;
  line-height: 1.45;
}

.hero-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  color: #ff6a13;
  font-size: 0.875rem;
  font-weight: 700;
  transition: gap 0.25s ease, color 0.25s ease;
}

.hero-promo-cta i {
  font-size: 0.65rem;
}

@media (max-width: 992px) {
  .hero-promo-aside {
    display: none;
  }
}

/* Marquee of city chips */
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.listing-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 30, 53, 0.05), 0 14px 32px -22px rgba(15, 30, 53, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 128, 56, 0.4);
  box-shadow: 0 18px 44px -24px rgba(15, 30, 53, 0.42);
}

.listing-card.is-featured {
  border-color: rgba(255, 106, 19, 0.4);
}

.listing-media {
  background-color: transparent; /* same as single .listing-square-frame */
}

.listing-media.is-img-empty {
  display: grid;
  place-items: center;
  color: #c8d2e4; /* navy-200 */
}

.listing-square-frame.is-img-empty {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.4);
}

.similar-card__media {
  background: transparent;
}

.similar-card__media.is-img-empty {
  display: grid;
  place-items: center;
  color: #94a3b8;
  background: transparent;
}

.listing-square-frame {
  width: 200px;
  height: 200px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.listing-square-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.listing-image-popup {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.listing-image-popup:focus-visible {
  outline: 2px solid #ff6a13;
  outline-offset: 2px;
}

@media (max-width: 359px) {
  .listing-square-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

.listing-featured-badge {
  position: absolute;
  left: 0;
  top: 0.9rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #ff8038 0%, #ff6a13 100%);
  padding: 0.42rem 0.9rem 0.42rem 0.8rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 10px 18px -10px rgba(255, 106, 19, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.listing-featured-badge i {
  font-size: 11px;
}

.listing-featured-badge--inline {
  position: static;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 16px -12px rgba(255, 106, 19, 0.85);
}

.listing-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 5.6rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #657da8;
}

.listing-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f4f6fa;
  padding: 0.3rem 0.75rem;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #2f4370;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a.listing-tag:hover {
  background: #fff5ed;
  color: #f04e00;
}

.listing-actions {
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px solid #e6eaf3;
}

.listing-btn-wa {
  background-color: #25d366;
}

.listing-btn-wa:hover {
  background-color: #1ebe5d;
}

.listing-social-link {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid #e6eaf3;
  background: #fff;
  color: #0f1e35;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.listing-social-link:hover {
  border-color: #ff6a13;
  background: #ff6a13;
  color: #fff;
}

.listing-share-panel {
  box-shadow: 0 18px 40px -20px rgba(15, 30, 53, 0.45);
}

.listing-share-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f1e35;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.listing-share-item:hover {
  background: #fff5ed;
  color: #ff6a13;
}

/* Listing photo mosaic — scales to any count / aspect ratio */
.listing-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 120px;
  grid-auto-flow: dense;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.listing-gallery > li {
  min-width: 0;
  min-height: 0;
}

.listing-gallery__thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  cursor: zoom-in;
  background: #e8edf5;
}

.listing-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.listing-gallery__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 30, 53, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.listing-gallery__thumb:hover img,
.listing-gallery__thumb:focus-visible img {
  transform: scale(1.04);
}

.listing-gallery__thumb:hover::after,
.listing-gallery__thumb:focus-visible::after {
  opacity: 1;
}

.listing-gallery__thumb:focus-visible {
  outline: 2px solid #ff6a13;
  outline-offset: 2px;
}

/* Single photo */
.listing-gallery:has(> li:only-child) {
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(220px, 42vw);
}

.listing-gallery:has(> li:only-child) .listing-gallery__thumb {
  min-height: 220px;
}

/* Two photos — equal tiles */
.listing-gallery:has(> li:nth-child(2):last-child) {
  grid-auto-rows: minmax(160px, 28vw);
}

.listing-gallery:has(> li:nth-child(2):last-child) .listing-gallery__thumb {
  min-height: 160px;
}

/* Three or more — featured lead tile */
.listing-gallery:has(> li:nth-child(3)) > li:first-child {
  grid-column: 1 / -1;
}

.listing-gallery:has(> li:nth-child(3)) > li:first-child .listing-gallery__thumb {
  min-height: 180px;
}

@media (min-width: 640px) {
  .listing-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 0.75rem;
  }

  .listing-gallery:has(> li:nth-child(3)) > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .listing-gallery:has(> li:nth-child(3)) > li:first-child .listing-gallery__thumb {
    min-height: 100%;
  }

  .listing-gallery:has(> li:only-child) {
    grid-auto-rows: minmax(280px, 36vw);
  }
}

@media (min-width: 1024px) {
  .listing-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 130px;
  }

  /* Keep a strong lead image; remaining photos fill the row/columns */
  .listing-gallery:has(> li:nth-child(3)) > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* With exactly 3 photos, stack the two small ones beside the lead */
  .listing-gallery:has(> li:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Lightbox */
.listing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.listing-lightbox[hidden] {
  display: none !important;
}

.listing-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(8, 18, 38, 0.88);
  cursor: pointer;
}

.listing-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1100px);
  max-height: min(88vh, 820px);
}

.listing-lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: min(88vh, 820px);
  text-align: center;
}

.listing-lightbox__figure img {
  max-width: 100%;
  max-height: min(78vh, 740px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  background: #0f1e35;
}

.listing-lightbox__cap {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
}

.listing-lightbox__count {
  position: absolute;
  bottom: -2.25rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.listing-lightbox__close,
.listing-lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.listing-lightbox__close:hover,
.listing-lightbox__nav:hover {
  background: #ff6a13;
}

.listing-lightbox__close {
  top: -0.25rem;
  right: -0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
  z-index: 2;
}

.listing-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1rem;
}

.listing-lightbox__nav--prev {
  left: 0.25rem;
}

.listing-lightbox__nav--next {
  right: 0.25rem;
}

@media (min-width: 768px) {
  .listing-lightbox__nav--prev {
    left: -3.25rem;
  }

  .listing-lightbox__nav--next {
    right: -3.25rem;
  }

  .listing-lightbox__close {
    top: -0.5rem;
    right: -0.5rem;
  }
}

body.is-lightbox-open {
  overflow: hidden;
}

/* Claim listing modal (CI3 #claim-listing-modal → Tailwind dialog) */
.claim-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.claim-modal[hidden] {
  display: none !important;
}

.claim-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 30, 53, 0.58);
  cursor: pointer;
}

.claim-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28.5rem;
  max-height: min(92vh, 42rem);
  overflow: auto;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 28px 60px -20px rgba(15, 30, 53, 0.5);
  animation: claim-modal-in 0.22s ease-out;
}

@keyframes claim-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.claim-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem 0.85rem;
}

.claim-modal__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.claim-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #ff7a2e, #ff6a13);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px -10px rgba(255, 106, 19, 0.9);
}

.claim-modal__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6a13;
}

.claim-modal__title {
  margin: 0.1rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f1e35;
}

.claim-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 9999px;
  background: #f4f6fa;
  color: #0f1e35;
  cursor: pointer;
}

.claim-modal__close:hover {
  background: #ffe8db;
  color: #c73b04;
}

.claim-modal__listing {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 1.25rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
  background: #f4f6fa;
  border: 1px solid #e6eaf3;
}

.claim-modal__listing-icon {
  color: #657da8;
  font-size: 0.8rem;
}

.claim-modal__listing-name {
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e3355;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.claim-modal__body {
  padding: 1rem 1.25rem 1.35rem;
}

.claim-intro {
  margin-bottom: 1rem;
}

.claim-intro__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1e3355;
}

.claim-intro__sub {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #657da8;
}

.help-claim {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.15rem;
  font-weight: 700;
  color: #ff6a13;
  text-decoration: none;
  white-space: nowrap;
}

.help-claim:hover {
  text-decoration: underline;
}

.claim-steps,
.claim-bullets {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.claim-steps li,
.claim-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #43598a;
}

.claim-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #fff4ee;
  color: #c73b04;
  font-size: 0.72rem;
  font-weight: 800;
}

.claim-bullets li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #ff6a13;
}

.claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

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

.claim-btn--primary {
  background: #ff6a13;
  color: #fff;
}

.claim-btn--primary:hover:not(:disabled) {
  background: #e85d0c;
}

.claim-btn--ghost {
  background: #fff;
  border-color: #d5dde9;
  color: #0f1e35;
}

.claim-btn--ghost:hover:not(:disabled) {
  border-color: #ffb48a;
  color: #c73b04;
  background: #fff8f4;
}

.claim-btn--sm {
  width: auto;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.claim-auth-actions {
  display: grid;
  gap: 0.6rem;
}

.claim-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #657da8;
}

.claim-note a {
  font-weight: 700;
  color: #ff6a13;
  text-decoration: underline;
}

.claim-section-label {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f1e35;
}

.claim-methods {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.claim-method {
  display: block;
  cursor: pointer;
}

.claim-method > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.claim-method__card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1.5px solid #e6eaf3;
  border-radius: 1rem;
  background: #fff;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.claim-method__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  border-radius: 0.7rem;
  background: #f4f6fa;
  color: #43598a;
  font-size: 0.85rem;
}

.claim-method__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.claim-method__title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f1e35;
}

.claim-method__desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #657da8;
  word-break: break-word;
}

.claim-method__desc strong {
  color: #1e3355;
}

.claim-method__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border-radius: 9999px;
  border: 1.5px solid #d5dde9;
  color: transparent;
  font-size: 0.65rem;
}

.claim-method:hover .claim-method__card {
  border-color: #ffc39a;
  background: #fffaf7;
}

.claim-method > input:focus-visible + .claim-method__card {
  outline: 2px solid #ff6a13;
  outline-offset: 2px;
}

.claim-method > input:checked + .claim-method__card {
  border-color: #ff6a13;
  background: #fff4ee;
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.12);
}

.claim-method > input:checked + .claim-method__card .claim-method__icon {
  background: #ff6a13;
  color: #fff;
}

.claim-method > input:checked + .claim-method__card .claim-method__check {
  border-color: #ff6a13;
  background: #ff6a13;
  color: #fff;
}

.claim-error {
  min-height: 1.1rem;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  color: #dc2626;
}

.claim-error:empty {
  display: none;
}

.claim-state {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: 1rem;
  border: 1px solid #e6eaf3;
  background: #f8fafc;
}

.claim-state--ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.claim-state--ok .claim-state__icon {
  color: #16a34a;
}

.claim-state--warn {
  border-color: #fde68a;
  background: #fffbeb;
}

.claim-state--warn .claim-state__icon {
  color: #d97706;
}

.claim-state__icon {
  margin-top: 0.1rem;
  font-size: 1.05rem;
}

.claim-state__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f1e35;
}

.claim-state__text {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #43598a;
}

.claim-state__text p {
  margin: 0;
}

.claim-state__text p + p {
  margin-top: 0.35rem;
}

.claim-verify {
  display: grid;
  gap: 0.85rem;
}

.claim-verify__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: #fff4ee;
  color: #c73b04;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.claim-verify__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #1e3355;
}

.claim-verify__field {
  display: grid;
  gap: 0.4rem;
}

.claim-verify__label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f1e35;
}

.claim-verify__input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #d5dde9;
  border-radius: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0f1e35;
  outline: none;
}

.claim-verify__input:focus {
  border-color: #ff6a13;
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.14);
}

.claim-verify__steps {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #43598a;
}

.claim-verify__steps li + li {
  margin-top: 0.55rem;
}

.claim-verify__url {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  background: #f4f6fa;
  border: 1px solid #e6eaf3;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  color: #c73b04;
  word-break: break-all;
  text-decoration: none;
}

.claim-verify__url:hover {
  background: #fff4ee;
  border-color: #ffd4bf;
}

.claim-view-3 .text-sm,
.claim-view-3 p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

body.is-claim-modal-open {
  overflow: hidden;
}

body.page-inner .site-header {
  background-color: rgba(15, 30, 53, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.65);
}

.listing-sort {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f1e35' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.listing-faq details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.15rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}

.listing-faq details summary::-webkit-details-marker {
  display: none;
}

.listing-faq details summary .faq-chevron {
  flex: none;
  transition: transform 0.2s ease;
}

.listing-faq details[open] summary .faq-chevron {
  transform: rotate(180deg);
}

.listing-faq details p {
  padding: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #43598a;
}

.listing-hours [data-day].is-today {
  background: #fff5ed;
  border-radius: 0.75rem;
  font-weight: 700;
  color: var(--navy);
}

.listing-tab.is-active {
  color: var(--navy);
  border-color: var(--orange);
}

[data-star-rating] button.is-on {
  color: #ff6a13;
}

#backToTop {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* --------------------------------------------------------------------------
   Portal / create-listing form
   -------------------------------------------------------------------------- */
.page-portal {
  min-height: 100vh;
}

.portal-label {
  display: block;
  margin-bottom: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #657da8;
}

.portal-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #c8d2e4;
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f1e35;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.portal-input::placeholder {
  color: #9aabc9;
  font-weight: 400;
}

.portal-input:focus {
  outline: none;
  border-color: #ff8038;
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.22);
}

.portal-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f4f6fa;
}

.portal-input--sm {
  padding: 0.45rem 0.7rem;
  font-size: 0.8125rem;
}

.portal-affix {
  display: flex;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #c8d2e4;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.portal-affix:focus-within {
  border-color: #ff8038;
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.22);
}

.portal-affix__prefix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #657da8;
  background: #f4f6fa;
  border-right: 1px solid #e6eaf3;
  white-space: nowrap;
}

.portal-affix__input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f1e35;
}

.portal-affix__input:focus {
  outline: none;
}

.portal-affix__input::placeholder {
  color: #9aabc9;
  font-weight: 400;
}

.portal-switch {
  position: relative;
  display: inline-flex;
  width: 2.75rem;
  height: 1.55rem;
  flex-shrink: 0;
}

.portal-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c8d2e4;
  transition: background 0.2s ease;
}

.portal-switch__track::after {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 30, 53, 0.25);
  transition: transform 0.2s ease;
}

.portal-switch .peer:checked + .portal-switch__track {
  background: #ff6a13;
}

.portal-switch .peer:checked + .portal-switch__track::after {
  transform: translateX(1.2rem);
}

.portal-switch .peer:focus-visible + .portal-switch__track {
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.28);
}

.portal-nav-link.is-active {
  background: #fff5ed;
  color: #0f1e35;
  box-shadow: inset 3px 0 0 #ff6a13;
}

.portal-nav-link.is-active i {
  color: #ff6a13;
}

.portal-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.portal-top-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.portal-top-link.is-active {
  background: rgba(255, 106, 19, 0.18);
  color: #fff;
}

.portal-top-link.is-active i {
  color: #ff8038;
}

.portal-top-link--logout {
  color: #fda4af;
}

.portal-top-link--logout:hover {
  background: rgba(244, 63, 94, 0.12);
  color: #fecdd3;
}

.portal-account {
  position: relative;
}

.portal-account__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.65rem 0.25rem 0.25rem;
  color: #fff;
  transition: background-color 0.15s ease;
}

.portal-account__btn:hover,
.portal-account.is-open .portal-account__btn {
  background: rgba(255, 255, 255, 0.1);
}

.portal-account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 60;
  min-width: 15rem;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid #e6eaf3;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 30, 53, 0.06), 0 18px 40px -28px rgba(15, 30, 53, 0.35);
  padding: 0.35rem;
}

.portal-account__menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.65rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e3355;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.portal-account__menu a:hover {
  background: #f4f6fa;
  color: #0f1e35;
}

.portal-account__menu a.is-logout {
  color: #e11d48;
}

.portal-account__menu a.is-logout:hover {
  background: #fff1f2;
  color: #be123c;
}

#hoursBody.is-collapsed .hours-row:nth-child(n + 3) {
  display: none;
}

.listing-image-box {
  min-height: 8.5rem;
}

.listing-map {
  z-index: 0;
  background: #e6eaf3;
}

.listing-map .leaflet-container {
  width: 100%;
  height: 100%;
  font: inherit;
}

.listing-map .leaflet-control-attribution {
  font-size: 10px;
}

.listing-action {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.listing-action:hover {
  transform: translateY(-1px);
}

.listing-action--danger {
  background: #fff1f2;
  color: #e11d48;
}

.listing-action--danger:hover {
  background: #ffe4e6;
}

.listing-action--view {
  background: #eff6ff;
  color: #2563eb;
}

.listing-action--view:hover {
  background: #dbeafe;
}

.listing-action--edit {
  background: #eef2ff;
  color: #0f1e35;
}

.listing-action--edit:hover {
  background: #e0e7ff;
}

.listing-action--renew {
  background: #ecfdf5;
  color: #059669;
}

.listing-action--renew:hover {
  background: #d1fae5;
}

.thankyou-card__banner {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16, 185, 129, 0.12), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.thankyou-card--pending .thankyou-card__banner {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 158, 11, 0.14), transparent 70%),
    linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.thankyou-card__icon {
  animation: thankyouPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 14px 28px -12px rgba(16, 185, 129, 0.65);
}

.thankyou-card--pending .thankyou-card__icon {
  box-shadow: 0 14px 28px -12px rgba(245, 158, 11, 0.55);
}

.payment-cancel__banner {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244, 63, 94, 0.1), transparent 70%),
    linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.payment-cancel__icon {
  animation: thankyouPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 14px 28px -12px rgba(244, 63, 94, 0.55);
}

.thankyou-listing {
  position: relative;
  box-shadow: 0 1px 2px rgba(15, 30, 53, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.thankyou-listing::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 999px;
  background: #ff6a13;
}

.thankyou-listing:hover {
  border-color: #c8d2e4;
  box-shadow: 0 1px 2px rgba(15, 30, 53, 0.06), 0 14px 28px -22px rgba(15, 30, 53, 0.35);
}

.thankyou-listing__mark {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.thankyou-listing:hover .thankyou-listing__mark {
  transform: scale(1.04);
  background: #ffe7d4;
}

.thankyou-receipt {
  background: #f8fafc;
}

.thankyou-receipt__row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 38%) 1fr;
  gap: 0.75rem 1rem;
  align-items: baseline;
  padding: 0.875rem 1rem;
  border-top: 1px solid #e6eaf3;
}

.thankyou-receipt__row:first-child {
  border-top: 0;
}

.thankyou-receipt__row dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #657da8;
}

.thankyou-receipt__row dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f1e35;
  text-align: right;
  word-break: break-word;
}

.thankyou-receipt__row--amount {
  background: #fff5ed;
}

.thankyou-receipt__row--amount dt {
  color: rgba(255, 106, 19, 0.72);
}

.thankyou-receipt__row--amount dd {
  font-size: 1.25rem;
}

.thankyou-perks__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.thankyou-perks__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1e3355;
}

.thankyou-perks__list i {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #10b981;
}

@keyframes thankyouPop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .thankyou-card__icon,
  .payment-cancel__icon {
    animation: none;
  }

  .thankyou-listing:hover .thankyou-listing__mark {
    transform: none;
  }
}

/* Categories directory page */
.categories-alpha__btn {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 0.55rem;
  border: 1px solid #e6eaf3;
  background: #fff;
  color: #0f1e35;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.categories-alpha__btn:hover {
  border-color: #ffcaa8;
  color: #ff6a13;
  transform: translateY(-1px);
}

.categories-alpha__btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  color: #9aabc9;
}

.categories-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e6eaf3;
}

.categories-group__letter {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f1e35;
  line-height: 1;
}

.categories-group__count {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9aabc9;
}

.categories-group__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .categories-group__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .categories-group__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.categories-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid #e6eaf3;
  background: #fff;
  color: #1e3355;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.categories-item:hover {
  border-color: #ffcaa8;
  background: #fff5ed;
  color: #f04e00;
  transform: translateY(-1px);
}

.categories-item__name {
  min-width: 0;
}

.categories-item__chev {
  font-size: 0.65rem;
  color: #c8d2e4;
  flex-shrink: 0;
}

.categories-item:hover .categories-item__chev {
  color: #ff6a13;
}

.ad-slot__label {
  margin-bottom: 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aabc9;
}

.ad-slot__box {
  display: grid;
  place-items: center;
  gap: 0.25rem;
  width: 100%;
  border-radius: 1rem;
  border: 1px dashed #c8d2e4;
  background:
    repeating-linear-gradient(
      -45deg,
      #f8fafc,
      #f8fafc 8px,
      #f4f6fa 8px,
      #f4f6fa 16px
    );
  color: #657da8;
  text-align: center;
}

.ad-slot__box--rectangle {
  min-height: 250px;
}

.ad-slot__box--skyscraper {
  min-height: 600px;
}

.ad-slot__placeholder {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e3355;
}

.ad-slot__hint {
  font-size: 0.7rem;
  font-weight: 600;
  color: #9aabc9;
}

@media (max-width: 1023px) {
  .ad-slot__box--skyscraper {
    min-height: 250px;
  }
}

/* Locations directory */
.locations-state {
  border: 1px solid #e6eaf3;
  border-radius: 1.25rem;
  background: #fff;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 30, 53, 0.04);
}

.locations-state__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e6eaf3;
}

.locations-state__title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f1e35;
  line-height: 1.25;
}

.locations-state__meta {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9aabc9;
}

.locations-state__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .locations-state__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .locations-state__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.locations-city {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  color: #1e3355;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.locations-city:hover {
  background: #fff5ed;
  color: #f04e00;
}

.locations-city__icon {
  font-size: 0.65rem;
  color: #ff6a13;
  flex-shrink: 0;
}

.locations-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid #e6eaf3;
  background: #fff;
  color: #0f1e35;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.locations-page-btn:hover {
  border-color: #ffcaa8;
  color: #ff6a13;
}

.locations-page-btn.is-current {
  border-color: #0f1e35;
  background: #0f1e35;
  color: #fff;
  cursor: default;
}

.locations-page-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  color: #9aabc9;
}

.top-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .top-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .top-locations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.top-locations-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid #e6eaf3;
  background: #fff;
  color: #1e3355;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.top-locations-item i {
  font-size: 0.7rem;
  color: #ff6a13;
  flex-shrink: 0;
}

.top-locations-item:hover {
  border-color: #ffcaa8;
  background: #fff5ed;
  color: #ff6a13;
}

/* CMS / backend HTML content (about pages, static pages) */
.cms-content {
  color: #2f4370;
  font-size: 1rem;
  line-height: 1.7;
}

.cms-content > *:first-child {
  margin-top: 0;
}

.cms-content > *:last-child {
  margin-bottom: 0;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4 {
  color: #0f1e35;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.cms-content h1 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
}

.cms-content h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.35rem;
}

.cms-content h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.125rem;
}

.cms-content h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.cms-content p {
  margin: 0 0 1rem;
}

.cms-content ul,
.cms-content ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.cms-content ul {
  list-style: disc;
}

.cms-content ol {
  list-style: decimal;
}

.cms-content li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
}

.cms-content li::marker {
  color: #ff6a13;
  font-weight: 700;
}

.cms-content a {
  color: #ff6a13;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cms-content a:hover {
  color: #f04e00;
}

.cms-content strong,
.cms-content b {
  color: #0f1e35;
  font-weight: 800;
}

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

.cms-content blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid #ff6a13;
  background: #fff5ed;
  border-radius: 0 0.75rem 0.75rem 0;
  color: #1e3355;
}

.cms-content hr {
  margin: 1.75rem 0;
  border: 0;
  border-top: 1px solid #e6eaf3;
}

@media (min-width: 640px) {
  .cms-content h1 {
    font-size: 2.25rem;
  }

  .cms-content h2 {
    font-size: 1.5rem;
  }
}

.tags-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .tags-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tags-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tags-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid #e6eaf3;
  background: #fff;
  color: #1e3355;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.tags-item i {
  font-size: 0.7rem;
  color: #ff6a13;
  flex-shrink: 0;
}

.tags-item:hover {
  border-color: #ffcaa8;
  background: #fff5ed;
  color: #ff6a13;
}

@media (prefers-reduced-motion: reduce) {
  .categories-alpha__btn:hover,
  .categories-item:hover {
    transform: none;
  }
}

.payment-method {
  display: block;
  cursor: pointer;
  border-radius: 1rem;
  border: 1.5px solid #e6eaf3;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.payment-method:hover {
  border-color: #c8d2e4;
  transform: translateY(-1px);
}

.payment-method.is-selected {
  border-color: #ff6a13;
  background: linear-gradient(180deg, #fff5ed 0%, #ffffff 55%);
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.12);
}

.payment-method__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.payment-method__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.payment-method__logo {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: #fff5ed;
  color: #ff6a13;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.payment-method__logo-img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  display: block;
}

/* Icon tile colours keyed by payment_gateways.gateway_code */
.payment-method__logo--instamojo {
  background: #fff5ed;
  color: #ff6a13;
}

.payment-method__logo--razorpay {
  background: #eff6ff;
  color: #2563eb;
}

.payment-method__logo--paypal {
  background: #eef6ff;
  color: #003087;
}

.payment-method__logo:has(.payment-method__logo-img) {
  background: #ffffff;
  border: 1px solid #e6eaf3;
}

.payment-method__radio {
  display: none;
}

.payment-method__check {
  color: #c8d2e4;
  font-size: 1.15rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.payment-method.is-selected .payment-method__check {
  color: #ff6a13;
  transform: scale(1.05);
}

.payment-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e6eaf3;
  background: #fff;
  box-shadow: 0 2px 8px -4px rgba(15, 30, 53, 0.08);
}

.payment-steps__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
  position: relative;
}

.payment-steps__item:not(:last-child)::after {
  content: '';
  flex: 1;
  height: 2px;
  margin: 0 0.65rem;
  border-radius: 999px;
  background: #e6eaf3;
}

.payment-steps__item.is-done:not(:last-child)::after,
.payment-steps__item.is-current:not(:last-child)::after {
  background: linear-gradient(90deg, #ff6a13, #e6eaf3);
}

.payment-steps__dot {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #e6eaf3;
  color: #657da8;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.payment-steps__item.is-done .payment-steps__dot {
  background: #ecfdf5;
  color: #059669;
}

.payment-steps__item.is-current .payment-steps__dot {
  background: #ff6a13;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(255, 106, 19, 0.8);
}

.payment-steps__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9aabc9;
  white-space: nowrap;
}

.payment-steps__item.is-done .payment-steps__label,
.payment-steps__item.is-current .payment-steps__label {
  color: #0f1e35;
}

@media (max-width: 480px) {
  .payment-steps__label {
    display: none;
  }

  .payment-steps__item:not(:last-child)::after {
    margin: 0 0.4rem;
  }
}

.payment-summary__listing {
  position: relative;
}

.payment-summary__listing::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  border-radius: 999px;
  background: #ff6a13;
}

.payment-methods-panel {
  border-color: #c8d2e4;
  box-shadow:
    0 1px 2px rgba(15, 30, 53, 0.05),
    0 14px 32px -20px rgba(15, 30, 53, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .payment-method:hover {
    transform: none;
  }
}

.my-listing-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.my-listing-card:hover {
  border-color: #c8d2e4;
  box-shadow: 0 1px 2px rgba(15, 30, 53, 0.06), 0 18px 40px -28px rgba(15, 30, 53, 0.35);
  transform: translateY(-2px);
}

.my-listing-card__media {
  position: relative;
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e6eaf3;
  background: #f4f6fa;
}

@media (min-width: 640px) {
  .my-listing-card__media {
    width: 6.5rem;
    height: 6.5rem;
  }
}

.my-listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-listing-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.85rem;
  border: 1px solid #e6eaf3;
  background: #f4f6fa;
}

.my-listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  color: #657da8;
}

.my-listing-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.my-listing-card__meta i {
  width: 0.85rem;
  text-align: center;
  color: #9aabc9;
}

.my-listing-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e6eaf3;
}

@media (max-width: 639px) {
  .my-listing-card .flex.items-start.justify-between {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .my-listing-card__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee {
    animation: none;
  }

  .carousel-track {
    transition: none;
  }
}

.plan-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-features li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #3d4d66;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #059669;
}

.plan-features li.unavailable {
  color: #8b97a8;
}

.plan-features li.unavailable::before {
  content: "✕";
  color: #e11d48;
}

.plan-features strong,
.plan-features b {
  font-weight: 700;
  color: #0f1e35;
}

.plan-features--dark li,
.plan-features--dark strong,
.plan-features--dark b {
  color: #e8eef6;
}

.plan-features--dark li.unavailable {
  color: #9aabc4;
}

.plan-features--dark li::before {
  color: #fb923c;
}

/* Portal info tooltips (create-listing tips) */

.portal-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: help;
  line-height: 1;
}

.portal-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  z-index: 40;
  width: max-content;
  max-width: min(18rem, 70vw);
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: #0f1e35;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  box-shadow: 0 14px 28px -18px rgba(15, 30, 53, 0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(0.25rem);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.portal-tip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.2rem);
  z-index: 41;
  border: 6px solid transparent;
  border-top-color: #0f1e35;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.portal-tip:hover::after,
.portal-tip:hover::before,
.portal-tip:focus-visible::after,
.portal-tip:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.portal-tip:hover::before,
.portal-tip:focus-visible::before {
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   Create-listing plan picker — stacked radio rows
   Popular pre-selected; orange accent + Continue (not full navy).
   -------------------------------------------------------------------------- */
.plan-rows__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f2;
  background: #fff;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 30, 53, 0.05);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.plan-rows__item:hover {
  border-color: #ffc39a;
  box-shadow: 0 12px 28px rgba(15, 30, 53, 0.08);
}

.plan-rows__item--popular {
  border-color: #ffc39a;
}

.plan-rows__item.is-selected,
.plan-rows__item--popular.is-selected {
  border-color: #ff6a13;
  box-shadow: 0 12px 28px rgba(255, 106, 19, 0.14);
  background: #fffaf6;
}

.plan-rows__item.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ff6a13;
}

.plan-rows__item--max:not(.is-selected) {
  border-color: #c8d2e4;
}

.plan-rows__main {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

@media (min-width: 768px) {
  .plan-rows__item {
    padding: 1.35rem 1.5rem;
  }

  .plan-rows__main {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.plan-rows__radio {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 2px solid #c8d2e4;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-rows__radio::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #ff6a13;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.plan-rows__item.is-selected .plan-rows__radio {
  border-color: #ff6a13;
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.16);
}

.plan-rows__item.is-selected .plan-rows__radio::after {
  opacity: 1;
  transform: scale(1);
}

.plan-rows__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f1e35;
}

.plan-rows__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.plan-rows__badge--popular {
  background: #ff6a13;
  box-shadow: 0 6px 14px rgba(255, 106, 19, 0.35);
}

.plan-rows__badge--max {
  background: #0f1e35;
}

.plan-rows__tagline {
  margin: 0.4rem 0 0;
  padding-left: 1.55rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #657da8;
}

.plan-rows__note {
  margin: 0.3rem 0 0;
  padding-left: 1.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9aabc9;
}

.plan-rows__features {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.55rem;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #3d516f;
}

@media (min-width: 640px) {
  .plan-rows__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
}

.plan-rows__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.plan-rows__features li.is-off {
  color: #9aabc9;
}

.plan-rows__features i {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  width: 0.85rem;
  flex-shrink: 0;
}

.plan-rows__features li.is-on i {
  color: #10b981;
}

.plan-rows__features li.is-off i {
  color: #9aabc9;
}

.plan-rows__action {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8eef8;
}

@media (min-width: 768px) {
  .plan-rows__action {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.65rem;
    min-width: 9.5rem;
    padding-top: 0;
    padding-left: 1.25rem;
    border-top: 0;
    border-left: 1px solid #e8eef8;
  }
}

.plan-rows__price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f1e35;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .plan-rows__price {
    text-align: center;
  }
}

.plan-rows__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid #c8d2e4;
  background: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f1e35;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-rows__cta--select:hover {
  border-color: #ff8038;
  color: #ff6a13;
}

.plan-rows__cta--continue {
  border-color: transparent;
  background: #ff6a13;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 106, 19, 0.28);
}

.plan-rows__cta--continue:hover {
  background: #e85f10;
  color: #fff;
}

.plan-rows__copy {
  display: block;
  cursor: pointer;
}
