
<style>
    /* ===== VARIABLES CSS ===== */
    :root {
        --primary-color: #bc0101;
        --secondary-color: #9e0000;
        --accent-color: #e42929;
        --text-dark: #1e293b;
        --text-light: #64748b;
        --text-muted: #94a3b8;
        --border-color: #e2e8f0;
        --success-color: #10b981;
        --warning-color: #f59e0b;
        --danger-color: #ef4444;
        --border-radius: 12px;
        --border-radius-lg: 16px;
        --shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.1);
        --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        --checkout-primary: #bc0101;
        --checkout-secondary: #9e0000;
    }

    /* Ajustements checkout-container pour product_list */
    .checkout-container {
        max-width: 100%;
        padding: 20px 0 90px 0;
        background: #ffffff;
        min-height: 100vh;
    }

    @media (min-width: 992px) {
        .checkout-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px 30px 40px 30px;
            background: #ffffff;
        }
    }

    @media (min-width: 1600px) {
        .checkout-container {
            max-width: 1600px;
        }
    }

    /* Style du bouton filtres dans le header */
    .filter-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        font-size: 18px;
        position: relative;
        overflow: hidden;
        background: rgba(99, 102, 241, 0.12);
        color: var(--primary-color);
    }

    .filter-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(99, 102, 241, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .filter-btn:hover::before {
        width: 100px;
        height: 100px;
    }

    .filter-btn:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.15);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    }

    .filter-btn:active {
        transform: scale(1.05);
    }

    /* Badge sur le bouton filtres */
    .filter-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: white;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 3px 7px;
        border-radius: 12px;
        min-width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
        animation: filterBadgePulse 2s infinite;
    }

    @keyframes filterBadgePulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    /* Compteur de résultats */
    .results-counter {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        margin: 15px 20px;
        background: linear-gradient(135deg, rgba(188, 1, 1, 0.1) 0%, rgba(188, 1, 1, 0.05) 100%);
        border-left: 4px solid var(--primary-color);
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-dark);
        animation: slideInFromLeft 0.5s ease;
    }

    .results-counter i {
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    @keyframes slideInFromLeft {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Message Aucun produit trouvé */
    .no-results-card {
        background: white;
        border-radius: 20px;
        padding: 50px 30px;
        margin: 40px 20px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 2px dashed var(--border-color);
        animation: fadeInScale 0.5s ease;
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .no-results-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 25px;
        background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: iconBounce 2s infinite;
    }

    @keyframes iconBounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    .no-results-icon i {
        font-size: 2.5rem;
        color: var(--text-light);
    }

    .no-results-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0 0 15px 0;
    }

    .no-results-card p {
        font-size: 1rem;
        color: var(--text-light);
        line-height: 1.6;
        margin: 0 0 30px 0;
    }

    .reset-filters-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 28px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        color: white;
        font-size: 1rem;
        font-weight: 600;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(188, 1, 1, 0.3);
    }

    .reset-filters-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(188, 1, 1, 0.4);
    }

    .reset-filters-btn:active {
        transform: translateY(-1px);
    }

    /* Tablette et appareils moyens (iPad Air, Surface Pro, etc.) */
    @media (min-width: 768px) and (max-width: 1200px) {
        .filter-btn {
            width: 50px;
            height: 50px;
            font-size: 19px;
            flex-shrink: 0;
        }

        .filter-badge {
            top: -5px;
            right: -5px;
            font-size: 0.75rem;
            min-width: 22px;
            height: 22px;
            padding: 4px 8px;
        }

        .checkout-header {
            gap: 15px;
            padding: 20px;
            flex-wrap: nowrap;
        }

        .header-info {
            flex: 1;
            min-width: 0;
        }

        .header-info h1 {
            font-size: 20px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .header-info .resto-name {
            font-size: 13px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    /* iPad Air spécifique (820px) et Surface Pro 7 (912px) */
    @media (min-width: 820px) and (max-width: 920px) {
        .filter-btn {
            width: 52px;
            height: 52px;
            font-size: 20px;
        }

        .filter-badge {
            top: -5px;
            right: -5px;
            font-size: 0.8rem;
            min-width: 24px;
            height: 24px;
            padding: 5px 9px;
        }

        .checkout-header {
            gap: 18px;
            padding: 22px;
        }

        .header-info h1 {
            font-size: 22px;
        }

        .header-info .resto-name {
            font-size: 14px;
        }
    }

    /* Mobile : Version compacte */
    @media (max-width: 767px) {
        .filter-btn {
            width: 40px;
            height: 40px;
            font-size: 16px;
        }

        .filter-badge {
            top: -4px;
            right: -4px;
            font-size: 0.65rem;
            padding: 2px 6px;
            min-width: 18px;
            height: 18px;
        }

        .results-counter {
            margin: 15px 15px;
            padding: 10px 15px;
            font-size: 0.9rem;
        }

        .no-results-card {
            margin: 30px 15px;
            padding: 40px 20px;
        }

        .no-results-icon {
            width: 70px;
            height: 70px;
            margin-bottom: 20px;
        }

        .no-results-icon i {
            font-size: 2rem;
        }

        .no-results-card h3 {
            font-size: 1.3rem;
        }

        .no-results-card p {
            font-size: 0.95rem;
        }

        .reset-filters-btn {
            padding: 12px 24px;
            font-size: 0.95rem;
        }
    }

    /* Petit mobile : Version très compacte */
    @media (max-width: 480px) {
        .filter-btn {
            width: 36px;
            height: 36px;
            font-size: 14px;
        }

        .filter-badge {
            top: -3px;
            right: -3px;
            font-size: 0.6rem;
            padding: 2px 5px;
            min-width: 16px;
            height: 16px;
        }
    }

    /* Grille produits style favoris */
    .products-grid {
        padding: 0;
        margin-bottom: 160px !important;
    }

    @media (min-width: 769px) {
        .products-grid {
            margin-bottom: 40px !important;
        }
    }

    /* ===== PRODUITS VEDETTES - SCROLL HORIZONTAL ===== */
    
    .featured-products-section {
        margin: 0 0 25px 0;
        padding: 0;
    }

    .featured-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px 12px 20px;
        margin-bottom: 15px;
    }

    .featured-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--text-dark);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .featured-title i {
        color: #fbbf24;
        font-size: 1.2rem;
    }

    .featured-subtitle {
        font-size: 0.9rem;
        color: var(--text-light);
        font-weight: 500;
    }

    .featured-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 0 20px 15px 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .featured-scroll::-webkit-scrollbar {
        display: none;
    }

    .featured-card {
        flex: 0 0 280px;
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: row;
        cursor: pointer;
        transition: all 0.3s ease;
        scroll-snap-align: start;
        border: 1px solid var(--border-color);
        animation: featuredSlideIn 0.5s ease-out backwards;
    }

    @keyframes featuredSlideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .featured-card:active {
        transform: scale(0.98);
    }

    .featured-image {
        flex: 0 0 110px;
        height: 110px;
        position: relative;
        overflow: hidden;
    }

    .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .featured-card:hover .featured-image img {
        transform: scale(1.1);
    }

    .featured-badge {
        position: absolute;
        top: 6px;
        left: 6px;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        color: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 2;
    }

    .featured-badge.promo {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    }

    .featured-badge.new {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }

    .featured-content {
        flex: 1;
        padding: 12px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .featured-name {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .featured-price-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .featured-price {
        font-size: 1.3rem;
        font-weight: 900;
        color: var(--primary-color);
    }

    .featured-old-price {
        font-size: 0.9rem;
        color: var(--text-muted);
        text-decoration: line-through;
    }

    /* Version desktop : grille 3 colonnes */
    /* Tablette et Desktop : Scroll horizontal comme mobile */
    @media (min-width: 768px) {
        .featured-products-section {
            margin: 0 0 35px 0;
        }

        .featured-header {
            padding: 0 30px 15px 30px;
            margin-bottom: 20px;
        }

        .featured-title {
            font-size: 1.6rem;
        }

        .featured-subtitle {
            font-size: 1rem;
        }

        .featured-scroll {
            display: flex;
            gap: 15px;
            overflow-x: auto;
            padding: 0 30px 20px 30px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(188, 1, 1, 0.3) transparent;
        }

        .featured-scroll::-webkit-scrollbar {
            display: block;
            height: 6px;
        }

        .featured-scroll::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
        }

        .featured-scroll::-webkit-scrollbar-thumb {
            background: rgba(188, 1, 1, 0.3);
            border-radius: 10px;
            transition: background 0.3s ease;
        }

        .featured-scroll::-webkit-scrollbar-thumb:hover {
            background: rgba(188, 1, 1, 0.5);
        }

        .featured-card {
            flex: 0 0 320px;
            flex-direction: row;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        }

        .featured-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
        }

        .featured-image {
            flex: 0 0 140px;
            height: 140px;
        }

        .featured-badge {
            top: 8px;
            left: 8px;
            padding: 5px 12px;
            font-size: 0.8rem;
        }

        .featured-content {
            padding: 15px 18px;
            gap: 8px;
        }

        .featured-name {
            font-size: 1rem;
            -webkit-line-clamp: 2;
        }

        .featured-price {
            font-size: 1.3rem;
        }

        .featured-old-price {
            font-size: 0.95rem;
        }
    }

    /* ===== BANDEAU CATÉGORIES DESKTOP - CORRECTION DU SCROLL ===== */
    .categories-banner {
        background: white;
        margin-bottom: 30px;
        padding: 20px 0;
        border-radius: var(--border-radius-lg);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        overflow: hidden;
        border-bottom: 2px solid var(--border-color);
        transition: all 0.3s ease;
        position: relative;
    }

    .categories-scroll {
        display: flex;
        gap: 20px;
        padding: 0 20px;
        overflow-x: auto;
        scrollbar-width: thin;
        -ms-overflow-style: auto;
        scroll-behavior: smooth;
        /* ACTIVATION DU SCROLL SUR DESKTOP */
        -webkit-overflow-scrolling: touch;
    }

    /* Style personnalisé de la scrollbar pour desktop */
    .categories-scroll::-webkit-scrollbar {
        height: 8px;
        background: rgba(226, 232, 240, 0.3);
        border-radius: 4px;
    }

    .categories-scroll::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .categories-scroll::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }

    .categories-scroll::-webkit-scrollbar-track {
        background: rgba(226, 232, 240, 0.1);
        border-radius: 4px;
    }

    .category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 120px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        padding: 15px;
        border-radius: var(--border-radius);
        position: relative;
        flex-shrink: 0;
        /* Empêche la compression des éléments */
    }

    .category-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        background: rgba(99, 102, 241, 0.02);
    }

    .category-image {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        overflow: hidden;
        margin-bottom: 12px;
        position: relative;
        border: 3px solid white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .category-item:hover .category-image {
        border-color: var(--primary-color);
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    }

    .category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.3s ease;
    }

    .category-item:hover .category-image img {
        transform: scale(1.1);
    }

    .category-name {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
        text-align: center;
        line-height: 1.3;
        transition: color 0.3s ease;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100px;
        hyphens: auto;
    }

    .category-item:hover .category-name {
        color: var(--primary-color);
    }

    /* ===== NAVIGATION MOBILE CATÉGORIES (TOUJOURS VISIBLE) ===== */
    .mobile-categories-bottom {
        position: fixed !important;
        bottom: 60px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15) !important;
        z-index: 998 !important;
        padding: 12px 0 !important;
        height: 90px !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .categories-scroll-mobile {
        display: flex !important;
        gap: 15px !important;
        padding: 0 15px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        height: 100% !important;
        align-items: center !important;
    }

    .categories-scroll-mobile::-webkit-scrollbar {
        display: none !important;
    }

    .category-item-mobile {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 90px !important;
        max-width: 90px !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-decoration: none !important;
        padding: 8px 6px !important;
        border-radius: var(--border-radius) !important;
        position: relative !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        height: 70px !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .category-item-mobile:active {
        transform: scale(0.95) !important;
        background: rgba(99, 102, 241, 0.1) !important;
    }

    .category-image-mobile {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
        position: relative !important;
        border: 2px solid white !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease !important;
        background: #f8fafc !important;
    }

    .category-item-mobile:active .category-image-mobile {
        border-color: var(--primary-color) !important;
        transform: scale(1.05) !important;
    }

    .category-image-mobile img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: all 0.3s ease !important;
    }

    .category-name-mobile {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        text-align: center !important;
        line-height: 1.2 !important;
        transition: color 0.3s ease !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 85px !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        -ms-hyphens: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 24px !important;
        text-overflow: unset !important;
        overflow: visible !important;
    }

    .category-item-mobile:active .category-name-mobile {
        color: var(--primary-color) !important;
    }



    /* ===== CATEGORY SECTIONS ===== */
    .category-section {
        background: #ffffff;
        border-radius: 20px;
        border: 1px solid rgba(226, 232, 240, 0.6);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        padding: 20px;
        margin: 25px 0;
        animation: categoryFadeIn 0.8s ease-out backwards;
    }

    .category-section:nth-child(1) { animation-delay: 0.2s; }
    .category-section:nth-child(2) { animation-delay: 0.4s; }
    .category-section:nth-child(3) { animation-delay: 0.6s; }

    @keyframes categoryFadeIn {
        0% {
            opacity: 0;
            transform: translateX(-30px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .category-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 18px 0;
        padding: 6px 4px 14px 4px;
        color: #0f172a;
        font-weight: 800;
        font-size: 1.25rem;
        border-bottom: 2px solid rgba(226, 232, 240, 0.7);
        position: relative;
    }

    .category-title::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 120px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        border-radius: 3px;
        animation: lineExpand 0.6s ease-out;
    }

    @keyframes lineExpand {
        0% { width: 0; }
        100% { width: 120px; }
    }

    .category-products {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* ===== PRODUCT ITEMS AVEC NOUVEAUX BADGES ===== */
    .product-item {
        display: flex;
        align-items: flex-start;
        background: white;
        border-radius: var(--border-radius);
        border: 1px solid var(--border-color);
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        animation: slideInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);
        padding: 15px;
        width: 100%;
        cursor: pointer;
    }

    .product-item.product-new {
        border-top: 4px solid var(--success-color);
        border-left: 1px solid var(--success-color);
        border-right: 1px solid var(--success-color);
        border-bottom: 1px solid var(--success-color);
    }

    .product-item.product-promo {
        border-top: 4px solid #ff6b35;
        border-left: 1px solid #ff6b35;
        border-right: 1px solid #ff6b35;
        border-bottom: 1px solid #ff6b35;
    }

    .product-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .product-item.selected {
        border-color: var(--primary-color);
        background: rgba(99, 102, 241, 0.05);
    }

    .product-badge-top {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .product-badge-text {
        display: inline-block;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        position: relative;
        white-space: nowrap;
    }

    .product-item.product-new .product-badge-text {
        background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    }

    .product-item.product-promo .product-badge-text {
        background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    }

    .product-info-section {
        flex: 1;
        padding-right: 15px;
        margin-top: 5px;
    }

    .product-header {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 5px;
    }

    .product-name {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        line-height: 1.3;
        flex: 1;
    }

    .product-name a {
        color: var(--text-dark);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .product-name a:hover {
        color: var(--primary-color);
    }

    .product-price-rating {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .product-price {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
    }

    .old-price {
        font-size: 12px;
        color: var(--text-muted);
        text-decoration: line-through;
    }

    .product-rating {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: var(--success-color);
        font-weight: 500;
    }

    .product-rating i {
        font-size: 14px;
    }

    .product-description {
        font-size: 13px;
        color: var(--text-light);
        line-height: 1.4;
        margin-bottom: 5px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .product-image-section {
        position: relative;
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        margin-top: 5px;
    }

    .product-image-section .product-image {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        overflow: hidden;
        position: relative;
    }

    .product-image-section .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .product-item:hover .product-image-section .product-image img {
        transform: scale(1.05);
    }

    .favorite-btn {
        position: absolute;
        top: -9px;
        right: -9px;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        background: transparent;
        background-color: transparent !important;
        color: var(--text-muted);
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: color 0.2s ease;
        z-index: 5;
        padding: 0;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .favorite-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid white;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        transform: translate(-50%, -50%);
        transition: all 0.2s ease;
        backdrop-filter: blur(10px);
        z-index: 1;
        opacity: 0.9;
    }

    .favorite-btn i {
        position: relative;
        z-index: 2;
        font-size: 14px;
        color: inherit;
        transition: color 0.2s ease;
    }

    .favorite-btn:hover::after,
    .favorite-btn:focus-visible::after {
        opacity: 1;
        background: rgba(255, 255, 255, 1);
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    }

    .favorite-btn.active {
        color: #e74c3c !important;
    }
    
    .favorite-btn.active::after {
        background: #e74c3c;
        box-shadow: 0 6px 18px rgba(231, 76, 60, 0.35);
    }
    
    .favorite-btn.active i {
        color: #ffffff !important;
    }
    
    .favorite-btn:not(.active) i {
        color: var(--text-muted) !important;
    }

    .favorite-btn:focus {
        outline: none;
    }

    .favorite-btn:focus-visible {
        outline: none;
    }





    .add-to-cart-btn {
        position: absolute;
        bottom: -9px;
        right: -9px;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        background: transparent;
        background-color: transparent !important;
        color: white;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        text-decoration: none;
        transition: none;
        padding: 0;
        z-index: 5;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .add-to-cart-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px solid white;
        background: var(--primary-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transform: translate(-50%, -50%);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }

    .add-to-cart-btn i {
        position: relative;
        z-index: 2;
        font-size: 14px;
    }

    .add-to-cart-btn:hover:not(:disabled)::after {
        background: var(--secondary-color);
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .add-to-cart-btn:disabled {
        cursor: not-allowed;
    }

    .add-to-cart-btn:disabled::after {
        background: var(--text-muted);
        box-shadow: none;
        transform: translate(-50%, -50%);
    }

    .add-to-cart-btn:active::after {
        transform: translate(-50%, -50%) scale(0.95);
    }

    /* État de succès (après ajout au panier) - background vert */
    .add-to-cart-btn.added::after {
        background: var(--success-color) !important;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }

    .add-to-cart-btn:focus {
        outline: none;
    }

    .add-to-cart-btn:focus-visible {
        outline: none;
    }

    /* Effet de pulse sur le compteur panier */
    .cart-pulse {
        animation: cartPulse 0.6s ease;
    }

    @keyframes cartPulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.25); }
        100% { transform: scale(1); }
    }

    /* Effet de pulse sur le compteur favoris */
    .favorites-pulse {
        animation: favoritesPulse 0.6s ease;
    }

    @keyframes favoritesPulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.3); }
        100% { transform: scale(1); }
    }

    /* ===== RESPONSIVE MOBILE - AGRANDISSEMENT DES IMAGES PRODUITS ===== */
    @media (max-width: 768px) {

        /* Navigation des catégories mobile positionnée correctement */
        .mobile-categories-bottom {
            bottom: 60px !important;
            height: 85px !important;
            padding: 10px 0 !important;
        }

        /* Chips de filtres actifs */
        .active-filter-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: white;
            border: 2px solid var(--primary-color);
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary-color);
            white-space: nowrap;
            flex-shrink: 0;
            transition: all 0.3s ease;
            margin-right: 8px;
        }

        .active-filter-chip i {
            font-size: 0.9rem;
        }

        .filter-chip-image {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            overflow: hidden;
            flex-shrink: 0;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .filter-chip-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .active-filter-chip.promo {
            border-color: #ef4444;
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
        }

        .active-filter-chip.promo i {
            color: #ef4444;
        }

        .active-filter-chip.new {
            border-color: #10b981;
            color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }

        .active-filter-chip.new i {
            color: #10b981;
        }

        .active-filter-chip.price {
            border-color: #f59e0b;
            color: #f59e0b;
            background: rgba(245, 158, 11, 0.1);
        }

        .active-filter-chip.price i {
            color: #f59e0b;
        }

        .active-filter-chip.sort {
            border-color: #8b5cf6;
            color: #8b5cf6;
            background: rgba(139, 92, 246, 0.1);
        }

        .active-filter-chip.sort i {
            color: #8b5cf6;
        }

        .remove-filter-btn {
            background: none;
            border: none;
            padding: 0;
            margin: 0 0 0 4px;
            cursor: pointer;
            color: inherit;
            opacity: 0.7;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            border-radius: 50%;
        }

        .remove-filter-btn:hover {
            opacity: 1;
            background: rgba(0, 0, 0, 0.1);
        }

        .remove-filter-btn i {
            font-size: 0.75rem;
        }

        .reset-filters-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border: 2px solid transparent;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            color: white;
            white-space: nowrap;
            flex-shrink: 0;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: 4px;
        }

        .reset-filters-chip:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        }

        .reset-filters-chip i {
            font-size: 0.9rem;
        }

        .categories-scroll-mobile {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 0 15px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .categories-scroll-mobile::-webkit-scrollbar {
            display: none;
        }

        .filters-sidebar {
            display: none !important;
        }

        .products-by-category {
            margin-bottom: 155px !important;
        }

        .category-section {
            margin-bottom: 25px;
        }

        .category-title {
            font-size: 20px;
            margin-bottom: 15px;
        }

        .category-products {
            flex-direction: column;
            gap: 12px;
        }

        .product-item {
            padding: 12px;
            margin-bottom: 8px;
        }

        .product-item.last-product-ever {
            margin-bottom: 15px !important;
        }

        .product-info-section {
            padding-right: 12px;
        }

        .product-name {
            font-size: 14px;
        }

        .product-price-rating {
            gap: 8px;
        }

        .product-price {
            font-size: 13px;
        }

        .old-price {
            font-size: 11px;
        }

        .product-rating {
            font-size: 12px;
        }

        .product-description {
            font-size: 12px;
        }

        /* AGRANDISSEMENT DES IMAGES PRODUITS EN MOBILE */
        .product-image-section {
            width: 120px !important;
            /* Augmenté de 80px à 120px */
            height: 120px !important;
            /* Augmenté de 80px à 120px */
        }

        .product-badge-text {
            font-size: 10px;
            padding: 4px 12px;
        }

        .product-badge-top {
            top: -10px;
        }

        /* Amélioration des catégories mobiles */
        .categories-scroll-mobile {
            gap: 12px !important;
            padding: 0 12px !important;
        }

        .category-item-mobile {
            min-width: 85px !important;
            max-width: 85px !important;
            padding: 6px 4px !important;
        }

        .category-image-mobile {
            width: 48px !important;
            height: 48px !important;
            margin-bottom: 8px !important;
        }

        .category-name-mobile {
            font-size: 11px !important;
            max-width: 80px !important;
            min-height: 22px !important;
        }
    }

    /* ===== RESPONSIVE TRÈS PETIT MOBILE (320px - 480px) ===== */
    @media (max-width: 480px) {
        .products-by-category {
            margin-bottom: 170px !important;
        }

        .categories-scroll-mobile {
            gap: 8px !important;
            padding: 0 8px !important;
        }

        .category-item-mobile {
            min-width: 75px !important;
            max-width: 75px !important;
            padding: 5px 3px !important;
        }

        .category-image-mobile {
            width: 42px !important;
            height: 42px !important;
            margin-bottom: 6px !important;
        }

        .category-name-mobile {
            font-size: 10px !important;
            max-width: 70px !important;
            min-height: 20px !important;
        }

        .product-item {
            padding: 10px;
        }

        /* IMAGES PRODUITS ENCORE PLUS GRANDES SUR TRÈS PETITS ÉCRANS */
        .product-image-section {
            width: 110px !important;
            /* Légèrement réduit pour très petits écrans */
            height: 110px !important;
        }

    }

    /* ===== RESPONSIVE DESKTOP ET IPAD ===== */
    @media (min-width: 769px) {
        .mobile-categories-bottom {
            display: none !important;
        }

        /* Centrer les catégories sur desktop et iPad avec scroll visible */
        .categories-banner {
            max-width: 1200px;
            margin: 0 auto 30px auto;
        }

        .categories-scroll {
            justify-content: flex-start;
            /* Changé de center à flex-start pour permettre le scroll */
            gap: 30px;
            padding: 0 40px;
        }

        .category-item {
            min-width: 140px;
            padding: 20px;
        }

        .category-image {
            width: 100px;
            height: 100px;
            margin-bottom: 15px;
        }

        .category-name {
            font-size: 16px;
            max-width: 120px;
        }

        .filters-sidebar {
            display: block !important;
        }

        .products-by-category {
            margin-bottom: 40px !important;
        }

        .category-products {
            gap: 20px;
        }

        .product-item {
            width: calc(50% - 10px);
            padding: 20px;
        }

        .product-info-section {
            padding-right: 20px;
        }

        .product-name {
            font-size: 18px;
        }

        .product-price-rating {
            gap: 15px;
        }

        .product-price {
            font-size: 16px;
        }

        .old-price {
            font-size: 14px;
        }

        .product-rating {
            font-size: 14px;
        }

        .product-description {
            font-size: 14px;
        }

        .product-image-section {
            width: 120px;
            height: 120px;
        }

        .add-to-cart-btn {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }

        .favorite-btn {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }

        .product-badge-text {
            padding: 8px 20px;
            font-size: 13px;
        }

        .product-badge-top {
            top: -14px;
        }
    }

    /* ===== RESPONSIVE IPAD SPÉCIFIQUE ===== */
    @media (min-width: 768px) and (max-width: 1024px) {
        .categories-scroll {
            gap: 25px;
            padding: 0 30px;
            justify-content: flex-start;
            /* Permet le scroll sur iPad aussi */
        }

        .category-item {
            min-width: 120px;
            padding: 15px;
        }

        .category-image {
            width: 90px;
            height: 90px;
        }

        .category-name {
            font-size: 14px;
        }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes sparkle {

        0%,
        100% {
            opacity: 0.7;
            transform: scale(1);
        }

        50% {
            opacity: 1;
            transform: scale(1.2);
        }
    }

    /* ===== EMPTY STATE ===== */
    .empty-state {
        text-align: center;
        padding: 60px 20px;
        background: white;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        margin-bottom: 160px !important;
    }

    .empty-state i {
        font-size: 64px;
        color: var(--text-muted);
        margin-bottom: 20px;
    }

    .empty-state h4 {
        font-size: 24px;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 15px;
    }

    .empty-state p {
        color: var(--text-light);
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .empty-state .btn {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: var(--border-radius);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .empty-state .btn:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
    }

    /* ===== PAGINATION ===== */
    .pagination-container {
        display: flex;
        justify-content: center;
        margin-top: 40px;
        margin-bottom: 160px !important;
    }

    @media (min-width: 769px) {
        .pagination-container {
            margin-bottom: 40px !important;
        }

        .empty-state {
            margin-bottom: 40px !important;
        }
    }

    .pagination {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }

    .page-btn {
        padding: 12px 16px;
        border: 2px solid var(--border-color);
        background: white;
        color: var(--text-dark);
        text-decoration: none;
        border-radius: var(--border-radius);
        font-weight: 600;
        transition: all 0.3s ease;
        min-width: 48px;
        text-align: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .page-btn:hover,
    .page-btn.active {
        background: var(--gradient);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
        text-decoration: none;
    }

    .page-btn.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

    /* ===== AMÉLIORATION DES BOUTONS ===== */
    .btn-primary {
        background: var(--gradient);
        border: none;
        border-radius: var(--border-radius);
        padding: 12px 24px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    }

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }

    .btn-outline-primary {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        border-radius: var(--border-radius);
        padding: 10px 24px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-1px);
    }

    /* ===== COMPATIBILITÉ AVEC SAFE AREA (iPhone avec encoche) ===== */
    @supports (padding: max(0px)) {
        .mobile-categories-bottom {
            padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
        }
    }

    /* ===== AMÉLIORATION DES INTERACTIONS TACTILES ===== */
    @media (max-width: 768px) {
        .product-item {
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }

        .product-item:active {
            transform: scale(0.98);
            transition: transform 0.1s ease;
        }

        .category-item-mobile {
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }
    }

    /* ===== BANDEAU HERO AVEC OVERLAY - INCHANGÉ ===== */
    .hero-banner-overlay {
        position: relative;
        width: 100%;
        height: 400px;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        margin-bottom: 30px;
    }

    .hero-banner-overlay .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }

    .hero-banner-overlay:hover .banner-image {
        transform: scale(1.05);
    }

    .hero-banner-overlay .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.6) 0%,
                rgba(0, 0, 0, 0.3) 50%,
                rgba(0, 0, 0, 0.7) 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px 50px;
        color: white;
    }

    .hero-banner-overlay .banner-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        line-height: 1.2;
    }

    .hero-banner-overlay .banner-subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
        opacity: 0.9;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .hero-banner-overlay .banner-cta {
        background: linear-gradient(45deg, #ff6b35, #ff8e35);
        color: white;
        padding: 12px 30px;
        border: none;
        border-radius: 25px;
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .hero-banner-overlay .banner-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
        background: linear-gradient(45deg, #ff8e35, #ff6b35);
    }

    .hero-banner-overlay .banner-cta:active {
        transform: translateY(0);
    }

    /* Responsive pour mobile */
    @media (max-width: 768px) {
        .hero-banner-overlay {
            height: 300px;
        }

        .hero-banner-overlay .banner-overlay {
            padding: 30px 25px;
            text-align: center;
            align-items: center;
        }

        .hero-banner-overlay .banner-title {
            font-size: 2rem;
        }

        .hero-banner-overlay .banner-subtitle {
            font-size: 1rem;
        }

        .hero-banner-overlay .banner-cta {
            padding: 10px 25px;
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .hero-banner-overlay {
            height: 250px;
        }

        .hero-banner-overlay .banner-overlay {
            padding: 20px 15px;
        }

        .hero-banner-overlay .banner-title {
            font-size: 1.6rem;
        }

        .hero-banner-overlay .banner-subtitle {
            font-size: 0.9rem;
            margin-bottom: 20px;
        }
    }

    /* ===== MODAL FILTRES ===== */
    .filters-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        padding: 20px;
        animation: fadeIn 0.3s ease;
    }

    .filters-modal {
        background: white;
        border-radius: 20px;
        width: 100%;
        max-width: 500px;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: slideUpModal 0.3s ease;
    }

    .filters-modal .modal-header {
        padding: 25px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .filters-modal .modal-header h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .filters-modal .modal-header h2 i {
        color: var(--primary-color);
    }

    .filters-modal .modal-close {
        background: #f5f5f5;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: var(--text-dark);
        font-size: 1.2rem;
    }

    .filters-modal .modal-close:hover {
        background: #e0e0e0;
        transform: rotate(90deg);
    }

    .filters-modal-content {
        flex: 1;
        overflow-y: auto;
        padding: 20px 25px;
    }

    .filter-section {
        margin-bottom: 30px;
    }

    .filter-section:last-child {
        margin-bottom: 0;
    }

    .filter-section-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0 0 15px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .filter-section-title i {
        color: var(--primary-color);
        font-size: 1rem;
    }

    .filter-options {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .filter-option {
        position: relative;
        cursor: pointer;
        margin: 0;
    }

    .filter-option input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .filter-option-content {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 18px;
        background: #f8f8f8;
        border: 2px solid transparent;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
    }

    .filter-option-image {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        background: white;
        border: 2px solid #e0e0e0;
    }

    .filter-option-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .filter-option-icon {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 1.3rem;
        background: #f0f0f0;
        color: var(--text-dark);
    }

    .filter-option-icon.promo {
        background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
        color: white;
    }

    .filter-option-icon.new {
        background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
        color: white;
    }

    .filter-option input[type="radio"]:checked + .filter-option-content {
        background: rgba(188, 1, 1, 0.1);
        border-color: var(--primary-color);
    }

    .filter-option:hover .filter-option-content {
        background: #f0f0f0;
        transform: translateX(5px);
    }

    .filter-option input[type="radio"]:checked + .filter-option-content:hover {
        background: rgba(188, 1, 1, 0.15);
    }

    .filter-option-label {
        flex: 1;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-dark);
    }

    .filter-option-count {
        background: var(--primary-color);
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        min-width: 30px;
        text-align: center;
    }

    .filter-check {
        color: var(--primary-color);
        font-size: 1.2rem;
        opacity: 0;
        transform: scale(0);
        transition: all 0.3s ease;
    }

    .filter-option input[type="radio"]:checked + .filter-option-content .filter-check {
        opacity: 1;
        transform: scale(1);
    }

    .modal-actions {
        padding: 20px 25px;
        border-top: 1px solid #f0f0f0;
        display: flex;
        gap: 12px;
    }

    .modal-reset-btn,
    .modal-confirm-btn {
        flex: 1;
        padding: 15px 25px;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

    .modal-reset-btn {
        background: #f5f5f5;
        color: var(--text-dark);
    }

    .modal-reset-btn:hover {
        background: #e0e0e0;
        transform: translateY(-2px);
    }

    .modal-confirm-btn {
        background: var(--primary-color);
        color: white;
    }

    .modal-confirm-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(188, 1, 1, 0.3);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes slideUpModal {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
        .filters-modal {
            max-width: 100%;
            border-radius: 20px 20px 0 0;
            max-height: 85vh;
            margin-top: auto;
        }

        .filters-modal-overlay {
            padding: 0;
            align-items: flex-end;
        }

        .filters-modal .modal-header {
            padding: 20px;
        }

        .filters-modal .modal-header h2 {
            font-size: 1.3rem;
        }

        .filters-modal-content {
            padding: 15px 20px;
        }

        .modal-actions {
            padding: 15px 20px;
            flex-direction: column;
        }

        .modal-reset-btn,
        .modal-confirm-btn {
            width: 100%;
        }
    }