
        .restaurants-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.5rem;
        }

        .restaurant-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: all 0.3s;
            cursor: pointer;
        }

        .restaurant-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .restaurant-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .restaurant-content {
            padding: 1.5rem;
        }

        .restaurant-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 0.8rem;
        }

        .restaurant-name {
            font-size: 1.3rem;
            font-weight: 800;
            color: #2e3333;
        }

        .restaurant-badge {
            background: #00ccbc;
            color: white;
            padding: 0.3rem 0.7rem;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .restaurant-info {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .info-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            color: #5e6d6d;
        }

        .info-icon {
            font-size: 1rem;
        }

        .restaurant-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }

        .tag {
            padding: 0.3rem 0.7rem;
            background: #f8f8f8;
            border-radius: 6px;
            font-size: 0.8rem;
            color: #5e6d6d;
        }

        .restaurant-status {
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

        .restaurant-status.open {
    background-color: #4CAF50;
    color: #fff;
}

.restaurant-status.closed {
    background-color: #F44336;
    color: #fff;
}

        .restaurant-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid #f0f0f0;
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .rating-stars {
            color: #ffc107;
        }

        .rating-score {
            font-weight: 700;
            color: #2e3333;
        }

        .delivery-time {
            font-size: 0.9rem;
            color: #5e6d6d;
            font-weight: 600;
        }

        .deals-section {
            margin-bottom: 2rem;
        }

        .section-header {
            margin-bottom: 1.5rem;
        }

        .section-header h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: #2e3333;
        }

        .deals-grid {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 2rem;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding-bottom: 1rem;
        }

        .deals-grid::-webkit-scrollbar {
            height: 8px;
        }

        .deals-grid::-webkit-scrollbar-track {
            background: #f0f0f0;
            border-radius: 10px;
        }

        .deals-grid::-webkit-scrollbar-thumb {
            background: #00ccbc;
            border-radius: 10px;
        }

        .deal-card {
            min-width: 280px;
            height: 200px;
            border-radius: 16px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
            flex-shrink: 0;
            background-size: cover;
            background-position: center;
        }

        .deal-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
            z-index: 1;
        }

        .deal-card.no-image:nth-child(1) {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .deal-card.no-image:nth-child(2) {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .deal-card.no-image:nth-child(3) {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .deal-card.no-image:nth-child(4) {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        }

        .deal-card.no-image:nth-child(5) {
            background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
        }

        .deal-card.no-image::before {
            display: none;
        }

        .deal-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: rgba(255, 255, 255, 0.95);
            padding: 0.5rem 0.9rem;
            border-radius: 8px;
            font-weight: 800;
            font-size: 0.95rem;
            z-index: 2;
        }

        .deal-badge.discount {
            background: #ff6b6b;
            color: white;
        }

        .deal-badge.new {
            background: #4facfe;
            color: white;
        }

        .deal-badge.promo {
            background: #51cf66;
            color: white;
        }

        .deal-badge.special {
            background: #ffd43b;
            color: #333;
        }

        .deal-content {
            position: absolute;
            bottom: 1.5rem;
            left: 1.5rem;
            right: 1.5rem;
            color: white;
            z-index: 2;
        }

        .deal-restaurant {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-bottom: 0.3rem;
            font-weight: 600;
        }

        .deal-title {
            font-size: 1.4rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }

        .deal-prices {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .deal-old-price {
            font-size: 1rem;
            opacity: 0.7;
            text-decoration: line-through;
        }

        .deal-new-price {
            font-size: 1.5rem;
            font-weight: 800;
        }

 .partner-badge {
            background: white;
            padding: 1rem 1.5rem;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .partner-badge .info-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            color: #2e3333;
            font-weight: 600;
        }

        .partner-badge .info-item .icon {
            font-size: 1.2rem;
        }

        .promo-banner {
            background: linear-gradient(135deg, #00ccbc 0%, #00b3a6 100%);
            color: white;
            padding: 1.2rem 1.5rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            box-shadow: 0 4px 12px rgba(0, 204, 188, 0.3);
        }

        .promo-icon {
            font-size: 2.5rem;
        }

        .promo-content h3 {
            font-size: 1.3rem;
            margin-bottom: 0.3rem;
        }

        .promo-content p {
            opacity: 0.95;
            font-size: 0.95rem;
        }

        .restaurant-header {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .restaurant-hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: start;
        }

        .section {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
        }

        .section-header .icon {
            font-size: 2rem;
        }

        .section-header h2 {
            font-size: 1.8rem;
            font-weight: 800;
        }

        .hours-grid {
            display: grid;
            gap: 0.8rem;
            margin-top: 1rem;
        }

        .hours-item {
            display: flex;
            justify-content: space-between;
            padding: 0.8rem 1rem;
            background: #f8f8f8;
            border-radius: 8px;
        }

        .hours-day {
            font-weight: 700;
            color: #2e3333;
        }

        .hours-time {
            color: #5e6d6d;
        }

        .order-platforms {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }

        .platform-card {
            padding: 1.5rem;
            border: 2px solid #e8e8e8;
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background: white;
            display: flex;
            flex-direction: column;
        }

        .platform-card:hover {
            transform: translateY(-4px);
            border-color: #00ccbc;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }

        .platform-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .platform-name {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #2e3333;
        }

        .platform-description {
            font-size: 0.9rem;
            color: #5e6d6d;
            margin-bottom: 1rem;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 2.5rem;
        }

        .platform-btn {
            background: #00ccbc;
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
            margin-top: auto;
            text-decoration:none;
        }

        .platform-btn:hover {
            background: #00b3a6;
            text-decoration:none;
        }

                .platform-card.disabled {
    opacity: 0.5;
    pointer-events: none; /* empêche tout clic */
}

.platform-card.disabled .platform-btn {
    background-color: #ccc;
    cursor: not-allowed;
}

 .add-listing-btn {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: #00ccbc;
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 204, 188, 0.4);
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .add-listing-btn:hover {
            background: #00b3a6;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 204, 188, 0.5);
        }

         .hero {
            background: linear-gradient(135deg, #00ccbc 0%, #00b3a6 100%);
            color: white;
            padding: 3rem 2rem;
            text-align: center;
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 800;
        }

        .hero p {
            font-size: 1.1rem;
            opacity: 0.95;
            margin-bottom: 2rem;
        }

               .points-display {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 1.5rem 2rem;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            gap: 1rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .points-icon {
            font-size: 2.5rem;
        }

        .points-info h2 {
            font-size: 2rem;
            font-weight: 800;
        }

        .points-info p {
            font-size: 0.9rem;
            opacity: 0.9;
            margin: 0;
        }

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    padding: 16px;
    border-radius: 12px;
    gap: 6px;
}

.category-icon {
    font-size: 28px;
}

.category-name {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.category-count {
    font-size: 13px;
    color: #777;
}


.category-more {
    background: #f4f4f4;
    border: 2px dashed #ccc;
    text-align: center;
}

.category-more .category-icon {
    font-size: 28px;
}

.category-more:hover {
    background: #eaeaea;
}

/* =========================
   RESULTS HEADER
========================= */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap; /* pour passer en colonne sur mobile */
}

.results-count {
    font-size: 16px;
    font-weight: bold;
}

.sort-dropdown {
    padding: 4px 8px;
    font-size: 14px;
    min-width: 160px; /* évite qu'il soit trop petit */
}