/* ==================== MODERN PROPERTY CARD (GRID VIEW) ==================== */
.modern-property-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-property-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #3b82f6;
}

.modern-property-card__content {
    padding: 0;
}

.modern-property-card__image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.modern-property-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-property-card:hover .modern-property-card__image {
    transform: scale(1.05);
}

.modern-property-card__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    opacity: 0;
}

.modern-property-card:hover .modern-property-card__nav-btn {
    opacity: 1;
}

.modern-property-card__nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.modern-property-card__nav-btn--prev { left: 12px; }
.modern-property-card__nav-btn--next { right: 12px; }
.modern-property-card__nav-btn svg { width: 20px; height: 20px; color: #374151; }

.modern-property-card__indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.modern-property-card__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-property-card__indicator--active,
.modern-property-card__indicator:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.modern-property-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.modern-property-card__badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-property-card__badge--new { background: rgba(34, 197, 94, 0.9); color: white; }
.modern-property-card__badge--price-drop { background: rgba(239, 68, 68, 0.9); color: white; }
.modern-property-card__badge--discount { background: rgba(245, 101, 101, 0.9); color: white; }

.modern-property-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modern-property-card__favorite:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.modern-property-card__favorite svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.modern-property-card__favorite--active svg {
    fill: #ef4444;
    color: #ef4444;
}

.modern-property-card__gallery {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    opacity: 0;
}

.modern-property-card:hover .modern-property-card__gallery {
    opacity: 1;
}

.modern-property-card__gallery svg {
    width: 16px;
    height: 16px;
}

.modern-property-card__counter {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 10;
}

.modern-property-card__price-section {
    margin: 0 0 16px 0;
    padding: 12px 16px;
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
    border-left: 3px solid #3b82f6;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-main { display: flex; align-items: baseline; gap: 6px; }
.price-label { font-size: 13px; font-weight: 500; color: #64748b; }
.price-amount { font-size: 22px; font-weight: 800; color: #0f172a; line-height: 1; letter-spacing: -0.01em; }
.price-per-unit { font-size: 13px; font-weight: 600; color: #3b82f6; padding: 4px 10px; background: rgba(59, 130, 246, 0.1); border-radius: 4px; white-space: nowrap; }

.modern-property-card__header { margin-bottom: 16px; padding: 0 20px; }
.modern-property-card__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.modern-property-card__title a { color: #1f2937; text-decoration: none; transition: color 0.2s ease; }
.modern-property-card__title a:hover { color: #2563eb; }
.modern-property-card__location { display: flex; align-items: center; gap: 4px; font-size: 0.875rem; color: #6b7280; margin: 0; }
.modern-property-card__location svg { width: 16px; height: 16px; flex-shrink: 0; }

.modern-property-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 16px;
    padding: 12px 20px;
    background: #f9fafb;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.modern-property-card__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    position: relative;
}

.modern-property-card__stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #e2e8f0;
}

.modern-property-card__stat-icon { width: 24px; height: 24px; color: #64748b; flex-shrink: 0; }
.modern-property-card__stat-icon svg { width: 100%; height: 100%; }
.modern-property-card__stat-value { font-weight: 700; color: #1f2937; font-size: 16px; line-height: 1; white-space: nowrap; }
.modern-property-card__stat-label { font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.modern-property-card__features { margin-bottom: 16px; padding: 0 20px; }
.modern-property-card__features-list { display: flex; flex-wrap: wrap; gap: 6px; }
.modern-property-card__feature { padding: 4px 8px; background: #e5e7eb; border-radius: 4px; font-size: 0.75rem; color: #374151; }
.modern-property-card__feature--more { background: #dbeafe; color: #2563eb; }

.modern-property-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 20px;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.modern-property-card__meta-item { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: #6b7280; }
.modern-property-card__meta-item svg { width: 14px; height: 14px; }

.modern-property-card__actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
    padding: 0 20px 20px;
}

.modern-property-card__btn {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    min-height: 44px;
}

.modern-property-card__btn--primary {
    flex: 2;
    min-width: 0;
    background: #2563eb;
    color: white;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

.modern-property-card__btn--primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.modern-property-card__btn--secondary {
    flex: 1;
    min-width: 0;
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.modern-property-card__btn--secondary:hover {
    background: #eff6ff;
    border-color: #1d4ed8;
}

.modern-property-card__share {
    position: relative;
    flex-shrink: 0;
}

.modern-property-card__share-btn {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modern-property-card__share-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: scale(1.05);
}

.modern-property-card__share-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.modern-property-card__share-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 180px;
    z-index: 200;
    margin-bottom: 8px;
    display: none;
}

.modern-property-card__share-dropdown.show,
.modern-property-card__share-dropdown--show {
    display: block;
}

.modern-property-card__share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    text-align: left;
}

.modern-property-card__share-option:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.modern-property-card__share-option svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Modals */
.modern-property-modal-overlay,
.modern-property-gallery-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    padding: 20px;
    box-sizing: border-box;
}

.modern-property-modal-overlay[style*="flex"],
.modern-property-gallery-overlay[style*="flex"] {
    display: flex !important;
}

.modern-property-modal {
    position: relative !important;
    background: white;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modern-property-modal__content {
    background: white;
    max-height: 90vh;
    overflow-y: auto;
}

.modern-property-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.modern-property-modal__title { font-size: 1.25rem; font-weight: 600; color: #1f2937; margin: 0 0 4px 0; }
.modern-property-modal__subtitle { font-size: 0.875rem; color: #6b7280; margin: 0; }
.modern-property-modal__close { background: none; border: none; cursor: pointer; padding: 4px; border-radius: 4px; transition: background 0.2s ease; color: #6b7280; }
.modern-property-modal__close:hover { background: #f3f4f6; color: #374151; }
.modern-property-modal__close svg { width: 20px; height: 20px; }
.modern-property-modal__body { padding: 0 20px 20px; }

.modern-property-gallery {
    position: relative !important;
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modern-property-gallery__container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 95vw;
    max-height: 95vh;
}

.modern-property-gallery__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1001;
}

.modern-property-gallery__close:hover { background: rgba(0, 0, 0, 0.9); transform: scale(1.05); }
.modern-property-gallery__close svg { width: 24px; height: 24px; color: white; }
.modern-property-gallery__counter { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); color: white; font-size: 1rem; font-weight: 600; z-index: 1001; background: rgba(0, 0, 0, 0.8); padding: 10px 20px; border-radius: 25px; backdrop-filter: blur(15px); }
.modern-property-gallery__image-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 60px 20px 20px; box-sizing: border-box; min-height: 300px; }
.modern-property-gallery__image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }

.modern-property-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1001;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.modern-property-gallery__nav:hover { background: rgba(0, 0, 0, 0.9); transform: translateY(-50%) scale(1.1); border-color: rgba(255, 255, 255, 0.4); }
.modern-property-gallery__nav--prev { left: 20px; }
.modern-property-gallery__nav--next { right: 20px; }
.modern-property-gallery__nav svg { width: 28px; height: 28px; color: white; }

.modern-property-gallery__thumbnails { display: flex; gap: 12px; margin-top: 20px; justify-content: center; overflow-x: auto; padding: 15px 0; max-width: 100%; }
.modern-property-gallery__thumbnail { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; border: 3px solid transparent; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; }
.modern-property-gallery__thumbnail:hover { border-color: rgba(255, 255, 255, 0.5); transform: translateY(-3px) scale(1.05); }
.modern-property-gallery__thumbnail--active { border-color: #0ea5e9; }
.modern-property-gallery__thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.modern-property-form__group { margin-bottom: 16px; }
.modern-property-form__label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.modern-property-form__input,
.modern-property-form__textarea { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.875rem; transition: all 0.2s ease; background: white; }
.modern-property-form__input:focus,
.modern-property-form__textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.modern-property-form__textarea { min-height: 100px; resize: vertical; }
.modern-property-form__error { display: block; font-size: 0.75rem; color: #ef4444; margin-top: 4px; }
.modern-property-form__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; padding-top: 16px; border-top: 1px solid #e5e7eb; }

body.modal-open { overflow: hidden !important; height: 100vh !important; }
[x-cloak] { display: none !important; }

.clear-filters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    white-space: nowrap;
}

.clear-filters-btn:hover { background: #dc2626; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }
.clear-filters-btn .material-icons { font-size: 16px; }

/* ==================== GRID & LIST VIEW CONTAINERS ==================== */
.properties-container.grid-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.properties-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Force list-view container to stack vertically */
.properties-container.list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    grid-template-columns: none !important; /* Override any grid rules */
}
/* ==================== LIST VIEW ITEMS ==================== */
.properties-container.list-view article.property-list-item {
    display: flex !important;
    flex-direction: row !important;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.2s;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
}

.properties-container.list-view article.property-list-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.list-view .property-list-image-link { 
    flex-shrink: 0; 
    width: 280px !important;
}

.list-view .property-list-image { 
    width: 280px; 
    height: 210px; 
    position: relative; 
    overflow: hidden; 
}

.list-view .property-list-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.list-view .property-list-details { 
    flex: 1; 
    padding: 20px 24px; 
    display: flex; 
    gap: 24px; 
}

.list-view .property-list-main { flex: 1; }
.list-view .property-list-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.list-view .price-amount { font-size: 26px; font-weight: 700; color: #1e40af; }
.list-view .price-per-sqm { font-size: 14px; color: #6b7280; }
.list-view .price-original { font-size: 16px; color: #9ca3af; text-decoration: line-through; }
.list-view .property-list-title { font-size: 18px; font-weight: 600; color: #111827; margin: 0 0 8px; }
.list-view .property-list-location { display: flex; align-items: center; gap: 6px; color: #6b7280; font-size: 14px; margin: 0 0 12px; }
.list-view .property-list-features { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; margin-bottom: 12px; }
.list-view .feature-item { display: flex; align-items: center; gap: 6px; }
.list-view .property-list-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.list-view .amenity-tag { padding: 3px 10px; background: #f3f4f6; color: #374151; border-radius: 4px; font-size: 12px; }
.list-view .property-list-date { display: flex; align-items: center; gap: 6px; color: #9ca3af; font-size: 13px; margin: 8px 0 0; }
.list-view .property-list-actions { display: flex; flex-direction: column; gap: 10px; min-width: 150px; align-self: flex-end; }
.list-view .action-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid #d1d5db; border-radius: 6px; background: white; color: #374151; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; min-height: 44px; transition: all 0.2s; white-space: nowrap; }
.list-view .action-btn:hover { background: #f9fafb; }
.list-view .action-btn-favorite:hover { background: #fef2f2; border-color: #ef4444; color: #ef4444; }
.list-view .action-btn-compare { background: #eff6ff; border-color: #3b82f6; color: #3b82f6; }
.list-view .action-btn-primary { background: #2563eb; color: white; border-color: #2563eb; }

.badge-new, .badge-reduced, .image-count-badge { position: absolute; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; color: white; z-index: 2; }
.badge-new { top: 12px; left: 12px; background: #10b981; }
.badge-reduced { top: 48px; left: 12px; background: #ef4444; }
.image-count-badge { bottom: 12px; right: 12px; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; gap: 4px; }

.action-share-wrapper { position: relative; }
.share-dropdown { position: absolute; bottom: 100%; right: 0; margin-bottom: 8px; background: white; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 160px; z-index: 10; }
.share-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; border: none; background: white; cursor: pointer; font-size: 14px; text-align: left; }
.share-option:hover { background: #f9fafb; }

.results-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: white; border-radius: 8px; margin: 20px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.header-right { display: flex; align-items: center; gap: 16px; }
.view-switcher { display: flex; border: 1px solid #d1d5db; border-radius: 6px; overflow: hidden; }
.view-btn { padding: 8px 12px; border: none; background: white; cursor: pointer; }
.view-btn.active { background: #2563eb; }
.view-btn.active svg { stroke: white; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1280px) {
    .properties-container.grid-view {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .properties-container.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* MOBILE: Stack vertically */
@media (max-width: 640px) {
    .properties-container.list-view article.property-list-item {
        flex-direction: column !important;
    }
    
    .list-view .property-list-image-link,
    .list-view .property-list-image {
        width: 100% !important;
        height: 240px !important;
    }
    
    .list-view .property-list-details {
        flex-direction: column !important;
        padding: 16px !important;
    }
    
    .list-view .property-list-actions {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-self: auto !important;
        width: 100% !important;
    }
    
    .list-view .action-btn {
        flex: 1 !important;
        min-width: 120px !important;
    }
}
@media (max-width: 768px) {
    .properties-container.grid-view {
        grid-template-columns: 1fr;
    }
    
    .modern-property-gallery-overlay { padding: 0; }
    .modern-property-gallery { width: 100vw; height: 100vh; }
    .modern-property-gallery__image-wrapper { padding: 80px 10px 120px; height: calc(100vh - 200px); }
    .modern-property-gallery__image { max-width: 100vw; max-height: calc(100vh - 200px); }
    .modern-property-gallery__nav { width: 70px; height: 70px; }
    .modern-property-gallery__thumbnails { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.8); border-radius: 30px; padding: 15px 20px; max-width: calc(100vw - 40px); z-index: 1002; }
}

@media (max-width: 640px) {
    .modern-property-card { max-width: 100%; margin: 0; }
    .modern-property-card__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .modern-property-card__actions { flex-direction: column; }
    .modern-property-card__btn { width: 100%; }
    .modern-property-card__share { display: block; width: 100%; }
    .modern-property-card__share-btn { width: 100%; height: 48px; justify-content: center; gap: 8px; }
    .modern-property-card__share-btn::after { content: 'Share'; font-size: 14px; font-weight: 600; color: #6b7280; }
    .modern-property-card__share-dropdown { position: fixed; bottom: 0; left: 0; right: 0; top: auto; border-radius: 20px 20px 0 0; margin-bottom: 0; padding: 20px; max-height: 50vh; overflow-y: auto; z-index: 10000; }
    .modern-property-card__share-option { padding: 14px 16px; font-size: 16px; min-height: 52px; }
    .price-row { flex-wrap: nowrap; gap: 8px; }
    .price-label { display: none; }
    .price-amount { font-size: 19px; }
    .price-per-unit { font-size: 11px; padding: 3px 6px; }
    .clear-filters-btn { padding: 12px 14px; font-size: 12px; min-height: 48px; gap: 4px; }
    .list-view .action-btn span { font-size: 13px; }
}

@media (max-width: 360px) {
    .clear-filters-btn span.hidden { display: none; }
}