﻿/*!
 * File: theme/basic/skin/board/property/assets/nemo_store.css
 * Purpose: 네모 스타일 매물 지도/리스트 UI 통합 스타일
 */

:root {
    --nemo-red: #ff3b30;
    --nemo-green: #12b886;
    --nemo-blue: #2563eb;
    --nemo-orange: #ff8f00;
    --nemo-gray-900: #0f172a;
    --nemo-gray-800: #1e293b;
    --nemo-gray-700: #334155;
    --nemo-gray-600: #475569;
    --nemo-gray-500: #64748b;
    --nemo-gray-400: #94a3b8;
    --nemo-gray-300: #cbd5e1;
    --nemo-gray-200: #e2e8f0;
    --nemo-gray-100: #f1f5f9;
    --nemo-bg: #f8fafc;
    --nemo-font: 'Pretendard','Noto Sans KR','Apple SD Gothic Neo',sans-serif;
}

body.property-layout {
    background: var(--nemo-bg);
    font-family: var(--nemo-font);
    color: var(--nemo-gray-800);
.property-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.12);
}

.property-card.is-active {
    border-color: var(--nemo-red);
    box-shadow: 0 30px 58px rgba(255, 59, 48, 0.25);
}

.property-card.is-featured::after {
    content: 'FEATURED';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--nemo-green);
}

.property-thumb {
    position: relative;
    display: block;
    flex: 0 0 220px;
    max-width: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--nemo-gray-200);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.property-thumb::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 72%;
}

.property-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--nemo-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.property-state {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.property-state.is-closed {
    background: rgba(100, 116, 139, 0.95);
}

.property-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.property-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.property-type,
.property-trade,
.property-featured {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    color: var(--nemo-gray-600);
    font-weight: 600;
}

.property-featured {
    background: rgba(18, 184, 134, 0.18);
    color: var(--nemo-green);
}

.property-card h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--nemo-gray-900);
    line-height: 1.35;
}

.property-card h3 a {
    color: inherit;
    text-decoration: none;
}

.property-headline {
    margin: 0;
    font-size: 13px;
    color: var(--nemo-gray-500);
    line-height: 1.6;
}

.property-brief {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.property-brief span {
    padding: 0;
    background: none;
}

.property-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--nemo-red);
}

.property-address {
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.property-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 12px;
    color: var(--nemo-gray-400);
}

.property-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 59, 48, 0.24);
    color: var(--nemo-red);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.property-more:hover,
.property-more:focus {
    background: var(--nemo-red);
    color: #fff;
}
.hero-metric span {
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.hero-metric strong {
    font-size: 30px;
    font-weight: 800;
    color: var(--nemo-gray-900);
}

.property-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.property-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-action-btn.primary {
    background: var(--nemo-red);
    color: #fff;
    box-shadow: 0 18px 32px rgba(255, 59, 48, 0.25);
}

.property-action-btn.ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--nemo-gray-800);
}

.property-action-btn:hover,
.property-action-btn:focus {
    transform: translateY(-1px);
}
.property-hero-highlight {
    flex: 1 1 340px;
    max-width: 420px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 54px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
}

.highlight-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--nemo-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.highlight-chip.featured {
    left: auto;
    right: 14px;
    background: var(--nemo-green);
}

.highlight-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-tag {
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--nemo-red);
}

.highlight-body h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--nemo-gray-900);
}

.highlight-price {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--nemo-green);
}

.highlight-address {
    margin: 0;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.highlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--nemo-gray-500);
}

.highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--nemo-blue);
    text-decoration: none;
}

.property-stats {
    padding: 60px 0;
}

.property-stats-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.property-stat-card {
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--nemo-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--nemo-gray-900);
}

.stat-desc {
    font-size: 12px;
    color: var(--nemo-gray-500);
}
.property-filter-menu {
    padding: 28px 0 12px;
}

.property-app-filter-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.property-filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.property-filter-search {
    position: relative;
    display: flex;
    align-items: center;
}

.property-filter-search input {
    width: 100%;
    height: 48px;
    padding: 0 52px 0 18px;
    border-radius: 14px;
    border: 1px solid var(--nemo-gray-200);
    font-size: 15px;
    background: rgba(248, 250, 252, 0.9);
}

