﻿/* Extracted from mutfak.html style block 1 */
/* Butonları kartın sağ üstüne sabitler */
.view-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.view-controls button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6); /* Yarı şeffaf siyah */
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(4px); /* Cam efekti */
    transition: 0.3s;
}

/* Buton aktif olduğunda turuncu yanar */
.view-controls button.active {
    background: #b35900;
}

/* ═══════════════════════════════════════════
   LUXEHOME — PREMIUM FİLTRE SİDEBAR
═══════════════════════════════════════════ */

/* Sidebar kapsayıcı */
.filter-sidebar {
    width: 270px !important;
    background: #0a0a0a;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* Sidebar başlık bandı */
.sidebar-header {
    background: linear-gradient(135deg, #b35900 0%, #7a3c00 100%);
    padding: 28px 28px 22px;
    position: relative;
    overflow: hidden;
}
.sidebar-header::before {
    content: 'FILTER';
    position: absolute;
    right: -10px; top: -8px;
    font-size: 52px; font-weight: 900;
    color: rgba(255,255,255,0.07);
    letter-spacing: -2px;
    pointer-events: none;
}
.sidebar-header h3 {
    color: #fff;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 4px 0;
}
.sidebar-header .sidebar-title-big {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: block;
}
.sidebar-header .filter-badge {
    position: absolute;
    top: 28px; right: 28px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Sidebar gövde */
.sidebar-body {
    padding: 24px 22px 28px;
}

/* Bölüm başlıkları */
.filter-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b35900;
    font-weight: 700;
    margin: 0 0 14px 0;
}
.filter-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #b35900, transparent);
}

/* Kategori chip'leri */
.cat-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}
.cat-chip-item {
    position: relative;
}
.cat-chip-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.cat-chip-item label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #161616;
    border: 1px solid #222;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
    user-select: none;
}
.cat-chip-item label .chip-icon {
    width: 28px; height: 28px;
    background: #1e1e1e;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.cat-chip-item label .chip-text { flex: 1; margin: 0 12px; }
.cat-chip-item label .chip-check {
    width: 18px; height: 18px;
    border: 1.5px solid #333;
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.cat-chip-item label .chip-check svg {
    opacity: 0; transform: scale(0.5);
    transition: all 0.2s ease;
}
.cat-chip-item input:checked + label {
    background: linear-gradient(135deg, rgba(179,89,0,0.18), rgba(179,89,0,0.05));
    border-color: #b35900;
    color: #fff;
}
.cat-chip-item input:checked + label .chip-icon {
    background: #b35900;
    color: #fff;
}
.cat-chip-item input:checked + label .chip-check {
    background: #b35900;
    border-color: #b35900;
}
.cat-chip-item input:checked + label .chip-check svg {
    opacity: 1; transform: scale(1);
}
.cat-chip-item label:hover {
    border-color: #444;
    color: #fff;
    transform: translateX(4px);
}

/* Fiyat Slider Bölümü */
.price-track-wrap {
    margin-bottom: 32px;
}
.price-display-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #161616;
    border: 1px solid #222;
    border-radius: 10px;
}
.price-display-box .price-label-small {
    font-size: 10px;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.price-display-box .price-current {
    font-size: 22px;
    font-weight: 800;
    color: #b35900;
    letter-spacing: -0.5px;
}
.price-display-box .price-max-label {
    font-size: 10px;
    color: #444;
    margin-left: auto;
}

/* Custom range slider */
.fancy-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: #222;
    border-radius: 2px;
    outline: none;
    position: relative;
}
.fancy-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #b35900;
    cursor: pointer;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 0 2px #b35900, 0 4px 12px rgba(179,89,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fancy-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px #b35900, 0 6px 20px rgba(179,89,0,0.5);
}
.fancy-range::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #b35900;
    cursor: pointer;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 0 2px #b35900;
}
.range-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 2px;
}
.range-ticks span {
    font-size: 10px;
    color: #444;
}

