/* ============================================
   Melikşah Gayrimenkul — Public Site CSS
   Light & Modern Real Estate Agency Design
   ============================================ */

:root {
    /* Logonuzdan alınan Koyu Antrasit/Lacivert Tonları */
    --primary:       #2d3040; 
    --primary-dark:  #1b1c26;
    --primary-light: #454960;
    
    /* Logonuzdan alınan Altın/Sarı Tonları */
    --accent:        #d4a345;
    --accent-dark:   #b8862d;
    --accent-light:  #fbf6ec;
    --accent-rgb:    212, 163, 69;
    
    --text:          #1e293b;
    --text-light:    #334155;
    --muted:         #64748b;
    --muted-light:   #94a3b8;
    --border:        #e2e8f0;
    --border-light:  #f1f5f9;
    --bg:            #f8fafc;
    --bg-2:          #f2f5f8;
    --white:         #ffffff;
    --success:       #10b981;
    --danger:        #ef4444;
    --warning:       #f59e0b;
    --info:          #3b82f6;
    
    --radius-sm:     8px;
    --radius:        14px;
    --radius-lg:     22px;
    --shadow-sm:     0 1px 4px rgba(0,0,0,0.06);
    --shadow:        0 4px 24px rgba(0,0,0,0.08);
    --shadow-md:     0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:     0 16px 48px rgba(0,0,0,0.14);
    --transition:    0.22s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ===== HEADER / NAVBAR ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.site-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    transition: opacity var(--transition);
}
.nav-brand:hover { opacity: 0.9; color: var(--primary-dark); }
.nav-brand-icon {
    width: 40px;
    height: 40px;
    background: #fff; /* arka plan beyaz */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent); /* ikon rengi (isteğe bağlı) */
    font-size: 1rem;
}
.nav-brand-name { white-space: nowrap; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link-item {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    display: block;
    transition: color var(--transition), background var(--transition);
}
.nav-link-item:hover { color: var(--primary); background: var(--border-light); }
.nav-link-item.active { color: var(--primary); font-weight: 600; background: rgba(45,48,64,0.06); }

.nav-cta-wrap { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-cta-outline {
    color: var(--primary);
    border: 1.5px solid var(--border);
    background: transparent;
}
.nav-cta-outline:hover { border-color: var(--primary); background: rgba(45,48,64,0.04); color: var(--primary); }
.nav-cta-primary {
    background: var(--accent);
    color: #fff;
    border: 1.5px solid var(--accent);
}
.nav-cta-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--border-light); }
.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    margin: 0 auto;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px 90px;
    position: relative;
    overflow: hidden;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; width: 100%; }