.property-filter-search input:focus {
    outline: none;
    border-color: var(--nemo-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

.property-filter-search-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: none;
    background: var(--nemo-red);
    color: #fff;
    cursor: pointer;
}

.property-filter-search-btn::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    margin: 10px auto;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"%3E%3Cpath d="m20.283 19.052-4.55-4.55a6.565 6.565 0 1 0-1.23 1.23l4.55 4.55a.87.87 0 0 0 1.23-1.23ZM5.565 10.2a4.639 4.639 0 1 1 9.278 0 4.639 4.639 0 0 1-9.278 0Z"/%3E%3C/svg%3E') center/contain no-repeat;
}

.property-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.property-filter-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 59, 48, 0.22);
    background: rgba(255, 255, 255, 0.95);
    color: var(--nemo-red);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.property-filter-tab:hover,
.property-filter-tab:focus {
    border-color: var(--nemo-red);
}

.property-filter-tab.is-active {
    background: var(--nemo-red);
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 59, 48, 0.25);
}

.property-filter-reset {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.08);
    color: var(--nemo-blue);
    font-weight: 600;
    cursor: pointer;
}

.property-filter-selects {
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.12);
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.property-filter-selects.collapsed {
    display: none;
}

.property-filter-select {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.property-filter-select label {
    font-weight: 600;
    color: var(--nemo-gray-600);
}

.property-filter-select select {
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--nemo-gray-300);
    font-size: 14px;
    background: #fff;
}
.property-board-section {
    padding: 40px 0 80px;
}

.property-main-grid {
    display: flex;
    gap: 32px;
    align-items: stretch;
    min-height: 720px;
}

.property-main-left {
    flex: 0 0 420px;
    max-width: 440px;
    min-width: 340px;
    display: flex;
}

.property-main-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.property-list-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
    min-height: 720px;
}

.property-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.property-list-header-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.property-list-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--nemo-gray-700);
    letter-spacing: 0.02em;
}

.property-list-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.property-list-location {
    position: relative;
    padding-left: 16px;
    font-weight: 600;
    color: var(--nemo-gray-500);
}

.property-list-location::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nemo-red);
    transform: translateY(-50%);
}

.property-list-count {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.property-list-count strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--nemo-gray-900);
}

.property-list-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.property-sort-select {
    min-width: 150px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--nemo-gray-300);
    background: #fff;
    font-size: 14px;
    color: var(--nemo-gray-600);
}

.property-list {
    flex: 1;
    padding: 20px 24px;
    display: grid;
    gap: 18px;
    overflow-y: auto;
    background: transparent;
    min-height: 0;
}

.property-list::-webkit-scrollbar {
    width: 6px;
}

.property-list::-webkit-scrollbar-thumb {
    background: rgba(18, 184, 134, 0.35);
    border-radius: 3px;
}

.property-empty {
    padding: 80px 20px;
    text-align: center;
    color: var(--nemo-gray-400);
    border: 1px dashed var(--nemo-gray-300);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.7);
}

.property-list-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.7);
    display: none;
    justify-content: center;
}

.section-pagination,
.property-pagination {
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.section-pagination button,
.property-pagination a,
.property-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 8px 14px;
    margin: 4px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: #fff;
    color: var(--nemo-gray-600);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.section-pagination button:hover,
.section-pagination button:focus,
.property-pagination a:hover,
.property-pagination a:focus {
    border-color: var(--nemo-red);
    color: var(--nemo-red);
}

.section-pagination .is-active,
.property-pagination .pg_current {
    background: var(--nemo-red);
    border-color: var(--nemo-red);
    color: #fff;
}
.property-map-panel {
    position: relative;
    flex: 1;
    min-height: 720px;
    background: #fff;
    overflow: hidden;
}

.property-map {
    position: absolute;
    inset: 0;
}

.property-map-controls {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    font-size: 20px;
    font-weight: 600;
    color: var(--nemo-gray-700);
    cursor: pointer;
    transition: transform 0.18s ease;
}

.map-btn:hover,
.map-btn:focus {
    transform: translateY(-1px);
}

.map-btn .icon-reset {
    width: 18px;
    height: 18px;
    display: inline-block;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23334155" viewBox="0 0 24 24"%3E%3Cpath d="M12 2a10 10 0 1 0 9.486 6.5H20A8 8 0 1 1 12 4a7.94 7.94 0 0 1 5.657 2.343L15 9h7V2l-2.928 2.928A9.956 9.956 0 0 0 12 2Z"/%3E%3C/svg%3E') center/contain no-repeat;
}

.property-map-empty {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 23, 42, 0.74);
    color: #fff;
    padding: 24px;
    font-size: 14px;
}

