@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #32A3FD;
    --body-color: #F3F5F7;
    --secondary-color: #FFFFFF;
    --text-color: #2094D2;
}

body {
    overflow-x: hidden;
    background-color: var(--body-color);
    color: var(--text-color);
}

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

.hero_contact_catagories{
    h1{
        margin-top: 192px;
    }
}
.hero-c{
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/categories.png') no-repeat center;
    background-size: cover;
}

.firebase_card{
    background: var(--secondary-color);
    padding: 18px 25px;
    border-radius:33554400px;
    border: 1px solid var(--body-color);
    color:#2A2A2A;
    font-size: 16px;
    font-weight: 500;
}

.navbar_katalog{
    display: flex;
    gap: 20px;
    align-items: center;
}

.firebase_katalog{
    padding: 20px;
    
}


/* Kategoriya tugmalari uchun stil */
.firebase_katalog {
    margin-top: 30px;
    margin-bottom: 40px;
}

.firebase_katalog .navbar_katalog {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.firebase_card {
    background: var(--secondary-color, #fff);
    border: 1px solid #e0e0e0;
    border-radius: 40px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.firebase_card:hover {
    background: #32A3FD;
    color: white;
    border-color: #32A3FD;
    transform: translateY(-2px);
}

.firebase_card.active {
    background: #32A3FD;
    color: white;
    border-color: #32A3FD;
    box-shadow: 0 4px 12px rgba(50,163,253,0.3);
}

/* Hero kategoriya sahifasi uchun */
.hero-c {
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/catalog-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero_contact_catagories h1 {
    font-size: 48px;
    font-weight: 600;
    color: white;
    text-align: center;
}

/* Mahsulot kartasi hover effekti */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Modal oyna uchun scroll bar */
#productModal {
    overflow-y: auto;
}

/* Responsive modal */
@media (max-width: 576px) {
    .modal-content {
        width: 95%;
    }
    
    #modalTitle {
        font-size: 18px;
    }
    
    #modalPrice {
        font-size: 22px;
    }
}

/* Maxsus tugmalar uchun stil */
.firebase_card.special-btn {
    background: linear-gradient(135deg, #32A3FD 0%, #2094D2 100%);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(50,163,253,0.3);
}

.firebase_card.special-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(50,163,253,0.4);
}

/* Autentifikatsiya modal oyna uchun stillar */
#authModal input:focus,
#registerModal input:focus {
    outline: none;
    border-color: #32A3FD;
    box-shadow: 0 0 0 2px rgba(50,163,253,0.2);
}

