/* Property detail page styles */
.detail-logo {
  text-decoration: none;
}
.detail-page {
  background:
    linear-gradient(180deg, #f5f8fc 0%, #fafafa 46%),
    radial-gradient(circle at 10% 0%, rgba(243, 156, 18, 0.12), transparent 30%);
  margin-top: 78px;
  min-height: calc(100vh - 78px);
  padding: 34px 0 80px;
}
.detail-back-link {
  align-items: center;
  color: #637083;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.detail-back-link:hover {
  color: #f39c12;
}
.detail-breadcrumbs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 30px;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 2px 0;
}
.detail-breadcrumbs span {
  display: none;
}
.detail-breadcrumbs a,
.detail-breadcrumbs strong {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(43, 37, 125, 0.66), rgba(31, 28, 104, 0.5));
  backdrop-filter: blur(14px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 12px 28px rgba(0, 46, 110, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  line-height: 1;
  min-height: 38px;
  padding: 0 34px 0 24px;
  position: relative;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.detail-breadcrumbs a:first-child {
  padding-left: 14px;
}
.detail-breadcrumbs a::after,
.detail-breadcrumbs strong::after {
  display: none;
}
.detail-breadcrumbs a + a,
.detail-breadcrumbs strong {
  margin-left: 0;
}
.detail-breadcrumbs a:nth-of-type(2) {
  background:
    linear-gradient(135deg, rgba(58, 47, 155, 0.7), rgba(39, 32, 119, 0.52));
  color: #fff;
  text-decoration: none;
}
.detail-breadcrumbs a:hover {
  background:
    linear-gradient(135deg, rgba(65, 53, 170, 0.82), rgba(45, 37, 136, 0.62));
  color: #ffdc00;
}
.detail-breadcrumbs strong {
  background:
    linear-gradient(135deg, rgba(55, 48, 137, 0.66), rgba(43, 37, 111, 0.5));
  color: #ffdc00;
  max-width: min(420px, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}
.sy-title-block {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.sy-title-block h1 {
  color: #002e6e;
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.sy-title-block p {
  color: #526174;
  font-weight: 600;
}
.sy-title-block p i {
  color: #f39c12;
  margin-right: 8px;
}
.sy-title-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.sy-title-actions button {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e1ec;
  border-radius: 7px;
  color: #002e6e;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
}
.sy-title-actions button:hover {
  border-color: #f39c12;
  color: #f39c12;
}
.sy-title-actions button.active {
  background: #fff7e6;
  border-color: #f39c12;
  color: #b66d00;
}
.detail-hero {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 30px;
  overflow: hidden;
}
.detail-hero-upgraded {
  border: 1px solid rgba(0, 46, 110, 0.08);
  box-shadow: 0 24px 60px rgba(0, 46, 110, 0.12);
}
.detail-media-chip {
  position: absolute;
  z-index: 1;
}
.detail-media-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  bottom: 22px;
  color: #002e6e;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 8px;
  left: 22px;
  padding: 9px 13px;
}
.detail-hero img {
  height: 420px;
  object-fit: cover;
  width: 100%;
}
.detail-gallery {
  background: #0f172a;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}
.detail-media-track,
.detail-media-slide {
  height: 100%;
  min-height: 430px;
}
.detail-media-slide {
  display: none;
}
.detail-media-slide.active {
  display: block;
}
.detail-media-slide img,
.detail-media-slide video,
.detail-media-slide iframe {
  border: 0;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}
.detail-media-slide iframe {
  object-fit: initial;
}
.detail-media-arrow {
  align-items: center;
  background: #fff;
  border: 2px solid #002e6e;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0, 46, 110, 0.22);
  color: #002e6e;
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  z-index: 3;
}
.detail-media-arrow.prev {
  left: 18px;
}
.detail-media-arrow.next {
  right: 18px;
}
.detail-media-arrow:hover,
.detail-media-arrow:focus-visible {
  background: #002e6e;
  color: #fff;
  outline: none;
}
.detail-media-arrow:disabled {
  background: #eef1f5;
  border-color: #c8d0da;
  box-shadow: none;
  color: #9aa5b3;
  cursor: not-allowed;
}
.detail-media-dots {
  bottom: 18px;
  display: flex;
  gap: 7px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}
.detail-media-dots button {
  background: rgba(255, 255, 255, 0.62);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 9px;
}
.detail-media-dots button.active {
  background: #f39c12;
  width: 24px;
}
.detail-hero-content {
  align-self: center;
  padding: 38px;
}
.detail-hero-content span {
  background: #f39c12;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 5px 10px;
}
.detail-hero-content .detail-kicker {
  background: #fff7e6;
  color: #b66d00;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.detail-hero-content h1 {
  color: #002e6e;
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
.detail-hero-content p {
  color: #555;
  margin-bottom: 18px;
}
.detail-hero-content p i {
  color: #f39c12;
  margin-right: 8px;
}
.detail-hero-content strong {
  color: #002e6e;
  font-size: 1.6rem;
}
.sy-summary {
  border-left: 3px solid #f39c12;
  color: #526174;
  margin-bottom: 22px;
  padding-left: 14px;
}
.detail-hero-actions,
.agent-action-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.detail-hero-actions .view-btn,
.agent-action-grid .view-btn {
  align-items: center;
  background: #002e6e;
  border: 1px solid #002e6e;
  border-radius: 12px;
  box-shadow:
    0 14px 28px rgba(0, 46, 110, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 850;
  gap: 8px;
  justify-content: center;
  margin-top: 0;
  min-height: 52px;
  padding: 0 18px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
  width: 100%;
}
.detail-hero-actions .view-btn i,
.agent-action-grid .view-btn i {
  color: #ffdc00;
  font-size: 1rem;
}
.detail-hero-actions .view-btn:hover,
.detail-hero-actions .view-btn:focus-visible,
.agent-action-grid .view-btn:hover,
.agent-action-grid .view-btn:focus-visible {
  background: #064b9d;
  border-color: #064b9d;
  box-shadow: 0 18px 36px rgba(0, 46, 110, 0.28);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}
.detail-hero-actions .view-btn:hover i,
.detail-hero-actions .view-btn:focus-visible i,
.agent-action-grid .view-btn:hover i,
.agent-action-grid .view-btn:focus-visible i {
  color: #ffdc00;
}
.detail-outline-btn {
  align-items: center;
  background: #fff;
  border: 1px solid #cfd9e6;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 46, 110, 0.07);
  color: #002e6e;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 850;
  gap: 9px;
  justify-content: center;
  min-height: 52px;
  min-width: 0;
  overflow: hidden;
  padding: 0 18px;
  text-decoration: none;
  text-overflow: ellipsis;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}
.detail-outline-btn i {
  color: #002e6e;
  font-size: 1rem;
}
.detail-outline-btn span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-outline-btn:hover,
.detail-outline-btn:focus-visible {
  background: #f8fbff;
  border-color: #002e6e;
  box-shadow: 0 14px 30px rgba(0, 46, 110, 0.12);
  color: #002e6e;
  outline: none;
  transform: translateY(-2px);
}
.detail-action-copy {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}
.detail-action-copy strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1;
}
.detail-action-copy small {
  display: block;
  font-size: 0.74rem;
  line-height: 1.25;
  margin-top: 4px;
  opacity: 0.72;
}
.detail-hero-actions .view-btn,
.detail-hero-actions .detail-outline-btn {
  border-radius: 14px;
  gap: 10px;
  min-height: 64px;
  padding: 0 22px;
}
.detail-hero-actions .view-btn {
  background: #073a82;
  border-color: #073a82;
  box-shadow: 0 14px 28px rgba(0, 46, 110, 0.18);
}
.detail-hero-actions .view-btn:hover,
.detail-hero-actions .view-btn:focus-visible {
  background: #064b9d;
  border-color: #064b9d;
}
.detail-hero-actions .view-btn i,
.detail-hero-actions .detail-outline-btn i {
  font-size: 1.12rem;
}
.detail-hero-actions .detail-action-copy small {
  display: none;
}
.detail-facts-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 30px;
}
.detail-fact {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 46, 110, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 46, 110, 0.07);
  display: grid;
  gap: 3px;
  min-height: 104px;
  padding: 18px;
}
.detail-fact i {
  color: #f39c12;
  font-size: 1.2rem;
}
.detail-fact span {
  color: #748094;
  font-size: 0.78rem;
  font-weight: 700;
}
.detail-fact strong {
  color: #002e6e;
  font-size: 1rem;
}
.detail-tabs {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 46, 110, 0.1);
  border-radius: 14px;
  box-shadow:
    0 18px 42px rgba(0, 46, 110, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding: 10px;
  position: relative;
  scrollbar-width: none;
  z-index: 50;
  max-width: 100%;
  width: fit-content;
}
.detail-tabs::-webkit-scrollbar {
  display: none;
}
.detail-tabs a {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 46, 110, 0.05);
  color: #172335;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 850;
  gap: 10px;
  min-height: 50px;
  padding: 7px 16px 7px 8px;
  position: relative;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.detail-tabs a::before {
  align-items: center;
  background: #eef5ff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow:
    0 7px 16px rgba(23, 35, 53, 0.16),
    inset 0 0 0 1px rgba(0, 46, 110, 0.08);
  color: #002e6e;
  content: "\f05a";
  display: inline-flex;
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  font-weight: 900;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.detail-tabs a::after {
  display: none;
}
.detail-tabs a[href="#overview"]::before {
  content: "\f05a";
}
.detail-tabs a[href="#amenities"]::before {
  content: "\f058";
}
.detail-tabs a[href="#furnishing"]::before {
  content: "\f4b8";
}
.detail-tabs a[href="#commute"]::before {
  content: "\f3c5";
}
.detail-tabs a[href="#route-map"]::before {
  content: "\f279";
}
.detail-tabs a[href="#information"]::before {
  content: "\f15c";
}
.detail-tabs a:hover,
.detail-tabs a:focus-visible {
  background: #fffaf0;
  border-color: #f39c12;
  box-shadow: 0 14px 30px rgba(0, 46, 110, 0.13);
  color: #002e6e;
  outline: none;
  text-decoration: none;
  transform: translateY(-2px);
}
.detail-tabs a:hover::before,
.detail-tabs a:focus-visible::before {
  box-shadow: 0 10px 20px rgba(0, 46, 110, 0.22);
}
.detail-tabs a:hover::after,
.detail-tabs a:focus-visible::after,
.detail-tabs a:first-child::after,
.detail-page:has(#overview:target) .detail-tabs a[href="#overview"]::after,
.detail-page:has(#amenities:target) .detail-tabs a[href="#amenities"]::after,
.detail-page:has(#furnishing:target) .detail-tabs a[href="#furnishing"]::after,
.detail-page:has(#commute:target) .detail-tabs a[href="#commute"]::after,
.detail-page:has(#route-map:target) .detail-tabs a[href="#route-map"]::after,
.detail-page:has(#information:target) .detail-tabs a[href="#information"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.detail-page:has(#overview:target) .detail-tabs a:first-child::after {
  opacity: 1;
}
.detail-page:has(#amenities:target) .detail-tabs a:first-child::after,
.detail-page:has(#furnishing:target) .detail-tabs a:first-child::after,
.detail-page:has(#commute:target) .detail-tabs a:first-child::after,
.detail-page:has(#route-map:target) .detail-tabs a:first-child::after,
.detail-page:has(#information:target) .detail-tabs a:first-child::after {
  opacity: 0;
  transform: scaleX(0.4);
}
.detail-tabs a:first-child,
.detail-page:has(#overview:target) .detail-tabs a[href="#overview"],
.detail-page:has(#amenities:target) .detail-tabs a[href="#amenities"],
.detail-page:has(#furnishing:target) .detail-tabs a[href="#furnishing"],
.detail-page:has(#commute:target) .detail-tabs a[href="#commute"],
.detail-page:has(#route-map:target) .detail-tabs a[href="#route-map"],
.detail-page:has(#information:target) .detail-tabs a[href="#information"] {
  background: #fffaf0;
  border-color: #f39c12;
  color: #002e6e;
  box-shadow: 0 14px 30px rgba(0, 46, 110, 0.13);
}
.detail-page:has(#amenities:target) .detail-tabs a:first-child,
.detail-page:has(#furnishing:target) .detail-tabs a:first-child,
.detail-page:has(#commute:target) .detail-tabs a:first-child,
.detail-page:has(#route-map:target) .detail-tabs a:first-child,
.detail-page:has(#information:target) .detail-tabs a:first-child {
  background: #fff;
  border-color: #dfe8f4;
  color: #172335;
  box-shadow: 0 8px 18px rgba(0, 46, 110, 0.05);
}
.detail-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 320px;
}
.agent-panel {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 46, 110, 0.08);
  box-shadow: 0 12px 32px rgba(0, 46, 110, 0.08);
  padding: 28px;
}
.agent-panel h2 {
  color: #002e6e;
  margin-bottom: 16px;
}
.detail-section-title {
  margin-bottom: 14px;
}
.detail-section-title span {
  color: #f39c12;
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.detail-section-title h2 {
  margin-bottom: 0;
}
.detail-copy {
  color: #536174;
  font-size: 1rem;
}
.sy-layout-grid {
  align-items: start;
  width: 100%;
}
.sy-content-stack {
  background: transparent;
  border: none;
  box-shadow: none;
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: 0;
}
.sy-card {
  background: #fff;
  border: 1px solid rgba(0, 46, 110, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 46, 110, 0.08);
  min-width: 0;
  padding: 28px;
  scroll-margin-top: 155px;
}

#route-map {
  scroll-margin-top: 230px;
}
.muted-action {
  color: #748094;
  font-size: 0.86rem;
  font-weight: 700;
}
.floor-card {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto auto;
  padding: 18px;
}
.floor-card span {
  color: #748094;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.floor-card h3 {
  color: #002e6e;
  font-size: 1rem;
}
.floor-card strong {
  color: #002e6e;
}
.floor-card .detail-outline-btn {
  min-width: 190px;
}
.furnishing-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.furnishing-detail-item {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 112px;
  padding: 16px 12px;
  text-align: center;
}
.furnishing-detail-item i {
  color: #f39c12;
  font-size: 1.7rem;
}
.furnishing-detail-item strong {
  color: #1f2937;
  font-size: 0.9rem;
}
.detail-commute-carousel {
  position: relative;
}

.detail-commute-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.detail-commute-list::-webkit-scrollbar {
  display: none;
}

.detail-commute-list div {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #e8edf4;
  border-radius: 9px;
  display: grid;
  flex: 0 0 min(280px, 86%);
  gap: 4px 12px;
  grid-template-columns: 36px 1fr;
  padding: 14px;
  scroll-snap-align: start;
}
.detail-commute-list i {
  align-items: center;
  background: #fff7e6;
  border-radius: 8px;
  color: #f39c12;
  display: inline-flex;
  grid-row: span 2;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.detail-commute-list strong {
  color: #172335;
}
.detail-commute-list span {
  color: #637083;
  font-size: 0.88rem;
}

.detail-commute-arrow {
  align-items: center;
  background: #fff;
  border: 2px solid #002e6e;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 46, 110, 0.18);
  color: #002e6e;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  z-index: 2;
}

.detail-commute-arrow.prev {
  left: -14px;
}

.detail-commute-arrow.next {
  right: -14px;
}

.detail-commute-arrow:hover,
.detail-commute-arrow:focus-visible {
  background: #002e6e;
  color: #fff;
  outline: none;
}

.detail-commute-arrow:disabled {
  background: #eef1f5;
  border-color: #c8d0da;
  box-shadow: none;
  color: #9aa5b3;
  cursor: not-allowed;
}
.detail-route-card {
  display: grid;
  gap: 14px;
}
.detail-route-map {
  background: #eef3f8;
  border: 1px solid #e2eaf5;
  border-radius: 10px;
  height: 360px;
  overflow: hidden;
  width: 100%;
}
.detail-route-actions {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}
.detail-route-btn {
  align-items: center;
  background: #002e6e;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  text-align: center;
}
.detail-route-btn:hover,
.detail-route-btn:focus-visible {
  background: #f39c12;
  color: #002e6e;
  outline: none;
}
.detail-route-btn:disabled {
  background: #c8d0da;
  color: #fff;
  cursor: wait;
}
.detail-google-map-btn {
  background: #fff;
  border: 1px solid #002e6e;
  color: #002e6e;
}
.detail-google-map-btn:hover,
.detail-google-map-btn:focus-visible {
  background: #002e6e;
  color: #fff;
}
#detail-route-status {
  background: #f8fbff;
  border: 1px solid #e2eaf5;
  border-radius: 8px;
  color: #637083;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  grid-column: 1 / -1;
  line-height: 1.45;
  padding: 11px 14px;
}
.sy-amenity-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.spec-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 24px 0 30px;
}
.spec-item {
  background: #f8fbff;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  padding: 14px;
}
.spec-item span {
  color: #666;
  display: block;
  font-size: 0.82rem;
  text-transform: capitalize;
}
.spec-item strong {
  color: #002e6e;
}
.facility-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  list-style: none;
}
.facility-list li {
  align-items: center;
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  padding: 12px;
}
.facility-list i {
  color: #0b7d5b;
}
.agent-panel {
  align-self: start;
  position: sticky;
  top: 96px;
  text-align: center;
  margin-left: 70px;
  width: 400px;
}
.agent-avatar {
  align-items: center;
  background: #fff7e6;
  border-radius: 50%;
  color: #f39c12;
  display: inline-flex;
  font-size: 2rem;
  height: 82px;
  justify-content: center;
  margin-bottom: 14px;
  width: 82px;
}
.agent-panel h3 {
  color: #002e6e;
  margin-bottom: 6px;
}
.agent-panel .view-btn {
  width: 100%;
}
.sy-agent-panel {
  scroll-margin-top: 155px;
}
.callback-card {
  background: #002e6e;
  border-radius: 10px;
  color: #fff;
  margin: -6px -6px 22px;
  padding: 22px;
  text-align: left;
}
.callback-card h2 {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 8px;
}
.callback-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}
.agent-action-grid {
  margin-top: 20px;
}
.agent-action-grid .detail-outline-btn {
  width: 100%;
}
.detail-hero-actions .detail-outline-btn {
  background: #fff;
  border: 1px solid #cfd9e6;
  box-shadow: none;
  color: #073a82;
  justify-content: center;
  width: 100%;
}
.detail-hero-actions .detail-outline-btn:hover,
.detail-hero-actions .detail-outline-btn:focus-visible {
  background: #fff;
  border-color: #c0ccda;
  box-shadow: 0 12px 24px rgba(0, 46, 110, 0.1);
  color: #073a82;
}
.detail-hero-actions .view-btn,
.detail-hero-actions .detail-outline-btn {
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 900;
  gap: 14px;
  min-height: 62px;
  padding: 0 20px;
}
.detail-hero-actions .view-btn {
  background: #0b428f;
  border-color: #0b428f;
  box-shadow: 0 16px 32px rgba(0, 46, 110, 0.2);
}
.detail-hero-actions .view-btn:hover,
.detail-hero-actions .view-btn:focus-visible {
  background: #073a82;
  border-color: #073a82;
}
.detail-hero-actions .view-btn i,
.detail-hero-actions .detail-outline-btn i {
  font-size: 1.25rem;
}
.detail-hero-actions .detail-outline-btn {
  border-color: #cfd9e6;
  color: #073a82;
}
.detail-hero-actions .detail-outline-btn span {
  align-items: center;
  background: transparent;
  border-radius: 6px;
  color: #073a82;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
}
.detail-state {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 46, 110, 0.08);
  margin: 40px auto;
  max-width: 560px;
  padding: 46px 28px;
  text-align: center;
}
.detail-state i {
  color: #f39c12;
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.detail-state h1 {
  color: #002e6e;
  margin-bottom: 8px;
}
.detail-state p {
  color: #637083;
}
#detail-toast {
  background: #002e6e;
  border-radius: 8px;
  bottom: 28px;
  box-shadow: 0 16px 34px rgba(0, 46, 110, 0.22);
  color: #fff;
  font-weight: 700;
  left: 50%;
  opacity: 0;
  padding: 13px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 18px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 3000;
}
#detail-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .detail-grid {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-panel {
    margin-left: 0;
    max-width: 100%;
    position: static;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .detail-page {
    margin-top: 72px;
    padding: 22px 0 52px;
  }

  .detail-back-link,
  .detail-breadcrumbs {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .detail-breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .detail-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .detail-breadcrumbs a,
  .detail-breadcrumbs strong {
    min-height: 34px;
    padding-left: 24px;
    padding-right: 18px;
  }

  .detail-breadcrumbs a:first-child {
    padding-left: 12px;
  }

  .detail-breadcrumbs strong {
    flex: 0 0 auto;
    max-width: 220px;
  }

  .sy-title-block {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
  }

  .sy-title-block h1 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .sy-title-block p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .sy-title-actions,
  .sy-title-actions button {
    width: 100%;
  }

  .sy-title-actions button {
    justify-content: center;
    min-height: 44px;
  }

  .detail-hero {
    border-radius: 10px;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .detail-gallery,
  .detail-media-track,
  .detail-media-slide,
  .detail-media-slide img,
  .detail-media-slide video,
  .detail-media-slide iframe {
    min-height: 280px;
  }

  .detail-hero img {
    height: 280px;
  }

  .detail-media-arrow {
    height: 38px;
    width: 38px;
  }

  .detail-media-arrow.prev {
    left: 10px;
  }

  .detail-media-arrow.next {
    right: 10px;
  }

  .detail-media-chip {
    bottom: 14px;
    font-size: 0.76rem;
    left: 14px;
    padding: 7px 10px;
  }

  .detail-hero-content {
    padding: 18px;
  }

  .detail-hero-content h2 {
    color: #002e6e;
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .sy-summary {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .detail-hero-actions {
    grid-template-columns: 1fr;
  }

  .detail-facts-strip {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
  }

  .detail-fact {
    border-radius: 10px;
    min-height: 92px;
    padding: 14px;
  }

  .detail-fact strong {
    font-size: 0.92rem;
    word-break: break-word;
  }

  .detail-tabs {
    border-radius: 12px;
    gap: 20px;
    margin-bottom: 30px;
    padding: 18px;
    width: 100%;
  }

  .detail-tabs a {
    border-radius: 10px;
    font-size: 0.78rem;
    min-height: 44px;
    padding: 6px 13px 6px 7px;
  }

  .detail-tabs a::before {
    border-radius: 8px;
    flex-basis: 30px;
    height: 30px;
    width: 30px;
  }

  .detail-tabs a::after {
    bottom: 6px;
    left: 47px;
    right: 13px;
  }

  .detail-grid {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 8px;
  }

  .sy-content-stack {
    gap: 16px;
    padding-top: 4px;
  }

  .sy-card {
    border-radius: 10px;
    padding: 18px;
    scroll-margin-top: 156px;
  }

  #route-map {
    scroll-margin-top: 178px;
  }

  .detail-section-title h2 {
    font-size: 1.25rem;
  }

  .detail-copy {
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .facility-list,
  .sy-amenity-list,
  .furnishing-detail-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    gap: 10px;
    margin: 18px 0 0;
  }

  .floor-card {
    grid-template-columns: 1fr;
  }

  .floor-card .detail-outline-btn {
    min-width: 0;
    width: 100%;
  }

  .detail-commute-arrow {
    display: none;
  }

  .detail-commute-list div {
    flex-basis: min(270px, 88vw);
  }

  .detail-route-map {
    height: 300px;
  }

  .detail-route-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .detail-route-btn {
    justify-content: center;
    width: 100%;
  }

  .agent-panel {
    margin-left: 0;
    padding: 18px;
    position: static;
    width: 100%;
  }

  .callback-card {
    margin: 0 0 18px;
    padding: 18px;
  }

  .agent-avatar {
    height: 72px;
    width: 72px;
  }

  .agent-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .detail-gallery,
  .detail-media-track,
  .detail-media-slide,
  .detail-media-slide img,
  .detail-media-slide video,
  .detail-media-slide iframe {
    min-height: 235px;
  }

  .detail-hero img {
    height: 235px;
  }

  .detail-hero-actions,
  .agent-action-grid {
    grid-template-columns: 1fr;
  }

  .detail-facts-strip {
    grid-template-columns: 1fr;
  }

  .detail-outline-btn {
    justify-content: center;
    padding-right: 16px;
  }
}
