/**
 * İlan Stilleri
 * Efsaneilan ilan platformu
 */

/* Journal3 getCss() body { line-height: 1.5 } — sitewide body satır yüksekliği */
html body,
html body.boxed-layout,
html body[class*="skin-"],
html body[class*="route-"] {
    line-height: 1.5;
}

/* =============================================
   İLAN KARTLARI (LİSTE GÖRÜNÜMÜ)
   ============================================= */

.listing-card {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.listing-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.listing-card .image-wrapper {
    position: relative;
    overflow: hidden;
}

.listing-card .image-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.listing-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.listing-card .card-body {
    padding: 15px;
}

.listing-card .listing-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card .listing-title a {
    color: inherit;
    text-decoration: none;
}

.listing-card .listing-title a:hover {
    color: #0066cc;
}

.listing-card .listing-price {
    font-size: 18px;
    font-weight: 700;
    color: #009900;
    margin-bottom: 8px;
}

.listing-card .listing-location {
    font-size: 13px;
    color: #666;
}

.listing-card .listing-location i {
    color: #999;
    margin-right: 4px;
}

.listing-card .listing-date {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}


/* =============================================
   İLAN DETAY SAYFASI
   ============================================= */

.listing-detail {
    background: #fff;
}

/* Galeri */
.listing-gallery {
    position: relative;
    margin-bottom: 30px;
}

.listing-gallery .main-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.listing-gallery .main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #fff;
}