/* Responsiv dizayn */
@media (max-width: 768px) {
    .navbar_katalog {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .firebase_card {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Maxsus tugmalar uchun stil */
.firebase_card.special-btn {
    background: linear-gradient(135deg, #32A3FD 0%, #2094D2 100%);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(50,163,253,0.3);
}

.firebase_card.special-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(50,163,253,0.4);
}

/* Mahsulot kartalari */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 1200px) {
    .card {
        width: calc(33.33% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .card {
        width: calc(50% - 15px) !important;
    }
}

@media (max-width: 480px) {
    .card {
        width: 100% !important;
    }
}

/* Kategoriya tugmalari */
.firebase_katalog .navbar_katalog {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.firebase_card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 40px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.firebase_card.active {
    background: #32A3FD;
    color: white;
    border-color: #32A3FD;
    box-shadow: 0 4px 12px rgba(50,163,253,0.3);
}

/* Hero section */
.hero-c {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/img/hero-img.webp') no-repeat center;
    background-size: cover;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.hero_contact_catagories h1 {
    color: white;
    font-size: 48px;
    font-weight: 600;
    text-align: center;
}

/* Admin login tugmasi */
.admin-login-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220,53,69,0.3);
}

.admin-login-btn i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-login-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero__bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero__bg.active {
    opacity: 1;
    z-index: 2;
}

.hero-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 30;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 30;
}

    /* ========== TELEFON VERSIYA UCHUN CATEGORIES HEADER FIX ========== */
    @media (max-width: 768px) {
        /* Header fix - yopilmasligi uchun */
        header {
            position: sticky !important;
            top: 0 !important;
            z-index: 1000 !important;
            background: white !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        }
        
        .navbar {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            justify-content: space-between !important;
            padding: 10px 15px !important;
            gap: 10px !important;
        }
        
        .header_lft img {
            max-width: 70px !important;
            height: auto !important;
        }
        
        .header_rgt {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            gap: 8px !important;
        }
        
        .header_rgt button {
            padding: 6px 10px !important;
            font-size: 12px !important;
            white-space: nowrap !important;
        }
        
        .header_rgt button i {
            font-size: 12px !important;
        }
        
        /* Language selector fix */
        .language-active {
            padding: 6px 10px !important;
            font-size: 12px !important;
        }
        
        .language {
            position: absolute !important;
            top: 50px !important;
            right: 10px !important;
            background: white !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
            border-radius: 8px !important;
            z-index: 1001 !important;
        }
        
        /* Hero section */
        .hero {
            padding: 20px 0 !important;
        }
        
        .hero_contact_catagories h1 {
            font-size: 20px !important;
        }
        
        /* Search input */
        .hero_contact_catagories .search {
            width: 90% !important;
            margin: 10px auto !important;
        }
        
        .hero_contact_catagories .search input {
            padding: 10px !important;
            font-size: 14px !important;
        }
        
        /* Category buttons */
        .firebase_katalog .navbar_katalog {
            flex-wrap: wrap !important;
            gap: 8px !important;
            justify-content: center !important;
        }
        
        .firebase_card {
            padding: 8px 12px !important;
            font-size: 12px !important;
        }
        
        /* Products grid */
        .card_ota {
            padding: 15px !important;
        }
        
        #newProductsTrack {
            gap: 15px !important;
        }
        
        .card {
            width: calc(50% - 8px) !important;
            min-width: unset !important;
        }
        
        .card img {
            height: 150px !important;
        }
        
        .card h3 {
            font-size: 12px !important;
        }
        
        .card p {
            font-size: 14px !important;
        }
        
        /* Footer */
        .footer {
            padding: 30px 15px !important;
        }
        
        .footer_containers {
            flex-direction: column !important;
            gap: 25px !important;
        }
        
        .footer_cnt {
            text-align: center !important;
        }
        
        .footer_cnt a {
            font-size: 12px !important;
        }
        
        .footer_rgt {
            width: 100% !important;
        }
        
        .footer_rgt h1 {
            font-size: 18px !important;
            text-align: center !important;
        }
        
        .your_self {
            width: 100% !important;
        }
        
        .your_self input,
        .your_self textarea {
            width: 100% !important;
            padding: 8px !important;
            font-size: 12px !important;
        }
        
        .safety_alert {
            font-size: 10px !important;
            padding: 10px !important;
        }
        
        /* Modal fix */
        .modal {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background: rgba(0,0,0,0.85) !important;
            z-index: 10000 !important;
            overflow-y: auto !important;
            padding: 15px !important;
        }
        
        .modal-content,
        #productModal .modal-inner {
            width: 95% !important;
            max-width: 95% !important;
            margin: 20px auto !important;
            border-radius: 16px !important;
        }
        
        #productModal .modal-image-container {
            min-height: 250px !important;
        }
        
        #productModal .modal-main-image {
            height: 250px !important;
        }
        
        #productModal .thumb-img {
            width: 50px !important;
            height: 50px !important;
        }
        
        #productModal .modal-nav-btn {
            width: 36px !important;
            height: 36px !important;
            font-size: 18px !important;
        }
        
        #productModal .product-title {
            font-size: 16px !important;
        }
        
        #productModal .product-price {
            font-size: 22px !important;
        }
        
        #productModal .product-description {
            font-size: 12px !important;
        }
        
        .add-to-cart-btn-modal {
            padding: 10px !important;
            font-size: 14px !important;
        }
        
        /* Toast fix */
        .cart-toast,
        .custom-toast {
            position: fixed !important;
            bottom: 20px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            width: 90% !important;
            max-width: 300px !important;
            text-align: center !important;
            z-index: 10001 !important;
            font-size: 12px !important;
        }
        
        /* Admin login modal fix */
        #adminLoginModal .modal-content {
            width: 90% !important;
            max-width: 350px !important;
        }
        
        #adminLoginModal h2 {
            font-size: 18px !important;
        }
        
        #adminLoginModal input {
            padding: 10px !important;
            font-size: 14px !important;
        }
        
        /* Auth modal fix */
        #authModal .modal-content,
        #registerModal .modal-content {
            width: 90% !important;
            max-width: 380px !important;
        }
        
        #authModal h2,
        #registerModal h2 {
            font-size: 18px !important;
        }
        
        #authModal input,
        #registerModal input {
            padding: 10px !important;
            font-size: 14px !important;
        }
        
        #authModal button,
        #registerModal button {
            padding: 10px !important;
            font-size: 14px !important;
        }
    }
    
    /* Kichik telefonlar uchun (max 480px) */
    @media (max-width: 480px) {
        .navbar {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }
        
        .header_rgt {
            justify-content: center !important;
            width: 100% !important;
        }
        
        .card {
            width: 100% !important;
        }
        
        .firebase_card {
            width: calc(50% - 8px) !important;
            text-align: center !important;
        }
        
        .hero_contact_catagories .search {
            width: 95% !important;
        }
        
        .modal-content,
        #productModal .modal-inner {
            width: 98% !important;
            margin: 10px auto !important;
        }
        
        .modal-header h3 {
            font-size: 16px !important;
        }
        
        .modal-footer {
            flex-direction: column !important;
            gap: 8px !important;
        }
        
        .modal-footer button {
            width: 100% !important;
        }
    }
    
    /* Header scroll da yopilmasligi uchun */
    header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: white !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }
    
    /* Body scroll fix */
    body.modal-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    /* Search results box fix */
    #search-results-box {
        position: fixed !important;
        top: 70px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 95% !important;
        max-width: 450px !important;
        max-height: 350px !important;
        z-index: 9999 !important;
    }
    
    .search-item {
        padding: 10px !important;
    }
    
    .search-item img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .search-item div div {
        font-size: 12px !important;
    }

    /* ==================== HEADER TOGGLE BUTTON ==================== */
