/* ============================================================================
   arac-kart.css — Paylaşılan araç kartı (.vc). Site geneli tutarlılık için
   hem Anasayfa "Yeni Gelen Araçlar" hem /ikinci-el liste sayfası kullanır.
   Yapı: foto + marka(kalın)+model + trim + virgüllü meta + fiyat & aksiyonlar.
   JS hook'ları korunur (.fav-btn). Token'lar fallback'li.
   ============================================================================ */

.vc {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line, #E7EAED);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

    .vc:hover {
        box-shadow: 0 16px 36px rgba(20, 23, 26, .10);
        transform: translateY(-3px);
        border-color: transparent;
    }

.vc__media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--soft, #F5F6F8);
    overflow: hidden;
}

    .vc__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease;max-height:240px; }

.vc:hover .vc__media img { transform: scale(1.045); }

/* Opsiyonel köşe rozeti (ör. "Yeni Geldi") */
.vc__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(20, 23, 26, .62);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.vc__body { display: flex; flex-direction: column; padding: 14px 15px 15px; flex: 1; }

.vc__title {
    font-family: var(--display, 'adineue PRO', sans-serif);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: .005em;
    text-transform: uppercase;
    color: var(--ink, #14171A);
    text-decoration: none;
}

    .vc__title b { font-weight: 800; }
    .vc__title:hover { color: var(--gri-dark, #6A6C6E); }

.vc__trim {
    margin-top: 2px;
    font-size: 16px;
    color: var(--muted, #697682);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc__meta {
    margin-top: 6px;
    font-size: 15.5px;
    color: var(--muted, #697682);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc__foot {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vc__price {
    font-family: var(--display, 'adineue PRO', sans-serif);
    font-weight: 800;
    font-size: 19px;
    line-height: 1.1;
    color: var(--ink, #14171A);
}

/* Fiyat 0/boş ise "Sorunuz" — fiyat yuvasında ama daha yumuşak */
.vc__price--ask {
    font-size: 16px;
    font-weight: 700;
    color: var(--gri-dark, #6A6C6E);
}

/* Fiyat yanı: satır içi küçük ikonlar (favori vb.) */
.vc__actions { display: inline-flex; align-items: center; gap: 4px; }

.vc__actions .fav-btn {
    position: static;
    width: auto;
    height: auto;
    padding: 5px;
    border-radius: 8px;
    background: none;
    box-shadow: none;
}

    .vc__actions .fav-btn:hover { background: var(--soft, #F5F6F8); transform: none; }
    .vc__actions .fav-ic { width: 21px; height: 21px; stroke: var(--gri, #8B8C8E); fill: none; }
    .vc__actions .fav-btn.is-fav .fav-ic { fill: var(--fav-red, #ef3e33); stroke: var(--fav-red, #ef3e33); }

/* ==================================================================== LİSTE */
.vc--row { flex-direction: row; height: auto; margin-bottom: 16px; }

    .vc--row .vc__media {
        flex: 0 0 clamp(240px, 32%, 340px);
        aspect-ratio: auto;
        min-height: 190px;
        align-self: stretch;
    }

    .vc--row .vc__body { padding: 16px 20px; }
    .vc--row .vc__title { font-size: 17px; }
    .vc--row .vc__foot { margin-top: auto; }

@media (max-width: 700px) {
    /* Mobilde de yatay liste: küçük görsel + yanında bilgi (stack değil) */
    .vc--row .vc__media {
        flex: 0 0 120px;
        aspect-ratio: auto;
        min-height: 0;
    }

    .vc--row .vc__body { padding: 12px 14px; }
    .vc--row .vc__title { font-size: 14px; }
    .vc--row .vc__trim { font-size: 12px; }
    .vc--row .vc__meta { font-size: 12px; white-space: normal; }
    .vc--row .vc__price { font-size: 17px; }
}

@media (max-width: 380px) {
    .vc--row .vc__media { flex-basis: 104px; }
}