/* Kurumsal renklere uyarlanmış hero alanı (Kırmızı yerine Kurumsal Koyu Antrasit) */
.hero-hepsiemlak {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 560px;
    padding: 56px 20px 64px;
}
.hero-hepsiemlak .hero-content-wide { max-width: 900px; }
.hero-map-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-hepsiemlak .hero-headline {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-hepsiemlak .hero-headline strong { font-weight: 800; color: var(--accent); }

.hero-tabs { display: flex; gap: 0; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.hero-tab {
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
    font-family: inherit;
    position: relative;
}
.hero-tab:hover { color: #fff; }
.hero-tab.active { color: var(--accent); }
.hero-tabs-underline .hero-tab.active::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.hero-search { display: flex; align-items: stretch; margin: 0 auto; flex-wrap: wrap; }
.hero-search-white {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 720px;
    overflow: hidden;
    padding: 6px;
    gap: 0;
}
.hero-search-white .hero-search-cat {
    padding: 14px 18px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    border-right: 1px solid var(--border);
    min-width: 120px;
}
.hero-search-white .hero-search-input {
    flex: 1;
    min-width: 180px;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
}
.hero-search-white .hero-search-input::placeholder { color: var(--muted); }
.hero-search-white .hero-search-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    border-radius: 8px;
    transition: background var(--transition);
}
.hero-search-white .hero-search-btn:hover { background: var(--accent-dark); }

.hero-popular {
    margin-top: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
}
.hero-popular a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.hero-popular a:hover { opacity: 0.9; }

.hero-quick-links-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero-quick-links-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition);
}
.hero-quick-links-nav:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.hero-quick-links {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hero-quick-links::-webkit-scrollbar { display: none; }
.hero-quick-link {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 24px;
    border: 2px solid rgba(255,255,255,0.9);
    background: transparent;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}
.hero-quick-link:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Eski hero stilleri */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(var(--accent-rgb),0.1);
    border: 1px solid rgba(var(--accent-rgb),0.35);
    color: var(--accent-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 30px;
    margin-bottom: 26px;
}
.hero h1 { color: var(--primary-dark); font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--accent); }
.hero-subtitle { color: var(--muted); font-size: 1.05rem; margin-bottom: 36px; max-width: 520px; margin-inline: auto; line-height: 1.75; }
.hero-search .btn-search { background: var(--accent); color: #fff; border: none; padding: 12px 28px; border-radius: 10px; font-weight: 700; font-size: 0.92rem; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-family: inherit; }
.hero-search .btn-search:hover { background: var(--accent-dark); }
.hero-quick-info { display: flex; gap: 28px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-quick-info-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.hero-quick-info-item i { color: var(--accent); }
.hero-quick-info-item strong { color: var(--primary); font-weight: 700; }

/* ===== STATS — White Cards ===== */
.stats-section {
    background: var(--bg-2);
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.stat-item {
    background: var(--white);
    border-radius: var(--radius);
    text-align: center;
    padding: 28px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.stat-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.stat-item .stat-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1.5px solid rgba(var(--accent-rgb), 0.2);
}
.stat-item .stat-icon i { color: var(--accent); font-size: 1.2rem; }
.stat-item .num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.1;
    margin-bottom: 5px;
}
.stat-item .lbl {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

/* ===== SECTION ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-light { background: var(--bg-2); }
.section-compact { padding: 52px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 30px;
    margin-bottom: 14px;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
}
.section-header h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.4px;
    margin-bottom: 14px;
    line-height: 1.2;
}
.section-header p { color: var(--muted); max-width: 540px; margin: 0 auto; font-size: 1rem; line-height: 1.75; }

/* ===== QUICK TYPE CARDS ===== */
.quick-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}
.quick-type-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.quick-type-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.15);
    transform: translateY(-3px);
}
.quick-type-card .qtc-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.quick-type-card.satilik .qtc-icon { background: rgba(45,48,64,0.08); color: var(--primary); }
.quick-type-card.kiralik .qtc-icon { background: rgba(var(--accent-rgb),0.12); color: var(--accent-dark); }
.quick-type-card.all .qtc-icon    { background: var(--bg-2); color: var(--muted); }
.quick-type-card .qtc-label { font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; }
.quick-type-card .qtc-sub   { font-size: 0.75rem; color: var(--muted); }

/* ===== PROPERTY CARDS ===== */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.prop-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--accent-rgb), 0.3);
}
.prop-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-2), var(--border-light));
    flex-shrink: 0;
}
.prop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.prop-card:hover .prop-card-img img { transform: scale(1.07); }

.prop-card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(10,36,66,0.35), transparent);
    pointer-events: none;
}
.prop-card-img-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted-light);
    gap: 8px;
    font-size: 0.8rem;
}
.prop-card-img-placeholder i { font-size: 2.2rem; }

.prop-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 1;
    backdrop-filter: blur(6px);
}
.prop-badge.satilik {
    background: rgba(45,48,64,0.88);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}
.prop-badge.kiralik {
    background: rgba(var(--accent-rgb),0.92);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.prop-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.prop-card-cat {
    font-size: 0.68rem;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.prop-card-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.prop-card-loc {
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.prop-card-loc i { color: var(--accent); font-size: 0.72rem; flex-shrink: 0; }

.prop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.prop-price { font-size: 1.15rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.prop-price small { font-size: 0.68rem; color: var(--muted); font-weight: 400; display: block; }

.prop-meta { display: flex; gap: 8px; font-size: 0.74rem; color: var(--muted); flex-wrap: wrap; }
.prop-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid var(--border-light);
}
.prop-meta i { color: var(--accent); font-size: 0.67rem; }

/* ===== FEATURES / WHY US ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 26px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--accent-rgb), 0.35);
}
.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    border: 1.5px solid rgba(var(--accent-rgb), 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.feature-icon i { color: var(--accent); font-size: 1.4rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb),0.08);
    pointer-events: none;
}
.cta-banner-text { flex: 1; }
.cta-banner-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}
.cta-banner-text p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.7; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ===== LISTINGS HEADER — Light ===== */
.listings-header {
    background: linear-gradient(160deg, #f0f7ff 0%, #e8f2fd 60%, #f5f0ff 100%);
    padding: 50px 0 72px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.listings-header::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb),0.1) 0%, transparent 65%);
    pointer-events: none;
}
.listings-header h1 {
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.listings-header h1 i { color: var(--accent); font-size: 1.5rem; }
.listings-header .subtitle {
    color: var(--muted);
    font-size: 0.92rem;
    position: relative;
}
.listings-header .subtitle b { color: var(--primary); }

/* ===== FILTER CARD ===== */
.filter-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-top: -38px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border);
}