.header-toggle-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: #32A3FD;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-toggle-btn:hover {
    background: #2094D2;
    transform: scale(1.05);
}

.header-toggle-btn:active {
    transform: scale(0.95);
}

/* Header transition */
header {
    transition: transform 0.4s ease, opacity 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Toggle button arrow animation */
.header-toggle-btn .arrow-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.header-toggle-btn.hidden .arrow-icon {
    transform: rotate(180deg);
}

/* Sahifa yuklanganda header ko'rinsin */
body {
    padding-top: 0;
    transition: padding-top 0.3s ease;
}

body.header-hidden {
    padding-top: 0;
}

/* Kichik ekranlar uchun */
@media (max-width: 768px) {
    .header-toggle-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
        top: 10px;
        left: 10px;
    }

}
/* ==================== CHIROYLI STICKERLAR ==================== */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: badgeSlideIn 0.3s ease;
}

@keyframes badgeSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.badge-new {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 2px 10px rgba(238,90,36,0.3);
}

.badge-hot {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    box-shadow: 0 2px 10px rgba(255,71,87,0.3);
}

.badge-sale {
    background: linear-gradient(135deg, #32A3FD, #2094D2);
    box-shadow: 0 2px 10px rgba(50,163,253,0.3);
}

.badge-limited {
    background: linear-gradient(135deg, #eccc68, #f1c40f);
    color: #2c3e50;
    box-shadow: 0 2px 10px rgba(241,196,15,0.3);
}

.badge-best {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    box-shadow: 0 2px 10px rgba(155,89,182,0.3);
}

.badge-install {
    background: linear-gradient(135deg, #2ed573, #26c281);
    box-shadow: 0 2px 10px rgba(46,213,115,0.3);
}

.badge-delivery {
    background: linear-gradient(135deg, #a4b0be, #747d8c);
    box-shadow: 0 2px 10px rgba(116,125,140,0.3);
}

/* Rasm ustidagi stickerlar */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-corner-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    width: 120px;
    padding: 5px 0;
    text-align: center;
    background: linear-gradient(135deg, #32A3FD, #2094D2);
    color: white;
    font-size: 11px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 15;
}

/* ==================== FILTER STYLES (BIG·LIFE DIZAYNIDA) ==================== */
.filter-sidebar {
    margin-top: 30px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filter-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
}

.clear-filters {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s;
}

.clear-filters:hover {
    color: #dc3545;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-title i {
    color: #32A3FD;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-option {
    cursor: pointer;
    transition: all 0.2s;
}

/* Rang tugmalari */
.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    transition: all 0.2s;
    cursor: pointer;
}

.color-option.active {
    border-color: #32A3FD;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(50,163,253,0.2);
}

.color-titan { background: linear-gradient(135deg, #8a8a8a, #6b6b6b, #4a4a4a); }
.color-white { background: linear-gradient(135deg, #ffffff, #f0f0f0, #e0e0e0); border-color: #ccc; }

/* Kategoriya tugmalari */
.cat-option {
    padding: 8px 18px;
    border-radius: 30px;
    background: #f5f5f5;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}

.cat-option.active {
    background: #32A3FD;
    color: white;
}

.cat-option:hover:not(.active) {
    background: #e0e0e0;
}

/* Filter drawer (mobil versiya) */
.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: white;
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
}

.filter-drawer.open {
    transform: translateX(0);
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.filter-overlay.open {
    display: block;
}

.filter-drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.filter-drawer-body {
    padding: 20px;
}

.filter-drawer-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    position: sticky;
    bottom: 0;
    background: white;
}

.apply-filters-btn {
    width: 100%;
    background: #32A3FD;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Filter toggle button (mobil) */
.filter-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #32A3FD;
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(50,163,253,0.4);
    cursor: pointer;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.filter-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .filter-toggle-btn {
        display: flex;
    }
    .desktop-filter {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-filter-only {
        display: none;
    }
}

/* Active filter tag */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tag {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 12px;
}

.filter-tag button:hover {
    color: #dc3545;
}

/* Filter container - tugmalar tagida */
.filter-container {
    margin-top: 40px;
    margin-bottom: 30px;
}

.filter-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filter-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
}

.clear-filters {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
}

.clear-filters:hover {
    color: #dc3545;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-title i {
    color: #32A3FD;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-option {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
}

.color-option.active {
    border-color: #32A3FD;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(50,163,253,0.2);
}

.color-titan { background: linear-gradient(135deg, #8a8a8a, #6b6b6b, #4a4a4a); }
.color-white { background: linear-gradient(135deg, #ffffff, #f0f0f0, #e0e0e0); border-color: #ccc; }

.cat-option {
    padding: 8px 18px;
    border-radius: 30px;
    background: #f5f5f5;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-option.active {
    background: #32A3FD;
    color: white;
}

.cat-option:hover:not(.active) {
    background: #e0e0e0;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tag {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.filter-tag button:hover {
    color: #dc3545;
}

/* Mobil filter drawer */
.filter-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #32A3FD;
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(50,163,253,0.4);
    cursor: pointer;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.filter-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: white;
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.filter-drawer.open { transform: translateX(0); }

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.filter-overlay.open { display: block; }

.filter-drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.filter-drawer-body { padding: 20px; }
.filter-drawer-footer { padding: 20px; border-top: 1px solid #eee; }

.apply-filters-btn {
    width: 100%;
    background: #32A3FD;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .filter-toggle-btn { display: flex; }
}

@media (max-width: 768px) {
    .simple-filter-panel{
        display: none;
    }
    .filter-panel-wrapper .filter-main-panel{
        display: none;
    }
    .mobile-filter-fab {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-filter-fab {
        display: none !important;
    }
    .filter-panel-wrapper .filter-main-panel {
        display: block;
    }
}

.filter-color-opt, .mobile-color {
    transition: all 0.2s ease;
}

.filter-color-opt:hover, .mobile-color:hover {
    transform: scale(1.05);
}

.filter-type-opt, .mobile-type {
    transition: all 0.2s ease;
}

.filter-type-opt:hover, .mobile-type:hover {
    transform: translateY(-2px);
}