/* ================================================================================================
   ÜRÜN ARŞİV SAYFASI STİLLERİ (GÖRSEL BİREBİR REPRODUKSİYON)
   ================================================================================================ */

.archive-section {
    padding: 1rem 0 3rem;
    background-color: #fff;
}

.archive-main-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text, #1d1d1d);
    margin-bottom: 0.75rem;
}

.archive-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.archive-btn-filter {
    background: #fff;
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: var(--radius-sm, 8px);
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text, #1d1d1d);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.archive-btn-sort {
    background: #fff;
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: var(--radius-sm, 8px);
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    color: var(--color-text, #1d1d1d);
    cursor: pointer;
    outline: none;
}

/* 4 Sütunlu Izgara Yapısı */
.archive-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem 1rem;
}

/* Ürün Kartı */
.arch-card {
    background: #fff;
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: var(--radius-md, 12px);
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.03));
}

.arch-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm, 8px);
    margin-bottom: 0.5rem;
    background-color: var(--bg-soft, #f7f7f5);
}

.arch-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Rozet ve Favori */
.arch-badge-discount {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--color-green, #1a6b3f);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    line-height: 1.1;
    text-align: center;
    z-index: 2;
}

.arch-fav-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--color-muted, #6b6b6b);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 2;
}

/* Yıldızlar */
.arch-card-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
    color: var(--color-star, #ffb400);
    margin-bottom: 0.3rem;
}

.arch-card-stars .review-text {
    color: var(--color-muted, #6b6b6b);
    font-size: 0.68rem;
    margin-left: 4px;
}

/* Ürün Adı & Fiyat */
.arch-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text, #1d1d1d);
    margin: 0 0 0.3rem 0;
    text-decoration: none;
    line-height: 1.25;
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.arch-card-title:hover {
    color: var(--color-orange, #ff751d);
}

.arch-card-price-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.arch-card-price-row .old-p {
    color: var(--color-muted, #6b6b6b);
    text-decoration: line-through;
    font-size: 0.75rem;
}

.arch-card-price-row .new-p {
    color: var(--color-text, #1d1d1d);
    font-weight: 800;
    font-size: 0.92rem;
}

/* Sepete Ekle Butonu */
.arch-btn-add {
    width: 100%;
    background-color: var(--color-green, #1a6b3f);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm, 6px);
    padding: 0.45rem 0;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    transition: filter 0.15s ease;
}

.arch-btn-add:hover {
    filter: brightness(1.1);
}

/* Varyant Menüsü */
.arch-variant-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    background: #fff;
}

.arch-variant-badge {
    background: var(--color-green, #1a6b3f);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35rem 0.5rem;
}

.arch-variant-select {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.75rem;
    color: var(--color-text, #1d1d1d);
    padding: 0.2rem 0.35rem;
    background: transparent;
    cursor: pointer;
}

/* SEO Bölümü */
.archive-seo-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border, #e5e5e5);
}

.archive-seo-section h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text, #1d1d1d);
    margin: 1.25rem 0 0.4rem 0;
}

.archive-seo-section h2:first-child {
    margin-top: 0;
}

.archive-seo-section p {
    font-size: 0.82rem;
    color: var(--color-muted, #6b6b6b);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.archive-seo-section p a {
    color: var(--color-green, #1a6b3f);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .archive-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .archive-product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
}