.hidden {
  display: none !important;
}

.nav-inner {
  position: relative;
}

.nav-actions.nav-right,
.nav-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-user-email {
  max-width: 150px;
  overflow: hidden;
  color: var(--text-cream-soft);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(245, 239, 225, .22);
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--text-cream);
  font: 800 .82rem/1 "JetBrains Mono", monospace;
  cursor: pointer;
}

.nav-avatar:hover,
.nav-avatar.active {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, .18);
}

.nav-dropdown {
  position: absolute;
  z-index: 160;
  top: calc(100% + 12px);
  right: 0;
  width: min(290px, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown.open {
  display: block !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a,
.nav-dropdown button {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-ink);
  font: 600 .88rem/1.2 Inter, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-dropdown a:hover,
.nav-dropdown button:hover {
  background: var(--paper-2);
}

.nav-dropdown-email {
  overflow: hidden;
  padding: 10px 8px 7px;
  color: var(--text-ink-soft);
  font: 500 .75rem/1.4 "JetBrains Mono", monospace;
  text-overflow: ellipsis;
}

.nav-dropdown-divider {
  height: 1px;
  margin: 5px 0;
  background: rgba(11, 42, 41, .1);
}

.nav-dropdown-logout {
  color: var(--coral) !important;
}



.nav-mobile-menu {
  position: absolute;
  z-index: 155;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  padding: 8px 0;
  border-top: 1px solid rgba(245, 239, 225, .16);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.nav-mobile-menu:not(.hidden) {
  display: block;
}

.nav-mobile-item {
  display: block;
  width: 100%;
  padding: 12px 24px;
  border: 0;
  background: transparent;
  color: var(--text-cream-soft);
  text-align: left;
}

.detail-page {
  padding: 28px 0 40px;
}

.detail-loading,
.detail-error {
  min-height: 52vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.detail-loading-card,
.detail-error-card {
  width: min(560px, 100%);
  padding: 40px;
  border: 1px solid rgba(11, 42, 41, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 42, 41, .08);
}

.detail-loading-ping {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid rgba(232, 163, 61, .55);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(232, 163, 61, .10);
  animation: detail-ping 1.5s ease-in-out infinite;
}

@keyframes detail-ping {
  50% { transform: scale(.78); box-shadow: 0 0 0 22px rgba(232, 163, 61, 0); }
}

.detail-breadcrumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-ink-soft);
  font-size: 13px;
  overflow: hidden;
}

.detail-breadcrumbs > * {
  flex-shrink: 0;
}

.breadcrumb-current {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

.detail-breadcrumbs a {
  color: inherit;
}

.detail-breadcrumbs a:hover {
  color: var(--amber-deep);
}

.detail-gallery-shell {
  margin-bottom: 16px;
  padding: 0;
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.gallery-tab {
  padding: 9px 14px;
  border: 1px solid rgba(11, 42, 41, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 12px/1 Inter, sans-serif;
  cursor: pointer;
}

.gallery-tab.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text-cream);
}

.gallery-main {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper-2) center / cover no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  cursor: pointer;
}
.gallery-expand-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  z-index: 2;
  transition: transform 0.2s;
}
.gallery-expand-btn:hover {
  transform: scale(1.05);
}

.gallery-main::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(11, 42, 41, .38));
  pointer-events: none;
}

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(11, 42, 41, .76);
  color: var(--text-cream);
  font: 600 11px/1 "JetBrains Mono", monospace;
  backdrop-filter: blur(8px);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 calc(20% - 8px);
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: 11px;
  background: var(--paper-2) center / cover no-repeat;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(232, 163, 61, .18);
}

.panorama-viewer {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--ink-2);
}

#panoramaViewer {
  width: 100%;
  height: 100%;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 46px;
  align-items: start;
}

.detail-sidebar {
  position: sticky;
  top: 86px;
}

.detail-kicker {
  margin: 0 0 12px;
  color: var(--amber-deep);
  font: 600 12px/1.5 Inter, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 4px 8px;
  border-radius: 999px;
  font: 500 12px/1.4 Inter, sans-serif;
}

