/*
 * V2KA Archive - Basitleştirilmiş CSS
 */

/* Container */
.v2ka-archive {
    padding: 20px 0 60px;
}

.v2ka-archive .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.v2ka-breadcrumb {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.v2ka-breadcrumb a {
    color: #666;
}

.v2ka-breadcrumb a:hover {
    color: #000;
}

.v2ka-breadcrumb span {
    margin: 0 8px;
}

/* Başlık */
.v2ka-archive-title {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 30px;
}

/* Toolbar */
.v2ka-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.v2ka-toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.v2ka-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}

.v2ka-count {
    font-size: 13px;
    color: #666;
}

.v2ka-orderby {
    padding: 10px 15px;
    font-size: 13px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

/* Layout */
.v2ka-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

/* Sidebar */
.v2ka-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.v2ka-sidebar-header {
    display: none;
}

.v2ka-filter-group {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.v2ka-filter-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.v2ka-filter-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v2ka-size-item {
    cursor: pointer;
}

.v2ka-size-item input {
    display: none;
}

.v2ka-size-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.v2ka-size-item:hover span {
    border-color: #000;
}

.v2ka-size-item.active span,
.v2ka-size-item input:checked + span {
    background: #000;
    border-color: #000;
    color: #fff;
}

.v2ka-filter-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.v2ka-filter-price input {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ddd;
}

.v2ka-filter-price span {
    color: #999;
}

.v2ka-filter-apply {
    width: 100%;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #000;
    border: none;
    cursor: pointer;
}

.v2ka-filter-apply:hover {
    opacity: 0.8;
}

/* Overlay */
.v2ka-overlay {
    display: none;
}

/* Ürün Grid */
.v2ka-products {
    min-width: 0;
}

.v2ka-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Ürün Kartı */
.v2ka-product {
    position: relative;
}

.v2ka-product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8f8f8;
    margin-bottom: 12px;
}

.v2ka-product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.v2ka-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.v2ka-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.v2ka-product:hover .v2ka-img-main {
    opacity: 0;
}

.v2ka-product:hover .v2ka-img-hover {
    opacity: 1;
}

/* Badge */
.v2ka-badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #e53935;
    z-index: 2;
}

/* Wishlist */
.v2ka-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.v2ka-product:hover .v2ka-wishlist {
    opacity: 1;
}

/* Ürün Bilgileri */
.v2ka-product-brand {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.v2ka-product-title {
    font-size: 13px;
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.4;
}

.v2ka-product-title a {
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2ka-product-title a:hover {
    color: #000;
}

.v2ka-product-price {
    font-size: 14px;
}

.v2ka-price-old {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.v2ka-price-sale {
    font-weight: 600;
    color: #e53935;
}

.v2ka-price-regular {
    font-weight: 600;
}

/* Sayfalama */
.v2ka-pagination {
    margin-top: 40px;
    text-align: center;
}

.v2ka-pagination a,
.v2ka-pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 3px;
    font-size: 14px;
    border: 1px solid #ddd;
}

.v2ka-pagination a:hover {
    border-color: #000;
}

.v2ka-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Ürün Yok */
.v2ka-no-products {
    text-align: center;
    padding: 60px 20px;
}

.v2ka-no-products a {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background: #000;
    color: #fff;
}

/* ========================================
   RESPONSIVE - Tablet
======================================== */
@media (max-width: 1024px) {
    .v2ka-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ========================================
   RESPONSIVE - Mobil
======================================== */
@media (max-width: 768px) {
    .v2ka-archive-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .v2ka-filter-btn {
        display: flex;
    }

    .v2ka-layout {
        grid-template-columns: 1fr;
    }

    /* Mobil Sidebar */
    .v2ka-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100%;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 1001;
        overflow-y: auto;
        padding: 0 20px 20px;
    }

    .v2ka-sidebar.active {
        transform: translateX(0);
    }

    .v2ka-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .v2ka-sidebar-close {
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
        line-height: 1;
    }

    .v2ka-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 1000;
    }

    .v2ka-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .v2ka-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .v2ka-product-image {
        margin-bottom: 8px;
    }

    .v2ka-wishlist {
        opacity: 1;
        width: 32px;
        height: 32px;
    }

    .v2ka-product-brand {
        font-size: 10px;
    }

    .v2ka-product-title {
        font-size: 12px;
    }

    .v2ka-product-price {
        font-size: 13px;
    }
}