/* Modern tema — ayarlar.aktif_tema = 'modern' iken SiteHead filtresi tarafından yüklenir. */
.theme-modern {
    --m-yellow: #ffd200;
    --m-yellow-d: #f0c400;
    --m-ink: #1a2030;
    --m-text: #2e3648;
    --m-muted: #6c7489;
    --m-line: #e5e8ef;
    --m-line-2: #eef0f5;
    --m-bg: #f3f5f8;
    --m-card: #fff;
    --m-blue: #1d4fa3;
    --m-blue-d: #143b7d;
    --m-blue-soft: #eaf1fd;
    --m-red: #e0312b;
    --m-green: #12a150;
    --m-radius: 12px;
    --m-radius-sm: 8px;
    --m-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .05);
    --m-shadow-lg: 0 10px 30px rgba(16, 24, 40, .12);
    --bs-primary: #1d4fa3;
    --bs-primary-rgb: 29, 79, 163;
    --bs-link-color: #1d4fa3;
    --bs-link-color-rgb: 29, 79, 163;
    --bs-link-hover-color: #143b7d;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --bs-body-color: #2e3648;
    --bs-border-color: #e5e8ef;
    font-family: var(--bs-body-font-family);
    background: var(--m-bg) !important;
    color: var(--m-text);
    -webkit-font-smoothing: antialiased;
}
.theme-modern.m-no-scroll { overflow: hidden; }
.theme-modern a { color: var(--m-blue); text-decoration: none; }
.theme-modern a:hover { color: var(--m-blue-d); }
.theme-modern h1, .theme-modern h2, .theme-modern h3, .theme-modern h4, .theme-modern h5, .theme-modern h6 { color: var(--m-ink); font-weight: 700; letter-spacing: -.01em; }
.theme-modern .m-container,
.theme-modern .m-main > .container,
.theme-modern .m-main > .container-fluid { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.theme-modern .m-main { min-height: 60vh; padding-bottom: 32px; }

/* Bootstrap uyarlamaları */
.theme-modern .btn { border-radius: var(--m-radius-sm); font-weight: 600; }
.theme-modern .btn-primary { --bs-btn-bg: var(--m-blue); --bs-btn-border-color: var(--m-blue); --bs-btn-hover-bg: var(--m-blue-d); --bs-btn-hover-border-color: var(--m-blue-d); --bs-btn-active-bg: var(--m-blue-d); --bs-btn-active-border-color: var(--m-blue-d); --bs-btn-disabled-bg: var(--m-blue); --bs-btn-disabled-border-color: var(--m-blue); }
.theme-modern .btn-outline-primary { --bs-btn-color: var(--m-blue); --bs-btn-border-color: #c9d6ee; --bs-btn-hover-bg: var(--m-blue); --bs-btn-hover-border-color: var(--m-blue); --bs-btn-active-bg: var(--m-blue-d); --bs-btn-active-border-color: var(--m-blue-d); }
.theme-modern .btn-warning { --bs-btn-bg: var(--m-yellow); --bs-btn-border-color: var(--m-yellow); --bs-btn-hover-bg: var(--m-yellow-d); --bs-btn-hover-border-color: var(--m-yellow-d); --bs-btn-color: var(--m-ink); --bs-btn-hover-color: var(--m-ink); }
.theme-modern .text-primary { color: var(--m-blue) !important; }
.theme-modern .bg-primary { background-color: var(--m-blue) !important; }
.theme-modern .border-primary { border-color: #c9d6ee !important; }
.theme-modern .card { border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow); }
.theme-modern .card-header { background: #fafbfd; border-bottom: 1px solid var(--m-line); font-weight: 600; color: var(--m-ink); }
.theme-modern .card-header:first-child { border-radius: calc(var(--m-radius) - 1px) calc(var(--m-radius) - 1px) 0 0; }
.theme-modern .form-control, .theme-modern .form-select { border-color: #d9dee8; border-radius: var(--m-radius-sm); }
.theme-modern .form-control:focus, .theme-modern .form-select:focus { border-color: #8fb0e6; box-shadow: 0 0 0 .2rem rgba(29, 79, 163, .12); }
.theme-modern .form-label { font-weight: 600; color: var(--m-ink); font-size: .88rem; }
.theme-modern .form-check-input:checked { background-color: var(--m-blue); border-color: var(--m-blue); }
.theme-modern .pagination { --bs-pagination-color: var(--m-blue); --bs-pagination-active-bg: var(--m-blue); --bs-pagination-active-border-color: var(--m-blue); --bs-pagination-border-radius: 8px; gap: 4px; }
.theme-modern .page-link { border-radius: 8px !important; min-width: 36px; text-align: center; }
.theme-modern .nav-pills .nav-link.active { background: var(--m-blue); }
.theme-modern .list-group-item.active { background: var(--m-blue); border-color: var(--m-blue); }
.theme-modern .alert { border-radius: var(--m-radius); }
.theme-modern .dropdown-menu { border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow-lg); }
.theme-modern .modal-content { border-radius: 16px; }
.theme-modern .theme-breadcrumb .breadcrumb,
.theme-modern .m-breadcrumb { margin: 0 0 14px; padding: 0; background: none; border: 0; font-size: .82rem; font-weight: 500; }
.theme-modern .theme-breadcrumb .breadcrumb-item a, .theme-modern .m-breadcrumb a { color: var(--m-blue); }
.theme-modern .theme-breadcrumb .breadcrumb-item.active { color: var(--m-muted); }

/* Üst bar */
.m-topbar { background: #1a2030; color: #c6cbd8; font-size: .78rem; }
.m-topbar .m-container { height: 34px; }
.m-topbar a { color: #c6cbd8 !important; display: inline-flex; align-items: center; gap: 4px; }
.m-topbar a:hover { color: #fff !important; }
.m-topbar i { font-size: 1rem; }

/* Header */
.m-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--m-line); transition: box-shadow .2s; }
.m-header.scrolled { box-shadow: 0 6px 20px rgba(16, 24, 40, .08); }
.m-header-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.m-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.m-brand img { max-height: 44px; max-width: 190px; object-fit: contain; }
.m-brand-text { display: inline-block; background: var(--m-yellow); color: var(--m-ink); font-weight: 800; font-size: 1.15rem; padding: 7px 12px; border-radius: 8px; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.m-brand-text.sm { font-size: .95rem; padding: 5px 10px; }
.m-search { flex: 1; display: flex; align-items: stretch; max-width: 640px; height: 44px; border: 2px solid var(--m-ink); border-radius: 10px; overflow: hidden; background: #fff; }
.m-search-cat { border: 0; border-right: 1px solid var(--m-line); background: #f6f7fa; padding: 0 12px; font-size: .84rem; font-weight: 600; color: var(--m-ink); max-width: 170px; outline: none; }
.m-search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: .92rem; outline: none; background: transparent; }
.m-search button { border: 0; background: var(--m-ink); color: #fff; width: 54px; font-size: 1.35rem; display: inline-flex; align-items: center; justify-content: center; }
.m-search button:hover { background: #000; }
.m-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.m-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--m-ink) !important; font-size: 1.45rem; }
.m-icon-btn:hover { background: var(--m-bg); }
.m-dot { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--m-red); color: #fff; font-size: .66rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.m-account-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--m-line); background: #fff; border-radius: 10px; height: 40px; padding: 0 12px; font-weight: 600; font-size: .86rem; color: var(--m-ink); max-width: 220px; }
.m-account-btn i { font-size: 1.35rem; }
.m-account-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-dropdown { min-width: 240px; padding: 6px; }
.m-dropdown .dropdown-item { border-radius: 8px; padding: 8px 10px; font-size: .88rem; display: flex; align-items: center; gap: 8px; color: var(--m-text); }
.m-dropdown .dropdown-item i { font-size: 1.1rem; color: var(--m-muted); }
.m-link-btn { font-weight: 600; font-size: .86rem; color: var(--m-ink) !important; padding: 0 4px; }
.m-link-btn:hover { color: var(--m-blue) !important; }
.m-sep { color: #c9ced9; }
.m-cta { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 10px; background: var(--m-yellow); color: var(--m-ink) !important; font-weight: 700; font-size: .9rem; white-space: nowrap; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); }
.m-cta:hover { background: var(--m-yellow-d); }
.m-cta i { font-size: 1.25rem; }
.m-mobile-search { display: none; padding: 0 16px 12px; }
.m-mobile-search.show { display: block; }
.m-mobile-search .m-search { max-width: none; }

/* Kategori şeridi + mega menü */
.m-catbar { border-top: 1px solid var(--m-line-2); background: #fff; }
.m-catbar-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.m-catbar-item { position: relative; }
.m-catbar-item > a { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; font-size: .86rem; font-weight: 600; color: var(--m-text) !important; border-bottom: 2px solid transparent; }
.m-catbar-item > a i { font-size: 1.15rem; color: var(--m-muted); }
.m-catbar-item > a:hover, .m-catbar-item > a.active { color: var(--m-blue) !important; border-bottom-color: var(--m-yellow); }
.m-catbar-item > a:hover i, .m-catbar-item > a.active i { color: var(--m-blue); }
.m-mega { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--m-line); border-radius: 0 0 12px 12px; box-shadow: var(--m-shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; z-index: 20; }
.m-catbar-item:hover .m-mega, .m-catbar-item:focus-within .m-mega { opacity: 1; visibility: visible; transform: none; }
.m-mega-head a { display: block; font-weight: 700; padding: 6px 10px 10px; border-bottom: 1px solid var(--m-line-2); margin-bottom: 6px; color: var(--m-ink) !important; }
.m-mega-head small { color: var(--m-muted); font-weight: 500; }
.m-mega ul { list-style: none; margin: 0; padding: 0; }
.m-mega li a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: .86rem; color: var(--m-text) !important; }
.m-mega li a span { color: var(--m-muted); font-size: .78rem; }
.m-mega li a:hover { background: var(--m-blue-soft); color: var(--m-blue) !important; }

/* Mobil çekmece */
.m-drawer-backdrop { position: fixed; inset: 0; background: rgba(16, 24, 40, .45); opacity: 0; visibility: hidden; transition: .2s; z-index: 1040; }
.m-drawer-backdrop.show { opacity: 1; visibility: visible; }
.m-drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; z-index: 1045; transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.m-drawer.open { transform: none; }
.m-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--m-line); }
.m-drawer-body { overflow-y: auto; padding: 12px 10px 90px; }
.m-drawer-body > a, .m-drawer-body details > a, .m-drawer-body summary { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; color: var(--m-text) !important; font-size: .92rem; font-weight: 500; cursor: pointer; }
.m-drawer-body > a:hover, .m-drawer-body summary:hover { background: var(--m-bg); }
.m-drawer-body i { font-size: 1.2rem; color: var(--m-muted); }
.m-drawer-body small { margin-left: auto; color: var(--m-muted); }
.m-drawer-body summary { list-style: none; }
.m-drawer-body summary::-webkit-details-marker { display: none; }
.m-drawer-body details > a.sub { padding-left: 42px; font-size: .86rem; }
.m-drawer-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--m-muted); padding: 14px 10px 6px; }
.m-drawer-user { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 10px 12px; color: var(--m-ink); }

/* Footer */
.m-footer { background: #151a26; color: #aab1c2; margin-top: 40px; padding: 44px 0 0; font-size: .88rem; }
.m-footer h6 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.m-footer ul { list-style: none; padding: 0; margin: 0; }
.m-footer li { margin-bottom: 8px; }
.m-footer a { color: #aab1c2 !important; }
.m-footer a:hover { color: #fff !important; }
.m-footer-desc { max-width: 360px; line-height: 1.6; }
.m-contact li { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.m-contact a, .m-contact span { min-width: 0; overflow-wrap: anywhere; }
.m-contact i { font-size: 1.1rem; margin-top: 1px; }
.m-social { display: flex; gap: 8px; }
.m-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.m-social a:hover { background: var(--m-yellow); color: var(--m-ink) !important; }
.m-footer-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 34px; padding: 18px 0; font-size: .8rem; }
.m-safe { display: inline-flex; align-items: center; gap: 6px; }

/* Mobil alt menü */
.m-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: #fff; border-top: 1px solid var(--m-line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(16, 24, 40, .06); }
.m-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 600; color: var(--m-muted) !important; }
.m-bottom-nav a i { font-size: 1.35rem; }
.m-bottom-nav a.active { color: var(--m-blue) !important; }
.m-bottom-nav .m-bottom-cta i { background: var(--m-yellow); color: var(--m-ink); width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: -18px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
@media (max-width: 991.98px) {
    .theme-modern { padding-bottom: 68px; }
    .m-header-row { height: 60px; gap: 8px; }
    .m-brand img { max-height: 36px; max-width: 140px; }
    .m-brand-text { font-size: 1rem; padding: 6px 10px; }
    .m-cta { height: 38px; padding: 0 12px; }
    .m-footer { margin-top: 24px; }
}

/* Bölüm başlıkları */
.m-section { margin-top: 26px; }
.m-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.m-section-title { font-size: 1.12rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.m-section-title::before { content: ''; width: 4px; height: 18px; background: var(--m-yellow); border-radius: 2px; }
.m-section-link { font-size: .84rem; font-weight: 600; white-space: nowrap; }

/* İlan kartı (vitrin) */
.m-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.m-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; color: var(--m-text) !important; transition: box-shadow .18s, transform .18s, border-color .18s; }
.m-card:hover { box-shadow: var(--m-shadow-lg); transform: translateY(-2px); border-color: #d6dbe6; }
.m-card-media { position: relative; aspect-ratio: 4 / 3; background: #eef1f6; overflow: hidden; }
.m-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .35s; }
.m-card-media .alt { opacity: 0; }
.m-card:hover .m-card-media .alt { opacity: 1; }
.m-card:hover .m-card-media img:not(.alt) { transform: scale(1.03); }
.m-card-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; z-index: 2; }
.m-badge { display: inline-flex; align-items: center; gap: 3px; font-size: .66rem; font-weight: 800; letter-spacing: .02em; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; }
.m-badge.acil { background: var(--m-red); color: #fff; }
.m-badge.vitrin { background: var(--m-yellow); color: var(--m-ink); }
.m-badge.dijital { background: var(--m-green); color: #fff; }
.m-card-body { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.m-card-title { font-size: .84rem; font-weight: 600; line-height: 1.35; color: var(--m-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; }
.m-card-price { font-size: .98rem; font-weight: 800; color: var(--m-blue); margin-top: auto; }
.m-card-meta { display: flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-card-meta i { font-size: .9rem; }
@media (max-width: 1199.98px) { .m-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .m-grid, .m-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .m-grid, .m-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .m-card-body { padding: 8px 9px 10px; } }

/* Ana sayfa */
.m-home { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; padding-top: 20px; }
.m-home-content { min-width: 0; }
.m-side-cats { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 8px; position: sticky; top: 136px; align-self: start; max-height: calc(100vh - 150px); overflow-y: auto; }
.m-side-cats h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--m-muted); padding: 8px 10px 6px; margin: 0; }
.m-side-cat > a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--m-ink) !important; }
.m-side-cat > a:hover { background: var(--m-blue-soft); color: var(--m-blue) !important; }
.m-side-cat > a i { font-size: 1.2rem; width: 30px; height: 30px; border-radius: 8px; background: var(--m-bg); color: var(--m-blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.m-side-cat > a small { margin-left: auto; color: var(--m-muted); font-weight: 500; font-size: .74rem; }
.m-side-sub { list-style: none; margin: 0 0 6px; padding: 0 0 0 50px; }
.m-side-sub a { display: block; padding: 3px 0; font-size: .8rem; color: var(--m-muted) !important; }
.m-side-sub a:hover { color: var(--m-blue) !important; }
.m-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; }
.m-hero-main { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #1a2030 0%, #243458 100%); min-height: 300px; }
.m-hero-main .carousel, .m-hero-main .carousel-inner, .m-hero-main .carousel-item { height: 100%; }
.m-hero-main .carousel-item img { width: 100%; height: 300px; object-fit: cover; }
.m-hero-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 14, 24, .78)); }
.m-hero-cap .t { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.m-hero-cap .p { display: inline-block; margin-top: 6px; background: var(--m-yellow); color: var(--m-ink); font-weight: 800; padding: 3px 10px; border-radius: 6px; font-size: .92rem; }
.m-hero-empty { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 30px; color: #fff; }
.m-hero-empty h1 { color: #fff; font-size: 1.7rem; font-weight: 800; }
.m-hero-empty p { color: #c5ccdb; }
.m-hero-side { display: flex; flex-direction: column; gap: 14px; }
.m-promo { flex: 1; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--m-line); background: #fff; }
.m-promo.yellow { background: var(--m-yellow); border-color: var(--m-yellow); }
.m-promo .t { font-weight: 800; font-size: 1.05rem; color: var(--m-ink); }
.m-promo .d { font-size: .84rem; color: var(--m-text); }
.m-promo .btn { align-self: flex-start; margin-top: 4px; }
.theme-modern .m-promo .btn-dark { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.theme-modern .m-promo .btn-dark:hover { background: #000; color: var(--m-yellow); }
.m-quick-search .btn { white-space: nowrap; }
.m-quick-search { background: #fff; border: 1px solid var(--m-line); border-radius: 16px; padding: 14px; margin-top: 14px; box-shadow: var(--m-shadow); }
.m-quick-search .row { --bs-gutter-x: .6rem; --bs-gutter-y: .6rem; }
.m-chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.m-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--m-line); font-size: .82rem; font-weight: 600; color: var(--m-text) !important; }
.m-chip:hover { border-color: var(--m-blue); color: var(--m-blue) !important; }
.m-chip small { color: var(--m-muted); font-weight: 500; }
.m-city-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.m-city { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #243458, #1d4fa3); display: block; }
.m-city img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.m-city:hover img { transform: scale(1.05); }
.m-city span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; color: #fff; font-weight: 700; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)); line-height: 1.25; }
.m-city span small { display: block; font-weight: 500; font-size: .76rem; opacity: .9; }
.m-cat-block { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 14px; margin-bottom: 14px; }
.m-map-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, #1a2030, #243458); color: #fff; border-radius: 16px; padding: 22px 24px; }
.m-map-cta h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.m-map-cta p { margin: 0; color: #c5ccdb; }
.m-blog-card { display: block; background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; color: var(--m-text) !important; height: 100%; }
.m-blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.m-blog-card div { padding: 12px 14px; }
.m-blog-card small { color: var(--m-muted); }
.m-blog-card strong { display: block; color: var(--m-ink); margin-top: 4px; line-height: 1.35; }
@media (max-width: 1199.98px) { .m-home { grid-template-columns: 220px minmax(0, 1fr); } .m-city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
    .m-home { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }
    .m-side-cats { display: none; }
    .m-hero { grid-template-columns: minmax(0, 1fr); }
    .m-hero-side { flex-direction: row; }
    .m-hero-main, .m-hero-main .carousel-item img { min-height: 220px; height: 220px; }
    .m-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) { .m-hero-side { flex-direction: column; } .m-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Liste sayfaları (kategori / arama) */
.m-listing-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; padding-top: 18px; }
.m-filter { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); position: sticky; top: 136px; align-self: start; }
.m-filter-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--m-line); font-weight: 700; color: var(--m-ink); }
.m-filter-body { padding: 12px 14px 14px; }
.m-filter-group { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--m-line-2); }
.m-filter-group:last-of-type { border-bottom: 0; }
.m-filter-group > label, .m-filter-group > .lbl { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--m-muted); margin-bottom: 6px; }
.m-subcats { list-style: none; margin: 0; padding: 0; }
.m-subcats a { display: flex; justify-content: space-between; padding: 5px 0; font-size: .86rem; color: var(--m-text) !important; }
.m-subcats a.active, .m-subcats a:hover { color: var(--m-blue) !important; font-weight: 600; }
.m-subcats small { color: var(--m-muted); }
.m-result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 12px 14px; margin-bottom: 12px; }
.m-result-head h1 { font-size: 1.12rem; margin: 0; }
.m-result-head h1 small { font-size: .84rem; color: var(--m-muted); font-weight: 500; }
.m-result-tools { display: flex; align-items: center; gap: 8px; }
.m-view-toggle { display: inline-flex; border: 1px solid var(--m-line); border-radius: 8px; overflow: hidden; }
.m-view-toggle button { border: 0; background: #fff; width: 36px; height: 34px; font-size: 1.15rem; color: var(--m-muted); }
.m-view-toggle button.active { background: var(--m-blue); color: #fff; }
.m-rows { background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; }
.m-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px 110px; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-bottom: 1px solid var(--m-line-2); color: var(--m-text) !important; transition: background .15s; }
.m-row:last-child { border-bottom: 0; }
.m-row:hover { background: #f8faff; }
.m-row.vitrin { background: #fffbea; }
.m-row.vitrin:hover { background: #fff6cc; }
.m-row-img { position: relative; width: 150px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #eef1f6; }
.m-row-img img { width: 100%; height: 100%; object-fit: cover; }
.m-row-img .m-card-badges { top: 6px; left: 6px; }
.m-row-title { font-weight: 600; color: var(--m-ink); font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-row-sub { font-size: .78rem; color: var(--m-muted); margin-top: 4px; }
.m-row-price { font-weight: 800; color: var(--m-blue); font-size: 1rem; text-align: right; }
.m-row-meta { font-size: .78rem; color: var(--m-muted); text-align: right; line-height: 1.5; }
.m-empty { background: #fff; border: 1px dashed #cfd5e1; border-radius: var(--m-radius); padding: 40px 20px; text-align: center; color: var(--m-muted); }
.m-empty i { font-size: 2.6rem; color: #b8c0cf; display: block; margin-bottom: 8px; }
.m-filter-toggle { display: none; }
@media (max-width: 991.98px) {
    .m-listing-layout { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
    .m-filter { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 90vw); border-radius: 0; z-index: 1045; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; }
    .m-filter.open { transform: none; }
    .m-filter-toggle { display: inline-flex; }
    .m-row { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
    .m-row-img { width: 112px; }
    .m-row-price, .m-row-meta { grid-column: 2; text-align: left; }
    .m-row-price { margin-top: -6px; }
    .m-row-meta { display: none; }
}

/* İlan detay */
.m-detail { padding-top: 16px; }
.m-detail-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius) var(--m-radius) 0 0; border-bottom: 0; padding: 14px 18px; }
.m-detail-title h1 { font-size: 1.28rem; margin: 0; line-height: 1.3; }
.m-detail-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.m-act { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 11px; border: 1px solid var(--m-line); border-radius: 8px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--m-text) !important; white-space: nowrap; }
.m-act:hover { border-color: var(--m-blue); color: var(--m-blue) !important; }
.m-act i { font-size: 1.05rem; }
.m-act.on { background: #fff0f0; border-color: #f5b5b2; color: var(--m-red) !important; }
.m-detail-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 300px; gap: 18px; background: #fff; border: 1px solid var(--m-line); border-radius: 0 0 var(--m-radius) var(--m-radius); padding: 18px; }
.m-gallery-main { position: relative; aspect-ratio: 4 / 3; background: #0f1320; border-radius: 10px; overflow: hidden; }
.m-gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.m-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--m-ink); font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.m-gallery-nav.prev { left: 10px; }
.m-gallery-nav.next { right: 10px; }
.m-gallery-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.m-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.m-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #eef1f6; }
.m-thumbs button.active { border-color: var(--m-yellow); }
.m-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.m-price-big { font-size: 1.7rem; font-weight: 800; color: var(--m-blue); line-height: 1.1; }
.m-loc { font-size: .86rem; margin: 8px 0 12px; color: var(--m-text); }
.m-loc a { font-weight: 600; }
.m-info { width: 100%; border-collapse: collapse; font-size: .86rem; }
.m-info th, .m-info td { padding: 8px 0; border-bottom: 1px solid var(--m-line-2); vertical-align: top; }
.m-info th { width: 44%; color: var(--m-ink); font-weight: 700; }
.m-info td { color: var(--m-text); }
.m-info td.red { color: var(--m-red); font-weight: 700; }
.m-seller { border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; }
.m-seller-head { display: flex; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--m-line); }
.m-seller-head img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--m-bg); }
.m-seller-name { font-weight: 700; color: var(--m-ink); }
.m-seller-sub { font-size: .76rem; color: var(--m-muted); }
.m-seller-body { padding: 14px; display: grid; gap: 8px; }
.m-seller .btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; }
.m-phone-btn { background: var(--m-ink); color: #fff !important; border: 0; }
.m-phone-btn:hover { background: #000; }
.m-safety { margin-top: 12px; background: #fffbea; border: 1px solid #ffe58a; border-radius: var(--m-radius); padding: 12px 14px; font-size: .8rem; color: #6b5800; }
.m-safety strong { display: flex; align-items: center; gap: 6px; color: #4d3f00; margin-bottom: 4px; }
.m-tabs { margin-top: 18px; background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; }
.m-tabs .nav { border-bottom: 1px solid var(--m-line); padding: 0 10px; gap: 4px; }
.m-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--m-muted); font-weight: 700; font-size: .9rem; padding: 13px 12px; background: none; }
.m-tabs .nav-link.active { color: var(--m-ink); border-bottom-color: var(--m-yellow); background: none; }
.m-tab-body { padding: 18px; }
.m-desc { font-size: .94rem; line-height: 1.7; color: var(--m-text); white-space: normal; word-wrap: break-word; }
.m-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 18px; }
.m-features div { padding: 8px 0; border-bottom: 1px solid var(--m-line-2); font-size: .86rem; }
.m-features span { display: block; font-size: .74rem; color: var(--m-muted); }
.m-mobile-bar { display: none; }
@media print {
    .m-topbar, .m-header, .m-footer, .m-bottom-nav, .m-detail-actions, .m-seller-body, .m-similar, .m-mobile-bar { display: none !important; }
}
@media (max-width: 1199.98px) { .m-detail-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .m-detail-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .m-safety { margin-top: 0; } }
@media (max-width: 767.98px) {
    .m-detail { padding-top: 0; }
    .m-detail > .m-breadcrumb { display: none; }
    .m-detail-title { border-radius: 0; border-left: 0; border-right: 0; padding: 12px 14px; flex-direction: column; }
    .m-detail-title h1 { font-size: 1.08rem; }
    .m-detail-actions { justify-content: flex-start; }
    .m-detail-main { grid-template-columns: minmax(0, 1fr); border-radius: 0; border-left: 0; border-right: 0; padding: 0 0 14px; gap: 14px; }
    .m-gallery-main { border-radius: 0; }
    .m-thumbs { padding: 0 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .m-detail-info, .m-detail-side { padding: 0 14px; }
    .m-detail-side { grid-template-columns: minmax(0, 1fr); }
    .m-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .m-tabs { border-radius: 0; border-left: 0; border-right: 0; }
    .m-mobile-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 1019; background: #fff; border-top: 1px solid var(--m-line); padding: 8px 12px; }
    .m-mobile-bar .btn { flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
    .theme-modern.has-mobile-bar { padding-bottom: 130px; }
}

/* Hesap / form sayfaları için ufak düzenlemeler */
.theme-modern .m-main > .container.py-4,
.theme-modern .m-main > .container.py-3 { padding-top: 20px !important; }
.theme-modern .table { --bs-table-hover-bg: #f8faff; }
.theme-modern .table > thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--m-muted); background: #fafbfd; }
.theme-modern .empty-state { background: #fff; border: 1px dashed #cfd5e1; border-radius: var(--m-radius); padding: 30px; text-align: center; color: var(--m-muted); }