.detail-heading {
  margin: 0;
  color: var(--ink);
  font: 600 clamp(1.5rem, 3vw, 2.25rem)/1.15 Fraunces, serif;
  letter-spacing: -.025em;
}

.detail-location {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 18px;
  color: var(--text-ink-soft);
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

.detail-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: -12px 0 28px;
}

.detail-info-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(18, 63, 60, .08);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.detail-status {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(18, 63, 60, .08);
  color: var(--ink-2);
  font: 700 11px/1 "JetBrains Mono", monospace;
}

.detail-section {
  padding: 28px 0;
  border-top: 1px solid rgba(11, 42, 41, .12);
}

.detail-section h2,
.reviews-header h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font: 600 29px/1.12 Fraunces, serif;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  row-gap: 24px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 42, 41, 0.05); /* Brand color pale */
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.spec-text {
  display: flex;
  flex-direction: column;
}

.spec-text strong {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

.spec-text span {
  font-size: 12px;
  color: var(--text-ink-soft);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-2);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.amenity-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amenity-label {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}

.detail-description {
  color: var(--text-ink-soft);
  line-height: 1.8;
  white-space: pre-line;
}

.badge-danh-gia-cao {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 163, 61, 0.12);
  color: #B87A22;
  padding: 4px 10px;
  border-radius: 999px;
  font: 600 12px/1 Inter, sans-serif;
  margin-top: 12px;
}

.landlord-response-stats {
  margin-top: 6px;
  color: var(--muted);
  font: 400 12.5px/1.4 Inter, sans-serif;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.landlord-response-stats.neutral {
  color: var(--text-ink-soft);
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: rgba(232, 163, 61, 0.15);
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  margin: 0 4px;
}
.contact-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
}

.contact-card {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid rgba(11, 42, 41, .13);
  border-radius: 20px;
  background: #fff;
  color: var(--text-ink);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.contact-price,
.mobile-contact-price {
  color: var(--ink);
  font: 700 25px/1.15 "JetBrains Mono", monospace;
}

.contact-price span {
  color: var(--text-ink-soft);
  font: 500 12px/1 Inter, sans-serif;
}

.contact-code,
.contact-views {
  margin: 10px 0 0;
  color: var(--text-ink-soft);
  font: 500 10px/1.4 "JetBrains Mono", monospace;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.contact-actions .btn {
  width: 100%;
  justify-content: center;
  transition: all 0.2s ease;
}

.contact-actions .btn:hover {
  transform: translateY(-1px);
}

.contact-actions .btn-amber:hover {
  background: var(--amber-deep);
  color: white;
}

.contact-actions .btn-primary:hover {
  background: var(--paper-2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-actions .btn-outline:hover {
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-actions .btn-blue {
  background: rgba(14, 165, 233, 0.08);
  color: #0284c7;
}

.contact-actions .btn-blue:hover {
  background: rgba(14, 165, 233, 0.15);
}

.contact-actions-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.contact-actions-row .btn {
  flex: 1;
}

.contact-divider {
  border: 0;
  border-top: 1px dashed rgba(11, 42, 41, .18);
  margin: 8px 0;
  width: 100%;
}

.contact-phone[hidden] {
  display: none;
}

.contact-phone span {
  grid-column: 1 / -1;
  color: var(--text-ink-soft);
  font-size: 11px;
}

.contact-phone a {
  overflow: hidden;
  color: var(--ink);
  font: 700 15px/1.2 "JetBrains Mono", monospace;
  text-decoration: none;
  text-overflow: ellipsis;
  user-select: all;
}

.contact-phone button {
  padding: 5px 7px;
  border: 0;
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--amber-deep);
  font: 700 10px/1 Inter, sans-serif;
  cursor: pointer;
}

.owner-note {
  margin-top: 18px;
  color: var(--text-ink-soft);
  font-size: 13px;
  text-align: center;
}

.badge-danh-gia-cao {
  display: inline-flex;
  margin-top: 7px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(232, 163, 61, .15);
  color: var(--amber-deep);
  font: 700 10px/1 "JetBrains Mono", monospace;
}

.reviews-section {
  margin-top: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(11, 42, 41, .12);
}

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-bottom: 20px;
}

.reviews-avg {
  color: var(--ink);
  font: 700 48px/1 "JetBrains Mono", monospace;
}

.reviews-avg span,
.review-stars {
  color: var(--amber);
}

.review-criteria-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin: 24px 0;
}

.review-criterion-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rc-label {
  flex: 1;
  font-size: 14.5px;
  color: var(--ink);
}

.rc-track {
  width: 120px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.rc-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.rc-value {
  width: 32px;
  text-align: right;
  font: 600 13px "JetBrains Mono", monospace;
  color: var(--ink);
}

.reviews-list {
  display: grid;
  gap: 12px;
}

.review-item,
.review-form-wrap,
.review-empty {
  padding: 20px;
  border: 1px solid rgba(11, 42, 41, .12);
  border-radius: 16px;
  background: #fff;
}

.review-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.review-item-meta {
  color: var(--text-ink-soft);
  font: 500 10px/1.4 "JetBrains Mono", monospace;
}

.review-item p {
  margin: 0;
  color: var(--text-ink-soft);
  line-height: 1.65;
}

.review-form-wrap {
  margin-top: 18px;
}

.review-form-wrap h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font: 600 23px/1.2 Fraunces, serif;
}

.review-rating-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.review-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.review-field select,
.review-field input,
.review-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(11, 42, 41, .18);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text-ink);
  font: 500 14px/1.4 Inter, sans-serif;
}