.filter-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.filter-row + .filter-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.filter-card .fg {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 130px;
}
.filter-card .fg-sm { min-width: 110px; max-width: 160px; }
.filter-card label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.filter-card label i { color: var(--accent); font-size: 0.65rem; }
.filter-card input,
.filter-card select {
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    height: 42px;
}
.filter-card input:focus,
.filter-card select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}
.filter-card .btn-filter {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    white-space: nowrap;
    transition: all var(--transition);
    align-self: flex-end;
    height: 42px;
    box-shadow: 0 3px 10px rgba(45,48,64,0.2);
}
.filter-card .btn-filter:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(45,48,64,0.3);
}
.filter-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
    flex-shrink: 0;
}
.btn-filter-clear {
    background: #fff !important;
    color: var(--muted) !important;
    border: 1.5px solid var(--border) !important;
    box-shadow: none !important;
}
.btn-filter-clear:hover {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Filter results info + sort */
.filter-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-results-count { font-size: 0.875rem; color: var(--muted); }
.filter-results-count b { color: var(--primary); font-weight: 700; }

/* Active filter tags */
.filter-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
    margin-bottom: -4px;
}
.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-light);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ===== LISTINGS PAGE - Sidebar + List ===== */
.listings-page { padding: 24px 0 48px; background: var(--bg); }
.listings-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.listings-breadcrumb a { color: var(--muted); transition: color var(--transition); }
.listings-breadcrumb a:hover { color: var(--accent); }
.listings-breadcrumb .sep { color: var(--muted-light); }

.listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.listings-sidebar {
    position: sticky;
    top: 88px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    min-width: 0;
}
.listings-filter-form .filter-section {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}
.listings-filter-form .filter-section:first-child { margin-top: 0; }
.listings-filter-form .filter-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.listings-filter-form .filter-section h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}
.listings-filter-form .filter-section select,
.listings-filter-form .filter-section input[type="number"],
.listings-filter-form .filter-section input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    height: 42px;
    box-sizing: border-box;
}
.listings-filter-form .filter-section select:disabled {
    background: var(--bg);
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.9;
}
.listings-filter-form .filter-fields { display: flex; flex-direction: column; gap: 10px; }
.listings-filter-form .filter-fields > label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}
.listings-filter-form .filter-fields-inline { flex-direction: row; gap: 10px; }
.listings-filter-form .filter-fields-inline input { flex: 1; min-width: 0; }
.filter-radios { display: flex; flex-direction: column; gap: 8px; }
.filter-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    min-height: 22px;
}
.filter-radio input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.filter-radio span { font-weight: 500; color: var(--text); }
.filter-actions-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.filter-actions-wrap .btn-filter,
.filter-actions-wrap .btn-filter-clear {
    width: 100%;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    box-sizing: border-box;
}
.filter-actions-wrap .btn-filter-primary {
    background: var(--primary);
    color: #fff;
    border: none;
}
.filter-actions-wrap .btn-filter-primary:hover { background: var(--primary-light); color: #fff; }
.filter-actions-wrap .btn-filter-clear {
    background: #fff;
    color: var(--muted);
    border: 1.5px solid var(--border);
}
.filter-actions-wrap .btn-filter-clear:hover { color: var(--primary); border-color: var(--primary); background: #fff; }

.listings-main { min-width: 0; }
.listings-result-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.listings-result-subtitle { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.listings-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.listings-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text);
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition);
}
.listings-tag:hover { border-color: var(--accent); background: var(--accent-light); color: var(--accent-dark); }
.listings-tag .fa-xmark { font-size: 0.7rem; }
.listings-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 16px;
}
.listings-tab-active {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    margin-bottom: -2px;
    padding-bottom: 12px;
}
.listings-sort-form { display: inline-block; }
.listings-sort-label select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    background: #fff;
}

