/* ==========================================================================
   ESTATEOS LUXURY PROPERTY CARD STYLESHEET
   Shared Unified Property Card Component
   ========================================================================== */

.estate-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.estate-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
    border-color: #93c5fd;
}

.estate-card-item.spotlight-card {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), 0 16px 32px -8px rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-4px) scale(1.01);
}

.estate-card-media-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.estate-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.estate-card-item:hover .estate-card-thumb {
    transform: scale(1.08);
}

/* Card Badges */
.badge-verified-flag {
    background: #10b981;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.badge-category-flag {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Action Buttons */
.estate-card-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.estate-card-icon-btn:hover {
    background: #ffffff;
    color: #2563eb;
    transform: scale(1.08);
}

.estate-card-icon-btn.wishlist-active {
    background: #ffffff;
    color: #ef4444 !important;
}

/* Card Body Content */
.estate-card-content-wrap {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.estate-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1;
}

.estate-card-price .price-period {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.estate-card-verified-status {
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.estate-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.estate-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.estate-card-title a:hover {
    color: #2563eb;
}

.estate-card-location {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.estate-card-specs {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.estate-card-specs .spec-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