.review-field textarea {
  min-height: 108px;
  resize: vertical;
}

.review-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 16px;
  color: var(--text-ink-soft);
  font-size: 13px;
}

.review-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--coral);
  font-size: 13px;
}

.related-section {
  padding: 40px 0 64px;
  margin-top: 24px;
  background: var(--paper-2);
}

.related-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.related-head h2 {
  margin: 0;
  color: var(--ink);
  font: 600 36px/1.1 Fraunces, serif;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-grid .card {
  min-width: 0;
}

.related-grid .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14.5px;
  line-height: 1.4;
  margin: 4px 0 8px;
  min-height: 2.8em;
}

.related-grid .card-img {
  height: 190px;
}

.mobile-contact {
  display: none;
}

.reviews-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.btn-review-filter {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text-ink-soft);
  font: 500 13px/1 Inter, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-review-filter:hover {
  background: var(--surface-hover);
}

.btn-review-filter.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.review-photo-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--border-soft);
  transition: opacity 0.2s;
}

.review-photo-thumb:hover {
  opacity: 0.8;
}

@media (max-width: 980px) {
  .nav .nav-inner > nav {
    display: none;
  }



  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .review-criteria-summary {
    grid-template-columns: 1fr;
  }

  .spec-grid,
  .amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-actions.nav-right {
    margin-left: auto;
    gap: 8px;
  }

  .nav-user-email {
    display: none;
  }

  .nav-mobile-menu {
    right: 12px;
    left: 12px;
    padding: 10px;
    border: 1px solid rgba(245, 239, 225, .13);
    border-radius: 0 0 14px 14px;
  }

  .detail-page {
    padding: 18px 0 40px;
  }

  .detail-layout {
    display: block;
  }

  .detail-sidebar {
    display: block;
    margin-top: 24px;
  }
  .contact-card {
    display: none;
  }

  .gallery-main {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: auto;
  }

  .gallery-thumb {
    min-width: 72px;
  }

  .panorama-viewer {
    height: 330px;
    border-radius: 14px;
  }

  .spec-grid,
  .amenity-grid,
  .review-rating-grid,
  .review-criteria-summary,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .mobile-contact {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 68px;
    left: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(11, 42, 41, .14);
    background: rgba(250, 246, 236, .96);
    box-shadow: 0 -10px 30px rgba(11, 42, 41, .1);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-price {
    min-width: 0;
    font-size: 15px;
    white-space: nowrap;
  }

  .mobile-contact .btn {
    min-height: 44px;
    flex: 0 0 auto;
    padding: 10px 16px;
    white-space: nowrap;
  }

  .related-section {
    padding: 32px 0 120px;
    margin-top: 24px;
  }

  .related-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-loading-ping {
    animation: none;
  }
}

/* Mini Map Card */
.mini-map-card {
  margin: 16px 0 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  isolation: isolate;
  transform: translateZ(0);
  z-index: 1;
}
.mini-map-container {
  width: 100%;
  height: 180px;
  background: var(--paper-2);
}
.mini-map-footer {
  border-top: 1px solid var(--line);
}
.mini-map-text {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-ink-soft);
  font-weight: 500;
  margin: 0;
}