.prop-list { list-style: none; margin: 0; padding: 0; }
.prop-list-card { margin-bottom: 16px; }
.prop-list-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.prop-list-link:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.prop-list-img {
    position: relative;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 200px;
    flex-shrink: 0;
    background: var(--border-light);
    overflow: hidden;
    border-right: 1px solid var(--border);
    z-index: 0;
}
.prop-list-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prop-list-img.img-error img { display: none !important; }
.prop-list-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    gap: 8px;
    font-size: 0.8rem;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}
.prop-list-img-placeholder i { font-size: 2rem; color: var(--muted-light); }
.prop-list-photo-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.prop-list-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.prop-list-badge.satilik { background: rgba(13,36,56,0.9); color: #fff; }
.prop-list-badge.kiralik { background: rgba(197,160,89,0.9); color: #fff; }
.prop-list-favori {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition), background var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.prop-list-favori:hover { color: var(--danger); background: #fff; }

.prop-list-body {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}
.prop-list-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--danger, #dc2626);
    line-height: 1.2;
    margin: 0;
}
.prop-list-price small { font-size: 0.75rem; color: var(--muted); font-weight: 400; }
.prop-list-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}
.prop-list-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prop-list-loc-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 2px;
}
.prop-list-loc {
    font-size: 0.85rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.prop-list-loc i { color: var(--accent); flex-shrink: 0; }
.prop-list-date {
    font-size: 0.78rem;
    color: var(--muted-light);
    flex-shrink: 0;
}
.prop-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}
.prop-list-action-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.prop-list-action-btn:hover { border-color: var(--accent); color: var(--accent); }
.prop-list-action-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.prop-list-action-primary:hover { background: var(--primary-light); color: #fff; border-color: var(--primary-light); }
.prop-list-action-share { border: none; background: transparent; }

.listings-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.listings-empty .empty-state-icon { margin-bottom: 16px; }
.listings-empty h3 { font-size: 1.1rem; margin-bottom: 8px; }
.listings-empty p { margin-bottom: 20px; color: var(--muted); }


/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--white);
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    margin-top: 24px;
}
.empty-state-icon {
    width: 76px;
    height: 76px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--border);
}
.empty-state-icon i { font-size: 1.8rem; color: var(--muted-light); }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }


/* ===== PAGINATION ===== */
.site-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 52px;
    flex-wrap: wrap;
}
.site-pagination a,
.site-pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
    background: #fff;
    transition: all var(--transition);
    padding: 0 12px;
}
.site-pagination a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.site-pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 3px 10px rgba(var(--accent-rgb), 0.35); }
.site-pagination .disabled { opacity: 0.3; pointer-events: none; }