/* Sıralama bölümü */
.sort-section { margin-bottom: 10px; }
.fancy-sort-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sort-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #161616;
    border: 1px solid #222;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #888;
    font-size: 12px;
    font-weight: 500;
    user-select: none;
}
.sort-opt:hover { border-color: #333; color: #ccc; }
.sort-opt.active {
    border-color: #b35900;
    color: #fff;
    background: linear-gradient(135deg, rgba(179,89,0,0.15), rgba(179,89,0,0.03));
}
.sort-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 2px solid #333;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.sort-opt.active .sort-dot {
    background: #b35900;
    border-color: #b35900;
    box-shadow: 0 0 6px rgba(179,89,0,0.6);
}

/* Sıfırla butonu */
.reset-btn {
    width: 100%;
    margin-top: 20px;
    padding: 13px;
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #555;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.reset-btn:hover {
    border-color: #b35900;
    color: #b35900;
    background: rgba(179,89,0,0.05);
}

/* Sağ taraf collection header */
.collection-header {
    background: #0a0a0a;
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.collection-header h2 {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}
.collection-header h2 span {
    font-size: 12px;
    color: #b35900;
    font-weight: 500;
    margin-left: 6px;
}

/* Sort select - hidden, replaced by sidebar */
.sort-select { display: none !important; }

/* Active filter pills at top */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    min-height: 0;
}
.active-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(179,89,0,0.12);
    border: 1px solid rgba(179,89,0,0.3);
    border-radius: 20px;
    font-size: 11px;
    color: #b35900;
    font-weight: 600;
    animation: pillIn 0.2s ease;
}
@keyframes pillIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

/* Slider fill illusion via JS */
.range-fill-track {
    position: relative;
    margin-bottom: 10px;
}


/* Extracted from mutfak.html style block 2 */
/* Badge — daha zarif, minimal */
.filter-badge {
    position: absolute !important;
    top: 24px !important; right: 24px !important;
    background: rgba(0,0,0,0.35) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.7) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 3px 9px !important;
    border-radius: 20px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    backdrop-filter: blur(6px) !important;
    transition: all 0.3s ease !important;
}
.filter-badge.has-filters {
    background: rgba(0,0,0,0.5) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}

/* Collection Header — daha gösterişli */
.collection-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 100%) !important;
    border-radius: 16px !important;
    padding: 22px 28px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 28px !important;
    border: 1px solid #1e1e1e !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    position: relative !important;
    overflow: hidden !important;
}
.collection-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #b35900, #7a3c00);
    border-radius: 16px 0 0 16px;
}
.collection-header::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(179,89,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.collection-header h2 {
    font-size: 18px !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
    padding-left: 16px !important;
}
.collection-header h2 span {
    font-size: 11px !important;
    color: #b35900 !important;
    font-weight: 500 !important;
    margin-left: 8px !important;
    background: rgba(179,89,0,0.1) !important;
    border: 1px solid rgba(179,89,0,0.2) !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
}

/* Mobil sort-opt görünürlük fix */
@media (max-width: 900px) {
    .sort-opt {
        background: #f5f5f5 !important;
        border-color: #ddd !important;
        color: #333 !important;
    }
    .sort-opt:hover {
        border-color: #b35900 !important;
        color: #222 !important;
        background: #fff !important;
    }
    .sort-opt.active {
        background: linear-gradient(135deg, rgba(179,89,0,0.12), rgba(179,89,0,0.04)) !important;
        border-color: #b35900 !important;
        color: #b35900 !important;
    }
    .sort-dot { border-color: #bbb !important; }
    .sort-opt.active .sort-dot {
        background: #b35900 !important;
        border-color: #b35900 !important;
    }
}

/* PC: filtre kutusu içerik kadar yüksek + kaydırınca üstte yapışır (sticky) */
@media (min-width: 901px) {
    .collection-layout {
        align-items: flex-start;
    }
    .filter-sidebar {
        align-self: flex-start;
        position: sticky;
        top: 92px;
        max-height: calc(100vh - 92px - 20px);
        overflow-y: auto;
        overflow-x: hidden;
    }
}