.property-map-empty.is-visible {
    display: flex;
}

.property-map-marker {
    min-width: 84px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 59, 48, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 18px 32px rgba(255, 59, 48, 0.35);
}

.property-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.property-card.is-active {
    border-color: var(--nemo-red);
    box-shadow: 0 24px 40px rgba(255, 59, 48, 0.22);
}

.property-card.is-featured::after {
    content: 'FEATURED';
    position: absolute;
    top: -10px;
    right: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--nemo-green);
}

.property-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 120px;
    display: block;
    background: var(--nemo-gray-200);
}

.property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--nemo-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.property-state {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.property-state.is-closed {
    background: rgba(100, 116, 139, 0.95);
}

.property-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--nemo-gray-500);
}

.property-type,
.property-trade,
.property-featured {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    color: var(--nemo-gray-600);
    font-weight: 600;
}

.property-featured {
    background: rgba(18, 184, 134, 0.18);
    color: var(--nemo-green);
}

.property-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--nemo-gray-900);
}

.property-card h3 a {
    color: inherit;
    text-decoration: none;
}

.property-headline {
    margin: 0;
    font-size: 13px;
    color: var(--nemo-gray-500);
    line-height: 1.6;
}

.property-brief {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--nemo-gray-500);
}

.property-brief span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
}

.property-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--nemo-red);
}

.property-address {
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.property-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--nemo-gray-400);
}

.property-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 59, 48, 0.2);
    color: var(--nemo-red);
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 59, 48, 0.08);
}

.property-more:hover,
.property-more:focus {
    border-color: var(--nemo-red);
}
.property-detail-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    z-index: 200;
}

.property-detail-overlay.is-open {
    display: flex;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
}

.detail-container {
    position: relative;
    width: min(980px, 96vw);
    max-height: 92vh;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 70px rgba(15, 23, 42, 0.35);
    z-index: 10;
}

.detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.92);
}

.detail-toolbar-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--nemo-gray-700);
}

.detail-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-toolbar-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgba(148, 163, 184, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.detail-unit-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
}

.detail-unit-switch button {
    border: none;
    background: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--nemo-gray-500);
    cursor: pointer;
}

.detail-unit-switch button.is-active {
    background: #fff;
    color: var(--nemo-red);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.detail-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px 32px;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-gallery-main {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--nemo-gray-900);
}

.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    border: none;
    cursor: pointer;
}

.detail-gallery-nav.prev {
    left: 12px;
}

.detail-gallery-nav.next {
    right: 12px;
}

.detail-gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: #fff;
    font-size: 12px;
}

.detail-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-gallery-thumbs button {
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    width: 64px;
    height: 64px;
    cursor: pointer;
}

.detail-gallery-thumbs button.is-active {
    border-color: var(--nemo-red);
}

.detail-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-upper {
    margin: 0;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.detail-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--nemo-gray-900);
}

.detail-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--nemo-gray-600);
    line-height: 1.6;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    font-size: 12px;
    font-weight: 600;
    color: var(--nemo-gray-600);
}

.detail-chip.status {
    background: rgba(37, 99, 235, 0.18);
    color: var(--nemo-blue);
}

.detail-chip.status.status-reserved {
    background: rgba(255, 143, 0, 0.18);
    color: var(--nemo-orange);
}

.detail-chip.status.status-closed {
    background: rgba(100, 116, 139, 0.2);
    color: var(--nemo-gray-600);
}

.detail-chip.featured {
    background: rgba(18, 184, 134, 0.18);
    color: var(--nemo-green);
}

.detail-price table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.94);
}

.detail-price th,
.detail-price td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    text-align: left;
    font-size: 14px;
}

.detail-price th {
    width: 120px;
    color: var(--nemo-gray-500);
}

.detail-price td {
    color: var(--nemo-gray-800);
    font-weight: 600;
}

.detail-price tr:last-child th,
.detail-price tr:last-child td {
    border-bottom: none;
}

.detail-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.detail-info li {
    padding: 14px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-info .label {
    font-size: 12px;
    color: var(--nemo-gray-500);
}

.detail-info .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--nemo-gray-800);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--nemo-blue);
}

.detail-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
}

.detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.94);
}

.detail-link,
.detail-call {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
}

.detail-link {
    border: 1px solid rgba(37, 99, 235, 0.3);
    background: #fff;
    color: var(--nemo-blue);
}

