/* TK Arşiv — arsiv.css */

/* ── ARŞİV KART GRID ── */
.tka-grid {
    display: grid;
    gap: 24px;
}
.tka-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tka-cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ── KART ── */
.tka-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    opacity: 0.9;
}
.tka-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 28px rgba(212,160,23,.12);
    border-color: rgba(212,160,23,.4);
    opacity: 1;
}

/* Üst soldan sağa çapraz "sold" overlay */
.tka-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.tka-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter .3s, transform .5s;
}
.tka-card:hover .tka-card-thumb img {
    filter: grayscale(0%);
    transform: scale(1.04);
}
.tka-card-thumb a { display: block; width: 100%; height: 100%; }

.tka-no-img {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-card2), var(--bg-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--gold-border);
}

/* Durum badge — soldan üstte */
.tka-status-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--badge-color, #22c55e);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* Kategori badge — sağda */
.tka-card .tk-product-cat-badge {
    left: auto;
    right: 10px;
    top: 10px;
}

/* Kart içeriği */
.tka-card-body {
    padding: 16px 18px 18px;
}
.tka-card-body h3 {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 6px;
    font-weight: 600;
}
.tka-card-body h3 a { color: var(--text-muted); }
.tka-card-body h3 a:hover { color: var(--gold-light); }

.tka-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.tka-card-meta span {
    font-size: 11px;
    color: var(--text-dim);
    background: rgba(212,160,23,.05);
    border: 1px solid rgba(212,160,23,.1);
    padding: 2px 8px;
    border-radius: 2px;
}

.tka-card-details { margin-bottom: 14px; }
.tka-detail-row {
    display: flex;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(212,160,23,.05);
    font-size: 12px;
}
.tka-detail-row:last-child { border-bottom: none; }
.tka-detail-key {
    width: 50px; flex-shrink: 0;
    color: var(--text-dim);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-top: 1px;
}
.tka-detail-val {
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
}

.tka-view-btn {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-muted);
    letter-spacing: 0.5px;
    transition: color .2s;
    text-decoration: none;
}
.tka-view-btn:hover { color: var(--gold-bright); }

/* ── SATILDI BANNER (single sayfa) ── */
.tka-sold-banner {
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(34,197,94,.2);
    background: rgba(34,197,94,.05);
    animation: tka-banner-in .4s ease;
}
@keyframes tka-banner-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tka-sold-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
}
.tka-sold-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.tka-sold-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 3px;
}
.tka-sold-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.tka-sold-text span {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ── BOŞ ── */
.tka-empty {
    text-align: center;
    padding: 48px;
    color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .tka-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .tka-cols-3,
    .tka-cols-2 { grid-template-columns: 1fr; }
}