.listing-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.listing-gallery .thumbnails a {
    display: block;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.listing-gallery .thumbnails a:hover,
.listing-gallery .thumbnails a.active {
    border-color: #0066cc;
}

.listing-gallery .thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fiyat Kutusu */
.listing-info .price-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.listing-info .price {
    font-size: 32px;
    font-weight: 700;
    color: #009900;
    display: block;
}

.listing-info .negotiable {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: #fff3e0;
    color: #e65100;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* İstatistikler */
.listing-info .stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.listing-info .stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.listing-info .stats i {
    color: #999;
}

/* Konum Bilgisi */
.location-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.location-info h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
}

.location-info p {
    margin: 0;
    font-size: 15px;
    color: #333;
}

/* Satıcı Bilgileri */
.seller-info {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.seller-info h4 {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seller-info .seller-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.seller-info .seller-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.seller-info .btn-show-phone {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}

.seller-info .phone-number {
    text-align: center;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-top: 10px;
}

.seller-info .phone-number a {
    font-size: 24px;
    font-weight: 700;
    color: #2e7d32;
}

/* Tab İçerikleri */
.listing-tabs {
    margin-top: 30px;
}

.listing-tabs .nav-tabs {
    border-bottom: 2px solid #e0e0e0;
}

.listing-tabs .nav-tabs > li > a {
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 500;
    padding: 12px 20px;
    margin-bottom: -2px;
}

.listing-tabs .nav-tabs > li > a:hover {
    background: transparent;
    border-bottom-color: #ccc;
}

.listing-tabs .nav-tabs > li.active > a {
    color: #0066cc;
    border-bottom-color: #0066cc;
    background: transparent;
}

.listing-tabs .tab-content {
    padding: 25px 0;
}

/* Özellikler Tablosu */
.attributes-table {
    margin: 0;
}

.attributes-table th {
    width: 40%;
    font-weight: 500;
    color: #666;
    background: #f8f9fa;
}

.attributes-table td {
    font-weight: 500;
    color: #333;
}

/* Benzer İlanlar */
.related-listings {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-listings h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
    font-weight: 600;
}


/* =============================================
   WIZARD STILLERI (temel - detaylar template inline CSS'te)
   ============================================= */


/* =============================================
   RESPONSİVE
   ============================================= */

@media (max-width: 991px) {
    .listing-info .price {
        font-size: 26px;
    }
    
    .listing-gallery .main-image img {
        max-height: 350px;
    }
}

@media (max-width: 767px) {
    .listing-card .image-wrapper img {
        height: 150px;
    }
    
    .listing-card .listing-title {
        font-size: 14px;
    }
    
    .listing-card .listing-price {
        font-size: 16px;
    }
    
    .listing-info .price {
        font-size: 22px;
    }
}

/* =============================================
   HEADER ARAMA (birleşik çubuk)
   ============================================= */

.header-search .header-search-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    min-width: 0;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
    border-right: none;
    overflow: hidden;
}

.header-search .search-categories + .header-search-body {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.header-search .header-search-body > .header-search-lead-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 6px 0 12px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    line-height: 0;
}

.header-search .header-search-body > .header-search-lead-icon::before {
    content: "\f002";
    font-family: icomoon;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 15px;
    color: #444;
    display: block;
}

.header-search .header-search-body > span.twitter-typeahead {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    position: static !important;
    width: auto !important;
    height: 100% !important;
}

.header-search .header-search-body > .search-input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.header-search .header-search-body .search-input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none;
    border-radius: 0 !important;
    font-size: 15px;
    line-height: 1.35;
}

.header-search .header-search-body .search-input::-webkit-input-placeholder {
    color: #666;
    font-size: 15px;
    font-weight: 600;
}

.header-search .header-search-body .search-input::-moz-placeholder {
    color: #666;
    opacity: 1;
    font-size: 15px;
    font-weight: 600;
}

.header-search .header-search-body .search-input:-ms-input-placeholder {
    color: #666;
    font-size: 15px;
    font-weight: 600;
}

.header-search .header-search-body .search-input::placeholder {
    color: #666;
    font-size: 15px;
    font-weight: 600;
}

.header-search .search-button {
    min-width: 48px;
    background-color: #df1f29 !important;
    border: 1px solid #bf1620 !important;
    border-left: none !important;
    border-radius: 0 4px 4px 0 !important;
    color: #fff !important;
}

.header-search .search-button::before {
    color: #fff !important;
}

html[dir="rtl"] .header-search .header-search-body {
    border-radius: 0 4px 4px 0;
    border-right: 1px solid #dcdce0;
    border-left: none;
}

html[dir="rtl"] .header-search .search-categories + .header-search-body {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

html[dir="rtl"] .header-search .header-search-body > .header-search-lead-icon {
    padding: 0 12px 0 8px;
}

html[dir="rtl"] .header-search .search-button {
    border-radius: 4px 0 0 4px !important;
    border-right: none !important;
    border-left: 1px solid #bf1620 !important;
}

.mobile-header-active .header-search .header-search-body {
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

.mobile-header-active .header-search .search-categories + .header-search-body {
    border-radius: 0;
}

.mobile-header-active .header-search .header-search-body > span.twitter-typeahead {
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

/* wk_search stilleri
   (controller common/wk_search ile head’e eklenir — misafir/üye aynı sırada yüklenir) */

/* =============================================
   HEADER SEPET (Sepetim) — gizli; checkout route korunur
   Journal derlenmiş CSS (.desktop-header-active …) daha yüksek
   özgüllükle flex verdiği için burada aynı zinciri eşleştiriyoruz.
   ============================================= */

.desktop-header-active .header-classic .classic-cart-wrapper .desktop-cart-wrapper,
.desktop-header-active .header-classic .desktop-cart-wrapper,
.desktop-header-active .header-classic .default-cart-wrapper.desktop-cart-wrapper,
.desktop-header-active .header-mega .desktop-cart-wrapper,
.desktop-header-active .header-mega .default-cart-wrapper.desktop-cart-wrapper,
.desktop-header-active .is-sticky .header-classic .desktop-main-menu-wrapper .desktop-cart-wrapper,
.desktop-header-active .is-sticky .header-classic .desktop-main-menu-wrapper .default-cart-wrapper,
.header .desktop-cart-wrapper,
.header .default-cart-wrapper.desktop-cart-wrapper,
.header .mobile-cart-wrapper.mini-cart,
.header .header-cart-group > .desktop-cart-wrapper,
.mid-bar .classic-cart-wrapper .desktop-cart-wrapper,
.mid-bar .desktop-cart-wrapper {
    display: none !important;
}

.desktop-header-active .header-classic #cart.dropdown,
.desktop-header-active .header-mega .desktop-cart-wrapper #cart,
.desktop-header-active .is-sticky .desktop-main-menu-wrapper #cart.dropdown,
.header #cart.dropdown,
.mid-bar #cart.dropdown,
.mobile-header-active .mobile-cart-wrapper #cart.dropdown {
    display: none !important;
}

/* Mobil alt nav “Sepetim” */
#letgo-cart-link.letgo-nav-item,
.letgo-bottom-nav > a[href*="checkout/cart"],
.letgo-bottom-nav > a[href*="/sepet"] {
    display: none !important;
}

/* Journal üst/menü HTML’inde eklenmiş sepet linki (mini cart kapalı olsa da <a> kalabilir) */
.top-bar a[href*="checkout/cart"],
.top-bar a[href*="/sepet"],
.third-menu a[href*="checkout/cart"],
.third-menu a[href*="/sepet"],
.mid-bar > .top-menu a[href*="checkout/cart"] {
    display: none !important;
}

/* Ürün/ilan tablo modu — thead: 14px, siyah, kalın, beyaz zemin */
.table-responsive .product-list-table.table {
    font-size: 14px !important;
}
.table-responsive .product-list-table.table > thead > tr {
    background-color: #fff !important;
}
.table-responsive .product-list-table.table > thead > tr > th {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    background-color: #fff !important;
    vertical-align: middle;
    padding: calc(13px * 1.2) 4px !important;
}
.table-responsive .product-list-table.table > thead > tr > th a.sortable-header {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
}
.table-responsive .product-list-table.table > thead > tr > th a.sortable-header:hover,
.table-responsive .product-list-table.table > thead > tr > th a.sortable-header:focus {
    color: #1a1a1a !important;
    text-decoration: underline !important;
}

/* Tablo liste modu — gövde padding (+%150 satır yüksekliği; Journal .table genel kuralını ezer) */
.table-responsive .product-list-table.table > tbody > tr.product-row > td {
    padding: 14px 4px !important;
}

/* Canlı cache farklı oranlı görsel ürettiğinde satır yüksekliği şişmesin. */
.table-responsive .product-list-table.table > tbody > tr.product-row > td.col-thumb img {
    width: 80px !important;
    height: 60px !important;
    max-width: 80px !important;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

/* Tablo gövde metni — hücre ve ilan başlığı linki 14px (Journal table/body a üzerinde) */
.table-responsive .product-list-table.table > tbody {
    font-size: 14px !important;
}
.table-responsive .product-list-table.table > tbody > tr > td {
    font-size: 14px !important;
}
.table-responsive .product-list-table.table .product-name:not(.doping-title-bold) {
    font-size: 14px !important;
}
.table-responsive .product-list-table.table tbody .col-category {
    font-size: 14px !important;
}

/* Tarih (gün ay / yıl) ve konum (il / ilçe) iki satır */
.table-responsive .product-list-table.table .col-date .cell-stack-primary,
.table-responsive .product-list-table.table .col-location .cell-stack-primary,
.table-responsive .product-list-table.table .col-date .cell-stack-secondary,
.table-responsive .product-list-table.table .col-location .cell-stack-secondary {
    display: block;
    line-height: 1.3;
}

/* Doping / normal satır sütun hizaları — category_product_table.tpl ile aynı (Journal .table ile uyum) */
.table-responsive .product-list-table.table > thead > tr > th.col-thumb,
.table-responsive .product-list-table.table > tbody > tr > td.col-thumb {
    text-align: center !important;
}
.table-responsive .product-list-table.table > thead > tr > th.col-model,
.table-responsive .product-list-table.table > tbody > tr > td.col-model,
.table-responsive .product-list-table.table > thead > tr > th.col-category,
.table-responsive .product-list-table.table > tbody > tr > td.col-category,
.table-responsive .product-list-table.table > thead > tr > th.col-title,
.table-responsive .product-list-table.table > tbody > tr > td.col-title {
    text-align: left !important;
}
.table-responsive .product-list-table.table > thead > tr > th.col-year,
.table-responsive .product-list-table.table > tbody > tr > td.col-year,
.table-responsive .product-list-table.table > thead > tr > th.col-km,
.table-responsive .product-list-table.table > tbody > tr > td.col-km,
.table-responsive .product-list-table.table > thead > tr > th.col-color,
.table-responsive .product-list-table.table > tbody > tr > td.col-color,
.table-responsive .product-list-table.table > thead > tr > th.col-m2,
.table-responsive .product-list-table.table > tbody > tr > td.col-m2,
.table-responsive .product-list-table.table > thead > tr > th.col-oda,
.table-responsive .product-list-table.table > tbody > tr > td.col-oda,
.table-responsive .product-list-table.table > thead > tr > th.col-price,
.table-responsive .product-list-table.table > tbody > tr > td.col-price,
.table-responsive .product-list-table.table > thead > tr > th.col-date,
.table-responsive .product-list-table.table > tbody > tr > td.col-date,
.table-responsive .product-list-table.table > thead > tr > th.col-location,
.table-responsive .product-list-table.table > tbody > tr > td.col-location {
    text-align: center !important;
}

/*
 * Tablo listeleme modu: üstteki "Sırala" (input-sort) satırı gizli — sıralama sütun başlıklarından.
 * HTML (product_fast_filter.tpl) durur; ileride açmak için .products-filter--table-sort-headers sınıfını kaldırmak yeterli.
 */
.main-products-wrapper .products-filter.products-filter--table-sort-headers .fast-filter-sort-wrapper {
    display: none !important;
}
.main-products-wrapper .products-filter.products-filter--table-sort-headers .fast-filter-main-wrapper .fast-filter-wrapper.col-md-10 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

/* Kimden sekmeleri ↔ tablo arası beyaz çizgi / boşluk (sıralama satırı gizlendikten sonra) */
.kimden-filter-tabs:has(+ .main-products-wrapper .products-filter--table-sort-headers) {
    margin-bottom: 0;
}
.main-products-wrapper > .products-filter.products-filter--table-sort-headers {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}
/* previous-wrapper (display:none) arada olsa da tablo sarmalayıcıyı seçer */
.main-products-wrapper .products-filter.products-filter--table-sort-headers ~ .product-list-table-wrapper {
    margin-top: -1px;
}

/* =====================================================
   Mega Filter içerisindeki "Kimden" filtrelerini gizleme
   (satıcı tipi seçenekleri)
   sekmesi .kimden-filter-tabs olarak ayrıca render edildiği
   için MegaFilter panelinde çıkmaması sağlanır.
   Vasıta: 1238, Emlak: 1296
   ===================================================== */
li[data-base-type="attribute"][data-id="1238"],
li[data-base-type="attribute"][data-id="1296"],
.mfilter-filter-item.mfilter-attribute-1238,
.mfilter-filter-item.mfilter-attribute-1296,
.mfilter-option.mfilter-tb-as-tr:has(input[name="1238-kimden"]),
.mfilter-option.mfilter-tb-as-tr:has(input[name="1296-kimden"]),
.mfilter-tb-as-td[for^="mfilter-opts-attribs-2-1238"],
.mfilter-tb-as-td[for^="mfilter-opts-attribs-2-1296"],
.mfilter-tb-as-td:has(input[name="1238-kimden"]),
.mfilter-tb-as-td:has(input[name="1296-kimden"]),
.mfilter-tb-as-td:has(input[id^="mfilter-opts-attribs-2-1238"]),
.mfilter-tb-as-td:has(input[id^="mfilter-opts-attribs-2-1296"]) {
    display: none !important;
}

/* =============================================================================
   Kategori sayfası — mobil / dar ekran: küçük görsel + başlık + il/ilçe + fiyat
   (Acil İlanlar: category.tpl'de category-mobile-compact-list yok; masaüstüne dokunmaz)
   ============================================================================= */
.category-listing-location-line {
    display: none !important;
}

/* Kategori kartı: il/ilçe + fiyat tek satır (konum sol, tutar sağ) — product_card category */
.route-product-category .category-listing-location-price-row {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    /* Üst boşluk: breadcrumb / Journal üst grid / içerik padding sıkıştırma */
    /* Not: route sınıfı body'de değil, istanbul3 ile html'de (route-product-category). */
    html.route-product-category #category-page-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    html.route-product-category #content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    html.route-product-category .breadcrumb {
        margin-bottom: -25px !important;
        margin-top: 0 !important;
    }
    html.route-product-category .grid-rows {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    html.route-product-category .kimden-filter-tabs {
        margin-top: 0 !important;
    }
    html.route-product-category .category-showcase-wrapper {
        margin-top: 0 !important;
    }
    html.route-product-category .category-showcase-wrapper:first-child {
        margin-top: 0 !important;
    }
    html.route-product-category .refine-categories {
        margin-bottom: 8px !important;
    }
    html.route-product-category .site-wrapper > .container:first-child {
        padding-top: 0 !important;
    }
    html.route-product-category #top .grid-rows {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    html.route-product-category #top .grid-row {
        min-height: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    html.route-product-category #top .grid-col:empty {
        display: none !important;
    }

    /* Dikey dev boşluk: style.css .site-wrapper>.container ve >.row flex-grow:1 + #content flex:1 1 auto */
    html.route-product-category .site-wrapper {
        min-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    html.route-product-category.has-bottom-menu .site-wrapper {
        padding-bottom: 0px !important;
        min-height: 0 !important;
    }
    html.route-product-category.mobile-header-active.has-bottom-menu .site-wrapper {
        min-height: 0 !important;
    }
    html.route-product-category .site-wrapper > .container#category-page-container {
        flex-grow: 0 !important;
        min-height: 0 !important;
        padding-top: 0 !important;
    }
    html.route-product-category .site-wrapper > .container#category-page-container > #category-page-row {
        flex-grow: 0 !important;
        min-height: 0 !important;
    }
    html.route-product-category #category-page-container > #category-page-row > #content {
        flex: 0 1 auto !important;
        min-height: 0 !important;
    }
    html.route-product-category #mfilter-content-container {
        flex: 0 1 auto !important;
        min-height: 0 !important;
        flex-grow: 0 !important;
    }

    .route-product-category .category-mobile-compact-list .category-listing-location-line {
        display: block !important;
        font-size: 13px;
        line-height: 1.35;
        color: #666;
        margin: 0 0 4px 0;
        padding: 0;
    }

    .route-product-category .category-mobile-compact-list .category-listing-location-price-row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .route-product-category .category-mobile-compact-list .category-listing-location-price-row .category-listing-location-line {
        display: block !important;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        text-align: left;
    }
    .route-product-category .category-mobile-compact-list .category-listing-location-price-row .price {
        flex: 0 0 auto;
        margin: 0 !important;
        text-align: right;
    }

    /* ——— Tablo modu: sol küçük görsel + sağda metin (CSS grid) ——— */
    .route-product-category .category-mobile-compact-list .product-list-table-wrapper .table-responsive {
        overflow: visible;
        border: none;
        -webkit-overflow-scrolling: auto;
    }
    .route-product-category .category-mobile-compact-list .product-list-table {
        display: block;
        width: 100%;
        border: none !important;
        margin: 0;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > thead {
        display: none !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody {
        display: block;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row {
        display: grid;
        grid-template-columns: 100px 1fr auto;
        grid-template-rows: 1fr auto;
        column-gap: 12px;
        row-gap: 6px;
        align-items: start;
        width: 100%;
        margin: 0 0 12px 0;
        padding: calc(12px * 1.2);
        border: 1px solid #e6e6e6 !important;
        border-radius: 6px;
        background: #fff;
        box-sizing: border-box;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td {
        display: none;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-thumb {
        display: block !important;
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        width: 100px !important;
        max-width: 100px !important;
        text-align: center !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-thumb a {
        display: block;
        width: 100px;
        height: 75px;
        border-radius: 4px;
        margin: 0 auto;
        overflow: hidden;
        background: #fff;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-thumb img {
        display: block;
        width: 100px;
        height: 75px;
        object-fit: contain;
        border-radius: 4px;
        margin: 0 auto;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        grid-column: 2 / span 2;
        grid-row: 1;
        align-self: start;
        min-width: 0;
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px; /* Her zaman bir satır boşluk */
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-title a {
        color: #1a1a1a;
        white-space: normal;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-location {
        display: block !important;
        grid-column: 2;
        grid-row: 2;
        font-size: 12px;
        color: #888;
        min-width: 0;
        align-self: end;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-location::before {
        content: "\f041";
        font-family: 'FontAwesome';
        margin-right: 4px;
        color: #888;
    }
    .route-product-category .category-mobile-compact-list .product-list-table > tbody > tr.product-row > td.col-price {
        display: block !important;
        grid-column: 3;
        grid-row: 2;
        font-size: 15px;
        font-weight: 700;
        color: #cc0000;
        align-self: end;
        text-align: right;
        white-space: nowrap;
    }
    .route-product-category .category-mobile-compact-list .product-list-table .col-location .cell-stack-primary,
    .route-product-category .category-mobile-compact-list .product-list-table .col-location .cell-stack-secondary {
        display: inline;
    }
    .route-product-category .category-mobile-compact-list .product-list-table .col-location .cell-stack-secondary::before {
        content: ", ";
    }
    .route-product-category .category-mobile-compact-list .product-list-table .col-location .loc-neighborhood {
        display: none !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table tbody tr.has-bold-frame,
    .route-product-category .category-mobile-compact-list .product-list-table tbody tr.has-bold-frame > td {
        background-color: #fff9e6 !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table tbody tr.has-bold-frame:hover > td {
        background-color: #fff3cc !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table tbody tr.has-category-showcase,
    .route-product-category .category-mobile-compact-list .product-list-table tbody tr.has-category-showcase > td {
        background-color: #f3f2ef !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table tbody tr.has-category-showcase:hover > td {
        background-color: #e8e7e4 !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table tr.has-urgent td {
        box-shadow: none !important;
    }
    .route-product-category .category-mobile-compact-list .product-list-table tr.has-urgent td.col-title {
        box-shadow: inset 3px 0 0 #ff0000;
    }
    .route-product-category .category-mobile-compact-list .product-list-table tr.has-urgent.has-bold-frame td.col-title {
        box-shadow: none !important;
    }

    /* ——— Izgara modu (vitrin / vitrin+liste): fotoğraf ve ekstra alanlar gizli ——— */
    .route-product-category .category-mobile-compact-list .main-products.categorys .product-layout {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        float: none !important;
    }
    /* Varsayılan isim konumu: görsel solda, caption sağda */
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:not(:has(> .name)) {
        flex-direction: row;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:not(:has(> .name)) .image {
        flex: 0 0 88px;
        max-width: 88px;
        width: 88px;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:not(:has(> .name)) .caption {
        flex: 1 1 auto;
        min-width: 0;
    }
    /* İsim "görsel üstünde" modu: dikey sıra (görsel → başlık → konum → fiyat) */
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:has(> .name) {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:has(> .name) .image {
        order: 1;
        flex: 0 0 auto;
        align-self: flex-start;
        max-width: 120px;
        width: 100%;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:has(> .name) > .name {
        order: 2;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:has(> .name) > .category-listing-location-line {
        order: 3;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:has(> .name) > .caption {
        order: 4;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .image a.product-img > div,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .image .product-img > div {
        max-width: 120px;
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        border-radius: 4px;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb:not(:has(> .name)) .image .product-img > div {
        max-width: 88px !important;
        width: 88px !important;
        height: 66px !important;
        aspect-ratio: auto;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .image img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .product-labels,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .quickview-button,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .countdown {
        display: none !important;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .stats,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .description,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .rating,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .buttons-wrapper,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .cstm_campaign {
        display: none !important;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .caption {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        padding-left: 0;
        padding-right: 0;
        float: none !important;
        clear: both;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .name {
        font-weight: 600;
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 0;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .name a {
        color: #1a1a1a;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .caption > .price {
        margin-top: 6px;
        font-size: 16px;
        font-weight: 700;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .category-listing-location-price-row .price {
        margin-top: 0;
        font-size: 16px;
        font-weight: 700;
    }
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .price .price-normal,
    .route-product-category .category-mobile-compact-list .main-products .product-thumb .price .price-new {
        color: #c00;
    }
}

/* Appended from listing.tpl */

/* Journal3 standart urun tab'larini listing sayfalarinda gizle */
#bottom {
  display: none !important;
}

/* İlan detay sayfası stilleri */
.listing-detail-page {
  padding-bottom: 40px;
  background: #f7f7f7;
}

/* Breadcrumb: stylesheet/breadcrumb-global.css (site geneli) */

.listing-detail-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 20px 20px 24px;
  margin-bottom: 24px;
}

.listing-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eeeeee;
}

.listing-detail-header-text {
  flex: 1 1 280px;
  min-width: 0;
}

.listing-detail-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.listing-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f2;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  max-width: 100%;
}

.listing-location-badge .fa-map-marker {
  color: #888;
  font-size: 15px;
}

.listing-detail-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.listing-action-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  box-sizing: border-box;
}

.listing-action-btn:hover {
  background: #f7f7f7;
  border-color: #ccc;
  color: #333;
  text-decoration: none;
}

.listing-action-btn.listing-wishlist-toggle.active,
.listing-action-btn.listing-wishlist-header-link.active {
  color: #e40030;
  border-color: #f0b4b4;
  background: #fff8f8;
}

.listing-detail-card .listing-main-row {
  margin-left: 0;
  margin-right: 0;
}

.listing-detail-page > .row {
  margin-top: 15px;
}

/* Ana satır: geniş galeri, dar özellik ve satıcı alanı */
.listing-main-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-left: -10px;
  margin-right: -10px;
}

.listing-main-row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.listing-main-row .col-gallery {
  width: 54% !important;
  flex: 0 0 54% !important;
  max-width: 54% !important;
  min-width: 0;
}

.listing-main-row .col-specs {
  width: 26% !important;
  flex: 0 0 26% !important;
  max-width: 26% !important;
  min-width: 0;
}

.listing-main-row .col-seller {
  width: 20% !important;
  flex: 0 0 20% !important;
  max-width: 20% !important;
  min-width: 0;
  overflow: hidden;
}

/* Başlık */
.listing-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 10px 0 15px;
  line-height: 1.4;
}

.listing-title.bold-title {
  font-weight: 800;
}

/* Galeri — beyaz zemin (ana + thumb alanı) */
.listing-gallery {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-right: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.listing-gallery.has-bold-frame {
  border: none;
  background: #fff;
}

.main-image-container {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  max-height: 520px;
  height: auto;
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

/* Journal .btn-wishlist uses ::before (icomoon) — avoid that class here or hearts duplicate */
.listing-main-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.listing-main-wishlist::before,
.listing-main-wishlist::after {
  content: none !important;
  display: none !important;
}

.listing-main-wishlist:hover,
.listing-main-wishlist.active {
  color: #e74c3c;
  background: #fff;
}

.listing-main-wishlist.active .fa {
  color: #e74c3c;
}

.thumbnail-gallery {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 5px;
  max-height: 70px !important;
  height: 70px;
}

.thumbnail-gallery .thumbnail-item {
  flex-shrink: 0 !important;
  width: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  border-radius: 3px;
  overflow: hidden !important;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block !important;
}

.thumbnail-gallery .thumbnail-item:hover,
.thumbnail-gallery .thumbnail-item.active {
  border-color: #861f41;
  opacity: 1;
}

.thumbnail-gallery .thumbnail-item img {
  width: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Orta panel — dış çerçeve yok, beyaz zemin */
.listing-specs-panel {
  background: #fff;
  border-radius: 0;
  padding: 0 4px 0 12px;
  border: none;
  margin-left: 0;
  font-family: "Open Sans", apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.specs-price-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
}

.specs-price-label {
  font-size: 13px;
  font-weight: 700;
  color: #e40030;
  flex: 0 0 auto;
  line-height: 1.2;
}

.specs-price-row-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  flex-wrap: nowrap;
}

.specs-price {
  font-size: 24px;
  font-weight: 700;
  color: #e40030;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Özellik satırları — .property-item */
.specs-properties {
  width: 100%;
  margin-top: 0;
}

.specs-properties .property-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  line-height: 1.43;
  box-sizing: border-box;
}

.specs-properties .property-item:last-child {
  border-bottom: none;
}

.specs-properties .property-label {
  flex: 0 1 auto;
  font-weight: 700;
  color: #666666;
  text-align: left;
  min-width: 0;
}

.specs-properties .property-value {
  flex: 0 1 auto;
  font-weight: 700;
  color: #1a1a1a;
  text-align: right;
  min-width: 0;
  word-break: break-word;
}

.specs-properties .property-value--id {
  color: #e40030;
  font-weight: 700;
}

.specs-properties .property-value a {
  color: #1a1a1a;
  text-decoration: none;
}

.specs-properties .property-value a:hover {
  color: #e40030;
  text-decoration: underline;
}

/* Sağ Panel - Satıcı */
.listing-seller-panel {
  background: #fff;
  border-radius: 4px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
}

.seller-card {
  margin-bottom: 15px;
}

.seller-header {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.seller-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  display: block;
}

.seller-name:hover {
  color: #e40030;
  text-decoration: none;
}

.seller-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 13px;
}

.seller-links a {
  color: #555;
  text-decoration: none;
}

.seller-links a:hover {
  color: #e40030;
  text-decoration: underline;
}

.contact-section {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.listing-seller-panel .listing-btn-phone {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff !important;
  background: #e40030 !important;
  border: none;
  border-radius: 4px;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.listing-seller-panel .listing-btn-phone:hover,
.listing-seller-panel .listing-btn-phone:focus {
  background: #c90029 !important;
  color: #fff !important;
  text-decoration: none;
}

.listing-phone-reveal {
  margin-top: 10px;
  word-break: break-all;
}

.listing-phone-reveal a {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.message-section {
  margin-bottom: 15px;
}

.listing-seller-panel .listing-btn-message {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

.listing-seller-panel .listing-btn-message:hover {
  background: #f7f7f7;
  color: #1a1a1a;
  text-decoration: none;
}

.listing-stats-box {
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.stat-row {
  margin-bottom: 5px;
}

.stat-row i {
  margin-right: 5px;
  width: 14px;
}

.listing-expire-info {
  font-size: 12px;
  color: #666;
  padding: 8px;
  background: #fff3cd;
  border-radius: 3px;
}

/* Tabs */
.listing-tabs-section {
  margin-top: 20px;
}

.listing-tabs {
  background: #fff;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  margin: 0;
}

.listing-tabs > li {
  margin: 0;
}

.listing-tabs > li > a {
  border: none;
  border-radius: 0;
  color: #666;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.listing-tabs > li > a .fa {
  flex-shrink: 0;
}

.listing-tabs > li.active > a,
.listing-tabs > li > a:hover {
  background: #f8f8f8;
  color: #333;
  border: none;
}

.listing-tabs > li.active > a {
  border-bottom: 2px solid #ff6600;
}

.listing-tab-content {
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  padding: 20px;
}

.description-content {
  line-height: 1.8;
  color: #444;
  font-size: 14px;
}

/* Donanim / Ozellik Checkmark Grid */
.listing-features-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.feature-group {
  margin-bottom: 20px;
}

.feature-group-title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px 0;
  padding: 8px 12px;
  background: #f5f5f5;
  border-left: 3px solid #ff6600;
  border-radius: 0 3px 3px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 12px;
  padding: 0 5px;
}

.listing-tab-content .listing-features-section .feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 14px;
  color: #555;
  border-radius: 3px;
}

.listing-tab-content .listing-features-section .feature-item > span {
  font-size: 14px;
}

.feature-item.selected {
  color: #333;
}

.feature-item.selected .fa-check-circle {
  color: #4caf50;
  font-size: 14px;
}

/* Araç bilgileri: zebra satır, çizgi yok; etiket normal gri, değer kalın koyu */
.teknik-specs-section {
  padding: 0;
}

.teknik-specs-overview-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px 0;
  padding: 0;
  line-height: 1.3;
}

.teknik-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
  border: none;
}

.teknik-specs-table tbody tr {
  border: none;
}

.teknik-specs-table th,
.teknik-specs-table td {
  border: none;
  padding: 11px 14px;
  vertical-align: top;
}

.teknik-specs-table tbody tr:nth-child(odd) th,
.teknik-specs-table tbody tr:nth-child(odd) td {
  background: #f2f2f2;
}

.teknik-specs-table tbody tr:nth-child(even) th,
.teknik-specs-table tbody tr:nth-child(even) td {
  background: #fff;
}

.teknik-specs-table th {
  width: 40%;
  max-width: 45%;
  font-weight: 400;
  color: #555;
  text-align: left;
}

.teknik-specs-table td {
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
}

.attributes-table {
  width: 100%;
}

.attributes-table th {
  width: 35%;
  background: #f8f9fa;
  font-weight: 500;
  padding: 10px;
  border: 1px solid #eee;
}

.attributes-table td {
  padding: 10px;
  border: 1px solid #eee;
}

@media (max-width: 991px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .teknik-specs-table th,
  .teknik-specs-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
}

.listing-map-container {
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
}

.map-note {
  margin-top: 10px;
  color: #666;
  font-size: 13px;
}

/* Benzer İlanlar */
.related-listings-section {
  margin-top: 30px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
  color: #333;
}

.section-title i {
  margin-right: 8px;
  color: #ff6600;
}

.listing-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #ddd;
  transition: all 0.3s;
  margin-bottom: 15px;
}

.listing-card:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.listing-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.listing-card-image img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.listing-card-body {
  padding: 10px;
}

.listing-card-title {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
}

.listing-card-price {
  font-size: 15px;
  font-weight: 700;
  color: #c00;
  margin: 0;
}

/* Responsive — mobil/tablet: üç sütun masaüstü oranları !important ile kalıyordu; aynı spesifiklikte ezilmeli */
@media (max-width: 991px) {
  .listing-detail-card .listing-main-row {
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .listing-main-row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  .listing-main-row .col-gallery,
  .listing-main-row .col-specs,
  .listing-main-row .col-seller {
    float: none !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    max-width: 100% !important;
    min-width: 0;
  }

  .listing-main-row .col-seller {
    overflow: visible;
  }

  .listing-specs-panel {
    margin-top: 12px;
    padding: 0 2px 0 0;
  }

  .listing-seller-panel {
    margin-top: 12px;
  }

  .listing-detail-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .specs-properties .property-value {
    word-break: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 767px) {
  .listing-title {
    font-size: 16px;
  }

  .specs-price {
    font-size: 22px;
  }

  .listing-detail-page > .row > [class*="col-"] {
    margin-bottom: 15px;
  }

  .listing-specs-panel {
    margin-left: 0;
    padding: 12px 0 0;
  }

  /* breadcrumb-global.css 12px !important — mobilde okunabilirlik */
  .listing-detail-page .listing-page-breadcrumb {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .listing-detail-card {
    padding: 14px 14px 18px;
  }

  .listing-detail-title {
    font-size: 17px;
    letter-spacing: 0.01em;
  }
}

/* ------------------------------------------------------------------
   Üst menü: Favoriler / Karşılaştırma sayaç rozetleri (Journal turuncu override)
   ------------------------------------------------------------------ */
.third-menu .top-menu .j-menu li .count-badge,
.top-menu-2 > ul > li > a .count-badge {
  background: #099fb8 !important;
  background-color: #099fb8 !important;
}

/* Sepet sayaç rozeti — common/cart.tpl: #cart-items.count-badge (cart-badge sınıfı yok);
   Journal getCss: .top-menu .j-menu li .count-badge turuncu; spesifite + !important */
#cart .count-badge,
#cart #cart-items,
#cart > a .count-badge,
#cart > a #cart-items,
.top-menu .j-menu li #cart .count-badge,
.top-menu .j-menu li #cart #cart-items,
.top-menu .j-menu li .count-badge.cart-badge,
.default-cart-wrapper #cart .count-badge,
.default-cart-wrapper #cart #cart-items,
.desktop-cart-wrapper #cart .count-badge,
.desktop-cart-wrapper #cart #cart-items,
.mobile-cart-wrapper.mini-cart #cart .count-badge,
.mobile-cart-wrapper.mini-cart #cart #cart-items {
  background: #099fb8 !important;
  background-color: #099fb8 !important;
  color: #ffffff !important;
}

/* Üst menü rozet hover — Journal: .desktop .top-menu .j-menu li a:hover .count-badge (turuncu) */
.desktop .top-menu .j-menu li a:hover .count-badge,
.desktop .top-menu .j-menu li a:hover #cart-items,
.desktop .top-menu .j-menu li #cart a:hover .count-badge,
.desktop .top-menu .j-menu li #cart a:hover #cart-items {
  background: #099fb8 !important;
  background-color: #099fb8 !important;
  color: #ffffff !important;
}

/* ------------------------------------------------------------------
   İlan detay (satış): Satın Al — Journal .btn:hover turuncusunu ezer
   ------------------------------------------------------------------ */
.sellable-cart-box .btn.btn-cart-sellable:hover,
.sellable-cart-box .btn.btn-cart-sellable:focus,
.sellable-cart-box #button-cart.btn-cart-sellable:hover,
.sellable-cart-box #button-cart.btn-cart-sellable:focus {
  background: #099fb8 !important;
  background-color: #099fb8 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
