/* Project price page */
.price-page-loading {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(17, 24, 39, 0.34);
  -webkit-backdrop-filter: blur(0.625rem) saturate(115%);
  backdrop-filter: blur(0.625rem) saturate(115%);
}

.price-page-loading[hidden] {
  display: none;
}

.price-page-loading-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-width: 10.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1rem 2.75rem rgba(15, 23, 42, 0.2);
  color: #111827;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.price-page-loading-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--page-brand-color, #ff5722);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--page-brand-color, #ff5722) 28%, transparent);
  animation: price-filter-pulse 1.15s ease-out infinite;
}

@keyframes price-filter-pulse {
  70% { box-shadow: 0 0 0 0.5rem transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .price-page-loading-dot {
    animation: none;
  }
}

section[id],
#filter {
  scroll-margin-top: 6.25rem;
}

@media (min-width: 64rem) {
  .sidebar-sticky {
    position: sticky;
    top: 7.5rem;
  }

  section[id],
  #filter {
    scroll-margin-top: 10rem;
  }
}

.filter-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  border: 0.0938rem solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: var(--ht-type-meta);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: #6b7280;
  background: white;
  cursor: pointer;
  transition: all .15s;
  min-height: 2.75rem;
}

.filter-btn.active {
  background: var(--page-brand-color, var(--brand-600, #ff5722));
  border-color: var(--page-brand-border, var(--brand-600, #ff5722));
  color: white;
  font-weight: 600;
}

.filter-btn:hover:not(.active) {
  border-color: var(--page-brand-border, var(--brand-600, #ff5722));
  color: var(--page-brand-color, var(--brand-600, #ff5722));
}

body.page-price .dist-market-cell {
  background: var(--page-brand-bg, var(--brand-50, #fef3ee));
}

body.page-price .dist-market-num {
  color: var(--page-brand-color, var(--brand-600, #ff5722));
}

th.sortable {
  cursor: pointer;
  user-select: none;
}

th.sortable:hover {
  color: var(--page-brand-color, var(--brand-600, #ff5722));
}

.sort-asc::after {
  content: ' ↑';
  color: var(--page-brand-color, var(--brand-600, #ff5722));
}

.sort-desc::after {
  content: ' ↓';
  color: var(--page-brand-color, var(--brand-600, #ff5722));
}

[style*="font-size:0.75rem"],
[style*="font-size: 0.75rem"] {
  font-size: 0.9375rem !important;
}

[style*="font-size:0.8rem"],
[style*="font-size: 0.8rem"] {
  font-size: 0.9375rem !important;
}

[style*="font-size:0.8125rem"],
[style*="font-size: 0.8125rem"] {
  font-size: 0.9375rem !important;
}

[style*="font-size:0.85rem"],
[style*="font-size: 0.85rem"] {
  font-size: 0.9375rem !important;
}

[style*="font-size:0.875rem"],
[style*="font-size: 0.875rem"] {
  font-size: 1rem !important;
}

[style*="font-size:0.9rem"],
[style*="font-size: 0.9rem"] {
  font-size: 0.9375rem !important;
}

@media (max-width: 63.9375rem) {
  body.page-price .anav-top-bar {
    position: relative;
    top: auto;
  }

  body.page-price .anav-top-bar.is-floating {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    z-index: 470;
    margin: 0;
    padding: 0.5rem 0;
    will-change: transform, opacity;
    animation: price-shortcut-float-in 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  body.page-price .anav-top-bar-placeholder {
    display: block;
    width: 100%;
    height: 0;
  }

  body.page-price.mob-header-hidden .anav-top-bar.is-floating {
    top: 0;
  }
}

@media (min-width: 64rem) and (max-width: 79.9375rem) {
  body.page-price .anav-top-bar.is-floating {
    top: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  body.page-price.mob-header-hidden .anav-top-bar.is-floating {
    top: 0;
  }
}

@media (max-width: 51.25rem) {
  body.page-price .anav-top-bar,
  body.page-price .anav-top-bar.is-floating {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 45rem) and (max-width: 63.9375rem) {
  body.page-price .anav-top-bar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  body.page-price .anav-top-bar.is-floating {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@keyframes price-shortcut-float-in {
  from {
    opacity: 0;
    transform: translate3d(0, -0.5rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-price .anav-top-bar.is-floating {
    animation: none;
  }
}

body.page-price .proj-h1 {
  font-size: var(--ht-text-3xl);
  line-height: 1.32;
}

@media (max-width: 63.9375rem) {
  body.page-price .proj-h1 {
    font-size: 1.625rem;
    line-height: 1.28;
  }
}

.proj-breadcrumb {
  font-size: var(--ht-type-meta);
  color: #9ca3af;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.proj-breadcrumb a:not(.proj-breadcrumb-project),
.proj-breadcrumb > span {
  flex-shrink: 0;
}

.proj-breadcrumb-project {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 47.9375rem) {
  body.page-price .proj-breadcrumb {
    display: none;
  }
}

.h-chart {
  height: 10rem;
}

.rp-table {
  table-layout: auto;
}

.rp-table th,
.rp-table td {
  white-space: nowrap;
}

.rp-table .rp-detail-row td {
  white-space: normal;
}

.rp-table tbody .rp-accordion-row > td {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.rp-table-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.rp-table-price-unit {
  margin-left: 0.2rem;
  color: #6b7280;
}

.rp-tbl-diff {
  color: #9ca3af;
  font-size: var(--ht-text-xs);
  font-weight: 400;
  line-height: 1.35;
}

.rp-floor-layout {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.rp-floor-layout-separator {
  margin: 0 0.125rem;
  color: #9ca3af;
}

.rp-floor-layout span:last-child {
  color: #374151;
}

.rp-parking-text {
  font-size: var(--ht-text-sm);
  font-weight: 500;
  white-space: nowrap;
}

.rp-parking-column {
  width: 4.5rem;
  min-width: 4.5rem;
  text-align: center !important;
}

.rp-parking-text.is-included {
  color: #6b7280;
}

.rp-parking-text.is-none {
  color: #9ca3af;
}

.rp-row-more {
  display: none;
}

.rp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid #f3f4f6;
}

.rp-page-link,
.rp-page-current {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1rem;
  font-size: var(--ht-text-sm);
}

.rp-page-link {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 600;
  transition: color .15s, border-color .15s, background .15s;
}

.rp-page-link:not(.is-disabled):hover {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-600);
}

.rp-page-link.is-disabled {
  color: #d1d5db;
}

.rp-page-current {
  color: #6b7280;
}

.rp-accordion-row {
  cursor: pointer;
}

.rp-accordion-row td {
  position: relative;
}

.rp-row-more-text {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem;
  color: #6b7280;
  font-size: var(--ht-type-meta);
  font-weight: 500;
  white-space: nowrap;
}

.rp-row-more-icon {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform .18s;
}

.rp-row-more-close {
  display: none;
}

.rp-accordion-row.is-open .rp-row-more-open {
  display: none;
}

.rp-accordion-row.is-open .rp-row-more-close {
  display: inline;
}

.rp-accordion-row.is-open .rp-row-more-icon {
  transform: rotate(90deg);
}

.rp-detail-row {
  display: none;
}

.rp-detail-row.is-open {
  display: table-row;
}

.rp-detail-panel {
  background: #fafafa;
  border-top: 0.0625rem solid #f3f4f6;
  padding: 1rem 1.5rem 1.125rem;
}

.rp-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem 1.75rem;
}

.rp-detail-item {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.rp-detail-label {
  font-size: var(--ht-text-sm);
  color: #6b7280;
  margin-bottom: 0;
  line-height: 1.45;
  flex-shrink: 0;
}

.rp-detail-value {
  font-size: var(--ht-text-sm);
  font-weight: 400;
  color: #111827;
  line-height: 1.45;
  word-break: break-word;
  min-width: 0;
}

.rp-detail-item-wide {
  grid-column: 1 / -1;
}

.rp-detail-heading {
  grid-column: 1 / -1;
  margin: 0.25rem 0 -0.25rem;
  padding: 0;
  border-top: 0;
  font-size: var(--ht-text-base);
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

@media (min-width: 64rem) and (max-width: 95.9375rem) {
  .rp-table th,
  .rp-table td {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .rp-table .rp-detail-row > td {
    padding-left: 0;
    padding-right: 0;
  }

  .rp-price-num {
    font-size: var(--ht-text-md);
  }

  .rp-row-more-text {
    font-size: var(--ht-text-xs);
  }
}

.rp-table-wrap {
  overflow-x: auto;
  cursor: grab;
  scrollbar-gutter: stable;
  scrollbar-color: #9ca3af #f3f4f6;
  scrollbar-width: auto;
}

.rp-table-wrap::-webkit-scrollbar {
  height: 0.625rem;
}

.rp-table-wrap::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 9999px;
}

.rp-table-wrap::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border: 2px solid #f3f4f6;
  border-radius: 9999px;
}

.rp-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

.rp-table-wrap.is-dragging {
  cursor: grabbing;
  user-select: none;
}

@media (max-width: 63.9375rem) {
  body.page-price .mobile-native-ad {
    display: block !important;
  }

  body.page-price .mobile-native-ad-recommendation {
    width: 100%;
  }

  body.page-price .mobile-native-ad .project-card-link {
    width: 100%;
    max-width: none;
    flex-direction: row;
    align-items: stretch;
  }

  body.page-price .mobile-native-ad-recommendation .project-card-link > .ht-skeleton-media {
    flex: 0 0 45%;
    width: 45%;
  }

  body.page-price .mobile-native-ad-recommendation .project-card-link > .ht-skeleton-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.page-price .mobile-native-ad-recommendation .project-card-link > :last-child {
    flex: 1 1 55%;
    min-width: 0;
    padding-left: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (min-width: 64rem) and (max-width: 82.9375rem) {
  body.page-price .project-price-layout {
    gap: 1.5rem;
  }

  body.page-price .project-price-layout > aside {
    width: 18rem;
    flex-basis: 18rem;
  }
}

@media (min-width: 83rem) and (max-width: 90rem) {
  body.page-price .project-price-layout {
    gap: 2rem;
  }
}

@media (min-width: 90.0625rem) and (max-width: 95.9375rem) {
  body.page-price .project-price-layout {
    gap: 2.5rem;
  }
}

@media (min-width: 96rem) {
  body.page-price .project-price-layout {
    gap: 3rem;
  }
}

@media (min-width: 80rem) {
  body.page-price .project-price-shell {
    padding-top: 2rem;
  }

  body.page-price .proj-breadcrumb,
  body.page-price .proj-breadcrumb > a {
    min-height: 0;
  }
}

@media (max-width: 47.9375rem) {
  .rp-cards {
    gap: 1rem;
  }

  .rp-card {
    cursor: pointer;
  }

  .rp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    font: inherit;
  }

  .rp-card-main {
    flex: 1;
    min-width: 0;
  }

  .rp-card-price {
    color: var(--page-brand-color, var(--brand-600, #ff5722));
  }

  .rp-card-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.375rem;
  }

  .rp-card-row3 {
    min-width: 0;
  }

  .rp-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.125rem;
    flex-shrink: 0;
    font-size: var(--ht-type-meta);
    font-weight: 500;
    color: #6b7280;
  }

  .rp-card-more-icon {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform .18s;
  }

  .rp-card-more-close {
    display: none;
  }

  .rp-card.is-open .rp-card-more-open {
    display: none;
  }

  .rp-card.is-open .rp-card-more-close {
    display: inline;
  }

  .rp-card.is-open .rp-card-more-icon {
    transform: rotate(90deg);
  }

  body.page-price .rp-note-bar {
    display: none;
  }

  .rp-card-detail {
    display: none;
    border-top: 0.0625rem solid #f3f4f6;
    margin-top: 0.875rem;
    padding-top: 1rem;
  }

  .rp-card.is-open .rp-card-detail {
    display: block;
  }

  .rp-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem 1rem;
  }

  .rp-detail-item {
    gap: 0.5rem;
    align-items: baseline;
  }

  .rp-detail-heading {
    margin: 0.875rem 0 0.25rem;
  }

  .rp-detail-heading:first-child {
    margin-top: 0;
  }

  .rp-detail-label {
    font-size: var(--ht-type-label);
    line-height: 1.45;
    color: #6b7280;
  }

  .rp-detail-value {
    font-size: var(--ht-type-meta);
    line-height: 1.45;
    color: #111827;
  }

  #data {
    border-width: 0;
    border-radius: 0;
    overflow: visible;
  }
}

body.page-deluxe .project-content-scope .text-brand-600,
body.page-deluxe .project-content-scope .hover\:text-brand-600:hover,
body.page-deluxe .project-content-scope .group:hover .group-hover\:text-brand-600,
body.page-deluxe .project-content-scope .price-brand {
  color: var(--page-brand-color, var(--brand-600, #ff5722));
}

body.page-deluxe .project-content-scope .hover\:text-brand-700:hover {
  color: var(--page-brand-700, var(--brand-700, #e64a19));
}

body.page-deluxe .project-content-scope .bg-brand-600 {
  background-color: var(--page-brand-color, var(--brand-600, #ff5722));
}

body.page-deluxe .project-content-scope .hover\:bg-brand-700:hover {
  background-color: var(--page-brand-700, var(--brand-700, #e64a19));
}

body.page-deluxe .project-content-scope .bg-brand-50 {
  background-color: var(--page-brand-bg, var(--brand-50, #fef3ee));
}

.price-brand {
  color: var(--page-brand-color, var(--brand-600, #ff5722));
}