/* Host Trust Card */
.host-trust-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--paper);
}
.host-trust-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.host-trust-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: #33220A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  flex-shrink: 0;
}
.host-trust-info {
  display: flex;
  flex-direction: column;
}
.host-trust-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text-ink);
}
.host-trust-joined {
  font-size: 13px;
  color: var(--text-ink-soft);
  margin: 2px 0 0;
}
.host-trust-stats {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.host-trust-stat {
  display: flex;
  flex-direction: column;
}
.host-trust-stat strong {
  font-size: 16px;
  color: var(--text-ink);
}
.host-trust-stat span {
  font-size: 13px;
  color: var(--text-ink-soft);
}

/* Mobile Spacing & Section Cards */
@media (max-width: 980px) {
  .detail-section-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 24px;
    border: 1px solid var(--line);
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .detail-section-card {
    padding: 20px 16px;
  }
  .mini-map-card {
    margin: 16px -16px 24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* Img Count Badge for Cards */
.card-img { position: relative; }
.img-count-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-pill);
  background: rgba(11, 42, 41, .76);
  color: var(--text-cream);
  font: 600 10.5px/1 "JetBrains Mono", monospace;
  backdrop-filter: blur(8px);
}

/* =========================================================
   Typography Scale Refinements (Appended overrides)
   ========================================================= */

/* 1. Main Listing Title */
.detail-heading {
  font-size: clamp(20px, 4vw, var(--font-size-3xl));
  line-height: 1.3;
}

/* 2. Section Headings */
.detail-section h2,
.reviews-section h2 {
  font-size: var(--font-size-2xl);
  line-height: 1.3;
}

/* 3. Specs & Metadata Labels (.spec-item span) */
.spec-item span:not(.spec-icon) {
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--text-ink-soft);
}

/* Ensure spec values (.spec-item strong) stay prominent */
.spec-item strong {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-ink);
}

/* 4. Amenities labels */
.amenity-item {
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--text-ink-soft);
}

/* 5. Mini-Map text */
.mini-map-text {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* 6. Host Trust Card */
.host-trust-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.host-trust-joined {
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--text-ink-soft);
}

.host-trust-stat strong {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.host-trust-stat span {
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--text-ink-soft);
}

/* Global Card Styles */
.detail-section-card,
.host-trust-card,
.mini-map-card,
.contact-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

/* Override contact card specifically if it had different padding */
.contact-card {
  padding: 24px;
}

/* Sidebar spacing & duplicate info */
.contact-card {
  margin-bottom: 0; /* Remove gap */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}
.host-trust-card {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0; /* Flush with contact card */
  padding-top: 20px;
}
.owner-note {
  display: none !important; /* Hide duplicate host info */
}

/* Minor spacing for map */
.mini-map-card + .detail-meta-row {
  margin-top: 8px;
}

/* Host Trust Card alignment */
.host-trust-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-top: 16px;
}
.host-trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Share Card */
.share-card { margin-top: 16px; text-align: center; }
.share-title { font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.share-actions { display: flex; gap: 12px; justify-content: center; }
.btn-share { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: transform 0.2s, opacity 0.2s; }
.btn-share:hover { transform: scale(1.05); opacity: 0.9; }
.btn-share.z-share { background: #0068ff; }
.btn-share.fb-share { background: #0084ff; }
.btn-share.link-share { background: var(--amber); }
.btn-share svg { width: 20px; height: 20px; }

.rating-bars { display: grid; gap: 4px; align-content: center; margin-left: 24px; }
.bar-row { display: grid; grid-template-columns: 24px 1fr 32px; align-items: center; gap: 6px; font-size: 11px; color: var(--primary-dark); }
.bar-track { height: 4px; background: #FFF3DD; border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--value); background: #F5A623; border-radius: inherit; }