.detail-call {
    background: var(--nemo-red);
    color: #fff;
    box-shadow: 0 18px 32px rgba(255, 59, 48, 0.22);
}
.property-detail-page {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 120px;
    padding: 0 32px;
}

.detail-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 32px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    margin-bottom: 28px;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.detail-breadcrumb a {
    color: var(--nemo-gray-600);
    font-weight: 600;
    text-decoration: none;
}

.detail-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-page-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: flex-start;
}

.detail-main-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px 36px 40px;
    box-shadow: 0 30px 54px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-main-card .detail-summary {
    gap: 14px;
}

.detail-id {
    margin: 0;
    font-size: 12px;
    color: var(--nemo-gray-400);
}

.detail-media {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-gallery-state,
.property-gallery-badge {
    position: absolute;
    top: 16px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    background: rgba(15, 23, 42, 0.7);
}

.property-gallery-state {
    right: 16px;
    background: rgba(37, 99, 235, 0.9);
}

.property-gallery-state.state-reserved {
    background: rgba(255, 143, 0, 0.9);
}

.property-gallery-state.state-closed {
    background: rgba(100, 116, 139, 0.95);
}

.property-gallery-state.state-draft {
    background: rgba(148, 163, 184, 0.9);
}

.property-gallery-badge {
    left: 16px;
    background: var(--nemo-red);
}

.detail-media-extra {
    display: grid;
    gap: 16px;
}

.detail-media-video {
    position: relative;
    padding-top: 56.25%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 36px rgba(15, 23, 42, 0.18);
}

.detail-media-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.detail-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 28px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(248, 250, 252, 0.9);
}

.detail-description h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--nemo-gray-800);
}

.detail-description-body {
    font-size: 14px;
    color: var(--nemo-gray-600);
    line-height: 1.8;
}

.detail-map-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 28px 28px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #fff;
    box-shadow: 0 24px 40px rgba(37, 99, 235, 0.12);
}

.detail-map-block h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--nemo-gray-800);
}

.detail-map {
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--nemo-gray-200);
}

.detail-map-address {
    font-size: 14px;
    color: var(--nemo-gray-600);
}

.detail-map-actions {
    display: flex;
    gap: 12px;
}

.detail-map-actions .detail-link {
    flex: 0 0 auto;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-sidebar-card {
    background: #fff;
    border-radius: 26px;
    padding: 28px 26px;
    box-shadow: 0 30px 50px rgba(15, 23, 42, 0.14);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-sidebar-card h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--nemo-gray-800);
}

.detail-agent {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-agent-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--nemo-gray-200);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.14);
}

.detail-agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-agent-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-agent-meta strong {
    font-size: 16px;
    color: var(--nemo-gray-900);
}

.detail-agent-meta span {
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.detail-sidebar-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.detail-sidebar-info li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--nemo-gray-500);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding-bottom: 8px;
}

.detail-sidebar-info li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-sidebar-info strong {
    color: var(--nemo-gray-800);
    font-weight: 700;
}

.detail-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-sidebar-actions .detail-call,
.detail-sidebar-actions .detail-link {
    width: 100%;
}

.detail-sidebar-note {
    margin: 0;
    font-size: 12px;
    color: var(--nemo-gray-400);
    line-height: 1.6;
}
.property-board-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 40px auto 120px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16);
    padding: 32px 36px 40px;
}

.property-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.property-top-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    color: var(--nemo-gray-500);
}

.property-count {
    font-size: 32px;
    font-weight: 800;
    color: var(--nemo-red);
}

.property-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.property-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.property-btn.primary {
    background: var(--nemo-red);
    color: #fff;
    box-shadow: 0 18px 28px rgba(255, 59, 48, 0.28);
}

.property-btn.ghost {
    background: rgba(37, 99, 235, 0.1);
    color: var(--nemo-blue);
}

.property-btn:hover,
.property-btn:focus {
    transform: translateY(-1px);
}

.property-board-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 30px;
}

.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 720px;
}

.property-search-panel {
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.property-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.property-search-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--nemo-gray-800);
}

.property-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #fff;
    color: var(--nemo-gray-600);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.property-filter-toggle .icon-filter {
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%2364748b" viewBox="0 0 24 24"%3E%3Cpath d="M4 5h16v2L14 13v4l-4 2v-6L4 7z"/%3E%3C/svg%3E') center/contain no-repeat;
}