/* ===== DETAIL PAGE ===== */
.detail-hero {
    background: linear-gradient(160deg, #f0f7ff, #e8f2fd);
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { color: var(--muted-light); }
.breadcrumb span.current { color: var(--primary); font-weight: 600; }

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* Gallery */
.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    cursor: zoom-in;
    position: relative;
    box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-main:hover img { transform: scale(1.02); }

.gallery-count {
    position: absolute;
    bottom: 14px; right: 14px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 5px;
}
.detail-gallery-block .gallery-open-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 6px;
    padding: 8px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.detail-gallery-block .gallery-open-hint:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.gallery-thumbs img {
    width: 84px; height: 62px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: all var(--transition);
    opacity: 0.75;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { border-color: var(--accent); opacity: 1; box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.35); }

/* Detail info */
.detail-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
.detail-price-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.detail-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.detail-price-per { font-size: 0.78rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
.detail-title { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; line-height: 1.4; }
.detail-loc { font-size: 0.875rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.detail-loc i { color: var(--accent); flex-shrink: 0; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.spec-item {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color var(--transition);
}
.spec-item:hover { border-color: rgba(var(--accent-rgb), 0.25); }
.spec-icon {
    width: 34px; height: 34px;
    background: var(--accent-light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.spec-icon i { color: var(--accent); font-size: 0.8rem; }
.spec-text .spec-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.spec-text .spec-val { font-size: 0.9rem; font-weight: 700; color: var(--primary); }

.detail-desc { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 18px; }
.detail-desc-title {
    font-weight: 800; color: var(--primary); margin-bottom: 12px;
    font-size: 0.95rem; display: flex; align-items: center; gap: 8px;
}
.detail-desc-title::before {
    content: ''; width: 3px; height: 18px;
    background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
.detail-desc-content { color: var(--text-light); white-space: pre-line; font-size: 0.9rem; line-height: 1.8; }

/* Contact card */
.contact-card {
    background: linear-gradient(150deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    padding: 26px;
    color: #fff;
    position: sticky;
    top: 88px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.08);
}
.contact-card-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; color: #fff; line-height: 1.3; }
.contact-agent { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-agent-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.2); }
.contact-agent-avatar i { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.contact-agent-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.contact-agent-role { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

.contact-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 16px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.9rem; margin-bottom: 10px;
    cursor: pointer; border: none; width: 100%;
    text-decoration: none; font-family: inherit;
    transition: all var(--transition); letter-spacing: 0.2px;
}
.contact-btn-phone { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(197,160,89,0.3); }
.contact-btn-phone:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(197,160,89,0.5); }
.contact-btn-wa { background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.25); }
.contact-btn-wa:hover { background: #1da851; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.contact-phone-display { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.contact-no-phone { background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.65); text-align: center; line-height: 1.7; }

.detail-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-views { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }

/* Detail page - hepsiemlak layout */
.section-detail { padding-top: 20px; padding-bottom: 48px; }
.detail-page-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.35;
}
.detail-top-row {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    margin-bottom: 20px;
}
.detail-gallery-block { min-width: 0; }
.gallery-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    gap: 10px;
}
.gallery-placeholder i { font-size: 2.4rem; }
.gallery-count {
    bottom: 14px;
    right: 14px;
    left: auto;
    padding: 5px 12px;
}
.detail-summary-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    align-self: start;
}
.detail-price-box { margin-bottom: 16px; }
.detail-summary-block .detail-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--danger, #dc2626);
    line-height: 1.2;
    display: block;
}
.detail-price-per {
    font-size: 0.8rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}
.detail-facts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.detail-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}
.detail-facts li:last-child { border-bottom: none; }
.fact-label { color: var(--muted); flex-shrink: 0; }
.fact-val { color: var(--text); font-weight: 600; text-align: right; word-break: break-word; }

.detail-tags-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.detail-tag {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}
.detail-action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.detail-share-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}
.detail-share-btn:hover { color: var(--accent); }
.detail-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), color var(--transition);
}
.detail-icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.detail-content { min-width: 0; }
.detail-tabs { margin-bottom: 24px; }
.detail-tab-head {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 18px;
}
.detail-tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    font-family: inherit;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition), border-color var(--transition);
}
.detail-tab-btn:hover { color: var(--primary); }
.detail-tab-btn.active { color: var(--primary); border-bottom-color: var(--accent); }
.detail-tab-pane { display: none; }
.detail-tab-pane.active { display: block; }
.detail-desc-content { color: var(--text-light); font-size: 0.9rem; line-height: 1.8; white-space: pre-line; }
.detail-spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.detail-spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}
.spec-list-label { color: var(--muted); }
.spec-list-val { font-weight: 600; color: var(--primary); }
.detail-no-content { color: var(--muted); font-size: 0.9rem; }

