﻿/* ===== Araç Detay Özellik Kartı ===== */
:root {
    --card-bg: #fff;
    --border: #e9edf3;
    --key: #6b7280; /* gri */
    --val: #0f172a; /* koyu */
    --price: #d10303; /* kırmızı */
    --radius: 10px;
}

.car-specs-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);  
}

.specs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 14px 16px 8px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(#fafafa,#fff);
}

.specs-title {
    font-size: 16px;
    color: var(--key);
    font-weight: 600;
}

.specs-price {
    font-size: 25px;
    font-weight: 800;
    color: var(--price);
    line-height: 1;
}

    .specs-price .tl {
        font-weight: 700;
        font-size: .9em;
    }

.specs-body { 
    overflow: auto;
}

.specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.specs-item {
    display: grid;
    grid-template-columns: 1fr 1fr; /* sol-etiket / sağ-değer */
    gap: 10px 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

    .specs-item:last-child {
        border-bottom: none;
    }

.specs-key {
    color: var(--key);
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.specs-val {
    color: var(--val);
    font-size: 16px;
    justify-self: end; /* sağa hizala */
    text-align: right;
    font-weight: 500;
    max-width: 100%;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arac-karti {
    width: 100%;
    background: #fff;
    border: 1px solid #dde1de;
    border-radius: 8px;
    padding: 16px 18px;
    color: #111;
}

/* Üst alan */
.ust-alan {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .ust-alan .marka {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
        line-height:23px;
    }

    .ust-alan .versiyon {
        margin: 3px 0 0;
        font-size: 0.9rem;
        color: #666;
    }

.sag {
    text-align: right;
}

.plaka {
    display: block;
    color: #3366cc;
    font-weight: 700;
    font-size: 0.95rem;
}

.etiket {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-top: 2px;
}

/* Detay alanı */
.detay-alan {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

    .detay-alan span {
        background: #f6f7fb;
        padding: 6px 10px;
        border-radius: 6px;
        font-size: 0.88rem;
        font-weight:700;
        color: #222;
    }

        .detay-alan span strong {
            font-weight: 700;
        }

/* Fiyat alanı */
.fiyat-alan {
    margin-top: 16px;
    border-top: 1px solid gainsboro;
    padding-top: 5px;
}

    .fiyat-alan label {
        display: block;
        font-size: 0.8rem;
        color: #777;
        margin-bottom: 4px;
    }

    .fiyat-alan .fiyat {
        font-size: 1.6rem;
        font-weight: 800;
        color: #000;
    }

    .fiyat-alan .info {
        font-style: normal;
        font-size: 0.85rem;
        color: #999;
        margin-left: 3px;
    }


/* Her kolon */
.hasar-kolon {
    flex: 1;
    text-align: center;
}

    .hasar-kolon label {
        display: block;
        font-size: 0.88rem;
        color: #444;
        font-weight: 600;
        margin-bottom: 0px;
    }

    .hasar-kolon .deger {
        font-size: 1rem;
        font-weight: 700;
        color: #000;
    }

/* Dikey ayraç */
.ayrac {
    width: 1px;
    height: 35px;
    background: #e0e0e0;
}


/* küçük ekranlarda okunabilirlik */
@media (max-width: 420px) {
   

    .specs-item {
        grid-template-columns: 1fr 1fr;
    } 
}


.fullscreen-custom {
    width: 100% !important;
    height: auto !important;
    margin: 0px !important;
    border-radius: 10px;
}

/* Öne Çıkan Özellikler */
:root {
    --feat-bg: #fff;
    --feat-border: #eef1f5;
    --feat-pill: #f6f7fb;
    --feat-label: #6b7280;
    --feat-text: #0f172a;
    --feat-radius: 18px;
}

.feat-wrap {
    background: var(--feat-bg);
    border: 1px solid var(--feat-border);
    border-radius: 8px;
    padding: 18px 18px 12px;
    margin-top: 20px;
}

.feat-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--feat-text);
    margin: 0 0 14px;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* Mobilde 2’li, tablet+de 3, desktop’ta 4 */
@media (max-width: 575.98px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .feat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feat-card {
    background: var(--feat-pill);
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 1px 0 rgba(0,0,0,.03) inset;
}

.feat-label {
    display: block;
    font-size: 12px;
    color: var(--feat-label);
    margin-bottom: 6px;
}

.feat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--feat-text);
    line-height: 1.1;
}
.desktop-display-none{
    display:none;
}
h1.feat-title {
    line-height: 24px !important;
    font-size: 22px;
}
@media screen and (max-width:991px) {
    .mobil-show{
        display:block;
    }
    .mobil-display-none {
        display: none !important;
    }
    .breadcrumbs li {
        padding-right: 12px !important;
    }
        .breadcrumbs li a{
            font-size:12px !important;
        }
        .breadcrumbs li span.arrow-right {
            right: 0px !important;
        }
        .breadcrumbs li .text-breadcrumb {
            font-size: 12px !important;
        }
    .feat-title {
        line-height: 22px !important;
        font-size:18px !important;
        margin-bottom:0px !important;
    }
    .feat-label{
        margin-bottom:0px !important;
    }
    .feat-value{
        font-size:18px !important;
    }
}


/*POPUP*/
/* Modal max genişlik ve mobil boşluklar */
.modal-ilgi .modal-content {
    border-radius: 16px;
}
.modal-open, body {
    overflow: unset !important;
    padding: 0px !important;
}

.form-check-input{border-color:#313131;}

@media (max-width: 576px) {
    .modal-ilgi .modal-dialog {
        margin: .5rem;
    }

    .modal-ilgi .modal-body {
        padding-top: .5rem;
    }
}

/* Primary butonun senin temayla uyumu için istersen: */
/* .btn-primary { background:#0d6efd; border-color:#0d6efd; } */

/*POPUP*/