.property-search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.property-search-input input {
    width: 100%;
    height: 46px;
    padding: 0 50px 0 16px;
    border-radius: 14px;
    border: 1px solid var(--nemo-gray-300);
    font-size: 14px;
    background: #fff;
}

.property-search-input input:focus {
    outline: none;
    border-color: var(--nemo-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.16);
}

.btn-search {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: none;
    background: var(--nemo-red);
    color: #fff;
    cursor: pointer;
}

.btn-search .icon-search {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"%3E%3Cpath d="m20.707 19.293-4.597-4.597a6.5 6.5 0 1 0-1.414 1.414l4.597 4.597a1 1 0 0 0 1.414-1.414ZM5 10.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"/%3E%3C/svg%3E') center/contain no-repeat;
}

.property-filter-panel {
    display: grid;
    gap: 14px;
}

.property-filter-panel.collapsed {
    display: none;
}

.filter-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.filter-row label {
    font-weight: 600;
    color: var(--nemo-gray-600);
}

.filter-row select {
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--nemo-gray-300);
    padding: 0 12px;
    font-size: 13px;
    background: #fff;
    color: var(--nemo-gray-600);
}

.property-sort-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--nemo-gray-500);
}

.property-sort-row select {
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--nemo-gray-300);
    padding: 0 12px;
    background: #fff;
    font-size: 13px;
}

.property-list[data-property-list] {
    background: #fff;
}

.property-map-stage {
    display: flex;
}

.property-search-hidden {
    display: none;
}

.property-detail-overlay {
    animation: detail-fade 0.18s ease;
}

@keyframes detail-fade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1280px) {
    .property-detail-page {
        padding: 0 24px;
    }

    .detail-page-header {
        padding: 20px 24px;
    }

    .detail-main-card {
        padding: 28px 30px 34px;
    }

    .property-board-wrap {
        margin: 20px;
        padding: 28px;
    }

    .property-board-layout {
        grid-template-columns: 360px 1fr;
    }

    .property-card {
        gap: 16px;
        padding: 18px;
    }

    .property-thumb {
        flex-basis: 200px;
        max-width: 200px;
    }
}

@media (max-width: 1080px) {
    .detail-page-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-map {
        height: 280px;
    }

    .property-board-layout {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        min-height: auto;
    }

    .property-list {
        max-height: 520px;
    }

    .property-map-panel {
        min-height: 520px;
    }

    .property-card {
        flex-direction: column;
        gap: 14px;
    }

    .property-thumb {
        flex-basis: auto;
        max-width: none;
    }

    .property-thumb::before {
        padding-top: 58%;
    }
}

@media (max-width: 768px) {
    .property-detail-page {
        margin: 30px auto 80px;
        padding: 0 20px;
    }

    .detail-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .detail-header-actions {
        width: 100%;
    }

    .detail-header-actions .property-btn {
        flex: 1;
        justify-content: center;
    }

    .detail-main-card {
        padding: 24px 20px 30px;
        border-radius: 24px;
    }

    .detail-sidebar-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .detail-map {
        height: 240px;
    }

    .property-board-wrap {
        margin: 16px;
        padding: 20px;
        border-radius: 24px;
    }

    .property-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .property-board-layout {
        gap: 20px;
    }

    .property-list {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .property-card {
        flex-direction: column;
        padding: 16px;
    }

    .property-map-panel {
        border-radius: 24px;
    }

    .detail-container {
        width: 94vw;
        border-radius: 20px;
    }

    .detail-scroll {
        padding: 20px;
    }
}

@media (max-width: 540px) {
    .property-detail-page {
        margin: 0;
        padding: 0 16px;
    }

    .detail-page-header {
        padding: 18px 16px;
        border-radius: 0;
    }

    .detail-main-card {
            gap: 12px;
        border-radius: 0;

        .property-card-foot {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .property-more {
            width: 100%;
            justify-content: center;
        }
        padding: 22px 16px 28px;
    }

    .detail-sidebar-card {
        border-radius: 20px;
        padding: 22px 18px;
    }

    .detail-agent {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .detail-map {
        height: 220px;
    }

    .property-board-wrap {
        margin: 0;
        border-radius: 0;
        padding: 16px;
    }

    .property-top-actions {
        width: 100%;
        justify-content: stretch;
    }

    .property-btn {
        flex: 1;
        text-align: center;
    }

    .property-card {
        padding: 14px;
    }

    .detail-toolbar {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .detail-footer {
        flex-direction: column;
    }

    .detail-link,
    .detail-call {
        width: 100%;
    }
}
