/* ========================================
   EMLAK KARTLARI - YENİ TASARIM
   ======================================== */
.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 35, 77, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 35, 77, 0.15);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.property-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    display: block;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

/* RTL için property card düzenlemeleri */
html[dir="rtl"] .property-badge {
    left: auto;
    right: 15px;
}

html[dir="rtl"] .property-featured {
    right: auto;
    left: 15px;
}

html[dir="rtl"] .property-price-overlay {
    left: auto;
    right: 15px;
}

html[dir="rtl"] .property-card:hover .property-image img {
    transform: scale(1.1);
}

/* Fiyat Etiketi - Görsel Üzerinde */
.property-price-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 35, 77, 0.95);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 5;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.property-price-mobile {
    display: none;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-sale {
    background: #22c55e;
    color: #fff;
}

.badge-rent {
    background: #FD5631;
    color: #fff;
}

.property-featured {
    position: absolute;
    top: 55px; /* KIRALIK/SATILIK badge'inin altına taşındı */
    left: 15px;
    background: linear-gradient(135deg, #FD5631 0%, #ff6b4a 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(253, 86, 49, 0.3);
}

/* 360° Sanal Tur Badge */
.property-virtual-tour {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    z-index: 5;
}

.property-virtual-tour i {
    font-size: 14px;
}

.property-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 3.2em;
}

.property-location {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: var(--secondary);
    font-size: 16px;
}

.property-features {
    display: flex;
    gap: 0;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    flex: 1;
    justify-content: center;
    padding: 0 8px;
    position: relative;
}

.property-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.property-feature i {
    color: var(--secondary);
    font-size: 16px;
}

/* Favori Butonu - Şık Tasarım */
.favorite-btn {
    position: absolute;
    top: 15px; /* Sağ üstte kalp ikonu */
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: #64748b;
    font-size: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.favorite-btn:hover {
    background: #fff;
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.favorite-btn.active {
    color: #ef4444;
    background: #fff;
}

.favorite-btn.active i {
    animation: heartBeat 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.favorite-btn i {
    transition: all 0.2s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
}

/* Karşılaştırma Checkbox */
.compare-checkbox-wrapper {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

.compare-checkbox {
    display: none;
}

.compare-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #dee2e6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compare-label:hover {
    background: #fff;
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compare-label i {
    font-size: 18px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.compare-checkbox:checked + .compare-label {
    background: var(--secondary);
    border-color: var(--secondary);
}

.compare-checkbox:checked + .compare-label i {
    color: #fff;
}

.compare-checkbox:checked + .compare-label:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* ========================================
   EMLAK DETAY SAYFASI
   ======================================== */
.property-detail-header {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.property-gallery {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.property-gallery .main-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    max-height: 500px;
}

.property-gallery .main-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
}

.property-gallery .main-image a {
    display: block;
    height: 100%;
}

.property-gallery .main-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.property-gallery .main-image:hover img {
    transform: scale(1.02);
}

/* Trafik koruma — satıldı/kiralandı filigranı (görsel ortası) */
.property-gallery-has-archive .main-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.18);
    border-radius: 8px;
}

.property-gallery-has-archive .main-image img {
    filter: grayscale(25%) brightness(0.88);
}

.property-archived-watermark {
    position: absolute;
    inset: 0;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    border-radius: 8px;
    overflow: hidden;
}

.property-archived-watermark__text {
    display: block;
    font-size: clamp(2.25rem, 11vw, 5.25rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    padding: 0.2em 0.5em;
    transform: rotate(-14deg);
    user-select: none;
    text-align: center;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.48);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(0, 0, 0, 0.15);
    border: 5px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(1px);
}

.property-archived-watermark--sold .property-archived-watermark__text {
    color: rgba(254, 226, 226, 0.52);
    border-color: rgba(248, 113, 113, 0.45);
}

.property-archived-watermark--rented .property-archived-watermark__text {
    color: rgba(254, 243, 199, 0.52);
    border-color: rgba(251, 191, 36, 0.45);
}

.property-title-archived-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45em 0.85em;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.property-title-archived-badge--sold {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.property-title-archived-badge--rented {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.property-archive-sidebar-notice {
    white-space: normal;
    word-break: break-word;
    line-height: 1.45;
}

.property-archive-sidebar-notice__text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

@media (max-width: 576px) {
    .property-archived-watermark__text {
        font-size: clamp(1.75rem, 14vw, 3rem);
        letter-spacing: 0.1em;
        border-width: 3px;
        transform: rotate(-10deg);
    }
}

/* Ok Butonları */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Resim Sayacı */
.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

.property-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.property-gallery .thumb {
    min-width: 100px;
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.property-gallery .thumb:hover,
.property-gallery .thumb.active {
    opacity: 1;
    border-color: var(--secondary);
}

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

/* Mobil için */
@media (max-width: 768px) {
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .image-counter {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

.property-info-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 35, 77, 0.08);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.property-info-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    color: var(--primary);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: #64748b;
}

.info-list .value {
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   HARİTA VE SOKAK GÖRÜNÜMÜ
   ======================================== */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    margin-bottom: 20px;
}

.street-view-container {
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}

.map-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.map-tab {
    padding: 10px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--primary);
}

.map-tab:hover,
.map-tab.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* Header Favori Linki */
.favorites-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-link .bi-heart {
    font-size: 1.2rem;
}

.favorites-count {
    position: absolute;
    top: 0;
    right: 5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0 4px;
}

.compare-count {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    background: var(--secondary);
    color: #fff;
}

/* Favori Bildirimi */
.favorite-notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #22c55e;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    font-size: 14px;
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Detay Sayfası Favori Butonu - Sabit Boyut */
.favorite-btn-detail,
.property-info-box .btn-outline-danger:not(.w-100) {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-width: 2px;
    border-color: #ef4444;
    color: #ef4444;
    border-radius: 8px;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.favorite-btn-detail:hover,
.property-info-box .btn-outline-danger:not(.w-100):hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.favorite-btn-detail.active,
.favorite-btn-detail.btn-danger:not(.w-100),
.property-info-box .btn-outline-danger.active:not(.w-100),
.property-info-box .btn-danger:not(.w-100) {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    width: 44px !important;
    height: 44px !important;
}

.favorite-btn-detail.active i,
.favorite-btn-detail.btn-danger:not(.w-100) i,
.property-info-box .btn-outline-danger.active:not(.w-100) i,
.property-info-box .btn-danger:not(.w-100) i {
    animation: heartBeat 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.favorite-btn-detail i,
.property-info-box .btn-outline-danger:not(.w-100) i {
    font-size: 20px;
    line-height: 1;
}

/* Responsive */
@media (max-width: 767px) {
    .property-image {
        aspect-ratio: 4/3;
    }
    
    .property-price-overlay {
        font-size: 1rem;
        padding: 8px 14px;
    }
    
    .property-features {
        flex-wrap: wrap;
    }
    
    .property-feature:not(:last-child)::after {
        display: none;
    }
}

/* ========================================
   EİDS BİLGİLERİ
   ======================================== */
.eids-info-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.eids-info-box:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.eids-title {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.eids-title i {
    color: #22c55e;
    font-size: 20px;
}

.eids-text {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .eids-info-box {
        padding: 15px;
    }
    
    .eids-title {
        font-size: 14px;
    }
    
    .eids-title i {
        font-size: 18px;
    }
    
    .eids-text {
        font-size: 14px;
    }
}

/* ========================================
   ÖZELLIK KATEGORİLERİ
   ======================================== */
.feature-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark, #1e293b);
    padding: 4px 0;
}

.feature-item i {
    font-size: 16px;
    flex-shrink: 0;
}

.feature-category-block {
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.feature-category-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-category-title i {
    font-size: 18px;
}

/* ========================================
   AKSİYON BARI (FAVORİ + PAYLAŞIM)
   ======================================== */
.property-action-bar {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px 6px;
    margin-top: 10px;
}

.action-divider {
    width: 1px;
    height: 18px;
    background: #cbd5e1;
    margin: 0 2px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    background: transparent;
    color: #64748b;
}

.action-btn svg {
    width: 15px;
    height: 15px;
}

.action-favorite svg {
    width: 16px;
    height: 16px;
}

.action-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Favori */
.action-favorite {
    color: #ef4444;
}

.action-favorite:hover {
    background: #fef2f2;
    color: #dc2626;
}

.action-favorite.active {
    color: #fff;
    background: #ef4444;
}

.action-favorite.active svg {
    fill: #fff;
}

/* Paylaşım ikonları hover renkleri */
.action-share:hover {
    color: #fff;
}

.action-share[title="Facebook"]:hover {
    background: #1877F2;
    color: #fff;
}

.action-share[title="X"]:hover {
    background: #000;
    color: #fff;
}

.action-share[title="WhatsApp"]:hover,
.action-share.action-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.action-share[title="LinkedIn"]:hover {
    background: #0A66C2;
    color: #fff;
}

.action-share[title="Telegram"]:hover {
    background: #26A5E4;
    color: #fff;
}

/* PDF & Yazdır */
.action-util {
    color: #475569;
}

.action-util:hover {
    background: #1e293b;
    color: #fff;
}

/* Mobil uyum */
@media (max-width: 767px) {
    .property-action-bar {
        justify-content: center;
        width: 100%;
        gap: 4px;
        padding: 5px 8px;
    }

    .action-btn {
        width: 34px;
        height: 34px;
    }
}

.follow-property-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 12px;
    border: 1.5px solid #3b82f6;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-top: 4px;
}
.follow-property-link:hover {
    background: #3b82f6;
    color: #fff;
}
.follow-bell-icon {
    font-size: 1rem;
    animation: bellSwing 2.5s ease-in-out infinite;
    display: inline-block;
}
@keyframes bellSwing {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-13deg); }
    15% { transform: rotate(10deg); }
    20% { transform: rotate(-8deg); }
    25% { transform: rotate(5deg); }
    30% { transform: rotate(0deg); }
}
.follow-property-link.subscribed {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
    pointer-events: none;
}
.property-alert-modal-header {
    background: #2563eb;
    padding: 20px 24px 16px;
}
.property-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
}
.property-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s;
}
.property-tabs .nav-link:hover,
.property-tabs .nav-link.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background: transparent;
}
.property-tab-content {
    padding: 25px 0;
}
.property-description.ql-editor {
    padding: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.property-description.ql-editor p { margin-bottom: 1em; }
.property-description.ql-editor ul,
.property-description.ql-editor ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.property-description.ql-editor img {
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}
.property-description.ql-editor iframe,
.property-description.ql-editor .ql-video {
    max-width: 100%;
    width: 100%;
    height: 400px;
    margin: 1em 0;
    border: none;
    border-radius: 8px;
}
.feature-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
}
.feature-item i { font-size: 18px; }

.property-contact-box .property-contact-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.agent-contact-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.agent-contact-header--office {
    padding-bottom: 12px;
}

.agent-contact-profile-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background 0.15s ease;
}

a.agent-contact-profile-wrap:hover {
    background: #f8fafc;
}

.agent-contact-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.agent-contact-avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary, #1a2332);
    color: #fff;
    font-size: 1.35rem;
}

.agent-contact-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agent-contact-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary, #1e293b);
    line-height: 1.3;
}