.contact-agent-info { flex: 1; min-width: 0; }
.contact-agent-link {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    display: inline-block;
}
.contact-agent-link:hover { color: #fff; }
.contact-phone-reveal { margin-bottom: 10px; }
.contact-btn-reveal {
    background: var(--danger, #dc2626) !important;
    color: #fff !important;
    border: none !important;
}
.contact-btn-reveal:hover { background: #b91c1c !important; color: #fff !important; }
.contact-phone-value {
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    text-align: center;
}
.contact-phone-value a { color: #fff; font-weight: 700; }
.contact-btn-msg {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.contact-btn-msg:hover { background: rgba(255,255,255,0.25); color: #fff; }
.contact-security {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-security h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-security p { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }
.contact-other-listings { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-other-listings h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.contact-other-listings ul { list-style: none; margin: 0; padding: 0; }
.contact-other-listings li { margin-bottom: 12px; }
.contact-other-listings li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    transition: background var(--transition);
}
.contact-other-listings li a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.contact-other-listings li img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.oth-no-img {
    width: 56px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
}
.oth-title { flex: 1; min-width: 0; font-size: 0.8rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oth-price { font-size: 0.8rem; font-weight: 700; color: var(--accent); flex-shrink: 0; }

.detail-parsel-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.detail-parsel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-parsel-title i { color: var(--accent); }
.detail-parsel-iframe-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.detail-parsel-iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: none;
}

/* ===== 404 ===== */
.page-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.page-404 .num { font-size: 7rem; font-weight: 900; color: var(--primary); opacity: 0.06; line-height: 1; user-select: none; }
.page-404 h2 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin: -40px 0 12px; }
.page-404 p { color: var(--muted); margin-bottom: 28px; }


/* ===== SITE FOOTER ===== */
.site-footer {
    background: #1a1d24;
    color: rgba(255,255,255,0.7);
    padding: 56px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px 32px;
    padding-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 16px;
    transition: opacity var(--transition);
}
.footer-brand-logo:hover { opacity: 0.9; color: #fff; }
.footer-brand-logo-icon {
    width: 42px;
    height: 42px;
    background: #fff; /* beyaz arka plan */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c41e3a; /* ikon rengi */
    font-size: 1rem;
}
.footer-brand-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.55);
    margin: 0 0 20px;
}
.footer-brand-contact { margin-top: 0; }
.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #fff; /* beyaz yazı */
}
.footer-contact-item i { color: #c41e3a; font-size: 0.8rem; }

.footer-col-title {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.footer-copy { margin: 0; }
.footer-bottom-links { display: flex; align-items: center; gap: 20px; }
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }


/* ===== BUTTONS ===== */
.btn-site {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border-radius: 10px;
    font-weight: 700; font-size: 0.9rem;
    cursor: pointer; border: none;
    font-family: inherit; transition: all 0.22s;
    text-decoration: none; letter-spacing: 0.2px;
}
.btn-primary-site {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}
.btn-primary-site:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.5); color: #fff; }

.btn-secondary-site {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26,60,94,0.25);
}
.btn-secondary-site:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,60,94,0.35); color: #fff; }

.btn-outline-site {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-site:hover { background: var(--primary); color: #fff; }

.btn-outline-light {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); background: rgba(197,160,89,0.08); }


/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
.lightbox-close {
    position: absolute;
    top: 18px; right: 20px;
    color: rgba(255,255,255,0.75);
    font-size: 1.5rem; cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.8); font-size: 1.3rem;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    width: 52px; height: 52px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); color: #fff; transform: translateY(-50%) scale(1.05); }


/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .detail-top-row { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .contact-card { position: static; }
    .detail-tags-actions { flex-direction: column; align-items: flex-start; }
    .detail-page-title { font-size: 1.25rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; max-width: 100%; }
    .quick-types { grid-template-columns: repeat(3, 1fr); }
    .cta-banner { flex-direction: column; text-align: center; padding: 44px 32px; }
    .cta-banner-actions { justify-content: center; }
}

/* Mobile */
@media (max-width: 768px) {
    .site-nav { padding: 0 16px; height: 60px; max-width: none; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px 16px 20px;
        gap: 4px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-link-item { padding: 14px 16px; font-size: 0.95rem; border-radius: 8px; }
    .nav-link-item.active { background: rgba(196,30,58,0.08); color: #c41e3a; }
    .nav-cta-wrap { flex-direction: column; margin-left: 0; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); gap: 8px; }
    .nav-cta { justify-content: center; width: 100%; padding: 12px 16px; }
    .nav-hamburger { display: flex; }
    .site-nav { position: relative; }

    /* Hero */
    .hero { min-height: auto; padding: 64px 20px 90px; }
    .hero-hepsiemlak { padding: 40px 16px 56px; min-height: auto; }
    .hero-hepsiemlak .hero-headline { font-size: clamp(1.35rem, 5vw, 2rem); margin-bottom: 20px; }
    .hero-tabs-underline .hero-tab { padding: 8px 16px; font-size: 0.88rem; }
    .hero-search-white { flex-direction: column; padding: 10px; max-width: 100%; }
    .hero-search-white .hero-search-cat { border-right: none; border-bottom: 1px solid var(--border); min-width: 100%; padding: 12px 16px; }
    .hero-search-white .hero-search-input { min-width: 100%; padding: 12px 16px; }
    .hero-search-white .hero-search-btn { width: 100%; justify-content: center; padding: 14px; }
    .hero-quick-links-wrap { margin-top: 20px; max-width: 100%; }
    .hero-quick-links-nav { width: 36px; height: 36px; font-size: 0.8rem; }
    .hero-quick-link { padding: 8px 16px; font-size: 0.82rem; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-search input, .hero-search select { width: 100%; height: 44px; }
    .hero-search .btn-search { width: 100%; justify-content: center; height: 44px; }
    .hero-quick-info { gap: 16px; }

    /* Stats */
    .stats-inner { grid-template-columns: 1fr; gap: 12px; }

    /* Sections */
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 36px; }

    /* Quick types */
    .quick-types { grid-template-columns: 1fr; gap: 12px; }

    /* Listings header */
    .listings-header { padding: 32px 0 48px; }
    .listings-header .subtitle { font-size: 0.85rem; word-break: break-word; }

    /* Listings page - sidebar layout */
    .listings-layout { grid-template-columns: 1fr; }
    .listings-sidebar { position: static; }
    .prop-list-link { flex-direction: column; }
    .prop-list-img { width: 100%; min-width: 100%; max-width: none; height: 200px; }
    .prop-list-body { padding: 16px; }
    .prop-list-actions { flex-wrap: wrap; }
    .listings-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .listings-tab-active { margin-bottom: 0; }

    /* Filter */
    .filter-card { padding: 16px; margin-top: -28px; margin-left: -24px; margin-right: -24px; border-radius: 0; border-left: none; border-right: none; }
    .filter-row { flex-direction: column; gap: 12px; }
    .filter-row + .filter-row { gap: 12px; padding-top: 12px; }
    .filter-card .fg, .filter-card .fg-sm { min-width: unset; max-width: unset; width: 100%; }
    .filter-card input, .filter-card select { height: 46px; width: 100%; max-width: 100%; }
    .filter-actions { width: 100%; align-self: stretch; flex-direction: column; gap: 10px; }
    .filter-card .btn-filter, .filter-card .btn-filter-clear { width: 100%; justify-content: center; height: 46px; }
    .filter-tags { margin-top: 12px; gap: 8px; }
    .filter-tag { font-size: 0.7rem; padding: 6px 10px; }
    .filter-results-info { flex-direction: column; align-items: flex-start; margin-top: 18px; gap: 8px; }

    /* Property grid */
    .prop-grid { grid-template-columns: 1fr; gap: 14px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
    .footer-brand { grid-column: auto; max-width: 100%; }
    .footer-brand-desc { max-width: 100%; }
    .features-grid { grid-template-columns: 1fr; gap: 14px; }

    /* Detail */
    .detail-specs { grid-template-columns: 1fr 1fr; }
    .detail-parsel-section { margin-top: 36px; padding-top: 24px; }
    .detail-parsel-iframe { height: 400px; }

    /* CTA */
    .cta-banner { padding: 36px 24px; }
}

/* Small mobile */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .prop-grid { grid-template-columns: 1fr; }
    .hero { padding: 52px 16px 72px; }
    .hero-hepsiemlak .hero-headline { font-size: 1.4rem; }
    .hero h1 { font-size: 1.85rem; }
    .hero-subtitle { font-size: 0.88rem; margin-bottom: 24px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn-site { padding: 11px 20px; font-size: 0.84rem; }
    .prop-card-img { height: 190px; }
    .detail-specs { grid-template-columns: 1fr 1fr; gap: 8px; }
    .detail-summary-block .detail-price { font-size: 1.5rem; }
    .detail-tab-head { overflow-x: auto; }
    .detail-tab-btn { white-space: nowrap; padding: 10px 14px; font-size: 0.85rem; }
    .gallery-thumbs img { width: 70px; height: 52px; }
    .lightbox-prev { left: 8px; width: 42px; height: 42px; }
    .lightbox-next { right: 8px; width: 42px; height: 42px; }
    .lightbox img { max-width: 96vw; max-height: 80vh; }
    .site-pagination a, .site-pagination span { min-width: 36px; height: 36px; font-size: 0.82rem; }
    .listings-header { padding: 24px 0 36px; }
    .listings-header h1 { font-size: 1.5rem; gap: 8px; flex-wrap: wrap; }
    .listings-header h1 i { font-size: 1.25rem; }
    .filter-card { margin-left: -16px; margin-right: -16px; }
    .empty-state { padding: 40px 16px; margin-left: -16px; margin-right: -16px; border-radius: 0; }
    .empty-state-icon { width: 64px; height: 64px; font-size: 1.75rem; margin-bottom: 16px; }
    .empty-state h3 { font-size: 1.15rem; }
    .empty-state p { font-size: 0.9rem; }
    .empty-state .btn-site { width: 100%; justify-content: center; }
}

/* Touch device enhancements */
@media (hover: none) {
    .prop-card:hover { transform: none; }
    .prop-card:active { transform: scale(0.98); }
    .btn-site:hover { transform: none; }
    .btn-site:active { transform: scale(0.97); }
    .nav-links a:hover { background: transparent; }
}

/* ===== DETAIL PAGE — Markdown Açıklama İçeriği ===== */
.detail-desc-md {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.detail-desc-md p {
    margin: 0 0 0.6em;
}
.detail-desc-md p:last-child { margin-bottom: 0; }

.detail-desc-md h1,
.detail-desc-md h2,
.detail-desc-md h3,
.detail-desc-md h4 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
    margin: 1em 0 0.3em;
    letter-spacing: -0.01em;
}
.detail-desc-md h1 { font-size: 1.1rem; }
.detail-desc-md h2 { font-size: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
.detail-desc-md h3 { font-size: 0.925rem; color: var(--primary); }
.detail-desc-md h4 { font-size: 0.9rem; color: var(--text); }
.detail-desc-md > *:first-child { margin-top: 0; }

.detail-desc-md ul,
.detail-desc-md ol {
    margin: 0 0 0.6em;
    padding-left: 0;
}
.detail-desc-md ul { list-style: none; }
.detail-desc-md ul li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 0.2em;
    line-height: 1.6;
}
.detail-desc-md ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.detail-desc-md ol { list-style: decimal; padding-left: 1.4em; }
.detail-desc-md ol li { margin-bottom: 0.2em; line-height: 1.6; }
.detail-desc-md ol li::marker { color: var(--accent); font-weight: 700; }

.detail-desc-md ul ul,
.detail-desc-md ol ul { margin: 0.2em 0 0.2em 1em; }
.detail-desc-md ul ul li::before { background: var(--muted-light); width: 4px; height: 4px; }

.detail-desc-md strong { font-weight: 700; color: var(--primary-dark); }
.detail-desc-md em { font-style: italic; }
.detail-desc-md del { color: var(--muted); text-decoration: line-through; }

.detail-desc-md a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}
.detail-desc-md a:hover { color: var(--accent); }

.detail-desc-md code {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.82em;
    font-family: 'SFMono-Regular', Consolas, monospace;
    color: var(--primary);
}

.detail-desc-md pre {
    background: var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    overflow-x: auto;
    margin: 0 0 0.6em;
}
.detail-desc-md pre code {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.82rem;
    color: #e2e8f0;
}

.detail-desc-md blockquote {
    border-left: 3px solid var(--accent);
    background: var(--accent-light);
    margin: 0 0 0.6em;
    padding: 8px 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}
.detail-desc-md blockquote p { margin: 0; }

.detail-desc-md hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.8em 0;
}

.detail-desc-md table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 0.6em;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.detail-desc-md thead tr { background: var(--primary); color: #fff; }
.detail-desc-md thead th { padding: 7px 12px; text-align: left; font-weight: 700; font-size: 0.78rem; }
.detail-desc-md td { padding: 6px 12px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.detail-desc-md tbody tr:last-child td { border-bottom: none; }
.detail-desc-md tbody tr:nth-child(even) { background: var(--bg); }

.detail-desc-md img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin: 0.4em 0;
    display: block;
}
