/* Sale rounds — aligned with project-show / project-discovery (PROP) */
body.pj-sale-page {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

body.pj-sale-page .hg-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 48px;
}

body.pj-discover-lock.pj-sale-page .hg-main {
    padding-bottom: 48px;
}

.pj-sale-rounds {
    max-width: 100%;
    padding: 0;
}

.pj-sale-rounds .pj-show-crumb {
    padding: 14px 0 10px;
}

.pj-sale-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 16px;
}

.pj-sale-hero__title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.pj-sale-hero__sub {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #717171;
}

.pj-sale-hero__sub code {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #374151;
}

.pj-sale-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid #e8eaee;
    background: #fff;
    color: #374151;
}

.pj-sale-status--open { border-color: #c6f0d9; background: #ecfdf3; color: #067647; }
.pj-sale-status--scheduled { border-color: #fde5b8; background: #fff8e6; color: #b54708; }
.pj-sale-status--paused { border-color: #e4e7ec; background: #f9fafb; color: #475467; }
.pj-sale-status--closed { border-color: #e4e7ec; background: #f3f4f6; color: #6b7280; }

.pj-sale-card {
    background: #fff;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pj-sale-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.pj-sale-countdown__main { min-width: 0; }

.pj-sale-countdown__label {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #717171;
}

.pj-sale-countdown__time {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.pj-sale-countdown__phase {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #717171;
}

.pj-sale-filters-card { padding: 14px 16px 16px; }

.pj-sale-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pj-sale-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.pj-sale-advanced-toggle {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}

.pj-sale-advanced-toggle:hover { border-color: #c8102e; color: #c8102e; }

.pj-sale-toolbar.pj-discover-toolbar {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
}

.pj-sale-toolbar .pj-discover-toolbar__inner {
    max-width: none;
    margin: 0;
    padding: 0;
}

.pj-sale-toolbar .pj-discover-toolbar__field select,
.pj-sale-toolbar .pj-discover-toolbar__field input[type="number"] {
    height: 40px;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #1c1c1c;
    background: #fff;
    box-sizing: border-box;
}

.pj-sale-toolbar .pj-discover-toolbar__field select:focus,
.pj-sale-toolbar .pj-discover-toolbar__field input:focus {
    outline: none;
    border-color: #c8102e;
}

.pj-sale-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
}

.pj-sale-toolbar__advanced {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
}

.pj-sale-toolbar__advanced.is-open { display: grid; }

.pj-sale-view-switch {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.pj-sale-view-switch__btn {
    border: 0;
    background: #fff;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
}

.pj-sale-view-switch__btn + .pj-sale-view-switch__btn { border-left: 1px solid #d1d5db; }

.pj-sale-view-switch__btn.active {
    background: #1a1a1a;
    color: #fff;
}

.pj-sale-reset {
    border: 0;
    background: transparent;
    padding: 9px 4px;
    font-size: 12px;
    font-weight: 700;
    color: #c8102e;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pj-sale-map-card { padding: 16px 16px 18px; }

.pj-sale-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f1f3;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.pj-sale-legend__title { font-weight: 700; color: #374151; margin-right: 4px; }

.pj-sale-legend__item { display: inline-flex; align-items: center; gap: 6px; }

.pj-sale-legend__swatch {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.pj-sale-floor { margin-bottom: 20px; }

.pj-sale-floor:last-child { margin-bottom: 0; }

.pj-sale-floor__title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #717171;
}

.pj-sale-floor__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}

.pj-sale-cell {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 10px 10px 13px;
    border: 1px solid #e8eaee;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.pj-sale-cell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 4px 0 0 4px;
    background: #d1d5db;
}

.pj-sale-cell:hover {
    border-color: #c8102e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pj-sale-cell__code {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.pj-sale-cell__price {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #717171;
    font-variant-numeric: tabular-nums;
}

.pj-sale-cell--1::before { background: #22c55e; }
.pj-sale-cell--2::before { background: #f59e0b; }
.pj-sale-cell--3::before { background: #3b82f6; }
.pj-sale-cell--4::before { background: #8b5cf6; }
.pj-sale-cell--5::before { background: #9ca3af; }

.pj-sale-legend__swatch.pj-sale-cell--1 { background: #22c55e; }
.pj-sale-legend__swatch.pj-sale-cell--2 { background: #f59e0b; }
.pj-sale-legend__swatch.pj-sale-cell--3 { background: #3b82f6; }
.pj-sale-legend__swatch.pj-sale-cell--4 { background: #ef4444; }
.pj-sale-legend__swatch.pj-sale-cell--5 { background: #9ca3af; }

.pj-sale-table-wrap {
    overflow: auto;
    border: 1px solid #e8eaee;
    border-radius: 4px;
}

.pj-sale-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pj-sale-table th {
    background: #f9fafb;
    text-align: left;
    padding: 11px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    border-bottom: 1px solid #e8eaee;
}

.pj-sale-table td {
    padding: 11px 14px;
    border-top: 1px solid #f0f1f3;
    font-weight: 500;
}

.pj-sale-table tbody tr { cursor: pointer; transition: background 0.1s; }

.pj-sale-table tbody tr:hover td { background: #fafafa; }

.pj-sale-table .text-end { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.pj-sale-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.pj-sale-pagination button {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.pj-sale-pagination button:hover { border-color: #c8102e; color: #c8102e; }

.pj-sale-empty,
.pj-sale-offline {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #717171;
    padding: 32px 16px;
}

.pj-sale-offline { color: #b54708; background: #fff8e6; border-radius: 4px; }

.pj-sale-skeleton {
    padding: 40px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
}

/* Index — project hero + round cards (mock-aligned, PROP shell) */
body.pj-sale-rounds-index .hg-main {
    background: #f3f5f8;
}

.pj-show-crumb--with-home {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pj-show-crumb__home {
    display: inline-flex;
    color: #6b7280;
    text-decoration: none;
}

.pj-show-crumb__home:hover { color: #1e3a5f; }

.pj-sale-project-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
    gap: 0;
    margin-bottom: 22px;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.pj-sale-project-panel__media {
    position: relative;
    min-height: 220px;
    background: #e8edf3;
}

.pj-sale-project-panel__media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.pj-sale-project-panel__media-placeholder {
    width: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, #dce4ee, #c5d0de);
}

.pj-sale-project-panel__media-chip {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pj-sale-project-panel__body {
    padding: 22px 24px 20px;
}

.pj-sale-project-panel__badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e8f0fe;
    color: #1e40af;
    font-size: 11px;
    font-weight: 700;
}

.pj-sale-project-panel__title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f2d5c;
    line-height: 1.2;
}

.pj-sale-project-panel__location {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.45;
}

.pj-sale-project-panel__location svg { flex-shrink: 0; margin-top: 2px; color: #9ca3af; }

.pj-sale-project-panel__lead {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pj-sale-project-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px 20px;
    padding-top: 14px;
    border-top: 1px solid #eef1f5;
}

.pj-sale-project-stats__block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pj-sale-project-stats__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
}

.pj-sale-project-stats__item > div {
    min-width: 0;
    flex: 1;
}

.pj-sale-project-stats__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f6fa;
    color: #4b6a8a;
}

.pj-sale-project-stats__label {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    line-height: 1.3;
}

.pj-sale-project-stats__item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
    word-break: break-word;
}

.pj-sale-rounds-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px 20px;
    margin-bottom: 16px;
}

.pj-sale-rounds-section-head__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #0f2d5c;
}

.pj-sale-rounds-section-head__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e9f0;
    color: #4b6a8a;
}

.pj-sale-rounds-section-head__sub {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    max-width: 520px;
    line-height: 1.45;
}

.pj-sale-phase-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 40px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pj-sale-phase-filter__icon { color: #9ca3af; display: flex; }

.pj-sale-phase-filter select {
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    padding-right: 4px;
}

.pj-sale-phase-filter select:focus { outline: none; }

.pj-sale-rounds-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.pj-sale-phase-card {
    border-radius: 12px;
    border: 1px solid #e5e9f0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.pj-sale-phase-card--open {
    border-color: #b8e6c8;
    background: linear-gradient(180deg, #f6fdf8 0%, #fff 42%);
}

.pj-sale-phase-card--scheduled {
    border-color: #fde5b8;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 42%);
}

.pj-sale-phase-card--closed,
.pj-sale-phase-card--paused {
    border-color: #e5e7eb;
    background: #fafbfc;
}

.pj-sale-phase-card__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 0;
    min-height: 100%;
}

.pj-sale-phase-card__main {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pj-sale-phase-card__batch {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: #ecfdf3;
    color: #067647;
}

.pj-sale-phase-card--closed .pj-sale-phase-card__batch,
.pj-sale-phase-card--paused .pj-sale-phase-card__batch {
    background: #f3f4f6;
    color: #6b7280;
}

.pj-sale-phase-card--scheduled .pj-sale-phase-card__batch {
    background: #fff8e6;
    color: #b54708;
}

.pj-sale-phase-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.pj-sale-phase-card__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.pj-sale-phase-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #ecfdf3;
    color: #067647;
}

.pj-sale-phase-card--closed .pj-sale-phase-card__status,
.pj-sale-phase-card--paused .pj-sale-phase-card__status {
    background: #f3f4f6;
    color: #6b7280;
}

.pj-sale-phase-card--scheduled .pj-sale-phase-card__status {
    background: #fff8e6;
    color: #b54708;
}

.pj-sale-phase-card__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.pj-sale-phase-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 0 0 12px;
}

.pj-sale-phase-card__facts > div { min-width: 0; }

.pj-sale-phase-card__facts dt {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

.pj-sale-phase-card__facts dt svg { flex-shrink: 0; color: #9ca3af; }

.pj-sale-phase-card__facts dd {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
}

.pj-sale-phase-card--closed .pj-sale-phase-card__facts dd { color: #6b7280; }

.pj-sale-phase-card__policy {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(243, 246, 250, 0.9);
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.45;
}

.pj-sale-phase-card__policy svg { flex-shrink: 0; margin-top: 1px; color: #6b8aad; }

.pj-sale-phase-card__policy strong { font-weight: 700; color: #374151; }

.pj-sale-phase-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding: 11px 14px;
    border-radius: 8px;
    background: #0f2d5c;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
}

.pj-sale-phase-card__btn:hover { background: #163d78; }

.pj-sale-phase-card__btn--muted {
    background: #9ca3af;
}

.pj-sale-phase-card__btn--muted:hover { background: #6b7280; }

.pj-sale-phase-card__thumb {
    position: relative;
    border-left: 1px solid #eef1f5;
    background: #e8edf3;
    min-height: 100%;
}

.pj-sale-phase-card__thumb img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

.pj-sale-phase-card--closed .pj-sale-phase-card__thumb img,
.pj-sale-phase-card--paused .pj-sale-phase-card__thumb img {
    filter: grayscale(0.35);
    opacity: 0.92;
}

.pj-sale-phase-card__thumb-fallback {
    display: block;
    width: 100%;
    min-height: 200px;
    background: linear-gradient(160deg, #d5dde8, #b8c5d6);
}

.pj-sale-phase-card__thumb-code {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pj-sale-skeleton--card {
    grid-column: 1 / -1;
    padding: 48px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px dashed #d8dee8;
}

@media (max-width: 960px) {
    .pj-sale-project-panel {
        grid-template-columns: 1fr;
    }

    .pj-sale-project-stats {
        grid-template-columns: 1fr;
    }

    .pj-sale-rounds-grid {
        grid-template-columns: 1fr;
    }

    .pj-sale-phase-card__layout {
        grid-template-columns: 1fr;
    }

    .pj-sale-phase-card__thumb {
        border-left: 0;
        border-top: 1px solid #eef1f5;
        max-height: 160px;
        overflow: hidden;
    }

    .pj-sale-phase-card__facts {
        grid-template-columns: 1fr;
    }
}

.pj-sale-cta-wrap { margin: 0 0 16px; }

.pj-sale-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 4px;
    background: #c8102e;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pj-sale-cta:hover { background: #a00d25; color: #fff; }

/* Modal — match pj-faq-modal */
.pj-sale-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}

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

.pj-sale-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.pj-sale-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: min(92vh, 720px);
    overflow: auto;
    border-radius: 12px;
    background: #fff;
    padding: 22px 20px 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.pj-sale-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

.pj-sale-modal__title {
    margin: 0 0 16px;
    padding-right: 36px;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.pj-sale-modal__body {
    border: 1px solid #f0f1f3;
    border-radius: 8px;
    overflow: hidden;
}

.pj-sale-modal__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    border-bottom: 1px solid #f0f1f3;
}

.pj-sale-modal__row:last-child { border-bottom: 0; }

.pj-sale-modal__row span { color: #717171; }

.pj-sale-modal__row strong {
    color: #1a1a1a;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pj-sale-modal__row .pj-money-value {
    white-space: nowrap;
}

.pj-booking-form {
    padding: 14px;
    border-top: 1px solid #f0f1f3;
    background: #fafbfc;
}

.pj-booking-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.pj-booking-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.pj-booking-form input,
.pj-booking-form textarea {
    width: 100%;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 9px 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
}

.pj-booking-form input:focus,
.pj-booking-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.pj-booking-form__grid label:last-child {
    grid-column: 1 / -1;
}

.pj-booking-form__terms {
    flex-direction: row !important;
    align-items: flex-start;
    margin-top: 12px;
    font-size: 12px !important;
    line-height: 1.4;
}

.pj-booking-form__terms input {
    width: auto;
    margin-top: 2px;
}

.pj-booking-hold {
    padding: 18px 16px;
    text-align: center;
    background: linear-gradient(180deg, #f6fdf8 0%, #fff 58%);
}

.pj-booking-hold__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: #067647;
}

.pj-booking-hold__code {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 800;
    color: #0f2d5c;
    letter-spacing: -0.02em;
}

.pj-booking-hold__rows {
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    background: #fff;
}

.pj-booking-hold__label {
    margin: 16px 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pj-booking-hold__time {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    color: #b91c1c;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.pj-booking-hold__hint {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}

.pj-booking-hold__deposit-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e9f0;
    text-align: left;
}

.pj-booking-hold__deposit-wrap .pj-booking-detail-section {
    margin-bottom: 0;
}

.pj-booking-hold__deposit-wrap .pj-deposit-pay__intro {
    text-align: left;
}

.pj-booking-hold__loading {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.pj-booking-hold__link {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1e40af;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pj-booking-suggestions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pj-booking-suggestions strong {
    flex: 1 1 100%;
    color: #4b5563;
}

.pj-booking-suggestions__item {
    border: 1px solid #d8dee8;
    border-radius: 999px;
    background: #fff;
    padding: 5px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    cursor: pointer;
}

.pj-booking-suggestions__hint {
    margin: 6px 0 10px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.pj-sale-suggestions-banner {
    position: relative;
    margin: 0 0 16px;
    padding: 14px 16px 12px;
    border-radius: 12px;
    border: 1px solid #fcd34d;
    background: #fffbeb;
}

.pj-sale-suggestions-banner__msg {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
}

.pj-sale-suggestions-banner__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #92400e;
}

.pj-unit-card--pulse {
    outline: 3px solid #0f2d5c;
    outline-offset: 2px;
    animation: pj-unit-pulse 1.2s ease 2;
}

@keyframes pj-unit-pulse {
    0%,
    100% {
        outline-color: #0f2d5c;
    }
    50% {
        outline-color: #3b82f6;
    }
}

.pj-booking-suggestions__item:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

.pj-sale-modal__footer {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.pj-sale-modal__reason {
    flex: 1 1 100%;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #b54708;
}

.pj-sale-modal__btn {
    border-radius: 4px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
}

.pj-sale-modal__btn--ghost {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.pj-sale-modal__btn--primary {
    background: #c8102e;
    color: #fff;
}

.pj-sale-modal__btn--primary:hover { background: #a00d25; }

.pj-sale-modal__btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Show — round unit map (mock layout) */
body.pj-sale-round-show .hg-main {
    background: #f3f5f8;
}

.pj-sale-round-hero {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) minmax(200px, 240px);
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.pj-sale-round-hero__media {
    position: relative;
    min-height: 160px;
    background: #e8edf3;
}

.pj-sale-round-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    display: block;
}

.pj-sale-round-hero__main {
    padding: 18px 20px;
    border-right: 1px solid #eef1f5;
}

.pj-sale-round-hero__badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e8f0fe;
    color: #1e40af;
    font-size: 11px;
    font-weight: 700;
}

.pj-sale-round-hero__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 8px;
}

.pj-sale-round-hero__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f2d5c;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pj-sale-round-hero__code {
    padding: 4px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
}

.pj-sale-round-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.pj-sale-round-hero__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.pj-sale-round-hero__status--open { background: #ecfdf3; color: #067647; }
.pj-sale-round-hero__status--scheduled { background: #fff8e6; color: #b54708; }
.pj-sale-round-hero__status--paused,
.pj-sale-round-hero__status--closed { background: #f3f4f6; color: #4b5563; }

.pj-sale-round-hero__lead {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pj-sale-round-hero__stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 16px 18px;
}

.pj-sale-round-hero__stat {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pj-sale-round-hero__stat-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f6fa;
    color: #4b6a8a;
}

.pj-sale-round-hero__stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 2px;
}

.pj-sale-round-hero__stat strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
}

.pj-sale-show-filters {
    padding: 0;
    overflow: hidden;
}

.pj-sale-show-filters__bar {
    padding: 12px 14px 10px;
}

.pj-sale-show-filters__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #0f2d5c;
    cursor: pointer;
}

.pj-sale-show-filters__chev {
    transition: transform 0.15s ease;
}

.pj-sale-show-filters__toggle[aria-expanded="false"] .pj-sale-show-filters__chev {
    transform: rotate(-90deg);
}

.pj-sale-show-filters__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 12px;
}

.pj-sale-show-filters__row.is-collapsed {
    display: none;
}

.pj-sale-show-filters__search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 180px;
    min-width: 160px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    color: #9ca3af;
}

.pj-sale-show-filters__search input {
    border: 0;
    width: 100%;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    background: transparent;
}

.pj-sale-show-filters__search input:focus { outline: none; }

.pj-sale-show-filters__select {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.pj-sale-show-filters__select span {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

.pj-sale-show-filters__select select {
    height: 40px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 0 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
}

.pj-sale-show-filters__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.pj-sale-show-filters__reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #4b6a8a;
    cursor: pointer;
}

.pj-sale-show-filters__reset:hover { color: #0f2d5c; }

.pj-sale-legend--bar {
    padding: 10px 14px 12px;
    border-top: 1px solid #eef1f5;
    background: #fafbfc;
}

.pj-sale-map-card {
    padding: 0;
    overflow: hidden;
}

.pj-sale-map-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    min-height: 320px;
}

.pj-sale-map-layout:has(> .pj-sale-floor-nav[hidden]) {
    grid-template-columns: minmax(0, 1fr);
}

.pj-sale-floor-nav {
    border-right: 1px solid #eef1f5;
    background: #fafbfc;
    padding: 10px 0;
    max-height: 720px;
    overflow-y: auto;
}

.pj-sale-floor-nav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
}

.pj-sale-floor-nav__item:hover {
    background: #f3f6fa;
}

.pj-sale-floor-nav__item.is-active {
    background: #fff1f3;
    border-left-color: #e11d48;
    color: #e11d48;
}

.pj-sale-floor-nav__count {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
}

.pj-sale-map-main {
    padding: 14px 16px 18px;
    min-width: 0;
}

.pj-sale-floor-block {
    margin-bottom: 20px;
}

.pj-sale-floor-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.pj-sale-floor-block__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.pj-sale-floor-block__count {
    padding: 3px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.pj-sale-floor-block__legend {
    margin-left: auto;
    display: none;
}

@media (min-width: 1100px) {
    .pj-sale-floor-block__legend {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: 11px;
    }

    .pj-sale-floor-block__legend .pj-sale-legend__title { display: none; }
}

.pj-unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px 14px;
}

.pj-unit-card {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    background: #fff;
    padding: 12px 12px 10px;
    cursor: pointer;
    font: inherit;
    transition: box-shadow 0.12s ease, border-color 0.12s ease;
}

.pj-unit-card:hover {
    border-color: #f3c4cc;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.08);
}

.pj-unit-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.pj-unit-card__code {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}

.pj-unit-card__status {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.pj-unit-card--1 .pj-unit-card__status { background: #ecfdf3; color: #067647; }
.pj-unit-card--2 .pj-unit-card__status { background: #fff8e6; color: #b54708; }
.pj-unit-card--3 .pj-unit-card__status { background: #eff6ff; color: #1d4ed8; }
.pj-unit-card--4 .pj-unit-card__status { background: #fef2f2; color: #b91c1c; }
.pj-unit-card--5 .pj-unit-card__status { background: #f3f4f6; color: #6b7280; }

.pj-unit-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 8px;
    align-items: start;
}

.pj-unit-card__spec {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.35;
}

.pj-unit-card__price {
    margin: 2px 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #e11d2e;
    line-height: 1.2;
}

.pj-unit-card__ppm {
    margin: 2px 0 8px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

.pj-unit-card__detail {
    font-size: 12px;
    font-weight: 700;
    color: #e11d2e;
}

.pj-unit-card__plan {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: #f3f6fa;
    overflow: hidden;
}

.pj-unit-card__plan-svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 960px) {
    .pj-sale-round-hero {
        grid-template-columns: 1fr;
    }

    .pj-sale-round-hero__main {
        border-right: 0;
        border-bottom: 1px solid #eef1f5;
    }

    .pj-sale-round-hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pj-sale-map-layout {
        grid-template-columns: 1fr;
    }

    .pj-sale-floor-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid #eef1f5;
        padding: 8px;
        gap: 6px;
    }

    .pj-sale-floor-nav__item {
        flex: 0 0 auto;
        width: auto;
        border-left: 0;
        border-radius: 8px;
        padding: 8px 12px;
    }

    .pj-sale-floor-nav__item.is-active {
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .pj-sale-hero__title { font-size: 22px; }
    .pj-sale-countdown__time { font-size: 26px; }
    .pj-sale-floor__grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
    .pj-unit-grid { grid-template-columns: 1fr; }
}

/* Sale rounds — PROP luxury */
body.hg-body.hg-luxury-home.pj-sale-page > .hg-shell {
    z-index: auto;
}

body.hg-luxury-home.pj-sale-page {
    --sale-maroon: #c8102e;
    --sale-maroon-deep: #a30d26;
    --sale-soft: #fff4f5;
    --sale-ink: #0c1b33;
    --sale-muted: #6b6560;
    --sale-line: #e6e2d8;
    --sale-paper: #f6f4ef;
    font-family: var(--font-sans, "Be Vietnam Pro", system-ui, sans-serif);
    background: var(--sale-paper);
    color: var(--sale-ink);
}

body.hg-luxury-home.pj-sale-page .hg-main,
body.hg-luxury-home.pj-sale-round-show .hg-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4px 28px 64px;
    background: transparent;
}

body.hg-luxury-home.pj-sale-page .pj-show-crumb {
    padding: 18px 0 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sale-muted);
}

body.hg-luxury-home.pj-sale-page .pj-show-crumb a,
body.hg-luxury-home.pj-sale-page .pj-show-crumb__home {
    color: var(--sale-muted);
}

body.hg-luxury-home.pj-sale-page .pj-show-crumb a:hover,
body.hg-luxury-home.pj-sale-page .pj-show-crumb__home:hover {
    color: var(--sale-maroon);
}

body.hg-luxury-home.pj-sale-page .pj-sale-project-panel,
body.hg-luxury-home.pj-sale-page .pj-sale-round-hero,
body.hg-luxury-home.pj-sale-page .pj-sale-card,
body.hg-luxury-home.pj-sale-page .pj-sale-phase-card {
    border-color: var(--sale-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(12, 27, 51, 0.05);
}

body.hg-luxury-home.pj-sale-page .pj-sale-project-panel__media-chip {
    display: none;
}

body.hg-luxury-home.pj-sale-page .pj-sale-project-panel__badge,
body.hg-luxury-home.pj-sale-page .pj-sale-round-hero__badge {
    border-radius: 999px;
    background: var(--sale-soft);
    color: var(--sale-maroon);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.hg-luxury-home.pj-sale-page .pj-sale-project-panel__title,
body.hg-luxury-home.pj-sale-page .pj-sale-round-hero__title,
body.hg-luxury-home.pj-sale-page .pj-sale-rounds-section-head__title {
    font-weight: 700;
    color: var(--sale-ink);
}

body.hg-luxury-home.pj-sale-page .pj-sale-project-panel__location,
body.hg-luxury-home.pj-sale-page .pj-sale-project-panel__lead,
body.hg-luxury-home.pj-sale-page .pj-sale-round-hero__lead,
body.hg-luxury-home.pj-sale-page .pj-sale-rounds-section-head__sub {
    color: var(--sale-muted);
    font-weight: 500;
}

body.hg-luxury-home.pj-sale-page .pj-sale-project-stats__icon,
body.hg-luxury-home.pj-sale-page .pj-sale-round-hero__stat-icon,
body.hg-luxury-home.pj-sale-page .pj-sale-rounds-section-head__icon {
    border-radius: 10px;
    background: var(--sale-soft);
    color: var(--sale-maroon);
    border-color: transparent;
}

body.hg-luxury-home.pj-sale-page .pj-sale-project-stats__item strong,
body.hg-luxury-home.pj-sale-page .pj-sale-round-hero__stat strong,
body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__title,
body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts dd {
    color: var(--sale-ink);
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-filter,
body.hg-luxury-home.pj-sale-page .pj-sale-show-filters__search,
body.hg-luxury-home.pj-sale-page .pj-sale-show-filters__select select {
    height: 44px;
    border-color: var(--sale-line);
    border-radius: 12px;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-filter:focus-within,
body.hg-luxury-home.pj-sale-page .pj-sale-show-filters__search:focus-within,
body.hg-luxury-home.pj-sale-page .pj-sale-show-filters__select select:focus {
    border-color: var(--sale-maroon);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
    outline: none;
}

body.hg-luxury-home.pj-sale-page .pj-sale-rounds-grid {
    grid-template-columns: 1fr;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: stretch;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__main {
    padding: 18px 22px 18px;
    gap: 0;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__title-row {
    flex-wrap: nowrap;
    align-items: center;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 28px;
    margin: 0 0 14px;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts > div {
    min-width: max-content;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts dt,
body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts dt span,
body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts dd {
    white-space: nowrap;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__btn {
    align-self: flex-start;
    width: auto;
    min-width: 220px;
    margin-top: 4px;
    padding: 11px 22px;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__thumb img,
body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__thumb-fallback {
    min-height: 100%;
    height: 100%;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card--open {
    border-color: #f3c4cc;
    background: linear-gradient(180deg, #fff7f8 0%, #fff 46%);
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__btn {
    border-radius: 999px;
    background: var(--sale-maroon);
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.22);
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__btn:hover {
    background: var(--sale-maroon-deep);
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__btn--muted {
    background: #8a837c;
    box-shadow: none;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__policy {
    border-radius: 12px;
    background: #faf8f5;
}

body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__policy svg,
body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts dt svg {
    color: var(--sale-maroon);
}

body.hg-luxury-home.pj-sale-page .pj-sale-round-hero__code {
    border-radius: 999px;
    background: var(--sale-soft);
    color: var(--sale-maroon);
}

body.hg-luxury-home.pj-sale-page .pj-sale-show-filters__toggle,
body.hg-luxury-home.pj-sale-page .pj-sale-show-filters__reset,
body.hg-luxury-home.pj-sale-page .pj-sale-show-filters__reset:hover,
body.hg-luxury-home.pj-sale-page .pj-unit-card__detail {
    color: var(--sale-maroon);
}

body.hg-luxury-home.pj-sale-page .pj-sale-view-switch {
    border-color: var(--sale-line);
    border-radius: 999px;
}

body.hg-luxury-home.pj-sale-page .pj-sale-view-switch__btn {
    padding: 8px 16px;
}

body.hg-luxury-home.pj-sale-page .pj-sale-view-switch__btn.active {
    background: var(--sale-maroon);
}

body.hg-luxury-home.pj-sale-page .pj-sale-floor-nav {
    background: #faf8f5;
    border-color: var(--sale-line);
}

body.hg-luxury-home.pj-sale-page .pj-sale-floor-nav__item.is-active {
    background: var(--sale-soft);
    border-left-color: var(--sale-maroon);
    color: var(--sale-maroon);
}

body.hg-luxury-home.pj-sale-page .pj-unit-card {
    border-color: var(--sale-line);
    border-radius: 14px;
}

body.hg-luxury-home.pj-sale-page .pj-unit-card:hover {
    border-color: #f3c4cc;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.08);
}

body.hg-luxury-home.pj-sale-page .pj-unit-card__price {
    color: var(--sale-maroon);
}

body.hg-luxury-home.pj-sale-page .pj-sale-modal__dialog {
    border-radius: 18px;
}

@media (max-width: 767px) {
    body.hg-luxury-home.pj-sale-page .hg-main {
        padding: 0 16px 48px;
    }

    body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__layout {
        grid-template-columns: 1fr;
    }

    body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__facts {
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    body.hg-luxury-home.pj-sale-page .pj-sale-phase-card__thumb {
        min-height: 160px;
        border-left: 0;
        border-top: 1px solid var(--sale-line);
    }
}

.pj-unit-grid--fit {
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    justify-content: start;
}

.pj-unit-card--plain .pj-unit-card__body {
    grid-template-columns: minmax(0, 1fr);
}

.pj-unit-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pj-unit-chip {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--sale-line, #e6e2d8);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(12, 27, 51, 0.04);
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: inherit;
    white-space: nowrap;
}

.pj-unit-chip:hover {
    border-color: #f3c4cc;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.08);
}

.pj-unit-chip__code {
    font-size: 14px;
    font-weight: 800;
    color: var(--sale-ink, #0c1b33);
    white-space: nowrap;
}

.pj-unit-chip__price {
    font-size: 13px;
    font-weight: 800;
    color: var(--sale-maroon, #c8102e);
    white-space: nowrap;
}

.pj-unit-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.pj-unit-tower__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--sale-ink, #0c1b33);
}

.pj-unit-floor + .pj-unit-floor {
    margin-top: 16px;
}

.pj-unit-floor__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sale-muted, #6b6560);
}

.pj-unit-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.pj-unit-cardbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    width: 100%;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--sale-line, #e6e2d8);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(12, 27, 51, 0.04);
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: inherit;
}

.pj-unit-cardbox:hover {
    border-color: #f3c4cc;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.08);
}

.pj-unit-cardbox__field--kind {
    grid-column: 1 / -1;
}

.pj-unit-cardbox__field--price .pj-unit-line__value {
    color: var(--sale-maroon, #c8102e);
}

.pj-unit-cardbox--1 { border-left: 3px solid #12b76a; }
.pj-unit-cardbox--2 { border-left: 3px solid #f79009; }
.pj-unit-cardbox--3 { border-left: 3px solid #2e90fa; }
.pj-unit-cardbox--4 { border-left: 3px solid #f04438; }
.pj-unit-cardbox--5 { border-left: 3px solid #98a2b3; }

@media (max-width: 1100px) {
    .pj-unit-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pj-unit-board {
        grid-template-columns: 1fr;
    }
}

.pj-unit-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.pj-unit-line {
    display: grid;
    width: 100%;
    gap: 8px 16px;
    align-items: end;
    padding: 12px 16px;
    border: 1px solid var(--sale-line, #e6e2d8);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(12, 27, 51, 0.04);
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: inherit;
}

.pj-unit-line--wide {
    grid-template-columns: minmax(0, 1.6fr) minmax(88px, 0.8fr) minmax(80px, 0.7fr) minmax(64px, 0.5fr) minmax(64px, 0.5fr) minmax(88px, 0.8fr);
}

.pj-unit-line--short {
    grid-template-columns: minmax(0, 1.6fr) minmax(100px, 0.9fr) minmax(90px, 0.8fr) minmax(100px, 0.9fr);
}

.pj-unit-line:hover {
    border-color: #f3c4cc;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.08);
}

.pj-unit-line__label {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sale-muted, #6b6560);
}

.pj-unit-line__value {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--sale-ink, #0c1b33);
    line-height: 1.3;
}

.pj-unit-line__field--price {
    text-align: right;
}

.pj-unit-line__field--price .pj-unit-line__value {
    color: var(--sale-maroon, #c8102e);
}

.pj-unit-line--1 { border-left: 3px solid #12b76a; }
.pj-unit-line--2 { border-left: 3px solid #f79009; }
.pj-unit-line--3 { border-left: 3px solid #2e90fa; }
.pj-unit-line--4 { border-left: 3px solid #f04438; }
.pj-unit-line--5 { border-left: 3px solid #98a2b3; }

@media (max-width: 720px) {
    .pj-unit-line--wide,
    .pj-unit-line--short {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .pj-unit-line__field {
        flex: 0 0 auto;
        min-width: 84px;
    }
}

.pj-unit-chip--1 { border-left: 3px solid #12b76a; }
.pj-unit-chip--2 { border-left: 3px solid #f79009; }
.pj-unit-chip--3 { border-left: 3px solid #2e90fa; }
.pj-unit-chip--4 { border-left: 3px solid #f04438; }
.pj-unit-chip--5 { border-left: 3px solid #98a2b3; }