.agent-contact-role {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.35;
}

.agent-contact-link-hint {
    font-size: 0.78rem;
    color: var(--secondary, #0d6efd);
    margin-top: 4px;
}

.agent-contact-chevron {
    color: #94a3b8;
    flex-shrink: 0;
}

.agent-license-badge {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.4;
}

.agent-license-badge .bi-shield-check {
    color: var(--secondary, #0d6efd);
    margin-top: 1px;
    flex-shrink: 0;
}

.agent-license-label {
    display: block;
    color: #94a3b8;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.agent-license-value {
    color: #1e293b;
    font-weight: 600;
}

.agent-contact-bio {
    margin: 12px 0 0;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
}

.agent-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.contact-action-list {
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    margin: 0;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row:hover {
    background: #f8fafc;
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 16px;
    color: var(--secondary, #0d6efd);
    flex-shrink: 0;
}

.contact-icon--whatsapp {
    background: #e8f8ee;
    color: #25d366;
}

.contact-icon--email {
    background: #eff6ff;
    color: #2563eb;
}

.contact-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    word-break: break-word;
}

.contact-row--whatsapp .contact-value {
    color: #128c7e;
}

.contact-row--whatsapp:hover {
    background: #f0fdf4;
}

.contact-row.whatsapp-row {
    background: #fff;
    border-color: #e2e8f0;
}

.contact-row.whatsapp-row .contact-icon {
    background: #e8f8ee;
    color: #25d366;
}

.contact-row.whatsapp-row .contact-label,
.contact-row.whatsapp-row .contact-value {
    color: inherit;
}

.contact-row.whatsapp-row:hover {
    background: #f0fdf4;
    border-color: #e2e8f0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}
.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #000; }
.social-link.linkedin { background: #0077b5; }
.social-link.instagram { background: #c13584; }
.mortgage-result-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}
.mortgage-calculator .form-label {
    margin-bottom: 4px;
    font-weight: 500;
}
.mortgage-result-card .result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #cbd5e1;
}
.mortgage-result-card .result-item:last-child { border-bottom: none; }
.mortgage-result-card .result-label { color: #64748b; font-size: 13px; }
.mortgage-result-card .result-value { font-weight: 700; font-size: 15px; }
